{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@fullcalendar/core/internal-common.js","webpack:///./node_modules/preact/dist/preact.module.js","webpack:///./node_modules/moment/moment.js","webpack:///./node_modules/flatpickr/dist/esm/utils/dom.js","webpack:///./node_modules/jquery/src/core.js","webpack:///./node_modules/flatpickr/dist/esm/utils/index.js","webpack:///./node_modules/flatpickr/dist/esm/utils/dates.js","webpack:///./node_modules/jquery/src/var/isFunction.js","webpack:///./node_modules/@hotwired/stimulus/dist/stimulus.js","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///./node_modules/jquery/src/var/document.js","webpack:///./node_modules/morphdom/dist/morphdom-esm.js","webpack:///./node_modules/cable_ready/dist/cable_ready.js","webpack:///./node_modules/flatpickr/dist/esm/utils/formatting.js","webpack:///./node_modules/jquery/src/selector.js","webpack:///./app/javascript/controllers/application_controller.js","webpack:///./node_modules/mapbox-gl/dist/mapbox-gl.js","webpack:///./node_modules/jquery/src/core/init.js","webpack:///./node_modules/flatpickr/dist/esm/types/options.js","webpack:///./node_modules/jquery/src/var/arr.js","webpack:///./node_modules/jquery/src/core/nodeName.js","webpack:///./node_modules/jquery/src/data/var/dataPriv.js","webpack:///./node_modules/jquery/src/var/rnothtmlwhite.js","webpack:///./node_modules/jquery/src/jquery.js","webpack:///./node_modules/jquery/src/var/support.js","webpack:///./node_modules/jquery/src/core/access.js","webpack:///./node_modules/jquery/src/ajax.js","webpack:///./node_modules/flatpickr/dist/esm/l10n/default.js","webpack:///./node_modules/jquery/src/core/toType.js","webpack:///./node_modules/jquery/src/traversing.js","webpack:///./node_modules/jquery/src/deferred.js","webpack:///./node_modules/@fullcalendar/core/index.js","webpack:///./node_modules/stimulus_reflex/node_modules/@rails/actioncable/app/assets/javascripts/actioncable.esm.js","webpack:///./node_modules/stimulus_reflex/dist/stimulus_reflex.js","webpack:///./node_modules/jquery/src/var/slice.js","webpack:///./node_modules/jquery/src/var/isWindow.js","webpack:///./node_modules/jquery/src/core/camelCase.js","webpack:///./node_modules/jquery/src/event.js","webpack:///./node_modules/jquery/src/css.js","webpack:///./node_modules/jquery/src/var/indexOf.js","webpack:///./node_modules/jquery/src/var/class2type.js","webpack:///./node_modules/jquery/src/var/hasOwn.js","webpack:///./node_modules/jquery/src/data/var/acceptData.js","webpack:///./node_modules/jquery/src/core/isAttached.js","webpack:///./node_modules/jquery/src/var/documentElement.js","webpack:///./node_modules/jquery/src/manipulation.js","webpack:///./node_modules/jquery/src/var/push.js","webpack:///./node_modules/jquery/src/callbacks.js","webpack:///./node_modules/jquery/src/queue.js","webpack:///./node_modules/jquery/src/effects.js","webpack:///./node_modules/jquery/src/var/rcssNum.js","webpack:///./node_modules/jquery/src/css/var/cssExpand.js","webpack:///./node_modules/jquery/src/var/rcheckableType.js","webpack:///./node_modules/jquery/src/css/var/rnumnonpx.js","webpack:///./node_modules/jquery/src/css/support.js","webpack:///./node_modules/jquery/src/attributes/support.js","webpack:///./node_modules/jquery/src/core/stripAndCollapse.js","webpack:///./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js","webpack:///./node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js","webpack:///./app/javascript/controllers/vehicles_controller.js","webpack:///./node_modules/preact/hooks/dist/hooks.module.js","webpack:///./node_modules/preact/compat/dist/compat.module.js","webpack:///./node_modules/jquery/src/var/getProto.js","webpack:///./node_modules/jquery/src/var/flat.js","webpack:///./node_modules/jquery/src/var/toString.js","webpack:///./node_modules/jquery/src/var/fnToString.js","webpack:///./node_modules/jquery/src/core/DOMEval.js","webpack:///./node_modules/jquery/src/var/whitespace.js","webpack:///./node_modules/jquery/src/var/rtrimCSS.js","webpack:///./node_modules/jquery/src/selector/contains.js","webpack:///./node_modules/jquery/src/traversing/var/rneedsContext.js","webpack:///./node_modules/jquery/src/core/var/rsingleTag.js","webpack:///./node_modules/jquery/src/traversing/findFilter.js","webpack:///./node_modules/jquery/src/core/ready.js","webpack:///./node_modules/jquery/src/data/Data.js","webpack:///./node_modules/jquery/src/data/var/dataUser.js","webpack:///./node_modules/jquery/src/var/pnum.js","webpack:///./node_modules/jquery/src/css/var/isHiddenWithinTree.js","webpack:///./node_modules/jquery/src/css/adjustCSS.js","webpack:///./node_modules/jquery/src/manipulation/var/rtagName.js","webpack:///./node_modules/jquery/src/manipulation/var/rscriptType.js","webpack:///./node_modules/jquery/src/manipulation/wrapMap.js","webpack:///./node_modules/jquery/src/manipulation/support.js","webpack:///./node_modules/jquery/src/manipulation/getAll.js","webpack:///./node_modules/jquery/src/manipulation/setGlobalEval.js","webpack:///./node_modules/jquery/src/manipulation/buildFragment.js","webpack:///./node_modules/jquery/src/css/var/rcustomProp.js","webpack:///./node_modules/jquery/src/css/var/getStyles.js","webpack:///./node_modules/jquery/src/css/curCSS.js","webpack:///./node_modules/jquery/src/css/addGetHookIf.js","webpack:///./node_modules/jquery/src/css/finalPropName.js","webpack:///./node_modules/jquery/src/attributes/prop.js","webpack:///./node_modules/jquery/src/ajax/var/nonce.js","webpack:///./node_modules/jquery/src/ajax/var/rquery.js","webpack:///./node_modules/jquery/src/core/parseXML.js","webpack:///./node_modules/jquery/src/event/trigger.js","webpack:///./node_modules/jquery/src/serialize.js","webpack:///./node_modules/jquery/src/core/parseHTML.js","webpack:///./node_modules/bootstrap/dist/js/bootstrap.js","webpack:///./app/javascript/channels/index.js","webpack:///./node_modules/moment/locale/af.js","webpack:///./node_modules/moment/locale/ar.js","webpack:///./node_modules/moment/locale/ar-dz.js","webpack:///./node_modules/moment/locale/ar-kw.js","webpack:///./node_modules/moment/locale/ar-ly.js","webpack:///./node_modules/moment/locale/ar-ma.js","webpack:///./node_modules/moment/locale/ar-ps.js","webpack:///./node_modules/moment/locale/ar-sa.js","webpack:///./node_modules/moment/locale/ar-tn.js","webpack:///./node_modules/moment/locale/az.js","webpack:///./node_modules/moment/locale/be.js","webpack:///./node_modules/moment/locale/bg.js","webpack:///./node_modules/moment/locale/bm.js","webpack:///./node_modules/moment/locale/bn.js","webpack:///./node_modules/moment/locale/bn-bd.js","webpack:///./node_modules/moment/locale/bo.js","webpack:///./node_modules/moment/locale/br.js","webpack:///./node_modules/moment/locale/bs.js","webpack:///./node_modules/moment/locale/ca.js","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/moment/locale/cv.js","webpack:///./node_modules/moment/locale/cy.js","webpack:///./node_modules/moment/locale/da.js","webpack:///./node_modules/moment/locale/de.js","webpack:///./node_modules/moment/locale/de-at.js","webpack:///./node_modules/moment/locale/de-ch.js","webpack:///./node_modules/moment/locale/dv.js","webpack:///./node_modules/moment/locale/el.js","webpack:///./node_modules/moment/locale/en-au.js","webpack:///./node_modules/moment/locale/en-ca.js","webpack:///./node_modules/moment/locale/en-gb.js","webpack:///./node_modules/moment/locale/en-ie.js","webpack:///./node_modules/moment/locale/en-il.js","webpack:///./node_modules/moment/locale/en-in.js","webpack:///./node_modules/moment/locale/en-nz.js","webpack:///./node_modules/moment/locale/en-sg.js","webpack:///./node_modules/moment/locale/eo.js","webpack:///./node_modules/moment/locale/es.js","webpack:///./node_modules/moment/locale/es-do.js","webpack:///./node_modules/moment/locale/es-mx.js","webpack:///./node_modules/moment/locale/es-us.js","webpack:///./node_modules/moment/locale/et.js","webpack:///./node_modules/moment/locale/eu.js","webpack:///./node_modules/moment/locale/fa.js","webpack:///./node_modules/moment/locale/fi.js","webpack:///./node_modules/moment/locale/fil.js","webpack:///./node_modules/moment/locale/fo.js","webpack:///./node_modules/moment/locale/fr.js","webpack:///./node_modules/moment/locale/fr-ca.js","webpack:///./node_modules/moment/locale/fr-ch.js","webpack:///./node_modules/moment/locale/fy.js","webpack:///./node_modules/moment/locale/ga.js","webpack:///./node_modules/moment/locale/gd.js","webpack:///./node_modules/moment/locale/gl.js","webpack:///./node_modules/moment/locale/gom-deva.js","webpack:///./node_modules/moment/locale/gom-latn.js","webpack:///./node_modules/moment/locale/gu.js","webpack:///./node_modules/moment/locale/he.js","webpack:///./node_modules/moment/locale/hi.js","webpack:///./node_modules/moment/locale/hr.js","webpack:///./node_modules/moment/locale/hu.js","webpack:///./node_modules/moment/locale/hy-am.js","webpack:///./node_modules/moment/locale/id.js","webpack:///./node_modules/moment/locale/is.js","webpack:///./node_modules/moment/locale/it.js","webpack:///./node_modules/moment/locale/it-ch.js","webpack:///./node_modules/moment/locale/ja.js","webpack:///./node_modules/moment/locale/jv.js","webpack:///./node_modules/moment/locale/ka.js","webpack:///./node_modules/moment/locale/kk.js","webpack:///./node_modules/moment/locale/km.js","webpack:///./node_modules/moment/locale/kn.js","webpack:///./node_modules/moment/locale/ko.js","webpack:///./node_modules/moment/locale/ku.js","webpack:///./node_modules/moment/locale/ku-kmr.js","webpack:///./node_modules/moment/locale/ky.js","webpack:///./node_modules/moment/locale/lb.js","webpack:///./node_modules/moment/locale/lo.js","webpack:///./node_modules/moment/locale/lt.js","webpack:///./node_modules/moment/locale/lv.js","webpack:///./node_modules/moment/locale/me.js","webpack:///./node_modules/moment/locale/mi.js","webpack:///./node_modules/moment/locale/mk.js","webpack:///./node_modules/moment/locale/ml.js","webpack:///./node_modules/moment/locale/mn.js","webpack:///./node_modules/moment/locale/mr.js","webpack:///./node_modules/moment/locale/ms.js","webpack:///./node_modules/moment/locale/ms-my.js","webpack:///./node_modules/moment/locale/mt.js","webpack:///./node_modules/moment/locale/my.js","webpack:///./node_modules/moment/locale/nb.js","webpack:///./node_modules/moment/locale/ne.js","webpack:///./node_modules/moment/locale/nl.js","webpack:///./node_modules/moment/locale/nl-be.js","webpack:///./node_modules/moment/locale/nn.js","webpack:///./node_modules/moment/locale/oc-lnc.js","webpack:///./node_modules/moment/locale/pa-in.js","webpack:///./node_modules/moment/locale/pl.js","webpack:///./node_modules/moment/locale/pt.js","webpack:///./node_modules/moment/locale/pt-br.js","webpack:///./node_modules/moment/locale/ro.js","webpack:///./node_modules/moment/locale/ru.js","webpack:///./node_modules/moment/locale/sd.js","webpack:///./node_modules/moment/locale/se.js","webpack:///./node_modules/moment/locale/si.js","webpack:///./node_modules/moment/locale/sk.js","webpack:///./node_modules/moment/locale/sl.js","webpack:///./node_modules/moment/locale/sq.js","webpack:///./node_modules/moment/locale/sr.js","webpack:///./node_modules/moment/locale/sr-cyrl.js","webpack:///./node_modules/moment/locale/ss.js","webpack:///./node_modules/moment/locale/sv.js","webpack:///./node_modules/moment/locale/sw.js","webpack:///./node_modules/moment/locale/ta.js","webpack:///./node_modules/moment/locale/te.js","webpack:///./node_modules/moment/locale/tet.js","webpack:///./node_modules/moment/locale/tg.js","webpack:///./node_modules/moment/locale/th.js","webpack:///./node_modules/moment/locale/tk.js","webpack:///./node_modules/moment/locale/tl-ph.js","webpack:///./node_modules/moment/locale/tlh.js","webpack:///./node_modules/moment/locale/tr.js","webpack:///./node_modules/moment/locale/tzl.js","webpack:///./node_modules/moment/locale/tzm.js","webpack:///./node_modules/moment/locale/tzm-latn.js","webpack:///./node_modules/moment/locale/ug-cn.js","webpack:///./node_modules/moment/locale/uk.js","webpack:///./node_modules/moment/locale/ur.js","webpack:///./node_modules/moment/locale/uz.js","webpack:///./node_modules/moment/locale/uz-latn.js","webpack:///./node_modules/moment/locale/vi.js","webpack:///./node_modules/moment/locale/x-pseudo.js","webpack:///./node_modules/moment/locale/yo.js","webpack:///./node_modules/moment/locale/zh-cn.js","webpack:///./node_modules/moment/locale/zh-hk.js","webpack:///./node_modules/moment/locale/zh-mo.js","webpack:///./node_modules/moment/locale/zh-tw.js","webpack:///./app/javascript/components/navbar.js","webpack:///./app/javascript/components/carousel_captions.js","webpack:///./app/javascript/components/add_spec.js","webpack:///./app/javascript/plugins/direct_uploads.js","webpack:///./app/javascript/plugins/init_small_mapbox.js","webpack:///./app/javascript/plugins/back_to_top.js","webpack:///./app/javascript/plugins/get_url.js","webpack:///./app/javascript/plugins/init_autocomplete.js","webpack:///./app/javascript/plugins/init_autocomplete_2.js","webpack:///./app/javascript/plugins/init_autocomplete_3.js","webpack:///./app/javascript/plugins/init_autocomplete_4.js","webpack:///./app/javascript/plugins/init_autocomplete_5.js","webpack:///./app/javascript/plugins/init_autocomplete_6.js","webpack:///./app/javascript/plugins/close_modal.js","webpack:///./app/javascript/plugins/video_screen_size_selector.js","webpack:///./app/javascript/plugins/plan_card_remove.js","webpack:///./app/javascript/plugins/flatpickr.js","webpack:///./node_modules/flatpickr/dist/l10n/fr.js","webpack:///./app/javascript/components/p2rm_search.js","webpack:///./node_modules/@fullcalendar/core/locales/fr.js","webpack:///./node_modules/@fullcalendar/interaction/index.js","webpack:///./node_modules/@fullcalendar/daygrid/internal.js","webpack:///./node_modules/@fullcalendar/timegrid/internal.js","webpack:///./node_modules/@fullcalendar/timegrid/index.js","webpack:///./app/javascript/components/map_popup.js","webpack:///./app/javascript/plugins/init_mapbox.js","webpack:///./node_modules/typed.js/dist/typed.module.js","webpack:///./app/javascript/components/title.js","webpack:///./app/javascript/packs/application.js","webpack:///./node_modules/jquery/src/var/ObjectFunctionString.js","webpack:///./node_modules/jquery/src/var/pop.js","webpack:///./node_modules/jquery/src/var/sort.js","webpack:///./node_modules/jquery/src/var/splice.js","webpack:///./node_modules/jquery/src/selector/escapeSelector.js","webpack:///./node_modules/jquery/src/traversing/var/dir.js","webpack:///./node_modules/jquery/src/traversing/var/siblings.js","webpack:///./node_modules/jquery/src/deferred/exceptionHook.js","webpack:///./node_modules/jquery/src/core/readyException.js","webpack:///./node_modules/jquery/src/data.js","webpack:///./node_modules/jquery/src/queue/delay.js","webpack:///./node_modules/jquery/src/css/showHide.js","webpack:///./node_modules/jquery/src/css/var/swap.js","webpack:///./node_modules/jquery/src/css/var/rboxStyle.js","webpack:///./node_modules/jquery/src/effects/Tween.js","webpack:///./node_modules/jquery/src/attributes.js","webpack:///./node_modules/jquery/src/attributes/attr.js","webpack:///./node_modules/jquery/src/attributes/classes.js","webpack:///./node_modules/jquery/src/attributes/val.js","webpack:///./node_modules/jquery/src/manipulation/_evalUrl.js","webpack:///./node_modules/jquery/src/ajax/var/location.js","webpack:///./node_modules/jquery/src/wrap.js","webpack:///./node_modules/jquery/src/css/hiddenVisibleSelectors.js","webpack:///./node_modules/jquery/src/ajax/xhr.js","webpack:///./node_modules/jquery/src/ajax/script.js","webpack:///./node_modules/jquery/src/ajax/jsonp.js","webpack:///./node_modules/jquery/src/ajax/load.js","webpack:///./node_modules/jquery/src/core/support.js","webpack:///./node_modules/jquery/src/effects/animatedSelector.js","webpack:///./node_modules/jquery/src/offset.js","webpack:///./node_modules/jquery/src/dimensions.js","webpack:///./node_modules/jquery/src/deprecated.js","webpack:///./node_modules/jquery/src/deprecated/ajax-event-alias.js","webpack:///./node_modules/jquery/src/deprecated/event.js","webpack:///./node_modules/jquery/src/exports/amd.js","webpack:///./node_modules/jquery/src/exports/global.js","webpack:///./node_modules/popper.js/dist/esm/popper.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/turbolinks/dist/turbolinks.js","webpack:///./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js","webpack:///./app/javascript/channels sync _channel\\.js$","webpack:///./node_modules/share-buttons/dist/share-buttons.js","webpack:///./node_modules/bootstrap-select/dist/js/bootstrap-select.js","webpack:///./node_modules/flatpickr/dist/esm/index.js","webpack:///./node_modules/flatpickr/dist/esm/utils/polyfills.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./app/javascript/controllers sync _controller\\.js$","webpack:///./app/javascript/controllers/animation_cards_p2rm_controller.js","webpack:///./app/javascript/controllers/clipboard_controller.js","webpack:///./app/javascript/controllers/dashboard_controller.js","webpack:///./app/javascript/controllers/get_closest_parking_controller.js","webpack:///./app/javascript/controllers/hello_controller.js","webpack:///./app/javascript/controllers/modification_change_parking_controller.js","webpack:///./app/javascript/controllers/plans_controller.js","webpack:///./app/javascript/controllers/subscription_controller.js","webpack:///./app/javascript/controllers/validation_controller.js","webpack:///./app/javascript/controllers/waiting_lists_controller.js","webpack:///./app/javascript/channels/consumer.js","webpack:///./app/javascript/config/cable_ready.js","webpack:///./app/javascript/controllers/application.js","webpack:///./app/javascript/config/stimulus_reflex.js","webpack:///./app/javascript/controllers/index.js","webpack:///./node_modules/@hotwired/stimulus-webpack-helpers/dist/stimulus-webpack-helpers.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","_slicedToArray","e","Array","isArray","_arrayWithHoles","iterator","u","a","f","next","done","push","length","return","_iterableToArrayLimit","_arrayLikeToArray","toString","slice","constructor","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","styleTexts","styleEls","Map","injectStyles","styleText","forEach","styleEl","appendStylesTo","ensureElHasStyles","el","isConnected","getRootNode","registerStylesRoot","rootNode","querySelector","document","createElement","setAttribute","nonce","undefined","queriedNonceValue","metaWithNonce","hasAttribute","getAttribute","elWithNonce","queryNonceValue","getNonceValue","parentEl","head","insertBefore","firstChild","set","hydrateStylesRoot","sheet","ruleCnt","cssRules","split","styleStr","trim","insertRule","DelayedRunner","drainedOption","this","isRunning","isDirty","pauseDepths","timeoutId","request","delay","isPaused","clearTimeout","tryDrain","setTimeout","pause","scope","arguments","resume","force","keys","drained","clear","removeElement","parentNode","removeChild","elementClosest","selector","closest","documentElement","contains","elementMatches","parentElement","nodeType","matches","matchesSelector","msMatchesSelector","PIXEL_PROP_RE","applyStyle","props","propName","applyStyleProp","val","style","getEventTargetViaRoot","ev","_a","_b","composedPath","target","guid$1","getUniqueDomId","preventDefault","listenBySelector","container","eventType","handler","attachedHandler","matchedChild","buildDelegationHandler","addEventListener","removeEventListener","listenToHoverBySelector","onMouseEnter","onMouseLeave","currentMatchedChild","mouseOverEv","realOnMouseLeave","mouseLeaveEv","transitionEventNames","whenTransitionDone","callback","realCallback","eventName","createAriaClickAttrs","assign","onClick","createAriaKeyboardAttrs","tabIndex","onKeyDown","guidNumber","guid","String","disableCursor","body","classList","add","enableCursor","remove","preventSelection","userSelect","webkitUserSelect","allowSelection","preventContextMenu","allowContextMenu","compareByFieldSpec","obj0","obj1","fieldSpec","func","b","localeCompare","flexibleCompare","field","order","padStart","len","substr","formatWithOrdinals","formatter","args","fallbackText","reduce","str","arg","index","replace","compareNumbers","isInt","computeSmallestCellWidth","cellEl","allWidthEl","contentWidthEl","Error","getBoundingClientRect","width","INTERNAL_UNITS","PARSE_RE","createDuration","input","unit","exec","sign","years","months","days","parseInt","milliseconds","parseString","parseObject","obj","duration","year","month","day","hours","hour","minutes","minute","seconds","second","millisecond","ms","weeks","week","specifiedWeeks","addDurations","d0","d1","subtractDurations","multiplyDuration","asRoughDays","dur","asRoughMs","wholeDivideDurations","numerator","denominator","res","localRes","greatestDurationDenominator","isArraysEqual","a0","a1","equalityFunc","DAY_IDS","addWeeks","dateToUtcArray","arrayToUtcDate","addDays","addMs","diffWeeks","m0","m1","diffDays","valueOf","diffWholeDays","timeAsMs","Math","round","startOfDay","getUTCFullYear","getUTCMonth","getUTCDate","weekOfGivenYear","marker","dow","doy","firstWeekStart","firstWeekOffset","dayStart","floor","fwd","getUTCDay","dateToLocalArray","date","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","arrayToLocalDate","Date","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","concat","UTC","isValidDate","isNaN","buildIsoString","timeZoneOffset","stripZeroTime","toISOString","formatTimeZoneOffset","formatDayString","formatIsoMonthStr","match","formatIsoTimeString","doIso","abs","mins","memoize","workerFunc","resEquality","teardownFunc","currentArgs","currentRes","_len","newArgs","_key","apply","memoizeObjArg","currentArg","newArg","isPropsEqual","EXTENDED_SETTINGS_AND_SEVERITIES","separator","omitZeroMinute","meridiem","omitCommas","STANDARD_DATE_PROP_SEVERITIES","timeZoneName","era","weekday","MERIDIEM_RE","COMMA_RE","MULTI_SPACE_RE","LTR_RE","UTC_RE","NativeFormatter","formatSettings","standardDateProps","extendedSettings","severity","max","buildFormattingFunc","format","context","formatRange","start","end","betterDefaultSeparator","diffSeverity","ca","getMarkerYear","getMarkerMonth","getMarkerDay","computeMarkerDiffSeverity","calendarSystem","biggestUnitForPartial","full0","full1","partialFormattingFunc","options","biggestUnit","partialOptions","computePartialFormattingOptions","partial0","partial1","insertion","i0","found0","indexOf","before0","after0","i1","found1","before1","after1","before","after","findCommonInsertion","defaultSeparator","getLargestUnit","standardDatePropCnt","num","weekText","weekTextLong","locale","display","parts","simpleNumberFormat","direction","reverse","join","formatWeekNumber","computeWeekNumber","sanitizeSettings","timeZone","zeroFormat","normalFormat","Intl","DateTimeFormat","codes","zeroProps","tzoStr","replaced","injectTzoStr","toLocaleLowerCase","postProcess","buildNativeFormattingFunc","expandZonedMarker","dateInfo","markerToArray","array","createVerboseFormattingArg","startInfo","localeCodes","CmdFormatter","cmdStr","cmdFormatter","FuncFormatter","createFormatter","BASE_OPTION_REFINERS","navLinkDayClick","identity","navLinkWeekClick","bootstrapFontAwesome","buttonIcons","customButtons","defaultAllDayEventDuration","defaultTimedEventDuration","nextDayThreshold","scrollTime","scrollTimeReset","Boolean","slotMinTime","slotMaxTime","dayPopoverFormat","slotDuration","snapDuration","headerToolbar","footerToolbar","defaultRangeSeparator","titleRangeSeparator","forceEventDuration","dayHeaders","dayHeaderFormat","dayHeaderClassNames","dayHeaderContent","dayHeaderDidMount","dayHeaderWillUnmount","dayCellClassNames","dayCellContent","dayCellDidMount","dayCellWillUnmount","initialView","aspectRatio","Number","weekends","weekNumberCalculation","weekNumbers","weekNumberClassNames","weekNumberContent","weekNumberDidMount","weekNumberWillUnmount","editable","viewClassNames","viewDidMount","viewWillUnmount","nowIndicator","nowIndicatorClassNames","nowIndicatorContent","nowIndicatorDidMount","nowIndicatorWillUnmount","showNonCurrentDates","lazyFetching","startParam","endParam","timeZoneParam","locales","themeSystem","dragRevertDuration","dragScroll","allDayMaintainDuration","unselectAuto","dropAccept","eventOrder","token","specs","tokens","charAt","substring","eventOrderStrict","handleWindowResize","windowResizeDelay","longPressDelay","eventDragMinDistance","expandRows","height","contentHeight","weekNumberFormat","eventResizableFromStart","displayEventTime","displayEventEnd","progressiveEventRendering","businessHours","initialDate","now","eventDataTransform","stickyHeaderDates","stickyFooterScrollbar","viewHeight","defaultAllDay","eventSourceFailure","eventSourceSuccess","eventDisplay","eventStartEditable","eventDurationEditable","eventOverlap","eventConstraint","eventAllow","eventBackgroundColor","eventBorderColor","eventTextColor","eventColor","eventClassNames","eventContent","eventDidMount","eventWillUnmount","selectConstraint","selectOverlap","selectAllow","droppable","unselectCancel","slotLabelFormat","slotLaneClassNames","slotLaneContent","slotLaneDidMount","slotLaneWillUnmount","slotLabelClassNames","slotLabelContent","slotLabelDidMount","slotLabelWillUnmount","dayMaxEvents","dayMaxEventRows","dayMinWidth","slotLabelInterval","allDayText","allDayClassNames","allDayContent","allDayDidMount","allDayWillUnmount","slotMinWidth","navLinks","eventTimeFormat","rerenderDelay","moreLinkText","moreLinkHint","selectMinDistance","selectable","selectLongPressDelay","eventLongPressDelay","selectMirror","eventMaxStack","eventMinHeight","eventMinWidth","eventShortHeight","slotEventOverlap","plugins","firstDay","dayCount","dateAlignment","dateIncrement","hiddenDays","fixedWeekCount","validRange","visibleRange","titleFormat","eventInteractive","noEventsText","viewHint","navLinkHint","closeHint","timeHint","eventHint","moreLinkClick","moreLinkClassNames","moreLinkContent","moreLinkDidMount","moreLinkWillUnmount","monthStartFormat","handleCustomRendering","customRenderingMetaMap","customRenderingReplaces","BASE_OPTION_DEFAULTS","center","CALENDAR_LISTENER_REFINERS","datesSet","eventsSet","eventAdd","eventChange","eventRemove","windowResize","eventClick","eventMouseEnter","eventMouseLeave","select","unselect","loading","_unmount","_beforeprint","_afterprint","_noEventDrop","_noEventResize","_resize","_scrollRequest","CALENDAR_OPTION_REFINERS","buttonText","buttonHints","views","initialEvents","events","eventSources","COMPLEX_OPTION_COMPARATORS","isMaybeObjectsEqual","isMaybeArraysEqual","VIEW_OPTION_REFINERS","type","component","buttonTextKey","dateProfileGeneratorClass","usesMinMaxTime","classNames","content","didMount","willUnmount","mergeRawOptions","optionSets","mergeProps","refineProps","refiners","refined","extra","raw","propObjs","complexPropsMap","dest","complexObjs","unshift","filterHash","hash","filtered","mapHash","newHash","arrayToHash","item","hashValuesToArray","HANDLER_RE","getUnequalProps","compareObjs","oldProps","newProps","equalityFuncs","isObjValsEqual","val0","val1","comparator","calendarSystemClassMap","theClass","arrayToMarker","arr","ISO_RE","DateEnv","settings","isNamedTimeZone","namedTimeZoneImpl","canComputeOffset","createCalendarSystem","weekDow","weekDoy","weekNumberFunc","createMarker","meta","createMarkerMeta","createNowMarker","timestampToMarker","parse","isTimeUnspecified","forcedTzo","getYear","getDay","subtract","addYears","addMonths","diffWholeYears","diffWholeMonths","greatestWholeUnit","diffWholeWeeks","diffHours","diffMinutes","diffSeconds","countDurationsBetween","diff","asRoughMonths","startOf","startOfYear","startOfMonth","startOfWeek","startOfHour","startOfMinute","startOfSecond","toDate","y","w","nextW","min","weekOfYear","dateOptions","offsetForMarker","isEndExclusive","forcedStartTzo","forcedEndTzo","formatIso","extraOptions","omitTimeZoneOffset","omitTime","timestampToArray","getTimezoneOffset","offsetForArray","Theme","calendarOptions","iconOverrideOption","setIconOverride","iconOverrideHash","iconClassesCopy","buttonName","iconClasses","applyIconOverridePrefix","className","prefix","iconOverridePrefix","getClass","classes","getIconClass","isRtl","rtlIconClasses","baseIconClass","getCustomButtonIconClass","customButtonProps","iconOverrideCustomButtonOption","flushSync","runBeforeFlush","oldDebounceRendering","debounceRendering","callbackQ","FakeComponent","shift","render","componentDidMount","setState","createContext","defaultValue","ContextType","origProvider","Provider","isNew","getChildContext","children","subs","shouldComponentUpdate","_props","forceUpdate","sub","old","componentWillUnmount","splice","ScrollResponder","execFunc","emitter","handleScrollRequest","queuedRequest","drain","on","fireInitialScroll","detach","off","update","isDatesNew","time","ViewContextType","buildViewContext","viewSpec","viewApi","viewOptions","dateProfileGenerator","dateEnv","theme","pluginHooks","dispatch","getCurrentData","calendarApi","registerInteractiveComponent","unregisterInteractiveComponent","addResizeHandler","removeResizeHandler","createScrollResponder","PureComponent","nextProps","nextState","debug","console","log","state","propEquality","stateEquality","safeSetState","newState","addPropsEquality","addStateEquality","contextType","BaseComponent","setRef","ref","current","ContentInjector","super","id","queuedDomNodes","currentDomNodes","handleEl","generatorName","hasCustomRenderingHandler","updateElRef","elRef","customGenerator","defaultGenerator","renderProps","attrs","buildElAttrs","innerContent","currentGeneratorMeta","useDefault","customGeneratorRes","isObject","dangerouslySetInnerHTML","__html","html","domNodes","elTag","applyQueueudDomNodes","triggerCustomRendering","componentDidUpdate","isActive","_context$options","generatorMeta","containerEl","base","reportNewContainerEl","elClasses","filter","isTruthy","newNode","appendChild","extraClassNames","elAttrs","elStyle","RenderId","ContentContainer","InnerContent","InnerContentInjector","didMountMisfire","generatedClassNames","classNameGenerator","generateClassNames","renderId","containerComponent","parentProps","ViewContainer","view","buildViewClassNames","invertRanges","ranges","constraintRange","dateRange","invertedRanges","sort","compareRanges","range0","range1","intersectRanges","newRange","rangesIntersect","rangeContainsRange","outerRange","innerRange","rangeContainsMarker","range","computeAlignedDayRange","timedRange","dayCnt","computeVisibleDayRange","startDay","endDay","endTimeMS","diffDates","date0","date1","largeUnit","m0day","m1day","diffDayAndTime","reduceCurrentDate","currentDate","action","dateMarker","getInitialDate","initialDateInput","getNow","nowInput","DateProfileGenerator","nowDate","initHiddenDays","buildPrev","currentDateProfile","forceToValid","prevDate","currentRangeUnit","build","buildNext","nextDate","currentInfo","isRangeAllDay","renderRange","activeRange","isValid","buildValidRange","trimHiddenDays","buildCurrentRangeInfo","buildRenderRange","adjustActiveRange","currentRange","buildDateIncrement","validRangeInput","simpleInput","refineRange","durationUnit","buildRangeFromDuration","buildRangeFromDayCount","buildCustomVisibleRange","getFallbackDuration","_this$props","_this$props2","computeRes","isHiddenDay","skipHiddenDays","_this$props3","runningCount","visibleRangeInput","fallback","customAlignment","rangeInput","parseRange","isHiddenDayHash","inc","isExclusive","createEventInstance","defId","instanceId","expandRecurring","eventStore","framingRange","defs","instances","instance","recurringDef","def","allDay","starts","expandRecurringRanges","recurringTypes","eventDef","markers","typeId","expand","typeData","map","EVENT_NON_DATE_REFINERS","groupId","title","url","interactive","EVENT_DATE_REFINERS","EVENT_REFINERS","extendedProps","parseEvent","eventSource","allowOpenRange","buildEventRefiners","defIdMap","instanceIdMap","_refineEventDef","refineEventDef","computeIsDefaultAllDay","recurringRes","parsed","allDayGuess","parseRecurring","parseEventDef","sourceId","singleRes","startMeta","endMeta","startMarker","hasEnd","endMarker","startInput","parseSingle","publicId","EVENT_UI_REFINERS","eventRefiners","ui","createEventUi","memberAdder","eventDefMemberAdders","freeze","parseEvents","rawEvents","rawEvent","tuple","eventTupleToStore","getRelevantEvents","newStore","filterEventStoreDefs","lookDef","isEventDefsGrouped","def0","def1","createEmptyEventStore","mergeEventStores","store0","store1","filterFunc","parseClassNames","startEditable","durationEditable","constraint","overlap","allow","color","backgroundColor","borderColor","textColor","EMPTY_EVENT_UI","constraints","allows","normalizeConstraint","combineEventUis","uis","combineTwoEventUis","item0","item1","EVENT_SOURCE_REFINERS","success","failure","parseEventSource","rawObj","buildEventSourceRefiners","_refineProps","metaRes","eventSourceDefs","parseMeta","sourceDefId","buildEventSourceMeta","_raw","isFetching","latestFetchId","fetchRange","eventSourceRefiners","reduceEventStore","dateProfile","fetchId","subset","transformRawEvents","excludeEventsBySourceId","receiveRawEvents","existingEventStore","_buildPublicIdMaps","buildPublicIdMaps","newEventStore","resetRawEvents","expandRange","addEvent","master","filteredDefs","filteredInstances","excludeSubEventStore","calEachTransform","sourceEachTransform","transformEachRawEvent","refinedEvents","refinedEvent","rezoneEventStoreDates","oldDateEnv","newDateEnv","Emitter","handlers","thisContext","setThisContext","setOptions","addToHash","removeFromHash","trigger","attachedHandlers","optionHandler","_len2","_key2","hasHandlers","DEF_DEFAULTS","startTime","endTime","daysOfWeek","parseBusinessHours","rawDefs","rawDef","refineInputs","triggerDateSelect","selection","pev","buildDateSpanApiWithContext","jsEvent","origEvent","dateSpan","transform","dateSpanTransforms","span","buildRangeApi","getDefaultEventEnd","applyMutationToEventStore","eventConfigBase","mutation","eventConfigs","compileEventUis","applyMutationToEventDef","applyMutationToEventInstance","eventConfig","standardProps","startDelta","endDelta","copy","applier","eventDefMutationAppliers","eventInstance","forceAllDay","clearEnd","datesDelta","EventSourceImpl","internalEventSource","refetch","sourceIds","isRefetch","EventImpl","_context","_def","_instance","setProp","warn","mutate","setExtendedProp","setStart","granularity","maintainDuration","setEnd","endInput","setDates","instanceRange","moveStart","deltaInput","delta","moveEnd","moveDates","setAllDay","formatInput","relevantEvents","oldEvent","event","relatedEvents","buildEventApis","revert","asStore","eventApiToStore","source","startStr","endStr","toPlainObject","collapseColor","collapseExtendedProps","toJSON","eventApi","excludeInstance","eventApis","excludeInstanceId","sliceEventStore","eventUiBases","inverseBgByGroupId","inverseBgByDefId","defByGroupId","bgRanges","fgRanges","eventUis","origRange","normalRange","slicedRange","isStart","isEnd","invertedRange","bg","fg","hasBgRendering","setElSeg","seg","fcSeg","getElSeg","eventDefs","compileEventUi","sortEventSegs","segs","eventOrderSpecs","objs","buildSegCompareObj","fieldSpecs","cmp","compareByFieldSpecs","_seg","eventRange","computeSegDraggable","transformers","isDraggableTransformers","_seg$eventRange","transformer","computeSegStartResizable","computeSegEndResizable","buildSegTimeText","timeFormat","defaultDisplayEventTime","defaultDisplayEventEnd","startOverride","endOverride","wholeEventStart","wholeEventEnd","segStart","segEnd","isStartDay","isEndDay","getSegMeta","todayRange","segRange","isPast","isFuture","isToday","getEventClassNames","isMirror","isDraggable","isStartResizable","isEndResizable","isDragging","isResizing","isSelected","buildEventRangeKey","getSegAnchorAttrs","_seg$eventRange2","href","STANDARD_PROPS","parseDateSpan","defaultDuration","_refineProps2","parseOpenDateSpan","isDateSpansEqual","span0","span1","isSpanPropsEqual","buildRangeApiWithTimeZone","unpromisify","normalizedSuccessCallback","normalizedFailureCallback","isResolved","wrappedSuccess","wrappedFailure","error","then","JsonRequestError","message","response","requestJson","method","params","fetchOptions","toUpperCase","URLSearchParams","headers","fetch","fetchRes","ok","json","parsedResponse","canVGrowWithinCell","getCanVGrowWithinCell","position","top","left","innerHTML","possible","offsetHeight","computeCanVGrowWithinCell","CalendarRoot","forPrint","handleBeforePrint","handleAfterPrint","isHeightAuto","Interaction","isHitComboAllowed","destroy","parseInteractionSettings","useEventCenter","interactionSettingsToStore","uid","interactionSettingsStore","CalendarImpl","currentDataManager","batchRendering","updateSize","setOption","optionName","rawOptionValue","getOption","currentCalendarOptionsInput","getAvailableLocaleCodes","availableRawLocales","handlerName","currentCalendarOptionsRefiners","_len3","_key3","changeView","viewType","dateOrRange","zoomTo","spec","viewSpecs","getUnitViewSpec","_this$getCurrentData2","toolbarConfig","viewTypes","header","viewsWithButtons","footer","singleUnit","prev","prevYear","nextYear","today","gotoDate","zonedDateInput","incrementDate","formatDate","dateOrObj","endDate","selectionInput","dateSelection","triggerDateUnselect","eventInput","sourceInput","triggerEventAdd","sourceApi","getEventSourceById","newEventApi","getEventById","_state$eventStore","getEvents","currentData","removeAllEvents","getEventSources","sourceHash","sourceApis","internalId","addEventSource","sources","removeAllEventSources","refetchEvents","scrollToTime","timeInput","pointInsideRect","point","rect","right","bottom","intersectRects","rect1","rect2","constrainPoint","getRectCenter","diffPoints","point1","point2","EMPTY_EVENT_STORE","Splitter","getKeysForEventDefs","_getKeysForEventDefs","splitDateSelection","_splitDateSpan","splitEventStore","_splitEventStore","splitIndividualUi","_splitIndividualUi","splitEventDrag","_splitInteraction","splitEventResize","eventUiBuilders","splitProps","keyInfos","getKeyInfo","defKeys","dateSelections","individualUi","eventStores","eventDrags","eventDrag","eventResizes","eventResize","info","buildEventUiForKey","keyInfo","buildEventUi","eventSelection","dateSpans","getKeysForDateSpan","getKeysForEventDef","splitStores","splitHashes","interaction","splitStates","affectedStores","affectedEvents","mutatedKeysByDefId","mutatedEvents","mutatedStores","populate","isEvent","allUi","eventUiForKey","baseParts","stuff","getDateMeta","isDisabled","isOther","getDayClassNames","DAY_FORMAT","WEEK_FORMAT","buildNavLinkAttrs","isTabbable","dateStr","zonedDate","handleInteraction","customAction","_scrollbarWidths","_isRtlScrollbarOnLeft","getIsRtlScrollbarOnLeft","outerEl","border","padding","overflow","computeIsRtlScrollbarOnLeft","getScrollbarWidths","computeScrollbarWidthsForEl","computeScrollbarWidths","x","clientHeight","offsetWidth","clientWidth","computeInnerRect","goWithinPadding","outerRect","computeRect","edges","getPadding","computedStyle","window","getComputedStyle","borderLeft","borderLeftWidth","borderRight","borderRightWidth","borderTop","borderTopWidth","borderBottom","borderBottomWidth","badScrollbarWidths","scrollbarLeftRight","scrollbarBottom","scrollbarLeft","scrollbarRight","paddingLeft","paddingRight","paddingTop","paddingBottom","computeEdges","scrollX","scrollY","getClippingParents","parents","HTMLElement","overflowY","overflowX","PositionCache","originEl","els","isHorizontal","isVertical","originClientRect","buildElHorizontals","buildElVerticals","originClientLeft","lefts","rights","originClientTop","tops","bottoms","leftToIndex","leftPosition","topToIndex","topPosition","getWidth","leftIndex","getHeight","topIndex","similarTo","otherCache","similarNumArrays","ScrollController","getMaxScrollTop","getScrollHeight","getClientHeight","getMaxScrollLeft","getScrollWidth","getClientWidth","canScrollVertically","canScrollHorizontally","canScrollUp","getScrollTop","canScrollDown","canScrollLeft","getScrollLeft","canScrollRight","ElementScrollController","scrollTop","scrollLeft","setScrollTop","setScrollLeft","scrollWidth","scrollHeight","WindowScrollController","scroll","DateComponent","prepareHits","queryHit","positionLeft","positionTop","elWidth","elHeight","isValidSegDownEl","isValidDateDownEl","SegHierarchy","getEntryThickness","entry","thickness","strictOrder","allowReslicing","maxCoord","maxStackCnt","levelCoords","entriesByLevel","stackCnts","addSegs","inputs","hiddenEntries","insertEntry","findInsertion","isInsertionValid","insertEntryAt","handleInvalidInsertion","levelCoord","stackCnt","touchingEntry","hiddenEntry","intersectSpans","splitEntry","barrier","entrySpan","barrierSpan","lateral","insertAt","level","buildEntryKey","newEntry","levelCnt","candidateCoord","touchingLevel","touchingLateral","trackingLevel","trackingCoord","trackingEntry","trackingEntries","searchRes","binarySearch","getEntrySpanEnd","lateralIndex","trackingEntryBottom","destLevel","destLateral","toRects","rects","entries","groupIntersectingEntries","merges","filteredMerges","hungryMerge","merge","searchVal","getItemVal","startIndex","endIndex","middleIndex","middleVal","ElementDragging","setMirrorIsVisible","bool","setMirrorNeedsRevert","setAutoScrollEnabled","config","DRAG_META_REFINERS","parseDragMeta","_refineProps3","leftoverProps","CLASS_NAME","renderInner$1","text","TableDateCell","_this$context","dayMeta","navLinkAttrs","colCnt","extraRenderProps","role","colSpan","extraDataAttrs","InnerContainer","isSticky","WEEKDAY_FORMAT","TableDowCell","_this$context2","dateMeta","NowTimer","initialNowDate","initialNowQueriedMs","computeTiming","currentState","prevProps","unroundedNow","currentUnitStart","nextUnitStart","waitMs","buildDayRange","_this$computeTiming","DayHeader","createDayHeaderFormatter","_this$props4","dates","datesRepDistinctDays","renderIntro","explicitFormat","dateCnt","computeFallbackHeaderFormat","DaySeriesModel","indices","dayIndex","cnt","sliceRange","firstIndex","getDateDayIndex","lastIndex","clippedFirstIndex","clippedLastIndex","ceil","dayOffset","DayTableModel","daySeries","breakOnWeeks","daysPerRow","rowCnt","cells","buildCells","headerDates","buildHeaderDates","rows","row","col","buildCell","seriesSeg","nextIndex","firstCol","lastCol","Slicer","sliceBusinessHours","_sliceBusinessHours","sliceDateSelection","_sliceDateSpan","_sliceEventStore","sliceEventDrag","_sliceInteraction","sliceEventResize","forceDayIfListItem","sliceProps","_len4","extraArgs","_key4","eventSegs","dateSelectionSegs","businessHourSegs","fgEventSegs","bgEventSegs","sliceNowDate","_len5","_key5","_len6","_key6","computeActiveRange","rangeRes","_len7","_key7","sliceEventRanges","_len8","_key8","affectedInstances","activeDateSpanRange","fabricateEventRange","_len9","_key9","eventRanges","sliceEventRange","isComponentAllDay","isInteractionValid","isNewPropsValid","isDateSelectionValid","calendarState","isPropsValid","dateSpanMeta","filterConfig","subjectEventStore","subjectDefs","subjectInstances","subjectConfigs","selectionConfig","otherEventStore","removals","otherDefs","otherInstances","otherConfigs","subjectInstanceId","subjectInstance","subjectRange","subjectConfig","subjectDef","allConstraintsPass","eventOverlapFunc","otherInstanceId","otherInstance","calendarEventStore","subjectAllow","subjectDateSpan","origDef","origInstance","isInteractionPropsValid","relevantEventStore","relevantDefs","relevantInstances","selectionRange","_context$getCurrentDa2","selectOverlapFunc","relevantInstanceId","relevantInstance","selectionAllow","isDateSelectionPropsValid","businessHoursUnexpanded","anyRangesContainRange","constraintToRanges","eventStoreToRanges","outerRanges","VISIBLE_HIDDEN_RE","Scroller","liquid","liquidIsAbsolute","isAbsolute","overcomeLeft","overcomeRight","overcomeBottom","marginLeft","marginRight","marginBottom","maxHeight","needsXScrolling","realClientWidth","getYScrollbarWidth","needsYScrolling","realClientHeight","getXScrollbarWidth","RefMap","masterCallback","currentMap","depths","callbackMap","handleValue","removed","added","createRef","refCallback","collect","step","collectFromHash","getAll","computeShrinkWidth","chunkEls","shrinkCells","containers","allMatches","querySelectorAll","j","findElements","largestWidth","shrinkCell","getSectionHasLiquidHeight","sectionConfig","isColPropsEqual","cols0","cols1","renderMicroColGroup","cols","shrinkWidth","colNodes","colProps","sanitizeShrinkWidth","minWidth","getSectionClassNames","wholeTableVGrow","renderScrollShim","tableMinWidth","getStickyHeaderDates","getStickyFooterScrollbar","SimpleScrollGrid","processCols","scrollerRefs","scrollerElRefs","_handleScrollerEl","forceYScrollbars","scrollerClientWidths","scrollerClientHeights","handleSizing","computeScrollerDims","sectionConfigs","sections","microColGroupNode","getScrollGridClassNames","collapsibleWidth","currentConfig","configCnt","configI","headSectionNodes","bodySectionNodes","footSectionNodes","renderSection","isBuggy","roleAttrs","isHeader","outerContent","renderChunkTd","chunk","chunkConfig","_this$state","getAllowYScrolling","isLiquid","sectionKey","tableClassName","syncRowHeights","tableColGroupNode","rowContent","renderChunkContent","rowSyncHeights","reportRowHeightChange","scrollerEl","section","getSectionByKey","scrollerElRef","hasShrinkWidth","scrollbarWidth","scroller","harnessEl","EventContainer","timeText","disableDragging","disableResizing","isDateSelecting","StandardEvent","defaultTimeFormat","renderInnerContent$1","eventContentArg","innerProps","NowIndicatorContainer","Consumer","isAxis","DAY_NUM_FORMAT","DayCellContainer","refineRenderProps","isMonthStart","showDayNumber","hasCustomDayCellContent","dayNumberText","BgEvent","renderInnerContent","renderFill","fillType","WeekNumberContainer","defaultFormat","renderInner","Popover","titleId","handleRootEl","rootEl","handleDocumentMouseDown","handleCloseClick","handleDocumentKeyDown","onClose","_this$context3","extraAttrs","_this$props5","alignmentEl","alignGridTop","alignmentRect","clippingParents","clippingParent","intersection","computeClippedClientRect","popoverDims","popoverTop","popoverLeft","origin","offsetParent","MorePopover","_this$context4","startDate","forceTimed","extraDateSpan","dayEl","layer","MoreLinkContainer","isPopoverOpen","popoverId","handleLinkEl","linkEl","handleClick","computeRange","buildPublicSeg","_seg$eventRange3","allDayDate","allSegs","hiddenSegs","handlePopoverClose","moreCnt","hint","shortText","renderMoreLinkInner","alignmentElRef","popoverContent","updateParentEl","computeEarliestSegStart","pickLatestEnd","pickEarliestStart","seg0","seg1","h","v","defaultProps","__k","__","__b","__e","__d","__c","__h","__v","vnode","_","setProperty","g","cssText","toLowerCase","removeAttribute","A","P","C","T","$","__r","__P","M","__n","ownerSVGElement","N","H","k","I","z","L","nextSibling","q","S","some","__E","B","_sb","__s","getDerivedStateFromProps","componentWillMount","componentWillReceiveProps","componentWillUpdate","getSnapshotBeforeUpdate","O","diffed","localName","createTextNode","createElementNS","is","data","childNodes","attributes","checked","unmount","D","E","F","G","getDerivedStateFromError","componentDidCatch","Promise","resolve","hookCallback","hooks","setHookCallback","hasOwnProp","isObjectEmpty","getOwnPropertyNames","isUndefined","isNumber","isDate","fn","arrLen","extend","createUTC","strict","createLocalOrUTC","utc","defaultParsingFlags","empty","unusedTokens","unusedInput","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","rfc2822","weekdayMismatch","getParsingFlags","_pf","flags","parsedParts","isNowValid","_d","getTime","invalidWeekday","_strict","bigHour","isFrozen","_isValid","createInvalid","NaN","fun","momentProperties","updateInProgress","copyConfig","to","prop","momentPropertiesLen","_isAMomentObject","_i","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","msg","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","argLen","stack","deprecations","deprecateSimple","isFunction","Function","_config","_dayOfMonthOrdinalParseLenient","RegExp","_dayOfMonthOrdinalParse","_ordinalParse","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","calendar","mom","output","_calendar","zeroFill","number","targetLength","forceSign","absNumber","zerosToFill","pow","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","ordinal","localeData","removeFormattingTokens","makeFormatFunction","formatMoment","expandFormat","invalidDate","replaceLongDateFormatTokens","longDateFormat","defaultLongDateFormat","LTS","LT","LL","LLL","LLLL","_longDateFormat","formatUpper","tok","defaultInvalidDate","_invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","_ordinal","defaultRelativeTime","future","past","ss","mm","hh","dd","ww","MM","yy","relativeTime","withoutSuffix","string","_relativeTime","pastFuture","aliases","weekdays","isoweekdays","isoweekday","DDD","dayofyears","dayofyear","Q","quarters","quarter","gg","weekyears","weekyear","GG","isoweekyears","isoweekyear","W","isoweeks","isoweek","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","isoWeekday","dayOfYear","weekYear","isoWeekYear","isoWeek","getPrioritizedUnits","unitsObj","priority","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","unescapeFormat","regexEscape","matched","p1","p2","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","isFinite","addParseToken","tokenLen","addWeekParseToken","_w","addTimeToArrayFromToken","isLeapYear","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","parseTwoDigitYear","getSetYear","makeGetSet","getIsLeapYear","keepTime","set$1","isUTC","setUTCMilliseconds","setMilliseconds","setUTCSeconds","setSeconds","setUTCMinutes","setMinutes","setUTCHours","setHours","setUTCDate","setDate","setUTCFullYear","setFullYear","stringGet","stringSet","prioritized","prioritizedLen","mod","daysInMonth","modMonth","monthsShort","monthsShortRegex","monthsRegex","monthsParse","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","_months","isFormat","localeMonthsShort","_monthsShort","handleStrictParse","monthName","ii","llc","_monthsParse","_longMonthsParse","_shortMonthsParse","localeMonthsParse","_monthsParseExact","setMonth","setUTCMonth","getSetMonth","getDaysInMonth","computeMonthsParse","_monthsShortStrictRegex","_monthsShortRegex","_monthsStrictRegex","_monthsRegex","cmpLenRev","shortP","longP","shortPieces","longPieces","mixedPieces","createDate","createUTCDate","dayOfYearFromWeeks","resYear","resDayOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","localeWeek","_week","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","weekdaysParse","parseIsoWeekday","shiftWeekdays","ws","weekdaysMin","weekdaysShort","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","_weekdays","localeWeekdaysShort","_weekdaysShort","localeWeekdaysMin","_weekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","localeWeekdaysParse","_weekdaysParseExact","_fullWeekdaysParse","getSetDayOfWeek","getSetLocaleDayOfWeek","getSetISODayOfWeek","computeWeekdaysParse","_weekdaysStrictRegex","_weekdaysRegex","_weekdaysShortStrictRegex","_weekdaysShortRegex","_weekdaysMinStrictRegex","_weekdaysMinRegex","minp","shortp","longp","minPieces","hFormat","kFormat","lowercase","matchMeridiem","_meridiemParse","localeIsPM","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","isLower","globalLocale","baseConfig","dayOfMonthOrdinalParse","meridiemParse","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","names","loadLocale","isLocaleNameSane","oldLocale","_abbr","getSetGlobalLocale","values","getLocale","defineLocale","abbr","parentLocale","updateLocale","tmpLocale","listLocales","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","result","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","createFromInputFallback","defaults","currentDateArray","nowValue","_useUTC","configFromArray","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","_dayOfYear","_nextDay","temp","weekdayOverflow","curWeek","createLocal","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","meridiemFixWrap","erasConvertYear","isPm","meridiemHour","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","score","configFromObject","dayOrDate","createFromConfig","prepareConfig","preparse","configFromInput","prototypeMin","other","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","parseFloat","isValid$1","createInvalid$1","Duration","_milliseconds","_days","_data","_bubble","isDuration","absRound","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","offset","utcOffset","offsetFromString","chunkOffset","matcher","cloneWithOffset","model","clone","setTime","local","getDateOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","_isDSTShifted","toArray","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","ret","diffRes","parseIso","momentsDifference","inp","positiveMomentsDifference","isAfter","isBefore","createAdder","period","tmp","isAdding","invalid","isString","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","properties","propertyLen","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","formats","sod","calendarFormat","localInput","endOf","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","that","zoneDelta","monthDiff","wholeMonthDiff","anchor","keepOffset","inspect","datetime","suffix","zone","inputString","defaultFormatUtc","postformat","humanize","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOfDate","unix","toObject","isValid$2","parsingFlags","invalidAt","creationData","localeEras","eras","_eras","since","until","localeErasParse","eraName","narrow","localeErasConvertYear","dir","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","_erasNameRegex","_erasRegex","erasAbbrRegex","_erasAbbrRegex","erasNarrowRegex","_erasNarrowRegex","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","_eraYearOrdinalRegex","erasName","erasAbbr","erasNarrow","abbrPieces","namePieces","narrowPieces","addWeekYearFormatToken","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","erasParse","eraYearOrdinalParse","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetMillisecond","getSetSecond","parseMs","getZoneAbbr","getZoneName","proto","createUnix","createInZone","parseZone","preParsePostFormat","for","eraNarrow","eraAbbr","eraYear","isoWeeks","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","isDST","zoneAbbr","zoneName","isDSTShifted","proto$1","get$1","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","firstDayOfYear","firstDayOfWeek","langData","mathAbs","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","as","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","threshold","limit","argWithSuffix","argThresholds","withSuffix","th","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","total","toFixed","proto$2","toIsoString","version","relativeTimeRounding","relativeTimeThreshold","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME","TIME_SECONDS","TIME_MS","factory","toggleClass","elem","tag","textContent","clearNode","node","findParent","condition","createNumberInput","inputClassName","opts","wrapper","numInput","arrowUp","arrowDown","navigator","userAgent","pattern","getEventTarget","getProto","flat","class2type","hasOwn","fnToString","ObjectFunctionString","support","isWindow","DOMEval","toType","rhtmlSuffix","jQuery","init","isArrayLike","jquery","pushStack","elems","prevObject","each","first","eq","last","even","grep","_elem","odd","src","copyIsArray","deep","isPlainObject","expando","random","isReady","noop","Ctor","isEmptyObject","globalEval","code","doc","nodeValue","makeArray","results","inArray","isXMLDoc","namespace","namespaceURI","docElem","ownerDocument","nodeName","invert","callbackExpect","pad","int","debounce","wait","_this","arrayify","createDateFormatter","_c","l10n","isMobile","dateObj","frmt","overrideLocale","createDateParser","givenFormat","timeless","customLocale","parsedDate","dateOrig","datestr","parseDate","ops","matchIndex","regexStr","isBackSlash","escaped","noCalendar","errorHandler","compareDates","date2","ts","ts1","ts2","calculateSecondsSinceMidnight","parseSeconds","secondsSinceMidnight","DAY","getDefaultHours","defaultHour","defaultMinute","defaultSeconds","minDate","minHour","minMinutes","minSeconds","maxDate","maxHr","maxMinutes","EventListener","eventTarget","eventOptions","unorderedBindings","Set","connect","disconnect","bindingConnected","binding","bindingDisconnected","delete","handleEvent","extendedEvent","stopImmediatePropagation","immediatePropagationStopped","extendEvent","bindings","hasBindings","size","rightIndex","Dispatcher","application","eventListenerMaps","started","eventListeners","eventListener","stop","listeners","fetchEventListenerForBinding","clearEventListeners","clearEventListenersForBinding","handleError","detail","removeMappedEventListenerFor","eventListenerMap","fetchEventListenerMapForEventTarget","cacheKey","fetchEventListener","createEventListener","defaultActionDescriptorFilters","_ref","stopPropagation","prevent","_ref2","self","_ref3","element","descriptorPattern","parseEventTarget","eventTargetName","camelize","char","namespaceCamelize","capitalize","dasherize","isSomething","hasProperty","allModifiers","Action","descriptor","schema","tagName","defaultEventNames","getDefaultEventNameForElement","identifier","methodName","keyFilter","forToken","descriptorString","includes","parseActionDescriptorString","eventFilter","shouldIgnoreKeyboardEvent","filters","keyFilterDissatisfied","standardFilter","keyMappings","shouldIgnoreMouseEvent","_ref4","typecast","_allModifiers$map2","modifier","ctrl","alt","metaKey","ctrlKey","altKey","shiftKey","button","form","details","textarea","JSON","o_O","Binding","actionEvent","prepareActionEvent","willBeInvokedByEvent","applyEventModifiers","invokeWithEvent","controller","actionDescriptorFilters","passes","_ref5","_ref6","currentTarget","logDebugActivity","KeyboardEvent","MouseEvent","Element","containsElement","ElementObserver","delegate","mutationObserverInit","childList","subtree","elements","mutationObserver","MutationObserver","mutations","processMutations","observe","refresh","takeRecords","matchElementsInTree","has","addElement","processMutation","processAttributeChange","attributeName","processRemovedNodes","removedNodes","processAddedNodes","addedNodes","elementAttributeChanged","matchElement","nodes","elementFromNode","processTree","elementIsActive","tree","processor","Node","ELEMENT_NODE","elementMatched","elementUnmatched","AttributeObserver","elementObserver","elementMatchedAttribute","elementUnmatchedAttribute","elementAttributeValueChanged","del","prune","Multimap","valuesByKey","hasKey","hasValue","getValuesForKey","getKeysForValue","_ref7","_ref8","_ref9","_ref10","SelectorObserver","_selector","matchesByElement","selectorMatchElement","selectorMatched","selectors","selectorUnmatched","_attributeName","matchedBefore","StringMapObserver","stringMap","attributeOldValue","knownAttributeNames","refreshAttribute","oldValue","getStringMapKeyForAttribute","stringMapKeyAdded","stringMapValueChanged","stringMapKeyRemoved","currentAttributeNames","recordedAttributeNames","attribute","TokenListObserver","attributeObserver","tokensByElement","tokensMatched","readTokensForElement","_this$refreshTokensFo2","refreshTokensForElement","unmatchedTokens","matchedTokens","tokensUnmatched","tokenMatched","tokenUnmatched","previousTokens","currentTokens","firstDifferingIndex","zip","findIndex","_ref11","_ref12","previousToken","currentToken","tokenString","parseTokenString","ValueListObserver","tokenListObserver","parseResultsByToken","WeakMap","valuesByTokenByElement","fetchParseResultForToken","fetchValuesByTokenForElement","elementMatchedValue","elementUnmatchedValue","parseResult","parseToken","valuesByToken","parseValueForToken","BindingObserver","bindingsByAction","valueListObserver","actionAttribute","disconnectAllActions","connectAction","disconnectAction","ValueObserver","receiver","stringMapObserver","valueDescriptorMap","invokeChangedCallbacksForDefaultValues","invokeChangedCallback","writer","valueDescriptorNameMap","_ref13","valueDescriptors","rawValue","rawOldValue","changedMethodName","changedMethod","reader","descriptors","hasMethodName","TargetObserver","targetsByName","disconnectAllTargets","_ref14","connectTarget","_ref15","disconnectTarget","targetConnected","targetDisconnected","readInheritableStaticArrayValues","propertyName","ancestors","getAncestorsForConstructor","definition","getOwnStaticArrayValues","readInheritableStaticObjectPairs","pairs","getOwnStaticObjectPairs","getPrototypeOf","OutletObserver","outletsByName","outletElementsByName","selectorObserverMap","attributeObserverMap","outletDefinitions","outletName","setupSelectorObserverForOutlet","setupAttributeObserverForOutlet","dependentContexts","observer","disconnectAllOutlets","stopSelectorObservers","stopAttributeObservers","_ref16","outlet","getOutlet","connectOutlet","_ref17","getOutletFromMap","disconnectOutlet","_ref18","hasOutlet","hasOutletController","controllerAttribute","_element","getOutletNameFromOutletAttributeName","updateSelectorObserverForOutlet","outletConnected","outletDisconnected","selectorObserver","attributeNameForOutletName","outlets","getSelectorForOutletName","outletAttributeForScope","find","outletDependencies","dependencies","router","controllerConstructor","dependentControllerIdentifiers","identifiers","contexts","getControllerForElementAndIdentifier","Context","functionName","bindingObserver","dispatcher","valueObserver","targetObserver","outletObserver","initialize","invokeControllerMethod","bless","shadowConstructor","shadowProperties","getOwnKeys","shadowingDescriptor","getOwnPropertyDescriptor","getShadowedDescriptor","getShadowProperties","defineProperties","shadow","blessings","blessedProperties","blessing","getBlessedProperties","getOwnPropertySymbols","extendWithReflect","extended","Reflect","construct","setPrototypeOf","testReflectExtension","Module","blessDefinition","contextsByScope","connectedContexts","connectContextForScope","fetchContextForScope","disconnectContextForScope","ClassMap","getDataKey","getAttributeName","getAttributeNameForKey","DataMap","Guide","logger","warnedKeysByObject","warnedKeys","attributeValueContainsToken","TargetSet","targetName","targetNames","findTarget","findLegacyTarget","findAll","targets","findAllTargets","findAllLegacyTargets","getSelectorForTargetName","findElement","findAllElements","targetAttributeForScope","getLegacySelectorForTargetName","targetDescriptor","targetAttribute","revisedAttributeName","guide","OutletSet","controllerElement","outletNames","findOutlet","findAllOutlets","queryElements","matchesElement","Scope","controllerSelector","documentScope","isDocumentScope","ScopeObserver","scopesByIdentifierByElement","scopeReferenceCounts","parseValueForElementAndIdentifier","scopesByIdentifier","fetchScopesByIdentifierForElement","createScopeForElementAndIdentifier","referenceCount","scopeConnected","scopeDisconnected","Router","scopeObserver","modulesByIdentifier","loadDefinition","unloadIdentifier","connectModule","afterLoad","disconnectModule","getContextForElementAndIdentifier","proposeToConnectScopeForElementAndIdentifier","defaultSchema","enter","tab","esc","space","up","down","home","page_up","page_down","objectFromEntries","memo","_ref19","_ref20","Application","_this2","logFormattedMessage","readyState","register","load","registerActionOption","rest","shouldLoad","unload","controllers","onerror","groupCollapsed","groupEnd","getOutletController","getControllerAndEnsureConnectedScope","outletController","parseValueDefinitionPair","_ref21","_ref22","payload","typeDefinition","typeObject","typeFromObject","hasType","hasDefault","default","fullObject","onlyType","onlyDefault","parseValueTypeConstant","typeFromDefaultValue","parseValueTypeDefault","parseValueTypeObject","typeFromConstant","propertyPath","parseValueTypeDefinition","constant","defaultValuesByType","constantFromType","defaultValueForDefinition","hasCustomDefaultValue","readers","writers","valueDescriptorForTokenAndTypeDefinition","boolean","writeJSON","stringify","Controller","_identifier","_application","_ref23","_ref23$target","_ref23$detail","_ref23$prefix","_ref23$bubbles","bubbles","_ref23$cancelable","cancelable","CustomEvent","dispatchEvent","classDefinition","targetDefinition","valueDefinitionPairs","propertyDescriptorMap","valueDefinitionPair","valueDescriptor","read","write","propertiesForValueDefinitionPair","outletDefinition","camelizedName","outletElement","propertiesForOutletDefinition","global","noGlobal","preservedScriptAttributes","noModule","script","pop","whitespace","rtrimCSS","bup","compareDocumentPosition","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","escapeSelector","sel","preferredDoc","pushNative","Expr","outermostContext","sortInput","hasDuplicate","documentIsHTML","rbuggyQSA","dirruns","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","booleans","pseudos","rwhitespace","rcomma","rleadingCombinator","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","needsContext","rinputs","rheader","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","fromCharCode","unloadHandler","setDocument","inDisabledFieldset","addCombinator","disabled","seed","nid","groups","newSelector","newContext","getElementById","getElementsByTagName","getElementsByClassName","testContext","tokenize","toSelector","qsaError","cache","cacheLength","markFunction","assert","createInputPseudo","createButtonPseudo","createDisabledPseudo","createPositionalPseudo","argument","matchIndexes","subWindow","webkitMatchesSelector","defaultView","getById","getElementsByName","disconnectedMatch","cssHas","attrId","getAttributeNode","compare","sortDetached","expr","attr","attrHandle","uniqueSort","duplicates","sortStable","createPseudo","relative","preFilter","excess","unquoted","nodeNameSelector","expectedNodeName","operator","check","what","_argument","simple","forward","ofType","xml","outerCache","nodeIndex","parent","useCache","lastChild","pseudo","setFilters","idx","not","compile","unmatched","elemLang","location","root","focus","activeElement","err","safeActiveElement","hasFocus","enabled","selected","selectedIndex","_matchIndexes","lt","gt","nth","radio","checkbox","file","password","image","submit","reset","parseOnly","soFar","preFilters","cached","combinator","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","matcherOut","preMap","postMap","preexisting","multipleContexts","matcherIn","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","setMatchers","elementMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","matcherFromGroupMatchers","compiled","unique","getText","isXML","truncate","siblings","rneedsContext","rsingleTag","winnow","qualifier","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","contents","sibling","cur","prevAll","addBack","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","rnothtmlwhite","Identity","Thrower","ex","adoptValue","reject","noValue","promise","fail","Callbacks","flag","createOptions","firing","memory","fired","locked","list","queue","firingIndex","fire","once","stopOnFalse","disable","lock","fireWith","Deferred","tuples","always","deferred","pipe","fns","newDefer","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","special","mightThrow","notifyWith","resolveWith","process","exceptionHook","rejectWith","getErrorHook","getStackHook","stateString","when","singleValue","remaining","resolveContexts","resolveValues","primary","updateFunc","rerrorNames","asyncError","readyException","readyList","completed","catch","readyWait","doScroll","access","chainable","emptyGet","bulk","rmsPrefix","rdashAlpha","fcamelCase","_all","letter","camelCase","acceptData","owner","Data","configurable","hasData","dataPriv","dataUser","rbrace","rmultiDash","dataAttr","getData","removeData","_removeData","dequeue","startLength","_queueHooks","clearQueue","count","defer","pnum","rcssNum","cssExpand","isAttached","composed","isHiddenWithinTree","css","adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","initial","cssNumber","initialInUnit","defaultDisplayMap","getDefaultDisplay","showHide","show","hide","toggle","div","rcheckableType","rtagName","rscriptType","createDocumentFragment","checkClone","cloneNode","noCloneChecked","option","wrapMap","thead","tr","td","_default","setGlobalEval","refElements","tbody","tfoot","colgroup","caption","optgroup","rhtml","buildFragment","scripts","ignored","wrap","attached","fragment","htmlPrefilter","rtypenamespace","returnTrue","returnFalse","types","one","origFn","leverageNative","isSetup","saved","isTrigger","delegateType","isImmediatePropagationStopped","handleObjIn","eventHandle","handleObj","namespaces","origType","elemData","handle","triggered","bindType","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","nativeEvent","handlerQueue","fix","delegateTarget","preDispatch","isPropagationStopped","rnamespace","postDispatch","matchedHandlers","matchedSelectors","addProp","hook","Event","originalEvent","writable","noBubble","click","beforeunload","returnValue","isDefaultPrevented","defaultPrevented","relatedTarget","timeStamp","isSimulated","changedTouches","eventPhase","pageX","pageY","charCode","keyCode","buttons","clientX","clientY","offsetX","offsetY","pointerId","pointerType","screenX","screenY","targetTouches","toElement","touches","which","blur","focusMappedHandler","documentMode","simulate","attaches","dataHolder","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","rnoInnerhtml","rchecked","rcleanScript","manipulationTarget","disableScript","restoreScript","cloneCopyEvent","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","valueIsFunction","_evalUrl","keepData","cleanData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","append","prepend","replaceWith","replaceChild","appendTo","prependTo","insertAfter","replaceAll","original","insert","rnumnonpx","rcustomProp","getStyles","opener","swap","rboxStyle","curCSS","computed","maxWidth","isCustomProp","getPropertyValue","pixelBoxStyles","addGetHookIf","conditionFn","hookFn","computeStyleTests","divStyle","pixelPositionVal","reliableMarginLeftVal","roundPixelMeasures","pixelBoxStylesVal","boxSizingReliableVal","scrollboxSizeVal","measure","reliableTrDimensionsVal","backgroundClip","clearCloneStyle","boxSizingReliable","pixelPosition","reliableMarginLeft","scrollboxSize","reliableTrDimensions","table","trChild","trStyle","cssPrefixes","emptyStyle","vendorProps","finalPropName","final","cssProps","capName","vendorPropName","rdisplayswap","cssShow","visibility","cssNormalTransform","letterSpacing","fontWeight","setPositiveNumber","boxModelAdjustment","dimension","box","isBorderBox","styles","computedVal","marginDelta","getWidthOrHeight","valueIsBorderBox","offsetProp","getClientRects","Tween","easing","cssHooks","opacity","animationIterationCount","borderImageSlice","columnCount","flexGrow","flexShrink","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineHeight","orphans","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeMiterlimit","strokeOpacity","origName","scrollboxSizeBuggy","margin","expanded","propHooks","run","percent","eased","fx","linear","swing","cos","PI","fxNow","inProgress","rfxtypes","rrun","schedule","hidden","requestAnimationFrame","interval","tick","createFxNow","genFx","includeWidth","createTween","animation","Animation","tweeners","stopped","prefilters","currentTime","tweens","specialEasing","originalProperties","originalOptions","gotoEnd","propFilter","complete","timer","anim","tweener","oldfire","propTween","restoreDisplay","isBox","dataShow","unqueued","prefilter","speed","opt","speeds","fadeTo","animate","optall","doAnimation","finish","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","slow","fast","timeout","checkOn","optSelected","radioValue","boolHook","removeAttr","nType","attrHooks","attrNames","lowercaseName","rfocusable","rclickable","stripAndCollapse","classesToArray","removeProp","propFix","tabindex","addClass","curValue","finalValue","removeClass","stateVal","isValidValue","hasClass","rreturn","valHooks","optionSet","rquery","parseXML","parserErrorElem","DOMParser","parseFromString","rfocusMorph","stopPropagationCallback","onlyHandlers","bubbleType","ontype","lastElement","eventPath","parentWindow","triggerHandler","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","traditional","param","valueOrFunction","encodeURIComponent","serialize","serializeArray","r20","rhash","rantiCache","rheaders","rnoContent","rprotocol","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataType","dataTypes","inspectPrefiltersOrTransports","jqXHR","inspected","seekingTransport","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","ajaxSettings","active","lastModified","etag","protocol","processData","async","contentType","accepts","responseFields","converters","ajaxSetup","ajaxPrefilter","ajaxTransport","ajax","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","fireGlobals","uncached","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","overrideMimeType","mimeType","status","abort","statusText","finalText","crossDomain","host","hasContent","ifModified","beforeSend","send","nativeStatusText","responses","isSuccess","modified","ct","finalDataType","firstDataType","ajaxHandleResponses","conv2","conv","dataFilter","throws","ajaxConvert","getJSON","getScript","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","visible","xhr","XMLHttpRequest","xhrSuccessStatus","xhrSupported","cors","errorCallback","open","username","xhrFields","onload","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","createHTMLDocument","implementation","keepScripts","animated","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","curElem","using","win","pageYOffset","pageXOffset","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","unbind","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","_jQuery","_$","noConflict","HAS_TEMPLATE_SUPPORT","HAS_RANGE_SUPPORT","createRange","template","createFragmentFromTemplate","selectNode","createContextualFragment","createFragmentFromRange","createFragmentFromWrap","compareNodeNames","fromEl","toEl","fromCodeStart","toCodeStart","fromNodeName","toNodeName","syncBooleanAttrProp","specialElHandlers","OPTION","parentName","INPUT","TEXTAREA","newValue","placeholder","SELECT","curChild","defaultGetNodeKey","morphdom","morphAttrs","fromNode","toNode","toNodeHtml","getNodeKey","onBeforeNodeAdded","onNodeAdded","onBeforeElUpdated","onElUpdated","onBeforeNodeDiscarded","onNodeDiscarded","onBeforeElChildrenUpdated","childrenOnly","fromNodesLookup","keyedRemovalList","addKeyedRemoval","walkDiscardedChildNodes","skipKeyedNodes","removeNode","handleNodeAdded","unmatchedFromEl","morphEl","toElKey","curToNodeKey","curFromNodeKey","fromNextSibling","toNextSibling","matchingFromEl","curToNodeChild","curFromNodeChild","outer","isSameNode","curFromNodeType","isCompatible","onBeforeNodeAddedResult","actualize","cleanupFromEl","specialElHandler","morphChildren","indexTree","morphedNode","morphedNodeType","toNodeType","nextChild","moveChildren","elToRemove","morphdomFactory","attrName","attrNamespaceURI","attrValue","toNodeAttrs","getAttributeNS","setAttributeNS","fromNodeAttrs","hasAttributeNS","removeAttributeNS","ownKeys","_objectSpread","_defineProperty","getOwnPropertyDescriptors","toPrimitive","_toPrimitive","_toPropertyKey","packageInfo","inputTags","mutableTags","textInputTypes","email","search","tel","ActiveElement","isTextInput","assignFocus","focusElement","xpathToElement","xpath","evaluate","XPathResult","FIRST_ORDERED_NODE_TYPE","singleNodeValue","xpathToElementArray","snapshotList","ORDERED_NODE_SNAPSHOT_TYPE","snapshots","snapshotLength","snapshotItem","getClassNames","processElements","operation","selectAll","kebabize","word","words","operate","cancel","handleErrors","safeScalar","safeString","safeArray","safeObject","safeStringOrArray","graciouslyFetch","additionalHeaders","BoundedQueue","maxSize","isFull","utils","__proto__","fragmentToString","XMLSerializer","serializeToString","shouldMorph","shouldMorphCallbacks","didMorph","didMorphCallbacks","verifyNotMutable","isEqualNode","verifyNotContentEditable","isContentEditable","verifyNotPermanent","permanentAttributeName","permanent","ignore","operations","focusSelector","insertAdjacentHTML","graft","innerHtml","insertAdjacentHtml","insertAdjacentText","outerHtml","outerHTML","addCssClass","removeCssClass","setDatasetProperty","dataset","setStyle","setStyles","setValue","setMeta","setTitle","clearStorage","sessionStorage","localStorage","go","history","pushState","redirectTo","turbo","Turbo","visit","Turbolinks","reload","removeStorageItem","removeItem","replaceState","scrollIntoView","setCookie","cookie","setFocus","setStorageItem","setItem","consoleLog","consoleTable","columns","notification","Notification","requestPermission","permission","morph","newOperations","OperationStore","all","missingElement","MissingElement","behavior","perform","onMissingElement","batches","batch","cableReadyOperation","warning","SubscribingElement","define","customElements","disconnectedCallback","channel","unsubscribe","createSubscription","consumer","receivedCallback","subscriptions","received","preview","BACKOFF","getConsumerWithRetry","retry","CableConsumer","setConsumer","StreamFromElement","connectedCallback","getConsumer","performOperations","cableReady","debugging","Debug","Log","blocks","timestamp","reason","urls","AppearanceObserver","handleVisibilityChange","isIntersecting","visibilityState","intersecting","appearedInViewport","disappearedFromViewport","intersectionObserver","IntersectionObserver","intersect","observeVisibility","unobserve","unobserveVisibility","UpdatesForElement","attachShadow","triggerElementLog","targetElementLog","appearanceObserver","didTransitionToVisible","observeAppearance","lastUpdateTimestamp","query","block","shouldUpdate","toLocaleString","uniqueUrls","fragmentsIndex","startTimestamp","blockIndex","resolveTurboFrames","fragments","documentFragment","reloadingTurboFrames","frame","frameResponse","frameTemplate","frameContent","ignoresInnerUpdates","hasChangesSelectedForUpdate","only","changed","recursiveMarkUpdatesForElements","leaf","closestUpdatesFor","recursiveUnmarkUpdatesForElements","defineElements","performAsync","initializeOptions","addOperation","addOperations","cable","DOMOperations","CableReady","doNothing","monthToStr","monthNumber","shorthand","revFormat","longhand","J","K","amPM","shortMonth","U","unixSeconds","weekNum","weekNumber","Y","Z","ISODate","unixMillSeconds","tokenRegex","getWeek","StimulusReflex","beforeReflex","reflex","reflexSuccess","reflexError","afterReflex","shared","worker","mapboxgl","workerBundleString","sharedChunk","workerUrl","URL","createObjectURL","Blob","cx","bx","ax","cy","by","ay","p1x","p1y","p2x","p2y","sampleCurveX","sampleCurveY","sampleCurveDerivativeX","solveCurveX","solve","_add","_sub","multByPoint","_multByPoint","divByPoint","_divByPoint","mult","_mult","_div","rotate","_rotate","rotateAround","_rotateAround","matMult","_matMult","_unit","perp","_perp","_round","mag","sqrt","equals","dist","distSqr","angle","atan2","angleTo","angleWith","angleWithSep","sin","convert","WorkerGlobalScope","safari","V","performance","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","msCancelAnimationFrame","getImageData","getContext","drawImage","resolveURL","hardwareConcurrency","devicePixelRatio","prefersReducedMotion","matchMedia","R","API_URL","EVENTS_URL","FEEDBACK_URL","REQUIRE_ACCESS_TOKEN","ACCESS_TOKEN","MAX_PARALLEL_IMAGE_REQUESTS","supported","testSupport","createTexture","bindTexture","TEXTURE_2D","texImage2D","RGBA","UNSIGNED_BYTE","isContextLost","deleteTexture","_transformRequestFn","_customAccessToken","_createSkuToken","tokenExpiresAt","_skuToken","_skuTokenExpiresAt","_isSkuTokenExpired","transformRequest","normalizeStyleURL","path","_makeAPIURL","normalizeGlyphsURL","normalizeSourceURL","authority","normalizeSpriteURL","normalizeTileURL","canonicalizeTileURL","canonicalizeTileset","tiles","X","decodeURIComponent","atob","anonId","eventData","pendingRequest","getStorageKey","btoa","fetchEventData","getItem","saveEventData","processRequests","postEvent","created","sdkIdentifier","sdkVersion","skuId","userId","wt","queueRequest","tt","et","rt","skuToken","postMapLoadEvent","nt","postTurnstileEvent","lastSuccess","tokenU","it","at","ot","st","ut","caches","pt","ht","ft","OffscreenCanvas","createImageBitmap","yt","Unknown","Style","Source","Tile","Glyphs","SpriteImage","SpriteJSON","Image","vt","dt","mt","referrer","xt","Request","AbortController","credentials","signal","arrayBuffer","Headers","toUTCString","Response","ReadableStream","blob","put","actor","withCredentials","bt","_t","At","accept","requestParameters","cancelled","Uint8Array","revokeObjectURL","cacheControl","expires","byteLength","St","kt","It","zt","Ct","_listeners","_oneTimeListeners","listens","_eventedParent","_eventedParentData","setEventedParent","Et","$version","$root","required","metadata","bearing","pitch","light","sprite","glyphs","transition","layers","source_vector","vector","bounds","scheme","xyz","tms","minzoom","maxzoom","attribution","promoteId","volatile","source_raster","raster","tileSize","source_raster_dem","encoding","terrarium","mapbox","source_geojson","geojson","buffer","maximum","minimum","tolerance","cluster","clusterRadius","clusterMaxZoom","clusterMinPoints","clusterProperties","lineMetrics","generateId","source_video","video","coordinates","source_image","fill","line","symbol","circle","heatmap","hillshade","background","layout","paint","layout_background","none","layout_fill","expression","interpolated","parameters","layout_circle","layout_heatmap","layout_line","butt","square","bevel","miter","requires","layout_symbol","auto","viewport","both","horizontal","vertical","uppercase","layout_raster","layout_hillshade","filter_operator","in","any","within","geometry_type","Point","LineString","Polygon","function","stops","exponential","categorical","colorSpace","rgb","lab","hcl","function_stop","intensity","paint_fill","paint_line","paint_circle","paint_heatmap","paint_symbol","overridable","paint_raster","nearest","paint_hillshade","paint_background","Pt","__line__","Mt","Bt","Tt","Vt","Ft","Dt","Lt","kind","Ot","Rt","Ut","jt","qt","Nt","Kt","Gt","Zt","Xt","itemType","Jt","Ht","Yt","$t","Wt","Qt","transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","parseCSSColor","te","ee","sensitivity","collator","Collator","usage","resolvedLocale","resolvedOptions","re","fontStack","ne","fromString","isEmpty","ie","available","ae","oe","se","ue","le","expectedType","eachChild","outputDefined","pe","ce","he","every","fe","font","ye","availableImages","de","me","parseColor","ve","ge","globals","feature","featureState","formattedSection","_parseColorCache","canonical","geometryType","geometry","canonicalID","xe","_evaluate","definitions","overloads","je","registry","checkSubtype","errors","be","caseSensitive","diacriticSensitive","we","_e","Ae","Se","ke","Ie","ze","Ce","Ee","Pe","Me","Be","Te","Ve","Fe","De","geometries","Le","Oe","Re","features","Ue","boundExpression","qe","_parse","typeAnnotation","Ne","labels","outputs","Ke","Ge","Ze","Xe","Je","He","Ye","$e","We","Qe","alpha","er","rr","interpolate","nr","ir","ar","interpolation","or","interpolationFactor","controlPoints","sr","ur","lr","pr","needle","haystack","cr","fromIndex","hr","inputType","cases","otherwise","MAX_SAFE_INTEGER","outputIndex$1","fr","branches","yr","beginIndex","dr","mr","vr","lhs","rhs","hasUntypedArgument","gr","xr","br","wr","_r","Ar","Sr","currency","minFractionDigits","maxFractionDigits","NumberFormat","minimumFractionDigits","maximumFractionDigits","kr","Ir","case","coalesce","let","literal","var","zr","Cr","Er","Pr","Mr","Br","Tr","Vr","Fr","Dr","Lr","Or","Rr","Ur","jr","qr","Nr","typeof","rgba","heatmapDensity","lineProgress","accumulated","ln2","LN2","pi","log10","LN10","ln","log2","asin","acos","atan","isSupportedScript","upcase","downcase","Kr","_warningHistory","_evaluator","_defaultValue","_enumValues","Gr","Zr","enum","formatted","resolvedImage","evaluateWithoutErrorHandling","Xr","_styleExpression","isStateDependent","Jr","zoomStops","interpolationType","Hr","Yr","_parameters","_specification","$r","valueSpec","objectElementValidators","styleSpec","An","objectKey","Wr","arrayElementValidator","arrayIndex","Qr","tn","en","expressionContext","propertyKey","propertyType","rn","nn","deserialize","an","needGeometry","un","sn","hn","pn","cn","yn","layerType","dn","mn","vn","gn","xn","bn","wn","_n","constants","Sn","kn","In","zn","paintProperty","layoutProperty","Cn","En","Pn","Mn","Bn","Tn","Vn","ArrayBuffer","Int32Array","subarray","bboxes","_insertReadonly","extent","_forEachCell","_insertCell","_queryCell","_convertToCellCoord","_convertFromCellCoord","toArrayBuffer","Fn","ImageData","Dn","ImageBitmap","Ln","On","writeable","klass","omit","shallow","Rn","_classRegistryKey","Un","jn","qn","isView","$name","Nn","Kn","lastIntegerZoom","lastIntegerZoomTime","lastZoom","lastFloorZoom","Gn","Arabic","Khmer","Hiragana","Katakana","Bopomofo","Kanbun","Zn","Xn","Jn","Hn","Yn","$n","Wn","Qn","ti","ei","ri","ni","pluginStatus","pluginURL","ai","oi","applyArabicShaping","processBidirectionalText","processStyledBidirectionalText","isLoaded","isLoading","isParsed","getPluginURL","si","fadeDuration","zoomHistory","crossFadingFactor","getCrossfadeParameters","fromScale","toScale","specification","isDataDriven","possiblyEvaluate","li","transitioned","ci","untransitioned","_properties","_values","defaultTransitionablePropertyValues","getValue","getTransition","setTransition","hi","begin","prior","defaultTransitioningPropertyValues","di","hasTransition","fi","defaultPropertyValues","yi","isConstant","constantOr","defaultPossiblyEvaluatedValues","mi","vi","overrides","gi","_calculate","xi","bi","wi","overridableProperties","_featureFilter","sourceLayer","_unevaluatedLayout","_transitionablePaint","setPaintProperty","validate","setLayoutProperty","_transitioningPaint","_crossfadeParameters","getLayoutProperty","_validate","getPaintProperty","_handleSpecialPaintPropertyUpdate","_handleOverridablePaintPropertyUpdate","isHidden","updateTransitions","recalculate","is3D","isTileClipped","hasOffscreenPass","resize","Ai","Int8","Int8Array","Uint8","Int16","Int16Array","Uint16","Uint16Array","Int32","Uint32","Uint32Array","Float32","Float32Array","Si","_structArray","_pos1","_pos2","_pos4","_pos8","ki","isTransferred","capacity","Ii","members","BYTES_PER_ELEMENT","zi","components","alignment","_trim","bytesPerElement","_refreshViews","reserve","uint8","Ci","int16","emplaceBack","emplace","Ei","Pi","Mi","Bi","float32","Ti","uint16","Vi","Fi","Di","uint32","Li","Oi","Ri","Ui","ji","qi","Ni","Ki","Gi","Zi","Xi","Ji","Hi","Yi","anchorPointX","anchorPointY","x1","y1","x2","y2","featureIndex","sourceLayerIndex","bucketIndex","anchorPoint","$i","Wi","anchorX","anchorY","glyphStartIndex","numGlyphs","vertexStartIndex","lineStartIndex","lineLength","segment","lowerSize","upperSize","lineOffsetX","lineOffsetY","writingMode","placedOrientation","crossTileID","associatedIconIndex","Qi","ta","rightJustifiedTextSymbolIndex","centerJustifiedTextSymbolIndex","leftJustifiedTextSymbolIndex","verticalPlacedTextSymbolIndex","placedIconSymbolIndex","verticalPlacedIconSymbolIndex","textBoxStartIndex","textBoxEndIndex","verticalTextBoxStartIndex","verticalTextBoxEndIndex","iconBoxStartIndex","iconBoxEndIndex","verticalIconBoxStartIndex","verticalIconBoxEndIndex","numHorizontalGlyphVertices","numVerticalGlyphVertices","numIconVertices","numVerticalIconVertices","useRuntimeCollisionCircles","textBoxScale","textOffset0","textOffset1","collisionCircleDiameter","ea","ra","getoffsetX","na","getx","gety","gettileUnitDistanceFromAnchor","ia","aa","oa","sa","segments","ua","prepareSegment","MAX_VERTEX_ARRAY_LENGTH","vertexLength","sortKey","vertexOffset","primitiveOffset","primitiveLength","vaos","simpleSegment","la","pa","ha","fa","murmur3","murmur2","ya","ids","positions","indexed","ma","getPositions","Float64Array","va","da","ga","gl","xa","uniform1i","ba","uniform1f","wa","uniform2f","uniform3f","Aa","uniform4f","Sa","ka","Ia","uniformMatrix4fv","za","Ca","uniformNames","setUniform","getBinding","Ea","patternFrom","patternTo","pixelRatioFrom","pixelRatioTo","setConstantPatternPositions","pixelRatio","tlbr","Pa","maxValue","paintVertexAttributes","paintVertexArray","populatePaintArray","_setPaintValue","updatePaintArray","upload","paintVertexBuffer","updateData","createVertexBuffer","Ma","useIntegerZoom","Ba","layerId","zoomInPaintVertexArray","zoomOutPaintVertexArray","_setPaintValues","patterns","mid","tl","zoomInPaintVertexBuffer","zoomOutPaintVertexBuffer","Ta","binders","_buffers","Fa","Da","getMaxValue","populatePaintArrays","updatePaintArrays","defines","getBinderAttributes","getBinderUniforms","getPaintVertexBuffers","getUniforms","setUniforms","updatePaintBuffers","Va","programConfigurations","needsUpload","_featureMap","_bufferOffset","composite","La","Oa","Ra","loadGeometry","Ua","ja","qa","overscaling","layerIds","hasPattern","layoutVertexArray","indexArray","stateDependentLayerIds","Na","Wa","Xa","Ka","Ha","Ga","$a","Za","Ja","Ya","Qa","eo","ro","addFeature","stateDependentLayers","uploadPending","uploaded","layoutVertexBuffer","indexBuffer","createIndexBuffer","no","io","ao","oo","so","hypot","uo","lo","po","co","createBucket","queryRadius","queryIntersectsFeature","ho","cameraToCenterDistance","fo","yo","Uint8ClampedArray","RangeError","mo","vo","xo","bo","wo","resolution","clips","evaluationKey","_o","_updateColorRamp","colorRamp","colorRampTexture","heatmapFbo","Ao","So","ko","Io","Co","zo","Eo","steiner","Uo","Do","Lo","Po","Mo","Qo","Yo","Ko","$o","No","Ro","prevZ","nextZ","To","Bo","Vo","Fo","jo","Go","Jo","qo","Ho","Oo","Xo","Zo","Wo","exp","es","rs","area","patternDependencies","os","deviation","flatten","vertices","holes","dimensions","patternFeatures","indexArray2","segments2","addFeatures","indexBuffer2","us","ls","ps","cs","hs","fs","_pbf","_geometry","_keys","readFields","ys","readVarint","ds","readSVarint","bbox","toGeoJSON","vs","_features","gs","readString","readFloat","readDouble","readVarint64","readBoolean","xs","bs","VectorTile","VectorTileFeature","VectorTileLayer","_s","As","Ss","ks","Is","zs","Es","Cs","Ps","Ms","Bs","Ts","Vs","Fs","lineClipsArray","gradients","layoutVertexArray2","maxLineLength","layoutVertexBuffer2","lineFeatureClips","mapbox_clip_start","mapbox_clip_end","lineClips","addLine","distance","scaledDistance","totalDistance","updateScaledDistance","e1","e2","updateDistance","addCurrentVertex","addHalfVertex","Ds","Ls","Os","Rs","gradientVersion","stepInterpolant","gradientExpression","Us","js","qs","Ns","Ks","Gs","Zs","toLocaleUpperCase","Xs","Js","Hs","Ys","$s","buf","Varint","Fixed64","Bytes","Fixed32","Ws","TextDecoder","Qs","tu","eu","realloc","ru","writeVarint","nu","writeSVarint","iu","writeFloat","au","writeDouble","ou","writeBoolean","su","writeFixed32","uu","writeSFixed32","lu","writeFixed64","pu","writeSFixed64","cu","hu","fu","yu","readMessage","du","mu","advance","bitmap","metrics","readBytes","vu","readFixed32","readSFixed32","readFixed64","readSFixed64","decode","readPackedVarint","readPackedSVarint","readPackedBoolean","readPackedFloat","readPackedDouble","readPackedFixed32","readPackedSFixed32","readPackedFixed64","readPackedSFixed64","writeTag","writeString","writeBytes","writeRawMessage","writeMessage","writePackedVarint","writePackedSVarint","writePackedBoolean","writePackedFloat","writePackedDouble","writePackedFixed32","writePackedSFixed32","writePackedFixed64","writePackedSFixed64","writeBytesField","writeFixed32Field","writeSFixed32Field","writeFixed64Field","writeSFixed64Field","writeVarintField","writeSVarintField","writeStringField","writeFloatField","writeDoubleField","writeBooleanField","gu","stretchX","stretchY","paddedRect","xu","displaySize","bu","haveRenderCallbacks","addImages","iconPositions","patternPositions","hasRenderCallback","patchUpdatedImages","dispatchRenderCallbacks","updatedImages","patchUpdatedImage","getImage","wu","horizontalOnly","_u","imageName","forText","forImage","Au","sectionIndex","imageSectionID","Su","fromFeature","verticalizePunctuation","Mu","positionedLines","iconsInText","verticalizable","getMaxScale","positionedGlyphs","lineOffset","getSection","getSectionIndex","getCharCode","ku","glyph","Tu","Bu","horizontalAlign","verticalAlign","addImageSection","addTextSection","getNextImageSectionCharCode","Iu","zu","Cu","Eu","Pu","badness","priorBreak","Vu","collisionPadding","Fu","Du","layoutSize","minZoom","maxZoom","minSize","Lu","uSize","uSizeT","Ou","Ru","getSizeData","evaluateSizeForFeature","evaluateSizeForZoom","SIZE_PACK_FACTOR","Uu","angleDelta","ju","qu","Nu","Ku","Gu","Zu","Xu","Ju","Yu","stretch","$u","fixed","bl","tex","glyphOffset","pixelOffsetTL","pixelOffsetBR","minFontScaleX","minFontScaleY","isSDF","Hu","Wu","boxStartIndex","circleDiameter","boxEndIndex","Qu","_down","rl","nl","SQRT2","_up","peek","il","POSITIVE_INFINITY","al","ol","sl","sdf","allowVerticalPlacement","textSizeData","compositeTextSizes","addSymbols","placedSymbolArray","ul","ll","compareText","pl","cl","hl","fl","yl","dl","dynamicLayoutVertexArray","opacityVertexArray","dynamicLayoutVertexBuffer","opacityVertexBuffer","itemSize","ml","layoutAttributes","collisionVertexArray","collisionVertexBuffer","vl","collisionBoxArray","hasRTLText","sortKeyRanges","collisionCircleArray","placementInvProjMatrix","placementViewportMatrix","iconSizeData","canOverlap","sortFeaturesByKey","sortFeaturesByY","writingModes","sourceID","createArrays","icon","glyphOffsetArray","lineVertexArray","symbolInstances","calculateGlyphDependencies","iconDependencies","glyphDependencies","getValueAndResolveTokens","hasDebugData","textCollisionBox","iconCollisionBox","destroyDebugData","addToLineVertexArray","tileUnitDistanceFromAnchor","_addCollisionDebugVertex","addCollisionDebugVertices","addDebugCollisionBoxes","generateCollisionDebugBuffers","_deserializeCollisionBoxesForSymbol","textBox","textFeatureIndex","verticalTextBox","verticalTextFeatureIndex","iconBox","iconFeatureIndex","verticalIconBox","verticalIconFeatureIndex","deserializeCollisionBoxes","collisionArrays","hasTextData","hasIconData","hasTextCollisionBoxData","hasIconCollisionBoxData","addIndicesForPlacedSymbol","getSortedSymbolIndexes","sortedAngle","symbolInstanceIndexes","addToSortKeyRanges","symbolInstanceEnd","symbolInstanceStart","sortFeatures","featureSortOrder","MAX_GLYPHS","addDynamicAttributes","xl","runtimeType","getOverride","hasOverride","wl","_setPaintOverrides","hasPaintOverride","_interpolationType","Al","Sl","kl","Il","renderingMode","prerender","onAdd","painter","onRemove","zl","Cl","HTMLImageElement","El","HTMLCanvasElement","Pl","HTMLVideoElement","Ml","Bl","Tl","texture","useMipmap","pixelStoreUnpackFlipY","pixelStoreUnpack","pixelStoreUnpackPremultiplyAlpha","premultiply","texSubImage2D","isSizePowerOfTwo","generateMipmap","LINEAR_MIPMAP_NEAREST","LINEAR","texParameteri","TEXTURE_MAG_FILTER","TEXTURE_MIN_FILTER","TEXTURE_WRAP_S","TEXTURE_WRAP_T","Vl","_callback","_triggered","MessageChannel","_channel","port2","onmessage","port1","postMessage","Fl","mapId","callbacks","tasks","taskQueue","cancelCallbacks","invoker","receive","globalScope","Dl","hasCallback","targetMapId","mustQueue","sourceMapId","processTask","getWorkerSource","Ll","setSouthWest","setNorthEast","_ne","Ol","lng","lat","_sw","getCenter","getSouthWest","getNorthEast","getNorthWest","getWest","getNorth","getSouthEast","getEast","getSouth","distanceTo","toBounds","lon","Rl","Ul","jl","ql","Nl","Kl","Gl","fromLngLat","toLngLat","toAltitude","meterInMercatorCoordinateUnits","Zl","Hl","getTilePoint","Xl","Jl","overscaledZ","scaledTo","calculateScaledKey","isChildOf","isLessThan","wrapped","unwrapTo","overscaleFactor","toUnwrapped","Yl","stride","dim","_idx","_unpackTerrarium","_unpackMapbox","getUnpackVector","getPixels","backfillBorder","$l","_stringToNumber","_numberToString","encode","Wl","_vectorTileFeature","_z","_x","_y","Ql","tp","stateChanges","deletedStates","updateState","removeFeatureState","getState","initializeTileState","setFeatureState","coalesceChanges","ep","tileID","grid","grid3D","featureIndexArray","rp","np","minX","minY","maxX","maxY","ip","loadVTLayers","vtLayers","rawTileData","sourceLayerCoder","queryGeometry","queryPadding","cameraQueryGeometry","loadMatchingFeature","pixelPosMatrix","bucketLayerIDs","getId","intersectionZ","lookupSymbolFeatures","hasLayer","ap","uses","buckets","expirationTime","hasSymbolBuckets","expiredRequestCount","registerFadeDuration","timeAdded","fadeEndTime","wasRequested","loadVectorData","unloadVectorData","latestFeatureIndex","latestRawTileData","getLayer","justReloaded","imageAtlas","glyphAtlasImage","imageAtlasTexture","glyphAtlasTexture","getBucket","ALPHA","prepare","queryRenderedFeatures","querySourceFeatures","_geojsonTileLayer","tile","patternsLoaded","setExpiryData","getExpiryTimeout","holdingForFade","symbolFadeHoldUntil","symbolFadeFinished","clearFadeHold","setHoldDuration","setDependencies","hasDependency","op","sp","_marks","mark","getEntriesByName","clearMarks","clearMeasures","Actor","AlphaImage","CanonicalTileID","CollisionBoxArray","Color","DEMData","DataConstantProperty","DictionaryCoder","EXTENT","ErrorEvent","EvaluationParameters","Evented","FeatureIndex","FillBucket","FillExtrusionBucket","ImageAtlas","ImagePosition","LineBucket","LngLat","LngLatBounds","MercatorCoordinate","ONE_EM","OverscaledTileID","Point$1","Properties","Protobuf","RGBAImage","RequestManager","RequestPerformance","ResourceType","SegmentVector","SourceFeatureState","StructArrayLayout1ui2","StructArrayLayout2f1f2i16","StructArrayLayout2i4","StructArrayLayout3ui6","StructArrayLayout4i8","SymbolBucket","Texture","Transitionable","Uniform1f","Uniform1i","Uniform2f","Uniform3f","Uniform4f","UniformColor","UniformMatrix4f","UnwrappedTileID","ValidationError","WritingMode","ZoomHistory","asyncAll","bezier","bindAll","browser","cacheEntryPossiblyAdded","getActor","clamp","clearTileCache","clipLine","clone$2","collisionCircleLayout","create$1","create$2","createCommonjsModule","createExpression","createLayout","createStyleLayer","cross","deepEqual","dot","dot$1","ease","emitValidationErrors","endsWith","enforceCacheSizeLimit","evaluateVariableOffset","evented","featureFilter","filterObject","fromRotation","getAnchorAlignment","getAnchorJustification","getArrayBuffer","getRTLTextPluginStatus","getReferrer","getVideo","muted","onloadstart","crossOrigin","isChar","isMapboxURL","keysDifference","makeRequest","mapObject","mercatorXfromLng","mercatorYfromLat","mercatorZfromAltitude","mul","multiply","mvt","nextPowerOfTwo","normalize","offscreenCanvasSupported","ortho","parseGlyphPBF","pbf","performSymbolLayout","tilePixelRatio","iconsNeedLinear","compositeIconSizes","layoutTextSize","layoutIconSize","textMaxSize","sdfIcons","perspective","pick","plugin","polygonIntersectsPolygon","potpack","refProperties","registerForPluginStateChange","renderColorRamp","rotateX","rotateZ","scale$1","scale$2","setCacheLimits","setRTLTextPlugin","sphericalToCartesian","sqrLen","symbolSize","transformMat3","transformMat4","translate","triggerPluginCompletionEvent","uniqueId","validateCustomStyleLayer","validateLight","validateStyle","vectorTile","warnOnce","webpSupported","keyCache","_layerConfigs","_layers","familiesBySource","showCollisionBoxes","collectResourceTiming","returnDependencies","rawData","stacks","icons","glyphMap","iconMap","glyphPositions","layerIndex","loaded","loadTile","resourceTiming","reloadTile","reloadCallback","abortTile","removeTile","rawImageData","offscreenCanvas","offscreenCanvasContext","clearRect","_feature","tags","rawGeometry","keycache","valuecache","fromVectorTileJs","fromGeojsonVt","GeoJSONWrapper","nodeSize","points","coords","minPoints","radius","trees","parentId","numPoints","cluster_id","point_count","point_count_abbreviated","transformed","numSimplified","numFeatures","tileCoords","timeEnd","indexMaxZoom","indexMaxPoints","stats","splitTile","_geoJSONIndex","getTile","byteOffset","_cluster","getClusters","_limitZoom","getChildren","_getOriginId","_getOriginZoom","getLeaves","_appendLeaves","_addTileFeatures","getClusterExpansionZoom","_map","loadGeoJSON","loadData","_pendingCallback","abandoned","_pendingLoadDataParams","_state","_loadData","superclusterOptions","geojsonVtOptions","removeSource","clusterId","getClusterChildren","getClusterLeaves","layerIndexes","workerSourceTypes","workerSources","demWorkerSources","registerWorkerSource","registerRTLTextPlugin","setReferrer","setImages","setLayers","getLayerIndex","updateLayers","removedIds","loadDEMTile","getDEMWorkerSource","removeDEMTile","loadWorkerSource","importScripts","syncRTLPluginState","getAvailableImages","lastIndexOf","reduceRight","isSealed","isExtensible","seal","preventExtensions","Worker","terminate","failIfMajorPerformanceCaveat","webGLContextAttributes","probablySupportsContext","supportsContext","createShader","VERTEX_SHADER","shaderSource","compileShader","getShaderParameter","COMPILE_STATUS","notSupportedReason","antialias","stencil","createNS","disableDrag","enableDrag","setTransform","capture","userImage","suppressClick","mousePos","clientLeft","clientTop","touchPos","mouseButton","InstallTrigger","platform","images","callbackDispatchedThisFrame","requestors","atlasImage","dirty","setLoaded","_notify","addImage","_validateStretch","_validateContent","updateImage","removeImage","listImages","getImages","getPixelSize","getPattern","bin","_updatePatternAtlas","atlasTexture","CLAMP_TO_EDGE","beginFrame","fontSize","cutoff","fontFamily","canvas","ctx","textBaseline","fillStyle","gridOuter","gridInner","middle","draw","fillText","requestManager","localIdeographFontFamily","setURL","getGlyphs","requests","_tinySDF","loadGlyphRange","_doesCharSupportLocalGlyph","tinySDF","TinySDF","_transitionable","setLight","_transitioning","getLight","nextRow","dashEntry","getDash","addDash","getDashRanges","isDash","zeroLength","addRoundDash","addRegularDash","REPEAT","workerPool","actors","currentActor","acquire","vector_layers","vectorLayers","vectorLayerIds","broadcast","release","validateBounds","reparseOverscaled","_loaded","_options","_collectResourceTiming","_tileJSONRequest","_requestManager","tileBounds","_getMapId","sourceDataType","hasTile","setSourceProperty","sourceCaches","clearTiles","setTiles","setUrl","aborted","_refreshExpiredTiles","unloadTile","roundZoom","getTileTexture","extTextureFilterAnisotropic","texParameterf","TEXTURE_MAX_ANISOTROPY_EXT","extTextureFilterAnisotropicMax","saveTileTexture","dem","needsHillshadePrepare","coord","neighboringTiles","_getNeighboringTiles","backfilled","demTexture","fbo","_removed","_resourceTiming","workerOptions","_updateWorkerData","setData","_finishLoading","setCoordinates","_boundsArray","boundsBuffer","boundsSegments","loop","triggerRepaint","play","seek","seekable","paused","_hasInvalidDimensions","_playing","getCanvas","calculatePosMatrix","maxPitchScaleFactor","tilesIn","wrappedTileID","queryResults","getFeatureState","_getAndRemoveByKey","getAndRemove","getByKey","setMaxSize","createBuffer","dynamicDraw","unbindVAO","bindElementBuffer","bufferData","ELEMENT_ARRAY_BUFFER","DYNAMIC_DRAW","STATIC_DRAW","bufferSubData","deleteBuffer","bindVertexBuffer","ARRAY_BUFFER","enableAttributes","enableVertexAttribArray","setVertexAttribPointers","vertexAttribPointer","getDefault","setDefault","clearColor","clearDepth","clearStencil","colorMask","depthMask","stencilMask","ALWAYS","mask","stencilFunc","KEEP","stencilOp","enable","STENCIL_TEST","depthRange","DEPTH_TEST","LESS","depthFunc","BLEND","ONE","ZERO","blendFunc","blendColor","FUNC_ADD","blendEquation","CULL_FACE","BACK","cullFace","CCW","frontFace","useProgram","TEXTURE0","activeTexture","drawingBufferWidth","drawingBufferHeight","bindFramebuffer","FRAMEBUFFER","bindRenderbuffer","RENDERBUFFER","bindBuffer","vao","extVertexArrayObject","bindVertexArrayOES","pixelStorei","UNPACK_ALIGNMENT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_FLIP_Y_WEBGL","setDirty","framebufferTexture2D","COLOR_ATTACHMENT0","framebufferRenderbuffer","DEPTH_ATTACHMENT","framebuffer","createFramebuffer","colorAttachment","depthAttachment","deleteRenderbuffer","deleteFramebuffer","ReadOnly","ReadWrite","depthFail","pass","blendFunction","Replace","unblended","alphaBlended","backCCW","getExtension","stencilTest","depthTest","blend","cullFaceSide","program","getParameter","MAX_TEXTURE_MAX_ANISOTROPY_EXT","extTextureHalfFloat","extRenderToTextureHalfFloat","extTimerQuery","maxTextureSize","MAX_TEXTURE_SIZE","createRenderbuffer","renderbufferStorage","COLOR_BUFFER_BIT","DEPTH_BUFFER_BIT","setCullFace","setDepthMode","setStencilMode","setColorMode","_sourceLoaded","_paused","_sourceErrored","_source","_tiles","_cache","_unloadTile","_timers","_cacheTimers","_maxTileCacheSize","_loadedParentTiles","_coveredTiles","getSource","_shouldReloadOnResume","_loadTile","_abortTile","imageManager","getIds","getRenderableIds","_isIdRenderable","hasRenderableParent","findLoadedParent","_reloadTile","_tileLoaded","refreshedUponExpiration","_setTileReloadTimer","_backfillDEM","getTileByID","_retainLoadedChildren","_getLoadedTile","updateCacheSize","handleWrapJump","_prevLng","used","getVisibleUnwrappedCoordinates","coveringTiles","coveringZoomLevel","maxOverzooming","maxUnderzooming","_updateRetainedTiles","_addTile","_fadeDuration","_removeTile","_updateLoadedParentTileCache","releaseSymbolFadeTiles","getCameraQueryGeometry","pointCoordinate","getVisibleCoordinates","posMatrix","reloadTilesForDependencies","workers","workerCount","numActive","isPreloaded","addLayer","removeLayer","setFilter","addSource","setGeoJSONSourceData","setLayerZoomRange","setLayerProperty","setCenter","setZoom","setBearing","setPitch","setSprite","setGlyphs","command","_distances","paddedLength","lerp","boxCells","circleCells","xCellCount","yCellCount","circleKeys","boxKeys","circles","xScale","yScale","boxUid","circleUid","labelPlaneMatrix","glCoordMatrix","signedDistanceFromCamera","useVertical","notEnoughRoom","needsFlipping","keysLength","_insertBoxCell","insertCircle","_insertCircleCell","_query","hitTest","seenUids","_queryCircle","_queryCellCircle","hitTestCircle","_circleAndRectCollide","_circlesCollide","_convertToXCellCoord","_convertToYCellCoord","ignoredGrid","pitchfactor","_pitch","screenRightBoundary","screenBottomBoundary","gridRightBoundary","gridBottomBoundary","placeCollisionBox","projectAndGetPerspectiveRatio","perspectiveRatio","isInsideGrid","offscreen","isOffscreen","placeCollisionCircles","collisionDetected","queryRenderedSymbols","bucketInstanceId","insertCollisionBox","collisionGroupID","insertCollisionCircles","getViewportMatrix","placed","skipFade","invProjMatrix","viewportMatrix","crossSourceCollisions","maxGroupID","collisionGroups","predicate","collisionIndex","placements","opacities","variableOffsets","stale","commitTime","retainedQueryData","collisionCircleArrays","prevPlacement","placedOrientations","getBucketParts","bucket","textLabelPlaneMatrix","labelToScreenMatrix","textPixelRatio","partiallyEvaluatedTextSize","collisionGroup","attemptAnchorPlacement","textOffset","prevAnchor","markUsedJustification","markUsedOrientation","placedGlyphBoxes","placeLayerBucketPart","commit","zoomAtLastRecencyCheck","prevZoomAdjustment","zoomAdjustment","symbolFadeChange","lastPlacementChangeTime","updateLayerOpacities","updateBucketOpacities","hasTransitions","stillRecent","setStale","_sortAcrossTiles","_currentTileIndex","_currentPartIndex","_seenCrossTileIDs","_bucketParts","continuePlacement","placement","_currentPlacementIndex","_forceFullPlacement","_showCollisionBoxes","_done","isDone","_inProgressLayer","indexedSymbolInstances","getScaledCoordinates","findMatches","maxCrossTileID","generate","indexes","usedCrossTileIDs","addBucket","removeBucketCrossTileIDs","removeStaleBuckets","crossTileIDs","maxBucketInstanceId","bucketsInCurrentPlacement","pruneUnusedLayers","glyphManager","lineAtlas","crossTileSymbolIndex","_serializedLayers","_order","_availableImages","_resetUpdates","_rtlTextPluginCallback","_validateLayer","loadURL","accessToken","_request","_load","loadJSON","loadEmpty","stylesheet","_loadSprite","_serializeLayers","_spriteRequest","_updatedSources","_checkLoaded","_changed","_updatedLayers","_removedLayers","_updateWorkerLayers","_reloadSource","_clearSource","_updateTilesForChangedImages","_updatedPaintProps","_changedImages","_afterImageUpdated","isSourceLoaded","_layerOrderChanged","_updateLayer","moveLayer","getFilter","_flattenAndSortRenderedFeatures","addSourceType","getSourceType","setSourceType","workerSourceURL","_remove","_updateSources","_generateCollisionBoxes","_updatePlacement","pauseablePlacement","_releaseSymbolFadeTiles","getResource","fragmentSource","vertexSource","staticAttributes","staticUniforms","prelude","backgroundPattern","clippingMask","heatmapTexture","collisionBox","collisionCircle","fillOutline","fillOutlinePattern","fillPattern","fillExtrusion","fillExtrusionPattern","hillshadePrepare","lineGradient","linePattern","lineSDF","symbolIcon","symbolSDF","symbolTextAndIcon","boundProgram","boundLayoutVertexBuffer","boundPaintVertexBuffers","boundIndexBuffer","boundVertexOffset","boundDynamicVertexBuffer","boundDynamicVertexBuffer2","freshBind","numAttributes","createVertexArrayOES","currentNumAttributes","disableVertexAttribArray","deleteVertexArrayOES","createProgram","FRAGMENT_SHADER","failedToCreate","attachShader","bindAttribLocation","linkProgram","deleteShader","getUniformLocation","fixedUniforms","binderUniforms","tileZoom","u_image","u_texsize","u_scale","u_fade","u_pixel_coord_upper","u_pixel_coord_lower","LINES","TRIANGLES","LINE_STRIP","drawElements","UNSIGNED_SHORT","u_matrix","u_lightpos","u_lightintensity","u_lightcolor","u_vertical_gradient","u_opacity","u_height_factor","u_world","pixelsToGLUnits","u_camera_to_center_distance","u_scale_with_map","translatePosMatrix","u_pitch_with_map","u_device_pixel_ratio","u_extrude_scale","u_pixels_to_tile_units","u_overscale_factor","u_inv_matrix","u_viewport_size","u_color","u_overlay","u_overlay_scale","u_intensity","u_ratio","u_units_to_pixels","u_image_height","u_patternscale_a","u_patternscale_b","u_sdfgamma","u_tex_y_a","u_tex_y_b","u_mix","u_tl_parent","u_scale_parent","u_buffer_scale","u_fade_t","mix","u_image0","u_image1","u_brightness_low","u_brightness_high","u_saturation_factor","u_contrast_factor","u_spin_weights","u_is_size_zoom_constant","u_is_size_feature_constant","u_size_t","u_size","u_pitch","u_rotate_symbol","u_aspect_ratio","u_fade_change","u_label_plane_matrix","u_coord_matrix","u_is_text","u_texture","u_gamma_scale","u_is_halo","u_texsize_icon","u_texture_icon","u_pattern_tl_a","u_pattern_br_a","u_pattern_tl_b","u_pattern_br_b","u_pattern_size_a","u_pattern_size_b","u_scale_a","u_scale_b","u_tile_units_to_pixels","u_color_ramp","u_latrange","u_light","u_shadow","u_highlight","u_accent","u_dimension","u_zoom","u_unpack","circleArray","circleOffset","invTransform","colorModeForRenderPass","shiftedAnchor","depthModeForSublayer","rotating","zooming","NEAREST","buffers","uniformValues","atlasTextureIcon","atlasInterpolation","atlasInterpolationIcon","hasHalo","TEXTURE1","stencilModeForClipping","moving","rasterBoundsBuffer","quadTriangleIndexBuffer","rasterBoundsSegments","SCISSOR_TEST","scissor","emptyTexture","debugBuffer","tileBorderIndexBuffer","debugSegments","initDebugOverlayCanvas","debugOverlayCanvas","shadowColor","shadowBlur","lineWidth","strokeStyle","strokeText","debugOverlayTexture","renderPass","programConfiguration","HALF_FLOAT_OES","viewportBuffer","viewportSegments","gradient","opaquePassEnabledForLayer","LEQUAL","depthRangeFor3D","stencilModeFor3D","stencilConfigForOverlap","isPatternMissing","tileExtentBuffer","tileExtentSegments","custom","setCustomLayerDefaults","customLayerMatrix","setBaseState","_tileTextures","numSublayers","depthEpsilon","gpuTimers","stencilClearMode","nextStencilID","currentStencilSource","_renderTileClippingMasks","_tileClippingMaskIDs","REPLACE","NOTEQUAL","EQUAL","GEQUAL","_showOverdrawInspector","CONSTANT_COLOR","currentLayer","opaquePassCutoff","renderLayer","showOverdrawInspector","showTileBoundaries","showPadding","centerPoint","gpuTimingStart","gpuTimingEnd","gpuTiming","calls","cpuTime","createQueryEXT","beginQueryEXT","TIME_ELAPSED_EXT","endQueryEXT","collectGpuTimers","queryGpuTimers","getQueryObjectEXT","QUERY_RESULT_EXT","deleteQueryEXT","planes","fromInvProjectionMatrix","quadrant","distanceX","distanceY","intersects","MAX_VALUE","maxValidLatitude","_renderWorldCopies","_minZoom","_maxZoom","_minPitch","_maxPitch","setMaxBounds","_center","_fov","_unmodified","_edgeInsets","_posMatrixCache","_alignedPosMatrixCache","minPitch","maxPitch","renderWorldCopies","worldSize","centerOffset","fov","unmodified","latRange","_calcMatrices","rotationMatrix","_zoom","zoomScale","zoomFraction","_constrain","isPaddingEqual","interpolatePadding","scaleZoom","aabb","fullyVisible","distanceSq","project","unproject","setLocationAtPoint","locationCoordinate","coordinateLocation","locationPoint","coordinatePoint","pointLocation","pixelMatrixInverse","pixelMatrix","getBounds","getMaxBounds","lngRange","alignedProjMatrix","projMatrix","mercatorMatrix","_constraining","getCameraPoint","_hashName","_updateHash","_updateHashUnthrottled","addTo","_onHashChange","getHashString","getZoom","getBearing","getPitch","_getCurrentHash","dragRotate","isEnabled","touchZoomRotate","jumpTo","linearity","deceleration","maxSpeed","amount","_inertiaBuffer","record","_drainInertiaBuffer","_onMoveEnd","pan","pinchAround","around","zoomDelta","bearingDelta","pitchDelta","panDelta","noMoveStart","getCanvasContainer","lngLat","_defaultPrevented","lngLats","_clickTolerance","clickTolerance","_mousedownPos","wheel","_firePreventable","mousedown","mouseup","dblclick","mouseover","mouseout","touchstart","touchmove","touchend","touchcancel","_delayContextMenu","_contextMenuEvent","mousemove","contextmenu","_el","_container","getContainer","_enabled","_active","_startPos","_lastPos","mousemoveWindow","_box","_fireEvent","mouseupWindow","cameraAnimation","fitScreenCoordinates","keydown","numTouches","centroid","singleTap","numTaps","lastTime","lastTap","_zoomIn","_zoomOut","easeTo","_moved","_lastPoint","_eventButton","_correctButton","_move","_minTouches","_touches","_sum","_calculateTransform","_firstTwoTouches","_start","_aroundCenter","_distance","_startDistance","_minDiameter","_startVector","_vector","_isBelowThreshold","_valid","_firstMove","_lastPoints","gestureBeginsVertically","panStep","bearingStep","pitchStep","_panStep","_bearingStep","_pitchStep","_rotationDisabled","easeId","disableRotation","enableRotation","_handler","_delta","_defaultZoomRate","_wheelZoomRate","setZoomRate","setWheelZoomRate","_finishTimeout","isZooming","_zooming","deltaMode","WheelEvent","DOM_DELTA_LINE","deltaY","_lastWheelEventTime","_type","_lastValue","_timeout","_onTimeout","_lastWheelEvent","_frameId","_around","_aroundPoint","_triggerRenderFrame","renderFrame","_targetZoom","_startZoom","_easing","_smoothOutEasing","noInertia","needsRenderFrame","_prevEase","_clickZoom","_tapZoom","_tap","_swipePoint","_swipeTouch","_tapTime","_mousePan","_touchPan","_inertiaOptions","_pitchWithRotate","pitchWithRotate","_mouseRotate","_mousePitch","_touchZoom","_touchRotate","_tapDragZoom","drag","_handlers","_handlersById","_changes","_inertia","_bearingSnap","bearingSnap","_previousActiveHandlers","_eventsInProgress","_addDefaultHandlers","passive","handleWindowEvent","boxZoom","doubleClickZoom","touchPitch","dragPan","scrollZoom","keyboard","allowed","_updatingCamera","_fireEvents","isRotating","isMoving","_blockedByActive","_getMapTouches","mergeHandlerResult","_stop","_applyChanges","_updateMapTransform","_update","resetNorth","_requestFrame","_renderTaskQueue","_moving","panBy","panTo","zoomIn","zoomOut","setPadding","rotateTo","resetNorthPitch","snapToNorth","cameraForBounds","_cameraForBoxAndBearing","fitBounds","_fitInternal","flyTo","essential","_normalizeBearing","_normalizeCenter","_rotating","pitching","_pitching","_padding","_easeId","_prepareEase","_ease","_fireMoveEvents","_afterEase","curve","screenSpeed","maxDuration","isEasing","_easeFrameId","_cancelRenderFrame","_onEaseFrame","_onEaseEnd","_easeStart","_easeOptions","_requestRenderFrame","_renderFrameCallback","getDefaultPosition","compact","_compactButton","_toggleAttribution","_setElementTitle","_innerContainer","_updateAttributions","_updateEditLink","_updateData","_updateCompact","_attribHTML","_getUIString","_editLink","styleOwner","styleId","_hash","rel","customAttribution","_updateLogo","_logoRequired","mapbox_logo","_queue","_id","_cleared","_currentlyRunning","attributionControl","preserveDrawingBuffer","trackResize","refreshExpiredTiles","maxTileCacheSize","_interactive","_failIfMajorPerformanceCaveat","_preserveDrawingBuffer","_antialias","_trackResize","_crossSourceCollisions","_crossFadingFactor","_controls","_mapId","maxBounds","_setupContainer","_setupPainter","_onWindowOnline","_onWindowResize","fitBoundsOptions","_localIdeographFontFamily","addControl","logoPosition","repaint","_controlPositions","removeControl","hasControl","_containerDimensions","_resizeCanvas","setMinZoom","getMinZoom","setMaxZoom","getMaxZoom","setMinPitch","getMinPitch","setMaxPitch","getMaxPitch","getRenderWorldCopies","setRenderWorldCopies","_createDelegatedListener","listener","delegates","_delegatedListeners","_diffStyle","_updateStyle","_lazyInitEmptyStyle","_updateDiff","getStyle","isStyleLoaded","areTilesLoaded","hasImage","loadImage","_canvasContainer","_canvas","_detectMissingCSS","_missingCSSCanary","_contextLost","_contextRestored","_controlContainer","_onMapScroll","_frame","_styleDirty","_sourcesDirty","_render","_placementDirty","gpuTime","layerTimes","_repaint","_fullyLoaded","loseContext","_showTileBoundaries","_showPadding","_vertices","_setCacheLimits","showCompass","showZoom","visualizePitch","_zoomInButton","_createButton","_zoomOutButton","_compass","_compassIcon","_updateZoomButtons","_rotateCompassArrow","_setButtonTitle","mouseRotate","mousePitch","move","offTemp","_anchor","_color","_scale","_draggable","draggable","_isDragging","_rotation","rotation","_rotationAlignment","rotationAlignment","_pitchAlignment","pitchAlignment","_defaultMarker","rx","ry","_popup","setDraggable","_onMapClick","_addDragHandler","_onUp","_onMove","getLngLat","_lngLat","setLngLat","_pos","getElement","setPopup","_onKeyPress","_originalTabIndex","togglePopup","getPopup","isOpen","getOffset","_pointerdownPos","_positionDelta","pointerEvents","setRotation","getRotation","setRotationAlignment","getRotationAlignment","setPitchAlignment","getPitchAlignment","positionOptions","enableHighAccuracy","maximumAge","trackUserLocation","showAccuracyCircle","showUserLocation","_setupUI","permissions","geolocation","_geolocationWatchID","clearWatch","_userLocationDotMarker","_accuracyCircleMarker","_onZoom","_isOutOfMapMaxBounds","longitude","latitude","_setErrorState","_watchState","_geolocateButton","_onSuccess","_updateMarker","_finish","_lastKnownPosition","_updateCamera","_dotElement","accuracy","geolocateSource","_accuracy","_updateCircleRadius","_circleElement","_onError","_clearWatch","_timeoutId","_setup","watchPosition","getCurrentPosition","setUnit","_fullscreen","_fullscreenchange","_checkFullscreenSupport","_changeIcon","fullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","webkitFullscreenEnabled","_fullscreenButton","_updateTitle","_onClickFullscreen","_getTitle","_isFullscreen","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","msFullscreenElement","exitFullscreen","mozCancelFullScreen","msExitFullscreen","webkitCancelFullScreen","requestFullscreen","mozRequestFullScreen","msRequestFullscreen","webkitRequestFullscreen","closeButton","closeOnClick","focusAfterOpen","_onClose","closeOnMove","_focusFirstElement","_trackPointer","_onMouseMove","_onMouseUp","_content","_onDrag","trackPointer","setText","setDOMContent","setHTML","getMaxWidth","setMaxWidth","hasChildNodes","_createCloseButton","addClassName","removeClassName","toggleClassName","_closeButton","_tip","NavigationControl","GeolocateControl","AttributionControl","ScaleControl","FullscreenControl","Popup","Marker","prewarm","clearPrewarmedResources","baseApiUrl","maxParallelImageRequests","HOOKS","_disable","allowInput","allowInvalidPreload","altFormat","altInput","altInputClass","ariaDateFormat","autoFillDefaultTime","clickOpens","closeOnSelect","conjunction","disableMobile","enableSeconds","enableTime","givenDate","week1","hourIncrement","ignoredFocusElements","inline","minuteIncrement","monthSelectorType","nextArrow","onChange","onDayCreate","onDestroy","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition","positionElement","prevArrow","shorthandCurrentMonth","showMonths","static","time_24hr","english","rangeSeparator","weekAbbreviation","scrollTitle","toggleTitle","yearAriaLabel","monthAriaLabel","hourAriaLabel","minuteAriaLabel","globalLocales","MINIMAL_RAW_EN_LOCALE","RAW_EN_LOCALE","eventCnt","organizeRawLocales","explicitRawLocales","defaultCode","allRawLocales","rawLocaleMap","rawLocale","buildLocale","inputSingular","codeArg","simpleId","queryRawLocale","parseLocale","queryLocale","merged","createPlugin","premiumReleaseDate","deps","reducers","isLoadingFuncs","contextInit","eventDragMutationMassagers","dateSelectionTransformers","datePointTransforms","viewPropsTransformers","externalDefTransforms","viewContainerAppends","eventDropTransformers","componentInteractions","calendarInteractions","themeClasses","namedTimeZonedImpl","elementDraggingImpl","optionChangeHandlers","scrollGridImpl","listenerRefiners","optionRefiners","propSetHandlers","buildBuildPluginHooks","currentHooks","currentOverrideDefs","currentGlobalDefs","overrideDefs","globalDefs","pluginDefs","currentPluginIds","addDefs","pluginName","currentId","hooks1","compareOptionalDates","hooks0","buildPluginHooks","StandardTheme","ensureViewDef","defaultConfigs","overrideConfigs","viewDef","defaultConfig","overrideConfig","queryProp","theComponent","superType","superDef","rawOptions","buildViewDef","parseViewConfigs","parseViewConfig","createViewHookComponent","viewProps","buildViewSpecs","defaultInputs","optionOverrides","dynamicOptionOverrides","localeDefaults","viewDefs","compileViewDefs","durationInput","singleUnitOverrides","durationInputMap","createDurationCached","denom","queryButtonText","optionsSubset","buttonTextMap","queryButtonTitle","buttonKey","optionDefaults","buttonTextOverride","buttonTextDefault","buttonTitleOverride","buttonHint","buttonTitleDefault","buildViewSpec","tableCellShaded","buttonGroup","buttonActive","close","initEventSources","addSources","rawSources","rawSource","parseInitialSources","reduceEventSources","eventSourceHash","fetchDirtySources","fetchSourcesByIds","excludeStaticSources","receiveResponse","computeEventSourcesLoading","doesSourceNeedRange","isSourceDirty","prevSources","sourceIdHash","nextSources","fetchSource","sourceDef","errorHandled","ignoreRange","reduceDateSelection","currentSelection","reduceSelectedEvent","currentInstanceId","eventInstanceId","reduceEventDrag","currentDrag","newDrag","reduceEventResize","currentResize","newResize","parseToolbars","calendarOptionOverrides","parseToolbar","sectionStrHash","sectionWidgets","hasTitle","sectionName","sectionRes","parseSection","widgets","sectionStr","calendarCustomButtons","calendarButtonTextOverrides","calendarButtonText","calendarButtonHintOverrides","calendarButtonHints","sectionSubstrs","buttonGroupStr","buttonClick","buttonIcon","textFallback","prevOrNext","navUnit","ViewImpl","viewTitle","activeStart","activeEnd","currentStart","currentEnd","arrayEventSourcePlugin","successCallback","funcEventSourcePlugin","jsonFeedEventSourcePlugin","extraParams","requestParams","customRequestParams","buildRequestParams","SIMPLE_RECURRING_REFINERS","startRecur","endRecur","handleEventSources","unfoundSources","newInputs","inputFound","unfoundSource","newInput","globalPlugins","recurringData","clippedFramingRange","dowHash","dayMarker","instanceStarts","instanceStart","expandRanges","TaskRunner","runTaskOption","delayedRunner","task","completedTasks","runTask","buildTitle","buildTitleFormat","CalendarDataManager","computeCurrentViewData","_computeCurrentViewData","buildDateEnv","buildDateEnv$1","buildTheme","buildDateProfileGenerator","buildViewApi","buildViewUiProps","buildEventUiBySource","buildEventUiBases","parseContextBusinessHours","actionRunner","_handleAction","currentCalendarOptionsRefined","currentViewOptionsInput","currentViewOptionsRefined","optionsForRefining","optionsForHandling","optionsData","computeOptionsData","currentViewType","currentViewData","calendarContext","initialState","renderableEventStore","contextAndState","reducer","computeIsLoading","resetOptions","changedOptionNames","reduceDynamicOptionOverrides","reduceViewType","dp","reduceDateProfile","_this$buildViewUiProp","eventUiSingleBase","eventUiBySource","wasLoading","onAction","oldData","changeHandlers","oldCalendarOptions","newCalendarOptions","reduceEventSourcesNewTimeZone","onData","stableOptionOverrides","stableDynamicOptionOverrides","stableCalendarOptionsData","_this$processRawCalen","processRawCalendarOptions","refinedOptions","availableLocaleData","warnUnknownOptions","_mergeRawOptions","currentRaw","currentRefined","anyChanges","_this$processRawViewO","processRawViewOptions","explicitLocale","isLoadingFunc","viewName","ToolbarSection","widgetGroups","widgetGroup","renderWidgetGroup","isOnlyButtons","widget","isPressed","activeButton","isTodayEnabled","isPrevEnabled","isNextEnabled","buttonClasses","groupClassName","Toolbar","startContent","endContent","extraClassName","forceLtr","centerContent","ViewHarness","availableWidth","updateAvailableWidth","handleResize","labeledById","EventClicking","handleSegClick","segEl","hasUrlContainer","EventHovering","handleEventElRemove","currentSegEl","handleSegLeave","handleSegEnter","triggerEvent","removeHoverListeners","publicEvName","CalendarContent","buildViewPropTransformers","buildToolbarProps","headerRef","footerRef","interactionsStore","viewLabelId","settingsInput","interactions","TheInteractionClass","resizeRunner","viewAspectRatio","toolbarProps","viewVGrow","viewContext","renderView","buildAppendContent","CalendarInteractionClass","ViewComponent","todayInfo","prevInfo","nextInfo","theClasses","TheClass","Calendar","isRendering","isRendered","currentClassNames","customContentRenderId","handleAction","renderRunner","handleData","handleRenderRequest","setClassNames","setHeight","wasRendering","pauseRendering","resumeRendering","adapters","WebSocket","messages","secondsSince","ConnectionMonitor","connection","visibilityDidChange","reconnectAttempts","startedAt","stoppedAt","startPolling","staleThreshold","stopPolling","recordMessage","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","getPollInterval","_this$constructor","reconnectionBackoffRate","connectionIsStale","refreshedAt","disconnectedRecently","reopen","INTERNAL","message_types","welcome","ping","confirmation","rejection","protocols","supportedProtocols","Connection","monitor","disconnected","webSocket","socketProtocols","subprotocols","uninstallEventHandlers","installEventHandlers","allowReconnect","reopenDelay","getProtocol","isState","triedToReconnect","isProtocolSupported","states","_JSON$parse","reconnect","reconnectAttempted","confirmSubscription","reconnected","notifyAll","willAttemptReconnect","Subscription","mixin","SubscriptionGuarantor","pendingSubscriptions","guarantee","subscription","startGuaranteeing","forget","stopGuaranteeing","retrySubscribing","retryTimeout","subscribe","Subscriptions","guarantor","channelName","ensureActiveConnection","sendCommand","_url","createWebSocketURL","addSubProtocol","subprotocol","createConsumer","getConfig","Toastify","oldestFirst","destination","newWindow","gravity","avatar","stopOnFocus","escapeMarkup","ariaLive","toastElement","_rootElement","_init","showToast","_buildToast","ShadowRoot","_reposition","timeOutValue","_removeElement","hideToast","divElement","innerText","avatarElement","insertAdjacentElement","closeElement","innerWidth","screen","_getAxisOffsetAValue","xOffset","yOffset","classUsed","topLeftOffsetSize","topRightOffsetSize","offsetSize","allToasts","axis","setupToastify","stimulusReflexVersionMismatch","deprecationWarnings","Deprecate","Debug$1","reflexAttribute","reflexPermanentAttribute","reflexRootAttribute","reflexSuppressLoggingAttribute","reflexDatasetAttribute","reflexDatasetAllAttribute","reflexSerializeFormAttribute","reflexFormSelectorAttribute","reflexIncludeInnerHtmlAttribute","reflexIncludeTextContentAttribute","Schema","uuidv4","crypto","msCrypto","getRandomValues","uppercaseFirstLetter","$1","XPathToElement","XPathToArray","emitEvent","elementToXPath","ix","stages","lastReflex","reflexes","Proxy","fromEntries","stage","invokeLifecycleMethod","specificLifecycleMethod","genericLifecycleMethod","dispatchLifecycleEvent","warned","lifecycle","app","App","isolationMode","IsolationMode","Reflex","reflexElement","cloned","getPromise","mismatch","reflexData","reflexOperations","stimulusReflex","_reflexData","xpathController","xpathElement","reflexController","totalOperations","pendingOperations","completedOperations","piggybackOperations","reflexId","connected","connectionStatusClass","queued","rejected","ActionCableTransport","deliver","consumerValue","paramsValue","suppressLogging","attributeValue","attributeValues","extractElementAttributes","tag_name","multipleInstances","collectedOptions","collectCheckedOptions","getElementsFromTokens","xPath","extractDataAttributes","startsWith","ReflexData","tabId","_attrs","_selectors","reflexRoot","getReflexRoots","resolveLate","_dataset","reflexDataset","allDataset","reflexDatasetAll","allTokens","datasetElements","datasetAllElements","datasetAttributes","acc","ele","elementDataset","datasetAll","elementAttributes","extractElementDataset","includeInnerHtml","includeTextContent","formSelector","reflexFormSelector","reflexIncludeInnerHtml","reflexIncludeTextContent","reflexSuppressLogging","inner_html","text_content","Transport","newTransport","beforeDOMUpdate","afterDOMUpdate","nothing","halted","forbidden","localReflexControllers","scanForReflexes","scanForReflexesOnElement","reflexAttributeNames","actions","reflexName","potentialControllers","allReflexControllers","reflexNameToControllerIdentifier","reflexString","extractReflexName","findControllerByReflexName","controllerName","parentControllerElement","controllerValue","actionValue","emitReadyEvent","stimulate","getReflexElement","validity","badInput","getReflexOptions","reflexPermanent","reflexSerializeForm","formData","FormData","submitButton","serializeForm","__perform","eventTypes","StimulusReflexController","isolate","attributeFilter","useReflex","Rails","linkClickSelector","buttonClickSelector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","fileInputSelector","linkDisableSelector","buttonDisableSelector","loadCSPNonce","cspNonce","mozMatchesSelector","oMatchesSelector","isEditable","csrfParam","csrfToken","CSRFProtection","refreshCSRFTokens","createEvent","initCustomEvent","stopEverything","AcceptHeaders","createXHR","prepareOptions","processResponse","OPENED","DONE","parser","isCrossDomain","serializeElement","additionalParam","formElements","allowAction","handleConfirm","confirm","answer","disableFormElement","disableFormElements","disableLinkElement","enableFormElement","enableFormElements","enableLinkElement","isXhrRedirect","handleDisabledElement","enableElement","disableElement","replacement","originalText","handleMethod","formContent","link","isRemote","handleRemote","enctype","formSubmitButtonClick","formNoValidate","preventInsignificantClick","insignificantMetaClick","rails","_rails_loaded","_adapters$logger","_typeof","classCallCheck","Constructor","createClass","protoProps","staticProps","recordPing","_constructor$pollInte","pollInterval","multiplier","disconnect_reasons","unauthorized","invalid_request","server_restart","default_mount_path","_this3","_this4","_Class_brand","WeakSet","_Class","ApplicationController","_classPrivateMethodInitSpec","setFormValuesFromSession","_assertClassBrand","_setInputValue","vehicleGroupSwitch","chosenGroup","_revealCorrespondingVehicleForm","storeSizeChoice","storeNumberplateValue","numberplate","storeColourValue","colour","storeElectricChoice","electric","feedback","reportValidity","rangeV","newPosition","price","inputSelector","sessionStorageKey","sessionStorageValue","subscriptionId","classicForm","motoForm","cargoForm","skateForm","personalizedForm","__H","__N","__V","isPureReactComponent","__f","__u","__a","__R","__O","revealOrder","containerInfo","isReactComponent","cancelBubble","persist","class","multiple","$$typeof","Popper","_defineProperties","_createClass","enumerableOnly","symbols","sym","_objectSpread2","_inheritsLoose","subClass","superClass","TRANSITION_END","MAX_UID","MILLISECONDS_MULTIPLIER","getSpecialTransitionEndEvent","transitionEndEmulator","called","Util","triggerTransitionEnd","setTransitionEndSupport","emulateTransitionEnd","getUID","getSelectorFromElement","hrefAttr","getTransitionDurationFromElement","transitionDuration","transitionDelay","floatTransitionDuration","floatTransitionDelay","reflow","supportsTransitionEnd","isElement","typeCheckConfig","componentName","configTypes","expectedTypes","valueType","findShadowRoot","jQueryDetection","minMajor","ltMajor","minMinor","minPatch","maxMajor","NAME","VERSION","DATA_KEY","EVENT_KEY","DATA_API_KEY","JQUERY_NO_CONFLICT","SELECTOR_DISMISS","EVENT_CLOSE","EVENT_CLOSED","EVENT_CLICK_DATA_API","CLASS_NAME_ALERT","CLASS_NAME_FADE","CLASS_NAME_SHOW","Alert","_proto","rootElement","_getRootElement","_triggerCloseEvent","dispose","closeEvent","_destroyElement","_jQueryInterface","$element","_handleDismiss","alertInstance","NAME$1","VERSION$1","DATA_KEY$1","EVENT_KEY$1","DATA_API_KEY$1","JQUERY_NO_CONFLICT$1","CLASS_NAME_ACTIVE","CLASS_NAME_BUTTON","CLASS_NAME_FOCUS","SELECTOR_DATA_TOGGLE_CARROT","SELECTOR_DATA_TOGGLES","SELECTOR_DATA_TOGGLE","SELECTOR_DATA_TOGGLES_BUTTONS","SELECTOR_INPUT","SELECTOR_ACTIVE","SELECTOR_BUTTON","EVENT_CLICK_DATA_API$1","EVENT_FOCUS_BLUR_DATA_API","EVENT_LOAD_DATA_API","Button","triggerChangeEvent","addAriaPressed","initialButton","inputBtn","_button","NAME$2","VERSION$2","DATA_KEY$2","EVENT_KEY$2","DATA_API_KEY$2","JQUERY_NO_CONFLICT$2","ARROW_LEFT_KEYCODE","ARROW_RIGHT_KEYCODE","TOUCHEVENT_COMPAT_WAIT","SWIPE_THRESHOLD","Default","slide","touch","DefaultType","DIRECTION_NEXT","DIRECTION_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","EVENT_DRAG_START","EVENT_LOAD_DATA_API$1","EVENT_CLICK_DATA_API$2","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE$1","CLASS_NAME_SLIDE","CLASS_NAME_RIGHT","CLASS_NAME_LEFT","CLASS_NAME_NEXT","CLASS_NAME_PREV","CLASS_NAME_POINTER_EVENT","SELECTOR_ACTIVE$1","SELECTOR_ACTIVE_ITEM","SELECTOR_ITEM","SELECTOR_ITEM_IMG","SELECTOR_NEXT_PREV","SELECTOR_INDICATORS","SELECTOR_DATA_SLIDE","SELECTOR_DATA_RIDE","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_getConfig","_indicatorsElement","_touchSupported","maxTouchPoints","_pointerEvent","PointerEvent","MSPointerEvent","_addEventListeners","_slide","nextWhenVisible","cycle","clearInterval","setInterval","activeIndex","_getItemIndex","_handleSwipe","absDeltax","_keydown","_addTouchEventListeners","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","itemIndex","_triggerSlideEvent","eventDirectionName","targetIndex","slideEvent","_setActiveIndicatorElement","indicators","nextIndicator","directionalClassName","orderClassName","activeElementIndex","nextElement","nextElementIndex","isCycling","slidEvent","nextElementInterval","defaultInterval","ride","_dataApiClickHandler","slideIndex","carousels","$carousel","NAME$3","VERSION$3","DATA_KEY$3","EVENT_KEY$3","DATA_API_KEY$3","JQUERY_NO_CONFLICT$3","Default$1","DefaultType$1","EVENT_SHOW","EVENT_SHOWN","EVENT_HIDE","EVENT_HIDDEN","EVENT_CLICK_DATA_API$3","CLASS_NAME_SHOW$1","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_COLLAPSED","DIMENSION_WIDTH","DIMENSION_HEIGHT","SELECTOR_ACTIVES","SELECTOR_DATA_TOGGLE$1","Collapse","_isTransitioning","_triggerArray","toggleList","filterElement","foundElem","_parent","_getParent","_addAriaAndCollapsedClass","actives","activesData","startEvent","_getDimension","setTransitioning","scrollSize","triggerArrayLength","isTransitioning","_getTargetFromElement","triggerArray","$this","$trigger","$target","NAME$4","VERSION$4","DATA_KEY$4","EVENT_KEY$4","DATA_API_KEY$4","JQUERY_NO_CONFLICT$4","ESCAPE_KEYCODE","SPACE_KEYCODE","TAB_KEYCODE","ARROW_UP_KEYCODE","ARROW_DOWN_KEYCODE","RIGHT_MOUSE_BUTTON_WHICH","REGEXP_KEYDOWN","EVENT_HIDE$1","EVENT_HIDDEN$1","EVENT_SHOW$1","EVENT_SHOWN$1","EVENT_CLICK","EVENT_CLICK_DATA_API$4","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","CLASS_NAME_DISABLED","CLASS_NAME_SHOW$2","CLASS_NAME_DROPUP","CLASS_NAME_DROPRIGHT","CLASS_NAME_DROPLEFT","CLASS_NAME_MENURIGHT","CLASS_NAME_POSITION_STATIC","SELECTOR_DATA_TOGGLE$2","SELECTOR_FORM_CHILD","SELECTOR_MENU","SELECTOR_NAVBAR_NAV","SELECTOR_VISIBLE_ITEMS","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","Default$2","flip","boundary","reference","popperConfig","DefaultType$2","Dropdown","_popper","_menu","_getMenuElement","_inNavbar","_detectNavbar","_clearMenus","usePopper","showEvent","_getParentFromElement","referenceElement","_getPopperConfig","hideEvent","scheduleUpdate","_getPlacement","$parentDropdown","_getOffset","offsets","modifiers","preventOverflow","boundariesElement","toggles","clickEvent","dropdownMenu","_dataApiKeydownHandler","items","NAME$5","VERSION$5","DATA_KEY$5","EVENT_KEY$5","DATA_API_KEY$5","JQUERY_NO_CONFLICT$5","ESCAPE_KEYCODE$1","Default$3","backdrop","DefaultType$3","EVENT_HIDE$2","EVENT_HIDE_PREVENTED","EVENT_HIDDEN$2","EVENT_SHOW$2","EVENT_SHOWN$2","EVENT_FOCUSIN","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_KEYDOWN_DISMISS","EVENT_MOUSEUP_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_CLICK_DATA_API$5","CLASS_NAME_SCROLLABLE","CLASS_NAME_SCROLLBAR_MEASURER","CLASS_NAME_BACKDROP","CLASS_NAME_OPEN","CLASS_NAME_FADE$1","CLASS_NAME_SHOW$3","CLASS_NAME_STATIC","SELECTOR_DIALOG","SELECTOR_MODAL_BODY","SELECTOR_DATA_TOGGLE$3","SELECTOR_DATA_DISMISS","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","Modal","_dialog","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_scrollbarWidth","_checkScrollbar","_setScrollbar","_adjustDialog","_setEscapeEvent","_setResizeEvent","_showBackdrop","_showElement","_hideModal","htmlElement","handleUpdate","_triggerBackdropTransition","hideEventPrevented","modalTransitionDuration","modalBody","_enforceFocus","shownEvent","transitionComplete","_this5","_this6","_this7","_this8","_resetAdjustments","_resetScrollbar","_removeBackdrop","_this9","backdropTransitionDuration","callbackRemove","_backdropTransitionDuration","isModalOverflowing","_getScrollbarWidth","_this10","fixedContent","stickyContent","actualPadding","calculatedPadding","actualMargin","calculatedMargin","scrollDiv","_this11","uriAttrs","DefaultWhitelist","em","h1","h2","h3","h4","h5","h6","img","pre","small","sup","strong","SAFE_URL_PATTERN","DATA_URL_PATTERN","allowedAttribute","allowedAttributeList","regExp","attrRegex","sanitizeHtml","unsafeHtml","whiteList","sanitizeFn","createdDocument","whitelistKeys","_loop","elName","attributeList","whitelistedAttributes","NAME$6","VERSION$6","DATA_KEY$6","EVENT_KEY$6","JQUERY_NO_CONFLICT$6","CLASS_PREFIX","BSCLS_PREFIX_REGEX","DISALLOWED_ATTRIBUTES","DefaultType$4","fallbackPlacement","sanitize","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","Default$4","HOVER_STATE_SHOW","HOVER_STATE_OUT","HIDE","HIDDEN","SHOW","SHOWN","INSERTED","CLICK","FOCUSIN","FOCUSOUT","MOUSEENTER","MOUSELEAVE","CLASS_NAME_FADE$2","CLASS_NAME_SHOW$4","SELECTOR_TOOLTIP_INNER","SELECTOR_ARROW","TRIGGER_HOVER","TRIGGER_FOCUS","TRIGGER_CLICK","TRIGGER_MANUAL","Tooltip","_isEnabled","_hoverState","_activeTrigger","tip","_setListeners","toggleEnabled","dataKey","_getDelegateConfig","_isWithActiveTrigger","_enter","_leave","getTipElement","_hideModalHandler","isWithContent","shadowRoot","isInTheDom","tipId","setContent","attachment","_getAttachment","addAttachmentClass","_getContainer","_fixTransition","prevHoverState","_cleanTipClass","getTitle","setElementContent","arrow","onCreate","originalPlacement","_handlePopperPlacementChange","onUpdate","eventIn","eventOut","_fixTitle","titleType","dataAttributes","$tip","tabClass","popperData","popper","initConfigAnimation","NAME$7","VERSION$7","DATA_KEY$7","EVENT_KEY$7","JQUERY_NO_CONFLICT$7","CLASS_PREFIX$1","BSCLS_PREFIX_REGEX$1","Default$5","DefaultType$5","CLASS_NAME_FADE$3","CLASS_NAME_SHOW$5","SELECTOR_TITLE","SELECTOR_CONTENT","Event$1","_Tooltip","_getContent","NAME$8","VERSION$8","DATA_KEY$8","EVENT_KEY$8","DATA_API_KEY$6","JQUERY_NO_CONFLICT$8","Default$6","DefaultType$6","EVENT_ACTIVATE","EVENT_SCROLL","EVENT_LOAD_DATA_API$2","CLASS_NAME_DROPDOWN_ITEM","CLASS_NAME_ACTIVE$2","SELECTOR_DATA_SPY","SELECTOR_NAV_LIST_GROUP","SELECTOR_NAV_LINKS","SELECTOR_NAV_ITEMS","SELECTOR_LIST_ITEMS","SELECTOR_DROPDOWN","SELECTOR_DROPDOWN_ITEMS","SELECTOR_DROPDOWN_TOGGLE","METHOD_OFFSET","METHOD_POSITION","ScrollSpy","_scrollElement","_offsets","_targets","_activeTarget","_scrollHeight","_process","autoMethod","offsetMethod","offsetBase","_getScrollTop","_getScrollHeight","targetSelector","targetBCR","_getOffsetHeight","innerHeight","maxScroll","_activate","_clear","queries","$link","scrollSpys","$spy","NAME$9","VERSION$9","DATA_KEY$9","EVENT_KEY$9","DATA_API_KEY$7","JQUERY_NO_CONFLICT$9","EVENT_HIDE$3","EVENT_HIDDEN$3","EVENT_SHOW$3","EVENT_SHOWN$3","EVENT_CLICK_DATA_API$6","CLASS_NAME_DROPDOWN_MENU","CLASS_NAME_ACTIVE$3","CLASS_NAME_DISABLED$1","CLASS_NAME_FADE$4","CLASS_NAME_SHOW$6","SELECTOR_DROPDOWN$1","SELECTOR_NAV_LIST_GROUP$1","SELECTOR_ACTIVE$2","SELECTOR_ACTIVE_UL","SELECTOR_DATA_TOGGLE$4","SELECTOR_DROPDOWN_TOGGLE$1","SELECTOR_DROPDOWN_ACTIVE_CHILD","Tab","previous","listElement","itemSelector","hiddenEvent","_transitionComplete","dropdownChild","dropdownElement","dropdownToggleList","NAME$a","VERSION$a","DATA_KEY$a","EVENT_KEY$a","JQUERY_NO_CONFLICT$a","EVENT_CLICK_DISMISS$1","EVENT_HIDE$4","EVENT_HIDDEN$4","EVENT_SHOW$4","EVENT_SHOWN$4","CLASS_NAME_FADE$5","CLASS_NAME_HIDE","CLASS_NAME_SHOW$7","CLASS_NAME_SHOWING","DefaultType$7","autohide","Default$7","SELECTOR_DATA_DISMISS$1","Toast","_close","Scrollspy","channels","require","moment","symbolMap","numberMap","pluralForm","plurals","pluralize","weekdaysParseExact","suffixes","plural","forms","relativeTimeWithPlural","standalone","lastDigit","last2Digits","monthsParseExact","relativeTimeWithMutation","specialMutationForYears","lastNumber","softMutation","mutationTable","monthsStrictRegex","monthsShortStrictRegex","fullWeekdaysParse","shortWeekdaysParse","minWeekdaysParse","longMonthsParse","shortMonthsParse","processRelativeTime","lll","llll","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","_calendarEl","monthsShortDot","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eraYearOrdinalRegex","$0","$2","isUpper","ezafeNumSuffix","processFutureTime","eifelerRegelAppliesToNumber","processPastTime","translateSeconds","translateSingular","relativeTimeWithSingular","relativeSeconds","translator","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","translateFuture","translatePast","numberNoun","numberAsNoun","hundred","ten","weekdaysCaseReplace","nominative","accusative","genitive","processHoursFunction","deployNavbar","carouselConcept","carouselConceptCaptions","addSpecsButtons","addSpec","parkingId","addSpecButton","directUploads","previousElementSibling","_event$detail","_event$detail2","smallMapElement","previewMaps","buildMap","_ref2$","mapboxApiKey","addMarkersToMap","initSmallMapbox","previewMap","smallMarkers","slug","backToTop","backToTopButton","scrollFunc","onclick","getUrl","initAutocomplete","addressInput","google","maps","places","Autocomplete","componentRestrictions","country","fields","addListener","initAutocomplete2","initAutocomplete3","initAutocomplete4","initAutocomplete5","initAutocomplete6","closeModal","buttonSearch","filterModal","videoScreenSize","videoWeb","videoInsta","borderVideo","planCardRemove","planCardMobile","planCard","initFlatpickr","flatpickr","French","minTime","maxTime","fp_incr","selectedDates","requestSubmit","currentYear","holiday","dateParts","_flatpickr","fp","l10ns","p2rmSearch","btn","l31","touchMouseIgnoreWait","ignoreMouseDepth","listenerCnt","isWindowTouchMoveCancelled","PointerDragging","subjectEl","handleSelector","shouldIgnoreMove","shouldWatchScroll","isTouchDragging","wasTouchScroll","handleMouseDown","shouldIgnoreMouse","isPrimaryMouseButton","tryStart","createEventFromMouse","initScrollWatch","handleMouseMove","handleMouseUp","recordCoords","cleanup","handleTouchStart","createEventFromTouch","targetEl","handleTouchMove","handleTouchEnd","handleTouchScroll","handleScroll","prevScrollX","prevPageX","prevScrollY","prevPageY","isTouch","deltaX","origPageX","origPageY","onWindowTouchMove","querySubjectEl","downEl","destroyScrollWatch","cancelTouchScroll","isFirst","ElementMirror","isVisible","sourceEl","mirrorEl","sourceElRect","revertDuration","origScreenX","origScreenY","updateElPosition","handleMove","setIsVisible","needsRevertAnimation","doRevertAnimation","finalSourceElRect","getMirrorEl","boxSizing","ScrollGeomCache","scrollController","doesListening","handleScrollChange","origScrollTop","origScrollLeft","clientRect","computeClientRect","ElementScrollGeomCache","WindowScrollGeomCache","AutoScroller","scrollQuery","edgeThreshold","maxVelocity","pointerScreenX","pointerScreenY","isAnimating","scrollCaches","everMovedUp","everMovedDown","everMovedLeft","everMovedRight","edge","computeBestEdge","handleSide","msSinceRequest","requestAnimation","scrollStartEl","buildCaches","yDelta","xDelta","scrollCache","invDistance","velocity","bestSide","leftDist","rightDist","topDist","bottomDist","queryScrollEls","FeaturefulElementDragging","minDistance","touchScrollAllowed","mirrorNeedsRevert","isInteracting","isDelayEnded","isDistanceSurpassed","delayTimeoutId","onPointerDown","pointer","mirror","startDelay","handleDistanceSurpassed","onPointerMove","autoScroller","onPointerUp","tryStopDrag","handleDelayEnd","tryStartDrag","stopDrag","setIgnoreMove","OffsetTracker","origRect","scrollEl","computeLeft","computeTop","isWithinClipping","isIgnoredClipping","HitDragging","dragging","droppableStore","useSubjectCenter","requireInitial","disablePointCheck","initialHit","movingHit","finalHit","handlePointerDown","processFirstCoord","handleDragStart","handleDragMove","handlePointerUp","releaseHits","handleDragEnd","subjectRect","origPoint","adjustedPoint","queryHitForOffset","slicedSubjectRect","coordAdjust","forceHandle","hit","isHitsEqual","offsetTrackers","interactionSettings","offsetLeft","offsetTop","bestHit","offsetTracker","originLeft","originTop","elementFromPoint","componentId","hit0","hit1","buildDatePointApiWithContext","DateClicking","_this$hitDragging","hitDragging","DateSelecting","dragSelection","canSelect","getComponentTouchDelay$1","handleHitUpdate","isFinal","isInvalid","dateSpan0","dateSpan1","joinHitsIntoSelection","EventDragging","subjectSeg","receivingContext","validMutation","mutatedRelevantEvents","origTarget","initialContext","getComponentTouchDelay","fixedMirrorParent","receivingOptions","eventInstanceStart","massagers","massager","computeEventMutation","displayDrag","clearDrag","updatedEventApi","eventChangeArg","eventRemoveArg","draggedEl","addedEventDef","addedEventInstance","addedEventApi","eventAddArg","SELECTOR","nextContext","prevContext","initialCalendar","EventResizing","draggingSegEl","draggingSeg","querySegEl","isFromStart","computeMutation","OPTION_REFINERS","LISTENER_REFINERS","dateClick","eventDragStart","eventDragStop","eventDrop","eventResizeStart","eventResizeStop","drop","eventReceive","eventLeave","dataAttrPrefix","isRecentPointerDateSelect","matchesCancel","matchesEvent","onSelect","selectInfo","onDocumentPointerDown","onDocumentPointerUp","documentPointer","splitSegsByRow","byRow","splitSegsByFirstCol","byCol","splitInteractionByRow","DEFAULT_TABLE_EVENT_TIME_FORMAT","hasListItemDisplay","compileSegs","_this$compileSegs","singlePlacements","invisibleSegs","isForcedInvisible","DEFAULT_WEEK_NUM_FORMAT","rootElRef","dayNumberId","currentEndIncl","currentFirstYear","currentFirstMonth","currentLastYear","currentLastMonth","shouldDisplayMonthStart","renderTopInner","innerElRef","minHeight","showWeekNumber","forceDayTop","fgContentElRef","fgContent","marginTop","moreMarginTop","bgContent","generateSegKey","generateSegUid","computeFgSegPlacement","segHeights","maxContentHeight","hierarchy","segEntry","segUid","hiddenConsumes","segInputs","unknownHeightSegs","_placeRects","allRects","rectsByEachCol","groupRectsByEachCol","singleColPlacements","multiColPlacements","leftoverMargins","currentHeight","currentMarginTop","resliceSeg","absoluteTop","multiPlacements","isFirstCol","placeRects","moreCnts","moreMarginTops","hiddenSpan","spanStart","spanEnd","forceHidden","excludeHidden","touchingEntryId","cellElRefs","frameElRefs","fgElRefs","segHarnessRefs","framePositions","isForced","updateSizing","businessHoursByCol","bgEventSegsByCol","highlightSegsByCol","getHighlightSegs","mirrorSegsByCol","getMirrorSegs","_computeFgSegPlacemen","cell","normalFgNodes","renderFgSegs","mirrorFgNodes","mirrorSegs","colPlacements","topsByInstanceId","buildAbsoluteTopHash","buildMirrorPlacements","showDayNumbers","showWeekNumbers","renderFillSegs","cellMinHeight","prevState","currentProps","segPlacements","leftRightCss","isExternalSizingChange","frameEls","newPositionCache","oldSegHeights","newSegHeights","querySegHeights","limitByContentHeight","computeMaxContentHeight","segElMap","firstKey","fcContainerEl","getCellEls","elMap","splitBusinessHourSegs","splitBgEventSegs","splitFgEventSegs","splitDateSelectionSegs","rowRefs","businessHourSegsByRow","bgEventSegsByRow","fgEventSegsByRow","dateSelectionSegsByRow","eventDragByRow","eventResizeByRow","renderRowIntro","isSegAllDay","firstCellEl","rowPositions","rowObj","colPositions","getCellRange","getCellEl","needsScrollReset","limitViaBalanced","colGroupNode","requestScrollReset","flushScrollReset","getScrollSubjectEl","dayTableModel","slicer","tableRef","headerAlignElRef","timed","DEFAULT_SLAT_LABEL_FORMAT","TimeColsAxisCell","isLabeled","isoTimeStr","labelFormat","slatMetas","slatMeta","allDaySplitter","headerElRef","slatCoords","handleScrollTopRequest","renderHeadAxis","rowKey","frameHeight","renderTableRowAxis","rowHeight","renderAllDayInner","handleSlatCoords","renderSimpleLayout","headerRowContent","timeContent","renderHScrollLayout","ScrollGrid","chunks","contentArg","isNowIndicator","nowIndicatorTop","safeComputeTop","colGroups","getAllDayMaxEventProps","_this$context$options","startOfDayDate","timeMs","computeTimeTop","computeDateTop","slatIndex","slatRemainder","slatCoverage","slatElRefs","onCoords","splitSegsByCol","segsByCol","splitInteractionByCol","renderPlainFgSegs","buildPositioning","hiddenGroups","web","buildNode","cacheable","siblingRange","subjectLevel","subjectLateral","subjectEntry","afterSubject","searchIndex","lateralStart","lateralEnd","findNextLevelSegs","nextLevelRes","buildNodes","nextLevelNodes","buildWeb","topLevelNodes","totalThickness","stretchNode","startCoord","prevThickness","endCoord","allThickness","thicknessFraction","newChildren","childNode","newThickness","stretchWeb","segRects","processNode","stackDepth","stackForward","processNodes","webToRects","cmpDescPressures","extractNode","keyFunc","workFunc","computeSegVCoords","colDate","vcoords","DEFAULT_TIME_FORMAT","isShort","isSelectMirror","interactionAffectedInstances","sortedFgSegs","renderNowIndicator","nowIndicatorSegs","segIsInvisible","forcedKey","renderPositionedFgSegs","_this$context$options2","segVCoords","dumbSegs","_buildPositioning","segRect","dumbSeg","computeFgSegPlacements","renderHiddenGroups","segPlacement","vStyle","computeSegVStyle","hStyle","computeSegHStyle","isInset","hiddenGroup","positionCss","segEntries","segHCoords","shouldOverlap","nearCoord","farCoord","hiddenInstances","splitNowIndicatorSegs","nowIndicatorSegsByRow","updateCoords","onColCoords","processSlotOptions","onScrollTopRequest","handleColCoords","colCoords","onSlatCoords","scrollResponder","_this$processSlotOpti","snapsPerSlot","colIndex","slatTop","slatHeight","partial","snapIndex","dayDate","snapDurationOverride","dayRanges","buildDayRanges","timeColsRef","STOCK_SUB_DURATIONS","buildSlatMetas","explicitLabelInterval","slatTime","slatIterator","labelInterval","slotsPerLabel","computeLabelInterval","metas","buildTimeColsModel","allDaySlot","timeGrid","hasAttachedAxis","hasDetachedAxis","headerContent","timeGridContent","timeGridDay","timeGridWeek","initMapbox","mapElement","popup","infoWindow","validTypes","popupElement","contentElement","firstTouch","getTouches","xDown","yDown","xUp","yUp","xDiff","yDiff","mapPopup","minsOfWalk","routes","route","fitMapToMarkers","fetchAddress","urlFetched","getAndSendAddress","urlAddress","place_name","listenToSearchButton","address","searchZoneButton","searchParams","followParams","pathname","strings","stringsElement","typeSpeed","backSpeed","smartBackspace","shuffle","backDelay","fadeOutClass","fadeOutDelay","loopCount","Infinity","showCursor","cursorChar","autoInsertCss","bindInputFocusEvents","onBegin","onComplete","preStringTyped","onStringTyped","onLastStringBackspaced","onTypingPaused","onTypingResumed","onReset","onStop","onStart","isInput","cursorBlinking","elContent","strPos","currentElContent","getCurrentElContent","sequence","arrayPos","stopNum","curLoop","typewrite","curString","curStrPos","typingComplete","appendCursorAnimationCss","appendFadeOutAnimationCss","typeHtmlChars","backSpaceHtmlChars","toggleBlinking","backspace","replaceText","cursor","insertCursor","shuffleStringsIfNeeded","bindFocusEvents","humanizer","temporaryPause","doneTyping","keepTyping","setPauseStatus","initFadeOut","loadDynamicBannerText","Typed","change_select_options","selectBox","removeAllOptions","Option","vsize","topic1","eventCalendar","frLocale","timeGridPlugin","interactionPlugin","isBrowser","timeoutDuration","longerTimeoutBrowsers","scheduled","functionToCheck","getStyleComputedProperty","getParentNode","getScrollParent","_getStyleComputedProp","getReferenceNode","referenceNode","isIE11","MSInputMethodContext","isIE10","isIE","getOffsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","DOCUMENT_POSITION_FOLLOWING","commonAncestorContainer","element1root","getScroll","upperSide","scrollingElement","getBordersSize","sideA","sideB","getSize","getWindowSizes","_extends","getClientRect","sizes","horizScrollbar","vertScrollbar","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","includeScroll","isFixed","getFixedPositionOffsetParent","getBoundaries","boundaries","excludeScroll","relativeOffset","getViewportOffsetRectRelativeToArtbitraryNode","boundariesNode","_getWindowSizes","isPaddingNumber","computeAutoPlacement","refRect","sortedAreas","filteredAreas","computedPlacement","variation","getReferenceOffsets","getOuterSizes","getOppositePlacement","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","runModifiers","ends","isDestroyed","arrowStyles","flipped","positionFixed","isCreated","isModifierEnabled","modifierName","getSupportedPropertyName","prefixes","upperProp","toCheck","willChange","disableEventListeners","removeOnDestroy","getWindow","attachToScrollParents","scrollParents","isBody","setupEventListeners","updateBound","scrollElement","eventsEnabled","enableEventListeners","isFirefox","isModifierRequired","requestingName","requestedName","requesting","isRequired","_requesting","requested","validPlacements","clockwise","counter","BEHAVIORS","parseOffset","basePlacement","useHeight","frag","divider","splitRegex","mergeWithPrevious","toValue","index2","shiftvariation","_data$offsets","side","shiftOffsets","transformProp","popperStyles","escapeWithReference","secondary","keepTogether","opSide","_data$offsets$arrow","arrowElement","sideCapitalized","altSide","arrowElementSize","popperMarginSide","popperBorderSide","sideValue","placementOpposite","flipOrder","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","getOppositeVariation","inner","subtractLength","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","shouldRound","noRound","referenceWidth","popperWidth","isVariation","horizontalToInteger","verticalToInteger","getRoundedOffsets","prefixedProperty","invertTop","invertLeft","onLoad","modifierOptions","Defaults","Utils","PopperUtils","clearCache","setProgressBarDelay","copyObject","throttle","initEvent","uuid","Location","absoluteURL","requestURL","getOrigin","getPath","getPathComponents","getLastPathComponent","isPrefixedBy","isEqualTo","toCacheKey","HttpRequest","requestCanceled","requestTimedOut","requestFailed","requestLoaded","requestProgressed","NETWORK_FAILURE","TIMEOUT_FAILURE","sent","notifyApplicationBeforeRequestStart","setProgress","requestStarted","lengthComputable","endRequest","requestCompletedWithResponse","failed","requestFailedWithStatusCode","notifyApplicationAfterRequestEnd","onprogress","requestFinished","ProgressBar","trickle","stylesheetElement","createStylesheetElement","progressElement","createProgressElement","defaultCSS","installStylesheetElement","installProgressElement","startTrickling","hiding","fadeProgressElement","uninstallProgressElement","stopTrickling","trickleInterval","BrowserAdapter","showProgressBar","progressBar","visitProposedToLocationWithAction","startVisitToLocationWithAction","visitStarted","issueRequest","changeHistory","loadCachedSnapshot","visitRequestStarted","hasCachedSnapshot","showProgressBarAfterDelay","visitRequestProgressed","visitRequestCompleted","loadResponse","visitRequestFailedWithStatusCode","visitRequestFinished","hideProgressBar","visitCompleted","followRedirect","pageInvalidated","progressBarTimeout","progressBarDelay","History","onPageLoad","onPopState","shouldHandlePopState","turbolinks","restorationIdentifier","historyPoppedToLocationWithRestorationIdentifier","pageLoaded","pageIsLoaded","HeadDetails","tracked","fromHeadElement","hasElementWithKey","getTrackedElementSignature","getScriptElementsNotInDetails","getElementsMatchingTypeNotInDetails","getStylesheetElementsNotInDetails","getProvisionalElements","getMetaValue","findMetaElementByName","Snapshot","headDetails","bodyElement","fromHTMLString","fromHTMLElement","getRootLocation","getSetting","getCacheControlValue","getElementForAnchor","getPermanentElements","getPermanentElementById","getPermanentElementsPresentInSnapshot","findFirstAutofocusableElement","hasAnchor","isPreviewable","isCacheable","isVisitable","Renderer","viewWillRender","newBody","viewRendered","invalidateView","viewInvalidated","createScriptElement","__super__","SnapshotRenderer","currentSnapshot","newSnapshot","isPreview","currentHeadDetails","newHeadDetails","currentBody","shouldRender","mergeHead","replaceBody","focusFirstAutofocusableElement","copyNewHeadStylesheetElements","copyNewHeadScriptElements","removeCurrentHeadProvisionalElements","copyNewHeadProvisionalElements","relocateCurrentBodyPermanentElements","activateNewBodyScriptElements","assignNewBody","replacePlaceholderElementsWithClonedPermanentElements","trackedElementsAreIdentical","getNewHeadStylesheetElements","getNewHeadScriptElements","getCurrentHeadProvisionalElements","getNewHeadProvisionalElements","getCurrentBodyPermanentElements","permanentElement","getNewBodyScriptElements","ErrorRenderer","newHead","replaceHeadAndBody","activateBodyScriptElements","getScriptElements","View","getSnapshot","snapshot","markAsPreview","renderSnapshot","renderError","ScrollManager","onScroll","scrollToElement","scrollToPosition","updatePosition","scrollPositionChanged","SnapshotCache","Visit","performScroll","adapter","timingMetrics","recordTimingMetric","cancelRender","visitFailed","historyChanged","shouldIssueRequest","getCachedSnapshot","getCachedSnapshotForLocation","cacheSnapshot","visitRendered","redirectedToLocation","followedRedirect","replaceHistoryWithLocationAndRestorationIdentifier","scrolled","scrollToRestoredPosition","scrollToTop","scrollToAnchor","restorationData","scrollPosition","getTimingMetrics","snapshotCached","clickBubbled","clickCaptured","scrollManager","startHistory","stopHistory","applicationAllowsVisitingLocation","locationIsVisitable","getRestorationDataForIdentifier","startVisit","pushHistoryWithLocationAndRestorationIdentifier","shouldCacheSnapshot","notifyApplicationBeforeCachingSnapshot","lastRenderedLocation","getCurrentRestorationData","notifyApplicationBeforeRender","currentVisit","notifyApplicationAfterRender","notifyApplicationAfterPageLoad","clickEventIsSignificant","getVisitableLinkForNode","getVisitableLocationForLink","applicationAllowsFollowingLinkToLocation","getActionForLink","notifyApplicationAfterClickingLinkToLocation","notifyApplicationBeforeVisitingLocation","notifyApplicationAfterVisitingLocation","timing","createVisit","nodeIsVisitable","currentScript","sparkMd5","hex_chr","md5cycle","md5blk","md5blks","md5blk_array","md51","tail","md51_array","rhex","hex","toUtf8","unescape","utf8Str2ArrayBuffer","returnUInt8Array","buff","arrayBuffer2Utf8Str","concatenateArrayBuffers","hexToBinaryString","bytes","SparkMD5","targetArray","sourceArray","appendBinary","_buff","_length","hashBinary","fileSlice","File","mozSlice","webkitSlice","FileChecksum","chunkSize","chunkCount","chunkIndex","md5Buffer","fileReader","FileReader","fileReaderDidLoad","fileReaderDidError","readNextChunk","binaryDigest","base64digest","readAsArrayBuffer","toArray$1","eventInit","BlobRecord","checksum","filename","content_type","byte_size","requestDidLoad","requestDidError","direct_upload","directUploadData","_xhr","BlobUpload","_blob$directUploadDat","DirectUpload","DirectUploadController","directUpload","hiddenInput","dispatchError","signed_id","alert","uploadRequestDidProgress","DirectUploadsController","files","createDirectUploadControllers","startNextController","processingAttribute","submitButtonsByForm","didClick","didSubmitForm","didSubmitRemoteElement","handleFormSubmissionEvent","submitForm","autostart","ActiveStorage","webpackEmptyContext","req","clipboard","canShare","desc","detachEvent","attachEvent","print","writeText","share","screenLeft","screenTop","unsafeElements","len2","len3","classListProp","protoProp","elemCtrProto","objCtr","classListGetter","$elem","classListPropDesc","__defineGetter__","testElement","DOMTokenList","_toggle","isEqual","getSelectedOptions","ignoreDisabled","selectedOptions","getSelectValues","$defineProperty","searchString","searchLength","HTMLSelectElement","_set","changedArguments","EventIsSupported","stringSearch","stringTypes","searchSuccess","stringType","normalizeToBase","toInteger","triggerNative","fireEvent","createEventObject","deburredLetters","reLatin","reComboMark","deburrLetter","escaper","testRegexp","replaceRegexp","htmlEscape","keyCodeMap","keyCodes","ESCAPE","ENTER","SPACE","TAB","ARROW_UP","ARROW_DOWN","major","full","dropdown","selectId","DISABLED","DIVIDER","DROPUP","MENU","MENURIGHT","MENULEFT","BUTTONCLASS","POPOVERHEADER","ICONBASE","TICKICON","Selector","elementTemplates","subtext","noResults","checkMark","REGEXP_ARROW","REGEXP_TAB_OR_ESCAPE","generateOption","useFragment","subtextElement","iconElement","textElement","iconBase","label","showNoResults","searchMatch","searchValue","noneResultsText","$menuInner","Selectpicker","$newElement","$button","$menu","selectpicker","main","isSearching","keyHistory","resetKeyHistory","sizeInfo","winPad","windowPadding","deselectAll","Plugin","_option","BootstrapVersion","toUpdate","DEFAULTS","tickIcon","chain","noneSelectedText","countSelectedText","numSelected","numTotal","maxOptionsText","numAll","numGroup","selectAllText","deselectAllText","doneButton","doneButtonText","multipleSeparator","styleBase","selectedTextFormat","hideDisabled","showSubtext","showIcon","showContent","dropupAuto","liveSearch","liveSearchPlaceholder","liveSearchNormalize","liveSearchStyle","actionsBox","showTick","caret","maxOptions","mobile","selectOnTab","dropdownAlignRight","virtualScroll","autofocus","createDropdown","buildData","$searchbox","checkDisabled","clickListener","liveSearchListener","focusedParent","setWidth","selectPosition","isVirtual","menuInner","emptyMenu","valid","buildList","multiselectable","inputGroup","searchbox","actionsbox","donebutton","setPositionData","canHighlight","firstHighlightIndex","dividerHeight","dropdownHeaderHeight","liHeight","posinset","createView","setSize","prevActive","liIndex","selectedData","menuInnerHeight","firstChunk","lastChunk","currentChunk","prevPositions","positionIsDifferent","previousElements","menuIsDifferent","endOfChunk","position0","position1","prevActiveIndex","defocusItem","visibleElements","setOptionStatus","menuFragment","toSanitize","visibleElementsLen","elText","elementData","sanitized","hasScrollBar","menuInnerInnerWidth","totalMenuWidth","selectWidth","actualMenuWidth","newActive","currentActive","focusItem","updateValue","noScroll","liData","noStyle","setPlaceholder","updateIndex","titleOption","selectTitleOption","titleNotAppended","selectedOption","navigation","getEntriesByType","isNotBackForward","defaultSelected","displayedValue","optionSelector","mainData","optID","selectOptions","addDivider","previousData","addOption","inlineStyle","optionClass","optgroupClass","addOptgroup","headerIndex","selectData","mainElements","widestOptionLength","buildElement","liElement","combinedLength","widestOption","findLis","showCount","countMax","placeholderSelected","selectedCount","buttonInner","titleFragment","thisData","titleOptions","totalCount","tr8nText","filterExpand","newStyle","buttonClass","newElement","menu","menuInnerInner","dropdownHeader","firstOption","scrollBarWidth","headerHeight","searchHeight","actionsHeight","doneButtonHeight","outerHeight","menuStyle","menuWidth","menuPadding","vert","horiz","menuExtras","selectHeight","getSelectPosition","containerPos","$window","$container","selectOffsetTop","selectOffsetBot","selectOffsetLeft","selectOffsetRight","setMenuSize","isAuto","menuHeight","_minHeight","menuInnerMinHeight","estimate","isDropup","divHeight","divLength","dropup","$selectClone","btnWidth","outerWidth","$bsContainer","actualHeight","getPlacement","containerPosition","selectedOnly","setDisabled","setSelected","activeIndexIsSet","keepActive","$document","checkPopperExists","hoverLi","hoverData","retainActive","clickedData","clickedIndex","prevValue","prevIndex","prevOption","triggerChange","$option","$optgroup","$optgroupOptions","maxOptionsGrp","maxReached","maxReachedGrp","maxOptionsArr","maxTxt","maxTxtGrp","$notify","isTrusted","previousValue","cacheArr","searchStyle","_searchStyle","normalizeSearch","cacheLen","liPrev","liSelectedIndex","changeAll","previousSelected","currentSelected","liActive","activeLi","isToggle","$items","updateScroll","downOnTab","isArrowKey","liActiveIndex","keydownHandler","$selectpicker","__assign","__spreadArrays","FlatpickrInstance","instanceConfig","getClosestActiveElement","calendarContainer","bindToInstance","setCalendarWidth","daysContainer","daysWidth","weekWrapper","removeProperty","updateTime","defaultDate","latestSelectedDateObj","isKeyDown","isHourElem","hourElement","isMinuteElem","minuteElement","incrementNumInput","timeWrapper","_input","setHoursFromInputs","_debouncedChange","secondElement","limitMinHours","minDateHasTime","limitMaxHours","maxDateHasTime","minBound","maxBound","setHoursFromDate","onYearInput","changeYear","jumpToDate","jumpDate","oldYear","oldMonth","currentMonth","buildMonthSwitch","redraw","timeIncrement","inputElem","createDay","_dayNumber","dateIsEnabled","dayElement","todayDateElem","isDateSelected","selectedDateElem","isDateInRange","focusOnDayElem","targetNode","onMouseOver","getFirstAvailableDay","startMonth","endMonth","focusOnDay","dayFocused","isInView","startElem","givenMonth","loopDelta","numMonthDays","changeMonth","getNextAvailableDay","buildMonthDays","firstOfMonth","prevMonthDays","isMultiMonth","prevMonthDayClass","nextMonthDayClass","dayNumber","dayNum","dayContainer","buildDays","shouldBuildMonth","monthsDropdownContainer","buildMonth","monthElement","monthNavFragment","selectedMonth","yearInput","yearElement","buildMonths","monthNav","prevMonthNav","yearElements","monthElements","nextMonthNav","buildWeekdays","weekdayContainer","updateWeekdays","isOffset","_hidePrevMonthArrow","_hideNextMonthArrow","updateNavigationCurrentMonth","isCalendarElem","documentClick","eventTarget_1","isCalendarElement","lostFocus","isIgnored","timeContainer","newYear","newYearNum","isNewYear","dateToCheck","onBlur","valueChanged","trimEnd","getDateStr","allowKeydown","allowInlineKeydown","isTimeObj","focusAndClose","selectDate","delta_1","currentYearElement","pluginElements","cellClass","hoverDate","rangeStartDate","rangeEndDate","containsDisabled","minRange","maxRange","rContainer","dayElem","outOfRange","onResize","positionCalendar","minMaxDateSetter","inverseDateObj","getInputElem","setupLocale","customPositionElement","_positionElement","calendarHeight","child","calendarWidth","configPos","configPosVertical","configPosHorizontal","inputBounds","distanceFromBottom","showOnTop","isCenter","isRight","rightMost","centerMost","editableSheet","styleSheets","getDocumentStyleSheet","bodyWidth","centerLeft","centerIndex","centerStyle","centerBefore","msMaxTouchPoints","selectedDate","shouldChangeMonth","single","loadedPlugins","_bind","_setHoursFromDate","_positionCalendar","toInitial","mobileInput","_initialDate","_createElement","wasOpen","CALLBACKS","setSelectedDate","updatePositionElement","inputDate","parseDateRules","rule","specificFormat","dObj","mobileFormatStr","onMonthNavClick","isPrevMonth","isNextMonth","boolOpts","userConfig","_enable","timeMode","defaultDateFormat","defaultAltFormat","_minDate","_maxDate","minMaxTimeSetter","_minTime","_maxTime","pluginConf","parseConfig","setupInputs","preloadedDate","setupDates","__hidePrevMonthArrow","__hideNextMonthArrow","innerContainer","buildWeeks","hourInput","minuteInput","military2ampm","secondInput","buildTime","customAppend","setupMobile","debouncedResize","ontouchstart","selText","bindEvents","isSafari","nodeList","HTMLCollection","NodeList","localize","setDefaults","_loop_1","args_1","webpackPolyfill","paths","webpackContext","webpackContextResolve","card1Target","card2Target","resetHints","copiedText","sourceTarget","tempInput","execCommand","containerTarget","hintTargets","hintTarget","setupTabListeners","handleTabClick","clickedLink","abonnementContent","close_row","plans","errorGeolocation","successfulGeolocation","geoLocUrl","parkings","parking","listItem","parkingName","parkingAddress","parkingDoors","doorName","doorNum","phone_entry_1","phone_entry_2","phone_entry_3","phone_exit_1","phone_exit_2","phone_exit_3","doorOpenButtonContainer","doorObj","openButton","callUrl","parkingInactiveMessage","geolocationOptions","outputTarget","handleRowClick","handleContinueBtnClick","toggleModalDisplay","setRowAsSelected","selectedRow","tableRow","selectedParkingRow","updateModalText","paymentAmountFrequency","priceId","subId","modal","submitNewParking","currentSubscription","post","restoreSelectedCheckbox","selectFirstPlanCard","handleP2rmSwitch","initializeAccessCheckboxes","loadSelectedOptions","saveSelectedCheckbox","selectedCheckbox","selectedCheckboxId","singlePaymentInput","p2rmSwitchValue","activateP2rmMode","deactivateP2rmMode","hideP2rmCards","p2rmTarget","normalParts","toggleCardsHiddenState","toggleSingleElementHidden","toggleBadgeCardState","p2rmParts","selectFirstNormalCard","restoreState","restore","card","priceTag","multiPaymentInput","accessCheckboxes","firstElementSelected","secondElementSelected","accessCards","periodSelect","uncheckAll","singleSelect","uncheck","periodTargets","singleTargets","deselect","accessTargets","accessSelect","badgeCard","badgeDetails","badgeChoice","badgeRadioBtn","badgeDatetime","cardsArray","selectorString","domElement","p2rmSwitch","p2rmMode","badgePrice","appliRadioBtn","latAccessConfirmationContinue","appChosen","optionId","saveSelectedOptions","manageOptions","submitFormOption","formOptions","hiddenField","continue","VehiclesController","toggleOtherReasonField","otherReasonField","toggleDetailAddress","radioBoxElement","addressTargets","hideInfoSubscription","infoTargets","showResumeSubscription","resumeTargets","showManageSubscription","manageTargets","hideManageButton","buttonCancelTarget","hideReturnEquipmentButton","returnTarget","showEquipmentReturnMethod","methodsTargets","manageSubscription","showResiliationEnd","selectCancelReason","cancelTargets","selectEquipmentReturnMethod","resiliationEndTargets","showResiliationEnd30J","resiliationEnd30JTargets","submitAutomaticCancelForm","cancelHeaderTarget","submitCancelReason","errorMessage","checkboxes","cancellationProofInput","checkboxChecked","submitReturnMethod","openModal","showModificationOptions","modificationOptionsTargets","buttonModificationTargets","showVehicleOptions","modificationVehicleOptionsTargets","showNewVehicleForm","newVehicleFormTargets","showModificationPlan","submitNewVehicleForm","selectNewPrice","selectedCard","collapse","phone","Stimulus","logicalName","identifierForContextKey","definitionForModuleAndIdentifier","definitionForModuleWithContextAndKey","definitionsFromContext"],"mappings":";aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,E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ACL,CACD8nB,KAAM,QACN9nB,KAAM,WACL,CACD8nB,KAAM,SACN9nB,KAAM,mBACL,CACD8nB,KAAM,SACN9nB,KAAM,aACL,CACD8nB,KAAM,SACN9nB,KAAM,oBACL,CACD8nB,KAAM,SACN9nB,KAAM,kBACL,CACD8nB,KAAM,SACN9nB,KAAM,cACL,CACD8nB,KAAM,SACN9nB,KAAM,WACL,CACD8nB,KAAM,SACN9nB,KAAM,aACL,CACD8nB,KAAM,SACN9nB,KAAM,aACL,CACD8nB,KAAM,UACN9nB,KAAM,eACL,CACD8nB,KAAM,UACN9nB,KAAM,eACL,CACD8nB,KAAM,QACN9nB,KAAM,eACL,CACD8nB,KAAM,QACN9nB,KAAM,qBACL,CACD8nB,KAAM,QACN9nB,KAAM,UACL,CACD8nB,KAAM,SACN9nB,KAAM,eACL,CACD8nB,KAAM,QACN9nB,KAAM,yBACHu2K,GAAG,CAAC,CACPzuJ,KAAM,QACN9nB,KAAM,WACL,CACD8nB,KAAM,QACN9nB,KAAM,WACL,CACD8nB,KAAM,QACN9nB,KAAM,iCACL,CACD8nB,KAAM,QACN9nB,KAAM,kCACL,CACD8nB,KAAM,QACN9nB,KAAM,gCACL,CACD8nB,KAAM,QACN9nB,KAAM,iCACL,CACD8nB,KAAM,QACN9nB,KAAM,yBACL,CACD8nB,KAAM,QACN9nB,KAAM,iCACL,CACD8nB,KAAM,SACN9nB,KAAM,OACL,CACD8nB,KAAM,SACN9nB,KAAM,qBACL,CACD8nB,KAAM,SACN9nB,KAAM,mBACL,CACD8nB,KAAM,SACN9nB,KAAM,6BACL,CACD8nB,KAAM,SACN9nB,KAAM,2BACL,CACD8nB,KAAM,SACN9nB,KAAM,qBACL,CACD8nB,KAAM,SACN9nB,KAAM,mBACL,CACD8nB,KAAM,SACN9nB,KAAM,6BACL,CACD8nB,KAAM,SACN9nB,KAAM,2BACL,CACD8nB,KAAM,SACN9nB,KAAM,gBACL,CACD8nB,KAAM,SACN9nB,KAAM,8BACL,CACD8nB,KAAM,SACN9nB,KAAM,4BACL,CACD8nB,KAAM,SACN9nB,KAAM,mBACL,CACD8nB,KAAM,SACN9nB,KAAM,2BACL,CACD8nB,KAAM,SACN9nB,KAAM,8BACL,CACD8nB,KAAM,SACN9nB,KAAM,eACL,CACD8nB,KAAM,UACN9nB,KAAM,gBACL,CACD8nB,KAAM,UACN6uJ,WAAY,EACZ32K,KAAM,cACL,CACD8nB,KAAM,UACN9nB,KAAM,6BACHu2K,GAAG,CAAC,CACPzuJ,KAAM,UACN9nB,KAAM,aACHu2K,GAAG,CAAC,CACPzuJ,KAAM,QACN9nB,KAAM,KACL,CACD8nB,KAAM,QACN9nB,KAAM,KACL,CACD8nB,KAAM,QACN9nB,KAAM,gCAER,IAAIivL,GAAK,CACL,IAAK,SACL,IAAK,SACL/wH,EAAG,SACH,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,KAAM,SACN,IAAK,SACL,IAAK,SACLV,EAAG,SACH,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,OAAK,SACL,OAAK,SACL,OAAK,SACL,OAAK,SACL,OAAK,SACL,OAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,SACL,SAAK,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AQ,KACR,OAAQ,KACR,OAAQ,KACR,OAAQ,KACR,OAAQ,KAER,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU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BAGN,CAXWs0P,CAAiChpV,EAAQrV,GAAMg7F,EAE1D,CAPmCsjQ,CAAqCjpV,EAASrV,KAAMs1B,QAAO51B,GAASA,GACvG,CDGiB6+V,CAAuBlpV,IACxCqoI,IAAe/yC,WAAWtS,E","file":"js/application-3083121ffdea6bf391a2.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 260);\n","function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nimport * as preact from 'preact';\nimport { Component, createElement, isValidElement, Fragment } from 'preact';\nimport { createPortal } from 'preact/compat';\nconst styleTexts = [];\nconst styleEls = new Map();\nfunction injectStyles(styleText) {\n styleTexts.push(styleText);\n styleEls.forEach(styleEl => {\n appendStylesTo(styleEl, styleText);\n });\n}\nfunction ensureElHasStyles(el) {\n if (el.isConnected &&\n // sometimes true if SSR system simulates DOM\n el.getRootNode // sometimes undefined if SSR system simulates DOM\n ) {\n registerStylesRoot(el.getRootNode());\n }\n}\nfunction registerStylesRoot(rootNode) {\n let styleEl = styleEls.get(rootNode);\n if (!styleEl || !styleEl.isConnected) {\n styleEl = rootNode.querySelector('style[data-fullcalendar]');\n if (!styleEl) {\n styleEl = document.createElement('style');\n styleEl.setAttribute('data-fullcalendar', '');\n const nonce = getNonceValue();\n if (nonce) {\n styleEl.nonce = nonce;\n }\n const parentEl = rootNode === document ? document.head : rootNode;\n const insertBefore = rootNode === document ? parentEl.querySelector('script,link[rel=stylesheet],link[as=style],style') : parentEl.firstChild;\n parentEl.insertBefore(styleEl, insertBefore);\n }\n styleEls.set(rootNode, styleEl);\n hydrateStylesRoot(styleEl);\n }\n}\nfunction hydrateStylesRoot(styleEl) {\n for (const styleText of styleTexts) {\n appendStylesTo(styleEl, styleText);\n }\n}\nfunction appendStylesTo(styleEl, styleText) {\n const sheet = styleEl.sheet;\n const ruleCnt = sheet.cssRules.length;\n styleText.split('}').forEach((styleStr, i) => {\n styleStr = styleStr.trim();\n if (styleStr) {\n sheet.insertRule(styleStr + '}', ruleCnt + i);\n }\n });\n}\n// nonce\n// -------------------------------------------------------------------------------------------------\nlet queriedNonceValue;\nfunction getNonceValue() {\n if (queriedNonceValue === undefined) {\n queriedNonceValue = queryNonceValue();\n }\n return queriedNonceValue;\n}\n/*\nTODO: discourage meta tag and instead put nonce attribute on placeholder \\n\\n`;\nclass UpdatesForElement extends SubscribingElement {\n static get tagName() {\n return \"cable-ready-updates-for\";\n }\n constructor() {\n super();\n const shadowRoot = this.attachShadow({\n mode: \"open\"\n });\n shadowRoot.innerHTML = template;\n this.triggerElementLog = new BoundedQueue(10);\n this.targetElementLog = new BoundedQueue(10);\n this.appearanceObserver = new AppearanceObserver(this);\n this.visible = false;\n this.didTransitionToVisible = false;\n }\n async connectedCallback() {\n if (this.preview) return;\n this.update = debounce(this.update.bind(this), this.debounce);\n const consumer = await CableConsumer.getConsumer();\n if (consumer) {\n this.createSubscription(consumer, \"CableReady::Stream\", this.update);\n } else {\n console.error(\"The `cable_ready_updates_for` helper cannot connect. You must initialize CableReady with an Action Cable consumer.\");\n }\n if (this.observeAppearance) {\n this.appearanceObserver.start();\n }\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.observeAppearance) {\n this.appearanceObserver.stop();\n }\n }\n async update(data) {\n this.lastUpdateTimestamp = new Date();\n const blocks = Array.from(document.querySelectorAll(this.query), element => new Block(element)).filter(block => block.shouldUpdate(data));\n this.triggerElementLog.push(`${new Date().toLocaleString()}: ${Log.request(data, blocks)}`);\n if (blocks.length === 0) {\n this.triggerElementLog.push(`${new Date().toLocaleString()}: ${Log.cancel(this.lastUpdateTimestamp, \"All elements filtered out\")}`);\n return;\n }\n // first element in the DOM *at any given moment* updates all of the others\n // if the element becomes visible though, we have to overrule and load it\n if (blocks[0].element !== this && !this.didTransitionToVisible) {\n this.triggerElementLog.push(`${new Date().toLocaleString()}: ${Log.cancel(this.lastUpdateTimestamp, \"Update already requested\")}`);\n return;\n }\n // hold a reference to the active element so that it can be restored after the morph\n ActiveElement.set(document.activeElement);\n // store all retrieved HTML in an object keyed by URL to minimize fetch calls\n this.html = {};\n const uniqueUrls = [...new Set(blocks.map(block => block.url))];\n await Promise.all(uniqueUrls.map(async url => {\n if (!this.html.hasOwnProperty(url)) {\n const response = await graciouslyFetch(url, {\n \"X-Cable-Ready\": \"update\"\n });\n this.html[url] = await response.text();\n }\n }));\n this.triggerElementLog.push(`${new Date().toLocaleString()}: ${Log.response(this.lastUpdateTimestamp, this, uniqueUrls)}`);\n // track current block index for each URL; referred to as fragments\n this.index = {};\n blocks.forEach(block => {\n // if the block's URL is not in the index, initialize it to 0; otherwise, increment it\n this.index.hasOwnProperty(block.url) ? this.index[block.url]++ : this.index[block.url] = 0;\n block.process(data, this.html, this.index, this.lastUpdateTimestamp);\n });\n }\n appearedInViewport() {\n if (!this.visible) {\n // transition from invisible to visible forces update\n this.didTransitionToVisible = true;\n this.update({});\n }\n this.visible = true;\n }\n disappearedFromViewport() {\n this.visible = false;\n }\n get query() {\n return `${this.tagName}[identifier=\"${this.identifier}\"]`;\n }\n get identifier() {\n return this.getAttribute(\"identifier\");\n }\n get debounce() {\n return this.hasAttribute(\"debounce\") ? parseInt(this.getAttribute(\"debounce\")) : 20;\n }\n get observeAppearance() {\n return this.hasAttribute(\"observe-appearance\");\n }\n}\nclass Block {\n constructor(element) {\n this.element = element;\n }\n async process(data, html, fragmentsIndex, startTimestamp) {\n const blockIndex = fragmentsIndex[this.url];\n const template = document.createElement(\"template\");\n this.element.setAttribute(\"updating\", \"updating\");\n template.innerHTML = String(html[this.url]).trim();\n await this.resolveTurboFrames(template.content);\n const fragments = template.content.querySelectorAll(this.query);\n if (fragments.length <= blockIndex) {\n console.warn(`Update aborted due to insufficient number of elements. The offending url is ${this.url}, the offending element is:`, this.element);\n return;\n }\n const operation = {\n element: this.element,\n html: fragments[blockIndex],\n permanentAttributeName: \"data-ignore-updates\"\n };\n dispatch(this.element, \"cable-ready:before-update\", operation);\n this.element.targetElementLog.push(`${new Date().toLocaleString()}: ${Log.morphStart(startTimestamp, this.element)}`);\n morphdom(this.element, fragments[blockIndex], {\n childrenOnly: true,\n onBeforeElUpdated: shouldMorph(operation),\n onElUpdated: _ => {\n this.element.removeAttribute(\"updating\");\n this.element.didTransitionToVisible = false;\n dispatch(this.element, \"cable-ready:after-update\", operation);\n assignFocus(operation.focusSelector);\n }\n });\n this.element.targetElementLog.push(`${new Date().toLocaleString()}: ${Log.morphEnd(startTimestamp, this.element)}`);\n }\n async resolveTurboFrames(documentFragment) {\n const reloadingTurboFrames = [...documentFragment.querySelectorAll('turbo-frame[src]:not([loading=\"lazy\"])')];\n return Promise.all(reloadingTurboFrames.map(frame => new Promise(async resolve => {\n const frameResponse = await graciouslyFetch(frame.getAttribute(\"src\"), {\n \"Turbo-Frame\": frame.id,\n \"X-Cable-Ready\": \"update\"\n });\n const frameTemplate = document.createElement(\"template\");\n frameTemplate.innerHTML = await frameResponse.text();\n // recurse here to get all nested eager loaded frames\n await this.resolveTurboFrames(frameTemplate.content);\n const selector = `turbo-frame#${frame.id}`;\n const frameContent = frameTemplate.content.querySelector(selector);\n const content = frameContent ? frameContent.innerHTML.trim() : \"\";\n documentFragment.querySelector(selector).innerHTML = content;\n resolve();\n })));\n }\n shouldUpdate(data) {\n // if everything that could prevent an update is false, update this block\n return !this.ignoresInnerUpdates && this.hasChangesSelectedForUpdate(data) && (!this.observeAppearance || this.visible);\n }\n hasChangesSelectedForUpdate(data) {\n // if there's an only attribute, only update if at least one of the attributes changed is in the allow list\n const only = this.element.getAttribute(\"only\");\n return !(only && data.changed && !only.split(\" \").some(attribute => data.changed.includes(attribute)));\n }\n get ignoresInnerUpdates() {\n // don't update during a Reflex or Turbolinks redraw\n return this.element.hasAttribute(\"ignore-inner-updates\") && this.element.hasAttribute(\"performing-inner-update\");\n }\n get url() {\n return this.element.hasAttribute(\"url\") ? this.element.getAttribute(\"url\") : location.href;\n }\n get identifier() {\n return this.element.identifier;\n }\n get query() {\n return this.element.query;\n }\n get visible() {\n return this.element.visible;\n }\n get observeAppearance() {\n return this.element.observeAppearance;\n }\n}\nconst registerInnerUpdates = () => {\n document.addEventListener(\"stimulus-reflex:before\", event => {\n recursiveMarkUpdatesForElements(event.detail.element);\n });\n document.addEventListener(\"stimulus-reflex:after\", event => {\n setTimeout(() => {\n recursiveUnmarkUpdatesForElements(event.detail.element);\n });\n });\n document.addEventListener(\"turbo:submit-start\", event => {\n recursiveMarkUpdatesForElements(event.target);\n });\n document.addEventListener(\"turbo:submit-end\", event => {\n setTimeout(() => {\n recursiveUnmarkUpdatesForElements(event.target);\n });\n });\n document.addEventListener(\"turbo-boost:command:start\", event => {\n recursiveMarkUpdatesForElements(event.target);\n });\n document.addEventListener(\"turbo-boost:command:finish\", event => {\n setTimeout(() => {\n recursiveUnmarkUpdatesForElements(event.target);\n });\n });\n document.addEventListener(\"turbo-boost:command:error\", event => {\n setTimeout(() => {\n recursiveUnmarkUpdatesForElements(event.target);\n });\n });\n};\nconst recursiveMarkUpdatesForElements = leaf => {\n const closestUpdatesFor = leaf && leaf.parentElement && leaf.parentElement.closest(\"cable-ready-updates-for\");\n if (closestUpdatesFor) {\n closestUpdatesFor.setAttribute(\"performing-inner-update\", \"\");\n recursiveMarkUpdatesForElements(closestUpdatesFor);\n }\n};\nconst recursiveUnmarkUpdatesForElements = leaf => {\n const closestUpdatesFor = leaf && leaf.parentElement && leaf.parentElement.closest(\"cable-ready-updates-for\");\n if (closestUpdatesFor) {\n closestUpdatesFor.removeAttribute(\"performing-inner-update\");\n recursiveUnmarkUpdatesForElements(closestUpdatesFor);\n }\n};\nconst defineElements = () => {\n registerInnerUpdates();\n StreamFromElement.define();\n UpdatesForElement.define();\n};\nconst initialize = function () {\n let initializeOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n const consumer = initializeOptions.consumer,\n onMissingElement = initializeOptions.onMissingElement,\n debug = initializeOptions.debug;\n Debug.set(!!debug);\n if (consumer) {\n CableConsumer.setConsumer(consumer);\n } else {\n console.error(\"CableReady requires a reference to your Action Cable `consumer` for its helpers to function.\\nEnsure that you have imported the `CableReady` package as well as `consumer` from your `channels` folder, then call `CableReady.initialize({ consumer })`.\");\n }\n if (onMissingElement) {\n MissingElement.set(onMissingElement);\n }\n defineElements();\n};\nconst global = {\n perform: perform,\n performAsync: performAsync,\n shouldMorphCallbacks: shouldMorphCallbacks,\n didMorphCallbacks: didMorphCallbacks,\n initialize: initialize,\n addOperation: addOperation,\n addOperations: addOperations,\n version: packageInfo.version,\n cable: CableConsumer,\n get DOMOperations() {\n console.warn(\"DEPRECATED: Please use `CableReady.operations` instead of `CableReady.DOMOperations`\");\n return OperationStore.all;\n },\n get operations() {\n return OperationStore.all;\n },\n get consumer() {\n return CableConsumer.consumer;\n }\n};\nwindow.CableReady = global;\nexport { morph_callbacks as MorphCallbacks, StreamFromElement, SubscribingElement, UpdatesForElement, utils as Utils, global as default };","import { int, pad } from \"../utils\";\nvar doNothing = function () {\n return undefined;\n};\nexport var monthToStr = function (monthNumber, shorthand, locale) {\n return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber];\n};\nexport var revFormat = {\n D: doNothing,\n F: function (dateObj, monthName, locale) {\n dateObj.setMonth(locale.months.longhand.indexOf(monthName));\n },\n G: function (dateObj, hour) {\n dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));\n },\n H: function (dateObj, hour) {\n dateObj.setHours(parseFloat(hour));\n },\n J: function (dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n K: function (dateObj, amPM, locale) {\n dateObj.setHours(dateObj.getHours() % 12 + 12 * int(new RegExp(locale.amPM[1], \"i\").test(amPM)));\n },\n M: function (dateObj, shortMonth, locale) {\n dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));\n },\n S: function (dateObj, seconds) {\n dateObj.setSeconds(parseFloat(seconds));\n },\n U: function (_, unixSeconds) {\n return new Date(parseFloat(unixSeconds) * 1000);\n },\n W: function (dateObj, weekNum, locale) {\n var weekNumber = parseInt(weekNum);\n var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);\n date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);\n return date;\n },\n Y: function (dateObj, year) {\n dateObj.setFullYear(parseFloat(year));\n },\n Z: function (_, ISODate) {\n return new Date(ISODate);\n },\n d: function (dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n h: function (dateObj, hour) {\n dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));\n },\n i: function (dateObj, minutes) {\n dateObj.setMinutes(parseFloat(minutes));\n },\n j: function (dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n l: doNothing,\n m: function (dateObj, month) {\n dateObj.setMonth(parseFloat(month) - 1);\n },\n n: function (dateObj, month) {\n dateObj.setMonth(parseFloat(month) - 1);\n },\n s: function (dateObj, seconds) {\n dateObj.setSeconds(parseFloat(seconds));\n },\n u: function (_, unixMillSeconds) {\n return new Date(parseFloat(unixMillSeconds));\n },\n w: doNothing,\n y: function (dateObj, year) {\n dateObj.setFullYear(2000 + parseFloat(year));\n }\n};\nexport var tokenRegex = {\n D: \"\",\n F: \"\",\n G: \"(\\\\d\\\\d|\\\\d)\",\n H: \"(\\\\d\\\\d|\\\\d)\",\n J: \"(\\\\d\\\\d|\\\\d)\\\\w+\",\n K: \"\",\n M: \"\",\n S: \"(\\\\d\\\\d|\\\\d)\",\n U: \"(.+)\",\n W: \"(\\\\d\\\\d|\\\\d)\",\n Y: \"(\\\\d{4})\",\n Z: \"(.+)\",\n d: \"(\\\\d\\\\d|\\\\d)\",\n h: \"(\\\\d\\\\d|\\\\d)\",\n i: \"(\\\\d\\\\d|\\\\d)\",\n j: \"(\\\\d\\\\d|\\\\d)\",\n l: \"\",\n m: \"(\\\\d\\\\d|\\\\d)\",\n n: \"(\\\\d\\\\d|\\\\d)\",\n s: \"(\\\\d\\\\d|\\\\d)\",\n u: \"(.+)\",\n w: \"(\\\\d\\\\d|\\\\d)\",\n y: \"(\\\\d{2})\"\n};\nexport var formats = {\n Z: function (date) {\n return date.toISOString();\n },\n D: function (date, locale, options) {\n return locale.weekdays.shorthand[formats.w(date, locale, options)];\n },\n F: function (date, locale, options) {\n return monthToStr(formats.n(date, locale, options) - 1, false, locale);\n },\n G: function (date, locale, options) {\n return pad(formats.h(date, locale, options));\n },\n H: function (date) {\n return pad(date.getHours());\n },\n J: function (date, locale) {\n return locale.ordinal !== undefined ? date.getDate() + locale.ordinal(date.getDate()) : date.getDate();\n },\n K: function (date, locale) {\n return locale.amPM[int(date.getHours() > 11)];\n },\n M: function (date, locale) {\n return monthToStr(date.getMonth(), true, locale);\n },\n S: function (date) {\n return pad(date.getSeconds());\n },\n U: function (date) {\n return date.getTime() / 1000;\n },\n W: function (date, _, options) {\n return options.getWeek(date);\n },\n Y: function (date) {\n return pad(date.getFullYear(), 4);\n },\n d: function (date) {\n return pad(date.getDate());\n },\n h: function (date) {\n return date.getHours() % 12 ? date.getHours() % 12 : 12;\n },\n i: function (date) {\n return pad(date.getMinutes());\n },\n j: function (date) {\n return date.getDate();\n },\n l: function (date, locale) {\n return locale.weekdays.longhand[date.getDay()];\n },\n m: function (date) {\n return pad(date.getMonth() + 1);\n },\n n: function (date) {\n return date.getMonth() + 1;\n },\n s: function (date) {\n return date.getSeconds();\n },\n u: function (date) {\n return date.getTime();\n },\n w: function (date) {\n return date.getDay();\n },\n y: function (date) {\n return String(date.getFullYear()).substring(2);\n }\n};","define([\"./core\", \"./core/nodeName\", \"./var/arr\", \"./var/document\", \"./var/indexOf\", \"./var/hasOwn\", \"./var/pop\", \"./var/push\", \"./var/slice\", \"./var/sort\", \"./var/splice\", \"./var/whitespace\", \"./var/rtrimCSS\", \"./var/support\",\n// The following utils are attached directly to the jQuery object.\n\"./selector/contains\", \"./selector/escapeSelector\"], function (jQuery, nodeName, arr, document, indexOf, hasOwn, pop, push, slice, sort, splice, whitespace, rtrimCSS, support) {\n \"use strict\";\n\n var preferredDoc = document,\n pushNative = push;\n (function () {\n var i,\n Expr,\n outermostContext,\n sortInput,\n hasDuplicate,\n push = pushNative,\n // Local document vars\n document,\n documentElement,\n documentIsHTML,\n rbuggyQSA,\n matches,\n // Instance-specific data\n expando = jQuery.expando,\n dirruns = 0,\n done = 0,\n classCache = createCache(),\n tokenCache = createCache(),\n compilerCache = createCache(),\n nonnativeSelectorCache = createCache(),\n sortOrder = function (a, b) {\n if (a === b) {\n hasDuplicate = true;\n }\n return 0;\n },\n booleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" + \"loop|multiple|open|readonly|required|scoped\",\n // Regular expressions\n\n // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n identifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n attributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n // Operator (capture 2)\n \"*([*^$|!~]?=)\" + whitespace +\n // \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n \"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace + \"*\\\\]\",\n pseudos = \":(\" + identifier + \")(?:\\\\((\" +\n // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n // 1. quoted (capture 3; capture 4 or capture 5)\n \"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n // 2. simple (capture 6)\n \"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n // 3. anything else (capture 2)\n \".*\" + \")\\\\)|)\",\n // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n rwhitespace = new RegExp(whitespace + \"+\", \"g\"),\n rcomma = new RegExp(\"^\" + whitespace + \"*,\" + whitespace + \"*\"),\n rleadingCombinator = new RegExp(\"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\"),\n rdescend = new RegExp(whitespace + \"|>\"),\n rpseudo = new RegExp(pseudos),\n ridentifier = new RegExp(\"^\" + identifier + \"$\"),\n matchExpr = {\n ID: new RegExp(\"^#(\" + identifier + \")\"),\n CLASS: new RegExp(\"^\\\\.(\" + identifier + \")\"),\n TAG: new RegExp(\"^(\" + identifier + \"|[*])\"),\n ATTR: new RegExp(\"^\" + attributes),\n PSEUDO: new RegExp(\"^\" + pseudos),\n CHILD: new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\"),\n bool: new RegExp(\"^(?:\" + booleans + \")$\", \"i\"),\n // For use in libraries implementing .is()\n // We use this for POS matching in `select`\n needsContext: new RegExp(\"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\")\n },\n rinputs = /^(?:input|select|textarea|button)$/i,\n rheader = /^h\\d$/i,\n // Easily-parseable/retrievable ID or TAG or CLASS selectors\n rquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n rsibling = /[+~]/,\n // CSS escapes\n // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n runescape = new RegExp(\"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\"),\n funescape = function (escape, nonHex) {\n var high = \"0x\" + escape.slice(1) - 0x10000;\n if (nonHex) {\n // Strip the backslash prefix from a non-hex escape sequence\n return nonHex;\n }\n\n // Replace a hexadecimal escape sequence with the encoded Unicode code point\n // Support: IE <=11+\n // For values outside the Basic Multilingual Plane (BMP), manually construct a\n // surrogate pair\n return high < 0 ? String.fromCharCode(high + 0x10000) : String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);\n },\n // Used for iframes; see `setDocument`.\n // Support: IE 9 - 11+, Edge 12 - 18+\n // Removing the function wrapper causes a \"Permission Denied\"\n // error in IE/Edge.\n unloadHandler = function () {\n setDocument();\n },\n inDisabledFieldset = addCombinator(function (elem) {\n return elem.disabled === true && nodeName(elem, \"fieldset\");\n }, {\n dir: \"parentNode\",\n next: \"legend\"\n });\n\n // Support: IE <=9 only\n // Accessing document.activeElement can throw unexpectedly\n // https://bugs.jquery.com/ticket/13393\n function safeActiveElement() {\n try {\n return document.activeElement;\n } catch (err) {}\n }\n\n // Optimize for push.apply( _, NodeList )\n try {\n push.apply(arr = slice.call(preferredDoc.childNodes), preferredDoc.childNodes);\n\n // Support: Android <=4.0\n // Detect silently failing push.apply\n // eslint-disable-next-line no-unused-expressions\n arr[preferredDoc.childNodes.length].nodeType;\n } catch (e) {\n push = {\n apply: function (target, els) {\n pushNative.apply(target, slice.call(els));\n },\n call: function (target) {\n pushNative.apply(target, slice.call(arguments, 1));\n }\n };\n }\n function find(selector, context, results, seed) {\n var m,\n i,\n elem,\n nid,\n match,\n groups,\n newSelector,\n newContext = context && context.ownerDocument,\n // nodeType defaults to 9, since context defaults to document\n nodeType = context ? context.nodeType : 9;\n results = results || [];\n\n // Return early from calls with invalid selector or context\n if (typeof selector !== \"string\" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11) {\n return results;\n }\n\n // Try to shortcut find operations (as opposed to filters) in HTML documents\n if (!seed) {\n setDocument(context);\n context = context || document;\n if (documentIsHTML) {\n // If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n // (excepting DocumentFragment context, where the methods don't exist)\n if (nodeType !== 11 && (match = rquickExpr.exec(selector))) {\n // ID selector\n if (m = match[1]) {\n // Document context\n if (nodeType === 9) {\n if (elem = context.getElementById(m)) {\n // Support: IE 9 only\n // getElementById can match elements by name instead of ID\n if (elem.id === m) {\n push.call(results, elem);\n return results;\n }\n } else {\n return results;\n }\n\n // Element context\n } else {\n // Support: IE 9 only\n // getElementById can match elements by name instead of ID\n if (newContext && (elem = newContext.getElementById(m)) && find.contains(context, elem) && elem.id === m) {\n push.call(results, elem);\n return results;\n }\n }\n\n // Type selector\n } else if (match[2]) {\n push.apply(results, context.getElementsByTagName(selector));\n return results;\n\n // Class selector\n } else if ((m = match[3]) && context.getElementsByClassName) {\n push.apply(results, context.getElementsByClassName(m));\n return results;\n }\n }\n\n // Take advantage of querySelectorAll\n if (!nonnativeSelectorCache[selector + \" \"] && (!rbuggyQSA || !rbuggyQSA.test(selector))) {\n newSelector = selector;\n newContext = context;\n\n // qSA considers elements outside a scoping root when evaluating child or\n // descendant combinators, which is not what we want.\n // In such cases, we work around the behavior by prefixing every selector in the\n // list with an ID selector referencing the scope context.\n // The technique has to be used as well when a leading combinator is used\n // as such selectors are not recognized by querySelectorAll.\n // Thanks to Andrew Dupont for this technique.\n if (nodeType === 1 && (rdescend.test(selector) || rleadingCombinator.test(selector))) {\n // Expand context for sibling selectors\n newContext = rsibling.test(selector) && testContext(context.parentNode) || context;\n\n // We can use :scope instead of the ID hack if the browser\n // supports it & if we're not changing the context.\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when\n // strict-comparing two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (newContext != context || !support.scope) {\n // Capture the context ID, setting it first if necessary\n if (nid = context.getAttribute(\"id\")) {\n nid = jQuery.escapeSelector(nid);\n } else {\n context.setAttribute(\"id\", nid = expando);\n }\n }\n\n // Prefix every selector in the list\n groups = tokenize(selector);\n i = groups.length;\n while (i--) {\n groups[i] = (nid ? \"#\" + nid : \":scope\") + \" \" + toSelector(groups[i]);\n }\n newSelector = groups.join(\",\");\n }\n try {\n push.apply(results, newContext.querySelectorAll(newSelector));\n return results;\n } catch (qsaError) {\n nonnativeSelectorCache(selector, true);\n } finally {\n if (nid === expando) {\n context.removeAttribute(\"id\");\n }\n }\n }\n }\n }\n\n // All others\n return select(selector.replace(rtrimCSS, \"$1\"), context, results, seed);\n }\n\n /**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\n function createCache() {\n var keys = [];\n function cache(key, value) {\n // Use (key + \" \") to avoid collision with native prototype properties\n // (see https://github.com/jquery/sizzle/issues/157)\n if (keys.push(key + \" \") > Expr.cacheLength) {\n // Only keep the most recent entries\n delete cache[keys.shift()];\n }\n return cache[key + \" \"] = value;\n }\n return cache;\n }\n\n /**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */\n function markFunction(fn) {\n fn[expando] = true;\n return fn;\n }\n\n /**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\n function assert(fn) {\n var el = document.createElement(\"fieldset\");\n try {\n return !!fn(el);\n } catch (e) {\n return false;\n } finally {\n // Remove from its parent by default\n if (el.parentNode) {\n el.parentNode.removeChild(el);\n }\n\n // release memory in IE\n el = null;\n }\n }\n\n /**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\n function createInputPseudo(type) {\n return function (elem) {\n return nodeName(elem, \"input\") && elem.type === type;\n };\n }\n\n /**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\n function createButtonPseudo(type) {\n return function (elem) {\n return (nodeName(elem, \"input\") || nodeName(elem, \"button\")) && elem.type === type;\n };\n }\n\n /**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\n function createDisabledPseudo(disabled) {\n // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n return function (elem) {\n // Only certain elements can match :enabled or :disabled\n // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n if (\"form\" in elem) {\n // Check for inherited disabledness on relevant non-disabled elements:\n // * listed form-associated elements in a disabled fieldset\n // https://html.spec.whatwg.org/multipage/forms.html#category-listed\n // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n // * option elements in a disabled optgroup\n // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n // All such elements have a \"form\" property.\n if (elem.parentNode && elem.disabled === false) {\n // Option elements defer to a parent optgroup if present\n if (\"label\" in elem) {\n if (\"label\" in elem.parentNode) {\n return elem.parentNode.disabled === disabled;\n } else {\n return elem.disabled === disabled;\n }\n }\n\n // Support: IE 6 - 11+\n // Use the isDisabled shortcut property to check for disabled fieldset ancestors\n return elem.isDisabled === disabled ||\n // Where there is no isDisabled, check manually\n elem.isDisabled !== !disabled && inDisabledFieldset(elem) === disabled;\n }\n return elem.disabled === disabled;\n\n // Try to winnow out elements that can't be disabled before trusting the disabled property.\n // Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n // even exist on them, let alone have a boolean value.\n } else if (\"label\" in elem) {\n return elem.disabled === disabled;\n }\n\n // Remaining elements are neither :enabled nor :disabled\n return false;\n };\n }\n\n /**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\n function createPositionalPseudo(fn) {\n return markFunction(function (argument) {\n argument = +argument;\n return markFunction(function (seed, matches) {\n var j,\n matchIndexes = fn([], seed.length, argument),\n i = matchIndexes.length;\n\n // Match elements found at the specified indexes\n while (i--) {\n if (seed[j = matchIndexes[i]]) {\n seed[j] = !(matches[j] = seed[j]);\n }\n }\n });\n });\n }\n\n /**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\n function testContext(context) {\n return context && typeof context.getElementsByTagName !== \"undefined\" && context;\n }\n\n /**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\n function setDocument(node) {\n var subWindow,\n doc = node ? node.ownerDocument || node : preferredDoc;\n\n // Return early if doc is invalid or already selected\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (doc == document || doc.nodeType !== 9 || !doc.documentElement) {\n return document;\n }\n\n // Update global variables\n document = doc;\n documentElement = document.documentElement;\n documentIsHTML = !jQuery.isXMLDoc(document);\n\n // Support: iOS 7 only, IE 9 - 11+\n // Older browsers didn't support unprefixed `matches`.\n matches = documentElement.matches || documentElement.webkitMatchesSelector || documentElement.msMatchesSelector;\n\n // Support: IE 9 - 11+, Edge 12 - 18+\n // Accessing iframe documents after unload throws \"permission denied\" errors\n // (see trac-13936).\n // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n if (documentElement.msMatchesSelector &&\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) {\n // Support: IE 9 - 11+, Edge 12 - 18+\n subWindow.addEventListener(\"unload\", unloadHandler);\n }\n\n // Support: IE <10\n // Check if getElementById returns elements by name\n // The broken getElementById methods don't pick up programmatically-set names,\n // so use a roundabout getElementsByName test\n support.getById = assert(function (el) {\n documentElement.appendChild(el).id = jQuery.expando;\n return !document.getElementsByName || !document.getElementsByName(jQuery.expando).length;\n });\n\n // Support: IE 9 only\n // Check to see if it's possible to do matchesSelector\n // on a disconnected node.\n support.disconnectedMatch = assert(function (el) {\n return matches.call(el, \"*\");\n });\n\n // Support: IE 9 - 11+, Edge 12 - 18+\n // IE/Edge don't support the :scope pseudo-class.\n support.scope = assert(function () {\n return document.querySelectorAll(\":scope\");\n });\n\n // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n // Make sure the `:has()` argument is parsed unforgivingly.\n // We include `*` in the test to detect buggy implementations that are\n // _selectively_ forgiving (specifically when the list includes at least\n // one valid selector).\n // Note that we treat complete lack of support for `:has()` as if it were\n // spec-compliant support, which is fine because use of `:has()` in such\n // environments will fail in the qSA path and fall back to jQuery traversal\n // anyway.\n support.cssHas = assert(function () {\n try {\n document.querySelector(\":has(*,:jqfake)\");\n return false;\n } catch (e) {\n return true;\n }\n });\n\n // ID filter and find\n if (support.getById) {\n Expr.filter.ID = function (id) {\n var attrId = id.replace(runescape, funescape);\n return function (elem) {\n return elem.getAttribute(\"id\") === attrId;\n };\n };\n Expr.find.ID = function (id, context) {\n if (typeof context.getElementById !== \"undefined\" && documentIsHTML) {\n var elem = context.getElementById(id);\n return elem ? [elem] : [];\n }\n };\n } else {\n Expr.filter.ID = function (id) {\n var attrId = id.replace(runescape, funescape);\n return function (elem) {\n var node = typeof elem.getAttributeNode !== \"undefined\" && elem.getAttributeNode(\"id\");\n return node && node.value === attrId;\n };\n };\n\n // Support: IE 6 - 7 only\n // getElementById is not reliable as a find shortcut\n Expr.find.ID = function (id, context) {\n if (typeof context.getElementById !== \"undefined\" && documentIsHTML) {\n var node,\n i,\n elems,\n elem = context.getElementById(id);\n if (elem) {\n // Verify the id attribute\n node = elem.getAttributeNode(\"id\");\n if (node && node.value === id) {\n return [elem];\n }\n\n // Fall back on getElementsByName\n elems = context.getElementsByName(id);\n i = 0;\n while (elem = elems[i++]) {\n node = elem.getAttributeNode(\"id\");\n if (node && node.value === id) {\n return [elem];\n }\n }\n }\n return [];\n }\n };\n }\n\n // Tag\n Expr.find.TAG = function (tag, context) {\n if (typeof context.getElementsByTagName !== \"undefined\") {\n return context.getElementsByTagName(tag);\n\n // DocumentFragment nodes don't have gEBTN\n } else {\n return context.querySelectorAll(tag);\n }\n };\n\n // Class\n Expr.find.CLASS = function (className, context) {\n if (typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML) {\n return context.getElementsByClassName(className);\n }\n };\n\n /* QSA/matchesSelector\n ---------------------------------------------------------------------- */\n\n // QSA and matchesSelector support\n\n rbuggyQSA = [];\n\n // Build QSA regex\n // Regex strategy adopted from Diego Perini\n assert(function (el) {\n var input;\n documentElement.appendChild(el).innerHTML = \"\" + \"\" + \"\";\n\n // Support: iOS <=7 - 8 only\n // Boolean attributes and \"value\" are not treated correctly in some XML documents\n if (!el.querySelectorAll(\"[selected]\").length) {\n rbuggyQSA.push(\"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\");\n }\n\n // Support: iOS <=7 - 8 only\n if (!el.querySelectorAll(\"[id~=\" + expando + \"-]\").length) {\n rbuggyQSA.push(\"~=\");\n }\n\n // Support: iOS 8 only\n // https://bugs.webkit.org/show_bug.cgi?id=136851\n // In-page `selector#id sibling-combinator selector` fails\n if (!el.querySelectorAll(\"a#\" + expando + \"+*\").length) {\n rbuggyQSA.push(\".#.+[+~]\");\n }\n\n // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n // In some of the document kinds, these selectors wouldn't work natively.\n // This is probably OK but for backwards compatibility we want to maintain\n // handling them through jQuery traversal in jQuery 3.x.\n if (!el.querySelectorAll(\":checked\").length) {\n rbuggyQSA.push(\":checked\");\n }\n\n // Support: Windows 8 Native Apps\n // The type and name attributes are restricted during .innerHTML assignment\n input = document.createElement(\"input\");\n input.setAttribute(\"type\", \"hidden\");\n el.appendChild(input).setAttribute(\"name\", \"D\");\n\n // Support: IE 9 - 11+\n // IE's :disabled selector does not pick up the children of disabled fieldsets\n // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n // In some of the document kinds, these selectors wouldn't work natively.\n // This is probably OK but for backwards compatibility we want to maintain\n // handling them through jQuery traversal in jQuery 3.x.\n documentElement.appendChild(el).disabled = true;\n if (el.querySelectorAll(\":disabled\").length !== 2) {\n rbuggyQSA.push(\":enabled\", \":disabled\");\n }\n\n // Support: IE 11+, Edge 15 - 18+\n // IE 11/Edge don't find elements on a `[name='']` query in some cases.\n // Adding a temporary attribute to the document before the selection works\n // around the issue.\n // Interestingly, IE 10 & older don't seem to have the issue.\n input = document.createElement(\"input\");\n input.setAttribute(\"name\", \"\");\n el.appendChild(input);\n if (!el.querySelectorAll(\"[name='']\").length) {\n rbuggyQSA.push(\"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" + whitespace + \"*(?:''|\\\"\\\")\");\n }\n });\n if (!support.cssHas) {\n // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n // Our regular `try-catch` mechanism fails to detect natively-unsupported\n // pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n // in browsers that parse the `:has()` argument as a forgiving selector list.\n // https://drafts.csswg.org/selectors/#relational now requires the argument\n // to be parsed unforgivingly, but browsers have not yet fully adjusted.\n rbuggyQSA.push(\":has\");\n }\n rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join(\"|\"));\n\n /* Sorting\n ---------------------------------------------------------------------- */\n\n // Document order sorting\n sortOrder = function (a, b) {\n // Flag for duplicate removal\n if (a === b) {\n hasDuplicate = true;\n return 0;\n }\n\n // Sort on method existence if only one input has compareDocumentPosition\n var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n if (compare) {\n return compare;\n }\n\n // Calculate position if both inputs belong to the same document\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n compare = (a.ownerDocument || a) == (b.ownerDocument || b) ? a.compareDocumentPosition(b) :\n // Otherwise we know they are disconnected\n 1;\n\n // Disconnected nodes\n if (compare & 1 || !support.sortDetached && b.compareDocumentPosition(a) === compare) {\n // Choose the first element that is related to our preferred document\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (a === document || a.ownerDocument == preferredDoc && find.contains(preferredDoc, a)) {\n return -1;\n }\n\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (b === document || b.ownerDocument == preferredDoc && find.contains(preferredDoc, b)) {\n return 1;\n }\n\n // Maintain original order\n return sortInput ? indexOf.call(sortInput, a) - indexOf.call(sortInput, b) : 0;\n }\n return compare & 4 ? -1 : 1;\n };\n return document;\n }\n find.matches = function (expr, elements) {\n return find(expr, null, null, elements);\n };\n find.matchesSelector = function (elem, expr) {\n setDocument(elem);\n if (documentIsHTML && !nonnativeSelectorCache[expr + \" \"] && (!rbuggyQSA || !rbuggyQSA.test(expr))) {\n try {\n var ret = matches.call(elem, expr);\n\n // IE 9's matchesSelector returns false on disconnected nodes\n if (ret || support.disconnectedMatch ||\n // As well, disconnected nodes are said to be in a document\n // fragment in IE 9\n elem.document && elem.document.nodeType !== 11) {\n return ret;\n }\n } catch (e) {\n nonnativeSelectorCache(expr, true);\n }\n }\n return find(expr, document, null, [elem]).length > 0;\n };\n find.contains = function (context, elem) {\n // Set document vars if needed\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if ((context.ownerDocument || context) != document) {\n setDocument(context);\n }\n return jQuery.contains(context, elem);\n };\n find.attr = function (elem, name) {\n // Set document vars if needed\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if ((elem.ownerDocument || elem) != document) {\n setDocument(elem);\n }\n var fn = Expr.attrHandle[name.toLowerCase()],\n // Don't get fooled by Object.prototype properties (see trac-13807)\n val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? fn(elem, name, !documentIsHTML) : undefined;\n if (val !== undefined) {\n return val;\n }\n return elem.getAttribute(name);\n };\n find.error = function (msg) {\n throw new Error(\"Syntax error, unrecognized expression: \" + msg);\n };\n\n /**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\n jQuery.uniqueSort = function (results) {\n var elem,\n duplicates = [],\n j = 0,\n i = 0;\n\n // Unless we *know* we can detect duplicates, assume their presence\n //\n // Support: Android <=4.0+\n // Testing for detecting duplicates is unpredictable so instead assume we can't\n // depend on duplicate detection in all browsers without a stable sort.\n hasDuplicate = !support.sortStable;\n sortInput = !support.sortStable && slice.call(results, 0);\n sort.call(results, sortOrder);\n if (hasDuplicate) {\n while (elem = results[i++]) {\n if (elem === results[i]) {\n j = duplicates.push(i);\n }\n }\n while (j--) {\n splice.call(results, duplicates[j], 1);\n }\n }\n\n // Clear input after sorting to release objects\n // See https://github.com/jquery/sizzle/pull/225\n sortInput = null;\n return results;\n };\n jQuery.fn.uniqueSort = function () {\n return this.pushStack(jQuery.uniqueSort(slice.apply(this)));\n };\n Expr = jQuery.expr = {\n // Can be adjusted by the user\n cacheLength: 50,\n createPseudo: markFunction,\n match: matchExpr,\n attrHandle: {},\n find: {},\n relative: {\n \">\": {\n dir: \"parentNode\",\n first: true\n },\n \" \": {\n dir: \"parentNode\"\n },\n \"+\": {\n dir: \"previousSibling\",\n first: true\n },\n \"~\": {\n dir: \"previousSibling\"\n }\n },\n preFilter: {\n ATTR: function (match) {\n match[1] = match[1].replace(runescape, funescape);\n\n // Move the given value to match[3] whether quoted or unquoted\n match[3] = (match[3] || match[4] || match[5] || \"\").replace(runescape, funescape);\n if (match[2] === \"~=\") {\n match[3] = \" \" + match[3] + \" \";\n }\n return match.slice(0, 4);\n },\n CHILD: function (match) {\n /* matches from matchExpr[\"CHILD\"]\n \t1 type (only|nth|...)\n \t2 what (child|of-type)\n \t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n \t4 xn-component of xn+y argument ([+-]?\\d*n|)\n \t5 sign of xn-component\n \t6 x of xn-component\n \t7 sign of y-component\n \t8 y of y-component\n */\n match[1] = match[1].toLowerCase();\n if (match[1].slice(0, 3) === \"nth\") {\n // nth-* requires argument\n if (!match[3]) {\n find.error(match[0]);\n }\n\n // numeric x and y parameters for Expr.filter.CHILD\n // remember that false/true cast respectively to 0/1\n match[4] = +(match[4] ? match[5] + (match[6] || 1) : 2 * (match[3] === \"even\" || match[3] === \"odd\"));\n match[5] = +(match[7] + match[8] || match[3] === \"odd\");\n\n // other types prohibit arguments\n } else if (match[3]) {\n find.error(match[0]);\n }\n return match;\n },\n PSEUDO: function (match) {\n var excess,\n unquoted = !match[6] && match[2];\n if (matchExpr.CHILD.test(match[0])) {\n return null;\n }\n\n // Accept quoted arguments as-is\n if (match[3]) {\n match[2] = match[4] || match[5] || \"\";\n\n // Strip excess characters from unquoted arguments\n } else if (unquoted && rpseudo.test(unquoted) && (\n // Get excess from tokenize (recursively)\n excess = tokenize(unquoted, true)) && (\n // advance to the next closing parenthesis\n excess = unquoted.indexOf(\")\", unquoted.length - excess) - unquoted.length)) {\n // excess is a negative index\n match[0] = match[0].slice(0, excess);\n match[2] = unquoted.slice(0, excess);\n }\n\n // Return only captures needed by the pseudo filter method (type and argument)\n return match.slice(0, 3);\n }\n },\n filter: {\n TAG: function (nodeNameSelector) {\n var expectedNodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();\n return nodeNameSelector === \"*\" ? function () {\n return true;\n } : function (elem) {\n return nodeName(elem, expectedNodeName);\n };\n },\n CLASS: function (className) {\n var pattern = classCache[className + \" \"];\n return pattern || (pattern = new RegExp(\"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\")) && classCache(className, function (elem) {\n return pattern.test(typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\");\n });\n },\n ATTR: function (name, operator, check) {\n return function (elem) {\n var result = find.attr(elem, name);\n if (result == null) {\n return operator === \"!=\";\n }\n if (!operator) {\n return true;\n }\n result += \"\";\n if (operator === \"=\") {\n return result === check;\n }\n if (operator === \"!=\") {\n return result !== check;\n }\n if (operator === \"^=\") {\n return check && result.indexOf(check) === 0;\n }\n if (operator === \"*=\") {\n return check && result.indexOf(check) > -1;\n }\n if (operator === \"$=\") {\n return check && result.slice(-check.length) === check;\n }\n if (operator === \"~=\") {\n return (\" \" + result.replace(rwhitespace, \" \") + \" \").indexOf(check) > -1;\n }\n if (operator === \"|=\") {\n return result === check || result.slice(0, check.length + 1) === check + \"-\";\n }\n return false;\n };\n },\n CHILD: function (type, what, _argument, first, last) {\n var simple = type.slice(0, 3) !== \"nth\",\n forward = type.slice(-4) !== \"last\",\n ofType = what === \"of-type\";\n return first === 1 && last === 0 ?\n // Shortcut for :nth-*(n)\n function (elem) {\n return !!elem.parentNode;\n } : function (elem, _context, xml) {\n var cache,\n outerCache,\n node,\n nodeIndex,\n start,\n dir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n parent = elem.parentNode,\n name = ofType && elem.nodeName.toLowerCase(),\n useCache = !xml && !ofType,\n diff = false;\n if (parent) {\n // :(first|last|only)-(child|of-type)\n if (simple) {\n while (dir) {\n node = elem;\n while (node = node[dir]) {\n if (ofType ? nodeName(node, name) : node.nodeType === 1) {\n return false;\n }\n }\n\n // Reverse direction for :only-* (if we haven't yet done so)\n start = dir = type === \"only\" && !start && \"nextSibling\";\n }\n return true;\n }\n start = [forward ? parent.firstChild : parent.lastChild];\n\n // non-xml :nth-child(...) stores cache data on `parent`\n if (forward && useCache) {\n // Seek `elem` from a previously-cached index\n outerCache = parent[expando] || (parent[expando] = {});\n cache = outerCache[type] || [];\n nodeIndex = cache[0] === dirruns && cache[1];\n diff = nodeIndex && cache[2];\n node = nodeIndex && parent.childNodes[nodeIndex];\n while (node = ++nodeIndex && node && node[dir] || (\n // Fallback to seeking `elem` from the start\n diff = nodeIndex = 0) || start.pop()) {\n // When found, cache indexes on `parent` and break\n if (node.nodeType === 1 && ++diff && node === elem) {\n outerCache[type] = [dirruns, nodeIndex, diff];\n break;\n }\n }\n } else {\n // Use previously-cached element index if available\n if (useCache) {\n outerCache = elem[expando] || (elem[expando] = {});\n cache = outerCache[type] || [];\n nodeIndex = cache[0] === dirruns && cache[1];\n diff = nodeIndex;\n }\n\n // xml :nth-child(...)\n // or :nth-last-child(...) or :nth(-last)?-of-type(...)\n if (diff === false) {\n // Use the same loop as above to seek `elem` from the start\n while (node = ++nodeIndex && node && node[dir] || (diff = nodeIndex = 0) || start.pop()) {\n if ((ofType ? nodeName(node, name) : node.nodeType === 1) && ++diff) {\n // Cache the index of each encountered element\n if (useCache) {\n outerCache = node[expando] || (node[expando] = {});\n outerCache[type] = [dirruns, diff];\n }\n if (node === elem) {\n break;\n }\n }\n }\n }\n }\n\n // Incorporate the offset, then check against cycle size\n diff -= last;\n return diff === first || diff % first === 0 && diff / first >= 0;\n }\n };\n },\n PSEUDO: function (pseudo, argument) {\n // pseudo-class names are case-insensitive\n // https://www.w3.org/TR/selectors/#pseudo-classes\n // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n // Remember that setFilters inherits from pseudos\n var args,\n fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || find.error(\"unsupported pseudo: \" + pseudo);\n\n // The user may use createPseudo to indicate that\n // arguments are needed to create the filter function\n // just as jQuery does\n if (fn[expando]) {\n return fn(argument);\n }\n\n // But maintain support for old signatures\n if (fn.length > 1) {\n args = [pseudo, pseudo, \"\", argument];\n return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function (seed, matches) {\n var idx,\n matched = fn(seed, argument),\n i = matched.length;\n while (i--) {\n idx = indexOf.call(seed, matched[i]);\n seed[idx] = !(matches[idx] = matched[i]);\n }\n }) : function (elem) {\n return fn(elem, 0, args);\n };\n }\n return fn;\n }\n },\n pseudos: {\n // Potentially complex pseudos\n not: markFunction(function (selector) {\n // Trim the selector passed to compile\n // to avoid treating leading and trailing\n // spaces as combinators\n var input = [],\n results = [],\n matcher = compile(selector.replace(rtrimCSS, \"$1\"));\n return matcher[expando] ? markFunction(function (seed, matches, _context, xml) {\n var elem,\n unmatched = matcher(seed, null, xml, []),\n i = seed.length;\n\n // Match elements unmatched by `matcher`\n while (i--) {\n if (elem = unmatched[i]) {\n seed[i] = !(matches[i] = elem);\n }\n }\n }) : function (elem, _context, xml) {\n input[0] = elem;\n matcher(input, null, xml, results);\n\n // Don't keep the element\n // (see https://github.com/jquery/sizzle/issues/299)\n input[0] = null;\n return !results.pop();\n };\n }),\n has: markFunction(function (selector) {\n return function (elem) {\n return find(selector, elem).length > 0;\n };\n }),\n contains: markFunction(function (text) {\n text = text.replace(runescape, funescape);\n return function (elem) {\n return (elem.textContent || jQuery.text(elem)).indexOf(text) > -1;\n };\n }),\n // \"Whether an element is represented by a :lang() selector\n // is based solely on the element's language value\n // being equal to the identifier C,\n // or beginning with the identifier C immediately followed by \"-\".\n // The matching of C against the element's language value is performed case-insensitively.\n // The identifier C does not have to be a valid language name.\"\n // https://www.w3.org/TR/selectors/#lang-pseudo\n lang: markFunction(function (lang) {\n // lang value must be a valid identifier\n if (!ridentifier.test(lang || \"\")) {\n find.error(\"unsupported lang: \" + lang);\n }\n lang = lang.replace(runescape, funescape).toLowerCase();\n return function (elem) {\n var elemLang;\n do {\n if (elemLang = documentIsHTML ? elem.lang : elem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) {\n elemLang = elemLang.toLowerCase();\n return elemLang === lang || elemLang.indexOf(lang + \"-\") === 0;\n }\n } while ((elem = elem.parentNode) && elem.nodeType === 1);\n return false;\n };\n }),\n // Miscellaneous\n target: function (elem) {\n var hash = window.location && window.location.hash;\n return hash && hash.slice(1) === elem.id;\n },\n root: function (elem) {\n return elem === documentElement;\n },\n focus: function (elem) {\n return elem === safeActiveElement() && document.hasFocus() && !!(elem.type || elem.href || ~elem.tabIndex);\n },\n // Boolean properties\n enabled: createDisabledPseudo(false),\n disabled: createDisabledPseudo(true),\n checked: function (elem) {\n // In CSS3, :checked should return both checked and selected elements\n // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n return nodeName(elem, \"input\") && !!elem.checked || nodeName(elem, \"option\") && !!elem.selected;\n },\n selected: function (elem) {\n // Support: IE <=11+\n // Accessing the selectedIndex property\n // forces the browser to treat the default option as\n // selected when in an optgroup.\n if (elem.parentNode) {\n // eslint-disable-next-line no-unused-expressions\n elem.parentNode.selectedIndex;\n }\n return elem.selected === true;\n },\n // Contents\n empty: function (elem) {\n // https://www.w3.org/TR/selectors/#empty-pseudo\n // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n // but not by others (comment: 8; processing instruction: 7; etc.)\n // nodeType < 6 works because attributes (2) do not appear as children\n for (elem = elem.firstChild; elem; elem = elem.nextSibling) {\n if (elem.nodeType < 6) {\n return false;\n }\n }\n return true;\n },\n parent: function (elem) {\n return !Expr.pseudos.empty(elem);\n },\n // Element/input types\n header: function (elem) {\n return rheader.test(elem.nodeName);\n },\n input: function (elem) {\n return rinputs.test(elem.nodeName);\n },\n button: function (elem) {\n return nodeName(elem, \"input\") && elem.type === \"button\" || nodeName(elem, \"button\");\n },\n text: function (elem) {\n var attr;\n return nodeName(elem, \"input\") && elem.type === \"text\" && (\n // Support: IE <10 only\n // New HTML5 attribute values (e.g., \"search\") appear\n // with elem.type === \"text\"\n (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\");\n },\n // Position-in-collection\n first: createPositionalPseudo(function () {\n return [0];\n }),\n last: createPositionalPseudo(function (_matchIndexes, length) {\n return [length - 1];\n }),\n eq: createPositionalPseudo(function (_matchIndexes, length, argument) {\n return [argument < 0 ? argument + length : argument];\n }),\n even: createPositionalPseudo(function (matchIndexes, length) {\n var i = 0;\n for (; i < length; i += 2) {\n matchIndexes.push(i);\n }\n return matchIndexes;\n }),\n odd: createPositionalPseudo(function (matchIndexes, length) {\n var i = 1;\n for (; i < length; i += 2) {\n matchIndexes.push(i);\n }\n return matchIndexes;\n }),\n lt: createPositionalPseudo(function (matchIndexes, length, argument) {\n var i;\n if (argument < 0) {\n i = argument + length;\n } else if (argument > length) {\n i = length;\n } else {\n i = argument;\n }\n for (; --i >= 0;) {\n matchIndexes.push(i);\n }\n return matchIndexes;\n }),\n gt: createPositionalPseudo(function (matchIndexes, length, argument) {\n var i = argument < 0 ? argument + length : argument;\n for (; ++i < length;) {\n matchIndexes.push(i);\n }\n return matchIndexes;\n })\n }\n };\n Expr.pseudos.nth = Expr.pseudos.eq;\n\n // Add button/input type pseudos\n for (i in {\n radio: true,\n checkbox: true,\n file: true,\n password: true,\n image: true\n }) {\n Expr.pseudos[i] = createInputPseudo(i);\n }\n for (i in {\n submit: true,\n reset: true\n }) {\n Expr.pseudos[i] = createButtonPseudo(i);\n }\n\n // Easy API for creating new setFilters\n function setFilters() {}\n setFilters.prototype = Expr.filters = Expr.pseudos;\n Expr.setFilters = new setFilters();\n function tokenize(selector, parseOnly) {\n var matched,\n match,\n tokens,\n type,\n soFar,\n groups,\n preFilters,\n cached = tokenCache[selector + \" \"];\n if (cached) {\n return parseOnly ? 0 : cached.slice(0);\n }\n soFar = selector;\n groups = [];\n preFilters = Expr.preFilter;\n while (soFar) {\n // Comma and first run\n if (!matched || (match = rcomma.exec(soFar))) {\n if (match) {\n // Don't consume trailing commas as valid\n soFar = soFar.slice(match[0].length) || soFar;\n }\n groups.push(tokens = []);\n }\n matched = false;\n\n // Combinators\n if (match = rleadingCombinator.exec(soFar)) {\n matched = match.shift();\n tokens.push({\n value: matched,\n // Cast descendant combinators to space\n type: match[0].replace(rtrimCSS, \" \")\n });\n soFar = soFar.slice(matched.length);\n }\n\n // Filters\n for (type in Expr.filter) {\n if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] || (match = preFilters[type](match)))) {\n matched = match.shift();\n tokens.push({\n value: matched,\n type: type,\n matches: match\n });\n soFar = soFar.slice(matched.length);\n }\n }\n if (!matched) {\n break;\n }\n }\n\n // Return the length of the invalid excess\n // if we're just parsing\n // Otherwise, throw an error or return tokens\n if (parseOnly) {\n return soFar.length;\n }\n return soFar ? find.error(selector) :\n // Cache the tokens\n tokenCache(selector, groups).slice(0);\n }\n function toSelector(tokens) {\n var i = 0,\n len = tokens.length,\n selector = \"\";\n for (; i < len; i++) {\n selector += tokens[i].value;\n }\n return selector;\n }\n function addCombinator(matcher, combinator, base) {\n var dir = combinator.dir,\n skip = combinator.next,\n key = skip || dir,\n checkNonElements = base && key === \"parentNode\",\n doneName = done++;\n return combinator.first ?\n // Check against closest ancestor/preceding element\n function (elem, context, xml) {\n while (elem = elem[dir]) {\n if (elem.nodeType === 1 || checkNonElements) {\n return matcher(elem, context, xml);\n }\n }\n return false;\n } :\n // Check against all ancestor/preceding elements\n function (elem, context, xml) {\n var oldCache,\n outerCache,\n newCache = [dirruns, doneName];\n\n // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n if (xml) {\n while (elem = elem[dir]) {\n if (elem.nodeType === 1 || checkNonElements) {\n if (matcher(elem, context, xml)) {\n return true;\n }\n }\n }\n } else {\n while (elem = elem[dir]) {\n if (elem.nodeType === 1 || checkNonElements) {\n outerCache = elem[expando] || (elem[expando] = {});\n if (skip && nodeName(elem, skip)) {\n elem = elem[dir] || elem;\n } else if ((oldCache = outerCache[key]) && oldCache[0] === dirruns && oldCache[1] === doneName) {\n // Assign to newCache so results back-propagate to previous elements\n return newCache[2] = oldCache[2];\n } else {\n // Reuse newcache so results back-propagate to previous elements\n outerCache[key] = newCache;\n\n // A match means we're done; a fail means we have to keep checking\n if (newCache[2] = matcher(elem, context, xml)) {\n return true;\n }\n }\n }\n }\n }\n return false;\n };\n }\n function elementMatcher(matchers) {\n return matchers.length > 1 ? function (elem, context, xml) {\n var i = matchers.length;\n while (i--) {\n if (!matchers[i](elem, context, xml)) {\n return false;\n }\n }\n return true;\n } : matchers[0];\n }\n function multipleContexts(selector, contexts, results) {\n var i = 0,\n len = contexts.length;\n for (; i < len; i++) {\n find(selector, contexts[i], results);\n }\n return results;\n }\n function condense(unmatched, map, filter, context, xml) {\n var elem,\n newUnmatched = [],\n i = 0,\n len = unmatched.length,\n mapped = map != null;\n for (; i < len; i++) {\n if (elem = unmatched[i]) {\n if (!filter || filter(elem, context, xml)) {\n newUnmatched.push(elem);\n if (mapped) {\n map.push(i);\n }\n }\n }\n }\n return newUnmatched;\n }\n function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {\n if (postFilter && !postFilter[expando]) {\n postFilter = setMatcher(postFilter);\n }\n if (postFinder && !postFinder[expando]) {\n postFinder = setMatcher(postFinder, postSelector);\n }\n return markFunction(function (seed, results, context, xml) {\n var temp,\n i,\n elem,\n matcherOut,\n preMap = [],\n postMap = [],\n preexisting = results.length,\n // Get initial elements from seed or context\n elems = seed || multipleContexts(selector || \"*\", context.nodeType ? [context] : context, []),\n // Prefilter to get matcher input, preserving a map for seed-results synchronization\n matcherIn = preFilter && (seed || !selector) ? condense(elems, preMap, preFilter, context, xml) : elems;\n if (matcher) {\n // If we have a postFinder, or filtered seed, or non-seed postFilter\n // or preexisting results,\n matcherOut = postFinder || (seed ? preFilter : preexisting || postFilter) ?\n // ...intermediate processing is necessary\n [] :\n // ...otherwise use results directly\n results;\n\n // Find primary matches\n matcher(matcherIn, matcherOut, context, xml);\n } else {\n matcherOut = matcherIn;\n }\n\n // Apply postFilter\n if (postFilter) {\n temp = condense(matcherOut, postMap);\n postFilter(temp, [], context, xml);\n\n // Un-match failing elements by moving them back to matcherIn\n i = temp.length;\n while (i--) {\n if (elem = temp[i]) {\n matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);\n }\n }\n }\n if (seed) {\n if (postFinder || preFilter) {\n if (postFinder) {\n // Get the final matcherOut by condensing this intermediate into postFinder contexts\n temp = [];\n i = matcherOut.length;\n while (i--) {\n if (elem = matcherOut[i]) {\n // Restore matcherIn since elem is not yet a final match\n temp.push(matcherIn[i] = elem);\n }\n }\n postFinder(null, matcherOut = [], temp, xml);\n }\n\n // Move matched elements from seed to results to keep them synchronized\n i = matcherOut.length;\n while (i--) {\n if ((elem = matcherOut[i]) && (temp = postFinder ? indexOf.call(seed, elem) : preMap[i]) > -1) {\n seed[temp] = !(results[temp] = elem);\n }\n }\n }\n\n // Add elements to results, through postFinder if defined\n } else {\n matcherOut = condense(matcherOut === results ? matcherOut.splice(preexisting, matcherOut.length) : matcherOut);\n if (postFinder) {\n postFinder(null, results, matcherOut, xml);\n } else {\n push.apply(results, matcherOut);\n }\n }\n });\n }\n function matcherFromTokens(tokens) {\n var checkContext,\n matcher,\n j,\n len = tokens.length,\n leadingRelative = Expr.relative[tokens[0].type],\n implicitRelative = leadingRelative || Expr.relative[\" \"],\n i = leadingRelative ? 1 : 0,\n // The foundational matcher ensures that elements are reachable from top-level context(s)\n matchContext = addCombinator(function (elem) {\n return elem === checkContext;\n }, implicitRelative, true),\n matchAnyContext = addCombinator(function (elem) {\n return indexOf.call(checkContext, elem) > -1;\n }, implicitRelative, true),\n matchers = [function (elem, context, xml) {\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n var ret = !leadingRelative && (xml || context != outermostContext) || ((checkContext = context).nodeType ? matchContext(elem, context, xml) : matchAnyContext(elem, context, xml));\n\n // Avoid hanging onto element\n // (see https://github.com/jquery/sizzle/issues/299)\n checkContext = null;\n return ret;\n }];\n for (; i < len; i++) {\n if (matcher = Expr.relative[tokens[i].type]) {\n matchers = [addCombinator(elementMatcher(matchers), matcher)];\n } else {\n matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);\n\n // Return special upon seeing a positional matcher\n if (matcher[expando]) {\n // Find the next relative operator (if any) for proper handling\n j = ++i;\n for (; j < len; j++) {\n if (Expr.relative[tokens[j].type]) {\n break;\n }\n }\n return setMatcher(i > 1 && elementMatcher(matchers), i > 1 && toSelector(\n // If the preceding token was a descendant combinator, insert an implicit any-element `*`\n tokens.slice(0, i - 1).concat({\n value: tokens[i - 2].type === \" \" ? \"*\" : \"\"\n })).replace(rtrimCSS, \"$1\"), matcher, i < j && matcherFromTokens(tokens.slice(i, j)), j < len && matcherFromTokens(tokens = tokens.slice(j)), j < len && toSelector(tokens));\n }\n matchers.push(matcher);\n }\n }\n return elementMatcher(matchers);\n }\n function matcherFromGroupMatchers(elementMatchers, setMatchers) {\n var bySet = setMatchers.length > 0,\n byElement = elementMatchers.length > 0,\n superMatcher = function (seed, context, xml, results, outermost) {\n var elem,\n j,\n matcher,\n matchedCount = 0,\n i = \"0\",\n unmatched = seed && [],\n setMatched = [],\n contextBackup = outermostContext,\n // We must always have either seed elements or outermost context\n elems = seed || byElement && Expr.find.TAG(\"*\", outermost),\n // Use integer dirruns iff this is the outermost matcher\n dirrunsUnique = dirruns += contextBackup == null ? 1 : Math.random() || 0.1,\n len = elems.length;\n if (outermost) {\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n outermostContext = context == document || context || outermost;\n }\n\n // Add elements passing elementMatchers directly to results\n // Support: iOS <=7 - 9 only\n // Tolerate NodeList properties (IE: \"length\"; Safari: ) matching\n // elements by id. (see trac-14142)\n for (; i !== len && (elem = elems[i]) != null; i++) {\n if (byElement && elem) {\n j = 0;\n\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (!context && elem.ownerDocument != document) {\n setDocument(elem);\n xml = !documentIsHTML;\n }\n while (matcher = elementMatchers[j++]) {\n if (matcher(elem, context || document, xml)) {\n push.call(results, elem);\n break;\n }\n }\n if (outermost) {\n dirruns = dirrunsUnique;\n }\n }\n\n // Track unmatched elements for set filters\n if (bySet) {\n // They will have gone through all possible matchers\n if (elem = !matcher && elem) {\n matchedCount--;\n }\n\n // Lengthen the array for every element, matched or not\n if (seed) {\n unmatched.push(elem);\n }\n }\n }\n\n // `i` is now the count of elements visited above, and adding it to `matchedCount`\n // makes the latter nonnegative.\n matchedCount += i;\n\n // Apply set filters to unmatched elements\n // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n // equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n // no element matchers and no seed.\n // Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n // case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n // numerically zero.\n if (bySet && i !== matchedCount) {\n j = 0;\n while (matcher = setMatchers[j++]) {\n matcher(unmatched, setMatched, context, xml);\n }\n if (seed) {\n // Reintegrate element matches to eliminate the need for sorting\n if (matchedCount > 0) {\n while (i--) {\n if (!(unmatched[i] || setMatched[i])) {\n setMatched[i] = pop.call(results);\n }\n }\n }\n\n // Discard index placeholder values to get only actual matches\n setMatched = condense(setMatched);\n }\n\n // Add matches to results\n push.apply(results, setMatched);\n\n // Seedless set matches succeeding multiple successful matchers stipulate sorting\n if (outermost && !seed && setMatched.length > 0 && matchedCount + setMatchers.length > 1) {\n jQuery.uniqueSort(results);\n }\n }\n\n // Override manipulation of globals by nested matchers\n if (outermost) {\n dirruns = dirrunsUnique;\n outermostContext = contextBackup;\n }\n return unmatched;\n };\n return bySet ? markFunction(superMatcher) : superMatcher;\n }\n function compile(selector, match /* Internal Use Only */) {\n var i,\n setMatchers = [],\n elementMatchers = [],\n cached = compilerCache[selector + \" \"];\n if (!cached) {\n // Generate a function of recursive functions that can be used to check each element\n if (!match) {\n match = tokenize(selector);\n }\n i = match.length;\n while (i--) {\n cached = matcherFromTokens(match[i]);\n if (cached[expando]) {\n setMatchers.push(cached);\n } else {\n elementMatchers.push(cached);\n }\n }\n\n // Cache the compiled function\n cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));\n\n // Save selector and tokenization\n cached.selector = selector;\n }\n return cached;\n }\n\n /**\n * A low-level selection function that works with jQuery's compiled\n * selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n * selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\n function select(selector, context, results, seed) {\n var i,\n tokens,\n token,\n type,\n find,\n compiled = typeof selector === \"function\" && selector,\n match = !seed && tokenize(selector = compiled.selector || selector);\n results = results || [];\n\n // Try to minimize operations if there is only one selector in the list and no seed\n // (the latter of which guarantees us context)\n if (match.length === 1) {\n // Reduce context if the leading compound selector is an ID\n tokens = match[0] = match[0].slice(0);\n if (tokens.length > 2 && (token = tokens[0]).type === \"ID\" && context.nodeType === 9 && documentIsHTML && Expr.relative[tokens[1].type]) {\n context = (Expr.find.ID(token.matches[0].replace(runescape, funescape), context) || [])[0];\n if (!context) {\n return results;\n\n // Precompiled matchers will still verify ancestry, so step up a level\n } else if (compiled) {\n context = context.parentNode;\n }\n selector = selector.slice(tokens.shift().value.length);\n }\n\n // Fetch a seed set for right-to-left matching\n i = matchExpr.needsContext.test(selector) ? 0 : tokens.length;\n while (i--) {\n token = tokens[i];\n\n // Abort if we hit a combinator\n if (Expr.relative[type = token.type]) {\n break;\n }\n if (find = Expr.find[type]) {\n // Search, expanding context for leading sibling combinators\n if (seed = find(token.matches[0].replace(runescape, funescape), rsibling.test(tokens[0].type) && testContext(context.parentNode) || context)) {\n // If seed is empty or no tokens remain, we can return early\n tokens.splice(i, 1);\n selector = seed.length && toSelector(tokens);\n if (!selector) {\n push.apply(results, seed);\n return results;\n }\n break;\n }\n }\n }\n }\n\n // Compile and execute a filtering function if one is not provided\n // Provide `match` to avoid retokenization if we modified the selector above\n (compiled || compile(selector, match))(seed, context, !documentIsHTML, results, !context || rsibling.test(selector) && testContext(context.parentNode) || context);\n return results;\n }\n\n // One-time assignments\n\n // Support: Android <=4.0 - 4.1+\n // Sort stability\n support.sortStable = expando.split(\"\").sort(sortOrder).join(\"\") === expando;\n\n // Initialize against the default document\n setDocument();\n\n // Support: Android <=4.0 - 4.1+\n // Detached nodes confoundingly follow *each other*\n support.sortDetached = assert(function (el) {\n // Should return 1, but returns 4 (following)\n return el.compareDocumentPosition(document.createElement(\"fieldset\")) & 1;\n });\n jQuery.find = find;\n\n // Deprecated\n jQuery.expr[\":\"] = jQuery.expr.pseudos;\n jQuery.unique = jQuery.uniqueSort;\n\n // These have always been private, but they used to be documented as part of\n // Sizzle so let's maintain them for now for backwards compatibility purposes.\n find.compile = compile;\n find.select = select;\n find.setDocument = setDocument;\n find.tokenize = tokenize;\n find.escape = jQuery.escapeSelector;\n find.getText = jQuery.text;\n find.isXML = jQuery.isXMLDoc;\n find.selectors = jQuery.expr;\n find.support = jQuery.support;\n find.uniqueSort = jQuery.uniqueSort;\n\n /* eslint-enable */\n })();\n});","import { Controller } from '@hotwired/stimulus'\nimport StimulusReflex from 'stimulus_reflex'\n\nexport default class extends Controller {\n connect () {\n StimulusReflex.register(this)\n }\n\n beforeReflex (element, reflex) {\n }\n\n reflexSuccess (element, reflex, error) {\n }\n\n reflexError (element, reflex, error) {\n }\n\n afterReflex (element, reflex) {\n\n const focusElement = this.element.querySelector('[autofocus]')\n if (focusElement) {\n focusElement.focus()\n\n const value = focusElement.value\n focusElement.value = ''\n focusElement.value = value\n }\n }\n}\n","/* Mapbox GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/mapbox/mapbox-gl-js/blob/v1.13.3/LICENSE.txt */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.mapboxgl = factory());\n})(this, function () {\n 'use strict';\n\n /* eslint-disable */\n var shared, worker, mapboxgl;\n // define gets called three times: one for each chunk. we rely on the order\n // they're imported to know which is which\n function define(_, chunk) {\n if (!shared) {\n shared = chunk;\n } else if (!worker) {\n worker = chunk;\n } else {\n var workerBundleString = 'var sharedChunk = {}; (' + shared + ')(sharedChunk); (' + worker + ')(sharedChunk);';\n var sharedChunk = {};\n shared(sharedChunk);\n mapboxgl = chunk(sharedChunk);\n if (typeof window !== 'undefined') {\n mapboxgl.workerUrl = window.URL.createObjectURL(new Blob([workerBundleString], {\n type: 'text/javascript'\n }));\n }\n }\n }\n define([\"exports\"], function (t) {\n \"use strict\";\n\n function e(t, e) {\n return t(e = {\n exports: {}\n }, e.exports), e.exports;\n }\n var r = n;\n function n(t, e, r, n) {\n this.cx = 3 * t, this.bx = 3 * (r - t) - this.cx, this.ax = 1 - this.cx - this.bx, this.cy = 3 * e, this.by = 3 * (n - e) - this.cy, this.ay = 1 - this.cy - this.by, this.p1x = t, this.p1y = n, this.p2x = r, this.p2y = n;\n }\n n.prototype.sampleCurveX = function (t) {\n return ((this.ax * t + this.bx) * t + this.cx) * t;\n }, n.prototype.sampleCurveY = function (t) {\n return ((this.ay * t + this.by) * t + this.cy) * t;\n }, n.prototype.sampleCurveDerivativeX = function (t) {\n return (3 * this.ax * t + 2 * this.bx) * t + this.cx;\n }, n.prototype.solveCurveX = function (t, e) {\n var r, n, i, a, o;\n for (void 0 === e && (e = 1e-6), i = t, o = 0; o < 8; o++) {\n if (a = this.sampleCurveX(i) - t, Math.abs(a) < e) return i;\n var s = this.sampleCurveDerivativeX(i);\n if (Math.abs(s) < 1e-6) break;\n i -= a / s;\n }\n if ((i = t) < (r = 0)) return r;\n if (i > (n = 1)) return n;\n for (; r < n;) {\n if (a = this.sampleCurveX(i), Math.abs(a - t) < e) return i;\n t > a ? r = i : n = i, i = .5 * (n - r) + r;\n }\n return i;\n }, n.prototype.solve = function (t, e) {\n return this.sampleCurveY(this.solveCurveX(t, e));\n };\n var i = a;\n function a(t, e) {\n this.x = t, this.y = e;\n }\n a.prototype = {\n clone: function () {\n return new a(this.x, this.y);\n },\n add: function (t) {\n return this.clone()._add(t);\n },\n sub: function (t) {\n return this.clone()._sub(t);\n },\n multByPoint: function (t) {\n return this.clone()._multByPoint(t);\n },\n divByPoint: function (t) {\n return this.clone()._divByPoint(t);\n },\n mult: function (t) {\n return this.clone()._mult(t);\n },\n div: function (t) {\n return this.clone()._div(t);\n },\n rotate: function (t) {\n return this.clone()._rotate(t);\n },\n rotateAround: function (t, e) {\n return this.clone()._rotateAround(t, e);\n },\n matMult: function (t) {\n return this.clone()._matMult(t);\n },\n unit: function () {\n return this.clone()._unit();\n },\n perp: function () {\n return this.clone()._perp();\n },\n round: function () {\n return this.clone()._round();\n },\n mag: function () {\n return Math.sqrt(this.x * this.x + this.y * this.y);\n },\n equals: function (t) {\n return this.x === t.x && this.y === t.y;\n },\n dist: function (t) {\n return Math.sqrt(this.distSqr(t));\n },\n distSqr: function (t) {\n var e = t.x - this.x,\n r = t.y - this.y;\n return e * e + r * r;\n },\n angle: function () {\n return Math.atan2(this.y, this.x);\n },\n angleTo: function (t) {\n return Math.atan2(this.y - t.y, this.x - t.x);\n },\n angleWith: function (t) {\n return this.angleWithSep(t.x, t.y);\n },\n angleWithSep: function (t, e) {\n return Math.atan2(this.x * e - this.y * t, this.x * t + this.y * e);\n },\n _matMult: function (t) {\n var e = t[2] * this.x + t[3] * this.y;\n return this.x = t[0] * this.x + t[1] * this.y, this.y = e, this;\n },\n _add: function (t) {\n return this.x += t.x, this.y += t.y, this;\n },\n _sub: function (t) {\n return this.x -= t.x, this.y -= t.y, this;\n },\n _mult: function (t) {\n return this.x *= t, this.y *= t, this;\n },\n _div: function (t) {\n return this.x /= t, this.y /= t, this;\n },\n _multByPoint: function (t) {\n return this.x *= t.x, this.y *= t.y, this;\n },\n _divByPoint: function (t) {\n return this.x /= t.x, this.y /= t.y, this;\n },\n _unit: function () {\n return this._div(this.mag()), this;\n },\n _perp: function () {\n var t = this.y;\n return this.y = this.x, this.x = -t, this;\n },\n _rotate: function (t) {\n var e = Math.cos(t),\n r = Math.sin(t),\n n = r * this.x + e * this.y;\n return this.x = e * this.x - r * this.y, this.y = n, this;\n },\n _rotateAround: function (t, e) {\n var r = Math.cos(t),\n n = Math.sin(t),\n i = e.y + n * (this.x - e.x) + r * (this.y - e.y);\n return this.x = e.x + r * (this.x - e.x) - n * (this.y - e.y), this.y = i, this;\n },\n _round: function () {\n return this.x = Math.round(this.x), this.y = Math.round(this.y), this;\n }\n }, a.convert = function (t) {\n return t instanceof a ? t : Array.isArray(t) ? new a(t[0], t[1]) : t;\n };\n var o = \"undefined\" != typeof self ? self : {},\n s = Math.pow(2, 53) - 1;\n function u(t, e, n, i) {\n var a = new r(t, e, n, i);\n return function (t) {\n return a.solve(t);\n };\n }\n var l = u(.25, .1, .25, 1);\n function p(t, e, r) {\n return Math.min(r, Math.max(e, t));\n }\n function c(t, e, r) {\n var n = r - e,\n i = ((t - e) % n + n) % n + e;\n return i === e ? r : i;\n }\n function h(t) {\n for (var e = [], r = arguments.length - 1; r-- > 0;) e[r] = arguments[r + 1];\n for (var n = 0, i = e; n < i.length; n += 1) {\n var a = i[n];\n for (var o in a) t[o] = a[o];\n }\n return t;\n }\n var f = 1;\n function y() {\n return f++;\n }\n function d() {\n return function t(e) {\n return e ? (e ^ 16 * Math.random() >> e / 4).toString(16) : ([1e7] + -[1e3] + -4e3 + -8e3 + -1e11).replace(/[018]/g, t);\n }();\n }\n function m(t) {\n return !!t && /^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t);\n }\n function v(t, e) {\n t.forEach(function (t) {\n e[t] && (e[t] = e[t].bind(e));\n });\n }\n function g(t, e) {\n return -1 !== t.indexOf(e, t.length - e.length);\n }\n function x(t, e, r) {\n var n = {};\n for (var i in t) n[i] = e.call(r || this, t[i], i, t);\n return n;\n }\n function b(t, e, r) {\n var n = {};\n for (var i in t) e.call(r || this, t[i], i, t) && (n[i] = t[i]);\n return n;\n }\n function w(t) {\n return Array.isArray(t) ? t.map(w) : \"object\" == typeof t && t ? x(t, w) : t;\n }\n var _ = {};\n function A(t) {\n _[t] || (\"undefined\" != typeof console && console.warn(t), _[t] = !0);\n }\n function S(t, e, r) {\n return (r.y - t.y) * (e.x - t.x) > (e.y - t.y) * (r.x - t.x);\n }\n function k(t) {\n for (var e = 0, r = 0, n = t.length, i = n - 1, a = void 0, o = void 0; r < n; i = r++) e += ((o = t[i]).x - (a = t[r]).x) * (a.y + o.y);\n return e;\n }\n function I() {\n return \"undefined\" != typeof WorkerGlobalScope && \"undefined\" != typeof self && self instanceof WorkerGlobalScope;\n }\n function z(t) {\n var e = {};\n if (t.replace(/(?:^|(?:\\s*\\,\\s*))([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)(?:\\=(?:([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)|(?:\\\"((?:[^\"\\\\]|\\\\.)*)\\\")))?/g, function (t, r, n, i) {\n var a = n || i;\n return e[r] = !a || a.toLowerCase(), \"\";\n }), e[\"max-age\"]) {\n var r = parseInt(e[\"max-age\"], 10);\n isNaN(r) ? delete e[\"max-age\"] : e[\"max-age\"] = r;\n }\n return e;\n }\n var C = null;\n function E(t) {\n if (null == C) {\n var e = t.navigator ? t.navigator.userAgent : null;\n C = !!t.safari || !(!e || !(/\\b(iPad|iPhone|iPod)\\b/.test(e) || e.match(\"Safari\") && !e.match(\"Chrome\")));\n }\n return C;\n }\n function P(t) {\n try {\n var e = o[t];\n return e.setItem(\"_mapbox_test_\", 1), e.removeItem(\"_mapbox_test_\"), !0;\n } catch (t) {\n return !1;\n }\n }\n var M,\n B,\n T,\n V,\n F = o.performance && o.performance.now ? o.performance.now.bind(o.performance) : Date.now.bind(Date),\n D = o.requestAnimationFrame || o.mozRequestAnimationFrame || o.webkitRequestAnimationFrame || o.msRequestAnimationFrame,\n L = o.cancelAnimationFrame || o.mozCancelAnimationFrame || o.webkitCancelAnimationFrame || o.msCancelAnimationFrame,\n O = {\n now: F,\n frame: function (t) {\n var e = D(t);\n return {\n cancel: function () {\n return L(e);\n }\n };\n },\n getImageData: function (t, e) {\n void 0 === e && (e = 0);\n var r = o.document.createElement(\"canvas\"),\n n = r.getContext(\"2d\");\n if (!n) throw new Error(\"failed to create canvas 2d context\");\n return r.width = t.width, r.height = t.height, n.drawImage(t, 0, 0, t.width, t.height), n.getImageData(-e, -e, t.width + 2 * e, t.height + 2 * e);\n },\n resolveURL: function (t) {\n return M || (M = o.document.createElement(\"a\")), M.href = t, M.href;\n },\n hardwareConcurrency: o.navigator && o.navigator.hardwareConcurrency || 4,\n get devicePixelRatio() {\n return o.devicePixelRatio;\n },\n get prefersReducedMotion() {\n return !!o.matchMedia && (null == B && (B = o.matchMedia(\"(prefers-reduced-motion: reduce)\")), B.matches);\n }\n },\n R = {\n API_URL: \"https://api.mapbox.com\",\n get EVENTS_URL() {\n return this.API_URL ? 0 === this.API_URL.indexOf(\"https://api.mapbox.cn\") ? \"https://events.mapbox.cn/events/v2\" : 0 === this.API_URL.indexOf(\"https://api.mapbox.com\") ? \"https://events.mapbox.com/events/v2\" : null : null;\n },\n FEEDBACK_URL: \"https://apps.mapbox.com/feedback\",\n REQUIRE_ACCESS_TOKEN: !0,\n ACCESS_TOKEN: null,\n MAX_PARALLEL_IMAGE_REQUESTS: 16\n },\n U = {\n supported: !1,\n testSupport: function (t) {\n !j && V && (q ? N(t) : T = t);\n }\n },\n j = !1,\n q = !1;\n function N(t) {\n var e = t.createTexture();\n t.bindTexture(t.TEXTURE_2D, e);\n try {\n if (t.texImage2D(t.TEXTURE_2D, 0, t.RGBA, t.RGBA, t.UNSIGNED_BYTE, V), t.isContextLost()) return;\n U.supported = !0;\n } catch (t) {}\n t.deleteTexture(e), j = !0;\n }\n o.document && ((V = o.document.createElement(\"img\")).onload = function () {\n T && N(T), T = null, q = !0;\n }, V.onerror = function () {\n j = !0, T = null;\n }, V.src = \"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\");\n var K = \"01\",\n G = function (t, e) {\n this._transformRequestFn = t, this._customAccessToken = e, this._createSkuToken();\n };\n function Z(t) {\n return 0 === t.indexOf(\"mapbox:\");\n }\n G.prototype._createSkuToken = function () {\n var t = function () {\n for (var t = \"\", e = 0; e < 10; e++) t += \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\"[Math.floor(62 * Math.random())];\n return {\n token: [\"1\", K, t].join(\"\"),\n tokenExpiresAt: Date.now() + 432e5\n };\n }();\n this._skuToken = t.token, this._skuTokenExpiresAt = t.tokenExpiresAt;\n }, G.prototype._isSkuTokenExpired = function () {\n return Date.now() > this._skuTokenExpiresAt;\n }, G.prototype.transformRequest = function (t, e) {\n return this._transformRequestFn && this._transformRequestFn(t, e) || {\n url: t\n };\n }, G.prototype.normalizeStyleURL = function (t, e) {\n if (!Z(t)) return t;\n var r = Y(t);\n return r.path = \"/styles/v1\" + r.path, this._makeAPIURL(r, this._customAccessToken || e);\n }, G.prototype.normalizeGlyphsURL = function (t, e) {\n if (!Z(t)) return t;\n var r = Y(t);\n return r.path = \"/fonts/v1\" + r.path, this._makeAPIURL(r, this._customAccessToken || e);\n }, G.prototype.normalizeSourceURL = function (t, e) {\n if (!Z(t)) return t;\n var r = Y(t);\n return r.path = \"/v4/\" + r.authority + \".json\", r.params.push(\"secure\"), this._makeAPIURL(r, this._customAccessToken || e);\n }, G.prototype.normalizeSpriteURL = function (t, e, r, n) {\n var i = Y(t);\n return Z(t) ? (i.path = \"/styles/v1\" + i.path + \"/sprite\" + e + r, this._makeAPIURL(i, this._customAccessToken || n)) : (i.path += \"\" + e + r, $(i));\n }, G.prototype.normalizeTileURL = function (t, e) {\n if (this._isSkuTokenExpired() && this._createSkuToken(), t && !Z(t)) return t;\n var r = Y(t);\n r.path = r.path.replace(/(\\.(png|jpg)\\d*)(?=$)/, (O.devicePixelRatio >= 2 || 512 === e ? \"@2x\" : \"\") + (U.supported ? \".webp\" : \"$1\")), r.path = r.path.replace(/^.+\\/v4\\//, \"/\"), r.path = \"/v4\" + r.path;\n var n = this._customAccessToken || function (t) {\n for (var e = 0, r = t; e < r.length; e += 1) {\n var n = r[e].match(/^access_token=(.*)$/);\n if (n) return n[1];\n }\n return null;\n }(r.params) || R.ACCESS_TOKEN;\n return R.REQUIRE_ACCESS_TOKEN && n && this._skuToken && r.params.push(\"sku=\" + this._skuToken), this._makeAPIURL(r, n);\n }, G.prototype.canonicalizeTileURL = function (t, e) {\n var r = Y(t);\n if (!r.path.match(/(^\\/v4\\/)/) || !r.path.match(/\\.[\\w]+$/)) return t;\n var n = \"mapbox://tiles/\";\n n += r.path.replace(\"/v4/\", \"\");\n var i = r.params;\n return e && (i = i.filter(function (t) {\n return !t.match(/^access_token=/);\n })), i.length && (n += \"?\" + i.join(\"&\")), n;\n }, G.prototype.canonicalizeTileset = function (t, e) {\n for (var r = !!e && Z(e), n = [], i = 0, a = t.tiles || []; i < a.length; i += 1) {\n var o = a[i];\n J(o) ? n.push(this.canonicalizeTileURL(o, r)) : n.push(o);\n }\n return n;\n }, G.prototype._makeAPIURL = function (t, e) {\n var r = \"See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes\",\n n = Y(R.API_URL);\n if (t.protocol = n.protocol, t.authority = n.authority, \"http\" === t.protocol) {\n var i = t.params.indexOf(\"secure\");\n i >= 0 && t.params.splice(i, 1);\n }\n if (\"/\" !== n.path && (t.path = \"\" + n.path + t.path), !R.REQUIRE_ACCESS_TOKEN) return $(t);\n if (!(e = e || R.ACCESS_TOKEN)) throw new Error(\"An API access token is required to use Mapbox GL. \" + r);\n if (\"s\" === e[0]) throw new Error(\"Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). \" + r);\n return t.params = t.params.filter(function (t) {\n return -1 === t.indexOf(\"access_token\");\n }), t.params.push(\"access_token=\" + e), $(t);\n };\n var X = /^((https?:)?\\/\\/)?([^\\/]+\\.)?mapbox\\.c(n|om)(\\/|\\?|$)/i;\n function J(t) {\n return X.test(t);\n }\n var H = /^(\\w+):\\/\\/([^/?]*)(\\/[^?]+)?\\??(.+)?/;\n function Y(t) {\n var e = t.match(H);\n if (!e) throw new Error(\"Unable to parse URL object\");\n return {\n protocol: e[1],\n authority: e[2],\n path: e[3] || \"/\",\n params: e[4] ? e[4].split(\"&\") : []\n };\n }\n function $(t) {\n var e = t.params.length ? \"?\" + t.params.join(\"&\") : \"\";\n return t.protocol + \"://\" + t.authority + t.path + e;\n }\n function W(t) {\n if (!t) return null;\n var e = t.split(\".\");\n if (!e || 3 !== e.length) return null;\n try {\n return JSON.parse(decodeURIComponent(o.atob(e[1]).split(\"\").map(function (t) {\n return \"%\" + (\"00\" + t.charCodeAt(0).toString(16)).slice(-2);\n }).join(\"\")));\n } catch (t) {\n return null;\n }\n }\n var Q = function (t) {\n this.type = t, this.anonId = null, this.eventData = {}, this.queue = [], this.pendingRequest = null;\n };\n Q.prototype.getStorageKey = function (t) {\n var e,\n r = W(R.ACCESS_TOKEN);\n return e = r && r.u ? o.btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g, function (t, e) {\n return String.fromCharCode(Number(\"0x\" + e));\n })) : R.ACCESS_TOKEN || \"\", t ? \"mapbox.eventData.\" + t + \":\" + e : \"mapbox.eventData:\" + e;\n }, Q.prototype.fetchEventData = function () {\n var t = P(\"localStorage\"),\n e = this.getStorageKey(),\n r = this.getStorageKey(\"uuid\");\n if (t) try {\n var n = o.localStorage.getItem(e);\n n && (this.eventData = JSON.parse(n));\n var i = o.localStorage.getItem(r);\n i && (this.anonId = i);\n } catch (t) {\n A(\"Unable to read from LocalStorage\");\n }\n }, Q.prototype.saveEventData = function () {\n var t = P(\"localStorage\"),\n e = this.getStorageKey(),\n r = this.getStorageKey(\"uuid\");\n if (t) try {\n o.localStorage.setItem(r, this.anonId), Object.keys(this.eventData).length >= 1 && o.localStorage.setItem(e, JSON.stringify(this.eventData));\n } catch (t) {\n A(\"Unable to write to LocalStorage\");\n }\n }, Q.prototype.processRequests = function (t) {}, Q.prototype.postEvent = function (t, e, r, n) {\n var i = this;\n if (R.EVENTS_URL) {\n var a = Y(R.EVENTS_URL);\n a.params.push(\"access_token=\" + (n || R.ACCESS_TOKEN || \"\"));\n var o = {\n event: this.type,\n created: new Date(t).toISOString(),\n sdkIdentifier: \"mapbox-gl-js\",\n sdkVersion: \"1.13.3\",\n skuId: K,\n userId: this.anonId\n },\n s = e ? h(o, e) : o,\n u = {\n url: $(a),\n headers: {\n \"Content-Type\": \"text/plain\"\n },\n body: JSON.stringify([s])\n };\n this.pendingRequest = wt(u, function (t) {\n i.pendingRequest = null, r(t), i.saveEventData(), i.processRequests(n);\n });\n }\n }, Q.prototype.queueRequest = function (t, e) {\n this.queue.push(t), this.processRequests(e);\n };\n var tt,\n et,\n rt = function (t) {\n function e() {\n t.call(this, \"map.load\"), this.success = {}, this.skuToken = \"\";\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.postMapLoadEvent = function (t, e, r, n) {\n this.skuToken = r;\n var i = !(!n && !R.ACCESS_TOKEN),\n a = Array.isArray(t) && t.some(function (t) {\n return Z(t) || J(t);\n });\n R.EVENTS_URL && i && a && this.queueRequest({\n id: e,\n timestamp: Date.now()\n }, n);\n }, e.prototype.processRequests = function (t) {\n var e = this;\n if (!this.pendingRequest && 0 !== this.queue.length) {\n var r = this.queue.shift(),\n n = r.id,\n i = r.timestamp;\n n && this.success[n] || (this.anonId || this.fetchEventData(), m(this.anonId) || (this.anonId = d()), this.postEvent(i, {\n skuToken: this.skuToken\n }, function (t) {\n t || n && (e.success[n] = !0);\n }, t));\n }\n }, e;\n }(Q),\n nt = new (function (t) {\n function e(e) {\n t.call(this, \"appUserTurnstile\"), this._customAccessToken = e;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.postTurnstileEvent = function (t, e) {\n R.EVENTS_URL && R.ACCESS_TOKEN && Array.isArray(t) && t.some(function (t) {\n return Z(t) || J(t);\n }) && this.queueRequest(Date.now(), e);\n }, e.prototype.processRequests = function (t) {\n var e = this;\n if (!this.pendingRequest && 0 !== this.queue.length) {\n this.anonId && this.eventData.lastSuccess && this.eventData.tokenU || this.fetchEventData();\n var r = W(R.ACCESS_TOKEN),\n n = r ? r.u : R.ACCESS_TOKEN,\n i = n !== this.eventData.tokenU;\n m(this.anonId) || (this.anonId = d(), i = !0);\n var a = this.queue.shift();\n if (this.eventData.lastSuccess) {\n var o = new Date(this.eventData.lastSuccess),\n s = new Date(a),\n u = (a - this.eventData.lastSuccess) / 864e5;\n i = i || u >= 1 || u < -1 || o.getDate() !== s.getDate();\n } else i = !0;\n if (!i) return this.processRequests();\n this.postEvent(a, {\n \"enabled.telemetry\": !1\n }, function (t) {\n t || (e.eventData.lastSuccess = a, e.eventData.tokenU = n);\n }, t);\n }\n }, e;\n }(Q))(),\n it = nt.postTurnstileEvent.bind(nt),\n at = new rt(),\n ot = at.postMapLoadEvent.bind(at),\n st = 500,\n ut = 50;\n function lt() {\n o.caches && !tt && (tt = o.caches.open(\"mapbox-tiles\"));\n }\n function pt(t) {\n var e = t.indexOf(\"?\");\n return e < 0 ? t : t.slice(0, e);\n }\n var ct,\n ht = 1 / 0;\n function ft() {\n return null == ct && (ct = o.OffscreenCanvas && new o.OffscreenCanvas(1, 1).getContext(\"2d\") && \"function\" == typeof o.createImageBitmap), ct;\n }\n var yt = {\n Unknown: \"Unknown\",\n Style: \"Style\",\n Source: \"Source\",\n Tile: \"Tile\",\n Glyphs: \"Glyphs\",\n SpriteImage: \"SpriteImage\",\n SpriteJSON: \"SpriteJSON\",\n Image: \"Image\"\n };\n \"function\" == typeof Object.freeze && Object.freeze(yt);\n var dt = function (t) {\n function e(e, r, n) {\n 401 === r && J(n) && (e += \": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes\"), t.call(this, e), this.status = r, this.url = n, this.name = this.constructor.name, this.message = e;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.toString = function () {\n return this.name + \": \" + this.message + \" (\" + this.status + \"): \" + this.url;\n }, e;\n }(Error),\n mt = I() ? function () {\n return self.worker && self.worker.referrer;\n } : function () {\n return (\"blob:\" === o.location.protocol ? o.parent : o).location.href;\n };\n var vt,\n gt,\n xt = function (t, e) {\n if (!(/^file:/.test(r = t.url) || /^file:/.test(mt()) && !/^\\w+:/.test(r))) {\n if (o.fetch && o.Request && o.AbortController && o.Request.prototype.hasOwnProperty(\"signal\")) return function (t, e) {\n var r,\n n = new o.AbortController(),\n i = new o.Request(t.url, {\n method: t.method || \"GET\",\n body: t.body,\n credentials: t.credentials,\n headers: t.headers,\n referrer: mt(),\n signal: n.signal\n }),\n a = !1,\n s = !1,\n u = (r = i.url).indexOf(\"sku=\") > 0 && J(r);\n \"json\" === t.type && i.headers.set(\"Accept\", \"application/json\");\n var l = function (r, n, a) {\n if (!s) {\n if (r && \"SecurityError\" !== r.message && A(r), n && a) return p(n);\n var l = Date.now();\n o.fetch(i).then(function (r) {\n if (r.ok) {\n var n = u ? r.clone() : null;\n return p(r, n, l);\n }\n return e(new dt(r.statusText, r.status, t.url));\n }).catch(function (t) {\n 20 !== t.code && e(new Error(t.message));\n });\n }\n },\n p = function (r, n, u) {\n (\"arrayBuffer\" === t.type ? r.arrayBuffer() : \"json\" === t.type ? r.json() : r.text()).then(function (t) {\n s || (n && u && function (t, e, r) {\n if (lt(), tt) {\n var n = {\n status: e.status,\n statusText: e.statusText,\n headers: new o.Headers()\n };\n e.headers.forEach(function (t, e) {\n return n.headers.set(e, t);\n });\n var i = z(e.headers.get(\"Cache-Control\") || \"\");\n i[\"no-store\"] || (i[\"max-age\"] && n.headers.set(\"Expires\", new Date(r + 1e3 * i[\"max-age\"]).toUTCString()), new Date(n.headers.get(\"Expires\")).getTime() - r < 42e4 || function (t, e) {\n if (void 0 === et) try {\n new Response(new ReadableStream()), et = !0;\n } catch (t) {\n et = !1;\n }\n et ? e(t.body) : t.blob().then(e);\n }(e, function (e) {\n var r = new o.Response(e, n);\n lt(), tt && tt.then(function (e) {\n return e.put(pt(t.url), r);\n }).catch(function (t) {\n return A(t.message);\n });\n }));\n }\n }(i, n, u), a = !0, e(null, t, r.headers.get(\"Cache-Control\"), r.headers.get(\"Expires\")));\n }).catch(function (t) {\n s || e(new Error(t.message));\n });\n };\n return u ? function (t, e) {\n if (lt(), !tt) return e(null);\n var r = pt(t.url);\n tt.then(function (t) {\n t.match(r).then(function (n) {\n var i = function (t) {\n if (!t) return !1;\n var e = new Date(t.headers.get(\"Expires\") || 0),\n r = z(t.headers.get(\"Cache-Control\") || \"\");\n return e > Date.now() && !r[\"no-cache\"];\n }(n);\n t.delete(r), i && t.put(r, n.clone()), e(null, n, i);\n }).catch(e);\n }).catch(e);\n }(i, l) : l(null, null), {\n cancel: function () {\n s = !0, a || n.abort();\n }\n };\n }(t, e);\n if (I() && self.worker && self.worker.actor) return self.worker.actor.send(\"getResource\", t, e, void 0, !0);\n }\n var r;\n return function (t, e) {\n var r = new o.XMLHttpRequest();\n for (var n in r.open(t.method || \"GET\", t.url, !0), \"arrayBuffer\" === t.type && (r.responseType = \"arraybuffer\"), t.headers) r.setRequestHeader(n, t.headers[n]);\n return \"json\" === t.type && (r.responseType = \"text\", r.setRequestHeader(\"Accept\", \"application/json\")), r.withCredentials = \"include\" === t.credentials, r.onerror = function () {\n e(new Error(r.statusText));\n }, r.onload = function () {\n if ((r.status >= 200 && r.status < 300 || 0 === r.status) && null !== r.response) {\n var n = r.response;\n if (\"json\" === t.type) try {\n n = JSON.parse(r.response);\n } catch (t) {\n return e(t);\n }\n e(null, n, r.getResponseHeader(\"Cache-Control\"), r.getResponseHeader(\"Expires\"));\n } else e(new dt(r.statusText, r.status, t.url));\n }, r.send(t.body), {\n cancel: function () {\n return r.abort();\n }\n };\n }(t, e);\n },\n bt = function (t, e) {\n return xt(h(t, {\n type: \"arrayBuffer\"\n }), e);\n },\n wt = function (t, e) {\n return xt(h(t, {\n method: \"POST\"\n }), e);\n },\n _t = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\";\n vt = [], gt = 0;\n var At = function (t, e) {\n if (U.supported && (t.headers || (t.headers = {}), t.headers.accept = \"image/webp,*/*\"), gt >= R.MAX_PARALLEL_IMAGE_REQUESTS) {\n var r = {\n requestParameters: t,\n callback: e,\n cancelled: !1,\n cancel: function () {\n this.cancelled = !0;\n }\n };\n return vt.push(r), r;\n }\n gt++;\n var n = !1,\n i = function () {\n if (!n) for (n = !0, gt--; vt.length && gt < R.MAX_PARALLEL_IMAGE_REQUESTS;) {\n var t = vt.shift();\n t.cancelled || (t.cancel = At(t.requestParameters, t.callback).cancel);\n }\n },\n a = bt(t, function (t, r, n, a) {\n i(), t ? e(t) : r && (ft() ? function (t, e) {\n var r = new o.Blob([new Uint8Array(t)], {\n type: \"image/png\"\n });\n o.createImageBitmap(r).then(function (t) {\n e(null, t);\n }).catch(function (t) {\n e(new Error(\"Could not load image because of \" + t.message + \". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"));\n });\n }(r, e) : function (t, e, r, n) {\n var i = new o.Image(),\n a = o.URL;\n i.onload = function () {\n e(null, i), a.revokeObjectURL(i.src), i.onload = null, o.requestAnimationFrame(function () {\n i.src = _t;\n });\n }, i.onerror = function () {\n return e(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"));\n };\n var s = new o.Blob([new Uint8Array(t)], {\n type: \"image/png\"\n });\n i.cacheControl = r, i.expires = n, i.src = t.byteLength ? a.createObjectURL(s) : _t;\n }(r, e, n, a));\n });\n return {\n cancel: function () {\n a.cancel(), i();\n }\n };\n };\n function St(t, e, r) {\n r[t] && -1 !== r[t].indexOf(e) || (r[t] = r[t] || [], r[t].push(e));\n }\n function kt(t, e, r) {\n if (r && r[t]) {\n var n = r[t].indexOf(e);\n -1 !== n && r[t].splice(n, 1);\n }\n }\n var It = function (t, e) {\n void 0 === e && (e = {}), h(this, e), this.type = t;\n },\n zt = function (t) {\n function e(e, r) {\n void 0 === r && (r = {}), t.call(this, \"error\", h({\n error: e\n }, r));\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(It),\n Ct = function () {};\n Ct.prototype.on = function (t, e) {\n return this._listeners = this._listeners || {}, St(t, e, this._listeners), this;\n }, Ct.prototype.off = function (t, e) {\n return kt(t, e, this._listeners), kt(t, e, this._oneTimeListeners), this;\n }, Ct.prototype.once = function (t, e) {\n return this._oneTimeListeners = this._oneTimeListeners || {}, St(t, e, this._oneTimeListeners), this;\n }, Ct.prototype.fire = function (t, e) {\n \"string\" == typeof t && (t = new It(t, e || {}));\n var r = t.type;\n if (this.listens(r)) {\n t.target = this;\n for (var n = 0, i = this._listeners && this._listeners[r] ? this._listeners[r].slice() : []; n < i.length; n += 1) i[n].call(this, t);\n for (var a = 0, o = this._oneTimeListeners && this._oneTimeListeners[r] ? this._oneTimeListeners[r].slice() : []; a < o.length; a += 1) {\n var s = o[a];\n kt(r, s, this._oneTimeListeners), s.call(this, t);\n }\n var u = this._eventedParent;\n u && (h(t, \"function\" == typeof this._eventedParentData ? this._eventedParentData() : this._eventedParentData), u.fire(t));\n } else t instanceof zt && console.error(t.error);\n return this;\n }, Ct.prototype.listens = function (t) {\n return this._listeners && this._listeners[t] && this._listeners[t].length > 0 || this._oneTimeListeners && this._oneTimeListeners[t] && this._oneTimeListeners[t].length > 0 || this._eventedParent && this._eventedParent.listens(t);\n }, Ct.prototype.setEventedParent = function (t, e) {\n return this._eventedParent = t, this._eventedParentData = e, this;\n };\n var Et = {\n $version: 8,\n $root: {\n version: {\n required: !0,\n type: \"enum\",\n values: [8]\n },\n name: {\n type: \"string\"\n },\n metadata: {\n type: \"*\"\n },\n center: {\n type: \"array\",\n value: \"number\"\n },\n zoom: {\n type: \"number\"\n },\n bearing: {\n type: \"number\",\n default: 0,\n period: 360,\n units: \"degrees\"\n },\n pitch: {\n type: \"number\",\n default: 0,\n units: \"degrees\"\n },\n light: {\n type: \"light\"\n },\n sources: {\n required: !0,\n type: \"sources\"\n },\n sprite: {\n type: \"string\"\n },\n glyphs: {\n type: \"string\"\n },\n transition: {\n type: \"transition\"\n },\n layers: {\n required: !0,\n type: \"array\",\n value: \"layer\"\n }\n },\n sources: {\n \"*\": {\n type: \"source\"\n }\n },\n source: [\"source_vector\", \"source_raster\", \"source_raster_dem\", \"source_geojson\", \"source_video\", \"source_image\"],\n source_vector: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n vector: {}\n }\n },\n url: {\n type: \"string\"\n },\n tiles: {\n type: \"array\",\n value: \"string\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n default: [-180, -85.051129, 180, 85.051129]\n },\n scheme: {\n type: \"enum\",\n values: {\n xyz: {},\n tms: {}\n },\n default: \"xyz\"\n },\n minzoom: {\n type: \"number\",\n default: 0\n },\n maxzoom: {\n type: \"number\",\n default: 22\n },\n attribution: {\n type: \"string\"\n },\n promoteId: {\n type: \"promoteId\"\n },\n volatile: {\n type: \"boolean\",\n default: !1\n },\n \"*\": {\n type: \"*\"\n }\n },\n source_raster: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n raster: {}\n }\n },\n url: {\n type: \"string\"\n },\n tiles: {\n type: \"array\",\n value: \"string\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n default: [-180, -85.051129, 180, 85.051129]\n },\n minzoom: {\n type: \"number\",\n default: 0\n },\n maxzoom: {\n type: \"number\",\n default: 22\n },\n tileSize: {\n type: \"number\",\n default: 512,\n units: \"pixels\"\n },\n scheme: {\n type: \"enum\",\n values: {\n xyz: {},\n tms: {}\n },\n default: \"xyz\"\n },\n attribution: {\n type: \"string\"\n },\n volatile: {\n type: \"boolean\",\n default: !1\n },\n \"*\": {\n type: \"*\"\n }\n },\n source_raster_dem: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n \"raster-dem\": {}\n }\n },\n url: {\n type: \"string\"\n },\n tiles: {\n type: \"array\",\n value: \"string\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n default: [-180, -85.051129, 180, 85.051129]\n },\n minzoom: {\n type: \"number\",\n default: 0\n },\n maxzoom: {\n type: \"number\",\n default: 22\n },\n tileSize: {\n type: \"number\",\n default: 512,\n units: \"pixels\"\n },\n attribution: {\n type: \"string\"\n },\n encoding: {\n type: \"enum\",\n values: {\n terrarium: {},\n mapbox: {}\n },\n default: \"mapbox\"\n },\n volatile: {\n type: \"boolean\",\n default: !1\n },\n \"*\": {\n type: \"*\"\n }\n },\n source_geojson: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n geojson: {}\n }\n },\n data: {\n type: \"*\"\n },\n maxzoom: {\n type: \"number\",\n default: 18\n },\n attribution: {\n type: \"string\"\n },\n buffer: {\n type: \"number\",\n default: 128,\n maximum: 512,\n minimum: 0\n },\n filter: {\n type: \"*\"\n },\n tolerance: {\n type: \"number\",\n default: .375\n },\n cluster: {\n type: \"boolean\",\n default: !1\n },\n clusterRadius: {\n type: \"number\",\n default: 50,\n minimum: 0\n },\n clusterMaxZoom: {\n type: \"number\"\n },\n clusterMinPoints: {\n type: \"number\"\n },\n clusterProperties: {\n type: \"*\"\n },\n lineMetrics: {\n type: \"boolean\",\n default: !1\n },\n generateId: {\n type: \"boolean\",\n default: !1\n },\n promoteId: {\n type: \"promoteId\"\n }\n },\n source_video: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n video: {}\n }\n },\n urls: {\n required: !0,\n type: \"array\",\n value: \"string\"\n },\n coordinates: {\n required: !0,\n type: \"array\",\n length: 4,\n value: {\n type: \"array\",\n length: 2,\n value: \"number\"\n }\n }\n },\n source_image: {\n type: {\n required: !0,\n type: \"enum\",\n values: {\n image: {}\n }\n },\n url: {\n required: !0,\n type: \"string\"\n },\n coordinates: {\n required: !0,\n type: \"array\",\n length: 4,\n value: {\n type: \"array\",\n length: 2,\n value: \"number\"\n }\n }\n },\n layer: {\n id: {\n type: \"string\",\n required: !0\n },\n type: {\n type: \"enum\",\n values: {\n fill: {},\n line: {},\n symbol: {},\n circle: {},\n heatmap: {},\n \"fill-extrusion\": {},\n raster: {},\n hillshade: {},\n background: {}\n },\n required: !0\n },\n metadata: {\n type: \"*\"\n },\n source: {\n type: \"string\"\n },\n \"source-layer\": {\n type: \"string\"\n },\n minzoom: {\n type: \"number\",\n minimum: 0,\n maximum: 24\n },\n maxzoom: {\n type: \"number\",\n minimum: 0,\n maximum: 24\n },\n filter: {\n type: \"filter\"\n },\n layout: {\n type: \"layout\"\n },\n paint: {\n type: \"paint\"\n }\n },\n layout: [\"layout_fill\", \"layout_line\", \"layout_circle\", \"layout_heatmap\", \"layout_fill-extrusion\", \"layout_symbol\", \"layout_raster\", \"layout_hillshade\", \"layout_background\"],\n layout_background: {\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_fill: {\n \"fill-sort-key\": {\n type: \"number\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_circle: {\n \"circle-sort-key\": {\n type: \"number\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_heatmap: {\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n \"layout_fill-extrusion\": {\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_line: {\n \"line-cap\": {\n type: \"enum\",\n values: {\n butt: {},\n round: {},\n square: {}\n },\n default: \"butt\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-join\": {\n type: \"enum\",\n values: {\n bevel: {},\n round: {},\n miter: {}\n },\n default: \"miter\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-miter-limit\": {\n type: \"number\",\n default: 2,\n requires: [{\n \"line-join\": \"miter\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-round-limit\": {\n type: \"number\",\n default: 1.05,\n requires: [{\n \"line-join\": \"round\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-sort-key\": {\n type: \"number\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_symbol: {\n \"symbol-placement\": {\n type: \"enum\",\n values: {\n point: {},\n line: {},\n \"line-center\": {}\n },\n default: \"point\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"symbol-spacing\": {\n type: \"number\",\n default: 250,\n minimum: 1,\n units: \"pixels\",\n requires: [{\n \"symbol-placement\": \"line\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"symbol-avoid-edges\": {\n type: \"boolean\",\n default: !1,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"symbol-sort-key\": {\n type: \"number\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"symbol-z-order\": {\n type: \"enum\",\n values: {\n auto: {},\n \"viewport-y\": {},\n source: {}\n },\n default: \"auto\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-allow-overlap\": {\n type: \"boolean\",\n default: !1,\n requires: [\"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-ignore-placement\": {\n type: \"boolean\",\n default: !1,\n requires: [\"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-optional\": {\n type: \"boolean\",\n default: !1,\n requires: [\"icon-image\", \"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-rotation-alignment\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {},\n auto: {}\n },\n default: \"auto\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-size\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n units: \"factor of the original icon size\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-text-fit\": {\n type: \"enum\",\n values: {\n none: {},\n width: {},\n height: {},\n both: {}\n },\n default: \"none\",\n requires: [\"icon-image\", \"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-text-fit-padding\": {\n type: \"array\",\n value: \"number\",\n length: 4,\n default: [0, 0, 0, 0],\n units: \"pixels\",\n requires: [\"icon-image\", \"text-field\", {\n \"icon-text-fit\": [\"both\", \"width\", \"height\"]\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-image\": {\n type: \"resolvedImage\",\n tokens: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-rotate\": {\n type: \"number\",\n default: 0,\n period: 360,\n units: \"degrees\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-padding\": {\n type: \"number\",\n default: 2,\n minimum: 0,\n units: \"pixels\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-keep-upright\": {\n type: \"boolean\",\n default: !1,\n requires: [\"icon-image\", {\n \"icon-rotation-alignment\": \"map\"\n }, {\n \"symbol-placement\": [\"line\", \"line-center\"]\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-offset\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-anchor\": {\n type: \"enum\",\n values: {\n center: {},\n left: {},\n right: {},\n top: {},\n bottom: {},\n \"top-left\": {},\n \"top-right\": {},\n \"bottom-left\": {},\n \"bottom-right\": {}\n },\n default: \"center\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-pitch-alignment\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {},\n auto: {}\n },\n default: \"auto\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-pitch-alignment\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {},\n auto: {}\n },\n default: \"auto\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-rotation-alignment\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {},\n auto: {}\n },\n default: \"auto\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-field\": {\n type: \"formatted\",\n default: \"\",\n tokens: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-font\": {\n type: \"array\",\n value: \"string\",\n default: [\"Open Sans Regular\", \"Arial Unicode MS Regular\"],\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-size\": {\n type: \"number\",\n default: 16,\n minimum: 0,\n units: \"pixels\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-max-width\": {\n type: \"number\",\n default: 10,\n minimum: 0,\n units: \"ems\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-line-height\": {\n type: \"number\",\n default: 1.2,\n units: \"ems\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-letter-spacing\": {\n type: \"number\",\n default: 0,\n units: \"ems\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-justify\": {\n type: \"enum\",\n values: {\n auto: {},\n left: {},\n center: {},\n right: {}\n },\n default: \"center\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-radial-offset\": {\n type: \"number\",\n units: \"ems\",\n default: 0,\n requires: [\"text-field\"],\n \"property-type\": \"data-driven\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n }\n },\n \"text-variable-anchor\": {\n type: \"array\",\n value: \"enum\",\n values: {\n center: {},\n left: {},\n right: {},\n top: {},\n bottom: {},\n \"top-left\": {},\n \"top-right\": {},\n \"bottom-left\": {},\n \"bottom-right\": {}\n },\n requires: [\"text-field\", {\n \"symbol-placement\": [\"point\"]\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-anchor\": {\n type: \"enum\",\n values: {\n center: {},\n left: {},\n right: {},\n top: {},\n bottom: {},\n \"top-left\": {},\n \"top-right\": {},\n \"bottom-left\": {},\n \"bottom-right\": {}\n },\n default: \"center\",\n requires: [\"text-field\", {\n \"!\": \"text-variable-anchor\"\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-max-angle\": {\n type: \"number\",\n default: 45,\n units: \"degrees\",\n requires: [\"text-field\", {\n \"symbol-placement\": [\"line\", \"line-center\"]\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-writing-mode\": {\n type: \"array\",\n value: \"enum\",\n values: {\n horizontal: {},\n vertical: {}\n },\n requires: [\"text-field\", {\n \"symbol-placement\": [\"point\"]\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-rotate\": {\n type: \"number\",\n default: 0,\n period: 360,\n units: \"degrees\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-padding\": {\n type: \"number\",\n default: 2,\n minimum: 0,\n units: \"pixels\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-keep-upright\": {\n type: \"boolean\",\n default: !0,\n requires: [\"text-field\", {\n \"text-rotation-alignment\": \"map\"\n }, {\n \"symbol-placement\": [\"line\", \"line-center\"]\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-transform\": {\n type: \"enum\",\n values: {\n none: {},\n uppercase: {},\n lowercase: {}\n },\n default: \"none\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-offset\": {\n type: \"array\",\n value: \"number\",\n units: \"ems\",\n length: 2,\n default: [0, 0],\n requires: [\"text-field\", {\n \"!\": \"text-radial-offset\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-allow-overlap\": {\n type: \"boolean\",\n default: !1,\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-ignore-placement\": {\n type: \"boolean\",\n default: !1,\n requires: [\"text-field\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-optional\": {\n type: \"boolean\",\n default: !1,\n requires: [\"text-field\", \"icon-image\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_raster: {\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n layout_hillshade: {\n visibility: {\n type: \"enum\",\n values: {\n visible: {},\n none: {}\n },\n default: \"visible\",\n \"property-type\": \"constant\"\n }\n },\n filter: {\n type: \"array\",\n value: \"*\"\n },\n filter_operator: {\n type: \"enum\",\n values: {\n \"==\": {},\n \"!=\": {},\n \">\": {},\n \">=\": {},\n \"<\": {},\n \"<=\": {},\n in: {},\n \"!in\": {},\n all: {},\n any: {},\n none: {},\n has: {},\n \"!has\": {},\n within: {}\n }\n },\n geometry_type: {\n type: \"enum\",\n values: {\n Point: {},\n LineString: {},\n Polygon: {}\n }\n },\n function: {\n expression: {\n type: \"expression\"\n },\n stops: {\n type: \"array\",\n value: \"function_stop\"\n },\n base: {\n type: \"number\",\n default: 1,\n minimum: 0\n },\n property: {\n type: \"string\",\n default: \"$zoom\"\n },\n type: {\n type: \"enum\",\n values: {\n identity: {},\n exponential: {},\n interval: {},\n categorical: {}\n },\n default: \"exponential\"\n },\n colorSpace: {\n type: \"enum\",\n values: {\n rgb: {},\n lab: {},\n hcl: {}\n },\n default: \"rgb\"\n },\n default: {\n type: \"*\",\n required: !1\n }\n },\n function_stop: {\n type: \"array\",\n minimum: 0,\n maximum: 24,\n value: [\"number\", \"color\"],\n length: 2\n },\n expression: {\n type: \"array\",\n value: \"*\",\n minimum: 1\n },\n light: {\n anchor: {\n type: \"enum\",\n default: \"viewport\",\n values: {\n map: {},\n viewport: {}\n },\n \"property-type\": \"data-constant\",\n transition: !1,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n }\n },\n position: {\n type: \"array\",\n default: [1.15, 210, 30],\n length: 3,\n value: \"number\",\n \"property-type\": \"data-constant\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n }\n },\n color: {\n type: \"color\",\n \"property-type\": \"data-constant\",\n default: \"#ffffff\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n transition: !0\n },\n intensity: {\n type: \"number\",\n \"property-type\": \"data-constant\",\n default: .5,\n minimum: 0,\n maximum: 1,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n transition: !0\n }\n },\n paint: [\"paint_fill\", \"paint_line\", \"paint_circle\", \"paint_heatmap\", \"paint_fill-extrusion\", \"paint_symbol\", \"paint_raster\", \"paint_hillshade\", \"paint_background\"],\n paint_fill: {\n \"fill-antialias\": {\n type: \"boolean\",\n default: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n requires: [{\n \"!\": \"fill-pattern\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-outline-color\": {\n type: \"color\",\n transition: !0,\n requires: [{\n \"!\": \"fill-pattern\"\n }, {\n \"fill-antialias\": !0\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"fill-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-pattern\": {\n type: \"resolvedImage\",\n transition: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"cross-faded-data-driven\"\n }\n },\n \"paint_fill-extrusion\": {\n \"fill-extrusion-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-extrusion-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n requires: [{\n \"!\": \"fill-extrusion-pattern\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-extrusion-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-extrusion-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"fill-extrusion-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"fill-extrusion-pattern\": {\n type: \"resolvedImage\",\n transition: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"cross-faded-data-driven\"\n },\n \"fill-extrusion-height\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n units: \"meters\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-extrusion-base\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n units: \"meters\",\n transition: !0,\n requires: [\"fill-extrusion-height\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"fill-extrusion-vertical-gradient\": {\n type: \"boolean\",\n default: !0,\n transition: !1,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n paint_line: {\n \"line-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n requires: [{\n \"!\": \"line-pattern\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"line-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-width\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-gap-width\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-offset\": {\n type: \"number\",\n default: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-blur\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-dasharray\": {\n type: \"array\",\n value: \"number\",\n minimum: 0,\n transition: !0,\n units: \"line widths\",\n requires: [{\n \"!\": \"line-pattern\"\n }],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"cross-faded\"\n },\n \"line-pattern\": {\n type: \"resolvedImage\",\n transition: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"cross-faded-data-driven\"\n },\n \"line-gradient\": {\n type: \"color\",\n transition: !1,\n requires: [{\n \"!\": \"line-dasharray\"\n }, {\n \"!\": \"line-pattern\"\n }, {\n source: \"geojson\",\n has: {\n lineMetrics: !0\n }\n }],\n expression: {\n interpolated: !0,\n parameters: [\"line-progress\"]\n },\n \"property-type\": \"color-ramp\"\n }\n },\n paint_circle: {\n \"circle-radius\": {\n type: \"number\",\n default: 5,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-blur\": {\n type: \"number\",\n default: 0,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"circle-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"circle-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"circle-pitch-scale\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"circle-pitch-alignment\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"viewport\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"circle-stroke-width\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-stroke-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"circle-stroke-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n }\n },\n paint_heatmap: {\n \"heatmap-radius\": {\n type: \"number\",\n default: 30,\n minimum: 1,\n transition: !0,\n units: \"pixels\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"heatmap-weight\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n transition: !1,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"heatmap-intensity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"heatmap-color\": {\n type: \"color\",\n default: [\"interpolate\", [\"linear\"], [\"heatmap-density\"], 0, \"rgba(0, 0, 255, 0)\", .1, \"royalblue\", .3, \"cyan\", .5, \"lime\", .7, \"yellow\", 1, \"red\"],\n transition: !1,\n expression: {\n interpolated: !0,\n parameters: [\"heatmap-density\"]\n },\n \"property-type\": \"color-ramp\"\n },\n \"heatmap-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n paint_symbol: {\n \"icon-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-halo-color\": {\n type: \"color\",\n default: \"rgba(0, 0, 0, 0)\",\n transition: !0,\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-halo-width\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-halo-blur\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"icon-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n requires: [\"icon-image\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"icon-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"icon-image\", \"icon-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n overridable: !0,\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-halo-color\": {\n type: \"color\",\n default: \"rgba(0, 0, 0, 0)\",\n transition: !0,\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-halo-width\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-halo-blur\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n transition: !0,\n units: \"pixels\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\", \"feature\", \"feature-state\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"text-translate\": {\n type: \"array\",\n value: \"number\",\n length: 2,\n default: [0, 0],\n transition: !0,\n units: \"pixels\",\n requires: [\"text-field\"],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"text-translate-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"map\",\n requires: [\"text-field\", \"text-translate\"],\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n paint_raster: {\n \"raster-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-hue-rotate\": {\n type: \"number\",\n default: 0,\n period: 360,\n transition: !0,\n units: \"degrees\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-brightness-min\": {\n type: \"number\",\n default: 0,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-brightness-max\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-saturation\": {\n type: \"number\",\n default: 0,\n minimum: -1,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-contrast\": {\n type: \"number\",\n default: 0,\n minimum: -1,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-resampling\": {\n type: \"enum\",\n values: {\n linear: {},\n nearest: {}\n },\n default: \"linear\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"raster-fade-duration\": {\n type: \"number\",\n default: 300,\n minimum: 0,\n transition: !1,\n units: \"milliseconds\",\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n paint_hillshade: {\n \"hillshade-illumination-direction\": {\n type: \"number\",\n default: 335,\n minimum: 0,\n maximum: 359,\n transition: !1,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"hillshade-illumination-anchor\": {\n type: \"enum\",\n values: {\n map: {},\n viewport: {}\n },\n default: \"viewport\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"hillshade-exaggeration\": {\n type: \"number\",\n default: .5,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"hillshade-shadow-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"hillshade-highlight-color\": {\n type: \"color\",\n default: \"#FFFFFF\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"hillshade-accent-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n paint_background: {\n \"background-color\": {\n type: \"color\",\n default: \"#000000\",\n transition: !0,\n requires: [{\n \"!\": \"background-pattern\"\n }],\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"background-pattern\": {\n type: \"resolvedImage\",\n transition: !0,\n expression: {\n interpolated: !1,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"cross-faded\"\n },\n \"background-opacity\": {\n type: \"number\",\n default: 1,\n minimum: 0,\n maximum: 1,\n transition: !0,\n expression: {\n interpolated: !0,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n }\n },\n transition: {\n duration: {\n type: \"number\",\n default: 300,\n minimum: 0,\n units: \"milliseconds\"\n },\n delay: {\n type: \"number\",\n default: 0,\n minimum: 0,\n units: \"milliseconds\"\n }\n },\n \"property-type\": {\n \"data-driven\": {\n type: \"property-type\"\n },\n \"cross-faded\": {\n type: \"property-type\"\n },\n \"cross-faded-data-driven\": {\n type: \"property-type\"\n },\n \"color-ramp\": {\n type: \"property-type\"\n },\n \"data-constant\": {\n type: \"property-type\"\n },\n constant: {\n type: \"property-type\"\n }\n },\n promoteId: {\n \"*\": {\n type: \"string\"\n }\n }\n },\n Pt = function (t, e, r, n) {\n this.message = (t ? t + \": \" : \"\") + r, n && (this.identifier = n), null != e && e.__line__ && (this.line = e.__line__);\n };\n function Mt(t) {\n var e = t.value;\n return e ? [new Pt(t.key, e, \"constants have been deprecated as of v8\")] : [];\n }\n function Bt(t) {\n for (var e = [], r = arguments.length - 1; r-- > 0;) e[r] = arguments[r + 1];\n for (var n = 0, i = e; n < i.length; n += 1) {\n var a = i[n];\n for (var o in a) t[o] = a[o];\n }\n return t;\n }\n function Tt(t) {\n return t instanceof Number || t instanceof String || t instanceof Boolean ? t.valueOf() : t;\n }\n function Vt(t) {\n if (Array.isArray(t)) return t.map(Vt);\n if (t instanceof Object && !(t instanceof Number || t instanceof String || t instanceof Boolean)) {\n var e = {};\n for (var r in t) e[r] = Vt(t[r]);\n return e;\n }\n return Tt(t);\n }\n var Ft = function (t) {\n function e(e, r) {\n t.call(this, r), this.message = r, this.key = e;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(Error),\n Dt = function (t, e) {\n void 0 === e && (e = []), this.parent = t, this.bindings = {};\n for (var r = 0, n = e; r < n.length; r += 1) {\n var i = n[r];\n this.bindings[i[0]] = i[1];\n }\n };\n Dt.prototype.concat = function (t) {\n return new Dt(this, t);\n }, Dt.prototype.get = function (t) {\n if (this.bindings[t]) return this.bindings[t];\n if (this.parent) return this.parent.get(t);\n throw new Error(t + \" not found in scope.\");\n }, Dt.prototype.has = function (t) {\n return !!this.bindings[t] || !!this.parent && this.parent.has(t);\n };\n var Lt = {\n kind: \"null\"\n },\n Ot = {\n kind: \"number\"\n },\n Rt = {\n kind: \"string\"\n },\n Ut = {\n kind: \"boolean\"\n },\n jt = {\n kind: \"color\"\n },\n qt = {\n kind: \"object\"\n },\n Nt = {\n kind: \"value\"\n },\n Kt = {\n kind: \"collator\"\n },\n Gt = {\n kind: \"formatted\"\n },\n Zt = {\n kind: \"resolvedImage\"\n };\n function Xt(t, e) {\n return {\n kind: \"array\",\n itemType: t,\n N: e\n };\n }\n function Jt(t) {\n if (\"array\" === t.kind) {\n var e = Jt(t.itemType);\n return \"number\" == typeof t.N ? \"array<\" + e + \", \" + t.N + \">\" : \"value\" === t.itemType.kind ? \"array\" : \"array<\" + e + \">\";\n }\n return t.kind;\n }\n var Ht = [Lt, Ot, Rt, Ut, jt, Gt, qt, Xt(Nt), Zt];\n function Yt(t, e) {\n if (\"error\" === e.kind) return null;\n if (\"array\" === t.kind) {\n if (\"array\" === e.kind && (0 === e.N && \"value\" === e.itemType.kind || !Yt(t.itemType, e.itemType)) && (\"number\" != typeof t.N || t.N === e.N)) return null;\n } else {\n if (t.kind === e.kind) return null;\n if (\"value\" === t.kind) for (var r = 0, n = Ht; r < n.length; r += 1) if (!Yt(n[r], e)) return null;\n }\n return \"Expected \" + Jt(t) + \" but found \" + Jt(e) + \" instead.\";\n }\n function $t(t, e) {\n return e.some(function (e) {\n return e.kind === t.kind;\n });\n }\n function Wt(t, e) {\n return e.some(function (e) {\n return \"null\" === e ? null === t : \"array\" === e ? Array.isArray(t) : \"object\" === e ? t && !Array.isArray(t) && \"object\" == typeof t : e === typeof t;\n });\n }\n var Qt = e(function (t, e) {\n var r = {\n transparent: [0, 0, 0, 0],\n aliceblue: [240, 248, 255, 1],\n antiquewhite: [250, 235, 215, 1],\n aqua: [0, 255, 255, 1],\n aquamarine: [127, 255, 212, 1],\n azure: [240, 255, 255, 1],\n beige: [245, 245, 220, 1],\n bisque: [255, 228, 196, 1],\n black: [0, 0, 0, 1],\n blanchedalmond: [255, 235, 205, 1],\n blue: [0, 0, 255, 1],\n blueviolet: [138, 43, 226, 1],\n brown: [165, 42, 42, 1],\n burlywood: [222, 184, 135, 1],\n cadetblue: [95, 158, 160, 1],\n chartreuse: [127, 255, 0, 1],\n chocolate: [210, 105, 30, 1],\n coral: [255, 127, 80, 1],\n cornflowerblue: [100, 149, 237, 1],\n cornsilk: [255, 248, 220, 1],\n crimson: [220, 20, 60, 1],\n cyan: [0, 255, 255, 1],\n darkblue: [0, 0, 139, 1],\n darkcyan: [0, 139, 139, 1],\n darkgoldenrod: [184, 134, 11, 1],\n darkgray: [169, 169, 169, 1],\n darkgreen: [0, 100, 0, 1],\n darkgrey: [169, 169, 169, 1],\n darkkhaki: [189, 183, 107, 1],\n darkmagenta: [139, 0, 139, 1],\n darkolivegreen: [85, 107, 47, 1],\n darkorange: [255, 140, 0, 1],\n darkorchid: [153, 50, 204, 1],\n darkred: [139, 0, 0, 1],\n darksalmon: [233, 150, 122, 1],\n darkseagreen: [143, 188, 143, 1],\n darkslateblue: [72, 61, 139, 1],\n darkslategray: [47, 79, 79, 1],\n darkslategrey: [47, 79, 79, 1],\n darkturquoise: [0, 206, 209, 1],\n darkviolet: [148, 0, 211, 1],\n deeppink: [255, 20, 147, 1],\n deepskyblue: [0, 191, 255, 1],\n dimgray: [105, 105, 105, 1],\n dimgrey: [105, 105, 105, 1],\n dodgerblue: [30, 144, 255, 1],\n firebrick: [178, 34, 34, 1],\n floralwhite: [255, 250, 240, 1],\n forestgreen: [34, 139, 34, 1],\n fuchsia: [255, 0, 255, 1],\n gainsboro: [220, 220, 220, 1],\n ghostwhite: [248, 248, 255, 1],\n gold: [255, 215, 0, 1],\n goldenrod: [218, 165, 32, 1],\n gray: [128, 128, 128, 1],\n green: [0, 128, 0, 1],\n greenyellow: [173, 255, 47, 1],\n grey: [128, 128, 128, 1],\n honeydew: [240, 255, 240, 1],\n hotpink: [255, 105, 180, 1],\n indianred: [205, 92, 92, 1],\n indigo: [75, 0, 130, 1],\n ivory: [255, 255, 240, 1],\n khaki: [240, 230, 140, 1],\n lavender: [230, 230, 250, 1],\n lavenderblush: [255, 240, 245, 1],\n lawngreen: [124, 252, 0, 1],\n lemonchiffon: [255, 250, 205, 1],\n lightblue: [173, 216, 230, 1],\n lightcoral: [240, 128, 128, 1],\n lightcyan: [224, 255, 255, 1],\n lightgoldenrodyellow: [250, 250, 210, 1],\n lightgray: [211, 211, 211, 1],\n lightgreen: [144, 238, 144, 1],\n lightgrey: [211, 211, 211, 1],\n lightpink: [255, 182, 193, 1],\n lightsalmon: [255, 160, 122, 1],\n lightseagreen: [32, 178, 170, 1],\n lightskyblue: [135, 206, 250, 1],\n lightslategray: [119, 136, 153, 1],\n lightslategrey: [119, 136, 153, 1],\n lightsteelblue: [176, 196, 222, 1],\n lightyellow: [255, 255, 224, 1],\n lime: [0, 255, 0, 1],\n limegreen: [50, 205, 50, 1],\n linen: [250, 240, 230, 1],\n magenta: [255, 0, 255, 1],\n maroon: [128, 0, 0, 1],\n mediumaquamarine: [102, 205, 170, 1],\n mediumblue: [0, 0, 205, 1],\n mediumorchid: [186, 85, 211, 1],\n mediumpurple: [147, 112, 219, 1],\n mediumseagreen: [60, 179, 113, 1],\n mediumslateblue: [123, 104, 238, 1],\n mediumspringgreen: [0, 250, 154, 1],\n mediumturquoise: [72, 209, 204, 1],\n mediumvioletred: [199, 21, 133, 1],\n midnightblue: [25, 25, 112, 1],\n mintcream: [245, 255, 250, 1],\n mistyrose: [255, 228, 225, 1],\n moccasin: [255, 228, 181, 1],\n navajowhite: [255, 222, 173, 1],\n navy: [0, 0, 128, 1],\n oldlace: [253, 245, 230, 1],\n olive: [128, 128, 0, 1],\n olivedrab: [107, 142, 35, 1],\n orange: [255, 165, 0, 1],\n orangered: [255, 69, 0, 1],\n orchid: [218, 112, 214, 1],\n palegoldenrod: [238, 232, 170, 1],\n palegreen: [152, 251, 152, 1],\n paleturquoise: [175, 238, 238, 1],\n palevioletred: [219, 112, 147, 1],\n papayawhip: [255, 239, 213, 1],\n peachpuff: [255, 218, 185, 1],\n peru: [205, 133, 63, 1],\n pink: [255, 192, 203, 1],\n plum: [221, 160, 221, 1],\n powderblue: [176, 224, 230, 1],\n purple: [128, 0, 128, 1],\n rebeccapurple: [102, 51, 153, 1],\n red: [255, 0, 0, 1],\n rosybrown: [188, 143, 143, 1],\n royalblue: [65, 105, 225, 1],\n saddlebrown: [139, 69, 19, 1],\n salmon: [250, 128, 114, 1],\n sandybrown: [244, 164, 96, 1],\n seagreen: [46, 139, 87, 1],\n seashell: [255, 245, 238, 1],\n sienna: [160, 82, 45, 1],\n silver: [192, 192, 192, 1],\n skyblue: [135, 206, 235, 1],\n slateblue: [106, 90, 205, 1],\n slategray: [112, 128, 144, 1],\n slategrey: [112, 128, 144, 1],\n snow: [255, 250, 250, 1],\n springgreen: [0, 255, 127, 1],\n steelblue: [70, 130, 180, 1],\n tan: [210, 180, 140, 1],\n teal: [0, 128, 128, 1],\n thistle: [216, 191, 216, 1],\n tomato: [255, 99, 71, 1],\n turquoise: [64, 224, 208, 1],\n violet: [238, 130, 238, 1],\n wheat: [245, 222, 179, 1],\n white: [255, 255, 255, 1],\n whitesmoke: [245, 245, 245, 1],\n yellow: [255, 255, 0, 1],\n yellowgreen: [154, 205, 50, 1]\n };\n function n(t) {\n return (t = Math.round(t)) < 0 ? 0 : t > 255 ? 255 : t;\n }\n function i(t) {\n return n(\"%\" === t[t.length - 1] ? parseFloat(t) / 100 * 255 : parseInt(t));\n }\n function a(t) {\n return (e = \"%\" === t[t.length - 1] ? parseFloat(t) / 100 : parseFloat(t)) < 0 ? 0 : e > 1 ? 1 : e;\n var e;\n }\n function o(t, e, r) {\n return r < 0 ? r += 1 : r > 1 && (r -= 1), 6 * r < 1 ? t + (e - t) * r * 6 : 2 * r < 1 ? e : 3 * r < 2 ? t + (e - t) * (2 / 3 - r) * 6 : t;\n }\n try {\n e.parseCSSColor = function (t) {\n var e,\n s = t.replace(/ /g, \"\").toLowerCase();\n if (s in r) return r[s].slice();\n if (\"#\" === s[0]) return 4 === s.length ? (e = parseInt(s.substr(1), 16)) >= 0 && e <= 4095 ? [(3840 & e) >> 4 | (3840 & e) >> 8, 240 & e | (240 & e) >> 4, 15 & e | (15 & e) << 4, 1] : null : 7 === s.length && (e = parseInt(s.substr(1), 16)) >= 0 && e <= 16777215 ? [(16711680 & e) >> 16, (65280 & e) >> 8, 255 & e, 1] : null;\n var u = s.indexOf(\"(\"),\n l = s.indexOf(\")\");\n if (-1 !== u && l + 1 === s.length) {\n var p = s.substr(0, u),\n c = s.substr(u + 1, l - (u + 1)).split(\",\"),\n h = 1;\n switch (p) {\n case \"rgba\":\n if (4 !== c.length) return null;\n h = a(c.pop());\n case \"rgb\":\n return 3 !== c.length ? null : [i(c[0]), i(c[1]), i(c[2]), h];\n case \"hsla\":\n if (4 !== c.length) return null;\n h = a(c.pop());\n case \"hsl\":\n if (3 !== c.length) return null;\n var f = (parseFloat(c[0]) % 360 + 360) % 360 / 360,\n y = a(c[1]),\n d = a(c[2]),\n m = d <= .5 ? d * (y + 1) : d + y - d * y,\n v = 2 * d - m;\n return [n(255 * o(v, m, f + 1 / 3)), n(255 * o(v, m, f)), n(255 * o(v, m, f - 1 / 3)), h];\n default:\n return null;\n }\n }\n return null;\n };\n } catch (t) {}\n }).parseCSSColor,\n te = function (t, e, r, n) {\n void 0 === n && (n = 1), this.r = t, this.g = e, this.b = r, this.a = n;\n };\n te.parse = function (t) {\n if (t) {\n if (t instanceof te) return t;\n if (\"string\" == typeof t) {\n var e = Qt(t);\n if (e) return new te(e[0] / 255 * e[3], e[1] / 255 * e[3], e[2] / 255 * e[3], e[3]);\n }\n }\n }, te.prototype.toString = function () {\n var t = this.toArray(),\n e = t[1],\n r = t[2],\n n = t[3];\n return \"rgba(\" + Math.round(t[0]) + \",\" + Math.round(e) + \",\" + Math.round(r) + \",\" + n + \")\";\n }, te.prototype.toArray = function () {\n var t = this.a;\n return 0 === t ? [0, 0, 0, 0] : [255 * this.r / t, 255 * this.g / t, 255 * this.b / t, t];\n }, te.black = new te(0, 0, 0, 1), te.white = new te(1, 1, 1, 1), te.transparent = new te(0, 0, 0, 0), te.red = new te(1, 0, 0, 1);\n var ee = function (t, e, r) {\n this.sensitivity = t ? e ? \"variant\" : \"case\" : e ? \"accent\" : \"base\", this.locale = r, this.collator = new Intl.Collator(this.locale ? this.locale : [], {\n sensitivity: this.sensitivity,\n usage: \"search\"\n });\n };\n ee.prototype.compare = function (t, e) {\n return this.collator.compare(t, e);\n }, ee.prototype.resolvedLocale = function () {\n return new Intl.Collator(this.locale ? this.locale : []).resolvedOptions().locale;\n };\n var re = function (t, e, r, n, i) {\n this.text = t, this.image = e, this.scale = r, this.fontStack = n, this.textColor = i;\n },\n ne = function (t) {\n this.sections = t;\n };\n ne.fromString = function (t) {\n return new ne([new re(t, null, null, null, null)]);\n }, ne.prototype.isEmpty = function () {\n return 0 === this.sections.length || !this.sections.some(function (t) {\n return 0 !== t.text.length || t.image && 0 !== t.image.name.length;\n });\n }, ne.factory = function (t) {\n return t instanceof ne ? t : ne.fromString(t);\n }, ne.prototype.toString = function () {\n return 0 === this.sections.length ? \"\" : this.sections.map(function (t) {\n return t.text;\n }).join(\"\");\n }, ne.prototype.serialize = function () {\n for (var t = [\"format\"], e = 0, r = this.sections; e < r.length; e += 1) {\n var n = r[e];\n if (n.image) t.push([\"image\", n.image.name]);else {\n t.push(n.text);\n var i = {};\n n.fontStack && (i[\"text-font\"] = [\"literal\", n.fontStack.split(\",\")]), n.scale && (i[\"font-scale\"] = n.scale), n.textColor && (i[\"text-color\"] = [\"rgba\"].concat(n.textColor.toArray())), t.push(i);\n }\n }\n return t;\n };\n var ie = function (t) {\n this.name = t.name, this.available = t.available;\n };\n function ae(t, e, r, n) {\n return \"number\" == typeof t && t >= 0 && t <= 255 && \"number\" == typeof e && e >= 0 && e <= 255 && \"number\" == typeof r && r >= 0 && r <= 255 ? void 0 === n || \"number\" == typeof n && n >= 0 && n <= 1 ? null : \"Invalid rgba value [\" + [t, e, r, n].join(\", \") + \"]: 'a' must be between 0 and 1.\" : \"Invalid rgba value [\" + (\"number\" == typeof n ? [t, e, r, n] : [t, e, r]).join(\", \") + \"]: 'r', 'g', and 'b' must be between 0 and 255.\";\n }\n function oe(t) {\n if (null === t) return !0;\n if (\"string\" == typeof t) return !0;\n if (\"boolean\" == typeof t) return !0;\n if (\"number\" == typeof t) return !0;\n if (t instanceof te) return !0;\n if (t instanceof ee) return !0;\n if (t instanceof ne) return !0;\n if (t instanceof ie) return !0;\n if (Array.isArray(t)) {\n for (var e = 0, r = t; e < r.length; e += 1) if (!oe(r[e])) return !1;\n return !0;\n }\n if (\"object\" == typeof t) {\n for (var n in t) if (!oe(t[n])) return !1;\n return !0;\n }\n return !1;\n }\n function se(t) {\n if (null === t) return Lt;\n if (\"string\" == typeof t) return Rt;\n if (\"boolean\" == typeof t) return Ut;\n if (\"number\" == typeof t) return Ot;\n if (t instanceof te) return jt;\n if (t instanceof ee) return Kt;\n if (t instanceof ne) return Gt;\n if (t instanceof ie) return Zt;\n if (Array.isArray(t)) {\n for (var e, r = t.length, n = 0, i = t; n < i.length; n += 1) {\n var a = se(i[n]);\n if (e) {\n if (e === a) continue;\n e = Nt;\n break;\n }\n e = a;\n }\n return Xt(e || Nt, r);\n }\n return qt;\n }\n function ue(t) {\n var e = typeof t;\n return null === t ? \"\" : \"string\" === e || \"number\" === e || \"boolean\" === e ? String(t) : t instanceof te || t instanceof ne || t instanceof ie ? t.toString() : JSON.stringify(t);\n }\n ie.prototype.toString = function () {\n return this.name;\n }, ie.fromString = function (t) {\n return t ? new ie({\n name: t,\n available: !1\n }) : null;\n }, ie.prototype.serialize = function () {\n return [\"image\", this.name];\n };\n var le = function (t, e) {\n this.type = t, this.value = e;\n };\n le.parse = function (t, e) {\n if (2 !== t.length) return e.error(\"'literal' expression requires exactly one argument, but found \" + (t.length - 1) + \" instead.\");\n if (!oe(t[1])) return e.error(\"invalid value\");\n var r = t[1],\n n = se(r),\n i = e.expectedType;\n return \"array\" !== n.kind || 0 !== n.N || !i || \"array\" !== i.kind || \"number\" == typeof i.N && 0 !== i.N || (n = i), new le(n, r);\n }, le.prototype.evaluate = function () {\n return this.value;\n }, le.prototype.eachChild = function () {}, le.prototype.outputDefined = function () {\n return !0;\n }, le.prototype.serialize = function () {\n return \"array\" === this.type.kind || \"object\" === this.type.kind ? [\"literal\", this.value] : this.value instanceof te ? [\"rgba\"].concat(this.value.toArray()) : this.value instanceof ne ? this.value.serialize() : this.value;\n };\n var pe = function (t) {\n this.name = \"ExpressionEvaluationError\", this.message = t;\n };\n pe.prototype.toJSON = function () {\n return this.message;\n };\n var ce = {\n string: Rt,\n number: Ot,\n boolean: Ut,\n object: qt\n },\n he = function (t, e) {\n this.type = t, this.args = e;\n };\n he.parse = function (t, e) {\n if (t.length < 2) return e.error(\"Expected at least one argument.\");\n var r,\n n = 1,\n i = t[0];\n if (\"array\" === i) {\n var a, o;\n if (t.length > 2) {\n var s = t[1];\n if (\"string\" != typeof s || !(s in ce) || \"object\" === s) return e.error('The item type argument of \"array\" must be one of string, number, boolean', 1);\n a = ce[s], n++;\n } else a = Nt;\n if (t.length > 3) {\n if (null !== t[2] && (\"number\" != typeof t[2] || t[2] < 0 || t[2] !== Math.floor(t[2]))) return e.error('The length argument to \"array\" must be a positive integer literal', 2);\n o = t[2], n++;\n }\n r = Xt(a, o);\n } else r = ce[i];\n for (var u = []; n < t.length; n++) {\n var l = e.parse(t[n], n, Nt);\n if (!l) return null;\n u.push(l);\n }\n return new he(r, u);\n }, he.prototype.evaluate = function (t) {\n for (var e = 0; e < this.args.length; e++) {\n var r = this.args[e].evaluate(t);\n if (!Yt(this.type, se(r))) return r;\n if (e === this.args.length - 1) throw new pe(\"Expected value to be of type \" + Jt(this.type) + \", but found \" + Jt(se(r)) + \" instead.\");\n }\n return null;\n }, he.prototype.eachChild = function (t) {\n this.args.forEach(t);\n }, he.prototype.outputDefined = function () {\n return this.args.every(function (t) {\n return t.outputDefined();\n });\n }, he.prototype.serialize = function () {\n var t = this.type,\n e = [t.kind];\n if (\"array\" === t.kind) {\n var r = t.itemType;\n if (\"string\" === r.kind || \"number\" === r.kind || \"boolean\" === r.kind) {\n e.push(r.kind);\n var n = t.N;\n (\"number\" == typeof n || this.args.length > 1) && e.push(n);\n }\n }\n return e.concat(this.args.map(function (t) {\n return t.serialize();\n }));\n };\n var fe = function (t) {\n this.type = Gt, this.sections = t;\n };\n fe.parse = function (t, e) {\n if (t.length < 2) return e.error(\"Expected at least one argument.\");\n var r = t[1];\n if (!Array.isArray(r) && \"object\" == typeof r) return e.error(\"First argument must be an image or text section.\");\n for (var n = [], i = !1, a = 1; a <= t.length - 1; ++a) {\n var o = t[a];\n if (i && \"object\" == typeof o && !Array.isArray(o)) {\n i = !1;\n var s = null;\n if (o[\"font-scale\"] && !(s = e.parse(o[\"font-scale\"], 1, Ot))) return null;\n var u = null;\n if (o[\"text-font\"] && !(u = e.parse(o[\"text-font\"], 1, Xt(Rt)))) return null;\n var l = null;\n if (o[\"text-color\"] && !(l = e.parse(o[\"text-color\"], 1, jt))) return null;\n var p = n[n.length - 1];\n p.scale = s, p.font = u, p.textColor = l;\n } else {\n var c = e.parse(t[a], 1, Nt);\n if (!c) return null;\n var h = c.type.kind;\n if (\"string\" !== h && \"value\" !== h && \"null\" !== h && \"resolvedImage\" !== h) return e.error(\"Formatted text type must be 'string', 'value', 'image' or 'null'.\");\n i = !0, n.push({\n content: c,\n scale: null,\n font: null,\n textColor: null\n });\n }\n }\n return new fe(n);\n }, fe.prototype.evaluate = function (t) {\n return new ne(this.sections.map(function (e) {\n var r = e.content.evaluate(t);\n return se(r) === Zt ? new re(\"\", r, null, null, null) : new re(ue(r), null, e.scale ? e.scale.evaluate(t) : null, e.font ? e.font.evaluate(t).join(\",\") : null, e.textColor ? e.textColor.evaluate(t) : null);\n }));\n }, fe.prototype.eachChild = function (t) {\n for (var e = 0, r = this.sections; e < r.length; e += 1) {\n var n = r[e];\n t(n.content), n.scale && t(n.scale), n.font && t(n.font), n.textColor && t(n.textColor);\n }\n }, fe.prototype.outputDefined = function () {\n return !1;\n }, fe.prototype.serialize = function () {\n for (var t = [\"format\"], e = 0, r = this.sections; e < r.length; e += 1) {\n var n = r[e];\n t.push(n.content.serialize());\n var i = {};\n n.scale && (i[\"font-scale\"] = n.scale.serialize()), n.font && (i[\"text-font\"] = n.font.serialize()), n.textColor && (i[\"text-color\"] = n.textColor.serialize()), t.push(i);\n }\n return t;\n };\n var ye = function (t) {\n this.type = Zt, this.input = t;\n };\n ye.parse = function (t, e) {\n if (2 !== t.length) return e.error(\"Expected two arguments.\");\n var r = e.parse(t[1], 1, Rt);\n return r ? new ye(r) : e.error(\"No image name provided.\");\n }, ye.prototype.evaluate = function (t) {\n var e = this.input.evaluate(t),\n r = ie.fromString(e);\n return r && t.availableImages && (r.available = t.availableImages.indexOf(e) > -1), r;\n }, ye.prototype.eachChild = function (t) {\n t(this.input);\n }, ye.prototype.outputDefined = function () {\n return !1;\n }, ye.prototype.serialize = function () {\n return [\"image\", this.input.serialize()];\n };\n var de = {\n \"to-boolean\": Ut,\n \"to-color\": jt,\n \"to-number\": Ot,\n \"to-string\": Rt\n },\n me = function (t, e) {\n this.type = t, this.args = e;\n };\n me.parse = function (t, e) {\n if (t.length < 2) return e.error(\"Expected at least one argument.\");\n var r = t[0];\n if ((\"to-boolean\" === r || \"to-string\" === r) && 2 !== t.length) return e.error(\"Expected one argument.\");\n for (var n = de[r], i = [], a = 1; a < t.length; a++) {\n var o = e.parse(t[a], a, Nt);\n if (!o) return null;\n i.push(o);\n }\n return new me(n, i);\n }, me.prototype.evaluate = function (t) {\n if (\"boolean\" === this.type.kind) return Boolean(this.args[0].evaluate(t));\n if (\"color\" === this.type.kind) {\n for (var e, r, n = 0, i = this.args; n < i.length; n += 1) {\n if (r = null, (e = i[n].evaluate(t)) instanceof te) return e;\n if (\"string\" == typeof e) {\n var a = t.parseColor(e);\n if (a) return a;\n } else if (Array.isArray(e) && !(r = e.length < 3 || e.length > 4 ? \"Invalid rbga value \" + JSON.stringify(e) + \": expected an array containing either three or four numeric values.\" : ae(e[0], e[1], e[2], e[3]))) return new te(e[0] / 255, e[1] / 255, e[2] / 255, e[3]);\n }\n throw new pe(r || \"Could not parse color from value '\" + (\"string\" == typeof e ? e : String(JSON.stringify(e))) + \"'\");\n }\n if (\"number\" === this.type.kind) {\n for (var o = null, s = 0, u = this.args; s < u.length; s += 1) {\n if (null === (o = u[s].evaluate(t))) return 0;\n var l = Number(o);\n if (!isNaN(l)) return l;\n }\n throw new pe(\"Could not convert \" + JSON.stringify(o) + \" to number.\");\n }\n return \"formatted\" === this.type.kind ? ne.fromString(ue(this.args[0].evaluate(t))) : \"resolvedImage\" === this.type.kind ? ie.fromString(ue(this.args[0].evaluate(t))) : ue(this.args[0].evaluate(t));\n }, me.prototype.eachChild = function (t) {\n this.args.forEach(t);\n }, me.prototype.outputDefined = function () {\n return this.args.every(function (t) {\n return t.outputDefined();\n });\n }, me.prototype.serialize = function () {\n if (\"formatted\" === this.type.kind) return new fe([{\n content: this.args[0],\n scale: null,\n font: null,\n textColor: null\n }]).serialize();\n if (\"resolvedImage\" === this.type.kind) return new ye(this.args[0]).serialize();\n var t = [\"to-\" + this.type.kind];\n return this.eachChild(function (e) {\n t.push(e.serialize());\n }), t;\n };\n var ve = [\"Unknown\", \"Point\", \"LineString\", \"Polygon\"],\n ge = function () {\n this.globals = null, this.feature = null, this.featureState = null, this.formattedSection = null, this._parseColorCache = {}, this.availableImages = null, this.canonical = null;\n };\n ge.prototype.id = function () {\n return this.feature && \"id\" in this.feature ? this.feature.id : null;\n }, ge.prototype.geometryType = function () {\n return this.feature ? \"number\" == typeof this.feature.type ? ve[this.feature.type] : this.feature.type : null;\n }, ge.prototype.geometry = function () {\n return this.feature && \"geometry\" in this.feature ? this.feature.geometry : null;\n }, ge.prototype.canonicalID = function () {\n return this.canonical;\n }, ge.prototype.properties = function () {\n return this.feature && this.feature.properties || {};\n }, ge.prototype.parseColor = function (t) {\n var e = this._parseColorCache[t];\n return e || (e = this._parseColorCache[t] = te.parse(t)), e;\n };\n var xe = function (t, e, r, n) {\n this.name = t, this.type = e, this._evaluate = r, this.args = n;\n };\n xe.prototype.evaluate = function (t) {\n return this._evaluate(t, this.args);\n }, xe.prototype.eachChild = function (t) {\n this.args.forEach(t);\n }, xe.prototype.outputDefined = function () {\n return !1;\n }, xe.prototype.serialize = function () {\n return [this.name].concat(this.args.map(function (t) {\n return t.serialize();\n }));\n }, xe.parse = function (t, e) {\n var r,\n n = t[0],\n i = xe.definitions[n];\n if (!i) return e.error('Unknown expression \"' + n + '\". If you wanted a literal array, use [\"literal\", [...]].', 0);\n for (var a = Array.isArray(i) ? i[0] : i.type, o = Array.isArray(i) ? [[i[1], i[2]]] : i.overloads, s = o.filter(function (e) {\n var r = e[0];\n return !Array.isArray(r) || r.length === t.length - 1;\n }), u = null, l = 0, p = s; l < p.length; l += 1) {\n var c = p[l],\n h = c[0],\n f = c[1];\n u = new je(e.registry, e.path, null, e.scope);\n for (var y = [], d = !1, m = 1; m < t.length; m++) {\n var v = t[m],\n g = Array.isArray(h) ? h[m - 1] : h.type,\n x = u.parse(v, 1 + y.length, g);\n if (!x) {\n d = !0;\n break;\n }\n y.push(x);\n }\n if (!d) if (Array.isArray(h) && h.length !== y.length) u.error(\"Expected \" + h.length + \" arguments, but found \" + y.length + \" instead.\");else {\n for (var b = 0; b < y.length; b++) {\n var w = Array.isArray(h) ? h[b] : h.type,\n _ = y[b];\n u.concat(b + 1).checkSubtype(w, _.type);\n }\n if (0 === u.errors.length) return new xe(n, a, f, y);\n }\n }\n if (1 === s.length) (r = e.errors).push.apply(r, u.errors);else {\n for (var A = (s.length ? s : o).map(function (t) {\n var e;\n return e = t[0], Array.isArray(e) ? \"(\" + e.map(Jt).join(\", \") + \")\" : \"(\" + Jt(e.type) + \"...)\";\n }).join(\" | \"), S = [], k = 1; k < t.length; k++) {\n var I = e.parse(t[k], 1 + S.length);\n if (!I) return null;\n S.push(Jt(I.type));\n }\n e.error(\"Expected arguments of type \" + A + \", but found (\" + S.join(\", \") + \") instead.\");\n }\n return null;\n }, xe.register = function (t, e) {\n for (var r in xe.definitions = e, e) t[r] = xe;\n };\n var be = function (t, e, r) {\n this.type = Kt, this.locale = r, this.caseSensitive = t, this.diacriticSensitive = e;\n };\n function we(t, e) {\n t[0] = Math.min(t[0], e[0]), t[1] = Math.min(t[1], e[1]), t[2] = Math.max(t[2], e[0]), t[3] = Math.max(t[3], e[1]);\n }\n function _e(t, e) {\n return !(t[0] <= e[0] || t[2] >= e[2] || t[1] <= e[1] || t[3] >= e[3]);\n }\n function Ae(t, e) {\n var r = (180 + t[0]) / 360,\n n = (180 - 180 / Math.PI * Math.log(Math.tan(Math.PI / 4 + t[1] * Math.PI / 360))) / 360,\n i = Math.pow(2, e.z);\n return [Math.round(r * i * 8192), Math.round(n * i * 8192)];\n }\n function Se(t, e, r) {\n return e[1] > t[1] != r[1] > t[1] && t[0] < (r[0] - e[0]) * (t[1] - e[1]) / (r[1] - e[1]) + e[0];\n }\n function ke(t, e) {\n for (var r, n, i, a, o, s, u, l = !1, p = 0, c = e.length; p < c; p++) for (var h = e[p], f = 0, y = h.length; f < y - 1; f++) {\n if ((a = (r = t)[0] - (n = h[f])[0]) * (u = r[1] - (i = h[f + 1])[1]) - (s = r[0] - i[0]) * (o = r[1] - n[1]) == 0 && a * s <= 0 && o * u <= 0) return !1;\n Se(t, h[f], h[f + 1]) && (l = !l);\n }\n return l;\n }\n function Ie(t, e) {\n for (var r = 0; r < e.length; r++) if (ke(t, e[r])) return !0;\n return !1;\n }\n function ze(t, e, r, n) {\n var i = n[0] - r[0],\n a = n[1] - r[1],\n o = (t[0] - r[0]) * a - i * (t[1] - r[1]),\n s = (e[0] - r[0]) * a - i * (e[1] - r[1]);\n return o > 0 && s < 0 || o < 0 && s > 0;\n }\n function Ce(t, e, r) {\n for (var n = 0, i = r; n < i.length; n += 1) for (var a = i[n], o = 0; o < a.length - 1; ++o) if (0 != (c = [(p = a[o + 1])[0] - (l = a[o])[0], p[1] - l[1]])[0] * (h = [(u = e)[0] - (s = t)[0], u[1] - s[1]])[1] - c[1] * h[0] && ze(s, u, l, p) && ze(l, p, s, u)) return !0;\n var s, u, l, p, c, h;\n return !1;\n }\n function Ee(t, e) {\n for (var r = 0; r < t.length; ++r) if (!ke(t[r], e)) return !1;\n for (var n = 0; n < t.length - 1; ++n) if (Ce(t[n], t[n + 1], e)) return !1;\n return !0;\n }\n function Pe(t, e) {\n for (var r = 0; r < e.length; r++) if (Ee(t, e[r])) return !0;\n return !1;\n }\n function Me(t, e, r) {\n for (var n = [], i = 0; i < t.length; i++) {\n for (var a = [], o = 0; o < t[i].length; o++) {\n var s = Ae(t[i][o], r);\n we(e, s), a.push(s);\n }\n n.push(a);\n }\n return n;\n }\n function Be(t, e, r) {\n for (var n = [], i = 0; i < t.length; i++) {\n var a = Me(t[i], e, r);\n n.push(a);\n }\n return n;\n }\n function Te(t, e, r, n) {\n if (t[0] < r[0] || t[0] > r[2]) {\n var i = .5 * n,\n a = t[0] - r[0] > i ? -n : r[0] - t[0] > i ? n : 0;\n 0 === a && (a = t[0] - r[2] > i ? -n : r[2] - t[0] > i ? n : 0), t[0] += a;\n }\n we(e, t);\n }\n function Ve(t, e, r, n) {\n for (var i = 8192 * Math.pow(2, n.z), a = [8192 * n.x, 8192 * n.y], o = [], s = 0, u = t; s < u.length; s += 1) for (var l = 0, p = u[s]; l < p.length; l += 1) {\n var c = p[l],\n h = [c.x + a[0], c.y + a[1]];\n Te(h, e, r, i), o.push(h);\n }\n return o;\n }\n function Fe(t, e, r, n) {\n for (var i, a = 8192 * Math.pow(2, n.z), o = [8192 * n.x, 8192 * n.y], s = [], u = 0, l = t; u < l.length; u += 1) {\n for (var p = [], c = 0, h = l[u]; c < h.length; c += 1) {\n var f = h[c],\n y = [f.x + o[0], f.y + o[1]];\n we(e, y), p.push(y);\n }\n s.push(p);\n }\n if (e[2] - e[0] <= a / 2) {\n (i = e)[0] = i[1] = 1 / 0, i[2] = i[3] = -1 / 0;\n for (var d = 0, m = s; d < m.length; d += 1) for (var v = 0, g = m[d]; v < g.length; v += 1) Te(g[v], e, r, a);\n }\n return s;\n }\n be.parse = function (t, e) {\n if (2 !== t.length) return e.error(\"Expected one argument.\");\n var r = t[1];\n if (\"object\" != typeof r || Array.isArray(r)) return e.error(\"Collator options argument must be an object.\");\n var n = e.parse(void 0 !== r[\"case-sensitive\"] && r[\"case-sensitive\"], 1, Ut);\n if (!n) return null;\n var i = e.parse(void 0 !== r[\"diacritic-sensitive\"] && r[\"diacritic-sensitive\"], 1, Ut);\n if (!i) return null;\n var a = null;\n return r.locale && !(a = e.parse(r.locale, 1, Rt)) ? null : new be(n, i, a);\n }, be.prototype.evaluate = function (t) {\n return new ee(this.caseSensitive.evaluate(t), this.diacriticSensitive.evaluate(t), this.locale ? this.locale.evaluate(t) : null);\n }, be.prototype.eachChild = function (t) {\n t(this.caseSensitive), t(this.diacriticSensitive), this.locale && t(this.locale);\n }, be.prototype.outputDefined = function () {\n return !1;\n }, be.prototype.serialize = function () {\n var t = {};\n return t[\"case-sensitive\"] = this.caseSensitive.serialize(), t[\"diacritic-sensitive\"] = this.diacriticSensitive.serialize(), this.locale && (t.locale = this.locale.serialize()), [\"collator\", t];\n };\n var De = function (t, e) {\n this.type = Ut, this.geojson = t, this.geometries = e;\n };\n function Le(t) {\n if (t instanceof xe) {\n if (\"get\" === t.name && 1 === t.args.length) return !1;\n if (\"feature-state\" === t.name) return !1;\n if (\"has\" === t.name && 1 === t.args.length) return !1;\n if (\"properties\" === t.name || \"geometry-type\" === t.name || \"id\" === t.name) return !1;\n if (/^filter-/.test(t.name)) return !1;\n }\n if (t instanceof De) return !1;\n var e = !0;\n return t.eachChild(function (t) {\n e && !Le(t) && (e = !1);\n }), e;\n }\n function Oe(t) {\n if (t instanceof xe && \"feature-state\" === t.name) return !1;\n var e = !0;\n return t.eachChild(function (t) {\n e && !Oe(t) && (e = !1);\n }), e;\n }\n function Re(t, e) {\n if (t instanceof xe && e.indexOf(t.name) >= 0) return !1;\n var r = !0;\n return t.eachChild(function (t) {\n r && !Re(t, e) && (r = !1);\n }), r;\n }\n De.parse = function (t, e) {\n if (2 !== t.length) return e.error(\"'within' expression requires exactly one argument, but found \" + (t.length - 1) + \" instead.\");\n if (oe(t[1])) {\n var r = t[1];\n if (\"FeatureCollection\" === r.type) for (var n = 0; n < r.features.length; ++n) {\n var i = r.features[n].geometry.type;\n if (\"Polygon\" === i || \"MultiPolygon\" === i) return new De(r, r.features[n].geometry);\n } else if (\"Feature\" === r.type) {\n var a = r.geometry.type;\n if (\"Polygon\" === a || \"MultiPolygon\" === a) return new De(r, r.geometry);\n } else if (\"Polygon\" === r.type || \"MultiPolygon\" === r.type) return new De(r, r);\n }\n return e.error(\"'within' expression requires valid geojson object that contains polygon geometry type.\");\n }, De.prototype.evaluate = function (t) {\n if (null != t.geometry() && null != t.canonicalID()) {\n if (\"Point\" === t.geometryType()) return function (t, e) {\n var r = [1 / 0, 1 / 0, -1 / 0, -1 / 0],\n n = [1 / 0, 1 / 0, -1 / 0, -1 / 0],\n i = t.canonicalID();\n if (\"Polygon\" === e.type) {\n var a = Me(e.coordinates, n, i),\n o = Ve(t.geometry(), r, n, i);\n if (!_e(r, n)) return !1;\n for (var s = 0, u = o; s < u.length; s += 1) if (!ke(u[s], a)) return !1;\n }\n if (\"MultiPolygon\" === e.type) {\n var l = Be(e.coordinates, n, i),\n p = Ve(t.geometry(), r, n, i);\n if (!_e(r, n)) return !1;\n for (var c = 0, h = p; c < h.length; c += 1) if (!Ie(h[c], l)) return !1;\n }\n return !0;\n }(t, this.geometries);\n if (\"LineString\" === t.geometryType()) return function (t, e) {\n var r = [1 / 0, 1 / 0, -1 / 0, -1 / 0],\n n = [1 / 0, 1 / 0, -1 / 0, -1 / 0],\n i = t.canonicalID();\n if (\"Polygon\" === e.type) {\n var a = Me(e.coordinates, n, i),\n o = Fe(t.geometry(), r, n, i);\n if (!_e(r, n)) return !1;\n for (var s = 0, u = o; s < u.length; s += 1) if (!Ee(u[s], a)) return !1;\n }\n if (\"MultiPolygon\" === e.type) {\n var l = Be(e.coordinates, n, i),\n p = Fe(t.geometry(), r, n, i);\n if (!_e(r, n)) return !1;\n for (var c = 0, h = p; c < h.length; c += 1) if (!Pe(h[c], l)) return !1;\n }\n return !0;\n }(t, this.geometries);\n }\n return !1;\n }, De.prototype.eachChild = function () {}, De.prototype.outputDefined = function () {\n return !0;\n }, De.prototype.serialize = function () {\n return [\"within\", this.geojson];\n };\n var Ue = function (t, e) {\n this.type = e.type, this.name = t, this.boundExpression = e;\n };\n Ue.parse = function (t, e) {\n if (2 !== t.length || \"string\" != typeof t[1]) return e.error(\"'var' expression requires exactly one string literal argument.\");\n var r = t[1];\n return e.scope.has(r) ? new Ue(r, e.scope.get(r)) : e.error('Unknown variable \"' + r + '\". Make sure \"' + r + '\" has been bound in an enclosing \"let\" expression before using it.', 1);\n }, Ue.prototype.evaluate = function (t) {\n return this.boundExpression.evaluate(t);\n }, Ue.prototype.eachChild = function () {}, Ue.prototype.outputDefined = function () {\n return !1;\n }, Ue.prototype.serialize = function () {\n return [\"var\", this.name];\n };\n var je = function (t, e, r, n, i) {\n void 0 === e && (e = []), void 0 === n && (n = new Dt()), void 0 === i && (i = []), this.registry = t, this.path = e, this.key = e.map(function (t) {\n return \"[\" + t + \"]\";\n }).join(\"\"), this.scope = n, this.errors = i, this.expectedType = r;\n };\n function qe(t, e) {\n for (var r, n = t.length - 1, i = 0, a = n, o = 0; i <= a;) if ((r = t[o = Math.floor((i + a) / 2)]) <= e) {\n if (o === n || e < t[o + 1]) return o;\n i = o + 1;\n } else {\n if (!(r > e)) throw new pe(\"Input is not a number.\");\n a = o - 1;\n }\n return 0;\n }\n je.prototype.parse = function (t, e, r, n, i) {\n return void 0 === i && (i = {}), e ? this.concat(e, r, n)._parse(t, i) : this._parse(t, i);\n }, je.prototype._parse = function (t, e) {\n function r(t, e, r) {\n return \"assert\" === r ? new he(e, [t]) : \"coerce\" === r ? new me(e, [t]) : t;\n }\n if (null !== t && \"string\" != typeof t && \"boolean\" != typeof t && \"number\" != typeof t || (t = [\"literal\", t]), Array.isArray(t)) {\n if (0 === t.length) return this.error('Expected an array with at least one element. If you wanted a literal array, use [\"literal\", []].');\n var n = t[0];\n if (\"string\" != typeof n) return this.error(\"Expression name must be a string, but found \" + typeof n + ' instead. If you wanted a literal array, use [\"literal\", [...]].', 0), null;\n var i = this.registry[n];\n if (i) {\n var a = i.parse(t, this);\n if (!a) return null;\n if (this.expectedType) {\n var o = this.expectedType,\n s = a.type;\n if (\"string\" !== o.kind && \"number\" !== o.kind && \"boolean\" !== o.kind && \"object\" !== o.kind && \"array\" !== o.kind || \"value\" !== s.kind) {\n if (\"color\" !== o.kind && \"formatted\" !== o.kind && \"resolvedImage\" !== o.kind || \"value\" !== s.kind && \"string\" !== s.kind) {\n if (this.checkSubtype(o, s)) return null;\n } else a = r(a, o, e.typeAnnotation || \"coerce\");\n } else a = r(a, o, e.typeAnnotation || \"assert\");\n }\n if (!(a instanceof le) && \"resolvedImage\" !== a.type.kind && function t(e) {\n if (e instanceof Ue) return t(e.boundExpression);\n if (e instanceof xe && \"error\" === e.name) return !1;\n if (e instanceof be) return !1;\n if (e instanceof De) return !1;\n var r = e instanceof me || e instanceof he,\n n = !0;\n return e.eachChild(function (e) {\n n = r ? n && t(e) : n && e instanceof le;\n }), !!n && Le(e) && Re(e, [\"zoom\", \"heatmap-density\", \"line-progress\", \"accumulated\", \"is-supported-script\"]);\n }(a)) {\n var u = new ge();\n try {\n a = new le(a.type, a.evaluate(u));\n } catch (t) {\n return this.error(t.message), null;\n }\n }\n return a;\n }\n return this.error('Unknown expression \"' + n + '\". If you wanted a literal array, use [\"literal\", [...]].', 0);\n }\n return this.error(void 0 === t ? \"'undefined' value invalid. Use null instead.\" : \"object\" == typeof t ? 'Bare objects invalid. Use [\"literal\", {...}] instead.' : \"Expected an array, but found \" + typeof t + \" instead.\");\n }, je.prototype.concat = function (t, e, r) {\n var n = \"number\" == typeof t ? this.path.concat(t) : this.path,\n i = r ? this.scope.concat(r) : this.scope;\n return new je(this.registry, n, e || null, i, this.errors);\n }, je.prototype.error = function (t) {\n for (var e = [], r = arguments.length - 1; r-- > 0;) e[r] = arguments[r + 1];\n var n = \"\" + this.key + e.map(function (t) {\n return \"[\" + t + \"]\";\n }).join(\"\");\n this.errors.push(new Ft(n, t));\n }, je.prototype.checkSubtype = function (t, e) {\n var r = Yt(t, e);\n return r && this.error(r), r;\n };\n var Ne = function (t, e, r) {\n this.type = t, this.input = e, this.labels = [], this.outputs = [];\n for (var n = 0, i = r; n < i.length; n += 1) {\n var a = i[n],\n o = a[1];\n this.labels.push(a[0]), this.outputs.push(o);\n }\n };\n function Ke(t, e, r) {\n return t * (1 - r) + e * r;\n }\n Ne.parse = function (t, e) {\n if (t.length - 1 < 4) return e.error(\"Expected at least 4 arguments, but found only \" + (t.length - 1) + \".\");\n if ((t.length - 1) % 2 != 0) return e.error(\"Expected an even number of arguments.\");\n var r = e.parse(t[1], 1, Ot);\n if (!r) return null;\n var n = [],\n i = null;\n e.expectedType && \"value\" !== e.expectedType.kind && (i = e.expectedType);\n for (var a = 1; a < t.length; a += 2) {\n var o = 1 === a ? -1 / 0 : t[a],\n s = t[a + 1],\n u = a,\n l = a + 1;\n if (\"number\" != typeof o) return e.error('Input/output pairs for \"step\" expressions must be defined using literal numeric values (not computed expressions) for the input values.', u);\n if (n.length && n[n.length - 1][0] >= o) return e.error('Input/output pairs for \"step\" expressions must be arranged with input values in strictly ascending order.', u);\n var p = e.parse(s, l, i);\n if (!p) return null;\n i = i || p.type, n.push([o, p]);\n }\n return new Ne(i, r, n);\n }, Ne.prototype.evaluate = function (t) {\n var e = this.labels,\n r = this.outputs;\n if (1 === e.length) return r[0].evaluate(t);\n var n = this.input.evaluate(t);\n if (n <= e[0]) return r[0].evaluate(t);\n var i = e.length;\n return n >= e[i - 1] ? r[i - 1].evaluate(t) : r[qe(e, n)].evaluate(t);\n }, Ne.prototype.eachChild = function (t) {\n t(this.input);\n for (var e = 0, r = this.outputs; e < r.length; e += 1) t(r[e]);\n }, Ne.prototype.outputDefined = function () {\n return this.outputs.every(function (t) {\n return t.outputDefined();\n });\n }, Ne.prototype.serialize = function () {\n for (var t = [\"step\", this.input.serialize()], e = 0; e < this.labels.length; e++) e > 0 && t.push(this.labels[e]), t.push(this.outputs[e].serialize());\n return t;\n };\n var Ge = Object.freeze({\n __proto__: null,\n number: Ke,\n color: function (t, e, r) {\n return new te(Ke(t.r, e.r, r), Ke(t.g, e.g, r), Ke(t.b, e.b, r), Ke(t.a, e.a, r));\n },\n array: function (t, e, r) {\n return t.map(function (t, n) {\n return Ke(t, e[n], r);\n });\n }\n }),\n Ze = 6 / 29 * 3 * (6 / 29),\n Xe = Math.PI / 180,\n Je = 180 / Math.PI;\n function He(t) {\n return t > .008856451679035631 ? Math.pow(t, 1 / 3) : t / Ze + 4 / 29;\n }\n function Ye(t) {\n return t > 6 / 29 ? t * t * t : Ze * (t - 4 / 29);\n }\n function $e(t) {\n return 255 * (t <= .0031308 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - .055);\n }\n function We(t) {\n return (t /= 255) <= .04045 ? t / 12.92 : Math.pow((t + .055) / 1.055, 2.4);\n }\n function Qe(t) {\n var e = We(t.r),\n r = We(t.g),\n n = We(t.b),\n i = He((.4124564 * e + .3575761 * r + .1804375 * n) / .95047),\n a = He((.2126729 * e + .7151522 * r + .072175 * n) / 1);\n return {\n l: 116 * a - 16,\n a: 500 * (i - a),\n b: 200 * (a - He((.0193339 * e + .119192 * r + .9503041 * n) / 1.08883)),\n alpha: t.a\n };\n }\n function tr(t) {\n var e = (t.l + 16) / 116,\n r = isNaN(t.a) ? e : e + t.a / 500,\n n = isNaN(t.b) ? e : e - t.b / 200;\n return e = 1 * Ye(e), r = .95047 * Ye(r), n = 1.08883 * Ye(n), new te($e(3.2404542 * r - 1.5371385 * e - .4985314 * n), $e(-.969266 * r + 1.8760108 * e + .041556 * n), $e(.0556434 * r - .2040259 * e + 1.0572252 * n), t.alpha);\n }\n function er(t, e, r) {\n var n = e - t;\n return t + r * (n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n);\n }\n var rr = {\n forward: Qe,\n reverse: tr,\n interpolate: function (t, e, r) {\n return {\n l: Ke(t.l, e.l, r),\n a: Ke(t.a, e.a, r),\n b: Ke(t.b, e.b, r),\n alpha: Ke(t.alpha, e.alpha, r)\n };\n }\n },\n nr = {\n forward: function (t) {\n var e = Qe(t),\n r = e.l,\n n = e.a,\n i = e.b,\n a = Math.atan2(i, n) * Je;\n return {\n h: a < 0 ? a + 360 : a,\n c: Math.sqrt(n * n + i * i),\n l: r,\n alpha: t.a\n };\n },\n reverse: function (t) {\n var e = t.h * Xe,\n r = t.c;\n return tr({\n l: t.l,\n a: Math.cos(e) * r,\n b: Math.sin(e) * r,\n alpha: t.alpha\n });\n },\n interpolate: function (t, e, r) {\n return {\n h: er(t.h, e.h, r),\n c: Ke(t.c, e.c, r),\n l: Ke(t.l, e.l, r),\n alpha: Ke(t.alpha, e.alpha, r)\n };\n }\n },\n ir = Object.freeze({\n __proto__: null,\n lab: rr,\n hcl: nr\n }),\n ar = function (t, e, r, n, i) {\n this.type = t, this.operator = e, this.interpolation = r, this.input = n, this.labels = [], this.outputs = [];\n for (var a = 0, o = i; a < o.length; a += 1) {\n var s = o[a],\n u = s[1];\n this.labels.push(s[0]), this.outputs.push(u);\n }\n };\n function or(t, e, r, n) {\n var i = n - r,\n a = t - r;\n return 0 === i ? 0 : 1 === e ? a / i : (Math.pow(e, a) - 1) / (Math.pow(e, i) - 1);\n }\n ar.interpolationFactor = function (t, e, n, i) {\n var a = 0;\n if (\"exponential\" === t.name) a = or(e, t.base, n, i);else if (\"linear\" === t.name) a = or(e, 1, n, i);else if (\"cubic-bezier\" === t.name) {\n var o = t.controlPoints;\n a = new r(o[0], o[1], o[2], o[3]).solve(or(e, 1, n, i));\n }\n return a;\n }, ar.parse = function (t, e) {\n var r = t[0],\n n = t[1],\n i = t[2],\n a = t.slice(3);\n if (!Array.isArray(n) || 0 === n.length) return e.error(\"Expected an interpolation type expression.\", 1);\n if (\"linear\" === n[0]) n = {\n name: \"linear\"\n };else if (\"exponential\" === n[0]) {\n var o = n[1];\n if (\"number\" != typeof o) return e.error(\"Exponential interpolation requires a numeric base.\", 1, 1);\n n = {\n name: \"exponential\",\n base: o\n };\n } else {\n if (\"cubic-bezier\" !== n[0]) return e.error(\"Unknown interpolation type \" + String(n[0]), 1, 0);\n var s = n.slice(1);\n if (4 !== s.length || s.some(function (t) {\n return \"number\" != typeof t || t < 0 || t > 1;\n })) return e.error(\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\", 1);\n n = {\n name: \"cubic-bezier\",\n controlPoints: s\n };\n }\n if (t.length - 1 < 4) return e.error(\"Expected at least 4 arguments, but found only \" + (t.length - 1) + \".\");\n if ((t.length - 1) % 2 != 0) return e.error(\"Expected an even number of arguments.\");\n if (!(i = e.parse(i, 2, Ot))) return null;\n var u = [],\n l = null;\n \"interpolate-hcl\" === r || \"interpolate-lab\" === r ? l = jt : e.expectedType && \"value\" !== e.expectedType.kind && (l = e.expectedType);\n for (var p = 0; p < a.length; p += 2) {\n var c = a[p],\n h = a[p + 1],\n f = p + 3,\n y = p + 4;\n if (\"number\" != typeof c) return e.error('Input/output pairs for \"interpolate\" expressions must be defined using literal numeric values (not computed expressions) for the input values.', f);\n if (u.length && u[u.length - 1][0] >= c) return e.error('Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.', f);\n var d = e.parse(h, y, l);\n if (!d) return null;\n l = l || d.type, u.push([c, d]);\n }\n return \"number\" === l.kind || \"color\" === l.kind || \"array\" === l.kind && \"number\" === l.itemType.kind && \"number\" == typeof l.N ? new ar(l, r, n, i, u) : e.error(\"Type \" + Jt(l) + \" is not interpolatable.\");\n }, ar.prototype.evaluate = function (t) {\n var e = this.labels,\n r = this.outputs;\n if (1 === e.length) return r[0].evaluate(t);\n var n = this.input.evaluate(t);\n if (n <= e[0]) return r[0].evaluate(t);\n var i = e.length;\n if (n >= e[i - 1]) return r[i - 1].evaluate(t);\n var a = qe(e, n),\n o = ar.interpolationFactor(this.interpolation, n, e[a], e[a + 1]),\n s = r[a].evaluate(t),\n u = r[a + 1].evaluate(t);\n return \"interpolate\" === this.operator ? Ge[this.type.kind.toLowerCase()](s, u, o) : \"interpolate-hcl\" === this.operator ? nr.reverse(nr.interpolate(nr.forward(s), nr.forward(u), o)) : rr.reverse(rr.interpolate(rr.forward(s), rr.forward(u), o));\n }, ar.prototype.eachChild = function (t) {\n t(this.input);\n for (var e = 0, r = this.outputs; e < r.length; e += 1) t(r[e]);\n }, ar.prototype.outputDefined = function () {\n return this.outputs.every(function (t) {\n return t.outputDefined();\n });\n }, ar.prototype.serialize = function () {\n var t;\n t = \"linear\" === this.interpolation.name ? [\"linear\"] : \"exponential\" === this.interpolation.name ? 1 === this.interpolation.base ? [\"linear\"] : [\"exponential\", this.interpolation.base] : [\"cubic-bezier\"].concat(this.interpolation.controlPoints);\n for (var e = [this.operator, t, this.input.serialize()], r = 0; r < this.labels.length; r++) e.push(this.labels[r], this.outputs[r].serialize());\n return e;\n };\n var sr = function (t, e) {\n this.type = t, this.args = e;\n };\n sr.parse = function (t, e) {\n if (t.length < 2) return e.error(\"Expectected at least one argument.\");\n var r = null,\n n = e.expectedType;\n n && \"value\" !== n.kind && (r = n);\n for (var i = [], a = 0, o = t.slice(1); a < o.length; a += 1) {\n var s = e.parse(o[a], 1 + i.length, r, void 0, {\n typeAnnotation: \"omit\"\n });\n if (!s) return null;\n r = r || s.type, i.push(s);\n }\n var u = n && i.some(function (t) {\n return Yt(n, t.type);\n });\n return new sr(u ? Nt : r, i);\n }, sr.prototype.evaluate = function (t) {\n for (var e, r = null, n = 0, i = 0, a = this.args; i < a.length && (n++, (r = a[i].evaluate(t)) && r instanceof ie && !r.available && (e || (e = r.name), r = null, n === this.args.length && (r = e)), null === r); i += 1);\n return r;\n }, sr.prototype.eachChild = function (t) {\n this.args.forEach(t);\n }, sr.prototype.outputDefined = function () {\n return this.args.every(function (t) {\n return t.outputDefined();\n });\n }, sr.prototype.serialize = function () {\n var t = [\"coalesce\"];\n return this.eachChild(function (e) {\n t.push(e.serialize());\n }), t;\n };\n var ur = function (t, e) {\n this.type = e.type, this.bindings = [].concat(t), this.result = e;\n };\n ur.prototype.evaluate = function (t) {\n return this.result.evaluate(t);\n }, ur.prototype.eachChild = function (t) {\n for (var e = 0, r = this.bindings; e < r.length; e += 1) t(r[e][1]);\n t(this.result);\n }, ur.parse = function (t, e) {\n if (t.length < 4) return e.error(\"Expected at least 3 arguments, but found \" + (t.length - 1) + \" instead.\");\n for (var r = [], n = 1; n < t.length - 1; n += 2) {\n var i = t[n];\n if (\"string\" != typeof i) return e.error(\"Expected string, but found \" + typeof i + \" instead.\", n);\n if (/[^a-zA-Z0-9_]/.test(i)) return e.error(\"Variable names must contain only alphanumeric characters or '_'.\", n);\n var a = e.parse(t[n + 1], n + 1);\n if (!a) return null;\n r.push([i, a]);\n }\n var o = e.parse(t[t.length - 1], t.length - 1, e.expectedType, r);\n return o ? new ur(r, o) : null;\n }, ur.prototype.outputDefined = function () {\n return this.result.outputDefined();\n }, ur.prototype.serialize = function () {\n for (var t = [\"let\"], e = 0, r = this.bindings; e < r.length; e += 1) {\n var n = r[e];\n t.push(n[0], n[1].serialize());\n }\n return t.push(this.result.serialize()), t;\n };\n var lr = function (t, e, r) {\n this.type = t, this.index = e, this.input = r;\n };\n lr.parse = function (t, e) {\n if (3 !== t.length) return e.error(\"Expected 2 arguments, but found \" + (t.length - 1) + \" instead.\");\n var r = e.parse(t[1], 1, Ot),\n n = e.parse(t[2], 2, Xt(e.expectedType || Nt));\n return r && n ? new lr(n.type.itemType, r, n) : null;\n }, lr.prototype.evaluate = function (t) {\n var e = this.index.evaluate(t),\n r = this.input.evaluate(t);\n if (e < 0) throw new pe(\"Array index out of bounds: \" + e + \" < 0.\");\n if (e >= r.length) throw new pe(\"Array index out of bounds: \" + e + \" > \" + (r.length - 1) + \".\");\n if (e !== Math.floor(e)) throw new pe(\"Array index must be an integer, but found \" + e + \" instead.\");\n return r[e];\n }, lr.prototype.eachChild = function (t) {\n t(this.index), t(this.input);\n }, lr.prototype.outputDefined = function () {\n return !1;\n }, lr.prototype.serialize = function () {\n return [\"at\", this.index.serialize(), this.input.serialize()];\n };\n var pr = function (t, e) {\n this.type = Ut, this.needle = t, this.haystack = e;\n };\n pr.parse = function (t, e) {\n if (3 !== t.length) return e.error(\"Expected 2 arguments, but found \" + (t.length - 1) + \" instead.\");\n var r = e.parse(t[1], 1, Nt),\n n = e.parse(t[2], 2, Nt);\n return r && n ? $t(r.type, [Ut, Rt, Ot, Lt, Nt]) ? new pr(r, n) : e.error(\"Expected first argument to be of type boolean, string, number or null, but found \" + Jt(r.type) + \" instead\") : null;\n }, pr.prototype.evaluate = function (t) {\n var e = this.needle.evaluate(t),\n r = this.haystack.evaluate(t);\n if (!r) return !1;\n if (!Wt(e, [\"boolean\", \"string\", \"number\", \"null\"])) throw new pe(\"Expected first argument to be of type boolean, string, number or null, but found \" + Jt(se(e)) + \" instead.\");\n if (!Wt(r, [\"string\", \"array\"])) throw new pe(\"Expected second argument to be of type array or string, but found \" + Jt(se(r)) + \" instead.\");\n return r.indexOf(e) >= 0;\n }, pr.prototype.eachChild = function (t) {\n t(this.needle), t(this.haystack);\n }, pr.prototype.outputDefined = function () {\n return !0;\n }, pr.prototype.serialize = function () {\n return [\"in\", this.needle.serialize(), this.haystack.serialize()];\n };\n var cr = function (t, e, r) {\n this.type = Ot, this.needle = t, this.haystack = e, this.fromIndex = r;\n };\n cr.parse = function (t, e) {\n if (t.length <= 2 || t.length >= 5) return e.error(\"Expected 3 or 4 arguments, but found \" + (t.length - 1) + \" instead.\");\n var r = e.parse(t[1], 1, Nt),\n n = e.parse(t[2], 2, Nt);\n if (!r || !n) return null;\n if (!$t(r.type, [Ut, Rt, Ot, Lt, Nt])) return e.error(\"Expected first argument to be of type boolean, string, number or null, but found \" + Jt(r.type) + \" instead\");\n if (4 === t.length) {\n var i = e.parse(t[3], 3, Ot);\n return i ? new cr(r, n, i) : null;\n }\n return new cr(r, n);\n }, cr.prototype.evaluate = function (t) {\n var e = this.needle.evaluate(t),\n r = this.haystack.evaluate(t);\n if (!Wt(e, [\"boolean\", \"string\", \"number\", \"null\"])) throw new pe(\"Expected first argument to be of type boolean, string, number or null, but found \" + Jt(se(e)) + \" instead.\");\n if (!Wt(r, [\"string\", \"array\"])) throw new pe(\"Expected second argument to be of type array or string, but found \" + Jt(se(r)) + \" instead.\");\n if (this.fromIndex) {\n var n = this.fromIndex.evaluate(t);\n return r.indexOf(e, n);\n }\n return r.indexOf(e);\n }, cr.prototype.eachChild = function (t) {\n t(this.needle), t(this.haystack), this.fromIndex && t(this.fromIndex);\n }, cr.prototype.outputDefined = function () {\n return !1;\n }, cr.prototype.serialize = function () {\n if (null != this.fromIndex && void 0 !== this.fromIndex) {\n var t = this.fromIndex.serialize();\n return [\"index-of\", this.needle.serialize(), this.haystack.serialize(), t];\n }\n return [\"index-of\", this.needle.serialize(), this.haystack.serialize()];\n };\n var hr = function (t, e, r, n, i, a) {\n this.inputType = t, this.type = e, this.input = r, this.cases = n, this.outputs = i, this.otherwise = a;\n };\n hr.parse = function (t, e) {\n if (t.length < 5) return e.error(\"Expected at least 4 arguments, but found only \" + (t.length - 1) + \".\");\n if (t.length % 2 != 1) return e.error(\"Expected an even number of arguments.\");\n var r, n;\n e.expectedType && \"value\" !== e.expectedType.kind && (n = e.expectedType);\n for (var i = {}, a = [], o = 2; o < t.length - 1; o += 2) {\n var s = t[o],\n u = t[o + 1];\n Array.isArray(s) || (s = [s]);\n var l = e.concat(o);\n if (0 === s.length) return l.error(\"Expected at least one branch label.\");\n for (var p = 0, c = s; p < c.length; p += 1) {\n var h = c[p];\n if (\"number\" != typeof h && \"string\" != typeof h) return l.error(\"Branch labels must be numbers or strings.\");\n if (\"number\" == typeof h && Math.abs(h) > Number.MAX_SAFE_INTEGER) return l.error(\"Branch labels must be integers no larger than \" + Number.MAX_SAFE_INTEGER + \".\");\n if (\"number\" == typeof h && Math.floor(h) !== h) return l.error(\"Numeric branch labels must be integer values.\");\n if (r) {\n if (l.checkSubtype(r, se(h))) return null;\n } else r = se(h);\n if (void 0 !== i[String(h)]) return l.error(\"Branch labels must be unique.\");\n i[String(h)] = a.length;\n }\n var f = e.parse(u, o, n);\n if (!f) return null;\n n = n || f.type, a.push(f);\n }\n var y = e.parse(t[1], 1, Nt);\n if (!y) return null;\n var d = e.parse(t[t.length - 1], t.length - 1, n);\n return d ? \"value\" !== y.type.kind && e.concat(1).checkSubtype(r, y.type) ? null : new hr(r, n, y, i, a, d) : null;\n }, hr.prototype.evaluate = function (t) {\n var e = this.input.evaluate(t);\n return (se(e) === this.inputType && this.outputs[this.cases[e]] || this.otherwise).evaluate(t);\n }, hr.prototype.eachChild = function (t) {\n t(this.input), this.outputs.forEach(t), t(this.otherwise);\n }, hr.prototype.outputDefined = function () {\n return this.outputs.every(function (t) {\n return t.outputDefined();\n }) && this.otherwise.outputDefined();\n }, hr.prototype.serialize = function () {\n for (var t = this, e = [\"match\", this.input.serialize()], r = [], n = {}, i = 0, a = Object.keys(this.cases).sort(); i < a.length; i += 1) {\n var o = a[i];\n void 0 === (c = n[this.cases[o]]) ? (n[this.cases[o]] = r.length, r.push([this.cases[o], [o]])) : r[c][1].push(o);\n }\n for (var s = function (e) {\n return \"number\" === t.inputType.kind ? Number(e) : e;\n }, u = 0, l = r; u < l.length; u += 1) {\n var p = l[u],\n c = p[0],\n h = p[1];\n e.push(1 === h.length ? s(h[0]) : h.map(s)), e.push(this.outputs[outputIndex$1].serialize());\n }\n return e.push(this.otherwise.serialize()), e;\n };\n var fr = function (t, e, r) {\n this.type = t, this.branches = e, this.otherwise = r;\n };\n fr.parse = function (t, e) {\n if (t.length < 4) return e.error(\"Expected at least 3 arguments, but found only \" + (t.length - 1) + \".\");\n if (t.length % 2 != 0) return e.error(\"Expected an odd number of arguments.\");\n var r;\n e.expectedType && \"value\" !== e.expectedType.kind && (r = e.expectedType);\n for (var n = [], i = 1; i < t.length - 1; i += 2) {\n var a = e.parse(t[i], i, Ut);\n if (!a) return null;\n var o = e.parse(t[i + 1], i + 1, r);\n if (!o) return null;\n n.push([a, o]), r = r || o.type;\n }\n var s = e.parse(t[t.length - 1], t.length - 1, r);\n return s ? new fr(r, n, s) : null;\n }, fr.prototype.evaluate = function (t) {\n for (var e = 0, r = this.branches; e < r.length; e += 1) {\n var n = r[e],\n i = n[1];\n if (n[0].evaluate(t)) return i.evaluate(t);\n }\n return this.otherwise.evaluate(t);\n }, fr.prototype.eachChild = function (t) {\n for (var e = 0, r = this.branches; e < r.length; e += 1) {\n var n = r[e],\n i = n[1];\n t(n[0]), t(i);\n }\n t(this.otherwise);\n }, fr.prototype.outputDefined = function () {\n return this.branches.every(function (t) {\n return t[1].outputDefined();\n }) && this.otherwise.outputDefined();\n }, fr.prototype.serialize = function () {\n var t = [\"case\"];\n return this.eachChild(function (e) {\n t.push(e.serialize());\n }), t;\n };\n var yr = function (t, e, r, n) {\n this.type = t, this.input = e, this.beginIndex = r, this.endIndex = n;\n };\n function dr(t, e) {\n return \"==\" === t || \"!=\" === t ? \"boolean\" === e.kind || \"string\" === e.kind || \"number\" === e.kind || \"null\" === e.kind || \"value\" === e.kind : \"string\" === e.kind || \"number\" === e.kind || \"value\" === e.kind;\n }\n function mr(t, e, r, n) {\n return 0 === n.compare(e, r);\n }\n function vr(t, e, r) {\n var n = \"==\" !== t && \"!=\" !== t;\n return function () {\n function i(t, e, r) {\n this.type = Ut, this.lhs = t, this.rhs = e, this.collator = r, this.hasUntypedArgument = \"value\" === t.type.kind || \"value\" === e.type.kind;\n }\n return i.parse = function (t, e) {\n if (3 !== t.length && 4 !== t.length) return e.error(\"Expected two or three arguments.\");\n var r = t[0],\n a = e.parse(t[1], 1, Nt);\n if (!a) return null;\n if (!dr(r, a.type)) return e.concat(1).error('\"' + r + \"\\\" comparisons are not supported for type '\" + Jt(a.type) + \"'.\");\n var o = e.parse(t[2], 2, Nt);\n if (!o) return null;\n if (!dr(r, o.type)) return e.concat(2).error('\"' + r + \"\\\" comparisons are not supported for type '\" + Jt(o.type) + \"'.\");\n if (a.type.kind !== o.type.kind && \"value\" !== a.type.kind && \"value\" !== o.type.kind) return e.error(\"Cannot compare types '\" + Jt(a.type) + \"' and '\" + Jt(o.type) + \"'.\");\n n && (\"value\" === a.type.kind && \"value\" !== o.type.kind ? a = new he(o.type, [a]) : \"value\" !== a.type.kind && \"value\" === o.type.kind && (o = new he(a.type, [o])));\n var s = null;\n if (4 === t.length) {\n if (\"string\" !== a.type.kind && \"string\" !== o.type.kind && \"value\" !== a.type.kind && \"value\" !== o.type.kind) return e.error(\"Cannot use collator to compare non-string types.\");\n if (!(s = e.parse(t[3], 3, Kt))) return null;\n }\n return new i(a, o, s);\n }, i.prototype.evaluate = function (i) {\n var a = this.lhs.evaluate(i),\n o = this.rhs.evaluate(i);\n if (n && this.hasUntypedArgument) {\n var s = se(a),\n u = se(o);\n if (s.kind !== u.kind || \"string\" !== s.kind && \"number\" !== s.kind) throw new pe('Expected arguments for \"' + t + '\" to be (string, string) or (number, number), but found (' + s.kind + \", \" + u.kind + \") instead.\");\n }\n if (this.collator && !n && this.hasUntypedArgument) {\n var l = se(a),\n p = se(o);\n if (\"string\" !== l.kind || \"string\" !== p.kind) return e(i, a, o);\n }\n return this.collator ? r(i, a, o, this.collator.evaluate(i)) : e(i, a, o);\n }, i.prototype.eachChild = function (t) {\n t(this.lhs), t(this.rhs), this.collator && t(this.collator);\n }, i.prototype.outputDefined = function () {\n return !0;\n }, i.prototype.serialize = function () {\n var e = [t];\n return this.eachChild(function (t) {\n e.push(t.serialize());\n }), e;\n }, i;\n }();\n }\n yr.parse = function (t, e) {\n if (t.length <= 2 || t.length >= 5) return e.error(\"Expected 3 or 4 arguments, but found \" + (t.length - 1) + \" instead.\");\n var r = e.parse(t[1], 1, Nt),\n n = e.parse(t[2], 2, Ot);\n if (!r || !n) return null;\n if (!$t(r.type, [Xt(Nt), Rt, Nt])) return e.error(\"Expected first argument to be of type array or string, but found \" + Jt(r.type) + \" instead\");\n if (4 === t.length) {\n var i = e.parse(t[3], 3, Ot);\n return i ? new yr(r.type, r, n, i) : null;\n }\n return new yr(r.type, r, n);\n }, yr.prototype.evaluate = function (t) {\n var e = this.input.evaluate(t),\n r = this.beginIndex.evaluate(t);\n if (!Wt(e, [\"string\", \"array\"])) throw new pe(\"Expected first argument to be of type array or string, but found \" + Jt(se(e)) + \" instead.\");\n if (this.endIndex) {\n var n = this.endIndex.evaluate(t);\n return e.slice(r, n);\n }\n return e.slice(r);\n }, yr.prototype.eachChild = function (t) {\n t(this.input), t(this.beginIndex), this.endIndex && t(this.endIndex);\n }, yr.prototype.outputDefined = function () {\n return !1;\n }, yr.prototype.serialize = function () {\n if (null != this.endIndex && void 0 !== this.endIndex) {\n var t = this.endIndex.serialize();\n return [\"slice\", this.input.serialize(), this.beginIndex.serialize(), t];\n }\n return [\"slice\", this.input.serialize(), this.beginIndex.serialize()];\n };\n var gr = vr(\"==\", function (t, e, r) {\n return e === r;\n }, mr),\n xr = vr(\"!=\", function (t, e, r) {\n return e !== r;\n }, function (t, e, r, n) {\n return !mr(0, e, r, n);\n }),\n br = vr(\"<\", function (t, e, r) {\n return e < r;\n }, function (t, e, r, n) {\n return n.compare(e, r) < 0;\n }),\n wr = vr(\">\", function (t, e, r) {\n return e > r;\n }, function (t, e, r, n) {\n return n.compare(e, r) > 0;\n }),\n _r = vr(\"<=\", function (t, e, r) {\n return e <= r;\n }, function (t, e, r, n) {\n return n.compare(e, r) <= 0;\n }),\n Ar = vr(\">=\", function (t, e, r) {\n return e >= r;\n }, function (t, e, r, n) {\n return n.compare(e, r) >= 0;\n }),\n Sr = function (t, e, r, n, i) {\n this.type = Rt, this.number = t, this.locale = e, this.currency = r, this.minFractionDigits = n, this.maxFractionDigits = i;\n };\n Sr.parse = function (t, e) {\n if (3 !== t.length) return e.error(\"Expected two arguments.\");\n var r = e.parse(t[1], 1, Ot);\n if (!r) return null;\n var n = t[2];\n if (\"object\" != typeof n || Array.isArray(n)) return e.error(\"NumberFormat options argument must be an object.\");\n var i = null;\n if (n.locale && !(i = e.parse(n.locale, 1, Rt))) return null;\n var a = null;\n if (n.currency && !(a = e.parse(n.currency, 1, Rt))) return null;\n var o = null;\n if (n[\"min-fraction-digits\"] && !(o = e.parse(n[\"min-fraction-digits\"], 1, Ot))) return null;\n var s = null;\n return n[\"max-fraction-digits\"] && !(s = e.parse(n[\"max-fraction-digits\"], 1, Ot)) ? null : new Sr(r, i, a, o, s);\n }, Sr.prototype.evaluate = function (t) {\n return new Intl.NumberFormat(this.locale ? this.locale.evaluate(t) : [], {\n style: this.currency ? \"currency\" : \"decimal\",\n currency: this.currency ? this.currency.evaluate(t) : void 0,\n minimumFractionDigits: this.minFractionDigits ? this.minFractionDigits.evaluate(t) : void 0,\n maximumFractionDigits: this.maxFractionDigits ? this.maxFractionDigits.evaluate(t) : void 0\n }).format(this.number.evaluate(t));\n }, Sr.prototype.eachChild = function (t) {\n t(this.number), this.locale && t(this.locale), this.currency && t(this.currency), this.minFractionDigits && t(this.minFractionDigits), this.maxFractionDigits && t(this.maxFractionDigits);\n }, Sr.prototype.outputDefined = function () {\n return !1;\n }, Sr.prototype.serialize = function () {\n var t = {};\n return this.locale && (t.locale = this.locale.serialize()), this.currency && (t.currency = this.currency.serialize()), this.minFractionDigits && (t[\"min-fraction-digits\"] = this.minFractionDigits.serialize()), this.maxFractionDigits && (t[\"max-fraction-digits\"] = this.maxFractionDigits.serialize()), [\"number-format\", this.number.serialize(), t];\n };\n var kr = function (t) {\n this.type = Ot, this.input = t;\n };\n kr.parse = function (t, e) {\n if (2 !== t.length) return e.error(\"Expected 1 argument, but found \" + (t.length - 1) + \" instead.\");\n var r = e.parse(t[1], 1);\n return r ? \"array\" !== r.type.kind && \"string\" !== r.type.kind && \"value\" !== r.type.kind ? e.error(\"Expected argument of type string or array, but found \" + Jt(r.type) + \" instead.\") : new kr(r) : null;\n }, kr.prototype.evaluate = function (t) {\n var e = this.input.evaluate(t);\n if (\"string\" == typeof e) return e.length;\n if (Array.isArray(e)) return e.length;\n throw new pe(\"Expected value to be of type string or array, but found \" + Jt(se(e)) + \" instead.\");\n }, kr.prototype.eachChild = function (t) {\n t(this.input);\n }, kr.prototype.outputDefined = function () {\n return !1;\n }, kr.prototype.serialize = function () {\n var t = [\"length\"];\n return this.eachChild(function (e) {\n t.push(e.serialize());\n }), t;\n };\n var Ir = {\n \"==\": gr,\n \"!=\": xr,\n \">\": wr,\n \"<\": br,\n \">=\": Ar,\n \"<=\": _r,\n array: he,\n at: lr,\n boolean: he,\n case: fr,\n coalesce: sr,\n collator: be,\n format: fe,\n image: ye,\n in: pr,\n \"index-of\": cr,\n interpolate: ar,\n \"interpolate-hcl\": ar,\n \"interpolate-lab\": ar,\n length: kr,\n let: ur,\n literal: le,\n match: hr,\n number: he,\n \"number-format\": Sr,\n object: he,\n slice: yr,\n step: Ne,\n string: he,\n \"to-boolean\": me,\n \"to-color\": me,\n \"to-number\": me,\n \"to-string\": me,\n var: Ue,\n within: De\n };\n function zr(t, e) {\n var r = e[0],\n n = e[1],\n i = e[2],\n a = e[3];\n r = r.evaluate(t), n = n.evaluate(t), i = i.evaluate(t);\n var o = a ? a.evaluate(t) : 1,\n s = ae(r, n, i, o);\n if (s) throw new pe(s);\n return new te(r / 255 * o, n / 255 * o, i / 255 * o, o);\n }\n function Cr(t, e) {\n return t in e;\n }\n function Er(t, e) {\n var r = e[t];\n return void 0 === r ? null : r;\n }\n function Pr(t) {\n return {\n type: t\n };\n }\n function Mr(t) {\n return {\n result: \"success\",\n value: t\n };\n }\n function Br(t) {\n return {\n result: \"error\",\n value: t\n };\n }\n function Tr(t) {\n return \"data-driven\" === t[\"property-type\"] || \"cross-faded-data-driven\" === t[\"property-type\"];\n }\n function Vr(t) {\n return !!t.expression && t.expression.parameters.indexOf(\"zoom\") > -1;\n }\n function Fr(t) {\n return !!t.expression && t.expression.interpolated;\n }\n function Dr(t) {\n return t instanceof Number ? \"number\" : t instanceof String ? \"string\" : t instanceof Boolean ? \"boolean\" : Array.isArray(t) ? \"array\" : null === t ? \"null\" : typeof t;\n }\n function Lr(t) {\n return \"object\" == typeof t && null !== t && !Array.isArray(t);\n }\n function Or(t) {\n return t;\n }\n function Rr(t, e, r) {\n return void 0 !== t ? t : void 0 !== e ? e : void 0 !== r ? r : void 0;\n }\n function Ur(t, e, r, n, i) {\n return Rr(typeof r === i ? n[r] : void 0, t.default, e.default);\n }\n function jr(t, e, r) {\n if (\"number\" !== Dr(r)) return Rr(t.default, e.default);\n var n = t.stops.length;\n if (1 === n) return t.stops[0][1];\n if (r <= t.stops[0][0]) return t.stops[0][1];\n if (r >= t.stops[n - 1][0]) return t.stops[n - 1][1];\n var i = qe(t.stops.map(function (t) {\n return t[0];\n }), r);\n return t.stops[i][1];\n }\n function qr(t, e, r) {\n var n = void 0 !== t.base ? t.base : 1;\n if (\"number\" !== Dr(r)) return Rr(t.default, e.default);\n var i = t.stops.length;\n if (1 === i) return t.stops[0][1];\n if (r <= t.stops[0][0]) return t.stops[0][1];\n if (r >= t.stops[i - 1][0]) return t.stops[i - 1][1];\n var a = qe(t.stops.map(function (t) {\n return t[0];\n }), r),\n o = function (t, e, r, n) {\n var i = n - r,\n a = t - r;\n return 0 === i ? 0 : 1 === e ? a / i : (Math.pow(e, a) - 1) / (Math.pow(e, i) - 1);\n }(r, n, t.stops[a][0], t.stops[a + 1][0]),\n s = t.stops[a][1],\n u = t.stops[a + 1][1],\n l = Ge[e.type] || Or;\n if (t.colorSpace && \"rgb\" !== t.colorSpace) {\n var p = ir[t.colorSpace];\n l = function (t, e) {\n return p.reverse(p.interpolate(p.forward(t), p.forward(e), o));\n };\n }\n return \"function\" == typeof s.evaluate ? {\n evaluate: function () {\n for (var t = [], e = arguments.length; e--;) t[e] = arguments[e];\n var r = s.evaluate.apply(void 0, t),\n n = u.evaluate.apply(void 0, t);\n if (void 0 !== r && void 0 !== n) return l(r, n, o);\n }\n } : l(s, u, o);\n }\n function Nr(t, e, r) {\n return \"color\" === e.type ? r = te.parse(r) : \"formatted\" === e.type ? r = ne.fromString(r.toString()) : \"resolvedImage\" === e.type ? r = ie.fromString(r.toString()) : Dr(r) === e.type || \"enum\" === e.type && e.values[r] || (r = void 0), Rr(r, t.default, e.default);\n }\n xe.register(Ir, {\n error: [{\n kind: \"error\"\n }, [Rt], function (t, e) {\n throw new pe(e[0].evaluate(t));\n }],\n typeof: [Rt, [Nt], function (t, e) {\n return Jt(se(e[0].evaluate(t)));\n }],\n \"to-rgba\": [Xt(Ot, 4), [jt], function (t, e) {\n return e[0].evaluate(t).toArray();\n }],\n rgb: [jt, [Ot, Ot, Ot], zr],\n rgba: [jt, [Ot, Ot, Ot, Ot], zr],\n has: {\n type: Ut,\n overloads: [[[Rt], function (t, e) {\n return Cr(e[0].evaluate(t), t.properties());\n }], [[Rt, qt], function (t, e) {\n var r = e[1];\n return Cr(e[0].evaluate(t), r.evaluate(t));\n }]]\n },\n get: {\n type: Nt,\n overloads: [[[Rt], function (t, e) {\n return Er(e[0].evaluate(t), t.properties());\n }], [[Rt, qt], function (t, e) {\n var r = e[1];\n return Er(e[0].evaluate(t), r.evaluate(t));\n }]]\n },\n \"feature-state\": [Nt, [Rt], function (t, e) {\n return Er(e[0].evaluate(t), t.featureState || {});\n }],\n properties: [qt, [], function (t) {\n return t.properties();\n }],\n \"geometry-type\": [Rt, [], function (t) {\n return t.geometryType();\n }],\n id: [Nt, [], function (t) {\n return t.id();\n }],\n zoom: [Ot, [], function (t) {\n return t.globals.zoom;\n }],\n \"heatmap-density\": [Ot, [], function (t) {\n return t.globals.heatmapDensity || 0;\n }],\n \"line-progress\": [Ot, [], function (t) {\n return t.globals.lineProgress || 0;\n }],\n accumulated: [Nt, [], function (t) {\n return void 0 === t.globals.accumulated ? null : t.globals.accumulated;\n }],\n \"+\": [Ot, Pr(Ot), function (t, e) {\n for (var r = 0, n = 0, i = e; n < i.length; n += 1) r += i[n].evaluate(t);\n return r;\n }],\n \"*\": [Ot, Pr(Ot), function (t, e) {\n for (var r = 1, n = 0, i = e; n < i.length; n += 1) r *= i[n].evaluate(t);\n return r;\n }],\n \"-\": {\n type: Ot,\n overloads: [[[Ot, Ot], function (t, e) {\n var r = e[1];\n return e[0].evaluate(t) - r.evaluate(t);\n }], [[Ot], function (t, e) {\n return -e[0].evaluate(t);\n }]]\n },\n \"/\": [Ot, [Ot, Ot], function (t, e) {\n var r = e[1];\n return e[0].evaluate(t) / r.evaluate(t);\n }],\n \"%\": [Ot, [Ot, Ot], function (t, e) {\n var r = e[1];\n return e[0].evaluate(t) % r.evaluate(t);\n }],\n ln2: [Ot, [], function () {\n return Math.LN2;\n }],\n pi: [Ot, [], function () {\n return Math.PI;\n }],\n e: [Ot, [], function () {\n return Math.E;\n }],\n \"^\": [Ot, [Ot, Ot], function (t, e) {\n var r = e[1];\n return Math.pow(e[0].evaluate(t), r.evaluate(t));\n }],\n sqrt: [Ot, [Ot], function (t, e) {\n return Math.sqrt(e[0].evaluate(t));\n }],\n log10: [Ot, [Ot], function (t, e) {\n return Math.log(e[0].evaluate(t)) / Math.LN10;\n }],\n ln: [Ot, [Ot], function (t, e) {\n return Math.log(e[0].evaluate(t));\n }],\n log2: [Ot, [Ot], function (t, e) {\n return Math.log(e[0].evaluate(t)) / Math.LN2;\n }],\n sin: [Ot, [Ot], function (t, e) {\n return Math.sin(e[0].evaluate(t));\n }],\n cos: [Ot, [Ot], function (t, e) {\n return Math.cos(e[0].evaluate(t));\n }],\n tan: [Ot, [Ot], function (t, e) {\n return Math.tan(e[0].evaluate(t));\n }],\n asin: [Ot, [Ot], function (t, e) {\n return Math.asin(e[0].evaluate(t));\n }],\n acos: [Ot, [Ot], function (t, e) {\n return Math.acos(e[0].evaluate(t));\n }],\n atan: [Ot, [Ot], function (t, e) {\n return Math.atan(e[0].evaluate(t));\n }],\n min: [Ot, Pr(Ot), function (t, e) {\n return Math.min.apply(Math, e.map(function (e) {\n return e.evaluate(t);\n }));\n }],\n max: [Ot, Pr(Ot), function (t, e) {\n return Math.max.apply(Math, e.map(function (e) {\n return e.evaluate(t);\n }));\n }],\n abs: [Ot, [Ot], function (t, e) {\n return Math.abs(e[0].evaluate(t));\n }],\n round: [Ot, [Ot], function (t, e) {\n var r = e[0].evaluate(t);\n return r < 0 ? -Math.round(-r) : Math.round(r);\n }],\n floor: [Ot, [Ot], function (t, e) {\n return Math.floor(e[0].evaluate(t));\n }],\n ceil: [Ot, [Ot], function (t, e) {\n return Math.ceil(e[0].evaluate(t));\n }],\n \"filter-==\": [Ut, [Rt, Nt], function (t, e) {\n var r = e[0],\n n = e[1];\n return t.properties()[r.value] === n.value;\n }],\n \"filter-id-==\": [Ut, [Nt], function (t, e) {\n var r = e[0];\n return t.id() === r.value;\n }],\n \"filter-type-==\": [Ut, [Rt], function (t, e) {\n var r = e[0];\n return t.geometryType() === r.value;\n }],\n \"filter-<\": [Ut, [Rt, Nt], function (t, e) {\n var r = e[0],\n n = e[1],\n i = t.properties()[r.value],\n a = n.value;\n return typeof i == typeof a && i < a;\n }],\n \"filter-id-<\": [Ut, [Nt], function (t, e) {\n var r = e[0],\n n = t.id(),\n i = r.value;\n return typeof n == typeof i && n < i;\n }],\n \"filter->\": [Ut, [Rt, Nt], function (t, e) {\n var r = e[0],\n n = e[1],\n i = t.properties()[r.value],\n a = n.value;\n return typeof i == typeof a && i > a;\n }],\n \"filter-id->\": [Ut, [Nt], function (t, e) {\n var r = e[0],\n n = t.id(),\n i = r.value;\n return typeof n == typeof i && n > i;\n }],\n \"filter-<=\": [Ut, [Rt, Nt], function (t, e) {\n var r = e[0],\n n = e[1],\n i = t.properties()[r.value],\n a = n.value;\n return typeof i == typeof a && i <= a;\n }],\n \"filter-id-<=\": [Ut, [Nt], function (t, e) {\n var r = e[0],\n n = t.id(),\n i = r.value;\n return typeof n == typeof i && n <= i;\n }],\n \"filter->=\": [Ut, [Rt, Nt], function (t, e) {\n var r = e[0],\n n = e[1],\n i = t.properties()[r.value],\n a = n.value;\n return typeof i == typeof a && i >= a;\n }],\n \"filter-id->=\": [Ut, [Nt], function (t, e) {\n var r = e[0],\n n = t.id(),\n i = r.value;\n return typeof n == typeof i && n >= i;\n }],\n \"filter-has\": [Ut, [Nt], function (t, e) {\n return e[0].value in t.properties();\n }],\n \"filter-has-id\": [Ut, [], function (t) {\n return null !== t.id() && void 0 !== t.id();\n }],\n \"filter-type-in\": [Ut, [Xt(Rt)], function (t, e) {\n return e[0].value.indexOf(t.geometryType()) >= 0;\n }],\n \"filter-id-in\": [Ut, [Xt(Nt)], function (t, e) {\n return e[0].value.indexOf(t.id()) >= 0;\n }],\n \"filter-in-small\": [Ut, [Rt, Xt(Nt)], function (t, e) {\n var r = e[0];\n return e[1].value.indexOf(t.properties()[r.value]) >= 0;\n }],\n \"filter-in-large\": [Ut, [Rt, Xt(Nt)], function (t, e) {\n var r = e[0],\n n = e[1];\n return function (t, e, r, n) {\n for (; r <= n;) {\n var i = r + n >> 1;\n if (e[i] === t) return !0;\n e[i] > t ? n = i - 1 : r = i + 1;\n }\n return !1;\n }(t.properties()[r.value], n.value, 0, n.value.length - 1);\n }],\n all: {\n type: Ut,\n overloads: [[[Ut, Ut], function (t, e) {\n var r = e[1];\n return e[0].evaluate(t) && r.evaluate(t);\n }], [Pr(Ut), function (t, e) {\n for (var r = 0, n = e; r < n.length; r += 1) if (!n[r].evaluate(t)) return !1;\n return !0;\n }]]\n },\n any: {\n type: Ut,\n overloads: [[[Ut, Ut], function (t, e) {\n var r = e[1];\n return e[0].evaluate(t) || r.evaluate(t);\n }], [Pr(Ut), function (t, e) {\n for (var r = 0, n = e; r < n.length; r += 1) if (n[r].evaluate(t)) return !0;\n return !1;\n }]]\n },\n \"!\": [Ut, [Ut], function (t, e) {\n return !e[0].evaluate(t);\n }],\n \"is-supported-script\": [Ut, [Rt], function (t, e) {\n var r = t.globals && t.globals.isSupportedScript;\n return !r || r(e[0].evaluate(t));\n }],\n upcase: [Rt, [Rt], function (t, e) {\n return e[0].evaluate(t).toUpperCase();\n }],\n downcase: [Rt, [Rt], function (t, e) {\n return e[0].evaluate(t).toLowerCase();\n }],\n concat: [Rt, Pr(Nt), function (t, e) {\n return e.map(function (e) {\n return ue(e.evaluate(t));\n }).join(\"\");\n }],\n \"resolved-locale\": [Rt, [Kt], function (t, e) {\n return e[0].evaluate(t).resolvedLocale();\n }]\n });\n var Kr = function (t, e) {\n this.expression = t, this._warningHistory = {}, this._evaluator = new ge(), this._defaultValue = e ? function (t) {\n return \"color\" === t.type && Lr(t.default) ? new te(0, 0, 0, 0) : \"color\" === t.type ? te.parse(t.default) || null : void 0 === t.default ? null : t.default;\n }(e) : null, this._enumValues = e && \"enum\" === e.type ? e.values : null;\n };\n function Gr(t) {\n return Array.isArray(t) && t.length > 0 && \"string\" == typeof t[0] && t[0] in Ir;\n }\n function Zr(t, e) {\n var r = new je(Ir, [], e ? function (t) {\n var e = {\n color: jt,\n string: Rt,\n number: Ot,\n enum: Rt,\n boolean: Ut,\n formatted: Gt,\n resolvedImage: Zt\n };\n return \"array\" === t.type ? Xt(e[t.value] || Nt, t.length) : e[t.type];\n }(e) : void 0),\n n = r.parse(t, void 0, void 0, void 0, e && \"string\" === e.type ? {\n typeAnnotation: \"coerce\"\n } : void 0);\n return n ? Mr(new Kr(n, e)) : Br(r.errors);\n }\n Kr.prototype.evaluateWithoutErrorHandling = function (t, e, r, n, i, a) {\n return this._evaluator.globals = t, this._evaluator.feature = e, this._evaluator.featureState = r, this._evaluator.canonical = n, this._evaluator.availableImages = i || null, this._evaluator.formattedSection = a, this.expression.evaluate(this._evaluator);\n }, Kr.prototype.evaluate = function (t, e, r, n, i, a) {\n this._evaluator.globals = t, this._evaluator.feature = e || null, this._evaluator.featureState = r || null, this._evaluator.canonical = n, this._evaluator.availableImages = i || null, this._evaluator.formattedSection = a || null;\n try {\n var o = this.expression.evaluate(this._evaluator);\n if (null == o || \"number\" == typeof o && o != o) return this._defaultValue;\n if (this._enumValues && !(o in this._enumValues)) throw new pe(\"Expected value to be one of \" + Object.keys(this._enumValues).map(function (t) {\n return JSON.stringify(t);\n }).join(\", \") + \", but found \" + JSON.stringify(o) + \" instead.\");\n return o;\n } catch (t) {\n return this._warningHistory[t.message] || (this._warningHistory[t.message] = !0, \"undefined\" != typeof console && console.warn(t.message)), this._defaultValue;\n }\n };\n var Xr = function (t, e) {\n this.kind = t, this._styleExpression = e, this.isStateDependent = \"constant\" !== t && !Oe(e.expression);\n };\n Xr.prototype.evaluateWithoutErrorHandling = function (t, e, r, n, i, a) {\n return this._styleExpression.evaluateWithoutErrorHandling(t, e, r, n, i, a);\n }, Xr.prototype.evaluate = function (t, e, r, n, i, a) {\n return this._styleExpression.evaluate(t, e, r, n, i, a);\n };\n var Jr = function (t, e, r, n) {\n this.kind = t, this.zoomStops = r, this._styleExpression = e, this.isStateDependent = \"camera\" !== t && !Oe(e.expression), this.interpolationType = n;\n };\n function Hr(t, e) {\n if (\"error\" === (t = Zr(t, e)).result) return t;\n var r = t.value.expression,\n n = Le(r);\n if (!n && !Tr(e)) return Br([new Ft(\"\", \"data expressions not supported\")]);\n var i = Re(r, [\"zoom\"]);\n if (!i && !Vr(e)) return Br([new Ft(\"\", \"zoom expressions not supported\")]);\n var a = function t(e) {\n var r = null;\n if (e instanceof ur) r = t(e.result);else if (e instanceof sr) for (var n = 0, i = e.args; n < i.length && !(r = t(i[n])); n += 1);else (e instanceof Ne || e instanceof ar) && e.input instanceof xe && \"zoom\" === e.input.name && (r = e);\n return r instanceof Ft || e.eachChild(function (e) {\n var n = t(e);\n n instanceof Ft ? r = n : !r && n ? r = new Ft(\"\", '\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.') : r && n && r !== n && (r = new Ft(\"\", 'Only one zoom-based \"step\" or \"interpolate\" subexpression may be used in an expression.'));\n }), r;\n }(r);\n return a || i ? a instanceof Ft ? Br([a]) : a instanceof ar && !Fr(e) ? Br([new Ft(\"\", '\"interpolate\" expressions cannot be used with this property')]) : Mr(a ? new Jr(n ? \"camera\" : \"composite\", t.value, a.labels, a instanceof ar ? a.interpolation : void 0) : new Xr(n ? \"constant\" : \"source\", t.value)) : Br([new Ft(\"\", '\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.')]);\n }\n Jr.prototype.evaluateWithoutErrorHandling = function (t, e, r, n, i, a) {\n return this._styleExpression.evaluateWithoutErrorHandling(t, e, r, n, i, a);\n }, Jr.prototype.evaluate = function (t, e, r, n, i, a) {\n return this._styleExpression.evaluate(t, e, r, n, i, a);\n }, Jr.prototype.interpolationFactor = function (t, e, r) {\n return this.interpolationType ? ar.interpolationFactor(this.interpolationType, t, e, r) : 0;\n };\n var Yr = function (t, e) {\n this._parameters = t, this._specification = e, Bt(this, function t(e, r) {\n var n,\n i,\n a,\n o = \"color\" === r.type,\n s = e.stops && \"object\" == typeof e.stops[0][0],\n u = s || !(s || void 0 !== e.property),\n l = e.type || (Fr(r) ? \"exponential\" : \"interval\");\n if (o && ((e = Bt({}, e)).stops && (e.stops = e.stops.map(function (t) {\n return [t[0], te.parse(t[1])];\n })), e.default = te.parse(e.default ? e.default : r.default)), e.colorSpace && \"rgb\" !== e.colorSpace && !ir[e.colorSpace]) throw new Error(\"Unknown color space: \" + e.colorSpace);\n if (\"exponential\" === l) n = qr;else if (\"interval\" === l) n = jr;else if (\"categorical\" === l) {\n n = Ur, i = Object.create(null);\n for (var p = 0, c = e.stops; p < c.length; p += 1) {\n var h = c[p];\n i[h[0]] = h[1];\n }\n a = typeof e.stops[0][0];\n } else {\n if (\"identity\" !== l) throw new Error('Unknown function type \"' + l + '\"');\n n = Nr;\n }\n if (s) {\n for (var f = {}, y = [], d = 0; d < e.stops.length; d++) {\n var m = e.stops[d],\n v = m[0].zoom;\n void 0 === f[v] && (f[v] = {\n zoom: v,\n type: e.type,\n property: e.property,\n default: e.default,\n stops: []\n }, y.push(v)), f[v].stops.push([m[0].value, m[1]]);\n }\n for (var g = [], x = 0, b = y; x < b.length; x += 1) {\n var w = b[x];\n g.push([f[w].zoom, t(f[w], r)]);\n }\n var _ = {\n name: \"linear\"\n };\n return {\n kind: \"composite\",\n interpolationType: _,\n interpolationFactor: ar.interpolationFactor.bind(void 0, _),\n zoomStops: g.map(function (t) {\n return t[0];\n }),\n evaluate: function (t, n) {\n var i = t.zoom;\n return qr({\n stops: g,\n base: e.base\n }, r, i).evaluate(i, n);\n }\n };\n }\n if (u) {\n var A = \"exponential\" === l ? {\n name: \"exponential\",\n base: void 0 !== e.base ? e.base : 1\n } : null;\n return {\n kind: \"camera\",\n interpolationType: A,\n interpolationFactor: ar.interpolationFactor.bind(void 0, A),\n zoomStops: e.stops.map(function (t) {\n return t[0];\n }),\n evaluate: function (t) {\n return n(e, r, t.zoom, i, a);\n }\n };\n }\n return {\n kind: \"source\",\n evaluate: function (t, o) {\n var s = o && o.properties ? o.properties[e.property] : void 0;\n return void 0 === s ? Rr(e.default, r.default) : n(e, r, s, i, a);\n }\n };\n }(this._parameters, this._specification));\n };\n function $r(t) {\n var e = t.key,\n r = t.value,\n n = t.valueSpec || {},\n i = t.objectElementValidators || {},\n a = t.style,\n o = t.styleSpec,\n s = [],\n u = Dr(r);\n if (\"object\" !== u) return [new Pt(e, r, \"object expected, \" + u + \" found\")];\n for (var l in r) {\n var p = l.split(\".\")[0],\n c = n[p] || n[\"*\"],\n h = void 0;\n if (i[p]) h = i[p];else if (n[p]) h = An;else if (i[\"*\"]) h = i[\"*\"];else {\n if (!n[\"*\"]) {\n s.push(new Pt(e, r[l], 'unknown property \"' + l + '\"'));\n continue;\n }\n h = An;\n }\n s = s.concat(h({\n key: (e ? e + \".\" : e) + l,\n value: r[l],\n valueSpec: c,\n style: a,\n styleSpec: o,\n object: r,\n objectKey: l\n }, r));\n }\n for (var f in n) i[f] || n[f].required && void 0 === n[f].default && void 0 === r[f] && s.push(new Pt(e, r, 'missing required property \"' + f + '\"'));\n return s;\n }\n function Wr(t) {\n var e = t.value,\n r = t.valueSpec,\n n = t.style,\n i = t.styleSpec,\n a = t.key,\n o = t.arrayElementValidator || An;\n if (\"array\" !== Dr(e)) return [new Pt(a, e, \"array expected, \" + Dr(e) + \" found\")];\n if (r.length && e.length !== r.length) return [new Pt(a, e, \"array length \" + r.length + \" expected, length \" + e.length + \" found\")];\n if (r[\"min-length\"] && e.length < r[\"min-length\"]) return [new Pt(a, e, \"array length at least \" + r[\"min-length\"] + \" expected, length \" + e.length + \" found\")];\n var s = {\n type: r.value,\n values: r.values\n };\n i.$version < 7 && (s.function = r.function), \"object\" === Dr(r.value) && (s = r.value);\n for (var u = [], l = 0; l < e.length; l++) u = u.concat(o({\n array: e,\n arrayIndex: l,\n value: e[l],\n valueSpec: s,\n style: n,\n styleSpec: i,\n key: a + \"[\" + l + \"]\"\n }));\n return u;\n }\n function Qr(t) {\n var e = t.key,\n r = t.value,\n n = t.valueSpec,\n i = Dr(r);\n return \"number\" === i && r != r && (i = \"NaN\"), \"number\" !== i ? [new Pt(e, r, \"number expected, \" + i + \" found\")] : \"minimum\" in n && r < n.minimum ? [new Pt(e, r, r + \" is less than the minimum value \" + n.minimum)] : \"maximum\" in n && r > n.maximum ? [new Pt(e, r, r + \" is greater than the maximum value \" + n.maximum)] : [];\n }\n function tn(t) {\n var e,\n r,\n n,\n i = t.valueSpec,\n a = Tt(t.value.type),\n o = {},\n s = \"categorical\" !== a && void 0 === t.value.property,\n u = !s,\n l = \"array\" === Dr(t.value.stops) && \"array\" === Dr(t.value.stops[0]) && \"object\" === Dr(t.value.stops[0][0]),\n p = $r({\n key: t.key,\n value: t.value,\n valueSpec: t.styleSpec.function,\n style: t.style,\n styleSpec: t.styleSpec,\n objectElementValidators: {\n stops: function (t) {\n if (\"identity\" === a) return [new Pt(t.key, t.value, 'identity function may not have a \"stops\" property')];\n var e = [],\n r = t.value;\n return e = e.concat(Wr({\n key: t.key,\n value: r,\n valueSpec: t.valueSpec,\n style: t.style,\n styleSpec: t.styleSpec,\n arrayElementValidator: c\n })), \"array\" === Dr(r) && 0 === r.length && e.push(new Pt(t.key, r, \"array must have at least one stop\")), e;\n },\n default: function (t) {\n return An({\n key: t.key,\n value: t.value,\n valueSpec: i,\n style: t.style,\n styleSpec: t.styleSpec\n });\n }\n }\n });\n return \"identity\" === a && s && p.push(new Pt(t.key, t.value, 'missing required property \"property\"')), \"identity\" === a || t.value.stops || p.push(new Pt(t.key, t.value, 'missing required property \"stops\"')), \"exponential\" === a && t.valueSpec.expression && !Fr(t.valueSpec) && p.push(new Pt(t.key, t.value, \"exponential functions not supported\")), t.styleSpec.$version >= 8 && (u && !Tr(t.valueSpec) ? p.push(new Pt(t.key, t.value, \"property functions not supported\")) : s && !Vr(t.valueSpec) && p.push(new Pt(t.key, t.value, \"zoom functions not supported\"))), \"categorical\" !== a && !l || void 0 !== t.value.property || p.push(new Pt(t.key, t.value, '\"property\" property is required')), p;\n function c(t) {\n var e = [],\n a = t.value,\n s = t.key;\n if (\"array\" !== Dr(a)) return [new Pt(s, a, \"array expected, \" + Dr(a) + \" found\")];\n if (2 !== a.length) return [new Pt(s, a, \"array length 2 expected, length \" + a.length + \" found\")];\n if (l) {\n if (\"object\" !== Dr(a[0])) return [new Pt(s, a, \"object expected, \" + Dr(a[0]) + \" found\")];\n if (void 0 === a[0].zoom) return [new Pt(s, a, \"object stop key must have zoom\")];\n if (void 0 === a[0].value) return [new Pt(s, a, \"object stop key must have value\")];\n if (n && n > Tt(a[0].zoom)) return [new Pt(s, a[0].zoom, \"stop zoom values must appear in ascending order\")];\n Tt(a[0].zoom) !== n && (n = Tt(a[0].zoom), r = void 0, o = {}), e = e.concat($r({\n key: s + \"[0]\",\n value: a[0],\n valueSpec: {\n zoom: {}\n },\n style: t.style,\n styleSpec: t.styleSpec,\n objectElementValidators: {\n zoom: Qr,\n value: h\n }\n }));\n } else e = e.concat(h({\n key: s + \"[0]\",\n value: a[0],\n valueSpec: {},\n style: t.style,\n styleSpec: t.styleSpec\n }, a));\n return Gr(Vt(a[1])) ? e.concat([new Pt(s + \"[1]\", a[1], \"expressions are not allowed in function stops.\")]) : e.concat(An({\n key: s + \"[1]\",\n value: a[1],\n valueSpec: i,\n style: t.style,\n styleSpec: t.styleSpec\n }));\n }\n function h(t, n) {\n var s = Dr(t.value),\n u = Tt(t.value),\n l = null !== t.value ? t.value : n;\n if (e) {\n if (s !== e) return [new Pt(t.key, l, s + \" stop domain type must match previous stop domain type \" + e)];\n } else e = s;\n if (\"number\" !== s && \"string\" !== s && \"boolean\" !== s) return [new Pt(t.key, l, \"stop domain value must be a number, string, or boolean\")];\n if (\"number\" !== s && \"categorical\" !== a) {\n var p = \"number expected, \" + s + \" found\";\n return Tr(i) && void 0 === a && (p += '\\nIf you intended to use a categorical function, specify `\"type\": \"categorical\"`.'), [new Pt(t.key, l, p)];\n }\n return \"categorical\" !== a || \"number\" !== s || isFinite(u) && Math.floor(u) === u ? \"categorical\" !== a && \"number\" === s && void 0 !== r && u < r ? [new Pt(t.key, l, \"stop domain values must appear in ascending order\")] : (r = u, \"categorical\" === a && u in o ? [new Pt(t.key, l, \"stop domain values must be unique\")] : (o[u] = !0, [])) : [new Pt(t.key, l, \"integer expected, found \" + u)];\n }\n }\n function en(t) {\n var e = (\"property\" === t.expressionContext ? Hr : Zr)(Vt(t.value), t.valueSpec);\n if (\"error\" === e.result) return e.value.map(function (e) {\n return new Pt(\"\" + t.key + e.key, t.value, e.message);\n });\n var r = e.value.expression || e.value._styleExpression.expression;\n if (\"property\" === t.expressionContext && \"text-font\" === t.propertyKey && !r.outputDefined()) return [new Pt(t.key, t.value, 'Invalid data expression for \"' + t.propertyKey + '\". Output values must be contained as literals within the expression.')];\n if (\"property\" === t.expressionContext && \"layout\" === t.propertyType && !Oe(r)) return [new Pt(t.key, t.value, '\"feature-state\" data expressions are not supported with layout properties.')];\n if (\"filter\" === t.expressionContext && !Oe(r)) return [new Pt(t.key, t.value, '\"feature-state\" data expressions are not supported with filters.')];\n if (t.expressionContext && 0 === t.expressionContext.indexOf(\"cluster\")) {\n if (!Re(r, [\"zoom\", \"feature-state\"])) return [new Pt(t.key, t.value, '\"zoom\" and \"feature-state\" expressions are not supported with cluster properties.')];\n if (\"cluster-initial\" === t.expressionContext && !Le(r)) return [new Pt(t.key, t.value, \"Feature data expressions are not supported with initial expression part of cluster properties.\")];\n }\n return [];\n }\n function rn(t) {\n var e = t.key,\n r = t.value,\n n = t.valueSpec,\n i = [];\n return Array.isArray(n.values) ? -1 === n.values.indexOf(Tt(r)) && i.push(new Pt(e, r, \"expected one of [\" + n.values.join(\", \") + \"], \" + JSON.stringify(r) + \" found\")) : -1 === Object.keys(n.values).indexOf(Tt(r)) && i.push(new Pt(e, r, \"expected one of [\" + Object.keys(n.values).join(\", \") + \"], \" + JSON.stringify(r) + \" found\")), i;\n }\n function nn(t) {\n if (!0 === t || !1 === t) return !0;\n if (!Array.isArray(t) || 0 === t.length) return !1;\n switch (t[0]) {\n case \"has\":\n return t.length >= 2 && \"$id\" !== t[1] && \"$type\" !== t[1];\n case \"in\":\n return t.length >= 3 && (\"string\" != typeof t[1] || Array.isArray(t[2]));\n case \"!in\":\n case \"!has\":\n case \"none\":\n return !1;\n case \"==\":\n case \"!=\":\n case \">\":\n case \">=\":\n case \"<\":\n case \"<=\":\n return 3 !== t.length || Array.isArray(t[1]) || Array.isArray(t[2]);\n case \"any\":\n case \"all\":\n for (var e = 0, r = t.slice(1); e < r.length; e += 1) {\n var n = r[e];\n if (!nn(n) && \"boolean\" != typeof n) return !1;\n }\n return !0;\n default:\n return !0;\n }\n }\n Yr.deserialize = function (t) {\n return new Yr(t._parameters, t._specification);\n }, Yr.serialize = function (t) {\n return {\n _parameters: t._parameters,\n _specification: t._specification\n };\n };\n var an = {\n type: \"boolean\",\n default: !1,\n transition: !1,\n \"property-type\": \"data-driven\",\n expression: {\n interpolated: !1,\n parameters: [\"zoom\", \"feature\"]\n }\n };\n function on(t) {\n if (null == t) return {\n filter: function () {\n return !0;\n },\n needGeometry: !1\n };\n nn(t) || (t = un(t));\n var e = Zr(t, an);\n if (\"error\" === e.result) throw new Error(e.value.map(function (t) {\n return t.key + \": \" + t.message;\n }).join(\", \"));\n return {\n filter: function (t, r, n) {\n return e.value.evaluate(t, r, {}, n);\n },\n needGeometry: function t(e) {\n if (!Array.isArray(e)) return !1;\n if (\"within\" === e[0]) return !0;\n for (var r = 1; r < e.length; r++) if (t(e[r])) return !0;\n return !1;\n }(t)\n };\n }\n function sn(t, e) {\n return t < e ? -1 : t > e ? 1 : 0;\n }\n function un(t) {\n if (!t) return !0;\n var e,\n r = t[0];\n return t.length <= 1 ? \"any\" !== r : \"==\" === r ? ln(t[1], t[2], \"==\") : \"!=\" === r ? hn(ln(t[1], t[2], \"==\")) : \"<\" === r || \">\" === r || \"<=\" === r || \">=\" === r ? ln(t[1], t[2], r) : \"any\" === r ? (e = t.slice(1), [\"any\"].concat(e.map(un))) : \"all\" === r ? [\"all\"].concat(t.slice(1).map(un)) : \"none\" === r ? [\"all\"].concat(t.slice(1).map(un).map(hn)) : \"in\" === r ? pn(t[1], t.slice(2)) : \"!in\" === r ? hn(pn(t[1], t.slice(2))) : \"has\" === r ? cn(t[1]) : \"!has\" === r ? hn(cn(t[1])) : \"within\" !== r || t;\n }\n function ln(t, e, r) {\n switch (t) {\n case \"$type\":\n return [\"filter-type-\" + r, e];\n case \"$id\":\n return [\"filter-id-\" + r, e];\n default:\n return [\"filter-\" + r, t, e];\n }\n }\n function pn(t, e) {\n if (0 === e.length) return !1;\n switch (t) {\n case \"$type\":\n return [\"filter-type-in\", [\"literal\", e]];\n case \"$id\":\n return [\"filter-id-in\", [\"literal\", e]];\n default:\n return e.length > 200 && !e.some(function (t) {\n return typeof t != typeof e[0];\n }) ? [\"filter-in-large\", t, [\"literal\", e.sort(sn)]] : [\"filter-in-small\", t, [\"literal\", e]];\n }\n }\n function cn(t) {\n switch (t) {\n case \"$type\":\n return !0;\n case \"$id\":\n return [\"filter-has-id\"];\n default:\n return [\"filter-has\", t];\n }\n }\n function hn(t) {\n return [\"!\", t];\n }\n function fn(t) {\n return nn(Vt(t.value)) ? en(Bt({}, t, {\n expressionContext: \"filter\",\n valueSpec: {\n value: \"boolean\"\n }\n })) : function t(e) {\n var r = e.value,\n n = e.key;\n if (\"array\" !== Dr(r)) return [new Pt(n, r, \"array expected, \" + Dr(r) + \" found\")];\n var i,\n a = e.styleSpec,\n o = [];\n if (r.length < 1) return [new Pt(n, r, \"filter array must have at least 1 element\")];\n switch (o = o.concat(rn({\n key: n + \"[0]\",\n value: r[0],\n valueSpec: a.filter_operator,\n style: e.style,\n styleSpec: e.styleSpec\n })), Tt(r[0])) {\n case \"<\":\n case \"<=\":\n case \">\":\n case \">=\":\n r.length >= 2 && \"$type\" === Tt(r[1]) && o.push(new Pt(n, r, '\"$type\" cannot be use with operator \"' + r[0] + '\"'));\n case \"==\":\n case \"!=\":\n 3 !== r.length && o.push(new Pt(n, r, 'filter array for operator \"' + r[0] + '\" must have 3 elements'));\n case \"in\":\n case \"!in\":\n r.length >= 2 && \"string\" !== (i = Dr(r[1])) && o.push(new Pt(n + \"[1]\", r[1], \"string expected, \" + i + \" found\"));\n for (var s = 2; s < r.length; s++) i = Dr(r[s]), \"$type\" === Tt(r[1]) ? o = o.concat(rn({\n key: n + \"[\" + s + \"]\",\n value: r[s],\n valueSpec: a.geometry_type,\n style: e.style,\n styleSpec: e.styleSpec\n })) : \"string\" !== i && \"number\" !== i && \"boolean\" !== i && o.push(new Pt(n + \"[\" + s + \"]\", r[s], \"string, number, or boolean expected, \" + i + \" found\"));\n break;\n case \"any\":\n case \"all\":\n case \"none\":\n for (var u = 1; u < r.length; u++) o = o.concat(t({\n key: n + \"[\" + u + \"]\",\n value: r[u],\n style: e.style,\n styleSpec: e.styleSpec\n }));\n break;\n case \"has\":\n case \"!has\":\n i = Dr(r[1]), 2 !== r.length ? o.push(new Pt(n, r, 'filter array for \"' + r[0] + '\" operator must have 2 elements')) : \"string\" !== i && o.push(new Pt(n + \"[1]\", r[1], \"string expected, \" + i + \" found\"));\n break;\n case \"within\":\n i = Dr(r[1]), 2 !== r.length ? o.push(new Pt(n, r, 'filter array for \"' + r[0] + '\" operator must have 2 elements')) : \"object\" !== i && o.push(new Pt(n + \"[1]\", r[1], \"object expected, \" + i + \" found\"));\n }\n return o;\n }(t);\n }\n function yn(t, e) {\n var r = t.key,\n n = t.style,\n i = t.styleSpec,\n a = t.value,\n o = t.objectKey,\n s = i[e + \"_\" + t.layerType];\n if (!s) return [];\n var u = o.match(/^(.*)-transition$/);\n if (\"paint\" === e && u && s[u[1]] && s[u[1]].transition) return An({\n key: r,\n value: a,\n valueSpec: i.transition,\n style: n,\n styleSpec: i\n });\n var l,\n p = t.valueSpec || s[o];\n if (!p) return [new Pt(r, a, 'unknown property \"' + o + '\"')];\n if (\"string\" === Dr(a) && Tr(p) && !p.tokens && (l = /^{([^}]+)}$/.exec(a))) return [new Pt(r, a, '\"' + o + '\" does not support interpolation syntax\\nUse an identity property function instead: `{ \"type\": \"identity\", \"property\": ' + JSON.stringify(l[1]) + \" }`.\")];\n var c = [];\n return \"symbol\" === t.layerType && (\"text-field\" === o && n && !n.glyphs && c.push(new Pt(r, a, 'use of \"text-field\" requires a style \"glyphs\" property')), \"text-font\" === o && Lr(Vt(a)) && \"identity\" === Tt(a.type) && c.push(new Pt(r, a, '\"text-font\" does not support identity functions'))), c.concat(An({\n key: t.key,\n value: a,\n valueSpec: p,\n style: n,\n styleSpec: i,\n expressionContext: \"property\",\n propertyType: e,\n propertyKey: o\n }));\n }\n function dn(t) {\n return yn(t, \"paint\");\n }\n function mn(t) {\n return yn(t, \"layout\");\n }\n function vn(t) {\n var e = [],\n r = t.value,\n n = t.key,\n i = t.style,\n a = t.styleSpec;\n r.type || r.ref || e.push(new Pt(n, r, 'either \"type\" or \"ref\" is required'));\n var o,\n s = Tt(r.type),\n u = Tt(r.ref);\n if (r.id) for (var l = Tt(r.id), p = 0; p < t.arrayIndex; p++) {\n var c = i.layers[p];\n Tt(c.id) === l && e.push(new Pt(n, r.id, 'duplicate layer id \"' + r.id + '\", previously used at line ' + c.id.__line__));\n }\n if (\"ref\" in r) [\"type\", \"source\", \"source-layer\", \"filter\", \"layout\"].forEach(function (t) {\n t in r && e.push(new Pt(n, r[t], '\"' + t + '\" is prohibited for ref layers'));\n }), i.layers.forEach(function (t) {\n Tt(t.id) === u && (o = t);\n }), o ? o.ref ? e.push(new Pt(n, r.ref, \"ref cannot reference another ref layer\")) : s = Tt(o.type) : e.push(new Pt(n, r.ref, 'ref layer \"' + u + '\" not found'));else if (\"background\" !== s) if (r.source) {\n var h = i.sources && i.sources[r.source],\n f = h && Tt(h.type);\n h ? \"vector\" === f && \"raster\" === s ? e.push(new Pt(n, r.source, 'layer \"' + r.id + '\" requires a raster source')) : \"raster\" === f && \"raster\" !== s ? e.push(new Pt(n, r.source, 'layer \"' + r.id + '\" requires a vector source')) : \"vector\" !== f || r[\"source-layer\"] ? \"raster-dem\" === f && \"hillshade\" !== s ? e.push(new Pt(n, r.source, \"raster-dem source can only be used with layer type 'hillshade'.\")) : \"line\" !== s || !r.paint || !r.paint[\"line-gradient\"] || \"geojson\" === f && h.lineMetrics || e.push(new Pt(n, r, 'layer \"' + r.id + '\" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')) : e.push(new Pt(n, r, 'layer \"' + r.id + '\" must specify a \"source-layer\"')) : e.push(new Pt(n, r.source, 'source \"' + r.source + '\" not found'));\n } else e.push(new Pt(n, r, 'missing required property \"source\"'));\n return e = e.concat($r({\n key: n,\n value: r,\n valueSpec: a.layer,\n style: t.style,\n styleSpec: t.styleSpec,\n objectElementValidators: {\n \"*\": function () {\n return [];\n },\n type: function () {\n return An({\n key: n + \".type\",\n value: r.type,\n valueSpec: a.layer.type,\n style: t.style,\n styleSpec: t.styleSpec,\n object: r,\n objectKey: \"type\"\n });\n },\n filter: fn,\n layout: function (t) {\n return $r({\n layer: r,\n key: t.key,\n value: t.value,\n style: t.style,\n styleSpec: t.styleSpec,\n objectElementValidators: {\n \"*\": function (t) {\n return mn(Bt({\n layerType: s\n }, t));\n }\n }\n });\n },\n paint: function (t) {\n return $r({\n layer: r,\n key: t.key,\n value: t.value,\n style: t.style,\n styleSpec: t.styleSpec,\n objectElementValidators: {\n \"*\": function (t) {\n return dn(Bt({\n layerType: s\n }, t));\n }\n }\n });\n }\n }\n }));\n }\n function gn(t) {\n var e = t.value,\n r = t.key,\n n = Dr(e);\n return \"string\" !== n ? [new Pt(r, e, \"string expected, \" + n + \" found\")] : [];\n }\n var xn = {\n promoteId: function (t) {\n var e = t.key,\n r = t.value;\n if (\"string\" === Dr(r)) return gn({\n key: e,\n value: r\n });\n var n = [];\n for (var i in r) n.push.apply(n, gn({\n key: e + \".\" + i,\n value: r[i]\n }));\n return n;\n }\n };\n function bn(t) {\n var e = t.value,\n r = t.key,\n n = t.styleSpec,\n i = t.style;\n if (!e.type) return [new Pt(r, e, '\"type\" is required')];\n var a,\n o = Tt(e.type);\n switch (o) {\n case \"vector\":\n case \"raster\":\n case \"raster-dem\":\n return $r({\n key: r,\n value: e,\n valueSpec: n[\"source_\" + o.replace(\"-\", \"_\")],\n style: t.style,\n styleSpec: n,\n objectElementValidators: xn\n });\n case \"geojson\":\n if (a = $r({\n key: r,\n value: e,\n valueSpec: n.source_geojson,\n style: i,\n styleSpec: n,\n objectElementValidators: xn\n }), e.cluster) for (var s in e.clusterProperties) {\n var u = e.clusterProperties[s],\n l = u[0],\n p = \"string\" == typeof l ? [l, [\"accumulated\"], [\"get\", s]] : l;\n a.push.apply(a, en({\n key: r + \".\" + s + \".map\",\n value: u[1],\n expressionContext: \"cluster-map\"\n })), a.push.apply(a, en({\n key: r + \".\" + s + \".reduce\",\n value: p,\n expressionContext: \"cluster-reduce\"\n }));\n }\n return a;\n case \"video\":\n return $r({\n key: r,\n value: e,\n valueSpec: n.source_video,\n style: i,\n styleSpec: n\n });\n case \"image\":\n return $r({\n key: r,\n value: e,\n valueSpec: n.source_image,\n style: i,\n styleSpec: n\n });\n case \"canvas\":\n return [new Pt(r, null, \"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.\", \"source.canvas\")];\n default:\n return rn({\n key: r + \".type\",\n value: e.type,\n valueSpec: {\n values: [\"vector\", \"raster\", \"raster-dem\", \"geojson\", \"video\", \"image\"]\n },\n style: i,\n styleSpec: n\n });\n }\n }\n function wn(t) {\n var e = t.value,\n r = t.styleSpec,\n n = r.light,\n i = t.style,\n a = [],\n o = Dr(e);\n if (void 0 === e) return a;\n if (\"object\" !== o) return a.concat([new Pt(\"light\", e, \"object expected, \" + o + \" found\")]);\n for (var s in e) {\n var u = s.match(/^(.*)-transition$/);\n a = a.concat(u && n[u[1]] && n[u[1]].transition ? An({\n key: s,\n value: e[s],\n valueSpec: r.transition,\n style: i,\n styleSpec: r\n }) : n[s] ? An({\n key: s,\n value: e[s],\n valueSpec: n[s],\n style: i,\n styleSpec: r\n }) : [new Pt(s, e[s], 'unknown property \"' + s + '\"')]);\n }\n return a;\n }\n var _n = {\n \"*\": function () {\n return [];\n },\n array: Wr,\n boolean: function (t) {\n var e = t.value,\n r = t.key,\n n = Dr(e);\n return \"boolean\" !== n ? [new Pt(r, e, \"boolean expected, \" + n + \" found\")] : [];\n },\n number: Qr,\n color: function (t) {\n var e = t.key,\n r = t.value,\n n = Dr(r);\n return \"string\" !== n ? [new Pt(e, r, \"color expected, \" + n + \" found\")] : null === Qt(r) ? [new Pt(e, r, 'color expected, \"' + r + '\" found')] : [];\n },\n constants: Mt,\n enum: rn,\n filter: fn,\n function: tn,\n layer: vn,\n object: $r,\n source: bn,\n light: wn,\n string: gn,\n formatted: function (t) {\n return 0 === gn(t).length ? [] : en(t);\n },\n resolvedImage: function (t) {\n return 0 === gn(t).length ? [] : en(t);\n }\n };\n function An(t) {\n var e = t.value,\n r = t.valueSpec,\n n = t.styleSpec;\n return r.expression && Lr(Tt(e)) ? tn(t) : r.expression && Gr(Vt(e)) ? en(t) : r.type && _n[r.type] ? _n[r.type](t) : $r(Bt({}, t, {\n valueSpec: r.type ? n[r.type] : r\n }));\n }\n function Sn(t) {\n var e = t.value,\n r = t.key,\n n = gn(t);\n return n.length || (-1 === e.indexOf(\"{fontstack}\") && n.push(new Pt(r, e, '\"glyphs\" url must include a \"{fontstack}\" token')), -1 === e.indexOf(\"{range}\") && n.push(new Pt(r, e, '\"glyphs\" url must include a \"{range}\" token'))), n;\n }\n function kn(t, e) {\n void 0 === e && (e = Et);\n var r = [];\n return r = r.concat(An({\n key: \"\",\n value: t,\n valueSpec: e.$root,\n styleSpec: e,\n style: t,\n objectElementValidators: {\n glyphs: Sn,\n \"*\": function () {\n return [];\n }\n }\n })), t.constants && (r = r.concat(Mt({\n key: \"constants\",\n value: t.constants,\n style: t,\n styleSpec: e\n }))), In(r);\n }\n function In(t) {\n return [].concat(t).sort(function (t, e) {\n return t.line - e.line;\n });\n }\n function zn(t) {\n return function () {\n for (var e = [], r = arguments.length; r--;) e[r] = arguments[r];\n return In(t.apply(this, e));\n };\n }\n kn.source = zn(bn), kn.light = zn(wn), kn.layer = zn(vn), kn.filter = zn(fn), kn.paintProperty = zn(dn), kn.layoutProperty = zn(mn);\n var Cn = kn,\n En = Cn.light,\n Pn = Cn.paintProperty,\n Mn = Cn.layoutProperty;\n function Bn(t, e) {\n var r = !1;\n if (e && e.length) for (var n = 0, i = e; n < i.length; n += 1) t.fire(new zt(new Error(i[n].message))), r = !0;\n return r;\n }\n var Tn = Vn;\n function Vn(t, e, r) {\n var n = this.cells = [];\n if (t instanceof ArrayBuffer) {\n this.arrayBuffer = t;\n var i = new Int32Array(this.arrayBuffer);\n t = i[0], this.d = (e = i[1]) + 2 * (r = i[2]);\n for (var a = 0; a < this.d * this.d; a++) {\n var o = i[3 + a],\n s = i[3 + a + 1];\n n.push(o === s ? null : i.subarray(o, s));\n }\n var u = i[3 + n.length + 1];\n this.keys = i.subarray(i[3 + n.length], u), this.bboxes = i.subarray(u), this.insert = this._insertReadonly;\n } else {\n this.d = e + 2 * r;\n for (var l = 0; l < this.d * this.d; l++) n.push([]);\n this.keys = [], this.bboxes = [];\n }\n this.n = e, this.extent = t, this.padding = r, this.scale = e / t, this.uid = 0;\n var p = r / e * t;\n this.min = -p, this.max = t + p;\n }\n Vn.prototype.insert = function (t, e, r, n, i) {\n this._forEachCell(e, r, n, i, this._insertCell, this.uid++), this.keys.push(t), this.bboxes.push(e), this.bboxes.push(r), this.bboxes.push(n), this.bboxes.push(i);\n }, Vn.prototype._insertReadonly = function () {\n throw \"Cannot insert into a GridIndex created from an ArrayBuffer.\";\n }, Vn.prototype._insertCell = function (t, e, r, n, i, a) {\n this.cells[i].push(a);\n }, Vn.prototype.query = function (t, e, r, n, i) {\n var a = this.min,\n o = this.max;\n if (t <= a && e <= a && o <= r && o <= n && !i) return Array.prototype.slice.call(this.keys);\n var s = [];\n return this._forEachCell(t, e, r, n, this._queryCell, s, {}, i), s;\n }, Vn.prototype._queryCell = function (t, e, r, n, i, a, o, s) {\n var u = this.cells[i];\n if (null !== u) for (var l = this.keys, p = this.bboxes, c = 0; c < u.length; c++) {\n var h = u[c];\n if (void 0 === o[h]) {\n var f = 4 * h;\n (s ? s(p[f + 0], p[f + 1], p[f + 2], p[f + 3]) : t <= p[f + 2] && e <= p[f + 3] && r >= p[f + 0] && n >= p[f + 1]) ? (o[h] = !0, a.push(l[h])) : o[h] = !1;\n }\n }\n }, Vn.prototype._forEachCell = function (t, e, r, n, i, a, o, s) {\n for (var u = this._convertToCellCoord(t), l = this._convertToCellCoord(e), p = this._convertToCellCoord(r), c = this._convertToCellCoord(n), h = u; h <= p; h++) for (var f = l; f <= c; f++) {\n var y = this.d * f + h;\n if ((!s || s(this._convertFromCellCoord(h), this._convertFromCellCoord(f), this._convertFromCellCoord(h + 1), this._convertFromCellCoord(f + 1))) && i.call(this, t, e, r, n, y, a, o, s)) return;\n }\n }, Vn.prototype._convertFromCellCoord = function (t) {\n return (t - this.padding) / this.scale;\n }, Vn.prototype._convertToCellCoord = function (t) {\n return Math.max(0, Math.min(this.d - 1, Math.floor(t * this.scale) + this.padding));\n }, Vn.prototype.toArrayBuffer = function () {\n if (this.arrayBuffer) return this.arrayBuffer;\n for (var t = this.cells, e = 3 + this.cells.length + 1 + 1, r = 0, n = 0; n < this.cells.length; n++) r += this.cells[n].length;\n var i = new Int32Array(e + r + this.keys.length + this.bboxes.length);\n i[0] = this.extent, i[1] = this.n, i[2] = this.padding;\n for (var a = e, o = 0; o < t.length; o++) {\n var s = t[o];\n i[3 + o] = a, i.set(s, a), a += s.length;\n }\n return i[3 + t.length] = a, i.set(this.keys, a), i[3 + t.length + 1] = a += this.keys.length, i.set(this.bboxes, a), a += this.bboxes.length, i.buffer;\n };\n var Fn = o.ImageData,\n Dn = o.ImageBitmap,\n Ln = {};\n function On(t, e, r) {\n void 0 === r && (r = {}), Object.defineProperty(e, \"_classRegistryKey\", {\n value: t,\n writeable: !1\n }), Ln[t] = {\n klass: e,\n omit: r.omit || [],\n shallow: r.shallow || []\n };\n }\n for (var Rn in On(\"Object\", Object), Tn.serialize = function (t, e) {\n var r = t.toArrayBuffer();\n return e && e.push(r), {\n buffer: r\n };\n }, Tn.deserialize = function (t) {\n return new Tn(t.buffer);\n }, On(\"Grid\", Tn), On(\"Color\", te), On(\"Error\", Error), On(\"ResolvedImage\", ie), On(\"StylePropertyFunction\", Yr), On(\"StyleExpression\", Kr, {\n omit: [\"_evaluator\"]\n }), On(\"ZoomDependentExpression\", Jr), On(\"ZoomConstantExpression\", Xr), On(\"CompoundExpression\", xe, {\n omit: [\"_evaluate\"]\n }), Ir) Ir[Rn]._classRegistryKey || On(\"Expression_\" + Rn, Ir[Rn]);\n function Un(t) {\n return t && \"undefined\" != typeof ArrayBuffer && (t instanceof ArrayBuffer || t.constructor && \"ArrayBuffer\" === t.constructor.name);\n }\n function jn(t) {\n return Dn && t instanceof Dn;\n }\n function qn(t, e) {\n if (null == t || \"boolean\" == typeof t || \"number\" == typeof t || \"string\" == typeof t || t instanceof Boolean || t instanceof Number || t instanceof String || t instanceof Date || t instanceof RegExp) return t;\n if (Un(t) || jn(t)) return e && e.push(t), t;\n if (ArrayBuffer.isView(t)) {\n var r = t;\n return e && e.push(r.buffer), r;\n }\n if (t instanceof Fn) return e && e.push(t.data.buffer), t;\n if (Array.isArray(t)) {\n for (var n = [], i = 0, a = t; i < a.length; i += 1) n.push(qn(a[i], e));\n return n;\n }\n if (\"object\" == typeof t) {\n var o = t.constructor,\n s = o._classRegistryKey;\n if (!s) throw new Error(\"can't serialize object of unregistered class\");\n var u = o.serialize ? o.serialize(t, e) : {};\n if (!o.serialize) {\n for (var l in t) if (t.hasOwnProperty(l) && !(Ln[s].omit.indexOf(l) >= 0)) {\n var p = t[l];\n u[l] = Ln[s].shallow.indexOf(l) >= 0 ? p : qn(p, e);\n }\n t instanceof Error && (u.message = t.message);\n }\n if (u.$name) throw new Error(\"$name property is reserved for worker serialization logic.\");\n return \"Object\" !== s && (u.$name = s), u;\n }\n throw new Error(\"can't serialize object of type \" + typeof t);\n }\n function Nn(t) {\n if (null == t || \"boolean\" == typeof t || \"number\" == typeof t || \"string\" == typeof t || t instanceof Boolean || t instanceof Number || t instanceof String || t instanceof Date || t instanceof RegExp || Un(t) || jn(t) || ArrayBuffer.isView(t) || t instanceof Fn) return t;\n if (Array.isArray(t)) return t.map(Nn);\n if (\"object\" == typeof t) {\n var e = t.$name || \"Object\",\n r = Ln[e].klass;\n if (!r) throw new Error(\"can't deserialize unregistered class \" + e);\n if (r.deserialize) return r.deserialize(t);\n for (var n = Object.create(r.prototype), i = 0, a = Object.keys(t); i < a.length; i += 1) {\n var o = a[i];\n if (\"$name\" !== o) {\n var s = t[o];\n n[o] = Ln[e].shallow.indexOf(o) >= 0 ? s : Nn(s);\n }\n }\n return n;\n }\n throw new Error(\"can't deserialize object of type \" + typeof t);\n }\n var Kn = function () {\n this.first = !0;\n };\n Kn.prototype.update = function (t, e) {\n var r = Math.floor(t);\n return this.first ? (this.first = !1, this.lastIntegerZoom = r, this.lastIntegerZoomTime = 0, this.lastZoom = t, this.lastFloorZoom = r, !0) : (this.lastFloorZoom > r ? (this.lastIntegerZoom = r + 1, this.lastIntegerZoomTime = e) : this.lastFloorZoom < r && (this.lastIntegerZoom = r, this.lastIntegerZoomTime = e), t !== this.lastZoom && (this.lastZoom = t, this.lastFloorZoom = r, !0));\n };\n var Gn = {\n \"Latin-1 Supplement\": function (t) {\n return t >= 128 && t <= 255;\n },\n Arabic: function (t) {\n return t >= 1536 && t <= 1791;\n },\n \"Arabic Supplement\": function (t) {\n return t >= 1872 && t <= 1919;\n },\n \"Arabic Extended-A\": function (t) {\n return t >= 2208 && t <= 2303;\n },\n \"Hangul Jamo\": function (t) {\n return t >= 4352 && t <= 4607;\n },\n \"Unified Canadian Aboriginal Syllabics\": function (t) {\n return t >= 5120 && t <= 5759;\n },\n Khmer: function (t) {\n return t >= 6016 && t <= 6143;\n },\n \"Unified Canadian Aboriginal Syllabics Extended\": function (t) {\n return t >= 6320 && t <= 6399;\n },\n \"General Punctuation\": function (t) {\n return t >= 8192 && t <= 8303;\n },\n \"Letterlike Symbols\": function (t) {\n return t >= 8448 && t <= 8527;\n },\n \"Number Forms\": function (t) {\n return t >= 8528 && t <= 8591;\n },\n \"Miscellaneous Technical\": function (t) {\n return t >= 8960 && t <= 9215;\n },\n \"Control Pictures\": function (t) {\n return t >= 9216 && t <= 9279;\n },\n \"Optical Character Recognition\": function (t) {\n return t >= 9280 && t <= 9311;\n },\n \"Enclosed Alphanumerics\": function (t) {\n return t >= 9312 && t <= 9471;\n },\n \"Geometric Shapes\": function (t) {\n return t >= 9632 && t <= 9727;\n },\n \"Miscellaneous Symbols\": function (t) {\n return t >= 9728 && t <= 9983;\n },\n \"Miscellaneous Symbols and Arrows\": function (t) {\n return t >= 11008 && t <= 11263;\n },\n \"CJK Radicals Supplement\": function (t) {\n return t >= 11904 && t <= 12031;\n },\n \"Kangxi Radicals\": function (t) {\n return t >= 12032 && t <= 12255;\n },\n \"Ideographic Description Characters\": function (t) {\n return t >= 12272 && t <= 12287;\n },\n \"CJK Symbols and Punctuation\": function (t) {\n return t >= 12288 && t <= 12351;\n },\n Hiragana: function (t) {\n return t >= 12352 && t <= 12447;\n },\n Katakana: function (t) {\n return t >= 12448 && t <= 12543;\n },\n Bopomofo: function (t) {\n return t >= 12544 && t <= 12591;\n },\n \"Hangul Compatibility Jamo\": function (t) {\n return t >= 12592 && t <= 12687;\n },\n Kanbun: function (t) {\n return t >= 12688 && t <= 12703;\n },\n \"Bopomofo Extended\": function (t) {\n return t >= 12704 && t <= 12735;\n },\n \"CJK Strokes\": function (t) {\n return t >= 12736 && t <= 12783;\n },\n \"Katakana Phonetic Extensions\": function (t) {\n return t >= 12784 && t <= 12799;\n },\n \"Enclosed CJK Letters and Months\": function (t) {\n return t >= 12800 && t <= 13055;\n },\n \"CJK Compatibility\": function (t) {\n return t >= 13056 && t <= 13311;\n },\n \"CJK Unified Ideographs Extension A\": function (t) {\n return t >= 13312 && t <= 19903;\n },\n \"Yijing Hexagram Symbols\": function (t) {\n return t >= 19904 && t <= 19967;\n },\n \"CJK Unified Ideographs\": function (t) {\n return t >= 19968 && t <= 40959;\n },\n \"Yi Syllables\": function (t) {\n return t >= 40960 && t <= 42127;\n },\n \"Yi Radicals\": function (t) {\n return t >= 42128 && t <= 42191;\n },\n \"Hangul Jamo Extended-A\": function (t) {\n return t >= 43360 && t <= 43391;\n },\n \"Hangul Syllables\": function (t) {\n return t >= 44032 && t <= 55215;\n },\n \"Hangul Jamo Extended-B\": function (t) {\n return t >= 55216 && t <= 55295;\n },\n \"Private Use Area\": function (t) {\n return t >= 57344 && t <= 63743;\n },\n \"CJK Compatibility Ideographs\": function (t) {\n return t >= 63744 && t <= 64255;\n },\n \"Arabic Presentation Forms-A\": function (t) {\n return t >= 64336 && t <= 65023;\n },\n \"Vertical Forms\": function (t) {\n return t >= 65040 && t <= 65055;\n },\n \"CJK Compatibility Forms\": function (t) {\n return t >= 65072 && t <= 65103;\n },\n \"Small Form Variants\": function (t) {\n return t >= 65104 && t <= 65135;\n },\n \"Arabic Presentation Forms-B\": function (t) {\n return t >= 65136 && t <= 65279;\n },\n \"Halfwidth and Fullwidth Forms\": function (t) {\n return t >= 65280 && t <= 65519;\n }\n };\n function Zn(t) {\n for (var e = 0, r = t; e < r.length; e += 1) if (Xn(r[e].charCodeAt(0))) return !0;\n return !1;\n }\n function Xn(t) {\n return !(746 !== t && 747 !== t && (t < 4352 || !(Gn[\"Bopomofo Extended\"](t) || Gn.Bopomofo(t) || Gn[\"CJK Compatibility Forms\"](t) && !(t >= 65097 && t <= 65103) || Gn[\"CJK Compatibility Ideographs\"](t) || Gn[\"CJK Compatibility\"](t) || Gn[\"CJK Radicals Supplement\"](t) || Gn[\"CJK Strokes\"](t) || !(!Gn[\"CJK Symbols and Punctuation\"](t) || t >= 12296 && t <= 12305 || t >= 12308 && t <= 12319 || 12336 === t) || Gn[\"CJK Unified Ideographs Extension A\"](t) || Gn[\"CJK Unified Ideographs\"](t) || Gn[\"Enclosed CJK Letters and Months\"](t) || Gn[\"Hangul Compatibility Jamo\"](t) || Gn[\"Hangul Jamo Extended-A\"](t) || Gn[\"Hangul Jamo Extended-B\"](t) || Gn[\"Hangul Jamo\"](t) || Gn[\"Hangul Syllables\"](t) || Gn.Hiragana(t) || Gn[\"Ideographic Description Characters\"](t) || Gn.Kanbun(t) || Gn[\"Kangxi Radicals\"](t) || Gn[\"Katakana Phonetic Extensions\"](t) || Gn.Katakana(t) && 12540 !== t || !(!Gn[\"Halfwidth and Fullwidth Forms\"](t) || 65288 === t || 65289 === t || 65293 === t || t >= 65306 && t <= 65310 || 65339 === t || 65341 === t || 65343 === t || t >= 65371 && t <= 65503 || 65507 === t || t >= 65512 && t <= 65519) || !(!Gn[\"Small Form Variants\"](t) || t >= 65112 && t <= 65118 || t >= 65123 && t <= 65126) || Gn[\"Unified Canadian Aboriginal Syllabics\"](t) || Gn[\"Unified Canadian Aboriginal Syllabics Extended\"](t) || Gn[\"Vertical Forms\"](t) || Gn[\"Yijing Hexagram Symbols\"](t) || Gn[\"Yi Syllables\"](t) || Gn[\"Yi Radicals\"](t))));\n }\n function Jn(t) {\n return !(Xn(t) || function (t) {\n return !!(Gn[\"Latin-1 Supplement\"](t) && (167 === t || 169 === t || 174 === t || 177 === t || 188 === t || 189 === t || 190 === t || 215 === t || 247 === t) || Gn[\"General Punctuation\"](t) && (8214 === t || 8224 === t || 8225 === t || 8240 === t || 8241 === t || 8251 === t || 8252 === t || 8258 === t || 8263 === t || 8264 === t || 8265 === t || 8273 === t) || Gn[\"Letterlike Symbols\"](t) || Gn[\"Number Forms\"](t) || Gn[\"Miscellaneous Technical\"](t) && (t >= 8960 && t <= 8967 || t >= 8972 && t <= 8991 || t >= 8996 && t <= 9e3 || 9003 === t || t >= 9085 && t <= 9114 || t >= 9150 && t <= 9165 || 9167 === t || t >= 9169 && t <= 9179 || t >= 9186 && t <= 9215) || Gn[\"Control Pictures\"](t) && 9251 !== t || Gn[\"Optical Character Recognition\"](t) || Gn[\"Enclosed Alphanumerics\"](t) || Gn[\"Geometric Shapes\"](t) || Gn[\"Miscellaneous Symbols\"](t) && !(t >= 9754 && t <= 9759) || Gn[\"Miscellaneous Symbols and Arrows\"](t) && (t >= 11026 && t <= 11055 || t >= 11088 && t <= 11097 || t >= 11192 && t <= 11243) || Gn[\"CJK Symbols and Punctuation\"](t) || Gn.Katakana(t) || Gn[\"Private Use Area\"](t) || Gn[\"CJK Compatibility Forms\"](t) || Gn[\"Small Form Variants\"](t) || Gn[\"Halfwidth and Fullwidth Forms\"](t) || 8734 === t || 8756 === t || 8757 === t || t >= 9984 && t <= 10087 || t >= 10102 && t <= 10131 || 65532 === t || 65533 === t);\n }(t));\n }\n function Hn(t) {\n return t >= 1424 && t <= 2303 || Gn[\"Arabic Presentation Forms-A\"](t) || Gn[\"Arabic Presentation Forms-B\"](t);\n }\n function Yn(t, e) {\n return !(!e && Hn(t) || t >= 2304 && t <= 3583 || t >= 3840 && t <= 4255 || Gn.Khmer(t));\n }\n function $n(t) {\n for (var e = 0, r = t; e < r.length; e += 1) if (Hn(r[e].charCodeAt(0))) return !0;\n return !1;\n }\n var Wn = null,\n Qn = \"unavailable\",\n ti = null,\n ei = function (t) {\n t && \"string\" == typeof t && t.indexOf(\"NetworkError\") > -1 && (Qn = \"error\"), Wn && Wn(t);\n };\n function ri() {\n ni.fire(new It(\"pluginStateChange\", {\n pluginStatus: Qn,\n pluginURL: ti\n }));\n }\n var ni = new Ct(),\n ii = function () {\n return Qn;\n },\n ai = function () {\n if (\"deferred\" !== Qn || !ti) throw new Error(\"rtl-text-plugin cannot be downloaded unless a pluginURL is specified\");\n Qn = \"loading\", ri(), ti && bt({\n url: ti\n }, function (t) {\n t ? ei(t) : (Qn = \"loaded\", ri());\n });\n },\n oi = {\n applyArabicShaping: null,\n processBidirectionalText: null,\n processStyledBidirectionalText: null,\n isLoaded: function () {\n return \"loaded\" === Qn || null != oi.applyArabicShaping;\n },\n isLoading: function () {\n return \"loading\" === Qn;\n },\n setState: function (t) {\n Qn = t.pluginStatus, ti = t.pluginURL;\n },\n isParsed: function () {\n return null != oi.applyArabicShaping && null != oi.processBidirectionalText && null != oi.processStyledBidirectionalText;\n },\n getPluginURL: function () {\n return ti;\n }\n },\n si = function (t, e) {\n this.zoom = t, e ? (this.now = e.now, this.fadeDuration = e.fadeDuration, this.zoomHistory = e.zoomHistory, this.transition = e.transition) : (this.now = 0, this.fadeDuration = 0, this.zoomHistory = new Kn(), this.transition = {});\n };\n si.prototype.isSupportedScript = function (t) {\n return function (t, e) {\n for (var r = 0, n = t; r < n.length; r += 1) if (!Yn(n[r].charCodeAt(0), e)) return !1;\n return !0;\n }(t, oi.isLoaded());\n }, si.prototype.crossFadingFactor = function () {\n return 0 === this.fadeDuration ? 1 : Math.min((this.now - this.zoomHistory.lastIntegerZoomTime) / this.fadeDuration, 1);\n }, si.prototype.getCrossfadeParameters = function () {\n var t = this.zoom,\n e = t - Math.floor(t),\n r = this.crossFadingFactor();\n return t > this.zoomHistory.lastIntegerZoom ? {\n fromScale: 2,\n toScale: 1,\n t: e + (1 - e) * r\n } : {\n fromScale: .5,\n toScale: 1,\n t: 1 - (1 - r) * e\n };\n };\n var ui = function (t, e) {\n this.property = t, this.value = e, this.expression = function (t, e) {\n if (Lr(t)) return new Yr(t, e);\n if (Gr(t)) {\n var r = Hr(t, e);\n if (\"error\" === r.result) throw new Error(r.value.map(function (t) {\n return t.key + \": \" + t.message;\n }).join(\", \"));\n return r.value;\n }\n var n = t;\n return \"string\" == typeof t && \"color\" === e.type && (n = te.parse(t)), {\n kind: \"constant\",\n evaluate: function () {\n return n;\n }\n };\n }(void 0 === e ? t.specification.default : e, t.specification);\n };\n ui.prototype.isDataDriven = function () {\n return \"source\" === this.expression.kind || \"composite\" === this.expression.kind;\n }, ui.prototype.possiblyEvaluate = function (t, e, r) {\n return this.property.possiblyEvaluate(this, t, e, r);\n };\n var li = function (t) {\n this.property = t, this.value = new ui(t, void 0);\n };\n li.prototype.transitioned = function (t, e) {\n return new ci(this.property, this.value, e, h({}, t.transition, this.transition), t.now);\n }, li.prototype.untransitioned = function () {\n return new ci(this.property, this.value, null, {}, 0);\n };\n var pi = function (t) {\n this._properties = t, this._values = Object.create(t.defaultTransitionablePropertyValues);\n };\n pi.prototype.getValue = function (t) {\n return w(this._values[t].value.value);\n }, pi.prototype.setValue = function (t, e) {\n this._values.hasOwnProperty(t) || (this._values[t] = new li(this._values[t].property)), this._values[t].value = new ui(this._values[t].property, null === e ? void 0 : w(e));\n }, pi.prototype.getTransition = function (t) {\n return w(this._values[t].transition);\n }, pi.prototype.setTransition = function (t, e) {\n this._values.hasOwnProperty(t) || (this._values[t] = new li(this._values[t].property)), this._values[t].transition = w(e) || void 0;\n }, pi.prototype.serialize = function () {\n for (var t = {}, e = 0, r = Object.keys(this._values); e < r.length; e += 1) {\n var n = r[e],\n i = this.getValue(n);\n void 0 !== i && (t[n] = i);\n var a = this.getTransition(n);\n void 0 !== a && (t[n + \"-transition\"] = a);\n }\n return t;\n }, pi.prototype.transitioned = function (t, e) {\n for (var r = new hi(this._properties), n = 0, i = Object.keys(this._values); n < i.length; n += 1) {\n var a = i[n];\n r._values[a] = this._values[a].transitioned(t, e._values[a]);\n }\n return r;\n }, pi.prototype.untransitioned = function () {\n for (var t = new hi(this._properties), e = 0, r = Object.keys(this._values); e < r.length; e += 1) {\n var n = r[e];\n t._values[n] = this._values[n].untransitioned();\n }\n return t;\n };\n var ci = function (t, e, r, n, i) {\n this.property = t, this.value = e, this.begin = i + n.delay || 0, this.end = this.begin + n.duration || 0, t.specification.transition && (n.delay || n.duration) && (this.prior = r);\n };\n ci.prototype.possiblyEvaluate = function (t, e, r) {\n var n = t.now || 0,\n i = this.value.possiblyEvaluate(t, e, r),\n a = this.prior;\n if (a) {\n if (n > this.end) return this.prior = null, i;\n if (this.value.isDataDriven()) return this.prior = null, i;\n if (n < this.begin) return a.possiblyEvaluate(t, e, r);\n var o = (n - this.begin) / (this.end - this.begin);\n return this.property.interpolate(a.possiblyEvaluate(t, e, r), i, function (t) {\n if (t <= 0) return 0;\n if (t >= 1) return 1;\n var e = t * t,\n r = e * t;\n return 4 * (t < .5 ? r : 3 * (t - e) + r - .75);\n }(o));\n }\n return i;\n };\n var hi = function (t) {\n this._properties = t, this._values = Object.create(t.defaultTransitioningPropertyValues);\n };\n hi.prototype.possiblyEvaluate = function (t, e, r) {\n for (var n = new di(this._properties), i = 0, a = Object.keys(this._values); i < a.length; i += 1) {\n var o = a[i];\n n._values[o] = this._values[o].possiblyEvaluate(t, e, r);\n }\n return n;\n }, hi.prototype.hasTransition = function () {\n for (var t = 0, e = Object.keys(this._values); t < e.length; t += 1) if (this._values[e[t]].prior) return !0;\n return !1;\n };\n var fi = function (t) {\n this._properties = t, this._values = Object.create(t.defaultPropertyValues);\n };\n fi.prototype.getValue = function (t) {\n return w(this._values[t].value);\n }, fi.prototype.setValue = function (t, e) {\n this._values[t] = new ui(this._values[t].property, null === e ? void 0 : w(e));\n }, fi.prototype.serialize = function () {\n for (var t = {}, e = 0, r = Object.keys(this._values); e < r.length; e += 1) {\n var n = r[e],\n i = this.getValue(n);\n void 0 !== i && (t[n] = i);\n }\n return t;\n }, fi.prototype.possiblyEvaluate = function (t, e, r) {\n for (var n = new di(this._properties), i = 0, a = Object.keys(this._values); i < a.length; i += 1) {\n var o = a[i];\n n._values[o] = this._values[o].possiblyEvaluate(t, e, r);\n }\n return n;\n };\n var yi = function (t, e, r) {\n this.property = t, this.value = e, this.parameters = r;\n };\n yi.prototype.isConstant = function () {\n return \"constant\" === this.value.kind;\n }, yi.prototype.constantOr = function (t) {\n return \"constant\" === this.value.kind ? this.value.value : t;\n }, yi.prototype.evaluate = function (t, e, r, n) {\n return this.property.evaluate(this.value, this.parameters, t, e, r, n);\n };\n var di = function (t) {\n this._properties = t, this._values = Object.create(t.defaultPossiblyEvaluatedValues);\n };\n di.prototype.get = function (t) {\n return this._values[t];\n };\n var mi = function (t) {\n this.specification = t;\n };\n mi.prototype.possiblyEvaluate = function (t, e) {\n return t.expression.evaluate(e);\n }, mi.prototype.interpolate = function (t, e, r) {\n var n = Ge[this.specification.type];\n return n ? n(t, e, r) : t;\n };\n var vi = function (t, e) {\n this.specification = t, this.overrides = e;\n };\n vi.prototype.possiblyEvaluate = function (t, e, r, n) {\n return new yi(this, \"constant\" === t.expression.kind || \"camera\" === t.expression.kind ? {\n kind: \"constant\",\n value: t.expression.evaluate(e, null, {}, r, n)\n } : t.expression, e);\n }, vi.prototype.interpolate = function (t, e, r) {\n if (\"constant\" !== t.value.kind || \"constant\" !== e.value.kind) return t;\n if (void 0 === t.value.value || void 0 === e.value.value) return new yi(this, {\n kind: \"constant\",\n value: void 0\n }, t.parameters);\n var n = Ge[this.specification.type];\n return n ? new yi(this, {\n kind: \"constant\",\n value: n(t.value.value, e.value.value, r)\n }, t.parameters) : t;\n }, vi.prototype.evaluate = function (t, e, r, n, i, a) {\n return \"constant\" === t.kind ? t.value : t.evaluate(e, r, n, i, a);\n };\n var gi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.possiblyEvaluate = function (t, e, r, n) {\n if (void 0 === t.value) return new yi(this, {\n kind: \"constant\",\n value: void 0\n }, e);\n if (\"constant\" === t.expression.kind) {\n var i = t.expression.evaluate(e, null, {}, r, n),\n a = \"resolvedImage\" === t.property.specification.type && \"string\" != typeof i ? i.name : i,\n o = this._calculate(a, a, a, e);\n return new yi(this, {\n kind: \"constant\",\n value: o\n }, e);\n }\n if (\"camera\" === t.expression.kind) {\n var s = this._calculate(t.expression.evaluate({\n zoom: e.zoom - 1\n }), t.expression.evaluate({\n zoom: e.zoom\n }), t.expression.evaluate({\n zoom: e.zoom + 1\n }), e);\n return new yi(this, {\n kind: \"constant\",\n value: s\n }, e);\n }\n return new yi(this, t.expression, e);\n }, e.prototype.evaluate = function (t, e, r, n, i, a) {\n if (\"source\" === t.kind) {\n var o = t.evaluate(e, r, n, i, a);\n return this._calculate(o, o, o, e);\n }\n return \"composite\" === t.kind ? this._calculate(t.evaluate({\n zoom: Math.floor(e.zoom) - 1\n }, r, n), t.evaluate({\n zoom: Math.floor(e.zoom)\n }, r, n), t.evaluate({\n zoom: Math.floor(e.zoom) + 1\n }, r, n), e) : t.value;\n }, e.prototype._calculate = function (t, e, r, n) {\n return n.zoom > n.zoomHistory.lastIntegerZoom ? {\n from: t,\n to: e\n } : {\n from: r,\n to: e\n };\n }, e.prototype.interpolate = function (t) {\n return t;\n }, e;\n }(vi),\n xi = function (t) {\n this.specification = t;\n };\n xi.prototype.possiblyEvaluate = function (t, e, r, n) {\n if (void 0 !== t.value) {\n if (\"constant\" === t.expression.kind) {\n var i = t.expression.evaluate(e, null, {}, r, n);\n return this._calculate(i, i, i, e);\n }\n return this._calculate(t.expression.evaluate(new si(Math.floor(e.zoom - 1), e)), t.expression.evaluate(new si(Math.floor(e.zoom), e)), t.expression.evaluate(new si(Math.floor(e.zoom + 1), e)), e);\n }\n }, xi.prototype._calculate = function (t, e, r, n) {\n return n.zoom > n.zoomHistory.lastIntegerZoom ? {\n from: t,\n to: e\n } : {\n from: r,\n to: e\n };\n }, xi.prototype.interpolate = function (t) {\n return t;\n };\n var bi = function (t) {\n this.specification = t;\n };\n bi.prototype.possiblyEvaluate = function (t, e, r, n) {\n return !!t.expression.evaluate(e, null, {}, r, n);\n }, bi.prototype.interpolate = function () {\n return !1;\n };\n var wi = function (t) {\n for (var e in this.properties = t, this.defaultPropertyValues = {}, this.defaultTransitionablePropertyValues = {}, this.defaultTransitioningPropertyValues = {}, this.defaultPossiblyEvaluatedValues = {}, this.overridableProperties = [], t) {\n var r = t[e];\n r.specification.overridable && this.overridableProperties.push(e);\n var n = this.defaultPropertyValues[e] = new ui(r, void 0),\n i = this.defaultTransitionablePropertyValues[e] = new li(r);\n this.defaultTransitioningPropertyValues[e] = i.untransitioned(), this.defaultPossiblyEvaluatedValues[e] = n.possiblyEvaluate({});\n }\n };\n On(\"DataDrivenProperty\", vi), On(\"DataConstantProperty\", mi), On(\"CrossFadedDataDrivenProperty\", gi), On(\"CrossFadedProperty\", xi), On(\"ColorRampProperty\", bi);\n var _i = function (t) {\n function e(e, r) {\n if (t.call(this), this.id = e.id, this.type = e.type, this._featureFilter = {\n filter: function () {\n return !0;\n },\n needGeometry: !1\n }, \"custom\" !== e.type && (this.metadata = (e = e).metadata, this.minzoom = e.minzoom, this.maxzoom = e.maxzoom, \"background\" !== e.type && (this.source = e.source, this.sourceLayer = e[\"source-layer\"], this.filter = e.filter), r.layout && (this._unevaluatedLayout = new fi(r.layout)), r.paint)) {\n for (var n in this._transitionablePaint = new pi(r.paint), e.paint) this.setPaintProperty(n, e.paint[n], {\n validate: !1\n });\n for (var i in e.layout) this.setLayoutProperty(i, e.layout[i], {\n validate: !1\n });\n this._transitioningPaint = this._transitionablePaint.untransitioned(), this.paint = new di(r.paint);\n }\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getCrossfadeParameters = function () {\n return this._crossfadeParameters;\n }, e.prototype.getLayoutProperty = function (t) {\n return \"visibility\" === t ? this.visibility : this._unevaluatedLayout.getValue(t);\n }, e.prototype.setLayoutProperty = function (t, e, r) {\n void 0 === r && (r = {}), null != e && this._validate(Mn, \"layers.\" + this.id + \".layout.\" + t, t, e, r) || (\"visibility\" !== t ? this._unevaluatedLayout.setValue(t, e) : this.visibility = e);\n }, e.prototype.getPaintProperty = function (t) {\n return g(t, \"-transition\") ? this._transitionablePaint.getTransition(t.slice(0, -\"-transition\".length)) : this._transitionablePaint.getValue(t);\n }, e.prototype.setPaintProperty = function (t, e, r) {\n if (void 0 === r && (r = {}), null != e && this._validate(Pn, \"layers.\" + this.id + \".paint.\" + t, t, e, r)) return !1;\n if (g(t, \"-transition\")) return this._transitionablePaint.setTransition(t.slice(0, -\"-transition\".length), e || void 0), !1;\n var n = this._transitionablePaint._values[t],\n i = \"cross-faded-data-driven\" === n.property.specification[\"property-type\"],\n a = n.value.isDataDriven(),\n o = n.value;\n this._transitionablePaint.setValue(t, e), this._handleSpecialPaintPropertyUpdate(t);\n var s = this._transitionablePaint._values[t].value;\n return s.isDataDriven() || a || i || this._handleOverridablePaintPropertyUpdate(t, o, s);\n }, e.prototype._handleSpecialPaintPropertyUpdate = function (t) {}, e.prototype._handleOverridablePaintPropertyUpdate = function (t, e, r) {\n return !1;\n }, e.prototype.isHidden = function (t) {\n return !!(this.minzoom && t < this.minzoom) || !!(this.maxzoom && t >= this.maxzoom) || \"none\" === this.visibility;\n }, e.prototype.updateTransitions = function (t) {\n this._transitioningPaint = this._transitionablePaint.transitioned(t, this._transitioningPaint);\n }, e.prototype.hasTransition = function () {\n return this._transitioningPaint.hasTransition();\n }, e.prototype.recalculate = function (t, e) {\n t.getCrossfadeParameters && (this._crossfadeParameters = t.getCrossfadeParameters()), this._unevaluatedLayout && (this.layout = this._unevaluatedLayout.possiblyEvaluate(t, void 0, e)), this.paint = this._transitioningPaint.possiblyEvaluate(t, void 0, e);\n }, e.prototype.serialize = function () {\n var t = {\n id: this.id,\n type: this.type,\n source: this.source,\n \"source-layer\": this.sourceLayer,\n metadata: this.metadata,\n minzoom: this.minzoom,\n maxzoom: this.maxzoom,\n filter: this.filter,\n layout: this._unevaluatedLayout && this._unevaluatedLayout.serialize(),\n paint: this._transitionablePaint && this._transitionablePaint.serialize()\n };\n return this.visibility && (t.layout = t.layout || {}, t.layout.visibility = this.visibility), b(t, function (t, e) {\n return !(void 0 === t || \"layout\" === e && !Object.keys(t).length || \"paint\" === e && !Object.keys(t).length);\n });\n }, e.prototype._validate = function (t, e, r, n, i) {\n return void 0 === i && (i = {}), (!i || !1 !== i.validate) && Bn(this, t.call(Cn, {\n key: e,\n layerType: this.type,\n objectKey: r,\n value: n,\n styleSpec: Et,\n style: {\n glyphs: !0,\n sprite: !0\n }\n }));\n }, e.prototype.is3D = function () {\n return !1;\n }, e.prototype.isTileClipped = function () {\n return !1;\n }, e.prototype.hasOffscreenPass = function () {\n return !1;\n }, e.prototype.resize = function () {}, e.prototype.isStateDependent = function () {\n for (var t in this.paint._values) {\n var e = this.paint.get(t);\n if (e instanceof yi && Tr(e.property.specification) && (\"source\" === e.value.kind || \"composite\" === e.value.kind) && e.value.isStateDependent) return !0;\n }\n return !1;\n }, e;\n }(Ct),\n Ai = {\n Int8: Int8Array,\n Uint8: Uint8Array,\n Int16: Int16Array,\n Uint16: Uint16Array,\n Int32: Int32Array,\n Uint32: Uint32Array,\n Float32: Float32Array\n },\n Si = function (t, e) {\n this._structArray = t, this._pos1 = e * this.size, this._pos2 = this._pos1 / 2, this._pos4 = this._pos1 / 4, this._pos8 = this._pos1 / 8;\n },\n ki = function () {\n this.isTransferred = !1, this.capacity = -1, this.resize(0);\n };\n function Ii(t, e) {\n void 0 === e && (e = 1);\n var r = 0,\n n = 0;\n return {\n members: t.map(function (t) {\n var i = Ai[t.type].BYTES_PER_ELEMENT,\n a = r = zi(r, Math.max(e, i)),\n o = t.components || 1;\n return n = Math.max(n, i), r += i * o, {\n name: t.name,\n type: t.type,\n components: o,\n offset: a\n };\n }),\n size: zi(r, Math.max(n, e)),\n alignment: e\n };\n }\n function zi(t, e) {\n return Math.ceil(t / e) * e;\n }\n ki.serialize = function (t, e) {\n return t._trim(), e && (t.isTransferred = !0, e.push(t.arrayBuffer)), {\n length: t.length,\n arrayBuffer: t.arrayBuffer\n };\n }, ki.deserialize = function (t) {\n var e = Object.create(this.prototype);\n return e.arrayBuffer = t.arrayBuffer, e.length = t.length, e.capacity = t.arrayBuffer.byteLength / e.bytesPerElement, e._refreshViews(), e;\n }, ki.prototype._trim = function () {\n this.length !== this.capacity && (this.capacity = this.length, this.arrayBuffer = this.arrayBuffer.slice(0, this.length * this.bytesPerElement), this._refreshViews());\n }, ki.prototype.clear = function () {\n this.length = 0;\n }, ki.prototype.resize = function (t) {\n this.reserve(t), this.length = t;\n }, ki.prototype.reserve = function (t) {\n if (t > this.capacity) {\n this.capacity = Math.max(t, Math.floor(5 * this.capacity), 128), this.arrayBuffer = new ArrayBuffer(this.capacity * this.bytesPerElement);\n var e = this.uint8;\n this._refreshViews(), e && this.uint8.set(e);\n }\n }, ki.prototype._refreshViews = function () {\n throw new Error(\"_refreshViews() must be implemented by each concrete StructArray layout\");\n };\n var Ci = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e) {\n var r = this.length;\n return this.resize(r + 1), this.emplace(r, t, e);\n }, e.prototype.emplace = function (t, e, r) {\n var n = 2 * t;\n return this.int16[n + 0] = e, this.int16[n + 1] = r, t;\n }, e;\n }(ki);\n Ci.prototype.bytesPerElement = 4, On(\"StructArrayLayout2i4\", Ci);\n var Ei = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n) {\n var i = this.length;\n return this.resize(i + 1), this.emplace(i, t, e, r, n);\n }, e.prototype.emplace = function (t, e, r, n, i) {\n var a = 4 * t;\n return this.int16[a + 0] = e, this.int16[a + 1] = r, this.int16[a + 2] = n, this.int16[a + 3] = i, t;\n }, e;\n }(ki);\n Ei.prototype.bytesPerElement = 8, On(\"StructArrayLayout4i8\", Ei);\n var Pi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a) {\n var o = this.length;\n return this.resize(o + 1), this.emplace(o, t, e, r, n, i, a);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o) {\n var s = 6 * t;\n return this.int16[s + 0] = e, this.int16[s + 1] = r, this.int16[s + 2] = n, this.int16[s + 3] = i, this.int16[s + 4] = a, this.int16[s + 5] = o, t;\n }, e;\n }(ki);\n Pi.prototype.bytesPerElement = 12, On(\"StructArrayLayout2i4i12\", Pi);\n var Mi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a) {\n var o = this.length;\n return this.resize(o + 1), this.emplace(o, t, e, r, n, i, a);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o) {\n var s = 4 * t,\n u = 8 * t;\n return this.int16[s + 0] = e, this.int16[s + 1] = r, this.uint8[u + 4] = n, this.uint8[u + 5] = i, this.uint8[u + 6] = a, this.uint8[u + 7] = o, t;\n }, e;\n }(ki);\n Mi.prototype.bytesPerElement = 8, On(\"StructArrayLayout2i4ub8\", Mi);\n var Bi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e) {\n var r = this.length;\n return this.resize(r + 1), this.emplace(r, t, e);\n }, e.prototype.emplace = function (t, e, r) {\n var n = 2 * t;\n return this.float32[n + 0] = e, this.float32[n + 1] = r, t;\n }, e;\n }(ki);\n Bi.prototype.bytesPerElement = 8, On(\"StructArrayLayout2f8\", Bi);\n var Ti = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a, o, s, u, l) {\n var p = this.length;\n return this.resize(p + 1), this.emplace(p, t, e, r, n, i, a, o, s, u, l);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o, s, u, l, p) {\n var c = 10 * t;\n return this.uint16[c + 0] = e, this.uint16[c + 1] = r, this.uint16[c + 2] = n, this.uint16[c + 3] = i, this.uint16[c + 4] = a, this.uint16[c + 5] = o, this.uint16[c + 6] = s, this.uint16[c + 7] = u, this.uint16[c + 8] = l, this.uint16[c + 9] = p, t;\n }, e;\n }(ki);\n Ti.prototype.bytesPerElement = 20, On(\"StructArrayLayout10ui20\", Ti);\n var Vi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a, o, s, u, l, p, c) {\n var h = this.length;\n return this.resize(h + 1), this.emplace(h, t, e, r, n, i, a, o, s, u, l, p, c);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o, s, u, l, p, c, h) {\n var f = 12 * t;\n return this.int16[f + 0] = e, this.int16[f + 1] = r, this.int16[f + 2] = n, this.int16[f + 3] = i, this.uint16[f + 4] = a, this.uint16[f + 5] = o, this.uint16[f + 6] = s, this.uint16[f + 7] = u, this.int16[f + 8] = l, this.int16[f + 9] = p, this.int16[f + 10] = c, this.int16[f + 11] = h, t;\n }, e;\n }(ki);\n Vi.prototype.bytesPerElement = 24, On(\"StructArrayLayout4i4ui4i24\", Vi);\n var Fi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r) {\n var n = this.length;\n return this.resize(n + 1), this.emplace(n, t, e, r);\n }, e.prototype.emplace = function (t, e, r, n) {\n var i = 3 * t;\n return this.float32[i + 0] = e, this.float32[i + 1] = r, this.float32[i + 2] = n, t;\n }, e;\n }(ki);\n Fi.prototype.bytesPerElement = 12, On(\"StructArrayLayout3f12\", Fi);\n var Di = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t) {\n var e = this.length;\n return this.resize(e + 1), this.emplace(e, t);\n }, e.prototype.emplace = function (t, e) {\n return this.uint32[1 * t + 0] = e, t;\n }, e;\n }(ki);\n Di.prototype.bytesPerElement = 4, On(\"StructArrayLayout1ul4\", Di);\n var Li = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a, o, s, u) {\n var l = this.length;\n return this.resize(l + 1), this.emplace(l, t, e, r, n, i, a, o, s, u);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o, s, u, l) {\n var p = 10 * t,\n c = 5 * t;\n return this.int16[p + 0] = e, this.int16[p + 1] = r, this.int16[p + 2] = n, this.int16[p + 3] = i, this.int16[p + 4] = a, this.int16[p + 5] = o, this.uint32[c + 3] = s, this.uint16[p + 8] = u, this.uint16[p + 9] = l, t;\n }, e;\n }(ki);\n Li.prototype.bytesPerElement = 20, On(\"StructArrayLayout6i1ul2ui20\", Li);\n var Oi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a) {\n var o = this.length;\n return this.resize(o + 1), this.emplace(o, t, e, r, n, i, a);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o) {\n var s = 6 * t;\n return this.int16[s + 0] = e, this.int16[s + 1] = r, this.int16[s + 2] = n, this.int16[s + 3] = i, this.int16[s + 4] = a, this.int16[s + 5] = o, t;\n }, e;\n }(ki);\n Oi.prototype.bytesPerElement = 12, On(\"StructArrayLayout2i2i2i12\", Oi);\n var Ri = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i) {\n var a = this.length;\n return this.resize(a + 1), this.emplace(a, t, e, r, n, i);\n }, e.prototype.emplace = function (t, e, r, n, i, a) {\n var o = 4 * t,\n s = 8 * t;\n return this.float32[o + 0] = e, this.float32[o + 1] = r, this.float32[o + 2] = n, this.int16[s + 6] = i, this.int16[s + 7] = a, t;\n }, e;\n }(ki);\n Ri.prototype.bytesPerElement = 16, On(\"StructArrayLayout2f1f2i16\", Ri);\n var Ui = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n) {\n var i = this.length;\n return this.resize(i + 1), this.emplace(i, t, e, r, n);\n }, e.prototype.emplace = function (t, e, r, n, i) {\n var a = 12 * t,\n o = 3 * t;\n return this.uint8[a + 0] = e, this.uint8[a + 1] = r, this.float32[o + 1] = n, this.float32[o + 2] = i, t;\n }, e;\n }(ki);\n Ui.prototype.bytesPerElement = 12, On(\"StructArrayLayout2ub2f12\", Ui);\n var ji = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r) {\n var n = this.length;\n return this.resize(n + 1), this.emplace(n, t, e, r);\n }, e.prototype.emplace = function (t, e, r, n) {\n var i = 3 * t;\n return this.uint16[i + 0] = e, this.uint16[i + 1] = r, this.uint16[i + 2] = n, t;\n }, e;\n }(ki);\n ji.prototype.bytesPerElement = 6, On(\"StructArrayLayout3ui6\", ji);\n var qi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m) {\n var v = this.length;\n return this.resize(v + 1), this.emplace(v, t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m, v) {\n var g = 24 * t,\n x = 12 * t,\n b = 48 * t;\n return this.int16[g + 0] = e, this.int16[g + 1] = r, this.uint16[g + 2] = n, this.uint16[g + 3] = i, this.uint32[x + 2] = a, this.uint32[x + 3] = o, this.uint32[x + 4] = s, this.uint16[g + 10] = u, this.uint16[g + 11] = l, this.uint16[g + 12] = p, this.float32[x + 7] = c, this.float32[x + 8] = h, this.uint8[b + 36] = f, this.uint8[b + 37] = y, this.uint8[b + 38] = d, this.uint32[x + 10] = m, this.int16[g + 22] = v, t;\n }, e;\n }(ki);\n qi.prototype.bytesPerElement = 48, On(\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\", qi);\n var Ni = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m, v, g, x, b, w, _, A, S, k, I, z) {\n var C = this.length;\n return this.resize(C + 1), this.emplace(C, t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m, v, g, x, b, w, _, A, S, k, I, z);\n }, e.prototype.emplace = function (t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m, v, g, x, b, w, _, A, S, k, I, z, C) {\n var E = 34 * t,\n P = 17 * t;\n return this.int16[E + 0] = e, this.int16[E + 1] = r, this.int16[E + 2] = n, this.int16[E + 3] = i, this.int16[E + 4] = a, this.int16[E + 5] = o, this.int16[E + 6] = s, this.int16[E + 7] = u, this.uint16[E + 8] = l, this.uint16[E + 9] = p, this.uint16[E + 10] = c, this.uint16[E + 11] = h, this.uint16[E + 12] = f, this.uint16[E + 13] = y, this.uint16[E + 14] = d, this.uint16[E + 15] = m, this.uint16[E + 16] = v, this.uint16[E + 17] = g, this.uint16[E + 18] = x, this.uint16[E + 19] = b, this.uint16[E + 20] = w, this.uint16[E + 21] = _, this.uint16[E + 22] = A, this.uint32[P + 12] = S, this.float32[P + 13] = k, this.float32[P + 14] = I, this.float32[P + 15] = z, this.float32[P + 16] = C, t;\n }, e;\n }(ki);\n Ni.prototype.bytesPerElement = 68, On(\"StructArrayLayout8i15ui1ul4f68\", Ni);\n var Ki = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t) {\n var e = this.length;\n return this.resize(e + 1), this.emplace(e, t);\n }, e.prototype.emplace = function (t, e) {\n return this.float32[1 * t + 0] = e, t;\n }, e;\n }(ki);\n Ki.prototype.bytesPerElement = 4, On(\"StructArrayLayout1f4\", Ki);\n var Gi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r) {\n var n = this.length;\n return this.resize(n + 1), this.emplace(n, t, e, r);\n }, e.prototype.emplace = function (t, e, r, n) {\n var i = 3 * t;\n return this.int16[i + 0] = e, this.int16[i + 1] = r, this.int16[i + 2] = n, t;\n }, e;\n }(ki);\n Gi.prototype.bytesPerElement = 6, On(\"StructArrayLayout3i6\", Gi);\n var Zi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r) {\n var n = this.length;\n return this.resize(n + 1), this.emplace(n, t, e, r);\n }, e.prototype.emplace = function (t, e, r, n) {\n var i = 4 * t;\n return this.uint32[2 * t + 0] = e, this.uint16[i + 2] = r, this.uint16[i + 3] = n, t;\n }, e;\n }(ki);\n Zi.prototype.bytesPerElement = 8, On(\"StructArrayLayout1ul2ui8\", Zi);\n var Xi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e) {\n var r = this.length;\n return this.resize(r + 1), this.emplace(r, t, e);\n }, e.prototype.emplace = function (t, e, r) {\n var n = 2 * t;\n return this.uint16[n + 0] = e, this.uint16[n + 1] = r, t;\n }, e;\n }(ki);\n Xi.prototype.bytesPerElement = 4, On(\"StructArrayLayout2ui4\", Xi);\n var Ji = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t) {\n var e = this.length;\n return this.resize(e + 1), this.emplace(e, t);\n }, e.prototype.emplace = function (t, e) {\n return this.uint16[1 * t + 0] = e, t;\n }, e;\n }(ki);\n Ji.prototype.bytesPerElement = 2, On(\"StructArrayLayout1ui2\", Ji);\n var Hi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._refreshViews = function () {\n this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);\n }, e.prototype.emplaceBack = function (t, e, r, n) {\n var i = this.length;\n return this.resize(i + 1), this.emplace(i, t, e, r, n);\n }, e.prototype.emplace = function (t, e, r, n, i) {\n var a = 4 * t;\n return this.float32[a + 0] = e, this.float32[a + 1] = r, this.float32[a + 2] = n, this.float32[a + 3] = i, t;\n }, e;\n }(ki);\n Hi.prototype.bytesPerElement = 16, On(\"StructArrayLayout4f16\", Hi);\n var Yi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e;\n var r = {\n anchorPointX: {\n configurable: !0\n },\n anchorPointY: {\n configurable: !0\n },\n x1: {\n configurable: !0\n },\n y1: {\n configurable: !0\n },\n x2: {\n configurable: !0\n },\n y2: {\n configurable: !0\n },\n featureIndex: {\n configurable: !0\n },\n sourceLayerIndex: {\n configurable: !0\n },\n bucketIndex: {\n configurable: !0\n },\n anchorPoint: {\n configurable: !0\n }\n };\n return r.anchorPointX.get = function () {\n return this._structArray.int16[this._pos2 + 0];\n }, r.anchorPointY.get = function () {\n return this._structArray.int16[this._pos2 + 1];\n }, r.x1.get = function () {\n return this._structArray.int16[this._pos2 + 2];\n }, r.y1.get = function () {\n return this._structArray.int16[this._pos2 + 3];\n }, r.x2.get = function () {\n return this._structArray.int16[this._pos2 + 4];\n }, r.y2.get = function () {\n return this._structArray.int16[this._pos2 + 5];\n }, r.featureIndex.get = function () {\n return this._structArray.uint32[this._pos4 + 3];\n }, r.sourceLayerIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 8];\n }, r.bucketIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 9];\n }, r.anchorPoint.get = function () {\n return new i(this.anchorPointX, this.anchorPointY);\n }, Object.defineProperties(e.prototype, r), e;\n }(Si);\n Yi.prototype.size = 20;\n var $i = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.get = function (t) {\n return new Yi(this, t);\n }, e;\n }(Li);\n On(\"CollisionBoxArray\", $i);\n var Wi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e;\n var r = {\n anchorX: {\n configurable: !0\n },\n anchorY: {\n configurable: !0\n },\n glyphStartIndex: {\n configurable: !0\n },\n numGlyphs: {\n configurable: !0\n },\n vertexStartIndex: {\n configurable: !0\n },\n lineStartIndex: {\n configurable: !0\n },\n lineLength: {\n configurable: !0\n },\n segment: {\n configurable: !0\n },\n lowerSize: {\n configurable: !0\n },\n upperSize: {\n configurable: !0\n },\n lineOffsetX: {\n configurable: !0\n },\n lineOffsetY: {\n configurable: !0\n },\n writingMode: {\n configurable: !0\n },\n placedOrientation: {\n configurable: !0\n },\n hidden: {\n configurable: !0\n },\n crossTileID: {\n configurable: !0\n },\n associatedIconIndex: {\n configurable: !0\n }\n };\n return r.anchorX.get = function () {\n return this._structArray.int16[this._pos2 + 0];\n }, r.anchorY.get = function () {\n return this._structArray.int16[this._pos2 + 1];\n }, r.glyphStartIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 2];\n }, r.numGlyphs.get = function () {\n return this._structArray.uint16[this._pos2 + 3];\n }, r.vertexStartIndex.get = function () {\n return this._structArray.uint32[this._pos4 + 2];\n }, r.lineStartIndex.get = function () {\n return this._structArray.uint32[this._pos4 + 3];\n }, r.lineLength.get = function () {\n return this._structArray.uint32[this._pos4 + 4];\n }, r.segment.get = function () {\n return this._structArray.uint16[this._pos2 + 10];\n }, r.lowerSize.get = function () {\n return this._structArray.uint16[this._pos2 + 11];\n }, r.upperSize.get = function () {\n return this._structArray.uint16[this._pos2 + 12];\n }, r.lineOffsetX.get = function () {\n return this._structArray.float32[this._pos4 + 7];\n }, r.lineOffsetY.get = function () {\n return this._structArray.float32[this._pos4 + 8];\n }, r.writingMode.get = function () {\n return this._structArray.uint8[this._pos1 + 36];\n }, r.placedOrientation.get = function () {\n return this._structArray.uint8[this._pos1 + 37];\n }, r.placedOrientation.set = function (t) {\n this._structArray.uint8[this._pos1 + 37] = t;\n }, r.hidden.get = function () {\n return this._structArray.uint8[this._pos1 + 38];\n }, r.hidden.set = function (t) {\n this._structArray.uint8[this._pos1 + 38] = t;\n }, r.crossTileID.get = function () {\n return this._structArray.uint32[this._pos4 + 10];\n }, r.crossTileID.set = function (t) {\n this._structArray.uint32[this._pos4 + 10] = t;\n }, r.associatedIconIndex.get = function () {\n return this._structArray.int16[this._pos2 + 22];\n }, Object.defineProperties(e.prototype, r), e;\n }(Si);\n Wi.prototype.size = 48;\n var Qi = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.get = function (t) {\n return new Wi(this, t);\n }, e;\n }(qi);\n On(\"PlacedSymbolArray\", Qi);\n var ta = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e;\n var r = {\n anchorX: {\n configurable: !0\n },\n anchorY: {\n configurable: !0\n },\n rightJustifiedTextSymbolIndex: {\n configurable: !0\n },\n centerJustifiedTextSymbolIndex: {\n configurable: !0\n },\n leftJustifiedTextSymbolIndex: {\n configurable: !0\n },\n verticalPlacedTextSymbolIndex: {\n configurable: !0\n },\n placedIconSymbolIndex: {\n configurable: !0\n },\n verticalPlacedIconSymbolIndex: {\n configurable: !0\n },\n key: {\n configurable: !0\n },\n textBoxStartIndex: {\n configurable: !0\n },\n textBoxEndIndex: {\n configurable: !0\n },\n verticalTextBoxStartIndex: {\n configurable: !0\n },\n verticalTextBoxEndIndex: {\n configurable: !0\n },\n iconBoxStartIndex: {\n configurable: !0\n },\n iconBoxEndIndex: {\n configurable: !0\n },\n verticalIconBoxStartIndex: {\n configurable: !0\n },\n verticalIconBoxEndIndex: {\n configurable: !0\n },\n featureIndex: {\n configurable: !0\n },\n numHorizontalGlyphVertices: {\n configurable: !0\n },\n numVerticalGlyphVertices: {\n configurable: !0\n },\n numIconVertices: {\n configurable: !0\n },\n numVerticalIconVertices: {\n configurable: !0\n },\n useRuntimeCollisionCircles: {\n configurable: !0\n },\n crossTileID: {\n configurable: !0\n },\n textBoxScale: {\n configurable: !0\n },\n textOffset0: {\n configurable: !0\n },\n textOffset1: {\n configurable: !0\n },\n collisionCircleDiameter: {\n configurable: !0\n }\n };\n return r.anchorX.get = function () {\n return this._structArray.int16[this._pos2 + 0];\n }, r.anchorY.get = function () {\n return this._structArray.int16[this._pos2 + 1];\n }, r.rightJustifiedTextSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 2];\n }, r.centerJustifiedTextSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 3];\n }, r.leftJustifiedTextSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 4];\n }, r.verticalPlacedTextSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 5];\n }, r.placedIconSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 6];\n }, r.verticalPlacedIconSymbolIndex.get = function () {\n return this._structArray.int16[this._pos2 + 7];\n }, r.key.get = function () {\n return this._structArray.uint16[this._pos2 + 8];\n }, r.textBoxStartIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 9];\n }, r.textBoxEndIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 10];\n }, r.verticalTextBoxStartIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 11];\n }, r.verticalTextBoxEndIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 12];\n }, r.iconBoxStartIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 13];\n }, r.iconBoxEndIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 14];\n }, r.verticalIconBoxStartIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 15];\n }, r.verticalIconBoxEndIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 16];\n }, r.featureIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 17];\n }, r.numHorizontalGlyphVertices.get = function () {\n return this._structArray.uint16[this._pos2 + 18];\n }, r.numVerticalGlyphVertices.get = function () {\n return this._structArray.uint16[this._pos2 + 19];\n }, r.numIconVertices.get = function () {\n return this._structArray.uint16[this._pos2 + 20];\n }, r.numVerticalIconVertices.get = function () {\n return this._structArray.uint16[this._pos2 + 21];\n }, r.useRuntimeCollisionCircles.get = function () {\n return this._structArray.uint16[this._pos2 + 22];\n }, r.crossTileID.get = function () {\n return this._structArray.uint32[this._pos4 + 12];\n }, r.crossTileID.set = function (t) {\n this._structArray.uint32[this._pos4 + 12] = t;\n }, r.textBoxScale.get = function () {\n return this._structArray.float32[this._pos4 + 13];\n }, r.textOffset0.get = function () {\n return this._structArray.float32[this._pos4 + 14];\n }, r.textOffset1.get = function () {\n return this._structArray.float32[this._pos4 + 15];\n }, r.collisionCircleDiameter.get = function () {\n return this._structArray.float32[this._pos4 + 16];\n }, Object.defineProperties(e.prototype, r), e;\n }(Si);\n ta.prototype.size = 68;\n var ea = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.get = function (t) {\n return new ta(this, t);\n }, e;\n }(Ni);\n On(\"SymbolInstanceArray\", ea);\n var ra = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getoffsetX = function (t) {\n return this.float32[1 * t + 0];\n }, e;\n }(Ki);\n On(\"GlyphOffsetArray\", ra);\n var na = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getx = function (t) {\n return this.int16[3 * t + 0];\n }, e.prototype.gety = function (t) {\n return this.int16[3 * t + 1];\n }, e.prototype.gettileUnitDistanceFromAnchor = function (t) {\n return this.int16[3 * t + 2];\n }, e;\n }(Gi);\n On(\"SymbolLineVertexArray\", na);\n var ia = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e;\n var r = {\n featureIndex: {\n configurable: !0\n },\n sourceLayerIndex: {\n configurable: !0\n },\n bucketIndex: {\n configurable: !0\n }\n };\n return r.featureIndex.get = function () {\n return this._structArray.uint32[this._pos4 + 0];\n }, r.sourceLayerIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 2];\n }, r.bucketIndex.get = function () {\n return this._structArray.uint16[this._pos2 + 3];\n }, Object.defineProperties(e.prototype, r), e;\n }(Si);\n ia.prototype.size = 8;\n var aa = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.get = function (t) {\n return new ia(this, t);\n }, e;\n }(Zi);\n On(\"FeatureIndexArray\", aa);\n var oa = Ii([{\n name: \"a_pos\",\n components: 2,\n type: \"Int16\"\n }], 4).members,\n sa = function (t) {\n void 0 === t && (t = []), this.segments = t;\n };\n function ua(t, e) {\n return 256 * (t = p(Math.floor(t), 0, 255)) + p(Math.floor(e), 0, 255);\n }\n sa.prototype.prepareSegment = function (t, e, r, n) {\n var i = this.segments[this.segments.length - 1];\n return t > sa.MAX_VERTEX_ARRAY_LENGTH && A(\"Max vertices per segment is \" + sa.MAX_VERTEX_ARRAY_LENGTH + \": bucket requested \" + t), (!i || i.vertexLength + t > sa.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== n) && (i = {\n vertexOffset: e.length,\n primitiveOffset: r.length,\n vertexLength: 0,\n primitiveLength: 0\n }, void 0 !== n && (i.sortKey = n), this.segments.push(i)), i;\n }, sa.prototype.get = function () {\n return this.segments;\n }, sa.prototype.destroy = function () {\n for (var t = 0, e = this.segments; t < e.length; t += 1) {\n var r = e[t];\n for (var n in r.vaos) r.vaos[n].destroy();\n }\n }, sa.simpleSegment = function (t, e, r, n) {\n return new sa([{\n vertexOffset: t,\n primitiveOffset: e,\n vertexLength: r,\n primitiveLength: n,\n vaos: {},\n sortKey: 0\n }]);\n }, sa.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, On(\"SegmentVector\", sa);\n var la = Ii([{\n name: \"a_pattern_from\",\n components: 4,\n type: \"Uint16\"\n }, {\n name: \"a_pattern_to\",\n components: 4,\n type: \"Uint16\"\n }, {\n name: \"a_pixel_ratio_from\",\n components: 1,\n type: \"Uint16\"\n }, {\n name: \"a_pixel_ratio_to\",\n components: 1,\n type: \"Uint16\"\n }]),\n pa = e(function (t) {\n t.exports = function (t, e) {\n var r, n, i, a, o, s, u, l;\n for (n = t.length - (r = 3 & t.length), i = e, o = 3432918353, s = 461845907, l = 0; l < n;) u = 255 & t.charCodeAt(l) | (255 & t.charCodeAt(++l)) << 8 | (255 & t.charCodeAt(++l)) << 16 | (255 & t.charCodeAt(++l)) << 24, ++l, i = 27492 + (65535 & (a = 5 * (65535 & (i = (i ^= u = (65535 & (u = (u = (65535 & u) * o + (((u >>> 16) * o & 65535) << 16) & 4294967295) << 15 | u >>> 17)) * s + (((u >>> 16) * s & 65535) << 16) & 4294967295) << 13 | i >>> 19)) + ((5 * (i >>> 16) & 65535) << 16) & 4294967295)) + ((58964 + (a >>> 16) & 65535) << 16);\n switch (u = 0, r) {\n case 3:\n u ^= (255 & t.charCodeAt(l + 2)) << 16;\n case 2:\n u ^= (255 & t.charCodeAt(l + 1)) << 8;\n case 1:\n i ^= u = (65535 & (u = (u = (65535 & (u ^= 255 & t.charCodeAt(l))) * o + (((u >>> 16) * o & 65535) << 16) & 4294967295) << 15 | u >>> 17)) * s + (((u >>> 16) * s & 65535) << 16) & 4294967295;\n }\n return i ^= t.length, i = 2246822507 * (65535 & (i ^= i >>> 16)) + ((2246822507 * (i >>> 16) & 65535) << 16) & 4294967295, i = 3266489909 * (65535 & (i ^= i >>> 13)) + ((3266489909 * (i >>> 16) & 65535) << 16) & 4294967295, (i ^= i >>> 16) >>> 0;\n };\n }),\n ca = e(function (t) {\n t.exports = function (t, e) {\n for (var r, n = t.length, i = e ^ n, a = 0; n >= 4;) r = 1540483477 * (65535 & (r = 255 & t.charCodeAt(a) | (255 & t.charCodeAt(++a)) << 8 | (255 & t.charCodeAt(++a)) << 16 | (255 & t.charCodeAt(++a)) << 24)) + ((1540483477 * (r >>> 16) & 65535) << 16), i = 1540483477 * (65535 & i) + ((1540483477 * (i >>> 16) & 65535) << 16) ^ (r = 1540483477 * (65535 & (r ^= r >>> 24)) + ((1540483477 * (r >>> 16) & 65535) << 16)), n -= 4, ++a;\n switch (n) {\n case 3:\n i ^= (255 & t.charCodeAt(a + 2)) << 16;\n case 2:\n i ^= (255 & t.charCodeAt(a + 1)) << 8;\n case 1:\n i = 1540483477 * (65535 & (i ^= 255 & t.charCodeAt(a))) + ((1540483477 * (i >>> 16) & 65535) << 16);\n }\n return i = 1540483477 * (65535 & (i ^= i >>> 13)) + ((1540483477 * (i >>> 16) & 65535) << 16), (i ^= i >>> 15) >>> 0;\n };\n }),\n ha = pa,\n fa = ca;\n ha.murmur3 = pa, ha.murmur2 = fa;\n var ya = function () {\n this.ids = [], this.positions = [], this.indexed = !1;\n };\n ya.prototype.add = function (t, e, r, n) {\n this.ids.push(ma(t)), this.positions.push(e, r, n);\n }, ya.prototype.getPositions = function (t) {\n for (var e = ma(t), r = 0, n = this.ids.length - 1; r < n;) {\n var i = r + n >> 1;\n this.ids[i] >= e ? n = i : r = i + 1;\n }\n for (var a = []; this.ids[r] === e;) a.push({\n index: this.positions[3 * r],\n start: this.positions[3 * r + 1],\n end: this.positions[3 * r + 2]\n }), r++;\n return a;\n }, ya.serialize = function (t, e) {\n var r = new Float64Array(t.ids),\n n = new Uint32Array(t.positions);\n return function t(e, r, n, i) {\n for (; n < i;) {\n for (var a = e[n + i >> 1], o = n - 1, s = i + 1;;) {\n do {\n o++;\n } while (e[o] < a);\n do {\n s--;\n } while (e[s] > a);\n if (o >= s) break;\n va(e, o, s), va(r, 3 * o, 3 * s), va(r, 3 * o + 1, 3 * s + 1), va(r, 3 * o + 2, 3 * s + 2);\n }\n s - n < i - s ? (t(e, r, n, s), n = s + 1) : (t(e, r, s + 1, i), i = s);\n }\n }(r, n, 0, r.length - 1), e && e.push(r.buffer, n.buffer), {\n ids: r,\n positions: n\n };\n }, ya.deserialize = function (t) {\n var e = new ya();\n return e.ids = t.ids, e.positions = t.positions, e.indexed = !0, e;\n };\n var da = Math.pow(2, 53) - 1;\n function ma(t) {\n var e = +t;\n return !isNaN(e) && e <= da ? e : ha(String(t));\n }\n function va(t, e, r) {\n var n = t[e];\n t[e] = t[r], t[r] = n;\n }\n On(\"FeaturePositionMap\", ya);\n var ga = function (t, e) {\n this.gl = t.gl, this.location = e;\n },\n xa = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = 0;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n this.current !== t && (this.current = t, this.gl.uniform1i(this.location, t));\n }, e;\n }(ga),\n ba = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = 0;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n this.current !== t && (this.current = t, this.gl.uniform1f(this.location, t));\n }, e;\n }(ga),\n wa = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = [0, 0];\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n t[0] === this.current[0] && t[1] === this.current[1] || (this.current = t, this.gl.uniform2f(this.location, t[0], t[1]));\n }, e;\n }(ga),\n _a = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = [0, 0, 0];\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n t[0] === this.current[0] && t[1] === this.current[1] && t[2] === this.current[2] || (this.current = t, this.gl.uniform3f(this.location, t[0], t[1], t[2]));\n }, e;\n }(ga),\n Aa = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = [0, 0, 0, 0];\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n t[0] === this.current[0] && t[1] === this.current[1] && t[2] === this.current[2] && t[3] === this.current[3] || (this.current = t, this.gl.uniform4f(this.location, t[0], t[1], t[2], t[3]));\n }, e;\n }(ga),\n Sa = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = te.transparent;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n t.r === this.current.r && t.g === this.current.g && t.b === this.current.b && t.a === this.current.a || (this.current = t, this.gl.uniform4f(this.location, t.r, t.g, t.b, t.a));\n }, e;\n }(ga),\n ka = new Float32Array(16),\n Ia = function (t) {\n function e(e, r) {\n t.call(this, e, r), this.current = ka;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n if (t[12] !== this.current[12] || t[0] !== this.current[0]) return this.current = t, void this.gl.uniformMatrix4fv(this.location, !1, t);\n for (var e = 1; e < 16; e++) if (t[e] !== this.current[e]) {\n this.current = t, this.gl.uniformMatrix4fv(this.location, !1, t);\n break;\n }\n }, e;\n }(ga);\n function za(t) {\n return [ua(255 * t.r, 255 * t.g), ua(255 * t.b, 255 * t.a)];\n }\n var Ca = function (t, e, r) {\n this.value = t, this.uniformNames = e.map(function (t) {\n return \"u_\" + t;\n }), this.type = r;\n };\n Ca.prototype.setUniform = function (t, e, r) {\n t.set(r.constantOr(this.value));\n }, Ca.prototype.getBinding = function (t, e, r) {\n return \"color\" === this.type ? new Sa(t, e) : new ba(t, e);\n };\n var Ea = function (t, e) {\n this.uniformNames = e.map(function (t) {\n return \"u_\" + t;\n }), this.patternFrom = null, this.patternTo = null, this.pixelRatioFrom = 1, this.pixelRatioTo = 1;\n };\n Ea.prototype.setConstantPatternPositions = function (t, e) {\n this.pixelRatioFrom = e.pixelRatio, this.pixelRatioTo = t.pixelRatio, this.patternFrom = e.tlbr, this.patternTo = t.tlbr;\n }, Ea.prototype.setUniform = function (t, e, r, n) {\n var i = \"u_pattern_to\" === n ? this.patternTo : \"u_pattern_from\" === n ? this.patternFrom : \"u_pixel_ratio_to\" === n ? this.pixelRatioTo : \"u_pixel_ratio_from\" === n ? this.pixelRatioFrom : null;\n i && t.set(i);\n }, Ea.prototype.getBinding = function (t, e, r) {\n return \"u_pattern\" === r.substr(0, 9) ? new Aa(t, e) : new ba(t, e);\n };\n var Pa = function (t, e, r, n) {\n this.expression = t, this.type = r, this.maxValue = 0, this.paintVertexAttributes = e.map(function (t) {\n return {\n name: \"a_\" + t,\n type: \"Float32\",\n components: \"color\" === r ? 2 : 1,\n offset: 0\n };\n }), this.paintVertexArray = new n();\n };\n Pa.prototype.populatePaintArray = function (t, e, r, n, i) {\n var a = this.paintVertexArray.length,\n o = this.expression.evaluate(new si(0), e, {}, n, [], i);\n this.paintVertexArray.resize(t), this._setPaintValue(a, t, o);\n }, Pa.prototype.updatePaintArray = function (t, e, r, n) {\n var i = this.expression.evaluate({\n zoom: 0\n }, r, n);\n this._setPaintValue(t, e, i);\n }, Pa.prototype._setPaintValue = function (t, e, r) {\n if (\"color\" === this.type) for (var n = za(r), i = t; i < e; i++) this.paintVertexArray.emplace(i, n[0], n[1]);else {\n for (var a = t; a < e; a++) this.paintVertexArray.emplace(a, r);\n this.maxValue = Math.max(this.maxValue, Math.abs(r));\n }\n }, Pa.prototype.upload = function (t) {\n this.paintVertexArray && this.paintVertexArray.arrayBuffer && (this.paintVertexBuffer && this.paintVertexBuffer.buffer ? this.paintVertexBuffer.updateData(this.paintVertexArray) : this.paintVertexBuffer = t.createVertexBuffer(this.paintVertexArray, this.paintVertexAttributes, this.expression.isStateDependent));\n }, Pa.prototype.destroy = function () {\n this.paintVertexBuffer && this.paintVertexBuffer.destroy();\n };\n var Ma = function (t, e, r, n, i, a) {\n this.expression = t, this.uniformNames = e.map(function (t) {\n return \"u_\" + t + \"_t\";\n }), this.type = r, this.useIntegerZoom = n, this.zoom = i, this.maxValue = 0, this.paintVertexAttributes = e.map(function (t) {\n return {\n name: \"a_\" + t,\n type: \"Float32\",\n components: \"color\" === r ? 4 : 2,\n offset: 0\n };\n }), this.paintVertexArray = new a();\n };\n Ma.prototype.populatePaintArray = function (t, e, r, n, i) {\n var a = this.expression.evaluate(new si(this.zoom), e, {}, n, [], i),\n o = this.expression.evaluate(new si(this.zoom + 1), e, {}, n, [], i),\n s = this.paintVertexArray.length;\n this.paintVertexArray.resize(t), this._setPaintValue(s, t, a, o);\n }, Ma.prototype.updatePaintArray = function (t, e, r, n) {\n var i = this.expression.evaluate({\n zoom: this.zoom\n }, r, n),\n a = this.expression.evaluate({\n zoom: this.zoom + 1\n }, r, n);\n this._setPaintValue(t, e, i, a);\n }, Ma.prototype._setPaintValue = function (t, e, r, n) {\n if (\"color\" === this.type) for (var i = za(r), a = za(n), o = t; o < e; o++) this.paintVertexArray.emplace(o, i[0], i[1], a[0], a[1]);else {\n for (var s = t; s < e; s++) this.paintVertexArray.emplace(s, r, n);\n this.maxValue = Math.max(this.maxValue, Math.abs(r), Math.abs(n));\n }\n }, Ma.prototype.upload = function (t) {\n this.paintVertexArray && this.paintVertexArray.arrayBuffer && (this.paintVertexBuffer && this.paintVertexBuffer.buffer ? this.paintVertexBuffer.updateData(this.paintVertexArray) : this.paintVertexBuffer = t.createVertexBuffer(this.paintVertexArray, this.paintVertexAttributes, this.expression.isStateDependent));\n }, Ma.prototype.destroy = function () {\n this.paintVertexBuffer && this.paintVertexBuffer.destroy();\n }, Ma.prototype.setUniform = function (t, e) {\n var r = this.useIntegerZoom ? Math.floor(e.zoom) : e.zoom,\n n = p(this.expression.interpolationFactor(r, this.zoom, this.zoom + 1), 0, 1);\n t.set(n);\n }, Ma.prototype.getBinding = function (t, e, r) {\n return new ba(t, e);\n };\n var Ba = function (t, e, r, n, i, a) {\n this.expression = t, this.type = e, this.useIntegerZoom = r, this.zoom = n, this.layerId = a, this.zoomInPaintVertexArray = new i(), this.zoomOutPaintVertexArray = new i();\n };\n Ba.prototype.populatePaintArray = function (t, e, r) {\n var n = this.zoomInPaintVertexArray.length;\n this.zoomInPaintVertexArray.resize(t), this.zoomOutPaintVertexArray.resize(t), this._setPaintValues(n, t, e.patterns && e.patterns[this.layerId], r);\n }, Ba.prototype.updatePaintArray = function (t, e, r, n, i) {\n this._setPaintValues(t, e, r.patterns && r.patterns[this.layerId], i);\n }, Ba.prototype._setPaintValues = function (t, e, r, n) {\n if (n && r) {\n var i = n[r.min],\n a = n[r.mid],\n o = n[r.max];\n if (i && a && o) for (var s = t; s < e; s++) this.zoomInPaintVertexArray.emplace(s, a.tl[0], a.tl[1], a.br[0], a.br[1], i.tl[0], i.tl[1], i.br[0], i.br[1], a.pixelRatio, i.pixelRatio), this.zoomOutPaintVertexArray.emplace(s, a.tl[0], a.tl[1], a.br[0], a.br[1], o.tl[0], o.tl[1], o.br[0], o.br[1], a.pixelRatio, o.pixelRatio);\n }\n }, Ba.prototype.upload = function (t) {\n this.zoomInPaintVertexArray && this.zoomInPaintVertexArray.arrayBuffer && this.zoomOutPaintVertexArray && this.zoomOutPaintVertexArray.arrayBuffer && (this.zoomInPaintVertexBuffer = t.createVertexBuffer(this.zoomInPaintVertexArray, la.members, this.expression.isStateDependent), this.zoomOutPaintVertexBuffer = t.createVertexBuffer(this.zoomOutPaintVertexArray, la.members, this.expression.isStateDependent));\n }, Ba.prototype.destroy = function () {\n this.zoomOutPaintVertexBuffer && this.zoomOutPaintVertexBuffer.destroy(), this.zoomInPaintVertexBuffer && this.zoomInPaintVertexBuffer.destroy();\n };\n var Ta = function (t, e, r) {\n this.binders = {}, this._buffers = [];\n var n = [];\n for (var i in t.paint._values) if (r(i)) {\n var a = t.paint.get(i);\n if (a instanceof yi && Tr(a.property.specification)) {\n var o = Fa(i, t.type),\n s = a.value,\n u = a.property.specification.type,\n l = a.property.useIntegerZoom,\n p = a.property.specification[\"property-type\"],\n c = \"cross-faded\" === p || \"cross-faded-data-driven\" === p;\n if (\"constant\" === s.kind) this.binders[i] = c ? new Ea(s.value, o) : new Ca(s.value, o, u), n.push(\"/u_\" + i);else if (\"source\" === s.kind || c) {\n var h = Da(i, u, \"source\");\n this.binders[i] = c ? new Ba(s, u, l, e, h, t.id) : new Pa(s, o, u, h), n.push(\"/a_\" + i);\n } else {\n var f = Da(i, u, \"composite\");\n this.binders[i] = new Ma(s, o, u, l, e, f), n.push(\"/z_\" + i);\n }\n }\n }\n this.cacheKey = n.sort().join(\"\");\n };\n Ta.prototype.getMaxValue = function (t) {\n var e = this.binders[t];\n return e instanceof Pa || e instanceof Ma ? e.maxValue : 0;\n }, Ta.prototype.populatePaintArrays = function (t, e, r, n, i) {\n for (var a in this.binders) {\n var o = this.binders[a];\n (o instanceof Pa || o instanceof Ma || o instanceof Ba) && o.populatePaintArray(t, e, r, n, i);\n }\n }, Ta.prototype.setConstantPatternPositions = function (t, e) {\n for (var r in this.binders) {\n var n = this.binders[r];\n n instanceof Ea && n.setConstantPatternPositions(t, e);\n }\n }, Ta.prototype.updatePaintArrays = function (t, e, r, n, i) {\n var a = !1;\n for (var o in t) for (var s = 0, u = e.getPositions(o); s < u.length; s += 1) {\n var l = u[s],\n p = r.feature(l.index);\n for (var c in this.binders) {\n var h = this.binders[c];\n if ((h instanceof Pa || h instanceof Ma || h instanceof Ba) && !0 === h.expression.isStateDependent) {\n var f = n.paint.get(c);\n h.expression = f.value, h.updatePaintArray(l.start, l.end, p, t[o], i), a = !0;\n }\n }\n }\n return a;\n }, Ta.prototype.defines = function () {\n var t = [];\n for (var e in this.binders) {\n var r = this.binders[e];\n (r instanceof Ca || r instanceof Ea) && t.push.apply(t, r.uniformNames.map(function (t) {\n return \"#define HAS_UNIFORM_\" + t;\n }));\n }\n return t;\n }, Ta.prototype.getBinderAttributes = function () {\n var t = [];\n for (var e in this.binders) {\n var r = this.binders[e];\n if (r instanceof Pa || r instanceof Ma) for (var n = 0; n < r.paintVertexAttributes.length; n++) t.push(r.paintVertexAttributes[n].name);else if (r instanceof Ba) for (var i = 0; i < la.members.length; i++) t.push(la.members[i].name);\n }\n return t;\n }, Ta.prototype.getBinderUniforms = function () {\n var t = [];\n for (var e in this.binders) {\n var r = this.binders[e];\n if (r instanceof Ca || r instanceof Ea || r instanceof Ma) for (var n = 0, i = r.uniformNames; n < i.length; n += 1) t.push(i[n]);\n }\n return t;\n }, Ta.prototype.getPaintVertexBuffers = function () {\n return this._buffers;\n }, Ta.prototype.getUniforms = function (t, e) {\n var r = [];\n for (var n in this.binders) {\n var i = this.binders[n];\n if (i instanceof Ca || i instanceof Ea || i instanceof Ma) for (var a = 0, o = i.uniformNames; a < o.length; a += 1) {\n var s = o[a];\n if (e[s]) {\n var u = i.getBinding(t, e[s], s);\n r.push({\n name: s,\n property: n,\n binding: u\n });\n }\n }\n }\n return r;\n }, Ta.prototype.setUniforms = function (t, e, r, n) {\n for (var i = 0, a = e; i < a.length; i += 1) {\n var o = a[i],\n s = o.name,\n u = o.property;\n this.binders[u].setUniform(o.binding, n, r.get(u), s);\n }\n }, Ta.prototype.updatePaintBuffers = function (t) {\n for (var e in this._buffers = [], this.binders) {\n var r = this.binders[e];\n if (t && r instanceof Ba) {\n var n = 2 === t.fromScale ? r.zoomInPaintVertexBuffer : r.zoomOutPaintVertexBuffer;\n n && this._buffers.push(n);\n } else (r instanceof Pa || r instanceof Ma) && r.paintVertexBuffer && this._buffers.push(r.paintVertexBuffer);\n }\n }, Ta.prototype.upload = function (t) {\n for (var e in this.binders) {\n var r = this.binders[e];\n (r instanceof Pa || r instanceof Ma || r instanceof Ba) && r.upload(t);\n }\n this.updatePaintBuffers();\n }, Ta.prototype.destroy = function () {\n for (var t in this.binders) {\n var e = this.binders[t];\n (e instanceof Pa || e instanceof Ma || e instanceof Ba) && e.destroy();\n }\n };\n var Va = function (t, e, r) {\n void 0 === r && (r = function () {\n return !0;\n }), this.programConfigurations = {};\n for (var n = 0, i = t; n < i.length; n += 1) {\n var a = i[n];\n this.programConfigurations[a.id] = new Ta(a, e, r);\n }\n this.needsUpload = !1, this._featureMap = new ya(), this._bufferOffset = 0;\n };\n function Fa(t, e) {\n return {\n \"text-opacity\": [\"opacity\"],\n \"icon-opacity\": [\"opacity\"],\n \"text-color\": [\"fill_color\"],\n \"icon-color\": [\"fill_color\"],\n \"text-halo-color\": [\"halo_color\"],\n \"icon-halo-color\": [\"halo_color\"],\n \"text-halo-blur\": [\"halo_blur\"],\n \"icon-halo-blur\": [\"halo_blur\"],\n \"text-halo-width\": [\"halo_width\"],\n \"icon-halo-width\": [\"halo_width\"],\n \"line-gap-width\": [\"gapwidth\"],\n \"line-pattern\": [\"pattern_to\", \"pattern_from\", \"pixel_ratio_to\", \"pixel_ratio_from\"],\n \"fill-pattern\": [\"pattern_to\", \"pattern_from\", \"pixel_ratio_to\", \"pixel_ratio_from\"],\n \"fill-extrusion-pattern\": [\"pattern_to\", \"pattern_from\", \"pixel_ratio_to\", \"pixel_ratio_from\"]\n }[t] || [t.replace(e + \"-\", \"\").replace(/-/g, \"_\")];\n }\n function Da(t, e, r) {\n var n = {\n color: {\n source: Bi,\n composite: Hi\n },\n number: {\n source: Ki,\n composite: Bi\n }\n },\n i = function (t) {\n return {\n \"line-pattern\": {\n source: Ti,\n composite: Ti\n },\n \"fill-pattern\": {\n source: Ti,\n composite: Ti\n },\n \"fill-extrusion-pattern\": {\n source: Ti,\n composite: Ti\n }\n }[t];\n }(t);\n return i && i[r] || n[e][r];\n }\n Va.prototype.populatePaintArrays = function (t, e, r, n, i, a) {\n for (var o in this.programConfigurations) this.programConfigurations[o].populatePaintArrays(t, e, n, i, a);\n void 0 !== e.id && this._featureMap.add(e.id, r, this._bufferOffset, t), this._bufferOffset = t, this.needsUpload = !0;\n }, Va.prototype.updatePaintArrays = function (t, e, r, n) {\n for (var i = 0, a = r; i < a.length; i += 1) {\n var o = a[i];\n this.needsUpload = this.programConfigurations[o.id].updatePaintArrays(t, this._featureMap, e, o, n) || this.needsUpload;\n }\n }, Va.prototype.get = function (t) {\n return this.programConfigurations[t];\n }, Va.prototype.upload = function (t) {\n if (this.needsUpload) {\n for (var e in this.programConfigurations) this.programConfigurations[e].upload(t);\n this.needsUpload = !1;\n }\n }, Va.prototype.destroy = function () {\n for (var t in this.programConfigurations) this.programConfigurations[t].destroy();\n }, On(\"ConstantBinder\", Ca), On(\"CrossFadedConstantBinder\", Ea), On(\"SourceExpressionBinder\", Pa), On(\"CrossFadedCompositeBinder\", Ba), On(\"CompositeExpressionBinder\", Ma), On(\"ProgramConfiguration\", Ta, {\n omit: [\"_buffers\"]\n }), On(\"ProgramConfigurationSet\", Va);\n var La = Math.pow(2, 14) - 1,\n Oa = -La - 1;\n function Ra(t) {\n for (var e = 8192 / t.extent, r = t.loadGeometry(), n = 0; n < r.length; n++) for (var i = r[n], a = 0; a < i.length; a++) {\n var o = i[a],\n s = Math.round(o.x * e),\n u = Math.round(o.y * e);\n o.x = p(s, Oa, La), o.y = p(u, Oa, La), (s < o.x || s > o.x + 1 || u < o.y || u > o.y + 1) && A(\"Geometry exceeds allowed extent, reduce your vector tile buffer size\");\n }\n return r;\n }\n function Ua(t, e) {\n return {\n type: t.type,\n id: t.id,\n properties: t.properties,\n geometry: e ? Ra(t) : []\n };\n }\n function ja(t, e, r, n, i) {\n t.emplaceBack(2 * e + (n + 1) / 2, 2 * r + (i + 1) / 2);\n }\n var qa = function (t) {\n this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map(function (t) {\n return t.id;\n }), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new Ci(), this.indexArray = new ji(), this.segments = new sa(), this.programConfigurations = new Va(t.layers, t.zoom), this.stateDependentLayerIds = this.layers.filter(function (t) {\n return t.isStateDependent();\n }).map(function (t) {\n return t.id;\n });\n };\n function Na(t, e) {\n for (var r = 0; r < t.length; r++) if (Wa(e, t[r])) return !0;\n for (var n = 0; n < e.length; n++) if (Wa(t, e[n])) return !0;\n return !!Xa(t, e);\n }\n function Ka(t, e, r) {\n return !!Wa(t, e) || !!Ha(e, t, r);\n }\n function Ga(t, e) {\n if (1 === t.length) return $a(e, t[0]);\n for (var r = 0; r < e.length; r++) for (var n = e[r], i = 0; i < n.length; i++) if (Wa(t, n[i])) return !0;\n for (var a = 0; a < t.length; a++) if ($a(e, t[a])) return !0;\n for (var o = 0; o < e.length; o++) if (Xa(t, e[o])) return !0;\n return !1;\n }\n function Za(t, e, r) {\n if (t.length > 1) {\n if (Xa(t, e)) return !0;\n for (var n = 0; n < e.length; n++) if (Ha(e[n], t, r)) return !0;\n }\n for (var i = 0; i < t.length; i++) if (Ha(t[i], e, r)) return !0;\n return !1;\n }\n function Xa(t, e) {\n if (0 === t.length || 0 === e.length) return !1;\n for (var r = 0; r < t.length - 1; r++) for (var n = t[r], i = t[r + 1], a = 0; a < e.length - 1; a++) if (Ja(n, i, e[a], e[a + 1])) return !0;\n return !1;\n }\n function Ja(t, e, r, n) {\n return S(t, r, n) !== S(e, r, n) && S(t, e, r) !== S(t, e, n);\n }\n function Ha(t, e, r) {\n var n = r * r;\n if (1 === e.length) return t.distSqr(e[0]) < n;\n for (var i = 1; i < e.length; i++) if (Ya(t, e[i - 1], e[i]) < n) return !0;\n return !1;\n }\n function Ya(t, e, r) {\n var n = e.distSqr(r);\n if (0 === n) return t.distSqr(e);\n var i = ((t.x - e.x) * (r.x - e.x) + (t.y - e.y) * (r.y - e.y)) / n;\n return t.distSqr(i < 0 ? e : i > 1 ? r : r.sub(e)._mult(i)._add(e));\n }\n function $a(t, e) {\n for (var r, n, i, a = !1, o = 0; o < t.length; o++) for (var s = 0, u = (r = t[o]).length - 1; s < r.length; u = s++) (n = r[s]).y > e.y != (i = r[u]).y > e.y && e.x < (i.x - n.x) * (e.y - n.y) / (i.y - n.y) + n.x && (a = !a);\n return a;\n }\n function Wa(t, e) {\n for (var r = !1, n = 0, i = t.length - 1; n < t.length; i = n++) {\n var a = t[n],\n o = t[i];\n a.y > e.y != o.y > e.y && e.x < (o.x - a.x) * (e.y - a.y) / (o.y - a.y) + a.x && (r = !r);\n }\n return r;\n }\n function Qa(t, e, r) {\n var n = r[0],\n i = r[2];\n if (t.x < n.x && e.x < n.x || t.x > i.x && e.x > i.x || t.y < n.y && e.y < n.y || t.y > i.y && e.y > i.y) return !1;\n var a = S(t, e, r[0]);\n return a !== S(t, e, r[1]) || a !== S(t, e, r[2]) || a !== S(t, e, r[3]);\n }\n function to(t, e, r) {\n var n = e.paint.get(t).value;\n return \"constant\" === n.kind ? n.value : r.programConfigurations.get(e.id).getMaxValue(t);\n }\n function eo(t) {\n return Math.sqrt(t[0] * t[0] + t[1] * t[1]);\n }\n function ro(t, e, r, n, a) {\n if (!e[0] && !e[1]) return t;\n var o = i.convert(e)._mult(a);\n \"viewport\" === r && o._rotate(-n);\n for (var s = [], u = 0; u < t.length; u++) s.push(t[u].sub(o));\n return s;\n }\n qa.prototype.populate = function (t, e, r) {\n var n = this.layers[0],\n i = [],\n a = null;\n \"circle\" === n.type && (a = n.layout.get(\"circle-sort-key\"));\n for (var o = 0, s = t; o < s.length; o += 1) {\n var u = s[o],\n l = u.feature,\n p = u.id,\n c = u.index,\n h = u.sourceLayerIndex,\n f = this.layers[0]._featureFilter.needGeometry,\n y = Ua(l, f);\n if (this.layers[0]._featureFilter.filter(new si(this.zoom), y, r)) {\n var d = a ? a.evaluate(y, {}, r) : void 0,\n m = {\n id: p,\n properties: l.properties,\n type: l.type,\n sourceLayerIndex: h,\n index: c,\n geometry: f ? y.geometry : Ra(l),\n patterns: {},\n sortKey: d\n };\n i.push(m);\n }\n }\n a && i.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n for (var v = 0, g = i; v < g.length; v += 1) {\n var x = g[v],\n b = x.geometry,\n w = x.index,\n _ = x.sourceLayerIndex,\n A = t[w].feature;\n this.addFeature(x, b, w, r), e.featureIndex.insert(A, b, w, _, this.index);\n }\n }, qa.prototype.update = function (t, e, r) {\n this.stateDependentLayers.length && this.programConfigurations.updatePaintArrays(t, e, this.stateDependentLayers, r);\n }, qa.prototype.isEmpty = function () {\n return 0 === this.layoutVertexArray.length;\n }, qa.prototype.uploadPending = function () {\n return !this.uploaded || this.programConfigurations.needsUpload;\n }, qa.prototype.upload = function (t) {\n this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, oa), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;\n }, qa.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());\n }, qa.prototype.addFeature = function (t, e, r, n) {\n for (var i = 0, a = e; i < a.length; i += 1) for (var o = 0, s = a[i]; o < s.length; o += 1) {\n var u = s[o],\n l = u.x,\n p = u.y;\n if (!(l < 0 || l >= 8192 || p < 0 || p >= 8192)) {\n var c = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray, t.sortKey),\n h = c.vertexLength;\n ja(this.layoutVertexArray, l, p, -1, -1), ja(this.layoutVertexArray, l, p, 1, -1), ja(this.layoutVertexArray, l, p, 1, 1), ja(this.layoutVertexArray, l, p, -1, 1), this.indexArray.emplaceBack(h, h + 1, h + 2), this.indexArray.emplaceBack(h, h + 3, h + 2), c.vertexLength += 4, c.primitiveLength += 2;\n }\n }\n this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, r, {}, n);\n }, On(\"CircleBucket\", qa, {\n omit: [\"layers\"]\n });\n var no = new wi({\n \"circle-sort-key\": new vi(Et.layout_circle[\"circle-sort-key\"])\n }),\n io = {\n paint: new wi({\n \"circle-radius\": new vi(Et.paint_circle[\"circle-radius\"]),\n \"circle-color\": new vi(Et.paint_circle[\"circle-color\"]),\n \"circle-blur\": new vi(Et.paint_circle[\"circle-blur\"]),\n \"circle-opacity\": new vi(Et.paint_circle[\"circle-opacity\"]),\n \"circle-translate\": new mi(Et.paint_circle[\"circle-translate\"]),\n \"circle-translate-anchor\": new mi(Et.paint_circle[\"circle-translate-anchor\"]),\n \"circle-pitch-scale\": new mi(Et.paint_circle[\"circle-pitch-scale\"]),\n \"circle-pitch-alignment\": new mi(Et.paint_circle[\"circle-pitch-alignment\"]),\n \"circle-stroke-width\": new vi(Et.paint_circle[\"circle-stroke-width\"]),\n \"circle-stroke-color\": new vi(Et.paint_circle[\"circle-stroke-color\"]),\n \"circle-stroke-opacity\": new vi(Et.paint_circle[\"circle-stroke-opacity\"])\n }),\n layout: no\n },\n ao = \"undefined\" != typeof Float32Array ? Float32Array : Array;\n function oo(t) {\n return t[0] = 1, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 0, t[5] = 1, t[6] = 0, t[7] = 0, t[8] = 0, t[9] = 0, t[10] = 1, t[11] = 0, t[12] = 0, t[13] = 0, t[14] = 0, t[15] = 1, t;\n }\n function so(t, e, r) {\n var n = e[0],\n i = e[1],\n a = e[2],\n o = e[3],\n s = e[4],\n u = e[5],\n l = e[6],\n p = e[7],\n c = e[8],\n h = e[9],\n f = e[10],\n y = e[11],\n d = e[12],\n m = e[13],\n v = e[14],\n g = e[15],\n x = r[0],\n b = r[1],\n w = r[2],\n _ = r[3];\n return t[0] = x * n + b * s + w * c + _ * d, t[1] = x * i + b * u + w * h + _ * m, t[2] = x * a + b * l + w * f + _ * v, t[3] = x * o + b * p + w * y + _ * g, t[4] = (x = r[4]) * n + (b = r[5]) * s + (w = r[6]) * c + (_ = r[7]) * d, t[5] = x * i + b * u + w * h + _ * m, t[6] = x * a + b * l + w * f + _ * v, t[7] = x * o + b * p + w * y + _ * g, t[8] = (x = r[8]) * n + (b = r[9]) * s + (w = r[10]) * c + (_ = r[11]) * d, t[9] = x * i + b * u + w * h + _ * m, t[10] = x * a + b * l + w * f + _ * v, t[11] = x * o + b * p + w * y + _ * g, t[12] = (x = r[12]) * n + (b = r[13]) * s + (w = r[14]) * c + (_ = r[15]) * d, t[13] = x * i + b * u + w * h + _ * m, t[14] = x * a + b * l + w * f + _ * v, t[15] = x * o + b * p + w * y + _ * g, t;\n }\n Math.hypot || (Math.hypot = function () {\n for (var t = arguments, e = 0, r = arguments.length; r--;) e += t[r] * t[r];\n return Math.sqrt(e);\n });\n var uo,\n lo = so;\n function po(t, e, r) {\n var n = e[0],\n i = e[1],\n a = e[2],\n o = e[3];\n return t[0] = r[0] * n + r[4] * i + r[8] * a + r[12] * o, t[1] = r[1] * n + r[5] * i + r[9] * a + r[13] * o, t[2] = r[2] * n + r[6] * i + r[10] * a + r[14] * o, t[3] = r[3] * n + r[7] * i + r[11] * a + r[15] * o, t;\n }\n uo = new ao(3), ao != Float32Array && (uo[0] = 0, uo[1] = 0, uo[2] = 0), function () {\n var t = new ao(4);\n ao != Float32Array && (t[0] = 0, t[1] = 0, t[2] = 0, t[3] = 0);\n }();\n var co = (function () {\n var t = new ao(2);\n ao != Float32Array && (t[0] = 0, t[1] = 0);\n }(), function (t) {\n function e(e) {\n t.call(this, e, io);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.createBucket = function (t) {\n return new qa(t);\n }, e.prototype.queryRadius = function (t) {\n var e = t;\n return to(\"circle-radius\", this, e) + to(\"circle-stroke-width\", this, e) + eo(this.paint.get(\"circle-translate\"));\n }, e.prototype.queryIntersectsFeature = function (t, e, r, n, i, a, o, s) {\n for (var u = ro(t, this.paint.get(\"circle-translate\"), this.paint.get(\"circle-translate-anchor\"), a.angle, o), l = this.paint.get(\"circle-radius\").evaluate(e, r) + this.paint.get(\"circle-stroke-width\").evaluate(e, r), p = \"map\" === this.paint.get(\"circle-pitch-alignment\"), c = p ? u : function (t, e) {\n return t.map(function (t) {\n return ho(t, e);\n });\n }(u, s), h = p ? l * o : l, f = 0, y = n; f < y.length; f += 1) for (var d = 0, m = y[f]; d < m.length; d += 1) {\n var v = m[d],\n g = p ? v : ho(v, s),\n x = h,\n b = po([], [v.x, v.y, 0, 1], s);\n if (\"viewport\" === this.paint.get(\"circle-pitch-scale\") && \"map\" === this.paint.get(\"circle-pitch-alignment\") ? x *= b[3] / a.cameraToCenterDistance : \"map\" === this.paint.get(\"circle-pitch-scale\") && \"viewport\" === this.paint.get(\"circle-pitch-alignment\") && (x *= a.cameraToCenterDistance / b[3]), Ka(c, g, x)) return !0;\n }\n return !1;\n }, e;\n }(_i));\n function ho(t, e) {\n var r = po([], [t.x, t.y, 0, 1], e);\n return new i(r[0] / r[3], r[1] / r[3]);\n }\n var fo = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(qa);\n function yo(t, e, r, n) {\n var i = e.width,\n a = e.height;\n if (n) {\n if (n instanceof Uint8ClampedArray) n = new Uint8Array(n.buffer);else if (n.length !== i * a * r) throw new RangeError(\"mismatched image size\");\n } else n = new Uint8Array(i * a * r);\n return t.width = i, t.height = a, t.data = n, t;\n }\n function mo(t, e, r) {\n var n = e.width,\n i = e.height;\n if (n !== t.width || i !== t.height) {\n var a = yo({}, {\n width: n,\n height: i\n }, r);\n vo(t, a, {\n x: 0,\n y: 0\n }, {\n x: 0,\n y: 0\n }, {\n width: Math.min(t.width, n),\n height: Math.min(t.height, i)\n }, r), t.width = n, t.height = i, t.data = a.data;\n }\n }\n function vo(t, e, r, n, i, a) {\n if (0 === i.width || 0 === i.height) return e;\n if (i.width > t.width || i.height > t.height || r.x > t.width - i.width || r.y > t.height - i.height) throw new RangeError(\"out of range source coordinates for image copy\");\n if (i.width > e.width || i.height > e.height || n.x > e.width - i.width || n.y > e.height - i.height) throw new RangeError(\"out of range destination coordinates for image copy\");\n for (var o = t.data, s = e.data, u = 0; u < i.height; u++) for (var l = ((r.y + u) * t.width + r.x) * a, p = ((n.y + u) * e.width + n.x) * a, c = 0; c < i.width * a; c++) s[p + c] = o[l + c];\n return e;\n }\n On(\"HeatmapBucket\", fo, {\n omit: [\"layers\"]\n });\n var go = function (t, e) {\n yo(this, t, 1, e);\n };\n go.prototype.resize = function (t) {\n mo(this, t, 1);\n }, go.prototype.clone = function () {\n return new go({\n width: this.width,\n height: this.height\n }, new Uint8Array(this.data));\n }, go.copy = function (t, e, r, n, i) {\n vo(t, e, r, n, i, 1);\n };\n var xo = function (t, e) {\n yo(this, t, 4, e);\n };\n xo.prototype.resize = function (t) {\n mo(this, t, 4);\n }, xo.prototype.replace = function (t, e) {\n e ? this.data.set(t) : this.data = t instanceof Uint8ClampedArray ? new Uint8Array(t.buffer) : t;\n }, xo.prototype.clone = function () {\n return new xo({\n width: this.width,\n height: this.height\n }, new Uint8Array(this.data));\n }, xo.copy = function (t, e, r, n, i) {\n vo(t, e, r, n, i, 4);\n }, On(\"AlphaImage\", go), On(\"RGBAImage\", xo);\n var bo = {\n paint: new wi({\n \"heatmap-radius\": new vi(Et.paint_heatmap[\"heatmap-radius\"]),\n \"heatmap-weight\": new vi(Et.paint_heatmap[\"heatmap-weight\"]),\n \"heatmap-intensity\": new mi(Et.paint_heatmap[\"heatmap-intensity\"]),\n \"heatmap-color\": new bi(Et.paint_heatmap[\"heatmap-color\"]),\n \"heatmap-opacity\": new mi(Et.paint_heatmap[\"heatmap-opacity\"])\n })\n };\n function wo(t) {\n var e = {},\n r = t.resolution || 256,\n n = t.clips ? t.clips.length : 1,\n i = t.image || new xo({\n width: r,\n height: n\n }),\n a = function (r, n, a) {\n e[t.evaluationKey] = a;\n var o = t.expression.evaluate(e);\n i.data[r + n + 0] = Math.floor(255 * o.r / o.a), i.data[r + n + 1] = Math.floor(255 * o.g / o.a), i.data[r + n + 2] = Math.floor(255 * o.b / o.a), i.data[r + n + 3] = Math.floor(255 * o.a);\n };\n if (t.clips) for (var o = 0, s = 0; o < n; ++o, s += 4 * r) for (var u = 0, l = 0; u < r; u++, l += 4) {\n var p = u / (r - 1),\n c = t.clips[o];\n a(s, l, c.start * (1 - p) + c.end * p);\n } else for (var h = 0, f = 0; h < r; h++, f += 4) a(0, f, h / (r - 1));\n return i;\n }\n var _o = function (t) {\n function e(e) {\n t.call(this, e, bo), this._updateColorRamp();\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.createBucket = function (t) {\n return new fo(t);\n }, e.prototype._handleSpecialPaintPropertyUpdate = function (t) {\n \"heatmap-color\" === t && this._updateColorRamp();\n }, e.prototype._updateColorRamp = function () {\n this.colorRamp = wo({\n expression: this._transitionablePaint._values[\"heatmap-color\"].value.expression,\n evaluationKey: \"heatmapDensity\",\n image: this.colorRamp\n }), this.colorRampTexture = null;\n }, e.prototype.resize = function () {\n this.heatmapFbo && (this.heatmapFbo.destroy(), this.heatmapFbo = null);\n }, e.prototype.queryRadius = function () {\n return 0;\n }, e.prototype.queryIntersectsFeature = function () {\n return !1;\n }, e.prototype.hasOffscreenPass = function () {\n return 0 !== this.paint.get(\"heatmap-opacity\") && \"none\" !== this.visibility;\n }, e;\n }(_i),\n Ao = {\n paint: new wi({\n \"hillshade-illumination-direction\": new mi(Et.paint_hillshade[\"hillshade-illumination-direction\"]),\n \"hillshade-illumination-anchor\": new mi(Et.paint_hillshade[\"hillshade-illumination-anchor\"]),\n \"hillshade-exaggeration\": new mi(Et.paint_hillshade[\"hillshade-exaggeration\"]),\n \"hillshade-shadow-color\": new mi(Et.paint_hillshade[\"hillshade-shadow-color\"]),\n \"hillshade-highlight-color\": new mi(Et.paint_hillshade[\"hillshade-highlight-color\"]),\n \"hillshade-accent-color\": new mi(Et.paint_hillshade[\"hillshade-accent-color\"])\n })\n },\n So = function (t) {\n function e(e) {\n t.call(this, e, Ao);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.hasOffscreenPass = function () {\n return 0 !== this.paint.get(\"hillshade-exaggeration\") && \"none\" !== this.visibility;\n }, e;\n }(_i),\n ko = Ii([{\n name: \"a_pos\",\n components: 2,\n type: \"Int16\"\n }], 4).members,\n Io = Co,\n zo = Co;\n function Co(t, e, r) {\n r = r || 2;\n var n,\n i,\n a,\n o,\n s,\n u,\n l,\n p = e && e.length,\n c = p ? e[0] * r : t.length,\n h = Eo(t, 0, c, r, !0),\n f = [];\n if (!h || h.next === h.prev) return f;\n if (p && (h = function (t, e, r, n) {\n var i,\n a,\n o,\n s = [];\n for (i = 0, a = e.length; i < a; i++) (o = Eo(t, e[i] * n, i < a - 1 ? e[i + 1] * n : t.length, n, !1)) === o.next && (o.steiner = !0), s.push(Uo(o));\n for (s.sort(Do), i = 0; i < s.length; i++) Lo(s[i], r), r = Po(r, r.next);\n return r;\n }(t, e, h, r)), t.length > 80 * r) {\n n = a = t[0], i = o = t[1];\n for (var y = r; y < c; y += r) (s = t[y]) < n && (n = s), (u = t[y + 1]) < i && (i = u), s > a && (a = s), u > o && (o = u);\n l = 0 !== (l = Math.max(a - n, o - i)) ? 1 / l : 0;\n }\n return Mo(h, f, r, n, i, l), f;\n }\n function Eo(t, e, r, n, i) {\n var a, o;\n if (i === Qo(t, e, r, n) > 0) for (a = e; a < r; a += n) o = Yo(a, t[a], t[a + 1], o);else for (a = r - n; a >= e; a -= n) o = Yo(a, t[a], t[a + 1], o);\n return o && Ko(o, o.next) && ($o(o), o = o.next), o;\n }\n function Po(t, e) {\n if (!t) return t;\n e || (e = t);\n var r,\n n = t;\n do {\n if (r = !1, n.steiner || !Ko(n, n.next) && 0 !== No(n.prev, n, n.next)) n = n.next;else {\n if ($o(n), (n = e = n.prev) === n.next) break;\n r = !0;\n }\n } while (r || n !== e);\n return e;\n }\n function Mo(t, e, r, n, i, a, o) {\n if (t) {\n !o && a && function (t, e, r, n) {\n var i = t;\n do {\n null === i.z && (i.z = Ro(i.x, i.y, e, r, n)), i.prevZ = i.prev, i.nextZ = i.next, i = i.next;\n } while (i !== t);\n i.prevZ.nextZ = null, i.prevZ = null, function (t) {\n var e,\n r,\n n,\n i,\n a,\n o,\n s,\n u,\n l = 1;\n do {\n for (r = t, t = null, a = null, o = 0; r;) {\n for (o++, n = r, s = 0, e = 0; e < l && (s++, n = n.nextZ); e++);\n for (u = l; s > 0 || u > 0 && n;) 0 !== s && (0 === u || !n || r.z <= n.z) ? (i = r, r = r.nextZ, s--) : (i = n, n = n.nextZ, u--), a ? a.nextZ = i : t = i, i.prevZ = a, a = i;\n r = n;\n }\n a.nextZ = null, l *= 2;\n } while (o > 1);\n }(i);\n }(t, n, i, a);\n for (var s, u, l = t; t.prev !== t.next;) if (s = t.prev, u = t.next, a ? To(t, n, i, a) : Bo(t)) e.push(s.i / r), e.push(t.i / r), e.push(u.i / r), $o(t), t = u.next, l = u.next;else if ((t = u) === l) {\n o ? 1 === o ? Mo(t = Vo(Po(t), e, r), e, r, n, i, a, 2) : 2 === o && Fo(t, e, r, n, i, a) : Mo(Po(t), e, r, n, i, a, 1);\n break;\n }\n }\n }\n function Bo(t) {\n var e = t.prev,\n r = t,\n n = t.next;\n if (No(e, r, n) >= 0) return !1;\n for (var i = t.next.next; i !== t.prev;) {\n if (jo(e.x, e.y, r.x, r.y, n.x, n.y, i.x, i.y) && No(i.prev, i, i.next) >= 0) return !1;\n i = i.next;\n }\n return !0;\n }\n function To(t, e, r, n) {\n var i = t.prev,\n a = t,\n o = t.next;\n if (No(i, a, o) >= 0) return !1;\n for (var s = i.x > a.x ? i.x > o.x ? i.x : o.x : a.x > o.x ? a.x : o.x, u = i.y > a.y ? i.y > o.y ? i.y : o.y : a.y > o.y ? a.y : o.y, l = Ro(i.x < a.x ? i.x < o.x ? i.x : o.x : a.x < o.x ? a.x : o.x, i.y < a.y ? i.y < o.y ? i.y : o.y : a.y < o.y ? a.y : o.y, e, r, n), p = Ro(s, u, e, r, n), c = t.prevZ, h = t.nextZ; c && c.z >= l && h && h.z <= p;) {\n if (c !== t.prev && c !== t.next && jo(i.x, i.y, a.x, a.y, o.x, o.y, c.x, c.y) && No(c.prev, c, c.next) >= 0) return !1;\n if (c = c.prevZ, h !== t.prev && h !== t.next && jo(i.x, i.y, a.x, a.y, o.x, o.y, h.x, h.y) && No(h.prev, h, h.next) >= 0) return !1;\n h = h.nextZ;\n }\n for (; c && c.z >= l;) {\n if (c !== t.prev && c !== t.next && jo(i.x, i.y, a.x, a.y, o.x, o.y, c.x, c.y) && No(c.prev, c, c.next) >= 0) return !1;\n c = c.prevZ;\n }\n for (; h && h.z <= p;) {\n if (h !== t.prev && h !== t.next && jo(i.x, i.y, a.x, a.y, o.x, o.y, h.x, h.y) && No(h.prev, h, h.next) >= 0) return !1;\n h = h.nextZ;\n }\n return !0;\n }\n function Vo(t, e, r) {\n var n = t;\n do {\n var i = n.prev,\n a = n.next.next;\n !Ko(i, a) && Go(i, n, n.next, a) && Jo(i, a) && Jo(a, i) && (e.push(i.i / r), e.push(n.i / r), e.push(a.i / r), $o(n), $o(n.next), n = t = a), n = n.next;\n } while (n !== t);\n return Po(n);\n }\n function Fo(t, e, r, n, i, a) {\n var o = t;\n do {\n for (var s = o.next.next; s !== o.prev;) {\n if (o.i !== s.i && qo(o, s)) {\n var u = Ho(o, s);\n return o = Po(o, o.next), u = Po(u, u.next), Mo(o, e, r, n, i, a), void Mo(u, e, r, n, i, a);\n }\n s = s.next;\n }\n o = o.next;\n } while (o !== t);\n }\n function Do(t, e) {\n return t.x - e.x;\n }\n function Lo(t, e) {\n if (e = function (t, e) {\n var r,\n n = e,\n i = t.x,\n a = t.y,\n o = -1 / 0;\n do {\n if (a <= n.y && a >= n.next.y && n.next.y !== n.y) {\n var s = n.x + (a - n.y) * (n.next.x - n.x) / (n.next.y - n.y);\n if (s <= i && s > o) {\n if (o = s, s === i) {\n if (a === n.y) return n;\n if (a === n.next.y) return n.next;\n }\n r = n.x < n.next.x ? n : n.next;\n }\n }\n n = n.next;\n } while (n !== e);\n if (!r) return null;\n if (i === o) return r;\n var u,\n l = r,\n p = r.x,\n c = r.y,\n h = 1 / 0;\n n = r;\n do {\n i >= n.x && n.x >= p && i !== n.x && jo(a < c ? i : o, a, p, c, a < c ? o : i, a, n.x, n.y) && (u = Math.abs(a - n.y) / (i - n.x), Jo(n, t) && (u < h || u === h && (n.x > r.x || n.x === r.x && Oo(r, n))) && (r = n, h = u)), n = n.next;\n } while (n !== l);\n return r;\n }(t, e)) {\n var r = Ho(e, t);\n Po(e, e.next), Po(r, r.next);\n }\n }\n function Oo(t, e) {\n return No(t.prev, t, e.prev) < 0 && No(e.next, t, t.next) < 0;\n }\n function Ro(t, e, r, n, i) {\n return (t = 1431655765 & ((t = 858993459 & ((t = 252645135 & ((t = 16711935 & ((t = 32767 * (t - r) * i) | t << 8)) | t << 4)) | t << 2)) | t << 1)) | (e = 1431655765 & ((e = 858993459 & ((e = 252645135 & ((e = 16711935 & ((e = 32767 * (e - n) * i) | e << 8)) | e << 4)) | e << 2)) | e << 1)) << 1;\n }\n function Uo(t) {\n var e = t,\n r = t;\n do {\n (e.x < r.x || e.x === r.x && e.y < r.y) && (r = e), e = e.next;\n } while (e !== t);\n return r;\n }\n function jo(t, e, r, n, i, a, o, s) {\n return (i - o) * (e - s) - (t - o) * (a - s) >= 0 && (t - o) * (n - s) - (r - o) * (e - s) >= 0 && (r - o) * (a - s) - (i - o) * (n - s) >= 0;\n }\n function qo(t, e) {\n return t.next.i !== e.i && t.prev.i !== e.i && !function (t, e) {\n var r = t;\n do {\n if (r.i !== t.i && r.next.i !== t.i && r.i !== e.i && r.next.i !== e.i && Go(r, r.next, t, e)) return !0;\n r = r.next;\n } while (r !== t);\n return !1;\n }(t, e) && (Jo(t, e) && Jo(e, t) && function (t, e) {\n var r = t,\n n = !1,\n i = (t.x + e.x) / 2,\n a = (t.y + e.y) / 2;\n do {\n r.y > a != r.next.y > a && r.next.y !== r.y && i < (r.next.x - r.x) * (a - r.y) / (r.next.y - r.y) + r.x && (n = !n), r = r.next;\n } while (r !== t);\n return n;\n }(t, e) && (No(t.prev, t, e.prev) || No(t, e.prev, e)) || Ko(t, e) && No(t.prev, t, t.next) > 0 && No(e.prev, e, e.next) > 0);\n }\n function No(t, e, r) {\n return (e.y - t.y) * (r.x - e.x) - (e.x - t.x) * (r.y - e.y);\n }\n function Ko(t, e) {\n return t.x === e.x && t.y === e.y;\n }\n function Go(t, e, r, n) {\n var i = Xo(No(t, e, r)),\n a = Xo(No(t, e, n)),\n o = Xo(No(r, n, t)),\n s = Xo(No(r, n, e));\n return i !== a && o !== s || !(0 !== i || !Zo(t, r, e)) || !(0 !== a || !Zo(t, n, e)) || !(0 !== o || !Zo(r, t, n)) || !(0 !== s || !Zo(r, e, n));\n }\n function Zo(t, e, r) {\n return e.x <= Math.max(t.x, r.x) && e.x >= Math.min(t.x, r.x) && e.y <= Math.max(t.y, r.y) && e.y >= Math.min(t.y, r.y);\n }\n function Xo(t) {\n return t > 0 ? 1 : t < 0 ? -1 : 0;\n }\n function Jo(t, e) {\n return No(t.prev, t, t.next) < 0 ? No(t, e, t.next) >= 0 && No(t, t.prev, e) >= 0 : No(t, e, t.prev) < 0 || No(t, t.next, e) < 0;\n }\n function Ho(t, e) {\n var r = new Wo(t.i, t.x, t.y),\n n = new Wo(e.i, e.x, e.y),\n i = t.next,\n a = e.prev;\n return t.next = e, e.prev = t, r.next = i, i.prev = r, n.next = r, r.prev = n, a.next = n, n.prev = a, n;\n }\n function Yo(t, e, r, n) {\n var i = new Wo(t, e, r);\n return n ? (i.next = n.next, i.prev = n, n.next.prev = i, n.next = i) : (i.prev = i, i.next = i), i;\n }\n function $o(t) {\n t.next.prev = t.prev, t.prev.next = t.next, t.prevZ && (t.prevZ.nextZ = t.nextZ), t.nextZ && (t.nextZ.prevZ = t.prevZ);\n }\n function Wo(t, e, r) {\n this.i = t, this.x = e, this.y = r, this.prev = null, this.next = null, this.z = null, this.prevZ = null, this.nextZ = null, this.steiner = !1;\n }\n function Qo(t, e, r, n) {\n for (var i = 0, a = e, o = r - n; a < r; a += n) i += (t[o] - t[a]) * (t[a + 1] + t[o + 1]), o = a;\n return i;\n }\n function ts(t, e, r, n, i) {\n !function t(e, r, n, i, a) {\n for (; i > n;) {\n if (i - n > 600) {\n var o = i - n + 1,\n s = r - n + 1,\n u = Math.log(o),\n l = .5 * Math.exp(2 * u / 3),\n p = .5 * Math.sqrt(u * l * (o - l) / o) * (s - o / 2 < 0 ? -1 : 1);\n t(e, r, Math.max(n, Math.floor(r - s * l / o + p)), Math.min(i, Math.floor(r + (o - s) * l / o + p)), a);\n }\n var c = e[r],\n h = n,\n f = i;\n for (es(e, n, r), a(e[i], c) > 0 && es(e, n, i); h < f;) {\n for (es(e, h, f), h++, f--; a(e[h], c) < 0;) h++;\n for (; a(e[f], c) > 0;) f--;\n }\n 0 === a(e[n], c) ? es(e, n, f) : es(e, ++f, i), f <= r && (n = f + 1), r <= f && (i = f - 1);\n }\n }(t, e, r || 0, n || t.length - 1, i || rs);\n }\n function es(t, e, r) {\n var n = t[e];\n t[e] = t[r], t[r] = n;\n }\n function rs(t, e) {\n return t < e ? -1 : t > e ? 1 : 0;\n }\n function ns(t, e) {\n var r = t.length;\n if (r <= 1) return [t];\n for (var n, i, a = [], o = 0; o < r; o++) {\n var s = k(t[o]);\n 0 !== s && (t[o].area = Math.abs(s), void 0 === i && (i = s < 0), i === s < 0 ? (n && a.push(n), n = [t[o]]) : n.push(t[o]));\n }\n if (n && a.push(n), e > 1) for (var u = 0; u < a.length; u++) a[u].length <= e || (ts(a[u], e, 1, a[u].length - 1, is), a[u] = a[u].slice(0, e));\n return a;\n }\n function is(t, e) {\n return e.area - t.area;\n }\n function as(t, e, r) {\n for (var n = r.patternDependencies, i = !1, a = 0, o = e; a < o.length; a += 1) {\n var s = o[a].paint.get(t + \"-pattern\");\n s.isConstant() || (i = !0);\n var u = s.constantOr(null);\n u && (i = !0, n[u.to] = !0, n[u.from] = !0);\n }\n return i;\n }\n function os(t, e, r, n, i) {\n for (var a = i.patternDependencies, o = 0, s = e; o < s.length; o += 1) {\n var u = s[o],\n l = u.paint.get(t + \"-pattern\").value;\n if (\"constant\" !== l.kind) {\n var p = l.evaluate({\n zoom: n - 1\n }, r, {}, i.availableImages),\n c = l.evaluate({\n zoom: n\n }, r, {}, i.availableImages),\n h = l.evaluate({\n zoom: n + 1\n }, r, {}, i.availableImages);\n c = c && c.name ? c.name : c, h = h && h.name ? h.name : h, a[p = p && p.name ? p.name : p] = !0, a[c] = !0, a[h] = !0, r.patterns[u.id] = {\n min: p,\n mid: c,\n max: h\n };\n }\n }\n return r;\n }\n Co.deviation = function (t, e, r, n) {\n var i = e && e.length,\n a = Math.abs(Qo(t, 0, i ? e[0] * r : t.length, r));\n if (i) for (var o = 0, s = e.length; o < s; o++) a -= Math.abs(Qo(t, e[o] * r, o < s - 1 ? e[o + 1] * r : t.length, r));\n var u = 0;\n for (o = 0; o < n.length; o += 3) {\n var l = n[o] * r,\n p = n[o + 1] * r,\n c = n[o + 2] * r;\n u += Math.abs((t[l] - t[c]) * (t[p + 1] - t[l + 1]) - (t[l] - t[p]) * (t[c + 1] - t[l + 1]));\n }\n return 0 === a && 0 === u ? 0 : Math.abs((u - a) / a);\n }, Co.flatten = function (t) {\n for (var e = t[0][0].length, r = {\n vertices: [],\n holes: [],\n dimensions: e\n }, n = 0, i = 0; i < t.length; i++) {\n for (var a = 0; a < t[i].length; a++) for (var o = 0; o < e; o++) r.vertices.push(t[i][a][o]);\n i > 0 && r.holes.push(n += t[i - 1].length);\n }\n return r;\n }, Io.default = zo;\n var ss = function (t) {\n this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map(function (t) {\n return t.id;\n }), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new Ci(), this.indexArray = new ji(), this.indexArray2 = new Xi(), this.programConfigurations = new Va(t.layers, t.zoom), this.segments = new sa(), this.segments2 = new sa(), this.stateDependentLayerIds = this.layers.filter(function (t) {\n return t.isStateDependent();\n }).map(function (t) {\n return t.id;\n });\n };\n ss.prototype.populate = function (t, e, r) {\n this.hasPattern = as(\"fill\", this.layers, e);\n for (var n = this.layers[0].layout.get(\"fill-sort-key\"), i = [], a = 0, o = t; a < o.length; a += 1) {\n var s = o[a],\n u = s.feature,\n l = s.id,\n p = s.index,\n c = s.sourceLayerIndex,\n h = this.layers[0]._featureFilter.needGeometry,\n f = Ua(u, h);\n if (this.layers[0]._featureFilter.filter(new si(this.zoom), f, r)) {\n var y = n ? n.evaluate(f, {}, r, e.availableImages) : void 0,\n d = {\n id: l,\n properties: u.properties,\n type: u.type,\n sourceLayerIndex: c,\n index: p,\n geometry: h ? f.geometry : Ra(u),\n patterns: {},\n sortKey: y\n };\n i.push(d);\n }\n }\n n && i.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n for (var m = 0, v = i; m < v.length; m += 1) {\n var g = v[m],\n x = g.geometry,\n b = g.index,\n w = g.sourceLayerIndex;\n if (this.hasPattern) {\n var _ = os(\"fill\", this.layers, g, this.zoom, e);\n this.patternFeatures.push(_);\n } else this.addFeature(g, x, b, r, {});\n e.featureIndex.insert(t[b].feature, x, b, w, this.index);\n }\n }, ss.prototype.update = function (t, e, r) {\n this.stateDependentLayers.length && this.programConfigurations.updatePaintArrays(t, e, this.stateDependentLayers, r);\n }, ss.prototype.addFeatures = function (t, e, r) {\n for (var n = 0, i = this.patternFeatures; n < i.length; n += 1) {\n var a = i[n];\n this.addFeature(a, a.geometry, a.index, e, r);\n }\n }, ss.prototype.isEmpty = function () {\n return 0 === this.layoutVertexArray.length;\n }, ss.prototype.uploadPending = function () {\n return !this.uploaded || this.programConfigurations.needsUpload;\n }, ss.prototype.upload = function (t) {\n this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, ko), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.indexBuffer2 = t.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(t), this.uploaded = !0;\n }, ss.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.indexBuffer2.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.segments2.destroy());\n }, ss.prototype.addFeature = function (t, e, r, n, i) {\n for (var a = 0, o = ns(e, 500); a < o.length; a += 1) {\n for (var s = o[a], u = 0, l = 0, p = s; l < p.length; l += 1) u += p[l].length;\n for (var c = this.segments.prepareSegment(u, this.layoutVertexArray, this.indexArray), h = c.vertexLength, f = [], y = [], d = 0, m = s; d < m.length; d += 1) {\n var v = m[d];\n if (0 !== v.length) {\n v !== s[0] && y.push(f.length / 2);\n var g = this.segments2.prepareSegment(v.length, this.layoutVertexArray, this.indexArray2),\n x = g.vertexLength;\n this.layoutVertexArray.emplaceBack(v[0].x, v[0].y), this.indexArray2.emplaceBack(x + v.length - 1, x), f.push(v[0].x), f.push(v[0].y);\n for (var b = 1; b < v.length; b++) this.layoutVertexArray.emplaceBack(v[b].x, v[b].y), this.indexArray2.emplaceBack(x + b - 1, x + b), f.push(v[b].x), f.push(v[b].y);\n g.vertexLength += v.length, g.primitiveLength += v.length;\n }\n }\n for (var w = Io(f, y), _ = 0; _ < w.length; _ += 3) this.indexArray.emplaceBack(h + w[_], h + w[_ + 1], h + w[_ + 2]);\n c.vertexLength += u, c.primitiveLength += w.length / 3;\n }\n this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, r, i, n);\n }, On(\"FillBucket\", ss, {\n omit: [\"layers\", \"patternFeatures\"]\n });\n var us = new wi({\n \"fill-sort-key\": new vi(Et.layout_fill[\"fill-sort-key\"])\n }),\n ls = {\n paint: new wi({\n \"fill-antialias\": new mi(Et.paint_fill[\"fill-antialias\"]),\n \"fill-opacity\": new vi(Et.paint_fill[\"fill-opacity\"]),\n \"fill-color\": new vi(Et.paint_fill[\"fill-color\"]),\n \"fill-outline-color\": new vi(Et.paint_fill[\"fill-outline-color\"]),\n \"fill-translate\": new mi(Et.paint_fill[\"fill-translate\"]),\n \"fill-translate-anchor\": new mi(Et.paint_fill[\"fill-translate-anchor\"]),\n \"fill-pattern\": new gi(Et.paint_fill[\"fill-pattern\"])\n }),\n layout: us\n },\n ps = function (t) {\n function e(e) {\n t.call(this, e, ls);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.recalculate = function (e, r) {\n t.prototype.recalculate.call(this, e, r);\n var n = this.paint._values[\"fill-outline-color\"];\n \"constant\" === n.value.kind && void 0 === n.value.value && (this.paint._values[\"fill-outline-color\"] = this.paint._values[\"fill-color\"]);\n }, e.prototype.createBucket = function (t) {\n return new ss(t);\n }, e.prototype.queryRadius = function () {\n return eo(this.paint.get(\"fill-translate\"));\n }, e.prototype.queryIntersectsFeature = function (t, e, r, n, i, a, o) {\n return Ga(ro(t, this.paint.get(\"fill-translate\"), this.paint.get(\"fill-translate-anchor\"), a.angle, o), n);\n }, e.prototype.isTileClipped = function () {\n return !0;\n }, e;\n }(_i),\n cs = Ii([{\n name: \"a_pos\",\n components: 2,\n type: \"Int16\"\n }, {\n name: \"a_normal_ed\",\n components: 4,\n type: \"Int16\"\n }], 4).members,\n hs = fs;\n function fs(t, e, r, n, i) {\n this.properties = {}, this.extent = r, this.type = 0, this._pbf = t, this._geometry = -1, this._keys = n, this._values = i, t.readFields(ys, this, e);\n }\n function ys(t, e, r) {\n 1 == t ? e.id = r.readVarint() : 2 == t ? function (t, e) {\n for (var r = t.readVarint() + t.pos; t.pos < r;) {\n var n = e._keys[t.readVarint()],\n i = e._values[t.readVarint()];\n e.properties[n] = i;\n }\n }(r, e) : 3 == t ? e.type = r.readVarint() : 4 == t && (e._geometry = r.pos);\n }\n function ds(t) {\n for (var e, r, n = 0, i = 0, a = t.length, o = a - 1; i < a; o = i++) n += ((r = t[o]).x - (e = t[i]).x) * (e.y + r.y);\n return n;\n }\n fs.types = [\"Unknown\", \"Point\", \"LineString\", \"Polygon\"], fs.prototype.loadGeometry = function () {\n var t = this._pbf;\n t.pos = this._geometry;\n for (var e, r = t.readVarint() + t.pos, n = 1, a = 0, o = 0, s = 0, u = []; t.pos < r;) {\n if (a <= 0) {\n var l = t.readVarint();\n n = 7 & l, a = l >> 3;\n }\n if (a--, 1 === n || 2 === n) o += t.readSVarint(), s += t.readSVarint(), 1 === n && (e && u.push(e), e = []), e.push(new i(o, s));else {\n if (7 !== n) throw new Error(\"unknown command \" + n);\n e && e.push(e[0].clone());\n }\n }\n return e && u.push(e), u;\n }, fs.prototype.bbox = function () {\n var t = this._pbf;\n t.pos = this._geometry;\n for (var e = t.readVarint() + t.pos, r = 1, n = 0, i = 0, a = 0, o = 1 / 0, s = -1 / 0, u = 1 / 0, l = -1 / 0; t.pos < e;) {\n if (n <= 0) {\n var p = t.readVarint();\n r = 7 & p, n = p >> 3;\n }\n if (n--, 1 === r || 2 === r) (i += t.readSVarint()) < o && (o = i), i > s && (s = i), (a += t.readSVarint()) < u && (u = a), a > l && (l = a);else if (7 !== r) throw new Error(\"unknown command \" + r);\n }\n return [o, u, s, l];\n }, fs.prototype.toGeoJSON = function (t, e, r) {\n var n,\n i,\n a = this.extent * Math.pow(2, r),\n o = this.extent * t,\n s = this.extent * e,\n u = this.loadGeometry(),\n l = fs.types[this.type];\n function p(t) {\n for (var e = 0; e < t.length; e++) {\n var r = t[e];\n t[e] = [360 * (r.x + o) / a - 180, 360 / Math.PI * Math.atan(Math.exp((180 - 360 * (r.y + s) / a) * Math.PI / 180)) - 90];\n }\n }\n switch (this.type) {\n case 1:\n var c = [];\n for (n = 0; n < u.length; n++) c[n] = u[n][0];\n p(u = c);\n break;\n case 2:\n for (n = 0; n < u.length; n++) p(u[n]);\n break;\n case 3:\n for (u = function (t) {\n var e = t.length;\n if (e <= 1) return [t];\n for (var r, n, i = [], a = 0; a < e; a++) {\n var o = ds(t[a]);\n 0 !== o && (void 0 === n && (n = o < 0), n === o < 0 ? (r && i.push(r), r = [t[a]]) : r.push(t[a]));\n }\n return r && i.push(r), i;\n }(u), n = 0; n < u.length; n++) for (i = 0; i < u[n].length; i++) p(u[n][i]);\n }\n 1 === u.length ? u = u[0] : l = \"Multi\" + l;\n var h = {\n type: \"Feature\",\n geometry: {\n type: l,\n coordinates: u\n },\n properties: this.properties\n };\n return \"id\" in this && (h.id = this.id), h;\n };\n var ms = vs;\n function vs(t, e) {\n this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = t, this._keys = [], this._values = [], this._features = [], t.readFields(gs, this, e), this.length = this._features.length;\n }\n function gs(t, e, r) {\n 15 === t ? e.version = r.readVarint() : 1 === t ? e.name = r.readString() : 5 === t ? e.extent = r.readVarint() : 2 === t ? e._features.push(r.pos) : 3 === t ? e._keys.push(r.readString()) : 4 === t && e._values.push(function (t) {\n for (var e = null, r = t.readVarint() + t.pos; t.pos < r;) {\n var n = t.readVarint() >> 3;\n e = 1 === n ? t.readString() : 2 === n ? t.readFloat() : 3 === n ? t.readDouble() : 4 === n ? t.readVarint64() : 5 === n ? t.readVarint() : 6 === n ? t.readSVarint() : 7 === n ? t.readBoolean() : null;\n }\n return e;\n }(r));\n }\n function xs(t, e, r) {\n if (3 === t) {\n var n = new ms(r, r.readVarint() + r.pos);\n n.length && (e[n.name] = n);\n }\n }\n vs.prototype.feature = function (t) {\n if (t < 0 || t >= this._features.length) throw new Error(\"feature index out of bounds\");\n this._pbf.pos = this._features[t];\n var e = this._pbf.readVarint() + this._pbf.pos;\n return new hs(this._pbf, e, this.extent, this._keys, this._values);\n };\n var bs = {\n VectorTile: function (t, e) {\n this.layers = t.readFields(xs, {}, e);\n },\n VectorTileFeature: hs,\n VectorTileLayer: ms\n },\n ws = bs.VectorTileFeature.types,\n _s = Math.pow(2, 13);\n function As(t, e, r, n, i, a, o, s) {\n t.emplaceBack(e, r, 2 * Math.floor(n * _s) + o, i * _s * 2, a * _s * 2, Math.round(s));\n }\n var Ss = function (t) {\n this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map(function (t) {\n return t.id;\n }), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new Pi(), this.indexArray = new ji(), this.programConfigurations = new Va(t.layers, t.zoom), this.segments = new sa(), this.stateDependentLayerIds = this.layers.filter(function (t) {\n return t.isStateDependent();\n }).map(function (t) {\n return t.id;\n });\n };\n function ks(t, e) {\n return t.x === e.x && (t.x < 0 || t.x > 8192) || t.y === e.y && (t.y < 0 || t.y > 8192);\n }\n Ss.prototype.populate = function (t, e, r) {\n this.features = [], this.hasPattern = as(\"fill-extrusion\", this.layers, e);\n for (var n = 0, i = t; n < i.length; n += 1) {\n var a = i[n],\n o = a.feature,\n s = a.id,\n u = a.index,\n l = a.sourceLayerIndex,\n p = this.layers[0]._featureFilter.needGeometry,\n c = Ua(o, p);\n if (this.layers[0]._featureFilter.filter(new si(this.zoom), c, r)) {\n var h = {\n id: s,\n sourceLayerIndex: l,\n index: u,\n geometry: p ? c.geometry : Ra(o),\n properties: o.properties,\n type: o.type,\n patterns: {}\n };\n this.hasPattern ? this.features.push(os(\"fill-extrusion\", this.layers, h, this.zoom, e)) : this.addFeature(h, h.geometry, u, r, {}), e.featureIndex.insert(o, h.geometry, u, l, this.index, !0);\n }\n }\n }, Ss.prototype.addFeatures = function (t, e, r) {\n for (var n = 0, i = this.features; n < i.length; n += 1) {\n var a = i[n];\n this.addFeature(a, a.geometry, a.index, e, r);\n }\n }, Ss.prototype.update = function (t, e, r) {\n this.stateDependentLayers.length && this.programConfigurations.updatePaintArrays(t, e, this.stateDependentLayers, r);\n }, Ss.prototype.isEmpty = function () {\n return 0 === this.layoutVertexArray.length;\n }, Ss.prototype.uploadPending = function () {\n return !this.uploaded || this.programConfigurations.needsUpload;\n }, Ss.prototype.upload = function (t) {\n this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, cs), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;\n }, Ss.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());\n }, Ss.prototype.addFeature = function (t, e, r, n, i) {\n for (var a = 0, o = ns(e, 500); a < o.length; a += 1) {\n for (var s = o[a], u = 0, l = 0, p = s; l < p.length; l += 1) u += p[l].length;\n for (var c = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray), h = 0, f = s; h < f.length; h += 1) {\n var y = f[h];\n if (0 !== y.length && !((B = y).every(function (t) {\n return t.x < 0;\n }) || B.every(function (t) {\n return t.x > 8192;\n }) || B.every(function (t) {\n return t.y < 0;\n }) || B.every(function (t) {\n return t.y > 8192;\n }))) for (var d = 0, m = 0; m < y.length; m++) {\n var v = y[m];\n if (m >= 1) {\n var g = y[m - 1];\n if (!ks(v, g)) {\n c.vertexLength + 4 > sa.MAX_VERTEX_ARRAY_LENGTH && (c = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));\n var x = v.sub(g)._perp()._unit(),\n b = g.dist(v);\n d + b > 32768 && (d = 0), As(this.layoutVertexArray, v.x, v.y, x.x, x.y, 0, 0, d), As(this.layoutVertexArray, v.x, v.y, x.x, x.y, 0, 1, d), As(this.layoutVertexArray, g.x, g.y, x.x, x.y, 0, 0, d += b), As(this.layoutVertexArray, g.x, g.y, x.x, x.y, 0, 1, d);\n var w = c.vertexLength;\n this.indexArray.emplaceBack(w, w + 2, w + 1), this.indexArray.emplaceBack(w + 1, w + 2, w + 3), c.vertexLength += 4, c.primitiveLength += 2;\n }\n }\n }\n }\n if (c.vertexLength + u > sa.MAX_VERTEX_ARRAY_LENGTH && (c = this.segments.prepareSegment(u, this.layoutVertexArray, this.indexArray)), \"Polygon\" === ws[t.type]) {\n for (var _ = [], A = [], S = c.vertexLength, k = 0, I = s; k < I.length; k += 1) {\n var z = I[k];\n if (0 !== z.length) {\n z !== s[0] && A.push(_.length / 2);\n for (var C = 0; C < z.length; C++) {\n var E = z[C];\n As(this.layoutVertexArray, E.x, E.y, 0, 0, 1, 1, 0), _.push(E.x), _.push(E.y);\n }\n }\n }\n for (var P = Io(_, A), M = 0; M < P.length; M += 3) this.indexArray.emplaceBack(S + P[M], S + P[M + 2], S + P[M + 1]);\n c.primitiveLength += P.length / 3, c.vertexLength += u;\n }\n }\n var B;\n this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, r, i, n);\n }, On(\"FillExtrusionBucket\", Ss, {\n omit: [\"layers\", \"features\"]\n });\n var Is = {\n paint: new wi({\n \"fill-extrusion-opacity\": new mi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-opacity\"]),\n \"fill-extrusion-color\": new vi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-color\"]),\n \"fill-extrusion-translate\": new mi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-translate\"]),\n \"fill-extrusion-translate-anchor\": new mi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-translate-anchor\"]),\n \"fill-extrusion-pattern\": new gi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-pattern\"]),\n \"fill-extrusion-height\": new vi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-height\"]),\n \"fill-extrusion-base\": new vi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-base\"]),\n \"fill-extrusion-vertical-gradient\": new mi(Et[\"paint_fill-extrusion\"][\"fill-extrusion-vertical-gradient\"])\n })\n },\n zs = function (t) {\n function e(e) {\n t.call(this, e, Is);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.createBucket = function (t) {\n return new Ss(t);\n }, e.prototype.queryRadius = function () {\n return eo(this.paint.get(\"fill-extrusion-translate\"));\n }, e.prototype.is3D = function () {\n return !0;\n }, e.prototype.queryIntersectsFeature = function (t, e, r, n, a, o, s, u) {\n var l = ro(t, this.paint.get(\"fill-extrusion-translate\"), this.paint.get(\"fill-extrusion-translate-anchor\"), o.angle, s),\n p = this.paint.get(\"fill-extrusion-height\").evaluate(e, r),\n c = this.paint.get(\"fill-extrusion-base\").evaluate(e, r),\n h = function (t, e, r, n) {\n for (var a = [], o = 0, s = t; o < s.length; o += 1) {\n var u = s[o],\n l = [u.x, u.y, 0, 1];\n po(l, l, e), a.push(new i(l[0] / l[3], l[1] / l[3]));\n }\n return a;\n }(l, u),\n f = function (t, e, r, n) {\n for (var a = [], o = [], s = n[8] * e, u = n[9] * e, l = n[10] * e, p = n[11] * e, c = n[8] * r, h = n[9] * r, f = n[10] * r, y = n[11] * r, d = 0, m = t; d < m.length; d += 1) {\n for (var v = [], g = [], x = 0, b = m[d]; x < b.length; x += 1) {\n var w = b[x],\n _ = w.x,\n A = w.y,\n S = n[0] * _ + n[4] * A + n[12],\n k = n[1] * _ + n[5] * A + n[13],\n I = n[2] * _ + n[6] * A + n[14],\n z = n[3] * _ + n[7] * A + n[15],\n C = I + l,\n E = z + p,\n P = S + c,\n M = k + h,\n B = I + f,\n T = z + y,\n V = new i((S + s) / E, (k + u) / E);\n V.z = C / E, v.push(V);\n var F = new i(P / T, M / T);\n F.z = B / T, g.push(F);\n }\n a.push(v), o.push(g);\n }\n return [a, o];\n }(n, c, p, u);\n return function (t, e, r) {\n var n = 1 / 0;\n Ga(r, e) && (n = Es(r, e[0]));\n for (var i = 0; i < e.length; i++) for (var a = e[i], o = t[i], s = 0; s < a.length - 1; s++) {\n var u = a[s],\n l = [u, a[s + 1], o[s + 1], o[s], u];\n Na(r, l) && (n = Math.min(n, Es(r, l)));\n }\n return n !== 1 / 0 && n;\n }(f[0], f[1], h);\n }, e;\n }(_i);\n function Cs(t, e) {\n return t.x * e.x + t.y * e.y;\n }\n function Es(t, e) {\n if (1 === t.length) {\n for (var r, n = 0, i = e[n++]; !r || i.equals(r);) if (!(r = e[n++])) return 1 / 0;\n for (; n < e.length; n++) {\n var a = e[n],\n o = t[0],\n s = r.sub(i),\n u = a.sub(i),\n l = o.sub(i),\n p = Cs(s, s),\n c = Cs(s, u),\n h = Cs(u, u),\n f = Cs(l, s),\n y = Cs(l, u),\n d = p * h - c * c,\n m = (h * f - c * y) / d,\n v = (p * y - c * f) / d,\n g = i.z * (1 - m - v) + r.z * m + a.z * v;\n if (isFinite(g)) return g;\n }\n return 1 / 0;\n }\n for (var x = 1 / 0, b = 0, w = e; b < w.length; b += 1) x = Math.min(x, w[b].z);\n return x;\n }\n var Ps = Ii([{\n name: \"a_pos_normal\",\n components: 2,\n type: \"Int16\"\n }, {\n name: \"a_data\",\n components: 4,\n type: \"Uint8\"\n }], 4).members,\n Ms = Ii([{\n name: \"a_uv_x\",\n components: 1,\n type: \"Float32\"\n }, {\n name: \"a_split_index\",\n components: 1,\n type: \"Float32\"\n }]).members,\n Bs = bs.VectorTileFeature.types,\n Ts = Math.cos(Math.PI / 180 * 37.5),\n Vs = Math.pow(2, 14) / .5,\n Fs = function (t) {\n var e = this;\n this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map(function (t) {\n return t.id;\n }), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach(function (t) {\n e.gradients[t.id] = {};\n }), this.layoutVertexArray = new Mi(), this.layoutVertexArray2 = new Bi(), this.indexArray = new ji(), this.programConfigurations = new Va(t.layers, t.zoom), this.segments = new sa(), this.maxLineLength = 0, this.stateDependentLayerIds = this.layers.filter(function (t) {\n return t.isStateDependent();\n }).map(function (t) {\n return t.id;\n });\n };\n Fs.prototype.populate = function (t, e, r) {\n this.hasPattern = as(\"line\", this.layers, e);\n for (var n = this.layers[0].layout.get(\"line-sort-key\"), i = [], a = 0, o = t; a < o.length; a += 1) {\n var s = o[a],\n u = s.feature,\n l = s.id,\n p = s.index,\n c = s.sourceLayerIndex,\n h = this.layers[0]._featureFilter.needGeometry,\n f = Ua(u, h);\n if (this.layers[0]._featureFilter.filter(new si(this.zoom), f, r)) {\n var y = n ? n.evaluate(f, {}, r) : void 0,\n d = {\n id: l,\n properties: u.properties,\n type: u.type,\n sourceLayerIndex: c,\n index: p,\n geometry: h ? f.geometry : Ra(u),\n patterns: {},\n sortKey: y\n };\n i.push(d);\n }\n }\n n && i.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n for (var m = 0, v = i; m < v.length; m += 1) {\n var g = v[m],\n x = g.geometry,\n b = g.index,\n w = g.sourceLayerIndex;\n if (this.hasPattern) {\n var _ = os(\"line\", this.layers, g, this.zoom, e);\n this.patternFeatures.push(_);\n } else this.addFeature(g, x, b, r, {});\n e.featureIndex.insert(t[b].feature, x, b, w, this.index);\n }\n }, Fs.prototype.update = function (t, e, r) {\n this.stateDependentLayers.length && this.programConfigurations.updatePaintArrays(t, e, this.stateDependentLayers, r);\n }, Fs.prototype.addFeatures = function (t, e, r) {\n for (var n = 0, i = this.patternFeatures; n < i.length; n += 1) {\n var a = i[n];\n this.addFeature(a, a.geometry, a.index, e, r);\n }\n }, Fs.prototype.isEmpty = function () {\n return 0 === this.layoutVertexArray.length;\n }, Fs.prototype.uploadPending = function () {\n return !this.uploaded || this.programConfigurations.needsUpload;\n }, Fs.prototype.upload = function (t) {\n this.uploaded || (0 !== this.layoutVertexArray2.length && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2, Ms)), this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Ps), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;\n }, Fs.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());\n }, Fs.prototype.lineFeatureClips = function (t) {\n if (t.properties && t.properties.hasOwnProperty(\"mapbox_clip_start\") && t.properties.hasOwnProperty(\"mapbox_clip_end\")) return {\n start: +t.properties.mapbox_clip_start,\n end: +t.properties.mapbox_clip_end\n };\n }, Fs.prototype.addFeature = function (t, e, r, n, i) {\n var a = this.layers[0].layout,\n o = a.get(\"line-join\").evaluate(t, {}),\n s = a.get(\"line-cap\"),\n u = a.get(\"line-miter-limit\"),\n l = a.get(\"line-round-limit\");\n this.lineClips = this.lineFeatureClips(t);\n for (var p = 0, c = e; p < c.length; p += 1) this.addLine(c[p], t, o, s, u, l);\n this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, r, i, n);\n }, Fs.prototype.addLine = function (t, e, r, n, i, a) {\n if (this.distance = 0, this.scaledDistance = 0, this.totalDistance = 0, this.lineClips) {\n this.lineClipsArray.push(this.lineClips);\n for (var o = 0; o < t.length - 1; o++) this.totalDistance += t[o].dist(t[o + 1]);\n this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);\n }\n for (var s = \"Polygon\" === Bs[e.type], u = t.length; u >= 2 && t[u - 1].equals(t[u - 2]);) u--;\n for (var l = 0; l < u - 1 && t[l].equals(t[l + 1]);) l++;\n if (!(u < (s ? 3 : 2))) {\n \"bevel\" === r && (i = 1.05);\n var p,\n c = this.overscaling <= 16 ? 122880 / (512 * this.overscaling) : 0,\n h = this.segments.prepareSegment(10 * u, this.layoutVertexArray, this.indexArray),\n f = void 0,\n y = void 0,\n d = void 0,\n m = void 0;\n this.e1 = this.e2 = -1, s && (m = t[l].sub(p = t[u - 2])._unit()._perp());\n for (var v = l; v < u; v++) if (!(y = v === u - 1 ? s ? t[l + 1] : void 0 : t[v + 1]) || !t[v].equals(y)) {\n m && (d = m), p && (f = p), p = t[v], m = y ? y.sub(p)._unit()._perp() : d;\n var g = (d = d || m).add(m);\n 0 === g.x && 0 === g.y || g._unit();\n var x = d.x * m.x + d.y * m.y,\n b = g.x * m.x + g.y * m.y,\n w = 0 !== b ? 1 / b : 1 / 0,\n _ = 2 * Math.sqrt(2 - 2 * b),\n A = b < Ts && f && y,\n S = d.x * m.y - d.y * m.x > 0;\n if (A && v > l) {\n var k = p.dist(f);\n if (k > 2 * c) {\n var I = p.sub(p.sub(f)._mult(c / k)._round());\n this.updateDistance(f, I), this.addCurrentVertex(I, d, 0, 0, h), f = I;\n }\n }\n var z = f && y,\n C = z ? r : s ? \"butt\" : n;\n if (z && \"round\" === C && (w < a ? C = \"miter\" : w <= 2 && (C = \"fakeround\")), \"miter\" === C && w > i && (C = \"bevel\"), \"bevel\" === C && (w > 2 && (C = \"flipbevel\"), w < i && (C = \"miter\")), f && this.updateDistance(f, p), \"miter\" === C) g._mult(w), this.addCurrentVertex(p, g, 0, 0, h);else if (\"flipbevel\" === C) {\n if (w > 100) g = m.mult(-1);else {\n var E = w * d.add(m).mag() / d.sub(m).mag();\n g._perp()._mult(E * (S ? -1 : 1));\n }\n this.addCurrentVertex(p, g, 0, 0, h), this.addCurrentVertex(p, g.mult(-1), 0, 0, h);\n } else if (\"bevel\" === C || \"fakeround\" === C) {\n var P = -Math.sqrt(w * w - 1),\n M = S ? P : 0,\n B = S ? 0 : P;\n if (f && this.addCurrentVertex(p, d, M, B, h), \"fakeround\" === C) for (var T = Math.round(180 * _ / Math.PI / 20), V = 1; V < T; V++) {\n var F = V / T;\n if (.5 !== F) {\n var D = F - .5;\n F += F * D * (F - 1) * ((1.0904 + x * (x * (3.55645 - 1.43519 * x) - 3.2452)) * D * D + (.848013 + x * (.215638 * x - 1.06021)));\n }\n var L = m.sub(d)._mult(F)._add(d)._unit()._mult(S ? -1 : 1);\n this.addHalfVertex(p, L.x, L.y, !1, S, 0, h);\n }\n y && this.addCurrentVertex(p, m, -M, -B, h);\n } else if (\"butt\" === C) this.addCurrentVertex(p, g, 0, 0, h);else if (\"square\" === C) {\n var O = f ? 1 : -1;\n this.addCurrentVertex(p, g, O, O, h);\n } else \"round\" === C && (f && (this.addCurrentVertex(p, d, 0, 0, h), this.addCurrentVertex(p, d, 1, 1, h, !0)), y && (this.addCurrentVertex(p, m, -1, -1, h, !0), this.addCurrentVertex(p, m, 0, 0, h)));\n if (A && v < u - 1) {\n var R = p.dist(y);\n if (R > 2 * c) {\n var U = p.add(y.sub(p)._mult(c / R)._round());\n this.updateDistance(p, U), this.addCurrentVertex(U, m, 0, 0, h), p = U;\n }\n }\n }\n }\n }, Fs.prototype.addCurrentVertex = function (t, e, r, n, i, a) {\n void 0 === a && (a = !1);\n var o = e.y * n - e.x,\n s = -e.y - e.x * n;\n this.addHalfVertex(t, e.x + e.y * r, e.y - e.x * r, a, !1, r, i), this.addHalfVertex(t, o, s, a, !0, -n, i), this.distance > Vs / 2 && 0 === this.totalDistance && (this.distance = 0, this.addCurrentVertex(t, e, r, n, i, a));\n }, Fs.prototype.addHalfVertex = function (t, e, r, n, i, a, o) {\n var s = .5 * (this.lineClips ? this.scaledDistance * (Vs - 1) : this.scaledDistance);\n this.layoutVertexArray.emplaceBack((t.x << 1) + (n ? 1 : 0), (t.y << 1) + (i ? 1 : 0), Math.round(63 * e) + 128, Math.round(63 * r) + 128, 1 + (0 === a ? 0 : a < 0 ? -1 : 1) | (63 & s) << 2, s >> 6), this.lineClips && this.layoutVertexArray2.emplaceBack((this.scaledDistance - this.lineClips.start) / (this.lineClips.end - this.lineClips.start), this.lineClipsArray.length);\n var u = o.vertexLength++;\n this.e1 >= 0 && this.e2 >= 0 && (this.indexArray.emplaceBack(this.e1, this.e2, u), o.primitiveLength++), i ? this.e2 = u : this.e1 = u;\n }, Fs.prototype.updateScaledDistance = function () {\n this.scaledDistance = this.lineClips ? this.lineClips.start + (this.lineClips.end - this.lineClips.start) * this.distance / this.totalDistance : this.distance;\n }, Fs.prototype.updateDistance = function (t, e) {\n this.distance += t.dist(e), this.updateScaledDistance();\n }, On(\"LineBucket\", Fs, {\n omit: [\"layers\", \"patternFeatures\"]\n });\n var Ds = new wi({\n \"line-cap\": new mi(Et.layout_line[\"line-cap\"]),\n \"line-join\": new vi(Et.layout_line[\"line-join\"]),\n \"line-miter-limit\": new mi(Et.layout_line[\"line-miter-limit\"]),\n \"line-round-limit\": new mi(Et.layout_line[\"line-round-limit\"]),\n \"line-sort-key\": new vi(Et.layout_line[\"line-sort-key\"])\n }),\n Ls = {\n paint: new wi({\n \"line-opacity\": new vi(Et.paint_line[\"line-opacity\"]),\n \"line-color\": new vi(Et.paint_line[\"line-color\"]),\n \"line-translate\": new mi(Et.paint_line[\"line-translate\"]),\n \"line-translate-anchor\": new mi(Et.paint_line[\"line-translate-anchor\"]),\n \"line-width\": new vi(Et.paint_line[\"line-width\"]),\n \"line-gap-width\": new vi(Et.paint_line[\"line-gap-width\"]),\n \"line-offset\": new vi(Et.paint_line[\"line-offset\"]),\n \"line-blur\": new vi(Et.paint_line[\"line-blur\"]),\n \"line-dasharray\": new xi(Et.paint_line[\"line-dasharray\"]),\n \"line-pattern\": new gi(Et.paint_line[\"line-pattern\"]),\n \"line-gradient\": new bi(Et.paint_line[\"line-gradient\"])\n }),\n layout: Ds\n },\n Os = new (function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.possiblyEvaluate = function (e, r) {\n return r = new si(Math.floor(r.zoom), {\n now: r.now,\n fadeDuration: r.fadeDuration,\n zoomHistory: r.zoomHistory,\n transition: r.transition\n }), t.prototype.possiblyEvaluate.call(this, e, r);\n }, e.prototype.evaluate = function (e, r, n, i) {\n return r = h({}, r, {\n zoom: Math.floor(r.zoom)\n }), t.prototype.evaluate.call(this, e, r, n, i);\n }, e;\n }(vi))(Ls.paint.properties[\"line-width\"].specification);\n Os.useIntegerZoom = !0;\n var Rs = function (t) {\n function e(e) {\n t.call(this, e, Ls), this.gradientVersion = 0;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._handleSpecialPaintPropertyUpdate = function (t) {\n \"line-gradient\" === t && (this.stepInterpolant = this._transitionablePaint._values[\"line-gradient\"].value.expression._styleExpression.expression instanceof Ne, this.gradientVersion = (this.gradientVersion + 1) % s);\n }, e.prototype.gradientExpression = function () {\n return this._transitionablePaint._values[\"line-gradient\"].value.expression;\n }, e.prototype.recalculate = function (e, r) {\n t.prototype.recalculate.call(this, e, r), this.paint._values[\"line-floorwidth\"] = Os.possiblyEvaluate(this._transitioningPaint._values[\"line-width\"].value, e);\n }, e.prototype.createBucket = function (t) {\n return new Fs(t);\n }, e.prototype.queryRadius = function (t) {\n var e = t,\n r = Us(to(\"line-width\", this, e), to(\"line-gap-width\", this, e)),\n n = to(\"line-offset\", this, e);\n return r / 2 + Math.abs(n) + eo(this.paint.get(\"line-translate\"));\n }, e.prototype.queryIntersectsFeature = function (t, e, r, n, a, o, s) {\n var u = ro(t, this.paint.get(\"line-translate\"), this.paint.get(\"line-translate-anchor\"), o.angle, s),\n l = s / 2 * Us(this.paint.get(\"line-width\").evaluate(e, r), this.paint.get(\"line-gap-width\").evaluate(e, r)),\n p = this.paint.get(\"line-offset\").evaluate(e, r);\n return p && (n = function (t, e) {\n for (var r = [], n = new i(0, 0), a = 0; a < t.length; a++) {\n for (var o = t[a], s = [], u = 0; u < o.length; u++) {\n var l = o[u],\n p = o[u + 1],\n c = 0 === u ? n : l.sub(o[u - 1])._unit()._perp(),\n h = u === o.length - 1 ? n : p.sub(l)._unit()._perp(),\n f = c._add(h)._unit();\n f._mult(1 / (f.x * h.x + f.y * h.y)), s.push(f._mult(e)._add(l));\n }\n r.push(s);\n }\n return r;\n }(n, p * s)), function (t, e, r) {\n for (var n = 0; n < e.length; n++) {\n var i = e[n];\n if (t.length >= 3) for (var a = 0; a < i.length; a++) if (Wa(t, i[a])) return !0;\n if (Za(t, i, r)) return !0;\n }\n return !1;\n }(u, n, l);\n }, e.prototype.isTileClipped = function () {\n return !0;\n }, e;\n }(_i);\n function Us(t, e) {\n return e > 0 ? e + 2 * t : t;\n }\n var js = Ii([{\n name: \"a_pos_offset\",\n components: 4,\n type: \"Int16\"\n }, {\n name: \"a_data\",\n components: 4,\n type: \"Uint16\"\n }, {\n name: \"a_pixeloffset\",\n components: 4,\n type: \"Int16\"\n }], 4),\n qs = Ii([{\n name: \"a_projected_pos\",\n components: 3,\n type: \"Float32\"\n }], 4),\n Ns = (Ii([{\n name: \"a_fade_opacity\",\n components: 1,\n type: \"Uint32\"\n }], 4), Ii([{\n name: \"a_placed\",\n components: 2,\n type: \"Uint8\"\n }, {\n name: \"a_shift\",\n components: 2,\n type: \"Float32\"\n }])),\n Ks = (Ii([{\n type: \"Int16\",\n name: \"anchorPointX\"\n }, {\n type: \"Int16\",\n name: \"anchorPointY\"\n }, {\n type: \"Int16\",\n name: \"x1\"\n }, {\n type: \"Int16\",\n name: \"y1\"\n }, {\n type: \"Int16\",\n name: \"x2\"\n }, {\n type: \"Int16\",\n name: \"y2\"\n }, {\n type: \"Uint32\",\n name: \"featureIndex\"\n }, {\n type: \"Uint16\",\n name: \"sourceLayerIndex\"\n }, {\n type: \"Uint16\",\n name: \"bucketIndex\"\n }]), Ii([{\n name: \"a_pos\",\n components: 2,\n type: \"Int16\"\n }, {\n name: \"a_anchor_pos\",\n components: 2,\n type: \"Int16\"\n }, {\n name: \"a_extrude\",\n components: 2,\n type: \"Int16\"\n }], 4)),\n Gs = Ii([{\n name: \"a_pos\",\n components: 2,\n type: \"Float32\"\n }, {\n name: \"a_radius\",\n components: 1,\n type: \"Float32\"\n }, {\n name: \"a_flags\",\n components: 2,\n type: \"Int16\"\n }], 4);\n function Zs(t, e, r) {\n return t.sections.forEach(function (t) {\n t.text = function (t, e, r) {\n var n = e.layout.get(\"text-transform\").evaluate(r, {});\n return \"uppercase\" === n ? t = t.toLocaleUpperCase() : \"lowercase\" === n && (t = t.toLocaleLowerCase()), oi.applyArabicShaping && (t = oi.applyArabicShaping(t)), t;\n }(t.text, e, r);\n }), t;\n }\n Ii([{\n name: \"triangle\",\n components: 3,\n type: \"Uint16\"\n }]), Ii([{\n type: \"Int16\",\n name: \"anchorX\"\n }, {\n type: \"Int16\",\n name: \"anchorY\"\n }, {\n type: \"Uint16\",\n name: \"glyphStartIndex\"\n }, {\n type: \"Uint16\",\n name: \"numGlyphs\"\n }, {\n type: \"Uint32\",\n name: \"vertexStartIndex\"\n }, {\n type: \"Uint32\",\n name: \"lineStartIndex\"\n }, {\n type: \"Uint32\",\n name: \"lineLength\"\n }, {\n type: \"Uint16\",\n name: \"segment\"\n }, {\n type: \"Uint16\",\n name: \"lowerSize\"\n }, {\n type: \"Uint16\",\n name: \"upperSize\"\n }, {\n type: \"Float32\",\n name: \"lineOffsetX\"\n }, {\n type: \"Float32\",\n name: \"lineOffsetY\"\n }, {\n type: \"Uint8\",\n name: \"writingMode\"\n }, {\n type: \"Uint8\",\n name: \"placedOrientation\"\n }, {\n type: \"Uint8\",\n name: \"hidden\"\n }, {\n type: \"Uint32\",\n name: \"crossTileID\"\n }, {\n type: \"Int16\",\n name: \"associatedIconIndex\"\n }]), Ii([{\n type: \"Int16\",\n name: \"anchorX\"\n }, {\n type: \"Int16\",\n name: \"anchorY\"\n }, {\n type: \"Int16\",\n name: \"rightJustifiedTextSymbolIndex\"\n }, {\n type: \"Int16\",\n name: \"centerJustifiedTextSymbolIndex\"\n }, {\n type: \"Int16\",\n name: \"leftJustifiedTextSymbolIndex\"\n }, {\n type: \"Int16\",\n name: \"verticalPlacedTextSymbolIndex\"\n }, {\n type: \"Int16\",\n name: \"placedIconSymbolIndex\"\n }, {\n type: \"Int16\",\n name: \"verticalPlacedIconSymbolIndex\"\n }, {\n type: \"Uint16\",\n name: \"key\"\n }, {\n type: \"Uint16\",\n name: \"textBoxStartIndex\"\n }, {\n type: \"Uint16\",\n name: \"textBoxEndIndex\"\n }, {\n type: \"Uint16\",\n name: \"verticalTextBoxStartIndex\"\n }, {\n type: \"Uint16\",\n name: \"verticalTextBoxEndIndex\"\n }, {\n type: \"Uint16\",\n name: \"iconBoxStartIndex\"\n }, {\n type: \"Uint16\",\n name: \"iconBoxEndIndex\"\n }, {\n type: \"Uint16\",\n name: \"verticalIconBoxStartIndex\"\n }, {\n type: \"Uint16\",\n name: \"verticalIconBoxEndIndex\"\n }, {\n type: \"Uint16\",\n name: \"featureIndex\"\n }, {\n type: \"Uint16\",\n name: \"numHorizontalGlyphVertices\"\n }, {\n type: \"Uint16\",\n name: \"numVerticalGlyphVertices\"\n }, {\n type: \"Uint16\",\n name: \"numIconVertices\"\n }, {\n type: \"Uint16\",\n name: \"numVerticalIconVertices\"\n }, {\n type: \"Uint16\",\n name: \"useRuntimeCollisionCircles\"\n }, {\n type: \"Uint32\",\n name: \"crossTileID\"\n }, {\n type: \"Float32\",\n name: \"textBoxScale\"\n }, {\n type: \"Float32\",\n components: 2,\n name: \"textOffset\"\n }, {\n type: \"Float32\",\n name: \"collisionCircleDiameter\"\n }]), Ii([{\n type: \"Float32\",\n name: \"offsetX\"\n }]), Ii([{\n type: \"Int16\",\n name: \"x\"\n }, {\n type: \"Int16\",\n name: \"y\"\n }, {\n type: \"Int16\",\n name: \"tileUnitDistanceFromAnchor\"\n }]);\n var Xs = {\n \"!\": \"︕\",\n \"#\": \"#\",\n $: \"$\",\n \"%\": \"%\",\n \"&\": \"&\",\n \"(\": \"︵\",\n \")\": \"︶\",\n \"*\": \"*\",\n \"+\": \"+\",\n \",\": \"︐\",\n \"-\": \"︲\",\n \".\": \"・\",\n \"/\": \"/\",\n \":\": \"︓\",\n \";\": \"︔\",\n \"<\": \"︿\",\n \"=\": \"=\",\n \">\": \"﹀\",\n \"?\": \"︖\",\n \"@\": \"@\",\n \"[\": \"﹇\",\n \"\\\\\": \"\\",\n \"]\": \"﹈\",\n \"^\": \"^\",\n _: \"︳\",\n \"`\": \"`\",\n \"{\": \"︷\",\n \"|\": \"―\",\n \"}\": \"︸\",\n \"~\": \"~\",\n \"¢\": \"¢\",\n \"£\": \"£\",\n \"¥\": \"¥\",\n \"¦\": \"¦\",\n \"¬\": \"¬\",\n \"¯\": \" ̄\",\n \"–\": \"︲\",\n \"—\": \"︱\",\n \"‘\": \"﹃\",\n \"’\": \"﹄\",\n \"“\": \"﹁\",\n \"”\": \"﹂\",\n \"…\": \"︙\",\n \"‧\": \"・\",\n \"₩\": \"₩\",\n \"、\": \"︑\",\n \"。\": \"︒\",\n \"〈\": \"︿\",\n \"〉\": \"﹀\",\n \"《\": \"︽\",\n \"》\": \"︾\",\n \"「\": \"﹁\",\n \"」\": \"﹂\",\n \"『\": \"﹃\",\n \"』\": \"﹄\",\n \"【\": \"︻\",\n \"】\": \"︼\",\n \"〔\": \"︹\",\n \"〕\": \"︺\",\n \"〖\": \"︗\",\n \"〗\": \"︘\",\n \"!\": \"︕\",\n \"(\": \"︵\",\n \")\": \"︶\",\n \",\": \"︐\",\n \"-\": \"︲\",\n \".\": \"・\",\n \":\": \"︓\",\n \";\": \"︔\",\n \"<\": \"︿\",\n \">\": \"﹀\",\n \"?\": \"︖\",\n \"[\": \"﹇\",\n \"]\": \"﹈\",\n \"_\": \"︳\",\n \"{\": \"︷\",\n \"|\": \"―\",\n \"}\": \"︸\",\n \"⦅\": \"︵\",\n \"⦆\": \"︶\",\n \"。\": \"︒\",\n \"「\": \"﹁\",\n \"」\": \"﹂\"\n },\n Js = function (t, e, r, n, i) {\n var a,\n o,\n s = 8 * i - n - 1,\n u = (1 << s) - 1,\n l = u >> 1,\n p = -7,\n c = r ? i - 1 : 0,\n h = r ? -1 : 1,\n f = t[e + c];\n for (c += h, a = f & (1 << -p) - 1, f >>= -p, p += s; p > 0; a = 256 * a + t[e + c], c += h, p -= 8);\n for (o = a & (1 << -p) - 1, a >>= -p, p += n; p > 0; o = 256 * o + t[e + c], c += h, p -= 8);\n if (0 === a) a = 1 - l;else {\n if (a === u) return o ? NaN : 1 / 0 * (f ? -1 : 1);\n o += Math.pow(2, n), a -= l;\n }\n return (f ? -1 : 1) * o * Math.pow(2, a - n);\n },\n Hs = function (t, e, r, n, i, a) {\n var o,\n s,\n u,\n l = 8 * a - i - 1,\n p = (1 << l) - 1,\n c = p >> 1,\n h = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,\n f = n ? 0 : a - 1,\n y = n ? 1 : -1,\n d = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;\n for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, o = p) : (o = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -o)) < 1 && (o--, u *= 2), (e += o + c >= 1 ? h / u : h * Math.pow(2, 1 - c)) * u >= 2 && (o++, u /= 2), o + c >= p ? (s = 0, o = p) : o + c >= 1 ? (s = (e * u - 1) * Math.pow(2, i), o += c) : (s = e * Math.pow(2, c - 1) * Math.pow(2, i), o = 0)); i >= 8; t[r + f] = 255 & s, f += y, s /= 256, i -= 8);\n for (o = o << i | s, l += i; l > 0; t[r + f] = 255 & o, f += y, o /= 256, l -= 8);\n t[r + f - y] |= 128 * d;\n },\n Ys = $s;\n function $s(t) {\n this.buf = ArrayBuffer.isView && ArrayBuffer.isView(t) ? t : new Uint8Array(t || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;\n }\n $s.Varint = 0, $s.Fixed64 = 1, $s.Bytes = 2, $s.Fixed32 = 5;\n var Ws = \"undefined\" == typeof TextDecoder ? null : new TextDecoder(\"utf8\");\n function Qs(t) {\n return t.type === $s.Bytes ? t.readVarint() + t.pos : t.pos + 1;\n }\n function tu(t, e, r) {\n return r ? 4294967296 * e + (t >>> 0) : 4294967296 * (e >>> 0) + (t >>> 0);\n }\n function eu(t, e, r) {\n var n = e <= 16383 ? 1 : e <= 2097151 ? 2 : e <= 268435455 ? 3 : Math.floor(Math.log(e) / (7 * Math.LN2));\n r.realloc(n);\n for (var i = r.pos - 1; i >= t; i--) r.buf[i + n] = r.buf[i];\n }\n function ru(t, e) {\n for (var r = 0; r < t.length; r++) e.writeVarint(t[r]);\n }\n function nu(t, e) {\n for (var r = 0; r < t.length; r++) e.writeSVarint(t[r]);\n }\n function iu(t, e) {\n for (var r = 0; r < t.length; r++) e.writeFloat(t[r]);\n }\n function au(t, e) {\n for (var r = 0; r < t.length; r++) e.writeDouble(t[r]);\n }\n function ou(t, e) {\n for (var r = 0; r < t.length; r++) e.writeBoolean(t[r]);\n }\n function su(t, e) {\n for (var r = 0; r < t.length; r++) e.writeFixed32(t[r]);\n }\n function uu(t, e) {\n for (var r = 0; r < t.length; r++) e.writeSFixed32(t[r]);\n }\n function lu(t, e) {\n for (var r = 0; r < t.length; r++) e.writeFixed64(t[r]);\n }\n function pu(t, e) {\n for (var r = 0; r < t.length; r++) e.writeSFixed64(t[r]);\n }\n function cu(t, e) {\n return (t[e] | t[e + 1] << 8 | t[e + 2] << 16) + 16777216 * t[e + 3];\n }\n function hu(t, e, r) {\n t[r] = e, t[r + 1] = e >>> 8, t[r + 2] = e >>> 16, t[r + 3] = e >>> 24;\n }\n function fu(t, e) {\n return (t[e] | t[e + 1] << 8 | t[e + 2] << 16) + (t[e + 3] << 24);\n }\n function yu(t, e, r) {\n 1 === t && r.readMessage(du, e);\n }\n function du(t, e, r) {\n if (3 === t) {\n var n = r.readMessage(mu, {}),\n i = n.width,\n a = n.height,\n o = n.left,\n s = n.top,\n u = n.advance;\n e.push({\n id: n.id,\n bitmap: new go({\n width: i + 6,\n height: a + 6\n }, n.bitmap),\n metrics: {\n width: i,\n height: a,\n left: o,\n top: s,\n advance: u\n }\n });\n }\n }\n function mu(t, e, r) {\n 1 === t ? e.id = r.readVarint() : 2 === t ? e.bitmap = r.readBytes() : 3 === t ? e.width = r.readVarint() : 4 === t ? e.height = r.readVarint() : 5 === t ? e.left = r.readSVarint() : 6 === t ? e.top = r.readSVarint() : 7 === t && (e.advance = r.readVarint());\n }\n function vu(t) {\n for (var e = 0, r = 0, n = 0, i = t; n < i.length; n += 1) {\n var a = i[n];\n e += a.w * a.h, r = Math.max(r, a.w);\n }\n t.sort(function (t, e) {\n return e.h - t.h;\n });\n for (var o = [{\n x: 0,\n y: 0,\n w: Math.max(Math.ceil(Math.sqrt(e / .95)), r),\n h: 1 / 0\n }], s = 0, u = 0, l = 0, p = t; l < p.length; l += 1) for (var c = p[l], h = o.length - 1; h >= 0; h--) {\n var f = o[h];\n if (!(c.w > f.w || c.h > f.h)) {\n if (c.x = f.x, c.y = f.y, u = Math.max(u, c.y + c.h), s = Math.max(s, c.x + c.w), c.w === f.w && c.h === f.h) {\n var y = o.pop();\n h < o.length && (o[h] = y);\n } else c.h === f.h ? (f.x += c.w, f.w -= c.w) : c.w === f.w ? (f.y += c.h, f.h -= c.h) : (o.push({\n x: f.x + c.w,\n y: f.y,\n w: f.w - c.w,\n h: c.h\n }), f.y += c.h, f.h -= c.h);\n break;\n }\n }\n return {\n w: s,\n h: u,\n fill: e / (s * u) || 0\n };\n }\n $s.prototype = {\n destroy: function () {\n this.buf = null;\n },\n readFields: function (t, e, r) {\n for (r = r || this.length; this.pos < r;) {\n var n = this.readVarint(),\n i = n >> 3,\n a = this.pos;\n this.type = 7 & n, t(i, e, this), this.pos === a && this.skip(n);\n }\n return e;\n },\n readMessage: function (t, e) {\n return this.readFields(t, e, this.readVarint() + this.pos);\n },\n readFixed32: function () {\n var t = cu(this.buf, this.pos);\n return this.pos += 4, t;\n },\n readSFixed32: function () {\n var t = fu(this.buf, this.pos);\n return this.pos += 4, t;\n },\n readFixed64: function () {\n var t = cu(this.buf, this.pos) + 4294967296 * cu(this.buf, this.pos + 4);\n return this.pos += 8, t;\n },\n readSFixed64: function () {\n var t = cu(this.buf, this.pos) + 4294967296 * fu(this.buf, this.pos + 4);\n return this.pos += 8, t;\n },\n readFloat: function () {\n var t = Js(this.buf, this.pos, !0, 23, 4);\n return this.pos += 4, t;\n },\n readDouble: function () {\n var t = Js(this.buf, this.pos, !0, 52, 8);\n return this.pos += 8, t;\n },\n readVarint: function (t) {\n var e,\n r,\n n = this.buf;\n return e = 127 & (r = n[this.pos++]), r < 128 ? e : (e |= (127 & (r = n[this.pos++])) << 7, r < 128 ? e : (e |= (127 & (r = n[this.pos++])) << 14, r < 128 ? e : (e |= (127 & (r = n[this.pos++])) << 21, r < 128 ? e : function (t, e, r) {\n var n,\n i,\n a = r.buf;\n if (n = (112 & (i = a[r.pos++])) >> 4, i < 128) return tu(t, n, e);\n if (n |= (127 & (i = a[r.pos++])) << 3, i < 128) return tu(t, n, e);\n if (n |= (127 & (i = a[r.pos++])) << 10, i < 128) return tu(t, n, e);\n if (n |= (127 & (i = a[r.pos++])) << 17, i < 128) return tu(t, n, e);\n if (n |= (127 & (i = a[r.pos++])) << 24, i < 128) return tu(t, n, e);\n if (n |= (1 & (i = a[r.pos++])) << 31, i < 128) return tu(t, n, e);\n throw new Error(\"Expected varint not more than 10 bytes\");\n }(e |= (15 & (r = n[this.pos])) << 28, t, this))));\n },\n readVarint64: function () {\n return this.readVarint(!0);\n },\n readSVarint: function () {\n var t = this.readVarint();\n return t % 2 == 1 ? (t + 1) / -2 : t / 2;\n },\n readBoolean: function () {\n return Boolean(this.readVarint());\n },\n readString: function () {\n var t = this.readVarint() + this.pos,\n e = this.pos;\n return this.pos = t, t - e >= 12 && Ws ? function (t, e, r) {\n return Ws.decode(t.subarray(e, r));\n }(this.buf, e, t) : function (t, e, r) {\n for (var n = \"\", i = e; i < r;) {\n var a,\n o,\n s,\n u = t[i],\n l = null,\n p = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;\n if (i + p > r) break;\n 1 === p ? u < 128 && (l = u) : 2 === p ? 128 == (192 & (a = t[i + 1])) && (l = (31 & u) << 6 | 63 & a) <= 127 && (l = null) : 3 === p ? (o = t[i + 2], 128 == (192 & (a = t[i + 1])) && 128 == (192 & o) && ((l = (15 & u) << 12 | (63 & a) << 6 | 63 & o) <= 2047 || l >= 55296 && l <= 57343) && (l = null)) : 4 === p && (o = t[i + 2], s = t[i + 3], 128 == (192 & (a = t[i + 1])) && 128 == (192 & o) && 128 == (192 & s) && ((l = (15 & u) << 18 | (63 & a) << 12 | (63 & o) << 6 | 63 & s) <= 65535 || l >= 1114112) && (l = null)), null === l ? (l = 65533, p = 1) : l > 65535 && (l -= 65536, n += String.fromCharCode(l >>> 10 & 1023 | 55296), l = 56320 | 1023 & l), n += String.fromCharCode(l), i += p;\n }\n return n;\n }(this.buf, e, t);\n },\n readBytes: function () {\n var t = this.readVarint() + this.pos,\n e = this.buf.subarray(this.pos, t);\n return this.pos = t, e;\n },\n readPackedVarint: function (t, e) {\n if (this.type !== $s.Bytes) return t.push(this.readVarint(e));\n var r = Qs(this);\n for (t = t || []; this.pos < r;) t.push(this.readVarint(e));\n return t;\n },\n readPackedSVarint: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readSVarint());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readSVarint());\n return t;\n },\n readPackedBoolean: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readBoolean());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readBoolean());\n return t;\n },\n readPackedFloat: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readFloat());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readFloat());\n return t;\n },\n readPackedDouble: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readDouble());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readDouble());\n return t;\n },\n readPackedFixed32: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readFixed32());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readFixed32());\n return t;\n },\n readPackedSFixed32: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readSFixed32());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readSFixed32());\n return t;\n },\n readPackedFixed64: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readFixed64());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readFixed64());\n return t;\n },\n readPackedSFixed64: function (t) {\n if (this.type !== $s.Bytes) return t.push(this.readSFixed64());\n var e = Qs(this);\n for (t = t || []; this.pos < e;) t.push(this.readSFixed64());\n return t;\n },\n skip: function (t) {\n var e = 7 & t;\n if (e === $s.Varint) for (; this.buf[this.pos++] > 127;);else if (e === $s.Bytes) this.pos = this.readVarint() + this.pos;else if (e === $s.Fixed32) this.pos += 4;else {\n if (e !== $s.Fixed64) throw new Error(\"Unimplemented type: \" + e);\n this.pos += 8;\n }\n },\n writeTag: function (t, e) {\n this.writeVarint(t << 3 | e);\n },\n realloc: function (t) {\n for (var e = this.length || 16; e < this.pos + t;) e *= 2;\n if (e !== this.length) {\n var r = new Uint8Array(e);\n r.set(this.buf), this.buf = r, this.length = e;\n }\n },\n finish: function () {\n return this.length = this.pos, this.pos = 0, this.buf.subarray(0, this.length);\n },\n writeFixed32: function (t) {\n this.realloc(4), hu(this.buf, t, this.pos), this.pos += 4;\n },\n writeSFixed32: function (t) {\n this.realloc(4), hu(this.buf, t, this.pos), this.pos += 4;\n },\n writeFixed64: function (t) {\n this.realloc(8), hu(this.buf, -1 & t, this.pos), hu(this.buf, Math.floor(t * (1 / 4294967296)), this.pos + 4), this.pos += 8;\n },\n writeSFixed64: function (t) {\n this.realloc(8), hu(this.buf, -1 & t, this.pos), hu(this.buf, Math.floor(t * (1 / 4294967296)), this.pos + 4), this.pos += 8;\n },\n writeVarint: function (t) {\n (t = +t || 0) > 268435455 || t < 0 ? function (t, e) {\n var r, n;\n if (t >= 0 ? (r = t % 4294967296 | 0, n = t / 4294967296 | 0) : (n = ~(-t / 4294967296), 4294967295 ^ (r = ~(-t % 4294967296)) ? r = r + 1 | 0 : (r = 0, n = n + 1 | 0)), t >= 0x10000000000000000 || t < -0x10000000000000000) throw new Error(\"Given varint doesn't fit into 10 bytes\");\n e.realloc(10), function (t, e, r) {\n r.buf[r.pos++] = 127 & t | 128, t >>>= 7, r.buf[r.pos++] = 127 & t | 128, t >>>= 7, r.buf[r.pos++] = 127 & t | 128, t >>>= 7, r.buf[r.pos++] = 127 & t | 128, r.buf[r.pos] = 127 & (t >>>= 7);\n }(r, 0, e), function (t, e) {\n var r = (7 & t) << 4;\n e.buf[e.pos++] |= r | ((t >>>= 3) ? 128 : 0), t && (e.buf[e.pos++] = 127 & t | ((t >>>= 7) ? 128 : 0), t && (e.buf[e.pos++] = 127 & t | ((t >>>= 7) ? 128 : 0), t && (e.buf[e.pos++] = 127 & t | ((t >>>= 7) ? 128 : 0), t && (e.buf[e.pos++] = 127 & t | ((t >>>= 7) ? 128 : 0), t && (e.buf[e.pos++] = 127 & t)))));\n }(n, e);\n }(t, this) : (this.realloc(4), this.buf[this.pos++] = 127 & t | (t > 127 ? 128 : 0), t <= 127 || (this.buf[this.pos++] = 127 & (t >>>= 7) | (t > 127 ? 128 : 0), t <= 127 || (this.buf[this.pos++] = 127 & (t >>>= 7) | (t > 127 ? 128 : 0), t <= 127 || (this.buf[this.pos++] = t >>> 7 & 127))));\n },\n writeSVarint: function (t) {\n this.writeVarint(t < 0 ? 2 * -t - 1 : 2 * t);\n },\n writeBoolean: function (t) {\n this.writeVarint(Boolean(t));\n },\n writeString: function (t) {\n t = String(t), this.realloc(4 * t.length), this.pos++;\n var e = this.pos;\n this.pos = function (t, e, r) {\n for (var n, i, a = 0; a < e.length; a++) {\n if ((n = e.charCodeAt(a)) > 55295 && n < 57344) {\n if (!i) {\n n > 56319 || a + 1 === e.length ? (t[r++] = 239, t[r++] = 191, t[r++] = 189) : i = n;\n continue;\n }\n if (n < 56320) {\n t[r++] = 239, t[r++] = 191, t[r++] = 189, i = n;\n continue;\n }\n n = i - 55296 << 10 | n - 56320 | 65536, i = null;\n } else i && (t[r++] = 239, t[r++] = 191, t[r++] = 189, i = null);\n n < 128 ? t[r++] = n : (n < 2048 ? t[r++] = n >> 6 | 192 : (n < 65536 ? t[r++] = n >> 12 | 224 : (t[r++] = n >> 18 | 240, t[r++] = n >> 12 & 63 | 128), t[r++] = n >> 6 & 63 | 128), t[r++] = 63 & n | 128);\n }\n return r;\n }(this.buf, t, this.pos);\n var r = this.pos - e;\n r >= 128 && eu(e, r, this), this.pos = e - 1, this.writeVarint(r), this.pos += r;\n },\n writeFloat: function (t) {\n this.realloc(4), Hs(this.buf, t, this.pos, !0, 23, 4), this.pos += 4;\n },\n writeDouble: function (t) {\n this.realloc(8), Hs(this.buf, t, this.pos, !0, 52, 8), this.pos += 8;\n },\n writeBytes: function (t) {\n var e = t.length;\n this.writeVarint(e), this.realloc(e);\n for (var r = 0; r < e; r++) this.buf[this.pos++] = t[r];\n },\n writeRawMessage: function (t, e) {\n this.pos++;\n var r = this.pos;\n t(e, this);\n var n = this.pos - r;\n n >= 128 && eu(r, n, this), this.pos = r - 1, this.writeVarint(n), this.pos += n;\n },\n writeMessage: function (t, e, r) {\n this.writeTag(t, $s.Bytes), this.writeRawMessage(e, r);\n },\n writePackedVarint: function (t, e) {\n e.length && this.writeMessage(t, ru, e);\n },\n writePackedSVarint: function (t, e) {\n e.length && this.writeMessage(t, nu, e);\n },\n writePackedBoolean: function (t, e) {\n e.length && this.writeMessage(t, ou, e);\n },\n writePackedFloat: function (t, e) {\n e.length && this.writeMessage(t, iu, e);\n },\n writePackedDouble: function (t, e) {\n e.length && this.writeMessage(t, au, e);\n },\n writePackedFixed32: function (t, e) {\n e.length && this.writeMessage(t, su, e);\n },\n writePackedSFixed32: function (t, e) {\n e.length && this.writeMessage(t, uu, e);\n },\n writePackedFixed64: function (t, e) {\n e.length && this.writeMessage(t, lu, e);\n },\n writePackedSFixed64: function (t, e) {\n e.length && this.writeMessage(t, pu, e);\n },\n writeBytesField: function (t, e) {\n this.writeTag(t, $s.Bytes), this.writeBytes(e);\n },\n writeFixed32Field: function (t, e) {\n this.writeTag(t, $s.Fixed32), this.writeFixed32(e);\n },\n writeSFixed32Field: function (t, e) {\n this.writeTag(t, $s.Fixed32), this.writeSFixed32(e);\n },\n writeFixed64Field: function (t, e) {\n this.writeTag(t, $s.Fixed64), this.writeFixed64(e);\n },\n writeSFixed64Field: function (t, e) {\n this.writeTag(t, $s.Fixed64), this.writeSFixed64(e);\n },\n writeVarintField: function (t, e) {\n this.writeTag(t, $s.Varint), this.writeVarint(e);\n },\n writeSVarintField: function (t, e) {\n this.writeTag(t, $s.Varint), this.writeSVarint(e);\n },\n writeStringField: function (t, e) {\n this.writeTag(t, $s.Bytes), this.writeString(e);\n },\n writeFloatField: function (t, e) {\n this.writeTag(t, $s.Fixed32), this.writeFloat(e);\n },\n writeDoubleField: function (t, e) {\n this.writeTag(t, $s.Fixed64), this.writeDouble(e);\n },\n writeBooleanField: function (t, e) {\n this.writeVarintField(t, Boolean(e));\n }\n };\n var gu = function (t, e) {\n var r = e.pixelRatio,\n n = e.version,\n i = e.stretchX,\n a = e.stretchY,\n o = e.content;\n this.paddedRect = t, this.pixelRatio = r, this.stretchX = i, this.stretchY = a, this.content = o, this.version = n;\n },\n xu = {\n tl: {\n configurable: !0\n },\n br: {\n configurable: !0\n },\n tlbr: {\n configurable: !0\n },\n displaySize: {\n configurable: !0\n }\n };\n xu.tl.get = function () {\n return [this.paddedRect.x + 1, this.paddedRect.y + 1];\n }, xu.br.get = function () {\n return [this.paddedRect.x + this.paddedRect.w - 1, this.paddedRect.y + this.paddedRect.h - 1];\n }, xu.tlbr.get = function () {\n return this.tl.concat(this.br);\n }, xu.displaySize.get = function () {\n return [(this.paddedRect.w - 2) / this.pixelRatio, (this.paddedRect.h - 2) / this.pixelRatio];\n }, Object.defineProperties(gu.prototype, xu);\n var bu = function (t, e) {\n var r = {},\n n = {};\n this.haveRenderCallbacks = [];\n var i = [];\n this.addImages(t, r, i), this.addImages(e, n, i);\n var a = vu(i),\n o = new xo({\n width: a.w || 1,\n height: a.h || 1\n });\n for (var s in t) {\n var u = t[s],\n l = r[s].paddedRect;\n xo.copy(u.data, o, {\n x: 0,\n y: 0\n }, {\n x: l.x + 1,\n y: l.y + 1\n }, u.data);\n }\n for (var p in e) {\n var c = e[p],\n h = n[p].paddedRect,\n f = h.x + 1,\n y = h.y + 1,\n d = c.data.width,\n m = c.data.height;\n xo.copy(c.data, o, {\n x: 0,\n y: 0\n }, {\n x: f,\n y: y\n }, c.data), xo.copy(c.data, o, {\n x: 0,\n y: m - 1\n }, {\n x: f,\n y: y - 1\n }, {\n width: d,\n height: 1\n }), xo.copy(c.data, o, {\n x: 0,\n y: 0\n }, {\n x: f,\n y: y + m\n }, {\n width: d,\n height: 1\n }), xo.copy(c.data, o, {\n x: d - 1,\n y: 0\n }, {\n x: f - 1,\n y: y\n }, {\n width: 1,\n height: m\n }), xo.copy(c.data, o, {\n x: 0,\n y: 0\n }, {\n x: f + d,\n y: y\n }, {\n width: 1,\n height: m\n });\n }\n this.image = o, this.iconPositions = r, this.patternPositions = n;\n };\n bu.prototype.addImages = function (t, e, r) {\n for (var n in t) {\n var i = t[n],\n a = {\n x: 0,\n y: 0,\n w: i.data.width + 2,\n h: i.data.height + 2\n };\n r.push(a), e[n] = new gu(a, i), i.hasRenderCallback && this.haveRenderCallbacks.push(n);\n }\n }, bu.prototype.patchUpdatedImages = function (t, e) {\n for (var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks), t.updatedImages) this.patchUpdatedImage(this.iconPositions[r], t.getImage(r), e), this.patchUpdatedImage(this.patternPositions[r], t.getImage(r), e);\n }, bu.prototype.patchUpdatedImage = function (t, e, r) {\n if (t && e && t.version !== e.version) {\n t.version = e.version;\n var n = t.tl;\n r.update(e.data, void 0, {\n x: n[0],\n y: n[1]\n });\n }\n }, On(\"ImagePosition\", gu), On(\"ImageAtlas\", bu);\n var wu = {\n horizontal: 1,\n vertical: 2,\n horizontalOnly: 3\n },\n _u = function () {\n this.scale = 1, this.fontStack = \"\", this.imageName = null;\n };\n _u.forText = function (t, e) {\n var r = new _u();\n return r.scale = t || 1, r.fontStack = e, r;\n }, _u.forImage = function (t) {\n var e = new _u();\n return e.imageName = t, e;\n };\n var Au = function () {\n this.text = \"\", this.sectionIndex = [], this.sections = [], this.imageSectionID = null;\n };\n function Su(t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d) {\n var m,\n v = Au.fromFeature(t, i);\n c === wu.vertical && v.verticalizePunctuation();\n var g = oi.processBidirectionalText,\n x = oi.processStyledBidirectionalText;\n if (g && 1 === v.sections.length) {\n m = [];\n for (var b = 0, w = g(v.toString(), Mu(v, l, a, e, n, f, y)); b < w.length; b += 1) {\n var _ = w[b],\n A = new Au();\n A.text = _, A.sections = v.sections;\n for (var S = 0; S < _.length; S++) A.sectionIndex.push(0);\n m.push(A);\n }\n } else if (x) {\n m = [];\n for (var k = 0, I = x(v.text, v.sectionIndex, Mu(v, l, a, e, n, f, y)); k < I.length; k += 1) {\n var z = I[k],\n C = new Au();\n C.text = z[0], C.sectionIndex = z[1], C.sections = v.sections, m.push(C);\n }\n } else m = function (t, e) {\n for (var r = [], n = t.text, i = 0, a = 0, o = e; a < o.length; a += 1) {\n var s = o[a];\n r.push(t.substring(i, s)), i = s;\n }\n return i < n.length && r.push(t.substring(i, n.length)), r;\n }(v, Mu(v, l, a, e, n, f, y));\n var E = [],\n P = {\n positionedLines: E,\n text: v.toString(),\n top: p[1],\n bottom: p[1],\n left: p[0],\n right: p[0],\n writingMode: c,\n iconsInText: !1,\n verticalizable: !1\n };\n return function (t, e, r, n, i, a, o, s, u, l, p, c) {\n for (var h = 0, f = -17, y = 0, d = 0, m = \"right\" === s ? 1 : \"left\" === s ? 0 : .5, v = 0, g = 0, x = i; g < x.length; g += 1) {\n var b = x[g];\n b.trim();\n var w = b.getMaxScale(),\n _ = 24 * (w - 1),\n A = {\n positionedGlyphs: [],\n lineOffset: 0\n };\n t.positionedLines[v] = A;\n var S = A.positionedGlyphs,\n k = 0;\n if (b.length()) {\n for (var I = 0; I < b.length(); I++) {\n var z = b.getSection(I),\n C = b.getSectionIndex(I),\n E = b.getCharCode(I),\n P = 0,\n M = null,\n B = null,\n T = null,\n V = 24,\n F = !(u === wu.horizontal || !p && !Xn(E) || p && (ku[E] || (K = E, Gn.Arabic(K) || Gn[\"Arabic Supplement\"](K) || Gn[\"Arabic Extended-A\"](K) || Gn[\"Arabic Presentation Forms-A\"](K) || Gn[\"Arabic Presentation Forms-B\"](K))));\n if (z.imageName) {\n var D = n[z.imageName];\n if (!D) continue;\n T = z.imageName, t.iconsInText = t.iconsInText || !0, B = D.paddedRect;\n var L = D.displaySize;\n z.scale = 24 * z.scale / c, P = _ + (24 - L[1] * z.scale), V = (M = {\n width: L[0],\n height: L[1],\n left: 1,\n top: -3,\n advance: F ? L[1] : L[0]\n }).advance;\n var O = F ? L[0] * z.scale - 24 * w : L[1] * z.scale - 24 * w;\n O > 0 && O > k && (k = O);\n } else {\n var R = r[z.fontStack],\n U = R && R[E];\n if (U && U.rect) B = U.rect, M = U.metrics;else {\n var j = e[z.fontStack],\n q = j && j[E];\n if (!q) continue;\n M = q.metrics;\n }\n P = 24 * (w - z.scale);\n }\n F ? (t.verticalizable = !0, S.push({\n glyph: E,\n imageName: T,\n x: h,\n y: f + P,\n vertical: F,\n scale: z.scale,\n fontStack: z.fontStack,\n sectionIndex: C,\n metrics: M,\n rect: B\n }), h += V * z.scale + l) : (S.push({\n glyph: E,\n imageName: T,\n x: h,\n y: f + P,\n vertical: F,\n scale: z.scale,\n fontStack: z.fontStack,\n sectionIndex: C,\n metrics: M,\n rect: B\n }), h += M.advance * z.scale + l);\n }\n 0 !== S.length && (y = Math.max(h - l, y), Tu(S, 0, S.length - 1, m, k)), h = 0;\n var N = a * w + k;\n A.lineOffset = Math.max(k, _), f += N, d = Math.max(N, d), ++v;\n } else f += a, ++v;\n }\n var K,\n G = f - -17,\n Z = Bu(o),\n X = Z.horizontalAlign,\n J = Z.verticalAlign;\n (function (t, e, r, n, i, a, o, s, u) {\n var l,\n p = (e - r) * i;\n l = a !== o ? -s * n - -17 : (-n * u + .5) * o;\n for (var c = 0, h = t; c < h.length; c += 1) for (var f = 0, y = h[c].positionedGlyphs; f < y.length; f += 1) {\n var d = y[f];\n d.x += p, d.y += l;\n }\n })(t.positionedLines, m, X, J, y, d, a, G, i.length), t.top += -J * G, t.bottom = t.top + G, t.left += -X * y, t.right = t.left + y;\n }(P, e, r, n, m, o, s, u, c, l, h, d), !function (t) {\n for (var e = 0, r = t; e < r.length; e += 1) if (0 !== r[e].positionedGlyphs.length) return !1;\n return !0;\n }(E) && P;\n }\n Au.fromFeature = function (t, e) {\n for (var r = new Au(), n = 0; n < t.sections.length; n++) {\n var i = t.sections[n];\n i.image ? r.addImageSection(i) : r.addTextSection(i, e);\n }\n return r;\n }, Au.prototype.length = function () {\n return this.text.length;\n }, Au.prototype.getSection = function (t) {\n return this.sections[this.sectionIndex[t]];\n }, Au.prototype.getSectionIndex = function (t) {\n return this.sectionIndex[t];\n }, Au.prototype.getCharCode = function (t) {\n return this.text.charCodeAt(t);\n }, Au.prototype.verticalizePunctuation = function () {\n this.text = function (t) {\n for (var e = \"\", r = 0; r < t.length; r++) {\n var n = t.charCodeAt(r + 1) || null,\n i = t.charCodeAt(r - 1) || null;\n e += n && Jn(n) && !Xs[t[r + 1]] || i && Jn(i) && !Xs[t[r - 1]] || !Xs[t[r]] ? t[r] : Xs[t[r]];\n }\n return e;\n }(this.text);\n }, Au.prototype.trim = function () {\n for (var t = 0, e = 0; e < this.text.length && ku[this.text.charCodeAt(e)]; e++) t++;\n for (var r = this.text.length, n = this.text.length - 1; n >= 0 && n >= t && ku[this.text.charCodeAt(n)]; n--) r--;\n this.text = this.text.substring(t, r), this.sectionIndex = this.sectionIndex.slice(t, r);\n }, Au.prototype.substring = function (t, e) {\n var r = new Au();\n return r.text = this.text.substring(t, e), r.sectionIndex = this.sectionIndex.slice(t, e), r.sections = this.sections, r;\n }, Au.prototype.toString = function () {\n return this.text;\n }, Au.prototype.getMaxScale = function () {\n var t = this;\n return this.sectionIndex.reduce(function (e, r) {\n return Math.max(e, t.sections[r].scale);\n }, 0);\n }, Au.prototype.addTextSection = function (t, e) {\n this.text += t.text, this.sections.push(_u.forText(t.scale, t.fontStack || e));\n for (var r = this.sections.length - 1, n = 0; n < t.text.length; ++n) this.sectionIndex.push(r);\n }, Au.prototype.addImageSection = function (t) {\n var e = t.image ? t.image.name : \"\";\n if (0 !== e.length) {\n var r = this.getNextImageSectionCharCode();\n r ? (this.text += String.fromCharCode(r), this.sections.push(_u.forImage(e)), this.sectionIndex.push(this.sections.length - 1)) : A(\"Reached maximum number of images 6401\");\n } else A(\"Can't add FormattedSection with an empty image.\");\n }, Au.prototype.getNextImageSectionCharCode = function () {\n return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);\n };\n var ku = {\n 9: !0,\n 10: !0,\n 11: !0,\n 12: !0,\n 13: !0,\n 32: !0\n },\n Iu = {};\n function zu(t, e, r, n, i, a) {\n if (e.imageName) {\n var o = n[e.imageName];\n return o ? o.displaySize[0] * e.scale * 24 / a + i : 0;\n }\n var s = r[e.fontStack],\n u = s && s[t];\n return u ? u.metrics.advance * e.scale + i : 0;\n }\n function Cu(t, e, r, n) {\n var i = Math.pow(t - e, 2);\n return n ? t < e ? i / 2 : 2 * i : i + Math.abs(r) * r;\n }\n function Eu(t, e, r) {\n var n = 0;\n return 10 === t && (n -= 1e4), r && (n += 150), 40 !== t && 65288 !== t || (n += 50), 41 !== e && 65289 !== e || (n += 50), n;\n }\n function Pu(t, e, r, n, i, a) {\n for (var o = null, s = Cu(e, r, i, a), u = 0, l = n; u < l.length; u += 1) {\n var p = l[u],\n c = Cu(e - p.x, r, i, a) + p.badness;\n c <= s && (o = p, s = c);\n }\n return {\n index: t,\n x: e,\n priorBreak: o,\n badness: s\n };\n }\n function Mu(t, e, r, n, i, a, o) {\n if (\"point\" !== a) return [];\n if (!t) return [];\n for (var s, u = [], l = function (t, e, r, n, i, a) {\n for (var o = 0, s = 0; s < t.length(); s++) {\n var u = t.getSection(s);\n o += zu(t.getCharCode(s), u, n, i, e, a);\n }\n return o / Math.max(1, Math.ceil(o / r));\n }(t, e, r, n, i, o), p = t.text.indexOf(\"\") >= 0, c = 0, h = 0; h < t.length(); h++) {\n var f = t.getSection(h),\n y = t.getCharCode(h);\n if (ku[y] || (c += zu(y, f, n, i, e, o)), h < t.length() - 1) {\n var d = !((s = y) < 11904 || !(Gn[\"Bopomofo Extended\"](s) || Gn.Bopomofo(s) || Gn[\"CJK Compatibility Forms\"](s) || Gn[\"CJK Compatibility Ideographs\"](s) || Gn[\"CJK Compatibility\"](s) || Gn[\"CJK Radicals Supplement\"](s) || Gn[\"CJK Strokes\"](s) || Gn[\"CJK Symbols and Punctuation\"](s) || Gn[\"CJK Unified Ideographs Extension A\"](s) || Gn[\"CJK Unified Ideographs\"](s) || Gn[\"Enclosed CJK Letters and Months\"](s) || Gn[\"Halfwidth and Fullwidth Forms\"](s) || Gn.Hiragana(s) || Gn[\"Ideographic Description Characters\"](s) || Gn[\"Kangxi Radicals\"](s) || Gn[\"Katakana Phonetic Extensions\"](s) || Gn.Katakana(s) || Gn[\"Vertical Forms\"](s) || Gn[\"Yi Radicals\"](s) || Gn[\"Yi Syllables\"](s)));\n (Iu[y] || d || f.imageName) && u.push(Pu(h + 1, c, l, u, Eu(y, t.getCharCode(h + 1), d && p), !1));\n }\n }\n return function t(e) {\n return e ? t(e.priorBreak).concat(e.index) : [];\n }(Pu(t.length(), c, l, u, 0, !0));\n }\n function Bu(t) {\n var e = .5,\n r = .5;\n switch (t) {\n case \"right\":\n case \"top-right\":\n case \"bottom-right\":\n e = 1;\n break;\n case \"left\":\n case \"top-left\":\n case \"bottom-left\":\n e = 0;\n }\n switch (t) {\n case \"bottom\":\n case \"bottom-right\":\n case \"bottom-left\":\n r = 1;\n break;\n case \"top\":\n case \"top-right\":\n case \"top-left\":\n r = 0;\n }\n return {\n horizontalAlign: e,\n verticalAlign: r\n };\n }\n function Tu(t, e, r, n, i) {\n if (n || i) for (var a = t[r], o = (t[r].x + a.metrics.advance * a.scale) * n, s = e; s <= r; s++) t[s].x -= o, t[s].y += i;\n }\n function Vu(t, e, r, n, i, a) {\n var o,\n s = t.image;\n if (s.content) {\n var u = s.content,\n l = s.pixelRatio || 1;\n o = [u[0] / l, u[1] / l, s.displaySize[0] - u[2] / l, s.displaySize[1] - u[3] / l];\n }\n var p,\n c,\n h,\n f,\n y = e.left * a,\n d = e.right * a;\n \"width\" === r || \"both\" === r ? (f = i[0] + y - n[3], c = i[0] + d + n[1]) : c = (f = i[0] + (y + d - s.displaySize[0]) / 2) + s.displaySize[0];\n var m = e.top * a,\n v = e.bottom * a;\n return \"height\" === r || \"both\" === r ? (p = i[1] + m - n[0], h = i[1] + v + n[2]) : h = (p = i[1] + (m + v - s.displaySize[1]) / 2) + s.displaySize[1], {\n image: s,\n top: p,\n right: c,\n bottom: h,\n left: f,\n collisionPadding: o\n };\n }\n Iu[10] = !0, Iu[32] = !0, Iu[38] = !0, Iu[40] = !0, Iu[41] = !0, Iu[43] = !0, Iu[45] = !0, Iu[47] = !0, Iu[173] = !0, Iu[183] = !0, Iu[8203] = !0, Iu[8208] = !0, Iu[8211] = !0, Iu[8231] = !0;\n var Fu = function (t) {\n function e(e, r, n, i) {\n t.call(this, e, r), this.angle = n, void 0 !== i && (this.segment = i);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.clone = function () {\n return new e(this.x, this.y, this.angle, this.segment);\n }, e;\n }(i);\n function Du(t, e) {\n var r = e.expression;\n if (\"constant\" === r.kind) return {\n kind: \"constant\",\n layoutSize: r.evaluate(new si(t + 1))\n };\n if (\"source\" === r.kind) return {\n kind: \"source\"\n };\n for (var n = r.zoomStops, i = r.interpolationType, a = 0; a < n.length && n[a] <= t;) a++;\n for (var o = a = Math.max(0, a - 1); o < n.length && n[o] < t + 1;) o++;\n o = Math.min(n.length - 1, o);\n var s = n[a],\n u = n[o];\n return \"composite\" === r.kind ? {\n kind: \"composite\",\n minZoom: s,\n maxZoom: u,\n interpolationType: i\n } : {\n kind: \"camera\",\n minZoom: s,\n maxZoom: u,\n minSize: r.evaluate(new si(s)),\n maxSize: r.evaluate(new si(u)),\n interpolationType: i\n };\n }\n function Lu(t, e, r) {\n var n = e.uSize,\n i = r.lowerSize;\n return \"source\" === t.kind ? i / 128 : \"composite\" === t.kind ? Ke(i / 128, r.upperSize / 128, e.uSizeT) : n;\n }\n function Ou(t, e) {\n var r = 0,\n n = 0;\n if (\"constant\" === t.kind) n = t.layoutSize;else if (\"source\" !== t.kind) {\n var i = t.interpolationType,\n a = i ? p(ar.interpolationFactor(i, e, t.minZoom, t.maxZoom), 0, 1) : 0;\n \"camera\" === t.kind ? n = Ke(t.minSize, t.maxSize, a) : r = a;\n }\n return {\n uSizeT: r,\n uSize: n\n };\n }\n On(\"Anchor\", Fu);\n var Ru = Object.freeze({\n __proto__: null,\n getSizeData: Du,\n evaluateSizeForFeature: Lu,\n evaluateSizeForZoom: Ou,\n SIZE_PACK_FACTOR: 128\n });\n function Uu(t, e, r, n, i) {\n if (void 0 === e.segment) return !0;\n for (var a = e, o = e.segment + 1, s = 0; s > -r / 2;) {\n if (--o < 0) return !1;\n s -= t[o].dist(a), a = t[o];\n }\n s += t[o].dist(t[o + 1]), o++;\n for (var u = [], l = 0; s < r / 2;) {\n var p = t[o],\n c = t[o + 1];\n if (!c) return !1;\n var h = t[o - 1].angleTo(p) - p.angleTo(c);\n for (h = Math.abs((h + 3 * Math.PI) % (2 * Math.PI) - Math.PI), u.push({\n distance: s,\n angleDelta: h\n }), l += h; s - u[0].distance > n;) l -= u.shift().angleDelta;\n if (l > i) return !1;\n o++, s += p.dist(c);\n }\n return !0;\n }\n function ju(t) {\n for (var e = 0, r = 0; r < t.length - 1; r++) e += t[r].dist(t[r + 1]);\n return e;\n }\n function qu(t, e, r) {\n return t ? .6 * e * r : 0;\n }\n function Nu(t, e) {\n return Math.max(t ? t.right - t.left : 0, e ? e.right - e.left : 0);\n }\n function Ku(t, e, r, n, i, a) {\n for (var o = qu(r, i, a), s = Nu(r, n) * a, u = 0, l = ju(t) / 2, p = 0; p < t.length - 1; p++) {\n var c = t[p],\n h = t[p + 1],\n f = c.dist(h);\n if (u + f > l) {\n var y = (l - u) / f,\n d = Ke(c.x, h.x, y),\n m = Ke(c.y, h.y, y),\n v = new Fu(d, m, h.angleTo(c), p);\n return v._round(), !o || Uu(t, v, s, o, e) ? v : void 0;\n }\n u += f;\n }\n }\n function Gu(t, e, r, n, i, a, o, s, u) {\n var l = qu(n, a, o),\n p = Nu(n, i),\n c = p * o,\n h = 0 === t[0].x || t[0].x === u || 0 === t[0].y || t[0].y === u;\n return e - c < e / 4 && (e = c + e / 4), function t(e, r, n, i, a, o, s, u, l) {\n for (var p = o / 2, c = ju(e), h = 0, f = r - n, y = [], d = 0; d < e.length - 1; d++) {\n for (var m = e[d], v = e[d + 1], g = m.dist(v), x = v.angleTo(m); f + n < h + g;) {\n var b = ((f += n) - h) / g,\n w = Ke(m.x, v.x, b),\n _ = Ke(m.y, v.y, b);\n if (w >= 0 && w < l && _ >= 0 && _ < l && f - p >= 0 && f + p <= c) {\n var A = new Fu(w, _, x, d);\n A._round(), i && !Uu(e, A, o, i, a) || y.push(A);\n }\n }\n h += g;\n }\n return u || y.length || s || (y = t(e, h / 2, n, i, a, o, s, !0, l)), y;\n }(t, h ? e / 2 * s % e : (p / 2 + 2 * a) * o * s % e, e, l, r, c, h, !1, u);\n }\n function Zu(t, e, r, n, a) {\n for (var o = [], s = 0; s < t.length; s++) for (var u = t[s], l = void 0, p = 0; p < u.length - 1; p++) {\n var c = u[p],\n h = u[p + 1];\n c.x < e && h.x < e || (c.x < e ? c = new i(e, c.y + (e - c.x) / (h.x - c.x) * (h.y - c.y))._round() : h.x < e && (h = new i(e, c.y + (e - c.x) / (h.x - c.x) * (h.y - c.y))._round()), c.y < r && h.y < r || (c.y < r ? c = new i(c.x + (r - c.y) / (h.y - c.y) * (h.x - c.x), r)._round() : h.y < r && (h = new i(c.x + (r - c.y) / (h.y - c.y) * (h.x - c.x), r)._round()), c.x >= n && h.x >= n || (c.x >= n ? c = new i(n, c.y + (n - c.x) / (h.x - c.x) * (h.y - c.y))._round() : h.x >= n && (h = new i(n, c.y + (n - c.x) / (h.x - c.x) * (h.y - c.y))._round()), c.y >= a && h.y >= a || (c.y >= a ? c = new i(c.x + (a - c.y) / (h.y - c.y) * (h.x - c.x), a)._round() : h.y >= a && (h = new i(c.x + (a - c.y) / (h.y - c.y) * (h.x - c.x), a)._round()), l && c.equals(l[l.length - 1]) || o.push(l = [c]), l.push(h)))));\n }\n return o;\n }\n function Xu(t, e, r, n) {\n var a = [],\n o = t.image,\n s = o.pixelRatio,\n u = o.paddedRect.w - 2,\n l = o.paddedRect.h - 2,\n p = t.right - t.left,\n c = t.bottom - t.top,\n h = o.stretchX || [[0, u]],\n f = o.stretchY || [[0, l]],\n y = function (t, e) {\n return t + e[1] - e[0];\n },\n d = h.reduce(y, 0),\n m = f.reduce(y, 0),\n v = u - d,\n g = l - m,\n x = 0,\n b = d,\n w = 0,\n _ = m,\n A = 0,\n S = v,\n k = 0,\n I = g;\n if (o.content && n) {\n var z = o.content;\n x = Ju(h, 0, z[0]), w = Ju(f, 0, z[1]), b = Ju(h, z[0], z[2]), _ = Ju(f, z[1], z[3]), A = z[0] - x, k = z[1] - w, S = z[2] - z[0] - b, I = z[3] - z[1] - _;\n }\n var C = function (n, a, u, l) {\n var h = Yu(n.stretch - x, b, p, t.left),\n f = $u(n.fixed - A, S, n.stretch, d),\n y = Yu(a.stretch - w, _, c, t.top),\n v = $u(a.fixed - k, I, a.stretch, m),\n g = Yu(u.stretch - x, b, p, t.left),\n z = $u(u.fixed - A, S, u.stretch, d),\n C = Yu(l.stretch - w, _, c, t.top),\n E = $u(l.fixed - k, I, l.stretch, m),\n P = new i(h, y),\n M = new i(g, y),\n B = new i(g, C),\n T = new i(h, C),\n V = new i(f / s, v / s),\n F = new i(z / s, E / s),\n D = e * Math.PI / 180;\n if (D) {\n var L = Math.sin(D),\n O = Math.cos(D),\n R = [O, -L, L, O];\n P._matMult(R), M._matMult(R), T._matMult(R), B._matMult(R);\n }\n var U = n.stretch + n.fixed,\n j = a.stretch + a.fixed;\n return {\n tl: P,\n tr: M,\n bl: T,\n br: B,\n tex: {\n x: o.paddedRect.x + 1 + U,\n y: o.paddedRect.y + 1 + j,\n w: u.stretch + u.fixed - U,\n h: l.stretch + l.fixed - j\n },\n writingMode: void 0,\n glyphOffset: [0, 0],\n sectionIndex: 0,\n pixelOffsetTL: V,\n pixelOffsetBR: F,\n minFontScaleX: S / s / p,\n minFontScaleY: I / s / c,\n isSDF: r\n };\n };\n if (n && (o.stretchX || o.stretchY)) for (var E = Hu(h, v, d), P = Hu(f, g, m), M = 0; M < E.length - 1; M++) for (var B = E[M], T = E[M + 1], V = 0; V < P.length - 1; V++) a.push(C(B, P[V], T, P[V + 1]));else a.push(C({\n fixed: 0,\n stretch: -1\n }, {\n fixed: 0,\n stretch: -1\n }, {\n fixed: 0,\n stretch: u + 1\n }, {\n fixed: 0,\n stretch: l + 1\n }));\n return a;\n }\n function Ju(t, e, r) {\n for (var n = 0, i = 0, a = t; i < a.length; i += 1) {\n var o = a[i];\n n += Math.max(e, Math.min(r, o[1])) - Math.max(e, Math.min(r, o[0]));\n }\n return n;\n }\n function Hu(t, e, r) {\n for (var n = [{\n fixed: -1,\n stretch: 0\n }], i = 0, a = t; i < a.length; i += 1) {\n var o = a[i],\n s = o[0],\n u = o[1],\n l = n[n.length - 1];\n n.push({\n fixed: s - l.stretch,\n stretch: l.stretch\n }), n.push({\n fixed: s - l.stretch,\n stretch: l.stretch + (u - s)\n });\n }\n return n.push({\n fixed: e + 1,\n stretch: r\n }), n;\n }\n function Yu(t, e, r, n) {\n return t / e * r + n;\n }\n function $u(t, e, r, n) {\n return t - e * r / n;\n }\n var Wu = function (t, e, r, n, a, o, s, u, l, p) {\n if (this.boxStartIndex = t.length, l) {\n var c = o.top,\n h = o.bottom,\n f = o.collisionPadding;\n f && (c -= f[1], h += f[3]);\n var y = h - c;\n y > 0 && (y = Math.max(10, y), this.circleDiameter = y);\n } else {\n var d = o.top * s - u,\n m = o.bottom * s + u,\n v = o.left * s - u,\n g = o.right * s + u,\n x = o.collisionPadding;\n if (x && (v -= x[0] * s, d -= x[1] * s, g += x[2] * s, m += x[3] * s), p) {\n var b = new i(v, d),\n w = new i(g, d),\n _ = new i(v, m),\n A = new i(g, m),\n S = p * Math.PI / 180;\n b._rotate(S), w._rotate(S), _._rotate(S), A._rotate(S), v = Math.min(b.x, w.x, _.x, A.x), g = Math.max(b.x, w.x, _.x, A.x), d = Math.min(b.y, w.y, _.y, A.y), m = Math.max(b.y, w.y, _.y, A.y);\n }\n t.emplaceBack(e.x, e.y, v, d, g, m, r, n, a);\n }\n this.boxEndIndex = t.length;\n },\n Qu = function (t, e) {\n if (void 0 === t && (t = []), void 0 === e && (e = tl), this.data = t, this.length = this.data.length, this.compare = e, this.length > 0) for (var r = (this.length >> 1) - 1; r >= 0; r--) this._down(r);\n };\n function tl(t, e) {\n return t < e ? -1 : t > e ? 1 : 0;\n }\n function el(t, e, r) {\n void 0 === e && (e = 1), void 0 === r && (r = !1);\n for (var n = 1 / 0, a = 1 / 0, o = -1 / 0, s = -1 / 0, u = t[0], l = 0; l < u.length; l++) {\n var p = u[l];\n (!l || p.x < n) && (n = p.x), (!l || p.y < a) && (a = p.y), (!l || p.x > o) && (o = p.x), (!l || p.y > s) && (s = p.y);\n }\n var c = Math.min(o - n, s - a),\n h = c / 2,\n f = new Qu([], rl);\n if (0 === c) return new i(n, a);\n for (var y = n; y < o; y += c) for (var d = a; d < s; d += c) f.push(new nl(y + h, d + h, h, t));\n for (var m = function (t) {\n for (var e = 0, r = 0, n = 0, i = t[0], a = 0, o = i.length, s = o - 1; a < o; s = a++) {\n var u = i[a],\n l = i[s],\n p = u.x * l.y - l.x * u.y;\n r += (u.x + l.x) * p, n += (u.y + l.y) * p, e += 3 * p;\n }\n return new nl(r / e, n / e, 0, t);\n }(t), v = f.length; f.length;) {\n var g = f.pop();\n (g.d > m.d || !m.d) && (m = g, r && console.log(\"found best %d after %d probes\", Math.round(1e4 * g.d) / 1e4, v)), g.max - m.d <= e || (f.push(new nl(g.p.x - (h = g.h / 2), g.p.y - h, h, t)), f.push(new nl(g.p.x + h, g.p.y - h, h, t)), f.push(new nl(g.p.x - h, g.p.y + h, h, t)), f.push(new nl(g.p.x + h, g.p.y + h, h, t)), v += 4);\n }\n return r && (console.log(\"num probes: \" + v), console.log(\"best distance: \" + m.d)), m.p;\n }\n function rl(t, e) {\n return e.max - t.max;\n }\n function nl(t, e, r, n) {\n this.p = new i(t, e), this.h = r, this.d = function (t, e) {\n for (var r = !1, n = 1 / 0, i = 0; i < e.length; i++) for (var a = e[i], o = 0, s = a.length, u = s - 1; o < s; u = o++) {\n var l = a[o],\n p = a[u];\n l.y > t.y != p.y > t.y && t.x < (p.x - l.x) * (t.y - l.y) / (p.y - l.y) + l.x && (r = !r), n = Math.min(n, Ya(t, l, p));\n }\n return (r ? 1 : -1) * Math.sqrt(n);\n }(this.p, n), this.max = this.d + this.h * Math.SQRT2;\n }\n Qu.prototype.push = function (t) {\n this.data.push(t), this.length++, this._up(this.length - 1);\n }, Qu.prototype.pop = function () {\n if (0 !== this.length) {\n var t = this.data[0],\n e = this.data.pop();\n return this.length--, this.length > 0 && (this.data[0] = e, this._down(0)), t;\n }\n }, Qu.prototype.peek = function () {\n return this.data[0];\n }, Qu.prototype._up = function (t) {\n for (var e = this.data, r = this.compare, n = e[t]; t > 0;) {\n var i = t - 1 >> 1,\n a = e[i];\n if (r(n, a) >= 0) break;\n e[t] = a, t = i;\n }\n e[t] = n;\n }, Qu.prototype._down = function (t) {\n for (var e = this.data, r = this.compare, n = this.length >> 1, i = e[t]; t < n;) {\n var a = 1 + (t << 1),\n o = e[a],\n s = a + 1;\n if (s < this.length && r(e[s], o) < 0 && (a = s, o = e[s]), r(o, i) >= 0) break;\n e[t] = o, t = a;\n }\n e[t] = i;\n };\n var il = Number.POSITIVE_INFINITY;\n function al(t, e) {\n return e[1] !== il ? function (t, e, r) {\n var n = 0,\n i = 0;\n switch (e = Math.abs(e), r = Math.abs(r), t) {\n case \"top-right\":\n case \"top-left\":\n case \"top\":\n i = r - 7;\n break;\n case \"bottom-right\":\n case \"bottom-left\":\n case \"bottom\":\n i = 7 - r;\n }\n switch (t) {\n case \"top-right\":\n case \"bottom-right\":\n case \"right\":\n n = -e;\n break;\n case \"top-left\":\n case \"bottom-left\":\n case \"left\":\n n = e;\n }\n return [n, i];\n }(t, e[0], e[1]) : function (t, e) {\n var r = 0,\n n = 0;\n e < 0 && (e = 0);\n var i = e / Math.sqrt(2);\n switch (t) {\n case \"top-right\":\n case \"top-left\":\n n = i - 7;\n break;\n case \"bottom-right\":\n case \"bottom-left\":\n n = 7 - i;\n break;\n case \"bottom\":\n n = 7 - e;\n break;\n case \"top\":\n n = e - 7;\n }\n switch (t) {\n case \"top-right\":\n case \"bottom-right\":\n r = -i;\n break;\n case \"top-left\":\n case \"bottom-left\":\n r = i;\n break;\n case \"left\":\n r = e;\n break;\n case \"right\":\n r = -e;\n }\n return [r, n];\n }(t, e[0]);\n }\n function ol(t) {\n switch (t) {\n case \"right\":\n case \"top-right\":\n case \"bottom-right\":\n return \"right\";\n case \"left\":\n case \"top-left\":\n case \"bottom-left\":\n return \"left\";\n }\n return \"center\";\n }\n function sl(t, e, r, n, a, o, s, u, l, p, c, h, f, y, d) {\n var m = function (t, e, r, n, a, o, s, u) {\n for (var l = n.layout.get(\"text-rotate\").evaluate(o, {}) * Math.PI / 180, p = [], c = 0, h = e.positionedLines; c < h.length; c += 1) for (var f = h[c], y = 0, d = f.positionedGlyphs; y < d.length; y += 1) {\n var m = d[y];\n if (m.rect) {\n var v = m.rect || {},\n g = 4,\n x = !0,\n b = 1,\n w = 0,\n _ = (a || u) && m.vertical,\n A = m.metrics.advance * m.scale / 2;\n if (u && e.verticalizable && (w = f.lineOffset / 2 - (m.imageName ? -(24 - m.metrics.width * m.scale) / 2 : 24 * (m.scale - 1))), m.imageName) {\n var S = s[m.imageName];\n x = S.sdf, g = 1 / (b = S.pixelRatio);\n }\n var k = a ? [m.x + A, m.y] : [0, 0],\n I = a ? [0, 0] : [m.x + A + r[0], m.y + r[1] - w],\n z = [0, 0];\n _ && (z = I, I = [0, 0]);\n var C = (m.metrics.left - g) * m.scale - A + I[0],\n E = (-m.metrics.top - g) * m.scale + I[1],\n P = C + v.w * m.scale / b,\n M = E + v.h * m.scale / b,\n B = new i(C, E),\n T = new i(P, E),\n V = new i(C, M),\n F = new i(P, M);\n if (_) {\n var D = new i(-A, A - -17),\n L = -Math.PI / 2,\n O = 12 - A,\n R = new i(22 - O, -(m.imageName ? O : 0)),\n U = new (Function.prototype.bind.apply(i, [null].concat(z)))();\n B._rotateAround(L, D)._add(R)._add(U), T._rotateAround(L, D)._add(R)._add(U), V._rotateAround(L, D)._add(R)._add(U), F._rotateAround(L, D)._add(R)._add(U);\n }\n if (l) {\n var j = Math.sin(l),\n q = Math.cos(l),\n N = [q, -j, j, q];\n B._matMult(N), T._matMult(N), V._matMult(N), F._matMult(N);\n }\n var K = new i(0, 0),\n G = new i(0, 0);\n p.push({\n tl: B,\n tr: T,\n bl: V,\n br: F,\n tex: v,\n writingMode: e.writingMode,\n glyphOffset: k,\n sectionIndex: m.sectionIndex,\n isSDF: x,\n pixelOffsetTL: K,\n pixelOffsetBR: G,\n minFontScaleX: 0,\n minFontScaleY: 0\n });\n }\n }\n return p;\n }(0, r, u, a, o, s, n, t.allowVerticalPlacement),\n v = t.textSizeData,\n g = null;\n \"source\" === v.kind ? (g = [128 * a.layout.get(\"text-size\").evaluate(s, {})])[0] > 32640 && A(t.layerIds[0] + ': Value for \"text-size\" is >= 255. Reduce your \"text-size\".') : \"composite\" === v.kind && ((g = [128 * y.compositeTextSizes[0].evaluate(s, {}, d), 128 * y.compositeTextSizes[1].evaluate(s, {}, d)])[0] > 32640 || g[1] > 32640) && A(t.layerIds[0] + ': Value for \"text-size\" is >= 255. Reduce your \"text-size\".'), t.addSymbols(t.text, m, g, u, o, s, p, e, l.lineStartIndex, l.lineLength, f, d);\n for (var x = 0, b = c; x < b.length; x += 1) h[b[x]] = t.text.placedSymbolArray.length - 1;\n return 4 * m.length;\n }\n function ul(t) {\n for (var e in t) return t[e];\n return null;\n }\n function ll(t, e, r, n) {\n var i = t.compareText;\n if (e in i) {\n for (var a = i[e], o = a.length - 1; o >= 0; o--) if (n.dist(a[o]) < r) return !0;\n } else i[e] = [];\n return i[e].push(n), !1;\n }\n var pl = bs.VectorTileFeature.types,\n cl = [{\n name: \"a_fade_opacity\",\n components: 1,\n type: \"Uint8\",\n offset: 0\n }];\n function hl(t, e, r, n, i, a, o, s, u, l, p, c, h) {\n var f = s ? Math.min(32640, Math.round(s[0])) : 0,\n y = s ? Math.min(32640, Math.round(s[1])) : 0;\n t.emplaceBack(e, r, Math.round(32 * n), Math.round(32 * i), a, o, (f << 1) + (u ? 1 : 0), y, 16 * l, 16 * p, 256 * c, 256 * h);\n }\n function fl(t, e, r) {\n t.emplaceBack(e.x, e.y, r), t.emplaceBack(e.x, e.y, r), t.emplaceBack(e.x, e.y, r), t.emplaceBack(e.x, e.y, r);\n }\n function yl(t) {\n for (var e = 0, r = t.sections; e < r.length; e += 1) if ($n(r[e].text)) return !0;\n return !1;\n }\n var dl = function (t) {\n this.layoutVertexArray = new Vi(), this.indexArray = new ji(), this.programConfigurations = t, this.segments = new sa(), this.dynamicLayoutVertexArray = new Fi(), this.opacityVertexArray = new Di(), this.placedSymbolArray = new Qi();\n };\n dl.prototype.isEmpty = function () {\n return 0 === this.layoutVertexArray.length && 0 === this.indexArray.length && 0 === this.dynamicLayoutVertexArray.length && 0 === this.opacityVertexArray.length;\n }, dl.prototype.upload = function (t, e, r, n) {\n this.isEmpty() || (r && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, js.members), this.indexBuffer = t.createIndexBuffer(this.indexArray, e), this.dynamicLayoutVertexBuffer = t.createVertexBuffer(this.dynamicLayoutVertexArray, qs.members, !0), this.opacityVertexBuffer = t.createVertexBuffer(this.opacityVertexArray, cl, !0), this.opacityVertexBuffer.itemSize = 1), (r || n) && this.programConfigurations.upload(t));\n }, dl.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy());\n }, On(\"SymbolBuffers\", dl);\n var ml = function (t, e, r) {\n this.layoutVertexArray = new t(), this.layoutAttributes = e, this.indexArray = new r(), this.segments = new sa(), this.collisionVertexArray = new Ui();\n };\n ml.prototype.upload = function (t) {\n this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, Ns.members, !0);\n }, ml.prototype.destroy = function () {\n this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy());\n }, On(\"CollisionBuffers\", ml);\n var vl = function (t) {\n this.collisionBoxArray = t.collisionBoxArray, this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map(function (t) {\n return t.id;\n }), this.index = t.index, this.pixelRatio = t.pixelRatio, this.sourceLayerIndex = t.sourceLayerIndex, this.hasPattern = !1, this.hasRTLText = !1, this.sortKeyRanges = [], this.collisionCircleArray = [], this.placementInvProjMatrix = oo([]), this.placementViewportMatrix = oo([]);\n var e = this.layers[0]._unevaluatedLayout._values;\n this.textSizeData = Du(this.zoom, e[\"text-size\"]), this.iconSizeData = Du(this.zoom, e[\"icon-size\"]);\n var r = this.layers[0].layout,\n n = r.get(\"symbol-sort-key\"),\n i = r.get(\"symbol-z-order\");\n this.canOverlap = r.get(\"text-allow-overlap\") || r.get(\"icon-allow-overlap\") || r.get(\"text-ignore-placement\") || r.get(\"icon-ignore-placement\"), this.sortFeaturesByKey = \"viewport-y\" !== i && void 0 !== n.constantOr(1), this.sortFeaturesByY = (\"viewport-y\" === i || \"auto\" === i && !this.sortFeaturesByKey) && this.canOverlap, \"point\" === r.get(\"symbol-placement\") && (this.writingModes = r.get(\"text-writing-mode\").map(function (t) {\n return wu[t];\n })), this.stateDependentLayerIds = this.layers.filter(function (t) {\n return t.isStateDependent();\n }).map(function (t) {\n return t.id;\n }), this.sourceID = t.sourceID;\n };\n vl.prototype.createArrays = function () {\n this.text = new dl(new Va(this.layers, this.zoom, function (t) {\n return /^text/.test(t);\n })), this.icon = new dl(new Va(this.layers, this.zoom, function (t) {\n return /^icon/.test(t);\n })), this.glyphOffsetArray = new ra(), this.lineVertexArray = new na(), this.symbolInstances = new ea();\n }, vl.prototype.calculateGlyphDependencies = function (t, e, r, n, i) {\n for (var a = 0; a < t.length; a++) if (e[t.charCodeAt(a)] = !0, (r || n) && i) {\n var o = Xs[t.charAt(a)];\n o && (e[o.charCodeAt(0)] = !0);\n }\n }, vl.prototype.populate = function (t, e, r) {\n var n = this.layers[0],\n i = n.layout,\n a = i.get(\"text-font\"),\n o = i.get(\"text-field\"),\n s = i.get(\"icon-image\"),\n u = (\"constant\" !== o.value.kind || o.value.value instanceof ne && !o.value.value.isEmpty() || o.value.value.toString().length > 0) && (\"constant\" !== a.value.kind || a.value.value.length > 0),\n l = \"constant\" !== s.value.kind || !!s.value.value || Object.keys(s.parameters).length > 0,\n p = i.get(\"symbol-sort-key\");\n if (this.features = [], u || l) {\n for (var c = e.iconDependencies, h = e.glyphDependencies, f = e.availableImages, y = new si(this.zoom), d = 0, m = t; d < m.length; d += 1) {\n var v = m[d],\n g = v.feature,\n x = v.id,\n b = v.index,\n w = v.sourceLayerIndex,\n _ = n._featureFilter.needGeometry,\n A = Ua(g, _);\n if (n._featureFilter.filter(y, A, r)) {\n _ || (A.geometry = Ra(g));\n var S = void 0;\n if (u) {\n var k = n.getValueAndResolveTokens(\"text-field\", A, r, f),\n I = ne.factory(k);\n yl(I) && (this.hasRTLText = !0), (!this.hasRTLText || \"unavailable\" === ii() || this.hasRTLText && oi.isParsed()) && (S = Zs(I, n, A));\n }\n var z = void 0;\n if (l) {\n var C = n.getValueAndResolveTokens(\"icon-image\", A, r, f);\n z = C instanceof ie ? C : ie.fromString(C);\n }\n if (S || z) {\n var E = this.sortFeaturesByKey ? p.evaluate(A, {}, r) : void 0;\n if (this.features.push({\n id: x,\n text: S,\n icon: z,\n index: b,\n sourceLayerIndex: w,\n geometry: A.geometry,\n properties: g.properties,\n type: pl[g.type],\n sortKey: E\n }), z && (c[z.name] = !0), S) {\n var P = a.evaluate(A, {}, r).join(\",\"),\n M = \"map\" === i.get(\"text-rotation-alignment\") && \"point\" !== i.get(\"symbol-placement\");\n this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(wu.vertical) >= 0;\n for (var B = 0, T = S.sections; B < T.length; B += 1) {\n var V = T[B];\n if (V.image) c[V.image.name] = !0;else {\n var F = Zn(S.toString()),\n D = V.fontStack || P,\n L = h[D] = h[D] || {};\n this.calculateGlyphDependencies(V.text, L, M, this.allowVerticalPlacement, F);\n }\n }\n }\n }\n }\n }\n \"line\" === i.get(\"symbol-placement\") && (this.features = function (t) {\n var e = {},\n r = {},\n n = [],\n i = 0;\n function a(e) {\n n.push(t[e]), i++;\n }\n function o(t, e, i) {\n var a = r[t];\n return delete r[t], r[e] = a, n[a].geometry[0].pop(), n[a].geometry[0] = n[a].geometry[0].concat(i[0]), a;\n }\n function s(t, r, i) {\n var a = e[r];\n return delete e[r], e[t] = a, n[a].geometry[0].shift(), n[a].geometry[0] = i[0].concat(n[a].geometry[0]), a;\n }\n function u(t, e, r) {\n var n = r ? e[0][e[0].length - 1] : e[0][0];\n return t + \":\" + n.x + \":\" + n.y;\n }\n for (var l = 0; l < t.length; l++) {\n var p = t[l],\n c = p.geometry,\n h = p.text ? p.text.toString() : null;\n if (h) {\n var f = u(h, c),\n y = u(h, c, !0);\n if (f in r && y in e && r[f] !== e[y]) {\n var d = s(f, y, c),\n m = o(f, y, n[d].geometry);\n delete e[f], delete r[y], r[u(h, n[m].geometry, !0)] = m, n[d].geometry = null;\n } else f in r ? o(f, y, c) : y in e ? s(f, y, c) : (a(l), e[f] = i - 1, r[y] = i - 1);\n } else a(l);\n }\n return n.filter(function (t) {\n return t.geometry;\n });\n }(this.features)), this.sortFeaturesByKey && this.features.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n }\n }, vl.prototype.update = function (t, e, r) {\n this.stateDependentLayers.length && (this.text.programConfigurations.updatePaintArrays(t, e, this.layers, r), this.icon.programConfigurations.updatePaintArrays(t, e, this.layers, r));\n }, vl.prototype.isEmpty = function () {\n return 0 === this.symbolInstances.length && !this.hasRTLText;\n }, vl.prototype.uploadPending = function () {\n return !this.uploaded || this.text.programConfigurations.needsUpload || this.icon.programConfigurations.needsUpload;\n }, vl.prototype.upload = function (t) {\n !this.uploaded && this.hasDebugData() && (this.textCollisionBox.upload(t), this.iconCollisionBox.upload(t)), this.text.upload(t, this.sortFeaturesByY, !this.uploaded, this.text.programConfigurations.needsUpload), this.icon.upload(t, this.sortFeaturesByY, !this.uploaded, this.icon.programConfigurations.needsUpload), this.uploaded = !0;\n }, vl.prototype.destroyDebugData = function () {\n this.textCollisionBox.destroy(), this.iconCollisionBox.destroy();\n }, vl.prototype.destroy = function () {\n this.text.destroy(), this.icon.destroy(), this.hasDebugData() && this.destroyDebugData();\n }, vl.prototype.addToLineVertexArray = function (t, e) {\n var r = this.lineVertexArray.length;\n if (void 0 !== t.segment) {\n for (var n = t.dist(e[t.segment + 1]), i = t.dist(e[t.segment]), a = {}, o = t.segment + 1; o < e.length; o++) a[o] = {\n x: e[o].x,\n y: e[o].y,\n tileUnitDistanceFromAnchor: n\n }, o < e.length - 1 && (n += e[o + 1].dist(e[o]));\n for (var s = t.segment || 0; s >= 0; s--) a[s] = {\n x: e[s].x,\n y: e[s].y,\n tileUnitDistanceFromAnchor: i\n }, s > 0 && (i += e[s - 1].dist(e[s]));\n for (var u = 0; u < e.length; u++) {\n var l = a[u];\n this.lineVertexArray.emplaceBack(l.x, l.y, l.tileUnitDistanceFromAnchor);\n }\n }\n return {\n lineStartIndex: r,\n lineLength: this.lineVertexArray.length - r\n };\n }, vl.prototype.addSymbols = function (t, e, r, n, i, a, o, s, u, l, p, c) {\n for (var h = t.indexArray, f = t.layoutVertexArray, y = t.segments.prepareSegment(4 * e.length, f, h, this.canOverlap ? a.sortKey : void 0), d = this.glyphOffsetArray.length, m = y.vertexLength, v = this.allowVerticalPlacement && o === wu.vertical ? Math.PI / 2 : 0, g = a.text && a.text.sections, x = 0; x < e.length; x++) {\n var b = e[x],\n w = b.tl,\n _ = b.tr,\n A = b.bl,\n S = b.br,\n k = b.tex,\n I = b.pixelOffsetTL,\n z = b.pixelOffsetBR,\n C = b.minFontScaleX,\n E = b.minFontScaleY,\n P = b.glyphOffset,\n M = b.isSDF,\n B = b.sectionIndex,\n T = y.vertexLength,\n V = P[1];\n hl(f, s.x, s.y, w.x, V + w.y, k.x, k.y, r, M, I.x, I.y, C, E), hl(f, s.x, s.y, _.x, V + _.y, k.x + k.w, k.y, r, M, z.x, I.y, C, E), hl(f, s.x, s.y, A.x, V + A.y, k.x, k.y + k.h, r, M, I.x, z.y, C, E), hl(f, s.x, s.y, S.x, V + S.y, k.x + k.w, k.y + k.h, r, M, z.x, z.y, C, E), fl(t.dynamicLayoutVertexArray, s, v), h.emplaceBack(T, T + 1, T + 2), h.emplaceBack(T + 1, T + 2, T + 3), y.vertexLength += 4, y.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(P[0]), x !== e.length - 1 && B === e[x + 1].sectionIndex || t.programConfigurations.populatePaintArrays(f.length, a, a.index, {}, c, g && g[B]);\n }\n t.placedSymbolArray.emplaceBack(s.x, s.y, d, this.glyphOffsetArray.length - d, m, u, l, s.segment, r ? r[0] : 0, r ? r[1] : 0, n[0], n[1], o, 0, !1, 0, p);\n }, vl.prototype._addCollisionDebugVertex = function (t, e, r, n, i, a) {\n return e.emplaceBack(0, 0), t.emplaceBack(r.x, r.y, n, i, Math.round(a.x), Math.round(a.y));\n }, vl.prototype.addCollisionDebugVertices = function (t, e, r, n, a, o, s) {\n var u = a.segments.prepareSegment(4, a.layoutVertexArray, a.indexArray),\n l = u.vertexLength,\n p = a.layoutVertexArray,\n c = a.collisionVertexArray,\n h = s.anchorX,\n f = s.anchorY;\n this._addCollisionDebugVertex(p, c, o, h, f, new i(t, e)), this._addCollisionDebugVertex(p, c, o, h, f, new i(r, e)), this._addCollisionDebugVertex(p, c, o, h, f, new i(r, n)), this._addCollisionDebugVertex(p, c, o, h, f, new i(t, n)), u.vertexLength += 4;\n var y = a.indexArray;\n y.emplaceBack(l, l + 1), y.emplaceBack(l + 1, l + 2), y.emplaceBack(l + 2, l + 3), y.emplaceBack(l + 3, l), u.primitiveLength += 4;\n }, vl.prototype.addDebugCollisionBoxes = function (t, e, r, n) {\n for (var i = t; i < e; i++) {\n var a = this.collisionBoxArray.get(i);\n this.addCollisionDebugVertices(a.x1, a.y1, a.x2, a.y2, n ? this.textCollisionBox : this.iconCollisionBox, a.anchorPoint, r);\n }\n }, vl.prototype.generateCollisionDebugBuffers = function () {\n this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new ml(Oi, Ks.members, Xi), this.iconCollisionBox = new ml(Oi, Ks.members, Xi);\n for (var t = 0; t < this.symbolInstances.length; t++) {\n var e = this.symbolInstances.get(t);\n this.addDebugCollisionBoxes(e.textBoxStartIndex, e.textBoxEndIndex, e, !0), this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex, e.verticalTextBoxEndIndex, e, !0), this.addDebugCollisionBoxes(e.iconBoxStartIndex, e.iconBoxEndIndex, e, !1), this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex, e.verticalIconBoxEndIndex, e, !1);\n }\n }, vl.prototype._deserializeCollisionBoxesForSymbol = function (t, e, r, n, i, a, o, s, u) {\n for (var l = {}, p = e; p < r; p++) {\n var c = t.get(p);\n l.textBox = {\n x1: c.x1,\n y1: c.y1,\n x2: c.x2,\n y2: c.y2,\n anchorPointX: c.anchorPointX,\n anchorPointY: c.anchorPointY\n }, l.textFeatureIndex = c.featureIndex;\n break;\n }\n for (var h = n; h < i; h++) {\n var f = t.get(h);\n l.verticalTextBox = {\n x1: f.x1,\n y1: f.y1,\n x2: f.x2,\n y2: f.y2,\n anchorPointX: f.anchorPointX,\n anchorPointY: f.anchorPointY\n }, l.verticalTextFeatureIndex = f.featureIndex;\n break;\n }\n for (var y = a; y < o; y++) {\n var d = t.get(y);\n l.iconBox = {\n x1: d.x1,\n y1: d.y1,\n x2: d.x2,\n y2: d.y2,\n anchorPointX: d.anchorPointX,\n anchorPointY: d.anchorPointY\n }, l.iconFeatureIndex = d.featureIndex;\n break;\n }\n for (var m = s; m < u; m++) {\n var v = t.get(m);\n l.verticalIconBox = {\n x1: v.x1,\n y1: v.y1,\n x2: v.x2,\n y2: v.y2,\n anchorPointX: v.anchorPointX,\n anchorPointY: v.anchorPointY\n }, l.verticalIconFeatureIndex = v.featureIndex;\n break;\n }\n return l;\n }, vl.prototype.deserializeCollisionBoxes = function (t) {\n this.collisionArrays = [];\n for (var e = 0; e < this.symbolInstances.length; e++) {\n var r = this.symbolInstances.get(e);\n this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t, r.textBoxStartIndex, r.textBoxEndIndex, r.verticalTextBoxStartIndex, r.verticalTextBoxEndIndex, r.iconBoxStartIndex, r.iconBoxEndIndex, r.verticalIconBoxStartIndex, r.verticalIconBoxEndIndex));\n }\n }, vl.prototype.hasTextData = function () {\n return this.text.segments.get().length > 0;\n }, vl.prototype.hasIconData = function () {\n return this.icon.segments.get().length > 0;\n }, vl.prototype.hasDebugData = function () {\n return this.textCollisionBox && this.iconCollisionBox;\n }, vl.prototype.hasTextCollisionBoxData = function () {\n return this.hasDebugData() && this.textCollisionBox.segments.get().length > 0;\n }, vl.prototype.hasIconCollisionBoxData = function () {\n return this.hasDebugData() && this.iconCollisionBox.segments.get().length > 0;\n }, vl.prototype.addIndicesForPlacedSymbol = function (t, e) {\n for (var r = t.placedSymbolArray.get(e), n = r.vertexStartIndex + 4 * r.numGlyphs, i = r.vertexStartIndex; i < n; i += 4) t.indexArray.emplaceBack(i, i + 1, i + 2), t.indexArray.emplaceBack(i + 1, i + 2, i + 3);\n }, vl.prototype.getSortedSymbolIndexes = function (t) {\n if (this.sortedAngle === t && void 0 !== this.symbolInstanceIndexes) return this.symbolInstanceIndexes;\n for (var e = Math.sin(t), r = Math.cos(t), n = [], i = [], a = [], o = 0; o < this.symbolInstances.length; ++o) {\n a.push(o);\n var s = this.symbolInstances.get(o);\n n.push(0 | Math.round(e * s.anchorX + r * s.anchorY)), i.push(s.featureIndex);\n }\n return a.sort(function (t, e) {\n return n[t] - n[e] || i[e] - i[t];\n }), a;\n }, vl.prototype.addToSortKeyRanges = function (t, e) {\n var r = this.sortKeyRanges[this.sortKeyRanges.length - 1];\n r && r.sortKey === e ? r.symbolInstanceEnd = t + 1 : this.sortKeyRanges.push({\n sortKey: e,\n symbolInstanceStart: t,\n symbolInstanceEnd: t + 1\n });\n }, vl.prototype.sortFeatures = function (t) {\n var e = this;\n if (this.sortFeaturesByY && this.sortedAngle !== t && !(this.text.segments.get().length > 1 || this.icon.segments.get().length > 1)) {\n this.symbolInstanceIndexes = this.getSortedSymbolIndexes(t), this.sortedAngle = t, this.text.indexArray.clear(), this.icon.indexArray.clear(), this.featureSortOrder = [];\n for (var r = 0, n = this.symbolInstanceIndexes; r < n.length; r += 1) {\n var i = this.symbolInstances.get(n[r]);\n this.featureSortOrder.push(i.featureIndex), [i.rightJustifiedTextSymbolIndex, i.centerJustifiedTextSymbolIndex, i.leftJustifiedTextSymbolIndex].forEach(function (t, r, n) {\n t >= 0 && n.indexOf(t) === r && e.addIndicesForPlacedSymbol(e.text, t);\n }), i.verticalPlacedTextSymbolIndex >= 0 && this.addIndicesForPlacedSymbol(this.text, i.verticalPlacedTextSymbolIndex), i.placedIconSymbolIndex >= 0 && this.addIndicesForPlacedSymbol(this.icon, i.placedIconSymbolIndex), i.verticalPlacedIconSymbolIndex >= 0 && this.addIndicesForPlacedSymbol(this.icon, i.verticalPlacedIconSymbolIndex);\n }\n this.text.indexBuffer && this.text.indexBuffer.updateData(this.text.indexArray), this.icon.indexBuffer && this.icon.indexBuffer.updateData(this.icon.indexArray);\n }\n }, On(\"SymbolBucket\", vl, {\n omit: [\"layers\", \"collisionBoxArray\", \"features\", \"compareText\"]\n }), vl.MAX_GLYPHS = 65535, vl.addDynamicAttributes = fl;\n var gl = new wi({\n \"symbol-placement\": new mi(Et.layout_symbol[\"symbol-placement\"]),\n \"symbol-spacing\": new mi(Et.layout_symbol[\"symbol-spacing\"]),\n \"symbol-avoid-edges\": new mi(Et.layout_symbol[\"symbol-avoid-edges\"]),\n \"symbol-sort-key\": new vi(Et.layout_symbol[\"symbol-sort-key\"]),\n \"symbol-z-order\": new mi(Et.layout_symbol[\"symbol-z-order\"]),\n \"icon-allow-overlap\": new mi(Et.layout_symbol[\"icon-allow-overlap\"]),\n \"icon-ignore-placement\": new mi(Et.layout_symbol[\"icon-ignore-placement\"]),\n \"icon-optional\": new mi(Et.layout_symbol[\"icon-optional\"]),\n \"icon-rotation-alignment\": new mi(Et.layout_symbol[\"icon-rotation-alignment\"]),\n \"icon-size\": new vi(Et.layout_symbol[\"icon-size\"]),\n \"icon-text-fit\": new mi(Et.layout_symbol[\"icon-text-fit\"]),\n \"icon-text-fit-padding\": new mi(Et.layout_symbol[\"icon-text-fit-padding\"]),\n \"icon-image\": new vi(Et.layout_symbol[\"icon-image\"]),\n \"icon-rotate\": new vi(Et.layout_symbol[\"icon-rotate\"]),\n \"icon-padding\": new mi(Et.layout_symbol[\"icon-padding\"]),\n \"icon-keep-upright\": new mi(Et.layout_symbol[\"icon-keep-upright\"]),\n \"icon-offset\": new vi(Et.layout_symbol[\"icon-offset\"]),\n \"icon-anchor\": new vi(Et.layout_symbol[\"icon-anchor\"]),\n \"icon-pitch-alignment\": new mi(Et.layout_symbol[\"icon-pitch-alignment\"]),\n \"text-pitch-alignment\": new mi(Et.layout_symbol[\"text-pitch-alignment\"]),\n \"text-rotation-alignment\": new mi(Et.layout_symbol[\"text-rotation-alignment\"]),\n \"text-field\": new vi(Et.layout_symbol[\"text-field\"]),\n \"text-font\": new vi(Et.layout_symbol[\"text-font\"]),\n \"text-size\": new vi(Et.layout_symbol[\"text-size\"]),\n \"text-max-width\": new vi(Et.layout_symbol[\"text-max-width\"]),\n \"text-line-height\": new mi(Et.layout_symbol[\"text-line-height\"]),\n \"text-letter-spacing\": new vi(Et.layout_symbol[\"text-letter-spacing\"]),\n \"text-justify\": new vi(Et.layout_symbol[\"text-justify\"]),\n \"text-radial-offset\": new vi(Et.layout_symbol[\"text-radial-offset\"]),\n \"text-variable-anchor\": new mi(Et.layout_symbol[\"text-variable-anchor\"]),\n \"text-anchor\": new vi(Et.layout_symbol[\"text-anchor\"]),\n \"text-max-angle\": new mi(Et.layout_symbol[\"text-max-angle\"]),\n \"text-writing-mode\": new mi(Et.layout_symbol[\"text-writing-mode\"]),\n \"text-rotate\": new vi(Et.layout_symbol[\"text-rotate\"]),\n \"text-padding\": new mi(Et.layout_symbol[\"text-padding\"]),\n \"text-keep-upright\": new mi(Et.layout_symbol[\"text-keep-upright\"]),\n \"text-transform\": new vi(Et.layout_symbol[\"text-transform\"]),\n \"text-offset\": new vi(Et.layout_symbol[\"text-offset\"]),\n \"text-allow-overlap\": new mi(Et.layout_symbol[\"text-allow-overlap\"]),\n \"text-ignore-placement\": new mi(Et.layout_symbol[\"text-ignore-placement\"]),\n \"text-optional\": new mi(Et.layout_symbol[\"text-optional\"])\n }),\n xl = {\n paint: new wi({\n \"icon-opacity\": new vi(Et.paint_symbol[\"icon-opacity\"]),\n \"icon-color\": new vi(Et.paint_symbol[\"icon-color\"]),\n \"icon-halo-color\": new vi(Et.paint_symbol[\"icon-halo-color\"]),\n \"icon-halo-width\": new vi(Et.paint_symbol[\"icon-halo-width\"]),\n \"icon-halo-blur\": new vi(Et.paint_symbol[\"icon-halo-blur\"]),\n \"icon-translate\": new mi(Et.paint_symbol[\"icon-translate\"]),\n \"icon-translate-anchor\": new mi(Et.paint_symbol[\"icon-translate-anchor\"]),\n \"text-opacity\": new vi(Et.paint_symbol[\"text-opacity\"]),\n \"text-color\": new vi(Et.paint_symbol[\"text-color\"], {\n runtimeType: jt,\n getOverride: function (t) {\n return t.textColor;\n },\n hasOverride: function (t) {\n return !!t.textColor;\n }\n }),\n \"text-halo-color\": new vi(Et.paint_symbol[\"text-halo-color\"]),\n \"text-halo-width\": new vi(Et.paint_symbol[\"text-halo-width\"]),\n \"text-halo-blur\": new vi(Et.paint_symbol[\"text-halo-blur\"]),\n \"text-translate\": new mi(Et.paint_symbol[\"text-translate\"]),\n \"text-translate-anchor\": new mi(Et.paint_symbol[\"text-translate-anchor\"])\n }),\n layout: gl\n },\n bl = function (t) {\n this.type = t.property.overrides ? t.property.overrides.runtimeType : Lt, this.defaultValue = t;\n };\n bl.prototype.evaluate = function (t) {\n if (t.formattedSection) {\n var e = this.defaultValue.property.overrides;\n if (e && e.hasOverride(t.formattedSection)) return e.getOverride(t.formattedSection);\n }\n return t.feature && t.featureState ? this.defaultValue.evaluate(t.feature, t.featureState) : this.defaultValue.property.specification.default;\n }, bl.prototype.eachChild = function (t) {\n this.defaultValue.isConstant() || t(this.defaultValue.value._styleExpression.expression);\n }, bl.prototype.outputDefined = function () {\n return !1;\n }, bl.prototype.serialize = function () {\n return null;\n }, On(\"FormatSectionOverride\", bl, {\n omit: [\"defaultValue\"]\n });\n var wl = function (t) {\n function e(e) {\n t.call(this, e, xl);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.recalculate = function (e, r) {\n if (t.prototype.recalculate.call(this, e, r), \"auto\" === this.layout.get(\"icon-rotation-alignment\") && (this.layout._values[\"icon-rotation-alignment\"] = \"point\" !== this.layout.get(\"symbol-placement\") ? \"map\" : \"viewport\"), \"auto\" === this.layout.get(\"text-rotation-alignment\") && (this.layout._values[\"text-rotation-alignment\"] = \"point\" !== this.layout.get(\"symbol-placement\") ? \"map\" : \"viewport\"), \"auto\" === this.layout.get(\"text-pitch-alignment\") && (this.layout._values[\"text-pitch-alignment\"] = this.layout.get(\"text-rotation-alignment\")), \"auto\" === this.layout.get(\"icon-pitch-alignment\") && (this.layout._values[\"icon-pitch-alignment\"] = this.layout.get(\"icon-rotation-alignment\")), \"point\" === this.layout.get(\"symbol-placement\")) {\n var n = this.layout.get(\"text-writing-mode\");\n if (n) {\n for (var i = [], a = 0, o = n; a < o.length; a += 1) {\n var s = o[a];\n i.indexOf(s) < 0 && i.push(s);\n }\n this.layout._values[\"text-writing-mode\"] = i;\n } else this.layout._values[\"text-writing-mode\"] = [\"horizontal\"];\n }\n this._setPaintOverrides();\n }, e.prototype.getValueAndResolveTokens = function (t, e, r, n) {\n var i = this.layout.get(t).evaluate(e, {}, r, n),\n a = this._unevaluatedLayout._values[t];\n return a.isDataDriven() || Gr(a.value) || !i ? i : function (t, e) {\n return e.replace(/{([^{}]+)}/g, function (e, r) {\n return r in t ? String(t[r]) : \"\";\n });\n }(e.properties, i);\n }, e.prototype.createBucket = function (t) {\n return new vl(t);\n }, e.prototype.queryRadius = function () {\n return 0;\n }, e.prototype.queryIntersectsFeature = function () {\n return !1;\n }, e.prototype._setPaintOverrides = function () {\n for (var t = 0, r = xl.paint.overridableProperties; t < r.length; t += 1) {\n var n = r[t];\n if (e.hasPaintOverride(this.layout, n)) {\n var i,\n a = this.paint.get(n),\n o = new bl(a),\n s = new Kr(o, a.property.specification);\n i = \"constant\" === a.value.kind || \"source\" === a.value.kind ? new Xr(\"source\", s) : new Jr(\"composite\", s, a.value.zoomStops, a.value._interpolationType), this.paint._values[n] = new yi(a.property, i, a.parameters);\n }\n }\n }, e.prototype._handleOverridablePaintPropertyUpdate = function (t, r, n) {\n return !(!this.layout || r.isDataDriven() || n.isDataDriven()) && e.hasPaintOverride(this.layout, t);\n }, e.hasPaintOverride = function (t, e) {\n var r = t.get(\"text-field\"),\n n = xl.paint.properties[e],\n i = !1,\n a = function (t) {\n for (var e = 0, r = t; e < r.length; e += 1) if (n.overrides && n.overrides.hasOverride(r[e])) return void (i = !0);\n };\n if (\"constant\" === r.value.kind && r.value.value instanceof ne) a(r.value.value.sections);else if (\"source\" === r.value.kind) {\n var o = function (t) {\n i || (t instanceof le && se(t.value) === Gt ? a(t.value.sections) : t instanceof fe ? a(t.sections) : t.eachChild(o));\n },\n s = r.value;\n s._styleExpression && o(s._styleExpression.expression);\n }\n return i;\n }, e;\n }(_i),\n _l = {\n paint: new wi({\n \"background-color\": new mi(Et.paint_background[\"background-color\"]),\n \"background-pattern\": new xi(Et.paint_background[\"background-pattern\"]),\n \"background-opacity\": new mi(Et.paint_background[\"background-opacity\"])\n })\n },\n Al = function (t) {\n function e(e) {\n t.call(this, e, _l);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(_i),\n Sl = {\n paint: new wi({\n \"raster-opacity\": new mi(Et.paint_raster[\"raster-opacity\"]),\n \"raster-hue-rotate\": new mi(Et.paint_raster[\"raster-hue-rotate\"]),\n \"raster-brightness-min\": new mi(Et.paint_raster[\"raster-brightness-min\"]),\n \"raster-brightness-max\": new mi(Et.paint_raster[\"raster-brightness-max\"]),\n \"raster-saturation\": new mi(Et.paint_raster[\"raster-saturation\"]),\n \"raster-contrast\": new mi(Et.paint_raster[\"raster-contrast\"]),\n \"raster-resampling\": new mi(Et.paint_raster[\"raster-resampling\"]),\n \"raster-fade-duration\": new mi(Et.paint_raster[\"raster-fade-duration\"])\n })\n },\n kl = function (t) {\n function e(e) {\n t.call(this, e, Sl);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(_i),\n Il = function (t) {\n function e(e) {\n t.call(this, e, {}), this.implementation = e;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.is3D = function () {\n return \"3d\" === this.implementation.renderingMode;\n }, e.prototype.hasOffscreenPass = function () {\n return void 0 !== this.implementation.prerender;\n }, e.prototype.recalculate = function () {}, e.prototype.updateTransitions = function () {}, e.prototype.hasTransition = function () {}, e.prototype.serialize = function () {}, e.prototype.onAdd = function (t) {\n this.implementation.onAdd && this.implementation.onAdd(t, t.painter.context.gl);\n }, e.prototype.onRemove = function (t) {\n this.implementation.onRemove && this.implementation.onRemove(t, t.painter.context.gl);\n }, e;\n }(_i),\n zl = {\n circle: co,\n heatmap: _o,\n hillshade: So,\n fill: ps,\n \"fill-extrusion\": zs,\n line: Rs,\n symbol: wl,\n background: Al,\n raster: kl\n },\n Cl = o.HTMLImageElement,\n El = o.HTMLCanvasElement,\n Pl = o.HTMLVideoElement,\n Ml = o.ImageData,\n Bl = o.ImageBitmap,\n Tl = function (t, e, r, n) {\n this.context = t, this.format = r, this.texture = t.gl.createTexture(), this.update(e, n);\n };\n Tl.prototype.update = function (t, e, r) {\n var n = t.width,\n i = t.height,\n a = !(this.size && this.size[0] === n && this.size[1] === i || r),\n o = this.context,\n s = o.gl;\n if (this.useMipmap = Boolean(e && e.useMipmap), s.bindTexture(s.TEXTURE_2D, this.texture), o.pixelStoreUnpackFlipY.set(!1), o.pixelStoreUnpack.set(1), o.pixelStoreUnpackPremultiplyAlpha.set(this.format === s.RGBA && (!e || !1 !== e.premultiply)), a) this.size = [n, i], t instanceof Cl || t instanceof El || t instanceof Pl || t instanceof Ml || Bl && t instanceof Bl ? s.texImage2D(s.TEXTURE_2D, 0, this.format, this.format, s.UNSIGNED_BYTE, t) : s.texImage2D(s.TEXTURE_2D, 0, this.format, n, i, 0, this.format, s.UNSIGNED_BYTE, t.data);else {\n var u = r || {\n x: 0,\n y: 0\n },\n l = u.x,\n p = u.y;\n t instanceof Cl || t instanceof El || t instanceof Pl || t instanceof Ml || Bl && t instanceof Bl ? s.texSubImage2D(s.TEXTURE_2D, 0, l, p, s.RGBA, s.UNSIGNED_BYTE, t) : s.texSubImage2D(s.TEXTURE_2D, 0, l, p, n, i, s.RGBA, s.UNSIGNED_BYTE, t.data);\n }\n this.useMipmap && this.isSizePowerOfTwo() && s.generateMipmap(s.TEXTURE_2D);\n }, Tl.prototype.bind = function (t, e, r) {\n var n = this.context.gl;\n n.bindTexture(n.TEXTURE_2D, this.texture), r !== n.LINEAR_MIPMAP_NEAREST || this.isSizePowerOfTwo() || (r = n.LINEAR), t !== this.filter && (n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MAG_FILTER, t), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MIN_FILTER, r || t), this.filter = t), e !== this.wrap && (n.texParameteri(n.TEXTURE_2D, n.TEXTURE_WRAP_S, e), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_WRAP_T, e), this.wrap = e);\n }, Tl.prototype.isSizePowerOfTwo = function () {\n return this.size[0] === this.size[1] && Math.log(this.size[0]) / Math.LN2 % 1 == 0;\n }, Tl.prototype.destroy = function () {\n this.context.gl.deleteTexture(this.texture), this.texture = null;\n };\n var Vl = function (t) {\n var e = this;\n this._callback = t, this._triggered = !1, \"undefined\" != typeof MessageChannel && (this._channel = new MessageChannel(), this._channel.port2.onmessage = function () {\n e._triggered = !1, e._callback();\n });\n };\n Vl.prototype.trigger = function () {\n var t = this;\n this._triggered || (this._triggered = !0, this._channel ? this._channel.port1.postMessage(!0) : setTimeout(function () {\n t._triggered = !1, t._callback();\n }, 0));\n }, Vl.prototype.remove = function () {\n delete this._channel, this._callback = function () {};\n };\n var Fl = function (t, e, r) {\n this.target = t, this.parent = e, this.mapId = r, this.callbacks = {}, this.tasks = {}, this.taskQueue = [], this.cancelCallbacks = {}, v([\"receive\", \"process\"], this), this.invoker = new Vl(this.process), this.target.addEventListener(\"message\", this.receive, !1), this.globalScope = I() ? t : o;\n };\n function Dl(t, e, r) {\n var n = 2 * Math.PI * 6378137 / 256 / Math.pow(2, r);\n return [t * n - 2 * Math.PI * 6378137 / 2, e * n - 2 * Math.PI * 6378137 / 2];\n }\n Fl.prototype.send = function (t, e, r, n, i) {\n var a = this;\n void 0 === i && (i = !1);\n var o = Math.round(1e18 * Math.random()).toString(36).substring(0, 10);\n r && (this.callbacks[o] = r);\n var s = E(this.globalScope) ? void 0 : [];\n return this.target.postMessage({\n id: o,\n type: t,\n hasCallback: !!r,\n targetMapId: n,\n mustQueue: i,\n sourceMapId: this.mapId,\n data: qn(e, s)\n }, s), {\n cancel: function () {\n r && delete a.callbacks[o], a.target.postMessage({\n id: o,\n type: \"\",\n targetMapId: n,\n sourceMapId: a.mapId\n });\n }\n };\n }, Fl.prototype.receive = function (t) {\n var e = t.data,\n r = e.id;\n if (r && (!e.targetMapId || this.mapId === e.targetMapId)) if (\"\" === e.type) {\n delete this.tasks[r];\n var n = this.cancelCallbacks[r];\n delete this.cancelCallbacks[r], n && n();\n } else I() || e.mustQueue ? (this.tasks[r] = e, this.taskQueue.push(r), this.invoker.trigger()) : this.processTask(r, e);\n }, Fl.prototype.process = function () {\n if (this.taskQueue.length) {\n var t = this.taskQueue.shift(),\n e = this.tasks[t];\n delete this.tasks[t], this.taskQueue.length && this.invoker.trigger(), e && this.processTask(t, e);\n }\n }, Fl.prototype.processTask = function (t, e) {\n var r = this;\n if (\"\" === e.type) {\n var n = this.callbacks[t];\n delete this.callbacks[t], n && (e.error ? n(Nn(e.error)) : n(null, Nn(e.data)));\n } else {\n var i = !1,\n a = E(this.globalScope) ? void 0 : [],\n o = e.hasCallback ? function (e, n) {\n i = !0, delete r.cancelCallbacks[t], r.target.postMessage({\n id: t,\n type: \"\",\n sourceMapId: r.mapId,\n error: e ? qn(e) : null,\n data: qn(n, a)\n }, a);\n } : function (t) {\n i = !0;\n },\n s = null,\n u = Nn(e.data);\n if (this.parent[e.type]) s = this.parent[e.type](e.sourceMapId, u, o);else if (this.parent.getWorkerSource) {\n var l = e.type.split(\".\");\n s = this.parent.getWorkerSource(e.sourceMapId, l[0], u.source)[l[1]](u, o);\n } else o(new Error(\"Could not find function \" + e.type));\n !i && s && s.cancel && (this.cancelCallbacks[t] = s.cancel);\n }\n }, Fl.prototype.remove = function () {\n this.invoker.remove(), this.target.removeEventListener(\"message\", this.receive, !1);\n };\n var Ll = function (t, e) {\n t && (e ? this.setSouthWest(t).setNorthEast(e) : 4 === t.length ? this.setSouthWest([t[0], t[1]]).setNorthEast([t[2], t[3]]) : this.setSouthWest(t[0]).setNorthEast(t[1]));\n };\n Ll.prototype.setNorthEast = function (t) {\n return this._ne = t instanceof Ol ? new Ol(t.lng, t.lat) : Ol.convert(t), this;\n }, Ll.prototype.setSouthWest = function (t) {\n return this._sw = t instanceof Ol ? new Ol(t.lng, t.lat) : Ol.convert(t), this;\n }, Ll.prototype.extend = function (t) {\n var e,\n r,\n n = this._sw,\n i = this._ne;\n if (t instanceof Ol) e = t, r = t;else {\n if (!(t instanceof Ll)) return Array.isArray(t) ? 4 === t.length || t.every(Array.isArray) ? this.extend(Ll.convert(t)) : this.extend(Ol.convert(t)) : this;\n if (r = t._ne, !(e = t._sw) || !r) return this;\n }\n return n || i ? (n.lng = Math.min(e.lng, n.lng), n.lat = Math.min(e.lat, n.lat), i.lng = Math.max(r.lng, i.lng), i.lat = Math.max(r.lat, i.lat)) : (this._sw = new Ol(e.lng, e.lat), this._ne = new Ol(r.lng, r.lat)), this;\n }, Ll.prototype.getCenter = function () {\n return new Ol((this._sw.lng + this._ne.lng) / 2, (this._sw.lat + this._ne.lat) / 2);\n }, Ll.prototype.getSouthWest = function () {\n return this._sw;\n }, Ll.prototype.getNorthEast = function () {\n return this._ne;\n }, Ll.prototype.getNorthWest = function () {\n return new Ol(this.getWest(), this.getNorth());\n }, Ll.prototype.getSouthEast = function () {\n return new Ol(this.getEast(), this.getSouth());\n }, Ll.prototype.getWest = function () {\n return this._sw.lng;\n }, Ll.prototype.getSouth = function () {\n return this._sw.lat;\n }, Ll.prototype.getEast = function () {\n return this._ne.lng;\n }, Ll.prototype.getNorth = function () {\n return this._ne.lat;\n }, Ll.prototype.toArray = function () {\n return [this._sw.toArray(), this._ne.toArray()];\n }, Ll.prototype.toString = function () {\n return \"LngLatBounds(\" + this._sw.toString() + \", \" + this._ne.toString() + \")\";\n }, Ll.prototype.isEmpty = function () {\n return !(this._sw && this._ne);\n }, Ll.prototype.contains = function (t) {\n var e = Ol.convert(t),\n r = e.lng,\n n = e.lat,\n i = this._sw.lng <= r && r <= this._ne.lng;\n return this._sw.lng > this._ne.lng && (i = this._sw.lng >= r && r >= this._ne.lng), this._sw.lat <= n && n <= this._ne.lat && i;\n }, Ll.convert = function (t) {\n return !t || t instanceof Ll ? t : new Ll(t);\n };\n var Ol = function (t, e) {\n if (isNaN(t) || isNaN(e)) throw new Error(\"Invalid LngLat object: (\" + t + \", \" + e + \")\");\n if (this.lng = +t, this.lat = +e, this.lat > 90 || this.lat < -90) throw new Error(\"Invalid LngLat latitude value: must be between -90 and 90\");\n };\n Ol.prototype.wrap = function () {\n return new Ol(c(this.lng, -180, 180), this.lat);\n }, Ol.prototype.toArray = function () {\n return [this.lng, this.lat];\n }, Ol.prototype.toString = function () {\n return \"LngLat(\" + this.lng + \", \" + this.lat + \")\";\n }, Ol.prototype.distanceTo = function (t) {\n var e = Math.PI / 180,\n r = this.lat * e,\n n = t.lat * e,\n i = Math.sin(r) * Math.sin(n) + Math.cos(r) * Math.cos(n) * Math.cos((t.lng - this.lng) * e);\n return 6371008.8 * Math.acos(Math.min(i, 1));\n }, Ol.prototype.toBounds = function (t) {\n void 0 === t && (t = 0);\n var e = 360 * t / 40075017,\n r = e / Math.cos(Math.PI / 180 * this.lat);\n return new Ll(new Ol(this.lng - r, this.lat - e), new Ol(this.lng + r, this.lat + e));\n }, Ol.convert = function (t) {\n if (t instanceof Ol) return t;\n if (Array.isArray(t) && (2 === t.length || 3 === t.length)) return new Ol(Number(t[0]), Number(t[1]));\n if (!Array.isArray(t) && \"object\" == typeof t && null !== t) return new Ol(Number(\"lng\" in t ? t.lng : t.lon), Number(t.lat));\n throw new Error(\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]\");\n };\n var Rl = 2 * Math.PI * 6371008.8;\n function Ul(t) {\n return Rl * Math.cos(t * Math.PI / 180);\n }\n function jl(t) {\n return (180 + t) / 360;\n }\n function ql(t) {\n return (180 - 180 / Math.PI * Math.log(Math.tan(Math.PI / 4 + t * Math.PI / 360))) / 360;\n }\n function Nl(t, e) {\n return t / Ul(e);\n }\n function Kl(t) {\n return 360 / Math.PI * Math.atan(Math.exp((180 - 360 * t) * Math.PI / 180)) - 90;\n }\n var Gl = function (t, e, r) {\n void 0 === r && (r = 0), this.x = +t, this.y = +e, this.z = +r;\n };\n Gl.fromLngLat = function (t, e) {\n void 0 === e && (e = 0);\n var r = Ol.convert(t);\n return new Gl(jl(r.lng), ql(r.lat), Nl(e, r.lat));\n }, Gl.prototype.toLngLat = function () {\n return new Ol(360 * this.x - 180, Kl(this.y));\n }, Gl.prototype.toAltitude = function () {\n return this.z * Ul(Kl(this.y));\n }, Gl.prototype.meterInMercatorCoordinateUnits = function () {\n return 1 / Rl * (t = Kl(this.y), 1 / Math.cos(t * Math.PI / 180));\n var t;\n };\n var Zl = function (t, e, r) {\n this.z = t, this.x = e, this.y = r, this.key = Hl(0, t, t, e, r);\n };\n Zl.prototype.equals = function (t) {\n return this.z === t.z && this.x === t.x && this.y === t.y;\n }, Zl.prototype.url = function (t, e) {\n var r,\n n,\n i,\n a,\n o,\n s = (n = this.y, i = this.z, a = Dl(256 * (r = this.x), 256 * (n = Math.pow(2, i) - n - 1), i), o = Dl(256 * (r + 1), 256 * (n + 1), i), a[0] + \",\" + a[1] + \",\" + o[0] + \",\" + o[1]),\n u = function (t, e, r) {\n for (var n, i = \"\", a = t; a > 0; a--) i += (e & (n = 1 << a - 1) ? 1 : 0) + (r & n ? 2 : 0);\n return i;\n }(this.z, this.x, this.y);\n return t[(this.x + this.y) % t.length].replace(\"{prefix}\", (this.x % 16).toString(16) + (this.y % 16).toString(16)).replace(\"{z}\", String(this.z)).replace(\"{x}\", String(this.x)).replace(\"{y}\", String(\"tms\" === e ? Math.pow(2, this.z) - this.y - 1 : this.y)).replace(\"{quadkey}\", u).replace(\"{bbox-epsg-3857}\", s);\n }, Zl.prototype.getTilePoint = function (t) {\n var e = Math.pow(2, this.z);\n return new i(8192 * (t.x * e - this.x), 8192 * (t.y * e - this.y));\n }, Zl.prototype.toString = function () {\n return this.z + \"/\" + this.x + \"/\" + this.y;\n };\n var Xl = function (t, e) {\n this.wrap = t, this.canonical = e, this.key = Hl(t, e.z, e.z, e.x, e.y);\n },\n Jl = function (t, e, r, n, i) {\n this.overscaledZ = t, this.wrap = e, this.canonical = new Zl(r, +n, +i), this.key = Hl(e, t, r, n, i);\n };\n function Hl(t, e, r, n, i) {\n (t *= 2) < 0 && (t = -1 * t - 1);\n var a = 1 << r;\n return (a * a * t + a * i + n).toString(36) + r.toString(36) + e.toString(36);\n }\n Jl.prototype.equals = function (t) {\n return this.overscaledZ === t.overscaledZ && this.wrap === t.wrap && this.canonical.equals(t.canonical);\n }, Jl.prototype.scaledTo = function (t) {\n var e = this.canonical.z - t;\n return t > this.canonical.z ? new Jl(t, this.wrap, this.canonical.z, this.canonical.x, this.canonical.y) : new Jl(t, this.wrap, t, this.canonical.x >> e, this.canonical.y >> e);\n }, Jl.prototype.calculateScaledKey = function (t, e) {\n var r = this.canonical.z - t;\n return t > this.canonical.z ? Hl(this.wrap * +e, t, this.canonical.z, this.canonical.x, this.canonical.y) : Hl(this.wrap * +e, t, t, this.canonical.x >> r, this.canonical.y >> r);\n }, Jl.prototype.isChildOf = function (t) {\n if (t.wrap !== this.wrap) return !1;\n var e = this.canonical.z - t.canonical.z;\n return 0 === t.overscaledZ || t.overscaledZ < this.overscaledZ && t.canonical.x === this.canonical.x >> e && t.canonical.y === this.canonical.y >> e;\n }, Jl.prototype.children = function (t) {\n if (this.overscaledZ >= t) return [new Jl(this.overscaledZ + 1, this.wrap, this.canonical.z, this.canonical.x, this.canonical.y)];\n var e = this.canonical.z + 1,\n r = 2 * this.canonical.x,\n n = 2 * this.canonical.y;\n return [new Jl(e, this.wrap, e, r, n), new Jl(e, this.wrap, e, r + 1, n), new Jl(e, this.wrap, e, r, n + 1), new Jl(e, this.wrap, e, r + 1, n + 1)];\n }, Jl.prototype.isLessThan = function (t) {\n return this.wrap < t.wrap || !(this.wrap > t.wrap) && (this.overscaledZ < t.overscaledZ || !(this.overscaledZ > t.overscaledZ) && (this.canonical.x < t.canonical.x || !(this.canonical.x > t.canonical.x) && this.canonical.y < t.canonical.y));\n }, Jl.prototype.wrapped = function () {\n return new Jl(this.overscaledZ, 0, this.canonical.z, this.canonical.x, this.canonical.y);\n }, Jl.prototype.unwrapTo = function (t) {\n return new Jl(this.overscaledZ, t, this.canonical.z, this.canonical.x, this.canonical.y);\n }, Jl.prototype.overscaleFactor = function () {\n return Math.pow(2, this.overscaledZ - this.canonical.z);\n }, Jl.prototype.toUnwrapped = function () {\n return new Xl(this.wrap, this.canonical);\n }, Jl.prototype.toString = function () {\n return this.overscaledZ + \"/\" + this.canonical.x + \"/\" + this.canonical.y;\n }, Jl.prototype.getTilePoint = function (t) {\n return this.canonical.getTilePoint(new Gl(t.x - this.wrap, t.y));\n }, On(\"CanonicalTileID\", Zl), On(\"OverscaledTileID\", Jl, {\n omit: [\"posMatrix\"]\n });\n var Yl = function (t, e, r) {\n if (this.uid = t, e.height !== e.width) throw new RangeError(\"DEM tiles must be square\");\n if (r && \"mapbox\" !== r && \"terrarium\" !== r) return A('\"' + r + '\" is not a valid encoding type. Valid types include \"mapbox\" and \"terrarium\".');\n this.stride = e.height;\n var n = this.dim = e.height - 2;\n this.data = new Uint32Array(e.data.buffer), this.encoding = r || \"mapbox\";\n for (var i = 0; i < n; i++) this.data[this._idx(-1, i)] = this.data[this._idx(0, i)], this.data[this._idx(n, i)] = this.data[this._idx(n - 1, i)], this.data[this._idx(i, -1)] = this.data[this._idx(i, 0)], this.data[this._idx(i, n)] = this.data[this._idx(i, n - 1)];\n this.data[this._idx(-1, -1)] = this.data[this._idx(0, 0)], this.data[this._idx(n, -1)] = this.data[this._idx(n - 1, 0)], this.data[this._idx(-1, n)] = this.data[this._idx(0, n - 1)], this.data[this._idx(n, n)] = this.data[this._idx(n - 1, n - 1)];\n };\n Yl.prototype.get = function (t, e) {\n var r = new Uint8Array(this.data.buffer),\n n = 4 * this._idx(t, e);\n return (\"terrarium\" === this.encoding ? this._unpackTerrarium : this._unpackMapbox)(r[n], r[n + 1], r[n + 2]);\n }, Yl.prototype.getUnpackVector = function () {\n return \"terrarium\" === this.encoding ? [256, 1, 1 / 256, 32768] : [6553.6, 25.6, .1, 1e4];\n }, Yl.prototype._idx = function (t, e) {\n if (t < -1 || t >= this.dim + 1 || e < -1 || e >= this.dim + 1) throw new RangeError(\"out of range source coordinates for DEM data\");\n return (e + 1) * this.stride + (t + 1);\n }, Yl.prototype._unpackMapbox = function (t, e, r) {\n return (256 * t * 256 + 256 * e + r) / 10 - 1e4;\n }, Yl.prototype._unpackTerrarium = function (t, e, r) {\n return 256 * t + e + r / 256 - 32768;\n }, Yl.prototype.getPixels = function () {\n return new xo({\n width: this.stride,\n height: this.stride\n }, new Uint8Array(this.data.buffer));\n }, Yl.prototype.backfillBorder = function (t, e, r) {\n if (this.dim !== t.dim) throw new Error(\"dem dimension mismatch\");\n var n = e * this.dim,\n i = e * this.dim + this.dim,\n a = r * this.dim,\n o = r * this.dim + this.dim;\n switch (e) {\n case -1:\n n = i - 1;\n break;\n case 1:\n i = n + 1;\n }\n switch (r) {\n case -1:\n a = o - 1;\n break;\n case 1:\n o = a + 1;\n }\n for (var s = -e * this.dim, u = -r * this.dim, l = a; l < o; l++) for (var p = n; p < i; p++) this.data[this._idx(p, l)] = t.data[this._idx(p + s, l + u)];\n }, On(\"DEMData\", Yl);\n var $l = function (t) {\n this._stringToNumber = {}, this._numberToString = [];\n for (var e = 0; e < t.length; e++) {\n var r = t[e];\n this._stringToNumber[r] = e, this._numberToString[e] = r;\n }\n };\n $l.prototype.encode = function (t) {\n return this._stringToNumber[t];\n }, $l.prototype.decode = function (t) {\n return this._numberToString[t];\n };\n var Wl = function (t, e, r, n, i) {\n this.type = \"Feature\", this._vectorTileFeature = t, t._z = e, t._x = r, t._y = n, this.properties = t.properties, this.id = i;\n },\n Ql = {\n geometry: {\n configurable: !0\n }\n };\n Ql.geometry.get = function () {\n return void 0 === this._geometry && (this._geometry = this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x, this._vectorTileFeature._y, this._vectorTileFeature._z).geometry), this._geometry;\n }, Ql.geometry.set = function (t) {\n this._geometry = t;\n }, Wl.prototype.toJSON = function () {\n var t = {\n geometry: this.geometry\n };\n for (var e in this) \"_geometry\" !== e && \"_vectorTileFeature\" !== e && (t[e] = this[e]);\n return t;\n }, Object.defineProperties(Wl.prototype, Ql);\n var tp = function () {\n this.state = {}, this.stateChanges = {}, this.deletedStates = {};\n };\n tp.prototype.updateState = function (t, e, r) {\n var n = String(e);\n if (this.stateChanges[t] = this.stateChanges[t] || {}, this.stateChanges[t][n] = this.stateChanges[t][n] || {}, h(this.stateChanges[t][n], r), null === this.deletedStates[t]) for (var i in this.deletedStates[t] = {}, this.state[t]) i !== n && (this.deletedStates[t][i] = null);else if (this.deletedStates[t] && null === this.deletedStates[t][n]) for (var a in this.deletedStates[t][n] = {}, this.state[t][n]) r[a] || (this.deletedStates[t][n][a] = null);else for (var o in r) this.deletedStates[t] && this.deletedStates[t][n] && null === this.deletedStates[t][n][o] && delete this.deletedStates[t][n][o];\n }, tp.prototype.removeFeatureState = function (t, e, r) {\n if (null !== this.deletedStates[t]) {\n var n = String(e);\n if (this.deletedStates[t] = this.deletedStates[t] || {}, r && void 0 !== e) null !== this.deletedStates[t][n] && (this.deletedStates[t][n] = this.deletedStates[t][n] || {}, this.deletedStates[t][n][r] = null);else if (void 0 !== e) {\n if (this.stateChanges[t] && this.stateChanges[t][n]) for (r in this.deletedStates[t][n] = {}, this.stateChanges[t][n]) this.deletedStates[t][n][r] = null;else this.deletedStates[t][n] = null;\n } else this.deletedStates[t] = null;\n }\n }, tp.prototype.getState = function (t, e) {\n var r = String(e),\n n = h({}, (this.state[t] || {})[r], (this.stateChanges[t] || {})[r]);\n if (null === this.deletedStates[t]) return {};\n if (this.deletedStates[t]) {\n var i = this.deletedStates[t][e];\n if (null === i) return {};\n for (var a in i) delete n[a];\n }\n return n;\n }, tp.prototype.initializeTileState = function (t, e) {\n t.setFeatureState(this.state, e);\n }, tp.prototype.coalesceChanges = function (t, e) {\n var r = {};\n for (var n in this.stateChanges) {\n this.state[n] = this.state[n] || {};\n var i = {};\n for (var a in this.stateChanges[n]) this.state[n][a] || (this.state[n][a] = {}), h(this.state[n][a], this.stateChanges[n][a]), i[a] = this.state[n][a];\n r[n] = i;\n }\n for (var o in this.deletedStates) {\n this.state[o] = this.state[o] || {};\n var s = {};\n if (null === this.deletedStates[o]) for (var u in this.state[o]) s[u] = {}, this.state[o][u] = {};else for (var l in this.deletedStates[o]) {\n if (null === this.deletedStates[o][l]) this.state[o][l] = {};else for (var p = 0, c = Object.keys(this.deletedStates[o][l]); p < c.length; p += 1) delete this.state[o][l][c[p]];\n s[l] = this.state[o][l];\n }\n r[o] = r[o] || {}, h(r[o], s);\n }\n if (this.stateChanges = {}, this.deletedStates = {}, 0 !== Object.keys(r).length) for (var f in t) t[f].setFeatureState(r, e);\n };\n var ep = function (t, e) {\n this.tileID = t, this.x = t.canonical.x, this.y = t.canonical.y, this.z = t.canonical.z, this.grid = new Tn(8192, 16, 0), this.grid3D = new Tn(8192, 16, 0), this.featureIndexArray = new aa(), this.promoteId = e;\n };\n function rp(t, e, r, n, i) {\n return x(t, function (t, a) {\n var o = e instanceof di ? e.get(a) : null;\n return o && o.evaluate ? o.evaluate(r, n, i) : o;\n });\n }\n function np(t) {\n for (var e = 1 / 0, r = 1 / 0, n = -1 / 0, i = -1 / 0, a = 0, o = t; a < o.length; a += 1) {\n var s = o[a];\n e = Math.min(e, s.x), r = Math.min(r, s.y), n = Math.max(n, s.x), i = Math.max(i, s.y);\n }\n return {\n minX: e,\n minY: r,\n maxX: n,\n maxY: i\n };\n }\n function ip(t, e) {\n return e - t;\n }\n ep.prototype.insert = function (t, e, r, n, i, a) {\n var o = this.featureIndexArray.length;\n this.featureIndexArray.emplaceBack(r, n, i);\n for (var s = a ? this.grid3D : this.grid, u = 0; u < e.length; u++) {\n for (var l = e[u], p = [1 / 0, 1 / 0, -1 / 0, -1 / 0], c = 0; c < l.length; c++) {\n var h = l[c];\n p[0] = Math.min(p[0], h.x), p[1] = Math.min(p[1], h.y), p[2] = Math.max(p[2], h.x), p[3] = Math.max(p[3], h.y);\n }\n p[0] < 8192 && p[1] < 8192 && p[2] >= 0 && p[3] >= 0 && s.insert(o, p[0], p[1], p[2], p[3]);\n }\n }, ep.prototype.loadVTLayers = function () {\n return this.vtLayers || (this.vtLayers = new bs.VectorTile(new Ys(this.rawTileData)).layers, this.sourceLayerCoder = new $l(this.vtLayers ? Object.keys(this.vtLayers).sort() : [\"_geojsonTileLayer\"])), this.vtLayers;\n }, ep.prototype.query = function (t, e, r, n) {\n var a = this;\n this.loadVTLayers();\n for (var o = t.params || {}, s = 8192 / t.tileSize / t.scale, u = on(o.filter), l = t.queryGeometry, p = t.queryPadding * s, c = np(l), h = this.grid.query(c.minX - p, c.minY - p, c.maxX + p, c.maxY + p), f = np(t.cameraQueryGeometry), y = this.grid3D.query(f.minX - p, f.minY - p, f.maxX + p, f.maxY + p, function (e, r, n, a) {\n return function (t, e, r, n, a) {\n for (var o = 0, s = t; o < s.length; o += 1) {\n var u = s[o];\n if (e <= u.x && r <= u.y && n >= u.x && a >= u.y) return !0;\n }\n var l = [new i(e, r), new i(e, a), new i(n, a), new i(n, r)];\n if (t.length > 2) for (var p = 0, c = l; p < c.length; p += 1) if (Wa(t, c[p])) return !0;\n for (var h = 0; h < t.length - 1; h++) if (Qa(t[h], t[h + 1], l)) return !0;\n return !1;\n }(t.cameraQueryGeometry, e - p, r - p, n + p, a + p);\n }), d = 0, m = y; d < m.length; d += 1) h.push(m[d]);\n h.sort(ip);\n for (var v, g = {}, x = function (i) {\n var p = h[i];\n if (p !== v) {\n v = p;\n var c = a.featureIndexArray.get(p),\n f = null;\n a.loadMatchingFeature(g, c.bucketIndex, c.sourceLayerIndex, c.featureIndex, u, o.layers, o.availableImages, e, r, n, function (e, r, n) {\n return f || (f = Ra(e)), r.queryIntersectsFeature(l, e, n, f, a.z, t.transform, s, t.pixelPosMatrix);\n });\n }\n }, b = 0; b < h.length; b++) x(b);\n return g;\n }, ep.prototype.loadMatchingFeature = function (t, e, r, n, i, a, o, s, u, l, p) {\n var c = this.bucketLayerIDs[e];\n if (!a || function (t, e) {\n for (var r = 0; r < t.length; r++) if (e.indexOf(t[r]) >= 0) return !0;\n return !1;\n }(a, c)) {\n var f = this.sourceLayerCoder.decode(r),\n y = this.vtLayers[f].feature(n);\n if (i.needGeometry) {\n var d = Ua(y, !0);\n if (!i.filter(new si(this.tileID.overscaledZ), d, this.tileID.canonical)) return;\n } else if (!i.filter(new si(this.tileID.overscaledZ), y)) return;\n for (var m = this.getId(y, f), v = 0; v < c.length; v++) {\n var g = c[v];\n if (!(a && a.indexOf(g) < 0)) {\n var x = s[g];\n if (x) {\n var b = {};\n void 0 !== m && l && (b = l.getState(x.sourceLayer || \"_geojsonTileLayer\", m));\n var w = h({}, u[g]);\n w.paint = rp(w.paint, x.paint, y, b, o), w.layout = rp(w.layout, x.layout, y, b, o);\n var _ = !p || p(y, x, b);\n if (_) {\n var A = new Wl(y, this.z, this.x, this.y, m);\n A.layer = w;\n var S = t[g];\n void 0 === S && (S = t[g] = []), S.push({\n featureIndex: n,\n feature: A,\n intersectionZ: _\n });\n }\n }\n }\n }\n }\n }, ep.prototype.lookupSymbolFeatures = function (t, e, r, n, i, a, o, s) {\n var u = {};\n this.loadVTLayers();\n for (var l = on(i), p = 0, c = t; p < c.length; p += 1) this.loadMatchingFeature(u, r, n, c[p], l, a, o, s, e);\n return u;\n }, ep.prototype.hasLayer = function (t) {\n for (var e = 0, r = this.bucketLayerIDs; e < r.length; e += 1) for (var n = 0, i = r[e]; n < i.length; n += 1) if (t === i[n]) return !0;\n return !1;\n }, ep.prototype.getId = function (t, e) {\n var r = t.id;\n return this.promoteId && \"boolean\" == typeof (r = t.properties[\"string\" == typeof this.promoteId ? this.promoteId : this.promoteId[e]]) && (r = Number(r)), r;\n }, On(\"FeatureIndex\", ep, {\n omit: [\"rawTileData\", \"sourceLayerCoder\"]\n });\n var ap = function (t, e) {\n this.tileID = t, this.uid = y(), this.uses = 0, this.tileSize = e, this.buckets = {}, this.expirationTime = null, this.queryPadding = 0, this.hasSymbolBuckets = !1, this.hasRTLText = !1, this.dependencies = {}, this.expiredRequestCount = 0, this.state = \"loading\";\n };\n ap.prototype.registerFadeDuration = function (t) {\n var e = t + this.timeAdded;\n e < O.now() || this.fadeEndTime && e < this.fadeEndTime || (this.fadeEndTime = e);\n }, ap.prototype.wasRequested = function () {\n return \"errored\" === this.state || \"loaded\" === this.state || \"reloading\" === this.state;\n }, ap.prototype.loadVectorData = function (t, e, r) {\n if (this.hasData() && this.unloadVectorData(), this.state = \"loaded\", t) {\n for (var n in t.featureIndex && (this.latestFeatureIndex = t.featureIndex, t.rawTileData ? (this.latestRawTileData = t.rawTileData, this.latestFeatureIndex.rawTileData = t.rawTileData) : this.latestRawTileData && (this.latestFeatureIndex.rawTileData = this.latestRawTileData)), this.collisionBoxArray = t.collisionBoxArray, this.buckets = function (t, e) {\n var r = {};\n if (!e) return r;\n for (var n = function () {\n var t = a[i],\n n = t.layerIds.map(function (t) {\n return e.getLayer(t);\n }).filter(Boolean);\n if (0 !== n.length) {\n t.layers = n, t.stateDependentLayerIds && (t.stateDependentLayers = t.stateDependentLayerIds.map(function (t) {\n return n.filter(function (e) {\n return e.id === t;\n })[0];\n }));\n for (var o = 0, s = n; o < s.length; o += 1) r[s[o].id] = t;\n }\n }, i = 0, a = t; i < a.length; i += 1) n();\n return r;\n }(t.buckets, e.style), this.hasSymbolBuckets = !1, this.buckets) {\n var i = this.buckets[n];\n if (i instanceof vl) {\n if (this.hasSymbolBuckets = !0, !r) break;\n i.justReloaded = !0;\n }\n }\n if (this.hasRTLText = !1, this.hasSymbolBuckets) for (var a in this.buckets) {\n var o = this.buckets[a];\n if (o instanceof vl && o.hasRTLText) {\n this.hasRTLText = !0, oi.isLoading() || oi.isLoaded() || \"deferred\" !== ii() || ai();\n break;\n }\n }\n for (var s in this.queryPadding = 0, this.buckets) {\n var u = this.buckets[s];\n this.queryPadding = Math.max(this.queryPadding, e.style.getLayer(s).queryRadius(u));\n }\n t.imageAtlas && (this.imageAtlas = t.imageAtlas), t.glyphAtlasImage && (this.glyphAtlasImage = t.glyphAtlasImage);\n } else this.collisionBoxArray = new $i();\n }, ap.prototype.unloadVectorData = function () {\n for (var t in this.buckets) this.buckets[t].destroy();\n this.buckets = {}, this.imageAtlasTexture && this.imageAtlasTexture.destroy(), this.imageAtlas && (this.imageAtlas = null), this.glyphAtlasTexture && this.glyphAtlasTexture.destroy(), this.latestFeatureIndex = null, this.state = \"unloaded\";\n }, ap.prototype.getBucket = function (t) {\n return this.buckets[t.id];\n }, ap.prototype.upload = function (t) {\n for (var e in this.buckets) {\n var r = this.buckets[e];\n r.uploadPending() && r.upload(t);\n }\n var n = t.gl;\n this.imageAtlas && !this.imageAtlas.uploaded && (this.imageAtlasTexture = new Tl(t, this.imageAtlas.image, n.RGBA), this.imageAtlas.uploaded = !0), this.glyphAtlasImage && (this.glyphAtlasTexture = new Tl(t, this.glyphAtlasImage, n.ALPHA), this.glyphAtlasImage = null);\n }, ap.prototype.prepare = function (t) {\n this.imageAtlas && this.imageAtlas.patchUpdatedImages(t, this.imageAtlasTexture);\n }, ap.prototype.queryRenderedFeatures = function (t, e, r, n, i, a, o, s, u, l) {\n return this.latestFeatureIndex && this.latestFeatureIndex.rawTileData ? this.latestFeatureIndex.query({\n queryGeometry: n,\n cameraQueryGeometry: i,\n scale: a,\n tileSize: this.tileSize,\n pixelPosMatrix: l,\n transform: s,\n params: o,\n queryPadding: this.queryPadding * u\n }, t, e, r) : {};\n }, ap.prototype.querySourceFeatures = function (t, e) {\n var r = this.latestFeatureIndex;\n if (r && r.rawTileData) {\n var n = r.loadVTLayers(),\n i = e ? e.sourceLayer : \"\",\n a = n._geojsonTileLayer || n[i];\n if (a) for (var o = on(e && e.filter), s = this.tileID.canonical, u = s.z, l = s.x, p = s.y, c = {\n z: u,\n x: l,\n y: p\n }, h = 0; h < a.length; h++) {\n var f = a.feature(h);\n if (o.needGeometry) {\n var y = Ua(f, !0);\n if (!o.filter(new si(this.tileID.overscaledZ), y, this.tileID.canonical)) continue;\n } else if (!o.filter(new si(this.tileID.overscaledZ), f)) continue;\n var d = r.getId(f, i),\n m = new Wl(f, u, l, p, d);\n m.tile = c, t.push(m);\n }\n }\n }, ap.prototype.hasData = function () {\n return \"loaded\" === this.state || \"reloading\" === this.state || \"expired\" === this.state;\n }, ap.prototype.patternsLoaded = function () {\n return this.imageAtlas && !!Object.keys(this.imageAtlas.patternPositions).length;\n }, ap.prototype.setExpiryData = function (t) {\n var e = this.expirationTime;\n if (t.cacheControl) {\n var r = z(t.cacheControl);\n r[\"max-age\"] && (this.expirationTime = Date.now() + 1e3 * r[\"max-age\"]);\n } else t.expires && (this.expirationTime = new Date(t.expires).getTime());\n if (this.expirationTime) {\n var n = Date.now(),\n i = !1;\n if (this.expirationTime > n) i = !1;else if (e) {\n if (this.expirationTime < e) i = !0;else {\n var a = this.expirationTime - e;\n a ? this.expirationTime = n + Math.max(a, 3e4) : i = !0;\n }\n } else i = !0;\n i ? (this.expiredRequestCount++, this.state = \"expired\") : this.expiredRequestCount = 0;\n }\n }, ap.prototype.getExpiryTimeout = function () {\n if (this.expirationTime) return this.expiredRequestCount ? 1e3 * (1 << Math.min(this.expiredRequestCount - 1, 31)) : Math.min(this.expirationTime - new Date().getTime(), Math.pow(2, 31) - 1);\n }, ap.prototype.setFeatureState = function (t, e) {\n if (this.latestFeatureIndex && this.latestFeatureIndex.rawTileData && 0 !== Object.keys(t).length) {\n var r = this.latestFeatureIndex.loadVTLayers();\n for (var n in this.buckets) if (e.style.hasLayer(n)) {\n var i = this.buckets[n],\n a = i.layers[0].sourceLayer || \"_geojsonTileLayer\",\n o = r[a],\n s = t[a];\n if (o && s && 0 !== Object.keys(s).length) {\n i.update(s, o, this.imageAtlas && this.imageAtlas.patternPositions || {});\n var u = e && e.style && e.style.getLayer(n);\n u && (this.queryPadding = Math.max(this.queryPadding, u.queryRadius(i)));\n }\n }\n }\n }, ap.prototype.holdingForFade = function () {\n return void 0 !== this.symbolFadeHoldUntil;\n }, ap.prototype.symbolFadeFinished = function () {\n return !this.symbolFadeHoldUntil || this.symbolFadeHoldUntil < O.now();\n }, ap.prototype.clearFadeHold = function () {\n this.symbolFadeHoldUntil = void 0;\n }, ap.prototype.setHoldDuration = function (t) {\n this.symbolFadeHoldUntil = O.now() + t;\n }, ap.prototype.setDependencies = function (t, e) {\n for (var r = {}, n = 0, i = e; n < i.length; n += 1) r[i[n]] = !0;\n this.dependencies[t] = r;\n }, ap.prototype.hasDependency = function (t, e) {\n for (var r = 0, n = t; r < n.length; r += 1) {\n var i = this.dependencies[n[r]];\n if (i) for (var a = 0, o = e; a < o.length; a += 1) if (i[o[a]]) return !0;\n }\n return !1;\n };\n var op = o.performance,\n sp = function (t) {\n this._marks = {\n start: [t.url, \"start\"].join(\"#\"),\n end: [t.url, \"end\"].join(\"#\"),\n measure: t.url.toString()\n }, op.mark(this._marks.start);\n };\n sp.prototype.finish = function () {\n op.mark(this._marks.end);\n var t = op.getEntriesByName(this._marks.measure);\n return 0 === t.length && (op.measure(this._marks.measure, this._marks.start, this._marks.end), t = op.getEntriesByName(this._marks.measure), op.clearMarks(this._marks.start), op.clearMarks(this._marks.end), op.clearMeasures(this._marks.measure)), t;\n }, t.Actor = Fl, t.AlphaImage = go, t.CanonicalTileID = Zl, t.CollisionBoxArray = $i, t.Color = te, t.DEMData = Yl, t.DataConstantProperty = mi, t.DictionaryCoder = $l, t.EXTENT = 8192, t.ErrorEvent = zt, t.EvaluationParameters = si, t.Event = It, t.Evented = Ct, t.FeatureIndex = ep, t.FillBucket = ss, t.FillExtrusionBucket = Ss, t.ImageAtlas = bu, t.ImagePosition = gu, t.LineBucket = Fs, t.LngLat = Ol, t.LngLatBounds = Ll, t.MercatorCoordinate = Gl, t.ONE_EM = 24, t.OverscaledTileID = Jl, t.Point = i, t.Point$1 = i, t.Properties = wi, t.Protobuf = Ys, t.RGBAImage = xo, t.RequestManager = G, t.RequestPerformance = sp, t.ResourceType = yt, t.SegmentVector = sa, t.SourceFeatureState = tp, t.StructArrayLayout1ui2 = Ji, t.StructArrayLayout2f1f2i16 = Ri, t.StructArrayLayout2i4 = Ci, t.StructArrayLayout3ui6 = ji, t.StructArrayLayout4i8 = Ei, t.SymbolBucket = vl, t.Texture = Tl, t.Tile = ap, t.Transitionable = pi, t.Uniform1f = ba, t.Uniform1i = xa, t.Uniform2f = wa, t.Uniform3f = _a, t.Uniform4f = Aa, t.UniformColor = Sa, t.UniformMatrix4f = Ia, t.UnwrappedTileID = Xl, t.ValidationError = Pt, t.WritingMode = wu, t.ZoomHistory = Kn, t.add = function (t, e, r) {\n return t[0] = e[0] + r[0], t[1] = e[1] + r[1], t[2] = e[2] + r[2], t;\n }, t.addDynamicAttributes = fl, t.asyncAll = function (t, e, r) {\n if (!t.length) return r(null, []);\n var n = t.length,\n i = new Array(t.length),\n a = null;\n t.forEach(function (t, o) {\n e(t, function (t, e) {\n t && (a = t), i[o] = e, 0 == --n && r(a, i);\n });\n });\n }, t.bezier = u, t.bindAll = v, t.browser = O, t.cacheEntryPossiblyAdded = function (t) {\n ++ht > ut && (t.getActor().send(\"enforceCacheSizeLimit\", st), ht = 0);\n }, t.clamp = p, t.clearTileCache = function (t) {\n var e = o.caches.delete(\"mapbox-tiles\");\n t && e.catch(t).then(function () {\n return t();\n });\n }, t.clipLine = Zu, t.clone = function (t) {\n var e = new ao(16);\n return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e[9] = t[9], e[10] = t[10], e[11] = t[11], e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;\n }, t.clone$1 = w, t.clone$2 = function (t) {\n var e = new ao(3);\n return e[0] = t[0], e[1] = t[1], e[2] = t[2], e;\n }, t.collisionCircleLayout = Gs, t.config = R, t.create = function () {\n var t = new ao(16);\n return ao != Float32Array && (t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 0, t[6] = 0, t[7] = 0, t[8] = 0, t[9] = 0, t[11] = 0, t[12] = 0, t[13] = 0, t[14] = 0), t[0] = 1, t[5] = 1, t[10] = 1, t[15] = 1, t;\n }, t.create$1 = function () {\n var t = new ao(9);\n return ao != Float32Array && (t[1] = 0, t[2] = 0, t[3] = 0, t[5] = 0, t[6] = 0, t[7] = 0), t[0] = 1, t[4] = 1, t[8] = 1, t;\n }, t.create$2 = function () {\n var t = new ao(4);\n return ao != Float32Array && (t[1] = 0, t[2] = 0), t[0] = 1, t[3] = 1, t;\n }, t.createCommonjsModule = e, t.createExpression = Zr, t.createLayout = Ii, t.createStyleLayer = function (t) {\n return \"custom\" === t.type ? new Il(t) : new zl[t.type](t);\n }, t.cross = function (t, e, r) {\n var n = e[0],\n i = e[1],\n a = e[2],\n o = r[0],\n s = r[1],\n u = r[2];\n return t[0] = i * u - a * s, t[1] = a * o - n * u, t[2] = n * s - i * o, t;\n }, t.deepEqual = function t(e, r) {\n if (Array.isArray(e)) {\n if (!Array.isArray(r) || e.length !== r.length) return !1;\n for (var n = 0; n < e.length; n++) if (!t(e[n], r[n])) return !1;\n return !0;\n }\n if (\"object\" == typeof e && null !== e && null !== r) {\n if (\"object\" != typeof r) return !1;\n if (Object.keys(e).length !== Object.keys(r).length) return !1;\n for (var i in e) if (!t(e[i], r[i])) return !1;\n return !0;\n }\n return e === r;\n }, t.dot = function (t, e) {\n return t[0] * e[0] + t[1] * e[1] + t[2] * e[2];\n }, t.dot$1 = function (t, e) {\n return t[0] * e[0] + t[1] * e[1] + t[2] * e[2] + t[3] * e[3];\n }, t.ease = l, t.emitValidationErrors = Bn, t.endsWith = g, t.enforceCacheSizeLimit = function (t) {\n lt(), tt && tt.then(function (e) {\n e.keys().then(function (r) {\n for (var n = 0; n < r.length - t; n++) e.delete(r[n]);\n });\n });\n }, t.evaluateSizeForFeature = Lu, t.evaluateSizeForZoom = Ou, t.evaluateVariableOffset = al, t.evented = ni, t.extend = h, t.featureFilter = on, t.filterObject = b, t.fromRotation = function (t, e) {\n var r = Math.sin(e),\n n = Math.cos(e);\n return t[0] = n, t[1] = r, t[2] = 0, t[3] = -r, t[4] = n, t[5] = 0, t[6] = 0, t[7] = 0, t[8] = 1, t;\n }, t.getAnchorAlignment = Bu, t.getAnchorJustification = ol, t.getArrayBuffer = bt, t.getImage = At, t.getJSON = function (t, e) {\n return xt(h(t, {\n type: \"json\"\n }), e);\n }, t.getRTLTextPluginStatus = ii, t.getReferrer = mt, t.getVideo = function (t, e) {\n var r,\n n,\n i = o.document.createElement(\"video\");\n i.muted = !0, i.onloadstart = function () {\n e(null, i);\n };\n for (var a = 0; a < t.length; a++) {\n var s = o.document.createElement(\"source\");\n r = t[a], n = void 0, (n = o.document.createElement(\"a\")).href = r, (n.protocol !== o.document.location.protocol || n.host !== o.document.location.host) && (i.crossOrigin = \"Anonymous\"), s.src = t[a], i.appendChild(s);\n }\n return {\n cancel: function () {}\n };\n }, t.identity = oo, t.invert = function (t, e) {\n var r = e[0],\n n = e[1],\n i = e[2],\n a = e[3],\n o = e[4],\n s = e[5],\n u = e[6],\n l = e[7],\n p = e[8],\n c = e[9],\n h = e[10],\n f = e[11],\n y = e[12],\n d = e[13],\n m = e[14],\n v = e[15],\n g = r * s - n * o,\n x = r * u - i * o,\n b = r * l - a * o,\n w = n * u - i * s,\n _ = n * l - a * s,\n A = i * l - a * u,\n S = p * d - c * y,\n k = p * m - h * y,\n I = p * v - f * y,\n z = c * m - h * d,\n C = c * v - f * d,\n E = h * v - f * m,\n P = g * E - x * C + b * z + w * I - _ * k + A * S;\n return P ? (t[0] = (s * E - u * C + l * z) * (P = 1 / P), t[1] = (i * C - n * E - a * z) * P, t[2] = (d * A - m * _ + v * w) * P, t[3] = (h * _ - c * A - f * w) * P, t[4] = (u * I - o * E - l * k) * P, t[5] = (r * E - i * I + a * k) * P, t[6] = (m * b - y * A - v * x) * P, t[7] = (p * A - h * b + f * x) * P, t[8] = (o * C - s * I + l * S) * P, t[9] = (n * I - r * C - a * S) * P, t[10] = (y * _ - d * b + v * g) * P, t[11] = (c * b - p * _ - f * g) * P, t[12] = (s * k - o * z - u * S) * P, t[13] = (r * z - n * k + i * S) * P, t[14] = (d * x - y * w - m * g) * P, t[15] = (p * w - c * x + h * g) * P, t) : null;\n }, t.isChar = Gn, t.isMapboxURL = Z, t.keysDifference = function (t, e) {\n var r = [];\n for (var n in t) n in e || r.push(n);\n return r;\n }, t.makeRequest = xt, t.mapObject = x, t.mercatorXfromLng = jl, t.mercatorYfromLat = ql, t.mercatorZfromAltitude = Nl, t.mul = lo, t.multiply = so, t.mvt = bs, t.nextPowerOfTwo = function (t) {\n return t <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(t) / Math.LN2));\n }, t.normalize = function (t, e) {\n var r = e[0],\n n = e[1],\n i = e[2],\n a = r * r + n * n + i * i;\n return a > 0 && (a = 1 / Math.sqrt(a)), t[0] = e[0] * a, t[1] = e[1] * a, t[2] = e[2] * a, t;\n }, t.number = Ke, t.offscreenCanvasSupported = ft, t.ortho = function (t, e, r, n, i, a, o) {\n var s = 1 / (e - r),\n u = 1 / (n - i),\n l = 1 / (a - o);\n return t[0] = -2 * s, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 0, t[5] = -2 * u, t[6] = 0, t[7] = 0, t[8] = 0, t[9] = 0, t[10] = 2 * l, t[11] = 0, t[12] = (e + r) * s, t[13] = (i + n) * u, t[14] = (o + a) * l, t[15] = 1, t;\n }, t.parseGlyphPBF = function (t) {\n return new Ys(t).readFields(yu, []);\n }, t.pbf = Ys, t.performSymbolLayout = function (t, e, r, n, i, a, o) {\n t.createArrays(), t.tilePixelRatio = 8192 / (512 * t.overscaling), t.compareText = {}, t.iconsNeedLinear = !1;\n var s = t.layers[0].layout,\n u = t.layers[0]._unevaluatedLayout._values,\n l = {};\n if (\"composite\" === t.textSizeData.kind) {\n var p = t.textSizeData,\n c = p.maxZoom;\n l.compositeTextSizes = [u[\"text-size\"].possiblyEvaluate(new si(p.minZoom), o), u[\"text-size\"].possiblyEvaluate(new si(c), o)];\n }\n if (\"composite\" === t.iconSizeData.kind) {\n var h = t.iconSizeData,\n f = h.maxZoom;\n l.compositeIconSizes = [u[\"icon-size\"].possiblyEvaluate(new si(h.minZoom), o), u[\"icon-size\"].possiblyEvaluate(new si(f), o)];\n }\n l.layoutTextSize = u[\"text-size\"].possiblyEvaluate(new si(t.zoom + 1), o), l.layoutIconSize = u[\"icon-size\"].possiblyEvaluate(new si(t.zoom + 1), o), l.textMaxSize = u[\"text-size\"].possiblyEvaluate(new si(18));\n for (var y = 24 * s.get(\"text-line-height\"), d = \"map\" === s.get(\"text-rotation-alignment\") && \"point\" !== s.get(\"symbol-placement\"), m = s.get(\"text-keep-upright\"), v = s.get(\"text-size\"), g = function () {\n var a = b[x],\n u = s.get(\"text-font\").evaluate(a, {}, o).join(\",\"),\n p = v.evaluate(a, {}, o),\n c = l.layoutTextSize.evaluate(a, {}, o),\n h = l.layoutIconSize.evaluate(a, {}, o),\n f = {\n horizontal: {},\n vertical: void 0\n },\n g = a.text,\n w = [0, 0];\n if (g) {\n var _ = g.toString(),\n S = 24 * s.get(\"text-letter-spacing\").evaluate(a, {}, o),\n k = function (t) {\n for (var e = 0, r = t; e < r.length; e += 1) if (n = r[e].charCodeAt(0), Gn.Arabic(n) || Gn[\"Arabic Supplement\"](n) || Gn[\"Arabic Extended-A\"](n) || Gn[\"Arabic Presentation Forms-A\"](n) || Gn[\"Arabic Presentation Forms-B\"](n)) return !1;\n var n;\n return !0;\n }(_) ? S : 0,\n I = s.get(\"text-anchor\").evaluate(a, {}, o),\n z = s.get(\"text-variable-anchor\");\n if (!z) {\n var C = s.get(\"text-radial-offset\").evaluate(a, {}, o);\n w = C ? al(I, [24 * C, il]) : s.get(\"text-offset\").evaluate(a, {}, o).map(function (t) {\n return 24 * t;\n });\n }\n var E = d ? \"center\" : s.get(\"text-justify\").evaluate(a, {}, o),\n P = s.get(\"symbol-placement\"),\n M = \"point\" === P ? 24 * s.get(\"text-max-width\").evaluate(a, {}, o) : 0,\n B = function () {\n t.allowVerticalPlacement && Zn(_) && (f.vertical = Su(g, e, r, i, u, M, y, I, \"left\", k, w, wu.vertical, !0, P, c, p));\n };\n if (!d && z) {\n for (var T = \"auto\" === E ? z.map(function (t) {\n return ol(t);\n }) : [E], V = !1, F = 0; F < T.length; F++) {\n var D = T[F];\n if (!f.horizontal[D]) if (V) f.horizontal[D] = f.horizontal[0];else {\n var L = Su(g, e, r, i, u, M, y, \"center\", D, k, w, wu.horizontal, !1, P, c, p);\n L && (f.horizontal[D] = L, V = 1 === L.positionedLines.length);\n }\n }\n B();\n } else {\n \"auto\" === E && (E = ol(I));\n var O = Su(g, e, r, i, u, M, y, I, E, k, w, wu.horizontal, !1, P, c, p);\n O && (f.horizontal[E] = O), B(), Zn(_) && d && m && (f.vertical = Su(g, e, r, i, u, M, y, I, E, k, w, wu.vertical, !1, P, c, p));\n }\n }\n var R = void 0,\n U = !1;\n if (a.icon && a.icon.name) {\n var j = n[a.icon.name];\n j && (R = function (t, e, r) {\n var n = Bu(r),\n i = e[0] - t.displaySize[0] * n.horizontalAlign,\n a = e[1] - t.displaySize[1] * n.verticalAlign;\n return {\n image: t,\n top: a,\n bottom: a + t.displaySize[1],\n left: i,\n right: i + t.displaySize[0]\n };\n }(i[a.icon.name], s.get(\"icon-offset\").evaluate(a, {}, o), s.get(\"icon-anchor\").evaluate(a, {}, o)), U = j.sdf, void 0 === t.sdfIcons ? t.sdfIcons = j.sdf : t.sdfIcons !== j.sdf && A(\"Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer\"), (j.pixelRatio !== t.pixelRatio || 0 !== s.get(\"icon-rotate\").constantOr(1)) && (t.iconsNeedLinear = !0));\n }\n var q = ul(f.horizontal) || f.vertical;\n t.iconsInText = !!q && q.iconsInText, (q || R) && function (t, e, r, n, i, a, o, s, u, l, p) {\n var c = a.textMaxSize.evaluate(e, {});\n void 0 === c && (c = o);\n var h,\n f = t.layers[0].layout,\n y = f.get(\"icon-offset\").evaluate(e, {}, p),\n d = ul(r.horizontal),\n m = o / 24,\n v = t.tilePixelRatio * m,\n g = t.tilePixelRatio * c / 24,\n x = t.tilePixelRatio * s,\n b = t.tilePixelRatio * f.get(\"symbol-spacing\"),\n w = f.get(\"text-padding\") * t.tilePixelRatio,\n _ = f.get(\"icon-padding\") * t.tilePixelRatio,\n S = f.get(\"text-max-angle\") / 180 * Math.PI,\n k = \"map\" === f.get(\"text-rotation-alignment\") && \"point\" !== f.get(\"symbol-placement\"),\n I = \"map\" === f.get(\"icon-rotation-alignment\") && \"point\" !== f.get(\"symbol-placement\"),\n z = f.get(\"symbol-placement\"),\n C = b / 2,\n E = f.get(\"icon-text-fit\");\n n && \"none\" !== E && (t.allowVerticalPlacement && r.vertical && (h = Vu(n, r.vertical, E, f.get(\"icon-text-fit-padding\"), y, m)), d && (n = Vu(n, d, E, f.get(\"icon-text-fit-padding\"), y, m)));\n var P = function (s, c) {\n c.x < 0 || c.x >= 8192 || c.y < 0 || c.y >= 8192 || function (t, e, r, n, i, a, o, s, u, l, p, c, h, f, y, d, m, v, g, x, b, w, _, S, k) {\n var I,\n z,\n C,\n E,\n P,\n M = t.addToLineVertexArray(e, r),\n B = 0,\n T = 0,\n V = 0,\n F = 0,\n D = -1,\n L = -1,\n O = {},\n R = ha(\"\"),\n U = 0,\n j = 0;\n if (void 0 === s._unevaluatedLayout.getValue(\"text-radial-offset\") ? (U = (I = s.layout.get(\"text-offset\").evaluate(b, {}, S).map(function (t) {\n return 24 * t;\n }))[0], j = I[1]) : (U = 24 * s.layout.get(\"text-radial-offset\").evaluate(b, {}, S), j = il), t.allowVerticalPlacement && n.vertical) {\n var q = s.layout.get(\"text-rotate\").evaluate(b, {}, S) + 90;\n E = new Wu(u, e, l, p, c, n.vertical, h, f, y, q), o && (P = new Wu(u, e, l, p, c, o, m, v, y, q));\n }\n if (i) {\n var N = s.layout.get(\"icon-rotate\").evaluate(b, {}),\n K = \"none\" !== s.layout.get(\"icon-text-fit\"),\n G = Xu(i, N, _, K),\n Z = o ? Xu(o, N, _, K) : void 0;\n C = new Wu(u, e, l, p, c, i, m, v, !1, N), B = 4 * G.length;\n var X = t.iconSizeData,\n J = null;\n \"source\" === X.kind ? (J = [128 * s.layout.get(\"icon-size\").evaluate(b, {})])[0] > 32640 && A(t.layerIds[0] + ': Value for \"icon-size\" is >= 255. Reduce your \"icon-size\".') : \"composite\" === X.kind && ((J = [128 * w.compositeIconSizes[0].evaluate(b, {}, S), 128 * w.compositeIconSizes[1].evaluate(b, {}, S)])[0] > 32640 || J[1] > 32640) && A(t.layerIds[0] + ': Value for \"icon-size\" is >= 255. Reduce your \"icon-size\".'), t.addSymbols(t.icon, G, J, x, g, b, !1, e, M.lineStartIndex, M.lineLength, -1, S), D = t.icon.placedSymbolArray.length - 1, Z && (T = 4 * Z.length, t.addSymbols(t.icon, Z, J, x, g, b, wu.vertical, e, M.lineStartIndex, M.lineLength, -1, S), L = t.icon.placedSymbolArray.length - 1);\n }\n for (var H in n.horizontal) {\n var Y = n.horizontal[H];\n if (!z) {\n R = ha(Y.text);\n var $ = s.layout.get(\"text-rotate\").evaluate(b, {}, S);\n z = new Wu(u, e, l, p, c, Y, h, f, y, $);\n }\n var W = 1 === Y.positionedLines.length;\n if (V += sl(t, e, Y, a, s, y, b, d, M, n.vertical ? wu.horizontal : wu.horizontalOnly, W ? Object.keys(n.horizontal) : [H], O, D, w, S), W) break;\n }\n n.vertical && (F += sl(t, e, n.vertical, a, s, y, b, d, M, wu.vertical, [\"vertical\"], O, L, w, S));\n var Q = z ? z.boxStartIndex : t.collisionBoxArray.length,\n tt = z ? z.boxEndIndex : t.collisionBoxArray.length,\n et = E ? E.boxStartIndex : t.collisionBoxArray.length,\n rt = E ? E.boxEndIndex : t.collisionBoxArray.length,\n nt = C ? C.boxStartIndex : t.collisionBoxArray.length,\n it = C ? C.boxEndIndex : t.collisionBoxArray.length,\n at = P ? P.boxStartIndex : t.collisionBoxArray.length,\n ot = P ? P.boxEndIndex : t.collisionBoxArray.length,\n st = -1,\n ut = function (t, e) {\n return t && t.circleDiameter ? Math.max(t.circleDiameter, e) : e;\n };\n st = ut(z, st), st = ut(E, st), st = ut(C, st);\n var lt = (st = ut(P, st)) > -1 ? 1 : 0;\n lt && (st *= k / 24), t.glyphOffsetArray.length >= vl.MAX_GLYPHS && A(\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\"), void 0 !== b.sortKey && t.addToSortKeyRanges(t.symbolInstances.length, b.sortKey), t.symbolInstances.emplaceBack(e.x, e.y, O.right >= 0 ? O.right : -1, O.center >= 0 ? O.center : -1, O.left >= 0 ? O.left : -1, O.vertical || -1, D, L, R, Q, tt, et, rt, nt, it, at, ot, l, V, F, B, T, lt, 0, h, U, j, st);\n }(t, c, s, r, n, i, h, t.layers[0], t.collisionBoxArray, e.index, e.sourceLayerIndex, t.index, v, w, k, u, x, _, I, y, e, a, l, p, o);\n };\n if (\"line\" === z) for (var M = 0, B = Zu(e.geometry, 0, 0, 8192, 8192); M < B.length; M += 1) for (var T = B[M], V = 0, F = Gu(T, b, S, r.vertical || d, n, 24, g, t.overscaling, 8192); V < F.length; V += 1) {\n var D = F[V];\n d && ll(t, d.text, C, D) || P(T, D);\n } else if (\"line-center\" === z) for (var L = 0, O = e.geometry; L < O.length; L += 1) {\n var R = O[L];\n if (R.length > 1) {\n var U = Ku(R, S, r.vertical || d, n, 24, g);\n U && P(R, U);\n }\n } else if (\"Polygon\" === e.type) for (var j = 0, q = ns(e.geometry, 0); j < q.length; j += 1) {\n var N = q[j],\n K = el(N, 16);\n P(N[0], new Fu(K.x, K.y, 0));\n } else if (\"LineString\" === e.type) for (var G = 0, Z = e.geometry; G < Z.length; G += 1) {\n var X = Z[G];\n P(X, new Fu(X[0].x, X[0].y, 0));\n } else if (\"Point\" === e.type) for (var J = 0, H = e.geometry; J < H.length; J += 1) for (var Y = 0, $ = H[J]; Y < $.length; Y += 1) {\n var W = $[Y];\n P([W], new Fu(W.x, W.y, 0));\n }\n }(t, a, f, R, n, l, c, h, w, U, o);\n }, x = 0, b = t.features; x < b.length; x += 1) g();\n a && t.generateCollisionDebugBuffers();\n }, t.perspective = function (t, e, r, n, i) {\n var a,\n o = 1 / Math.tan(e / 2);\n return t[0] = o / r, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 0, t[5] = o, t[6] = 0, t[7] = 0, t[8] = 0, t[9] = 0, t[11] = -1, t[12] = 0, t[13] = 0, t[15] = 0, null != i && i !== 1 / 0 ? (t[10] = (i + n) * (a = 1 / (n - i)), t[14] = 2 * i * n * a) : (t[10] = -1, t[14] = -2 * n), t;\n }, t.pick = function (t, e) {\n for (var r = {}, n = 0; n < e.length; n++) {\n var i = e[n];\n i in t && (r[i] = t[i]);\n }\n return r;\n }, t.plugin = oi, t.polygonIntersectsPolygon = Na, t.postMapLoadEvent = ot, t.postTurnstileEvent = it, t.potpack = vu, t.refProperties = [\"type\", \"source\", \"source-layer\", \"minzoom\", \"maxzoom\", \"filter\", \"layout\"], t.register = On, t.registerForPluginStateChange = function (t) {\n return t({\n pluginStatus: Qn,\n pluginURL: ti\n }), ni.on(\"pluginStateChange\", t), t;\n }, t.renderColorRamp = wo, t.rotate = function (t, e, r) {\n var n = e[0],\n i = e[1],\n a = e[2],\n o = e[3],\n s = Math.sin(r),\n u = Math.cos(r);\n return t[0] = n * u + a * s, t[1] = i * u + o * s, t[2] = n * -s + a * u, t[3] = i * -s + o * u, t;\n }, t.rotateX = function (t, e, r) {\n var n = Math.sin(r),\n i = Math.cos(r),\n a = e[4],\n o = e[5],\n s = e[6],\n u = e[7],\n l = e[8],\n p = e[9],\n c = e[10],\n h = e[11];\n return e !== t && (t[0] = e[0], t[1] = e[1], t[2] = e[2], t[3] = e[3], t[12] = e[12], t[13] = e[13], t[14] = e[14], t[15] = e[15]), t[4] = a * i + l * n, t[5] = o * i + p * n, t[6] = s * i + c * n, t[7] = u * i + h * n, t[8] = l * i - a * n, t[9] = p * i - o * n, t[10] = c * i - s * n, t[11] = h * i - u * n, t;\n }, t.rotateZ = function (t, e, r) {\n var n = Math.sin(r),\n i = Math.cos(r),\n a = e[0],\n o = e[1],\n s = e[2],\n u = e[3],\n l = e[4],\n p = e[5],\n c = e[6],\n h = e[7];\n return e !== t && (t[8] = e[8], t[9] = e[9], t[10] = e[10], t[11] = e[11], t[12] = e[12], t[13] = e[13], t[14] = e[14], t[15] = e[15]), t[0] = a * i + l * n, t[1] = o * i + p * n, t[2] = s * i + c * n, t[3] = u * i + h * n, t[4] = l * i - a * n, t[5] = p * i - o * n, t[6] = c * i - s * n, t[7] = h * i - u * n, t;\n }, t.scale = function (t, e, r) {\n var n = r[0],\n i = r[1],\n a = r[2];\n return t[0] = e[0] * n, t[1] = e[1] * n, t[2] = e[2] * n, t[3] = e[3] * n, t[4] = e[4] * i, t[5] = e[5] * i, t[6] = e[6] * i, t[7] = e[7] * i, t[8] = e[8] * a, t[9] = e[9] * a, t[10] = e[10] * a, t[11] = e[11] * a, t[12] = e[12], t[13] = e[13], t[14] = e[14], t[15] = e[15], t;\n }, t.scale$1 = function (t, e, r) {\n return t[0] = e[0] * r, t[1] = e[1] * r, t[2] = e[2] * r, t[3] = e[3] * r, t;\n }, t.scale$2 = function (t, e, r) {\n return t[0] = e[0] * r, t[1] = e[1] * r, t[2] = e[2] * r, t;\n }, t.setCacheLimits = function (t, e) {\n st = t, ut = e;\n }, t.setRTLTextPlugin = function (t, e, r) {\n if (void 0 === r && (r = !1), \"deferred\" === Qn || \"loading\" === Qn || \"loaded\" === Qn) throw new Error(\"setRTLTextPlugin cannot be called multiple times.\");\n ti = O.resolveURL(t), Qn = \"deferred\", Wn = e, ri(), r || ai();\n }, t.sphericalToCartesian = function (t) {\n var e = t[0],\n r = t[1],\n n = t[2];\n return r += 90, r *= Math.PI / 180, n *= Math.PI / 180, {\n x: e * Math.cos(r) * Math.sin(n),\n y: e * Math.sin(r) * Math.sin(n),\n z: e * Math.cos(n)\n };\n }, t.sqrLen = function (t) {\n var e = t[0],\n r = t[1];\n return e * e + r * r;\n }, t.styleSpec = Et, t.sub = function (t, e, r) {\n return t[0] = e[0] - r[0], t[1] = e[1] - r[1], t[2] = e[2] - r[2], t;\n }, t.symbolSize = Ru, t.transformMat3 = function (t, e, r) {\n var n = e[0],\n i = e[1],\n a = e[2];\n return t[0] = n * r[0] + i * r[3] + a * r[6], t[1] = n * r[1] + i * r[4] + a * r[7], t[2] = n * r[2] + i * r[5] + a * r[8], t;\n }, t.transformMat4 = po, t.translate = function (t, e, r) {\n var n,\n i,\n a,\n o,\n s,\n u,\n l,\n p,\n c,\n h,\n f,\n y,\n d = r[0],\n m = r[1],\n v = r[2];\n return e === t ? (t[12] = e[0] * d + e[4] * m + e[8] * v + e[12], t[13] = e[1] * d + e[5] * m + e[9] * v + e[13], t[14] = e[2] * d + e[6] * m + e[10] * v + e[14], t[15] = e[3] * d + e[7] * m + e[11] * v + e[15]) : (i = e[1], a = e[2], o = e[3], s = e[4], u = e[5], l = e[6], p = e[7], c = e[8], h = e[9], f = e[10], y = e[11], t[0] = n = e[0], t[1] = i, t[2] = a, t[3] = o, t[4] = s, t[5] = u, t[6] = l, t[7] = p, t[8] = c, t[9] = h, t[10] = f, t[11] = y, t[12] = n * d + s * m + c * v + e[12], t[13] = i * d + u * m + h * v + e[13], t[14] = a * d + l * m + f * v + e[14], t[15] = o * d + p * m + y * v + e[15]), t;\n }, t.triggerPluginCompletionEvent = ei, t.uniqueId = y, t.validateCustomStyleLayer = function (t) {\n var e = [],\n r = t.id;\n return void 0 === r && e.push({\n message: \"layers.\" + r + ': missing required property \"id\"'\n }), void 0 === t.render && e.push({\n message: \"layers.\" + r + ': missing required method \"render\"'\n }), t.renderingMode && \"2d\" !== t.renderingMode && \"3d\" !== t.renderingMode && e.push({\n message: \"layers.\" + r + ': property \"renderingMode\" must be either \"2d\" or \"3d\"'\n }), e;\n }, t.validateLight = En, t.validateStyle = Cn, t.values = function (t) {\n var e = [];\n for (var r in t) e.push(t[r]);\n return e;\n }, t.vectorTile = bs, t.version = \"1.13.3\", t.warnOnce = A, t.webpSupported = U, t.window = o, t.wrap = c;\n });\n define([\"./shared\"], function (e) {\n \"use strict\";\n\n function t(e) {\n var r = typeof e;\n if (\"number\" === r || \"boolean\" === r || \"string\" === r || null == e) return JSON.stringify(e);\n if (Array.isArray(e)) {\n for (var i = \"[\", o = 0, n = e; o < n.length; o += 1) i += t(n[o]) + \",\";\n return i + \"]\";\n }\n for (var a = Object.keys(e).sort(), s = \"{\", l = 0; l < a.length; l++) s += JSON.stringify(a[l]) + \":\" + t(e[a[l]]) + \",\";\n return s + \"}\";\n }\n function r(r) {\n for (var i = \"\", o = 0, n = e.refProperties; o < n.length; o += 1) i += \"/\" + t(r[n[o]]);\n return i;\n }\n var i = function (e) {\n this.keyCache = {}, e && this.replace(e);\n };\n i.prototype.replace = function (e) {\n this._layerConfigs = {}, this._layers = {}, this.update(e, []);\n }, i.prototype.update = function (t, i) {\n for (var o = this, n = 0, a = t; n < a.length; n += 1) {\n var s = a[n];\n this._layerConfigs[s.id] = s;\n var l = this._layers[s.id] = e.createStyleLayer(s);\n l._featureFilter = e.featureFilter(l.filter), this.keyCache[s.id] && delete this.keyCache[s.id];\n }\n for (var u = 0, h = i; u < h.length; u += 1) {\n var c = h[u];\n delete this.keyCache[c], delete this._layerConfigs[c], delete this._layers[c];\n }\n this.familiesBySource = {};\n for (var p = 0, f = function (e, t) {\n for (var i = {}, o = 0; o < e.length; o++) {\n var n = t && t[e[o].id] || r(e[o]);\n t && (t[e[o].id] = n);\n var a = i[n];\n a || (a = i[n] = []), a.push(e[o]);\n }\n var s = [];\n for (var l in i) s.push(i[l]);\n return s;\n }(e.values(this._layerConfigs), this.keyCache); p < f.length; p += 1) {\n var d = f[p].map(function (e) {\n return o._layers[e.id];\n }),\n g = d[0];\n if (\"none\" !== g.visibility) {\n var v = g.source || \"\",\n m = this.familiesBySource[v];\n m || (m = this.familiesBySource[v] = {});\n var y = g.sourceLayer || \"_geojsonTileLayer\",\n x = m[y];\n x || (x = m[y] = []), x.push(d);\n }\n }\n };\n var o = function (t) {\n var r = {},\n i = [];\n for (var o in t) {\n var n = t[o],\n a = r[o] = {};\n for (var s in n) {\n var l = n[+s];\n if (l && 0 !== l.bitmap.width && 0 !== l.bitmap.height) {\n var u = {\n x: 0,\n y: 0,\n w: l.bitmap.width + 2,\n h: l.bitmap.height + 2\n };\n i.push(u), a[s] = {\n rect: u,\n metrics: l.metrics\n };\n }\n }\n }\n var h = e.potpack(i),\n c = new e.AlphaImage({\n width: h.w || 1,\n height: h.h || 1\n });\n for (var p in t) {\n var f = t[p];\n for (var d in f) {\n var g = f[+d];\n if (g && 0 !== g.bitmap.width && 0 !== g.bitmap.height) {\n var v = r[p][d].rect;\n e.AlphaImage.copy(g.bitmap, c, {\n x: 0,\n y: 0\n }, {\n x: v.x + 1,\n y: v.y + 1\n }, g.bitmap);\n }\n }\n }\n this.image = c, this.positions = r;\n };\n e.register(\"GlyphAtlas\", o);\n var n = function (t) {\n this.tileID = new e.OverscaledTileID(t.tileID.overscaledZ, t.tileID.wrap, t.tileID.canonical.z, t.tileID.canonical.x, t.tileID.canonical.y), this.uid = t.uid, this.zoom = t.zoom, this.pixelRatio = t.pixelRatio, this.tileSize = t.tileSize, this.source = t.source, this.overscaling = this.tileID.overscaleFactor(), this.showCollisionBoxes = t.showCollisionBoxes, this.collectResourceTiming = !!t.collectResourceTiming, this.returnDependencies = !!t.returnDependencies, this.promoteId = t.promoteId;\n };\n function a(t, r, i) {\n for (var o = new e.EvaluationParameters(r), n = 0, a = t; n < a.length; n += 1) a[n].recalculate(o, i);\n }\n function s(t, r) {\n var i = e.getArrayBuffer(t.request, function (t, i, o, n) {\n t ? r(t) : i && r(null, {\n vectorTile: new e.vectorTile.VectorTile(new e.pbf(i)),\n rawData: i,\n cacheControl: o,\n expires: n\n });\n });\n return function () {\n i.cancel(), r();\n };\n }\n n.prototype.parse = function (t, r, i, n, s) {\n var l = this;\n this.status = \"parsing\", this.data = t, this.collisionBoxArray = new e.CollisionBoxArray();\n var u = new e.DictionaryCoder(Object.keys(t.layers).sort()),\n h = new e.FeatureIndex(this.tileID, this.promoteId);\n h.bucketLayerIDs = [];\n var c,\n p,\n f,\n d,\n g = {},\n v = {\n featureIndex: h,\n iconDependencies: {},\n patternDependencies: {},\n glyphDependencies: {},\n availableImages: i\n },\n m = r.familiesBySource[this.source];\n for (var y in m) {\n var x = t.layers[y];\n if (x) {\n 1 === x.version && e.warnOnce('Vector tile source \"' + this.source + '\" layer \"' + y + '\" does not use vector tile spec v2 and therefore may have some rendering errors.');\n for (var w = u.encode(y), S = [], I = 0; I < x.length; I++) {\n var M = x.feature(I),\n b = h.getId(M, y);\n S.push({\n feature: M,\n id: b,\n index: I,\n sourceLayerIndex: w\n });\n }\n for (var _ = 0, k = m[y]; _ < k.length; _ += 1) {\n var P = k[_],\n T = P[0];\n T.minzoom && this.zoom < Math.floor(T.minzoom) || T.maxzoom && this.zoom >= T.maxzoom || \"none\" !== T.visibility && (a(P, this.zoom, i), (g[T.id] = T.createBucket({\n index: h.bucketLayerIDs.length,\n layers: P,\n zoom: this.zoom,\n pixelRatio: this.pixelRatio,\n overscaling: this.overscaling,\n collisionBoxArray: this.collisionBoxArray,\n sourceLayerIndex: w,\n sourceID: this.source\n })).populate(S, v, this.tileID.canonical), h.bucketLayerIDs.push(P.map(function (e) {\n return e.id;\n })));\n }\n }\n }\n var C = e.mapObject(v.glyphDependencies, function (e) {\n return Object.keys(e).map(Number);\n });\n Object.keys(C).length ? n.send(\"getGlyphs\", {\n uid: this.uid,\n stacks: C\n }, function (e, t) {\n c || (c = e, p = t, z.call(l));\n }) : p = {};\n var D = Object.keys(v.iconDependencies);\n D.length ? n.send(\"getImages\", {\n icons: D,\n source: this.source,\n tileID: this.tileID,\n type: \"icons\"\n }, function (e, t) {\n c || (c = e, f = t, z.call(l));\n }) : f = {};\n var L = Object.keys(v.patternDependencies);\n function z() {\n if (c) return s(c);\n if (p && f && d) {\n var t = new o(p),\n r = new e.ImageAtlas(f, d);\n for (var n in g) {\n var l = g[n];\n l instanceof e.SymbolBucket ? (a(l.layers, this.zoom, i), e.performSymbolLayout(l, p, t.positions, f, r.iconPositions, this.showCollisionBoxes, this.tileID.canonical)) : l.hasPattern && (l instanceof e.LineBucket || l instanceof e.FillBucket || l instanceof e.FillExtrusionBucket) && (a(l.layers, this.zoom, i), l.addFeatures(v, this.tileID.canonical, r.patternPositions));\n }\n this.status = \"done\", s(null, {\n buckets: e.values(g).filter(function (e) {\n return !e.isEmpty();\n }),\n featureIndex: h,\n collisionBoxArray: this.collisionBoxArray,\n glyphAtlasImage: t.image,\n imageAtlas: r,\n glyphMap: this.returnDependencies ? p : null,\n iconMap: this.returnDependencies ? f : null,\n glyphPositions: this.returnDependencies ? t.positions : null\n });\n }\n }\n L.length ? n.send(\"getImages\", {\n icons: L,\n source: this.source,\n tileID: this.tileID,\n type: \"patterns\"\n }, function (e, t) {\n c || (c = e, d = t, z.call(l));\n }) : d = {}, z.call(this);\n };\n var l = function (e, t, r, i) {\n this.actor = e, this.layerIndex = t, this.availableImages = r, this.loadVectorData = i || s, this.loading = {}, this.loaded = {};\n };\n l.prototype.loadTile = function (t, r) {\n var i = this,\n o = t.uid;\n this.loading || (this.loading = {});\n var a = !!(t && t.request && t.request.collectResourceTiming) && new e.RequestPerformance(t.request),\n s = this.loading[o] = new n(t);\n s.abort = this.loadVectorData(t, function (t, n) {\n if (delete i.loading[o], t || !n) return s.status = \"done\", i.loaded[o] = s, r(t);\n var l = n.rawData,\n u = {};\n n.expires && (u.expires = n.expires), n.cacheControl && (u.cacheControl = n.cacheControl);\n var h = {};\n if (a) {\n var c = a.finish();\n c && (h.resourceTiming = JSON.parse(JSON.stringify(c)));\n }\n s.vectorTile = n.vectorTile, s.parse(n.vectorTile, i.layerIndex, i.availableImages, i.actor, function (t, i) {\n if (t || !i) return r(t);\n r(null, e.extend({\n rawTileData: l.slice(0)\n }, i, u, h));\n }), i.loaded = i.loaded || {}, i.loaded[o] = s;\n });\n }, l.prototype.reloadTile = function (e, t) {\n var r = this,\n i = this.loaded,\n o = e.uid,\n n = this;\n if (i && i[o]) {\n var a = i[o];\n a.showCollisionBoxes = e.showCollisionBoxes;\n var s = function (e, i) {\n var o = a.reloadCallback;\n o && (delete a.reloadCallback, a.parse(a.vectorTile, n.layerIndex, r.availableImages, n.actor, o)), t(e, i);\n };\n \"parsing\" === a.status ? a.reloadCallback = s : \"done\" === a.status && (a.vectorTile ? a.parse(a.vectorTile, this.layerIndex, this.availableImages, this.actor, s) : s());\n }\n }, l.prototype.abortTile = function (e, t) {\n var r = this.loading,\n i = e.uid;\n r && r[i] && r[i].abort && (r[i].abort(), delete r[i]), t();\n }, l.prototype.removeTile = function (e, t) {\n var r = this.loaded,\n i = e.uid;\n r && r[i] && delete r[i], t();\n };\n var u = e.window.ImageBitmap,\n h = function () {\n this.loaded = {};\n };\n function c(e, t) {\n if (0 !== e.length) {\n p(e[0], t);\n for (var r = 1; r < e.length; r++) p(e[r], !t);\n }\n }\n function p(e, t) {\n for (var r = 0, i = 0, o = 0, n = e.length, a = n - 1; o < n; a = o++) {\n var s = (e[o][0] - e[a][0]) * (e[a][1] + e[o][1]),\n l = r + s;\n i += Math.abs(r) >= Math.abs(s) ? r - l + s : s - l + r, r = l;\n }\n r + i >= 0 != !!t && e.reverse();\n }\n h.prototype.loadTile = function (t, r) {\n var i = t.uid,\n o = t.encoding,\n n = t.rawImageData,\n a = u && n instanceof u ? this.getImageData(n) : n,\n s = new e.DEMData(i, a, o);\n this.loaded = this.loaded || {}, this.loaded[i] = s, r(null, s);\n }, h.prototype.getImageData = function (t) {\n this.offscreenCanvas && this.offscreenCanvasContext || (this.offscreenCanvas = new OffscreenCanvas(t.width, t.height), this.offscreenCanvasContext = this.offscreenCanvas.getContext(\"2d\")), this.offscreenCanvas.width = t.width, this.offscreenCanvas.height = t.height, this.offscreenCanvasContext.drawImage(t, 0, 0, t.width, t.height);\n var r = this.offscreenCanvasContext.getImageData(-1, -1, t.width + 2, t.height + 2);\n return this.offscreenCanvasContext.clearRect(0, 0, this.offscreenCanvas.width, this.offscreenCanvas.height), new e.RGBAImage({\n width: r.width,\n height: r.height\n }, r.data);\n }, h.prototype.removeTile = function (e) {\n var t = this.loaded,\n r = e.uid;\n t && t[r] && delete t[r];\n };\n var f = e.vectorTile.VectorTileFeature.prototype.toGeoJSON,\n d = function (t) {\n this._feature = t, this.extent = e.EXTENT, this.type = t.type, this.properties = t.tags, \"id\" in t && !isNaN(t.id) && (this.id = parseInt(t.id, 10));\n };\n d.prototype.loadGeometry = function () {\n if (1 === this._feature.type) {\n for (var t = [], r = 0, i = this._feature.geometry; r < i.length; r += 1) {\n var o = i[r];\n t.push([new e.Point$1(o[0], o[1])]);\n }\n return t;\n }\n for (var n = [], a = 0, s = this._feature.geometry; a < s.length; a += 1) {\n for (var l = [], u = 0, h = s[a]; u < h.length; u += 1) {\n var c = h[u];\n l.push(new e.Point$1(c[0], c[1]));\n }\n n.push(l);\n }\n return n;\n }, d.prototype.toGeoJSON = function (e, t, r) {\n return f.call(this, e, t, r);\n };\n var g = function (t) {\n this.layers = {\n _geojsonTileLayer: this\n }, this.name = \"_geojsonTileLayer\", this.extent = e.EXTENT, this.length = t.length, this._features = t;\n };\n g.prototype.feature = function (e) {\n return new d(this._features[e]);\n };\n var v = e.vectorTile.VectorTileFeature,\n m = y;\n function y(e, t) {\n this.options = t || {}, this.features = e, this.length = e.length;\n }\n function x(e, t) {\n this.id = \"number\" == typeof e.id ? e.id : void 0, this.type = e.type, this.rawGeometry = 1 === e.type ? [e.geometry] : e.geometry, this.properties = e.tags, this.extent = t || 4096;\n }\n y.prototype.feature = function (e) {\n return new x(this.features[e], this.options.extent);\n }, x.prototype.loadGeometry = function () {\n var t = this.rawGeometry;\n this.geometry = [];\n for (var r = 0; r < t.length; r++) {\n for (var i = t[r], o = [], n = 0; n < i.length; n++) o.push(new e.Point$1(i[n][0], i[n][1]));\n this.geometry.push(o);\n }\n return this.geometry;\n }, x.prototype.bbox = function () {\n this.geometry || this.loadGeometry();\n for (var e = this.geometry, t = 1 / 0, r = -1 / 0, i = 1 / 0, o = -1 / 0, n = 0; n < e.length; n++) for (var a = e[n], s = 0; s < a.length; s++) {\n var l = a[s];\n t = Math.min(t, l.x), r = Math.max(r, l.x), i = Math.min(i, l.y), o = Math.max(o, l.y);\n }\n return [t, i, r, o];\n }, x.prototype.toGeoJSON = v.prototype.toGeoJSON;\n var w = I,\n S = m;\n function I(t) {\n var r = new e.pbf();\n return function (e, t) {\n for (var r in e.layers) t.writeMessage(3, M, e.layers[r]);\n }(t, r), r.finish();\n }\n function M(e, t) {\n var r;\n t.writeVarintField(15, e.version || 1), t.writeStringField(1, e.name || \"\"), t.writeVarintField(5, e.extent || 4096);\n var i = {\n keys: [],\n values: [],\n keycache: {},\n valuecache: {}\n };\n for (r = 0; r < e.length; r++) i.feature = e.feature(r), t.writeMessage(2, b, i);\n var o = i.keys;\n for (r = 0; r < o.length; r++) t.writeStringField(3, o[r]);\n var n = i.values;\n for (r = 0; r < n.length; r++) t.writeMessage(4, C, n[r]);\n }\n function b(e, t) {\n var r = e.feature;\n void 0 !== r.id && t.writeVarintField(1, r.id), t.writeMessage(2, _, e), t.writeVarintField(3, r.type), t.writeMessage(4, T, r);\n }\n function _(e, t) {\n var r = e.feature,\n i = e.keys,\n o = e.values,\n n = e.keycache,\n a = e.valuecache;\n for (var s in r.properties) {\n var l = n[s];\n void 0 === l && (i.push(s), n[s] = l = i.length - 1), t.writeVarint(l);\n var u = r.properties[s],\n h = typeof u;\n \"string\" !== h && \"boolean\" !== h && \"number\" !== h && (u = JSON.stringify(u));\n var c = h + \":\" + u,\n p = a[c];\n void 0 === p && (o.push(u), a[c] = p = o.length - 1), t.writeVarint(p);\n }\n }\n function k(e, t) {\n return (t << 3) + (7 & e);\n }\n function P(e) {\n return e << 1 ^ e >> 31;\n }\n function T(e, t) {\n for (var r = e.loadGeometry(), i = e.type, o = 0, n = 0, a = r.length, s = 0; s < a; s++) {\n var l = r[s],\n u = 1;\n 1 === i && (u = l.length), t.writeVarint(k(1, u));\n for (var h = 3 === i ? l.length - 1 : l.length, c = 0; c < h; c++) {\n 1 === c && 1 !== i && t.writeVarint(k(2, h - 1));\n var p = l[c].x - o,\n f = l[c].y - n;\n t.writeVarint(P(p)), t.writeVarint(P(f)), o += p, n += f;\n }\n 3 === i && t.writeVarint(k(7, 1));\n }\n }\n function C(e, t) {\n var r = typeof e;\n \"string\" === r ? t.writeStringField(1, e) : \"boolean\" === r ? t.writeBooleanField(7, e) : \"number\" === r && (e % 1 != 0 ? t.writeDoubleField(3, e) : e < 0 ? t.writeSVarintField(6, e) : t.writeVarintField(5, e));\n }\n function D(e, t, r, i) {\n L(e, r, i), L(t, 2 * r, 2 * i), L(t, 2 * r + 1, 2 * i + 1);\n }\n function L(e, t, r) {\n var i = e[t];\n e[t] = e[r], e[r] = i;\n }\n function z(e, t, r, i) {\n var o = e - r,\n n = t - i;\n return o * o + n * n;\n }\n w.fromVectorTileJs = I, w.fromGeojsonVt = function (e, t) {\n t = t || {};\n var r = {};\n for (var i in e) r[i] = new m(e[i].features, t), r[i].name = i, r[i].version = t.version, r[i].extent = t.extent;\n return I({\n layers: r\n });\n }, w.GeoJSONWrapper = S;\n var O = function (e) {\n return e[0];\n },\n E = function (e) {\n return e[1];\n },\n F = function (e, t, r, i, o) {\n void 0 === t && (t = O), void 0 === r && (r = E), void 0 === i && (i = 64), void 0 === o && (o = Float64Array), this.nodeSize = i, this.points = e;\n for (var n = e.length < 65536 ? Uint16Array : Uint32Array, a = this.ids = new n(e.length), s = this.coords = new o(2 * e.length), l = 0; l < e.length; l++) a[l] = l, s[2 * l] = t(e[l]), s[2 * l + 1] = r(e[l]);\n !function e(t, r, i, o, n, a) {\n if (!(n - o <= i)) {\n var s = o + n >> 1;\n !function e(t, r, i, o, n, a) {\n for (; n > o;) {\n if (n - o > 600) {\n var s = n - o + 1,\n l = i - o + 1,\n u = Math.log(s),\n h = .5 * Math.exp(2 * u / 3),\n c = .5 * Math.sqrt(u * h * (s - h) / s) * (l - s / 2 < 0 ? -1 : 1);\n e(t, r, i, Math.max(o, Math.floor(i - l * h / s + c)), Math.min(n, Math.floor(i + (s - l) * h / s + c)), a);\n }\n var p = r[2 * i + a],\n f = o,\n d = n;\n for (D(t, r, o, i), r[2 * n + a] > p && D(t, r, o, n); f < d;) {\n for (D(t, r, f, d), f++, d--; r[2 * f + a] < p;) f++;\n for (; r[2 * d + a] > p;) d--;\n }\n r[2 * o + a] === p ? D(t, r, o, d) : D(t, r, ++d, n), d <= i && (o = d + 1), i <= d && (n = d - 1);\n }\n }(t, r, s, o, n, a % 2), e(t, r, i, o, s - 1, a + 1), e(t, r, i, s + 1, n, a + 1);\n }\n }(a, s, i, 0, a.length - 1, 0);\n };\n F.prototype.range = function (e, t, r, i) {\n return function (e, t, r, i, o, n, a) {\n for (var s, l, u = [0, e.length - 1, 0], h = []; u.length;) {\n var c = u.pop(),\n p = u.pop(),\n f = u.pop();\n if (p - f <= a) for (var d = f; d <= p; d++) l = t[2 * d + 1], (s = t[2 * d]) >= r && s <= o && l >= i && l <= n && h.push(e[d]);else {\n var g = Math.floor((f + p) / 2);\n l = t[2 * g + 1], (s = t[2 * g]) >= r && s <= o && l >= i && l <= n && h.push(e[g]);\n var v = (c + 1) % 2;\n (0 === c ? r <= s : i <= l) && (u.push(f), u.push(g - 1), u.push(v)), (0 === c ? o >= s : n >= l) && (u.push(g + 1), u.push(p), u.push(v));\n }\n }\n return h;\n }(this.ids, this.coords, e, t, r, i, this.nodeSize);\n }, F.prototype.within = function (e, t, r) {\n return function (e, t, r, i, o, n) {\n for (var a = [0, e.length - 1, 0], s = [], l = o * o; a.length;) {\n var u = a.pop(),\n h = a.pop(),\n c = a.pop();\n if (h - c <= n) for (var p = c; p <= h; p++) z(t[2 * p], t[2 * p + 1], r, i) <= l && s.push(e[p]);else {\n var f = Math.floor((c + h) / 2),\n d = t[2 * f],\n g = t[2 * f + 1];\n z(d, g, r, i) <= l && s.push(e[f]);\n var v = (u + 1) % 2;\n (0 === u ? r - o <= d : i - o <= g) && (a.push(c), a.push(f - 1), a.push(v)), (0 === u ? r + o >= d : i + o >= g) && (a.push(f + 1), a.push(h), a.push(v));\n }\n }\n return s;\n }(this.ids, this.coords, e, t, r, this.nodeSize);\n };\n var N = {\n minZoom: 0,\n maxZoom: 16,\n minPoints: 2,\n radius: 40,\n extent: 512,\n nodeSize: 64,\n log: !1,\n generateId: !1,\n reduce: null,\n map: function (e) {\n return e;\n }\n },\n J = function (e) {\n this.options = V(Object.create(N), e), this.trees = new Array(this.options.maxZoom + 1);\n };\n function Z(e, t, r, i, o) {\n return {\n x: e,\n y: t,\n zoom: 1 / 0,\n id: r,\n parentId: -1,\n numPoints: i,\n properties: o\n };\n }\n function A(e, t) {\n var r = e.geometry.coordinates,\n i = r[1];\n return {\n x: Y(r[0]),\n y: j(i),\n zoom: 1 / 0,\n index: t,\n parentId: -1\n };\n }\n function B(e) {\n return {\n type: \"Feature\",\n id: e.id,\n properties: G(e),\n geometry: {\n type: \"Point\",\n coordinates: [(i = e.x, 360 * (i - .5)), (t = e.y, r = (180 - 360 * t) * Math.PI / 180, 360 * Math.atan(Math.exp(r)) / Math.PI - 90)]\n }\n };\n var t, r, i;\n }\n function G(e) {\n var t = e.numPoints,\n r = t >= 1e4 ? Math.round(t / 1e3) + \"k\" : t >= 1e3 ? Math.round(t / 100) / 10 + \"k\" : t;\n return V(V({}, e.properties), {\n cluster: !0,\n cluster_id: e.id,\n point_count: t,\n point_count_abbreviated: r\n });\n }\n function Y(e) {\n return e / 360 + .5;\n }\n function j(e) {\n var t = Math.sin(e * Math.PI / 180),\n r = .5 - .25 * Math.log((1 + t) / (1 - t)) / Math.PI;\n return r < 0 ? 0 : r > 1 ? 1 : r;\n }\n function V(e, t) {\n for (var r in t) e[r] = t[r];\n return e;\n }\n function X(e) {\n return e.x;\n }\n function W(e) {\n return e.y;\n }\n function R(e, t, r, i, o, n) {\n var a = o - r,\n s = n - i;\n if (0 !== a || 0 !== s) {\n var l = ((e - r) * a + (t - i) * s) / (a * a + s * s);\n l > 1 ? (r = o, i = n) : l > 0 && (r += a * l, i += s * l);\n }\n return (a = e - r) * a + (s = t - i) * s;\n }\n function q(e, t, r, i) {\n var o = {\n id: void 0 === e ? null : e,\n type: t,\n geometry: r,\n tags: i,\n minX: 1 / 0,\n minY: 1 / 0,\n maxX: -1 / 0,\n maxY: -1 / 0\n };\n return function (e) {\n var t = e.geometry,\n r = e.type;\n if (\"Point\" === r || \"MultiPoint\" === r || \"LineString\" === r) U(e, t);else if (\"Polygon\" === r || \"MultiLineString\" === r) for (var i = 0; i < t.length; i++) U(e, t[i]);else if (\"MultiPolygon\" === r) for (i = 0; i < t.length; i++) for (var o = 0; o < t[i].length; o++) U(e, t[i][o]);\n }(o), o;\n }\n function U(e, t) {\n for (var r = 0; r < t.length; r += 3) e.minX = Math.min(e.minX, t[r]), e.minY = Math.min(e.minY, t[r + 1]), e.maxX = Math.max(e.maxX, t[r]), e.maxY = Math.max(e.maxY, t[r + 1]);\n }\n function $(e, t, r, i) {\n if (t.geometry) {\n var o = t.geometry.coordinates,\n n = t.geometry.type,\n a = Math.pow(r.tolerance / ((1 << r.maxZoom) * r.extent), 2),\n s = [],\n l = t.id;\n if (r.promoteId ? l = t.properties[r.promoteId] : r.generateId && (l = i || 0), \"Point\" === n) H(o, s);else if (\"MultiPoint\" === n) for (var u = 0; u < o.length; u++) H(o[u], s);else if (\"LineString\" === n) K(o, s, a, !1);else if (\"MultiLineString\" === n) {\n if (r.lineMetrics) {\n for (u = 0; u < o.length; u++) K(o[u], s = [], a, !1), e.push(q(l, \"LineString\", s, t.properties));\n return;\n }\n Q(o, s, a, !1);\n } else if (\"Polygon\" === n) Q(o, s, a, !0);else {\n if (\"MultiPolygon\" !== n) {\n if (\"GeometryCollection\" === n) {\n for (u = 0; u < t.geometry.geometries.length; u++) $(e, {\n id: l,\n geometry: t.geometry.geometries[u],\n properties: t.properties\n }, r, i);\n return;\n }\n throw new Error(\"Input data is not a valid GeoJSON object.\");\n }\n for (u = 0; u < o.length; u++) {\n var h = [];\n Q(o[u], h, a, !0), s.push(h);\n }\n }\n e.push(q(l, n, s, t.properties));\n }\n }\n function H(e, t) {\n t.push(ee(e[0])), t.push(te(e[1])), t.push(0);\n }\n function K(e, t, r, i) {\n for (var o, n, a = 0, s = 0; s < e.length; s++) {\n var l = ee(e[s][0]),\n u = te(e[s][1]);\n t.push(l), t.push(u), t.push(0), s > 0 && (a += i ? (o * u - l * n) / 2 : Math.sqrt(Math.pow(l - o, 2) + Math.pow(u - n, 2))), o = l, n = u;\n }\n var h = t.length - 3;\n t[2] = 1, function e(t, r, i, o) {\n for (var n, a = o, s = i - r >> 1, l = i - r, u = t[r], h = t[r + 1], c = t[i], p = t[i + 1], f = r + 3; f < i; f += 3) {\n var d = R(t[f], t[f + 1], u, h, c, p);\n if (d > a) n = f, a = d;else if (d === a) {\n var g = Math.abs(f - s);\n g < l && (n = f, l = g);\n }\n }\n a > o && (n - r > 3 && e(t, r, n, o), t[n + 2] = a, i - n > 3 && e(t, n, i, o));\n }(t, 0, h, r), t[h + 2] = 1, t.size = Math.abs(a), t.start = 0, t.end = t.size;\n }\n function Q(e, t, r, i) {\n for (var o = 0; o < e.length; o++) {\n var n = [];\n K(e[o], n, r, i), t.push(n);\n }\n }\n function ee(e) {\n return e / 360 + .5;\n }\n function te(e) {\n var t = Math.sin(e * Math.PI / 180),\n r = .5 - .25 * Math.log((1 + t) / (1 - t)) / Math.PI;\n return r < 0 ? 0 : r > 1 ? 1 : r;\n }\n function re(e, t, r, i, o, n, a, s) {\n if (i /= t, n >= (r /= t) && a < i) return e;\n if (a < r || n >= i) return null;\n for (var l = [], u = 0; u < e.length; u++) {\n var h = e[u],\n c = h.geometry,\n p = h.type,\n f = 0 === o ? h.minX : h.minY,\n d = 0 === o ? h.maxX : h.maxY;\n if (f >= r && d < i) l.push(h);else if (!(d < r || f >= i)) {\n var g = [];\n if (\"Point\" === p || \"MultiPoint\" === p) ie(c, g, r, i, o);else if (\"LineString\" === p) oe(c, g, r, i, o, !1, s.lineMetrics);else if (\"MultiLineString\" === p) ae(c, g, r, i, o, !1);else if (\"Polygon\" === p) ae(c, g, r, i, o, !0);else if (\"MultiPolygon\" === p) for (var v = 0; v < c.length; v++) {\n var m = [];\n ae(c[v], m, r, i, o, !0), m.length && g.push(m);\n }\n if (g.length) {\n if (s.lineMetrics && \"LineString\" === p) {\n for (v = 0; v < g.length; v++) l.push(q(h.id, p, g[v], h.tags));\n continue;\n }\n \"LineString\" !== p && \"MultiLineString\" !== p || (1 === g.length ? (p = \"LineString\", g = g[0]) : p = \"MultiLineString\"), \"Point\" !== p && \"MultiPoint\" !== p || (p = 3 === g.length ? \"Point\" : \"MultiPoint\"), l.push(q(h.id, p, g, h.tags));\n }\n }\n }\n return l.length ? l : null;\n }\n function ie(e, t, r, i, o) {\n for (var n = 0; n < e.length; n += 3) {\n var a = e[n + o];\n a >= r && a <= i && (t.push(e[n]), t.push(e[n + 1]), t.push(e[n + 2]));\n }\n }\n function oe(e, t, r, i, o, n, a) {\n for (var s, l, u = ne(e), h = 0 === o ? le : ue, c = e.start, p = 0; p < e.length - 3; p += 3) {\n var f = e[p],\n d = e[p + 1],\n g = e[p + 2],\n v = e[p + 3],\n m = e[p + 4],\n y = 0 === o ? f : d,\n x = 0 === o ? v : m,\n w = !1;\n a && (s = Math.sqrt(Math.pow(f - v, 2) + Math.pow(d - m, 2))), y < r ? x > r && (l = h(u, f, d, v, m, r), a && (u.start = c + s * l)) : y > i ? x < i && (l = h(u, f, d, v, m, i), a && (u.start = c + s * l)) : se(u, f, d, g), x < r && y >= r && (l = h(u, f, d, v, m, r), w = !0), x > i && y <= i && (l = h(u, f, d, v, m, i), w = !0), !n && w && (a && (u.end = c + s * l), t.push(u), u = ne(e)), a && (c += s);\n }\n var S = e.length - 3;\n f = e[S], d = e[S + 1], g = e[S + 2], (y = 0 === o ? f : d) >= r && y <= i && se(u, f, d, g), S = u.length - 3, n && S >= 3 && (u[S] !== u[0] || u[S + 1] !== u[1]) && se(u, u[0], u[1], u[2]), u.length && t.push(u);\n }\n function ne(e) {\n var t = [];\n return t.size = e.size, t.start = e.start, t.end = e.end, t;\n }\n function ae(e, t, r, i, o, n) {\n for (var a = 0; a < e.length; a++) oe(e[a], t, r, i, o, n, !1);\n }\n function se(e, t, r, i) {\n e.push(t), e.push(r), e.push(i);\n }\n function le(e, t, r, i, o, n) {\n var a = (n - t) / (i - t);\n return e.push(n), e.push(r + (o - r) * a), e.push(1), a;\n }\n function ue(e, t, r, i, o, n) {\n var a = (n - r) / (o - r);\n return e.push(t + (i - t) * a), e.push(n), e.push(1), a;\n }\n function he(e, t) {\n for (var r = [], i = 0; i < e.length; i++) {\n var o,\n n = e[i],\n a = n.type;\n if (\"Point\" === a || \"MultiPoint\" === a || \"LineString\" === a) o = ce(n.geometry, t);else if (\"MultiLineString\" === a || \"Polygon\" === a) {\n o = [];\n for (var s = 0; s < n.geometry.length; s++) o.push(ce(n.geometry[s], t));\n } else if (\"MultiPolygon\" === a) for (o = [], s = 0; s < n.geometry.length; s++) {\n for (var l = [], u = 0; u < n.geometry[s].length; u++) l.push(ce(n.geometry[s][u], t));\n o.push(l);\n }\n r.push(q(n.id, a, o, n.tags));\n }\n return r;\n }\n function ce(e, t) {\n var r = [];\n r.size = e.size, void 0 !== e.start && (r.start = e.start, r.end = e.end);\n for (var i = 0; i < e.length; i += 3) r.push(e[i] + t, e[i + 1], e[i + 2]);\n return r;\n }\n function pe(e, t) {\n if (e.transformed) return e;\n var r,\n i,\n o,\n n = 1 << e.z,\n a = e.x,\n s = e.y;\n for (r = 0; r < e.features.length; r++) {\n var l = e.features[r],\n u = l.geometry,\n h = l.type;\n if (l.geometry = [], 1 === h) for (i = 0; i < u.length; i += 2) l.geometry.push(fe(u[i], u[i + 1], t, n, a, s));else for (i = 0; i < u.length; i++) {\n var c = [];\n for (o = 0; o < u[i].length; o += 2) c.push(fe(u[i][o], u[i][o + 1], t, n, a, s));\n l.geometry.push(c);\n }\n }\n return e.transformed = !0, e;\n }\n function fe(e, t, r, i, o, n) {\n return [Math.round(r * (e * i - o)), Math.round(r * (t * i - n))];\n }\n function de(e, t, r, i, o) {\n for (var n = t === o.maxZoom ? 0 : o.tolerance / ((1 << t) * o.extent), a = {\n features: [],\n numPoints: 0,\n numSimplified: 0,\n numFeatures: 0,\n source: null,\n x: r,\n y: i,\n z: t,\n transformed: !1,\n minX: 2,\n minY: 1,\n maxX: -1,\n maxY: 0\n }, s = 0; s < e.length; s++) {\n a.numFeatures++, ge(a, e[s], n, o);\n var l = e[s].minX,\n u = e[s].minY,\n h = e[s].maxX,\n c = e[s].maxY;\n l < a.minX && (a.minX = l), u < a.minY && (a.minY = u), h > a.maxX && (a.maxX = h), c > a.maxY && (a.maxY = c);\n }\n return a;\n }\n function ge(e, t, r, i) {\n var o = t.geometry,\n n = t.type,\n a = [];\n if (\"Point\" === n || \"MultiPoint\" === n) for (var s = 0; s < o.length; s += 3) a.push(o[s]), a.push(o[s + 1]), e.numPoints++, e.numSimplified++;else if (\"LineString\" === n) ve(a, o, e, r, !1, !1);else if (\"MultiLineString\" === n || \"Polygon\" === n) for (s = 0; s < o.length; s++) ve(a, o[s], e, r, \"Polygon\" === n, 0 === s);else if (\"MultiPolygon\" === n) for (var l = 0; l < o.length; l++) {\n var u = o[l];\n for (s = 0; s < u.length; s++) ve(a, u[s], e, r, !0, 0 === s);\n }\n if (a.length) {\n var h = t.tags || null;\n if (\"LineString\" === n && i.lineMetrics) {\n for (var c in h = {}, t.tags) h[c] = t.tags[c];\n h.mapbox_clip_start = o.start / o.size, h.mapbox_clip_end = o.end / o.size;\n }\n var p = {\n geometry: a,\n type: \"Polygon\" === n || \"MultiPolygon\" === n ? 3 : \"LineString\" === n || \"MultiLineString\" === n ? 2 : 1,\n tags: h\n };\n null !== t.id && (p.id = t.id), e.features.push(p);\n }\n }\n function ve(e, t, r, i, o, n) {\n var a = i * i;\n if (i > 0 && t.size < (o ? a : i)) r.numPoints += t.length / 3;else {\n for (var s = [], l = 0; l < t.length; l += 3) (0 === i || t[l + 2] > a) && (r.numSimplified++, s.push(t[l]), s.push(t[l + 1])), r.numPoints++;\n o && function (e, t) {\n for (var r = 0, i = 0, o = e.length, n = o - 2; i < o; n = i, i += 2) r += (e[i] - e[n]) * (e[i + 1] + e[n + 1]);\n if (r > 0 === t) for (i = 0, o = e.length; i < o / 2; i += 2) {\n var a = e[i],\n s = e[i + 1];\n e[i] = e[o - 2 - i], e[i + 1] = e[o - 1 - i], e[o - 2 - i] = a, e[o - 1 - i] = s;\n }\n }(s, n), e.push(s);\n }\n }\n function me(e, t) {\n var r = (t = this.options = function (e, t) {\n for (var r in t) e[r] = t[r];\n return e;\n }(Object.create(this.options), t)).debug;\n if (r && console.time(\"preprocess data\"), t.maxZoom < 0 || t.maxZoom > 24) throw new Error(\"maxZoom should be in the 0-24 range\");\n if (t.promoteId && t.generateId) throw new Error(\"promoteId and generateId cannot be used together.\");\n var i = function (e, t) {\n var r = [];\n if (\"FeatureCollection\" === e.type) for (var i = 0; i < e.features.length; i++) $(r, e.features[i], t, i);else $(r, \"Feature\" === e.type ? e : {\n geometry: e\n }, t);\n return r;\n }(e, t);\n this.tiles = {}, this.tileCoords = [], r && (console.timeEnd(\"preprocess data\"), console.log(\"index: maxZoom: %d, maxPoints: %d\", t.indexMaxZoom, t.indexMaxPoints), console.time(\"generate tiles\"), this.stats = {}, this.total = 0), (i = function (e, t) {\n var r = t.buffer / t.extent,\n i = e,\n o = re(e, 1, -1 - r, r, 0, -1, 2, t),\n n = re(e, 1, 1 - r, 2 + r, 0, -1, 2, t);\n return (o || n) && (i = re(e, 1, -r, 1 + r, 0, -1, 2, t) || [], o && (i = he(o, 1).concat(i)), n && (i = i.concat(he(n, -1)))), i;\n }(i, t)).length && this.splitTile(i, 0, 0, 0), r && (i.length && console.log(\"features: %d, points: %d\", this.tiles[0].numFeatures, this.tiles[0].numPoints), console.timeEnd(\"generate tiles\"), console.log(\"tiles generated:\", this.total, JSON.stringify(this.stats)));\n }\n function ye(e, t, r) {\n return 32 * ((1 << e) * r + t) + e;\n }\n function xe(e, t) {\n var r = e.tileID.canonical;\n if (!this._geoJSONIndex) return t(null, null);\n var i = this._geoJSONIndex.getTile(r.z, r.x, r.y);\n if (!i) return t(null, null);\n var o = new g(i.features),\n n = w(o);\n 0 === n.byteOffset && n.byteLength === n.buffer.byteLength || (n = new Uint8Array(n)), t(null, {\n vectorTile: o,\n rawData: n.buffer\n });\n }\n J.prototype.load = function (e) {\n var t = this.options,\n r = t.log,\n i = t.minZoom,\n o = t.maxZoom,\n n = t.nodeSize;\n r && console.time(\"total time\");\n var a = \"prepare \" + e.length + \" points\";\n r && console.time(a), this.points = e;\n for (var s = [], l = 0; l < e.length; l++) e[l].geometry && s.push(A(e[l], l));\n this.trees[o + 1] = new F(s, X, W, n, Float32Array), r && console.timeEnd(a);\n for (var u = o; u >= i; u--) {\n var h = +Date.now();\n s = this._cluster(s, u), this.trees[u] = new F(s, X, W, n, Float32Array), r && console.log(\"z%d: %d clusters in %dms\", u, s.length, +Date.now() - h);\n }\n return r && console.timeEnd(\"total time\"), this;\n }, J.prototype.getClusters = function (e, t) {\n var r = ((e[0] + 180) % 360 + 360) % 360 - 180,\n i = Math.max(-90, Math.min(90, e[1])),\n o = 180 === e[2] ? 180 : ((e[2] + 180) % 360 + 360) % 360 - 180,\n n = Math.max(-90, Math.min(90, e[3]));\n if (e[2] - e[0] >= 360) r = -180, o = 180;else if (r > o) {\n var a = this.getClusters([r, i, 180, n], t),\n s = this.getClusters([-180, i, o, n], t);\n return a.concat(s);\n }\n for (var l = this.trees[this._limitZoom(t)], u = [], h = 0, c = l.range(Y(r), j(n), Y(o), j(i)); h < c.length; h += 1) {\n var p = l.points[c[h]];\n u.push(p.numPoints ? B(p) : this.points[p.index]);\n }\n return u;\n }, J.prototype.getChildren = function (e) {\n var t = this._getOriginId(e),\n r = this._getOriginZoom(e),\n i = \"No cluster with the specified id.\",\n o = this.trees[r];\n if (!o) throw new Error(i);\n var n = o.points[t];\n if (!n) throw new Error(i);\n for (var a = this.options.radius / (this.options.extent * Math.pow(2, r - 1)), s = [], l = 0, u = o.within(n.x, n.y, a); l < u.length; l += 1) {\n var h = o.points[u[l]];\n h.parentId === e && s.push(h.numPoints ? B(h) : this.points[h.index]);\n }\n if (0 === s.length) throw new Error(i);\n return s;\n }, J.prototype.getLeaves = function (e, t, r) {\n var i = [];\n return this._appendLeaves(i, e, t = t || 10, r = r || 0, 0), i;\n }, J.prototype.getTile = function (e, t, r) {\n var i = this.trees[this._limitZoom(e)],\n o = Math.pow(2, e),\n n = this.options,\n a = n.radius / n.extent,\n s = (r - a) / o,\n l = (r + 1 + a) / o,\n u = {\n features: []\n };\n return this._addTileFeatures(i.range((t - a) / o, s, (t + 1 + a) / o, l), i.points, t, r, o, u), 0 === t && this._addTileFeatures(i.range(1 - a / o, s, 1, l), i.points, o, r, o, u), t === o - 1 && this._addTileFeatures(i.range(0, s, a / o, l), i.points, -1, r, o, u), u.features.length ? u : null;\n }, J.prototype.getClusterExpansionZoom = function (e) {\n for (var t = this._getOriginZoom(e) - 1; t <= this.options.maxZoom;) {\n var r = this.getChildren(e);\n if (t++, 1 !== r.length) break;\n e = r[0].properties.cluster_id;\n }\n return t;\n }, J.prototype._appendLeaves = function (e, t, r, i, o) {\n for (var n = 0, a = this.getChildren(t); n < a.length; n += 1) {\n var s = a[n],\n l = s.properties;\n if (l && l.cluster ? o + l.point_count <= i ? o += l.point_count : o = this._appendLeaves(e, l.cluster_id, r, i, o) : o < i ? o++ : e.push(s), e.length === r) break;\n }\n return o;\n }, J.prototype._addTileFeatures = function (e, t, r, i, o, n) {\n for (var a = 0, s = e; a < s.length; a += 1) {\n var l = t[s[a]],\n u = l.numPoints,\n h = {\n type: 1,\n geometry: [[Math.round(this.options.extent * (l.x * o - r)), Math.round(this.options.extent * (l.y * o - i))]],\n tags: u ? G(l) : this.points[l.index].properties\n },\n c = void 0;\n u ? c = l.id : this.options.generateId ? c = l.index : this.points[l.index].id && (c = this.points[l.index].id), void 0 !== c && (h.id = c), n.features.push(h);\n }\n }, J.prototype._limitZoom = function (e) {\n return Math.max(this.options.minZoom, Math.min(+e, this.options.maxZoom + 1));\n }, J.prototype._cluster = function (e, t) {\n for (var r = [], i = this.options, o = i.reduce, n = i.minPoints, a = i.radius / (i.extent * Math.pow(2, t)), s = 0; s < e.length; s++) {\n var l = e[s];\n if (!(l.zoom <= t)) {\n l.zoom = t;\n for (var u = this.trees[t + 1], h = u.within(l.x, l.y, a), c = l.numPoints || 1, p = c, f = 0, d = h; f < d.length; f += 1) {\n var g = u.points[d[f]];\n g.zoom > t && (p += g.numPoints || 1);\n }\n if (p >= n) {\n for (var v = l.x * c, m = l.y * c, y = o && c > 1 ? this._map(l, !0) : null, x = (s << 5) + (t + 1) + this.points.length, w = 0, S = h; w < S.length; w += 1) {\n var I = u.points[S[w]];\n if (!(I.zoom <= t)) {\n I.zoom = t;\n var M = I.numPoints || 1;\n v += I.x * M, m += I.y * M, I.parentId = x, o && (y || (y = this._map(l, !0)), o(y, this._map(I)));\n }\n }\n l.parentId = x, r.push(Z(v / p, m / p, x, p, y));\n } else if (r.push(l), p > 1) for (var b = 0, _ = h; b < _.length; b += 1) {\n var k = u.points[_[b]];\n k.zoom <= t || (k.zoom = t, r.push(k));\n }\n }\n }\n return r;\n }, J.prototype._getOriginId = function (e) {\n return e - this.points.length >> 5;\n }, J.prototype._getOriginZoom = function (e) {\n return (e - this.points.length) % 32;\n }, J.prototype._map = function (e, t) {\n if (e.numPoints) return t ? V({}, e.properties) : e.properties;\n var r = this.points[e.index].properties,\n i = this.options.map(r);\n return t && i === r ? V({}, i) : i;\n }, me.prototype.options = {\n maxZoom: 14,\n indexMaxZoom: 5,\n indexMaxPoints: 1e5,\n tolerance: 3,\n extent: 4096,\n buffer: 64,\n lineMetrics: !1,\n promoteId: null,\n generateId: !1,\n debug: 0\n }, me.prototype.splitTile = function (e, t, r, i, o, n, a) {\n for (var s = [e, t, r, i], l = this.options, u = l.debug; s.length;) {\n i = s.pop(), r = s.pop(), t = s.pop(), e = s.pop();\n var h = 1 << t,\n c = ye(t, r, i),\n p = this.tiles[c];\n if (!p && (u > 1 && console.time(\"creation\"), p = this.tiles[c] = de(e, t, r, i, l), this.tileCoords.push({\n z: t,\n x: r,\n y: i\n }), u)) {\n u > 1 && (console.log(\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\", t, r, i, p.numFeatures, p.numPoints, p.numSimplified), console.timeEnd(\"creation\"));\n var f = \"z\" + t;\n this.stats[f] = (this.stats[f] || 0) + 1, this.total++;\n }\n if (p.source = e, o) {\n if (t === l.maxZoom || t === o) continue;\n var d = 1 << o - t;\n if (r !== Math.floor(n / d) || i !== Math.floor(a / d)) continue;\n } else if (t === l.indexMaxZoom || p.numPoints <= l.indexMaxPoints) continue;\n if (p.source = null, 0 !== e.length) {\n u > 1 && console.time(\"clipping\");\n var g,\n v,\n m,\n y,\n x,\n w,\n S = .5 * l.buffer / l.extent,\n I = .5 - S,\n M = .5 + S,\n b = 1 + S;\n g = v = m = y = null, x = re(e, h, r - S, r + M, 0, p.minX, p.maxX, l), w = re(e, h, r + I, r + b, 0, p.minX, p.maxX, l), e = null, x && (g = re(x, h, i - S, i + M, 1, p.minY, p.maxY, l), v = re(x, h, i + I, i + b, 1, p.minY, p.maxY, l), x = null), w && (m = re(w, h, i - S, i + M, 1, p.minY, p.maxY, l), y = re(w, h, i + I, i + b, 1, p.minY, p.maxY, l), w = null), u > 1 && console.timeEnd(\"clipping\"), s.push(g || [], t + 1, 2 * r, 2 * i), s.push(v || [], t + 1, 2 * r, 2 * i + 1), s.push(m || [], t + 1, 2 * r + 1, 2 * i), s.push(y || [], t + 1, 2 * r + 1, 2 * i + 1);\n }\n }\n }, me.prototype.getTile = function (e, t, r) {\n var i = this.options,\n o = i.extent,\n n = i.debug;\n if (e < 0 || e > 24) return null;\n var a = 1 << e,\n s = ye(e, t = (t % a + a) % a, r);\n if (this.tiles[s]) return pe(this.tiles[s], o);\n n > 1 && console.log(\"drilling down to z%d-%d-%d\", e, t, r);\n for (var l, u = e, h = t, c = r; !l && u > 0;) u--, h = Math.floor(h / 2), c = Math.floor(c / 2), l = this.tiles[ye(u, h, c)];\n return l && l.source ? (n > 1 && console.log(\"found parent tile z%d-%d-%d\", u, h, c), n > 1 && console.time(\"drilling down\"), this.splitTile(l.source, u, h, c, e, t, r), n > 1 && console.timeEnd(\"drilling down\"), this.tiles[s] ? pe(this.tiles[s], o) : null) : null;\n };\n var we = function (t) {\n function r(e, r, i, o) {\n t.call(this, e, r, i, xe), o && (this.loadGeoJSON = o);\n }\n return t && (r.__proto__ = t), (r.prototype = Object.create(t && t.prototype)).constructor = r, r.prototype.loadData = function (e, t) {\n this._pendingCallback && this._pendingCallback(null, {\n abandoned: !0\n }), this._pendingCallback = t, this._pendingLoadDataParams = e, this._state && \"Idle\" !== this._state ? this._state = \"NeedsLoadData\" : (this._state = \"Coalescing\", this._loadData());\n }, r.prototype._loadData = function () {\n var t = this;\n if (this._pendingCallback && this._pendingLoadDataParams) {\n var r = this._pendingCallback,\n i = this._pendingLoadDataParams;\n delete this._pendingCallback, delete this._pendingLoadDataParams;\n var o = !!(i && i.request && i.request.collectResourceTiming) && new e.RequestPerformance(i.request);\n this.loadGeoJSON(i, function (n, a) {\n if (n || !a) return r(n);\n if (\"object\" != typeof a) return r(new Error(\"Input data given to '\" + i.source + \"' is not a valid GeoJSON object.\"));\n !function e(t, r) {\n var i,\n o = t && t.type;\n if (\"FeatureCollection\" === o) for (i = 0; i < t.features.length; i++) e(t.features[i], r);else if (\"GeometryCollection\" === o) for (i = 0; i < t.geometries.length; i++) e(t.geometries[i], r);else if (\"Feature\" === o) e(t.geometry, r);else if (\"Polygon\" === o) c(t.coordinates, r);else if (\"MultiPolygon\" === o) for (i = 0; i < t.coordinates.length; i++) c(t.coordinates[i], r);\n return t;\n }(a, !0);\n try {\n if (i.filter) {\n var s = e.createExpression(i.filter, {\n type: \"boolean\",\n \"property-type\": \"data-driven\",\n overridable: !1,\n transition: !1\n });\n if (\"error\" === s.result) throw new Error(s.value.map(function (e) {\n return e.key + \": \" + e.message;\n }).join(\", \"));\n var l = a.features.filter(function (e) {\n return s.value.evaluate({\n zoom: 0\n }, e);\n });\n a = {\n type: \"FeatureCollection\",\n features: l\n };\n }\n t._geoJSONIndex = i.cluster ? new J(function (t) {\n var r = t.superclusterOptions,\n i = t.clusterProperties;\n if (!i || !r) return r;\n for (var o = {}, n = {}, a = {\n accumulated: null,\n zoom: 0\n }, s = {\n properties: null\n }, l = Object.keys(i), u = 0, h = l; u < h.length; u += 1) {\n var c = h[u],\n p = i[c],\n f = p[0],\n d = e.createExpression(p[1]),\n g = e.createExpression(\"string\" == typeof f ? [f, [\"accumulated\"], [\"get\", c]] : f);\n o[c] = d.value, n[c] = g.value;\n }\n return r.map = function (e) {\n s.properties = e;\n for (var t = {}, r = 0, i = l; r < i.length; r += 1) {\n var n = i[r];\n t[n] = o[n].evaluate(a, s);\n }\n return t;\n }, r.reduce = function (e, t) {\n s.properties = t;\n for (var r = 0, i = l; r < i.length; r += 1) {\n var o = i[r];\n a.accumulated = e[o], e[o] = n[o].evaluate(a, s);\n }\n }, r;\n }(i)).load(a.features) : function (e, t) {\n return new me(e, t);\n }(a, i.geojsonVtOptions);\n } catch (n) {\n return r(n);\n }\n t.loaded = {};\n var u = {};\n if (o) {\n var h = o.finish();\n h && (u.resourceTiming = {}, u.resourceTiming[i.source] = JSON.parse(JSON.stringify(h)));\n }\n r(null, u);\n });\n }\n }, r.prototype.coalesce = function () {\n \"Coalescing\" === this._state ? this._state = \"Idle\" : \"NeedsLoadData\" === this._state && (this._state = \"Coalescing\", this._loadData());\n }, r.prototype.reloadTile = function (e, r) {\n var i = this.loaded;\n return i && i[e.uid] ? t.prototype.reloadTile.call(this, e, r) : this.loadTile(e, r);\n }, r.prototype.loadGeoJSON = function (t, r) {\n if (t.request) e.getJSON(t.request, r);else {\n if (\"string\" != typeof t.data) return r(new Error(\"Input data given to '\" + t.source + \"' is not a valid GeoJSON object.\"));\n try {\n return r(null, JSON.parse(t.data));\n } catch (e) {\n return r(new Error(\"Input data given to '\" + t.source + \"' is not a valid GeoJSON object.\"));\n }\n }\n }, r.prototype.removeSource = function (e, t) {\n this._pendingCallback && this._pendingCallback(null, {\n abandoned: !0\n }), t();\n }, r.prototype.getClusterExpansionZoom = function (e, t) {\n try {\n t(null, this._geoJSONIndex.getClusterExpansionZoom(e.clusterId));\n } catch (e) {\n t(e);\n }\n }, r.prototype.getClusterChildren = function (e, t) {\n try {\n t(null, this._geoJSONIndex.getChildren(e.clusterId));\n } catch (e) {\n t(e);\n }\n }, r.prototype.getClusterLeaves = function (e, t) {\n try {\n t(null, this._geoJSONIndex.getLeaves(e.clusterId, e.limit, e.offset));\n } catch (e) {\n t(e);\n }\n }, r;\n }(l),\n Se = function (t) {\n var r = this;\n this.self = t, this.actor = new e.Actor(t, this), this.layerIndexes = {}, this.availableImages = {}, this.workerSourceTypes = {\n vector: l,\n geojson: we\n }, this.workerSources = {}, this.demWorkerSources = {}, this.self.registerWorkerSource = function (e, t) {\n if (r.workerSourceTypes[e]) throw new Error('Worker source with name \"' + e + '\" already registered.');\n r.workerSourceTypes[e] = t;\n }, this.self.registerRTLTextPlugin = function (t) {\n if (e.plugin.isParsed()) throw new Error(\"RTL text plugin already registered.\");\n e.plugin.applyArabicShaping = t.applyArabicShaping, e.plugin.processBidirectionalText = t.processBidirectionalText, e.plugin.processStyledBidirectionalText = t.processStyledBidirectionalText;\n };\n };\n return Se.prototype.setReferrer = function (e, t) {\n this.referrer = t;\n }, Se.prototype.setImages = function (e, t, r) {\n for (var i in this.availableImages[e] = t, this.workerSources[e]) {\n var o = this.workerSources[e][i];\n for (var n in o) o[n].availableImages = t;\n }\n r();\n }, Se.prototype.setLayers = function (e, t, r) {\n this.getLayerIndex(e).replace(t), r();\n }, Se.prototype.updateLayers = function (e, t, r) {\n this.getLayerIndex(e).update(t.layers, t.removedIds), r();\n }, Se.prototype.loadTile = function (e, t, r) {\n this.getWorkerSource(e, t.type, t.source).loadTile(t, r);\n }, Se.prototype.loadDEMTile = function (e, t, r) {\n this.getDEMWorkerSource(e, t.source).loadTile(t, r);\n }, Se.prototype.reloadTile = function (e, t, r) {\n this.getWorkerSource(e, t.type, t.source).reloadTile(t, r);\n }, Se.prototype.abortTile = function (e, t, r) {\n this.getWorkerSource(e, t.type, t.source).abortTile(t, r);\n }, Se.prototype.removeTile = function (e, t, r) {\n this.getWorkerSource(e, t.type, t.source).removeTile(t, r);\n }, Se.prototype.removeDEMTile = function (e, t) {\n this.getDEMWorkerSource(e, t.source).removeTile(t);\n }, Se.prototype.removeSource = function (e, t, r) {\n if (this.workerSources[e] && this.workerSources[e][t.type] && this.workerSources[e][t.type][t.source]) {\n var i = this.workerSources[e][t.type][t.source];\n delete this.workerSources[e][t.type][t.source], void 0 !== i.removeSource ? i.removeSource(t, r) : r();\n }\n }, Se.prototype.loadWorkerSource = function (e, t, r) {\n try {\n this.self.importScripts(t.url), r();\n } catch (e) {\n r(e.toString());\n }\n }, Se.prototype.syncRTLPluginState = function (t, r, i) {\n try {\n e.plugin.setState(r);\n var o = e.plugin.getPluginURL();\n if (e.plugin.isLoaded() && !e.plugin.isParsed() && null != o) {\n this.self.importScripts(o);\n var n = e.plugin.isParsed();\n i(n ? void 0 : new Error(\"RTL Text Plugin failed to import scripts from \" + o), n);\n }\n } catch (e) {\n i(e.toString());\n }\n }, Se.prototype.getAvailableImages = function (e) {\n var t = this.availableImages[e];\n return t || (t = []), t;\n }, Se.prototype.getLayerIndex = function (e) {\n var t = this.layerIndexes[e];\n return t || (t = this.layerIndexes[e] = new i()), t;\n }, Se.prototype.getWorkerSource = function (e, t, r) {\n var i = this;\n return this.workerSources[e] || (this.workerSources[e] = {}), this.workerSources[e][t] || (this.workerSources[e][t] = {}), this.workerSources[e][t][r] || (this.workerSources[e][t][r] = new this.workerSourceTypes[t]({\n send: function (t, r, o) {\n i.actor.send(t, r, o, e);\n }\n }, this.getLayerIndex(e), this.getAvailableImages(e))), this.workerSources[e][t][r];\n }, Se.prototype.getDEMWorkerSource = function (e, t) {\n return this.demWorkerSources[e] || (this.demWorkerSources[e] = {}), this.demWorkerSources[e][t] || (this.demWorkerSources[e][t] = new h()), this.demWorkerSources[e][t];\n }, Se.prototype.enforceCacheSizeLimit = function (t, r) {\n e.enforceCacheSizeLimit(r);\n }, \"undefined\" != typeof WorkerGlobalScope && \"undefined\" != typeof self && self instanceof WorkerGlobalScope && (self.worker = new Se(self)), Se;\n });\n define([\"./shared\"], function (t) {\n \"use strict\";\n\n var e = t.createCommonjsModule(function (t) {\n function e(t) {\n return !i(t);\n }\n function i(t) {\n return \"undefined\" == typeof window || \"undefined\" == typeof document ? \"not a browser\" : Array.prototype && Array.prototype.every && Array.prototype.filter && Array.prototype.forEach && Array.prototype.indexOf && Array.prototype.lastIndexOf && Array.prototype.map && Array.prototype.some && Array.prototype.reduce && Array.prototype.reduceRight && Array.isArray ? Function.prototype && Function.prototype.bind ? Object.keys && Object.create && Object.getPrototypeOf && Object.getOwnPropertyNames && Object.isSealed && Object.isFrozen && Object.isExtensible && Object.getOwnPropertyDescriptor && Object.defineProperty && Object.defineProperties && Object.seal && Object.freeze && Object.preventExtensions ? \"JSON\" in window && \"parse\" in JSON && \"stringify\" in JSON ? function () {\n if (!(\"Worker\" in window && \"Blob\" in window && \"URL\" in window)) return !1;\n var t,\n e,\n i = new Blob([\"\"], {\n type: \"text/javascript\"\n }),\n o = URL.createObjectURL(i);\n try {\n e = new Worker(o), t = !0;\n } catch (e) {\n t = !1;\n }\n return e && e.terminate(), URL.revokeObjectURL(o), t;\n }() ? \"Uint8ClampedArray\" in window ? ArrayBuffer.isView ? function () {\n var t = document.createElement(\"canvas\");\n t.width = t.height = 1;\n var e = t.getContext(\"2d\");\n if (!e) return !1;\n var i = e.getImageData(0, 0, 1, 1);\n return i && i.width === t.width;\n }() ? (void 0 === o[i = t && t.failIfMajorPerformanceCaveat] && (o[i] = function (t) {\n var i = function (t) {\n var i = document.createElement(\"canvas\"),\n o = Object.create(e.webGLContextAttributes);\n return o.failIfMajorPerformanceCaveat = t, i.probablySupportsContext ? i.probablySupportsContext(\"webgl\", o) || i.probablySupportsContext(\"experimental-webgl\", o) : i.supportsContext ? i.supportsContext(\"webgl\", o) || i.supportsContext(\"experimental-webgl\", o) : i.getContext(\"webgl\", o) || i.getContext(\"experimental-webgl\", o);\n }(t);\n if (!i) return !1;\n var o = i.createShader(i.VERTEX_SHADER);\n return !(!o || i.isContextLost()) && (i.shaderSource(o, \"void main() {}\"), i.compileShader(o), !0 === i.getShaderParameter(o, i.COMPILE_STATUS));\n }(i)), o[i] ? void 0 : \"insufficient WebGL support\") : \"insufficient Canvas/getImageData support\" : \"insufficient ArrayBuffer support\" : \"insufficient Uint8ClampedArray support\" : \"insufficient worker support\" : \"insufficient JSON support\" : \"insufficient Object support\" : \"insufficient Function support\" : \"insufficent Array support\";\n var i;\n }\n t.exports ? t.exports = e : window && (window.mapboxgl = window.mapboxgl || {}, window.mapboxgl.supported = e, window.mapboxgl.notSupportedReason = i);\n var o = {};\n e.webGLContextAttributes = {\n antialias: !1,\n alpha: !0,\n stencil: !0,\n depth: !0\n };\n }),\n i = {\n create: function (e, i, o) {\n var r = t.window.document.createElement(e);\n return void 0 !== i && (r.className = i), o && o.appendChild(r), r;\n },\n createNS: function (e, i) {\n return t.window.document.createElementNS(e, i);\n }\n },\n o = t.window.document && t.window.document.documentElement.style;\n function r(t) {\n if (!o) return t[0];\n for (var e = 0; e < t.length; e++) if (t[e] in o) return t[e];\n return t[0];\n }\n var a,\n n = r([\"userSelect\", \"MozUserSelect\", \"WebkitUserSelect\", \"msUserSelect\"]);\n i.disableDrag = function () {\n o && n && (a = o[n], o[n] = \"none\");\n }, i.enableDrag = function () {\n o && n && (o[n] = a);\n };\n var s = r([\"transform\", \"WebkitTransform\"]);\n i.setTransform = function (t, e) {\n t.style[s] = e;\n };\n var l = !1;\n try {\n var c = Object.defineProperty({}, \"passive\", {\n get: function () {\n l = !0;\n }\n });\n t.window.addEventListener(\"test\", c, c), t.window.removeEventListener(\"test\", c, c);\n } catch (t) {\n l = !1;\n }\n i.addEventListener = function (t, e, i, o) {\n void 0 === o && (o = {}), t.addEventListener(e, i, \"passive\" in o && l ? o : o.capture);\n }, i.removeEventListener = function (t, e, i, o) {\n void 0 === o && (o = {}), t.removeEventListener(e, i, \"passive\" in o && l ? o : o.capture);\n };\n var u = function (e) {\n e.preventDefault(), e.stopPropagation(), t.window.removeEventListener(\"click\", u, !0);\n };\n function h(t) {\n var e = t.userImage;\n return !!(e && e.render && e.render()) && (t.data.replace(new Uint8Array(e.data.buffer)), !0);\n }\n i.suppressClick = function () {\n t.window.addEventListener(\"click\", u, !0), t.window.setTimeout(function () {\n t.window.removeEventListener(\"click\", u, !0);\n }, 0);\n }, i.mousePos = function (e, i) {\n var o = e.getBoundingClientRect();\n return new t.Point(i.clientX - o.left - e.clientLeft, i.clientY - o.top - e.clientTop);\n }, i.touchPos = function (e, i) {\n for (var o = e.getBoundingClientRect(), r = [], a = 0; a < i.length; a++) r.push(new t.Point(i[a].clientX - o.left - e.clientLeft, i[a].clientY - o.top - e.clientTop));\n return r;\n }, i.mouseButton = function (e) {\n return void 0 !== t.window.InstallTrigger && 2 === e.button && e.ctrlKey && t.window.navigator.platform.toUpperCase().indexOf(\"MAC\") >= 0 ? 0 : e.button;\n }, i.remove = function (t) {\n t.parentNode && t.parentNode.removeChild(t);\n };\n var p = function (e) {\n function i() {\n e.call(this), this.images = {}, this.updatedImages = {}, this.callbackDispatchedThisFrame = {}, this.loaded = !1, this.requestors = [], this.patterns = {}, this.atlasImage = new t.RGBAImage({\n width: 1,\n height: 1\n }), this.dirty = !0;\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.isLoaded = function () {\n return this.loaded;\n }, i.prototype.setLoaded = function (t) {\n if (this.loaded !== t && (this.loaded = t, t)) {\n for (var e = 0, i = this.requestors; e < i.length; e += 1) {\n var o = i[e];\n this._notify(o.ids, o.callback);\n }\n this.requestors = [];\n }\n }, i.prototype.getImage = function (t) {\n return this.images[t];\n }, i.prototype.addImage = function (t, e) {\n this._validate(t, e) && (this.images[t] = e);\n }, i.prototype._validate = function (e, i) {\n var o = !0;\n return this._validateStretch(i.stretchX, i.data && i.data.width) || (this.fire(new t.ErrorEvent(new Error('Image \"' + e + '\" has invalid \"stretchX\" value'))), o = !1), this._validateStretch(i.stretchY, i.data && i.data.height) || (this.fire(new t.ErrorEvent(new Error('Image \"' + e + '\" has invalid \"stretchY\" value'))), o = !1), this._validateContent(i.content, i) || (this.fire(new t.ErrorEvent(new Error('Image \"' + e + '\" has invalid \"content\" value'))), o = !1), o;\n }, i.prototype._validateStretch = function (t, e) {\n if (!t) return !0;\n for (var i = 0, o = 0, r = t; o < r.length; o += 1) {\n var a = r[o];\n if (a[0] < i || a[1] < a[0] || e < a[1]) return !1;\n i = a[1];\n }\n return !0;\n }, i.prototype._validateContent = function (t, e) {\n return !(t && (4 !== t.length || t[0] < 0 || e.data.width < t[0] || t[1] < 0 || e.data.height < t[1] || t[2] < 0 || e.data.width < t[2] || t[3] < 0 || e.data.height < t[3] || t[2] < t[0] || t[3] < t[1]));\n }, i.prototype.updateImage = function (t, e) {\n e.version = this.images[t].version + 1, this.images[t] = e, this.updatedImages[t] = !0;\n }, i.prototype.removeImage = function (t) {\n var e = this.images[t];\n delete this.images[t], delete this.patterns[t], e.userImage && e.userImage.onRemove && e.userImage.onRemove();\n }, i.prototype.listImages = function () {\n return Object.keys(this.images);\n }, i.prototype.getImages = function (t, e) {\n var i = !0;\n if (!this.isLoaded()) for (var o = 0, r = t; o < r.length; o += 1) this.images[r[o]] || (i = !1);\n this.isLoaded() || i ? this._notify(t, e) : this.requestors.push({\n ids: t,\n callback: e\n });\n }, i.prototype._notify = function (e, i) {\n for (var o = {}, r = 0, a = e; r < a.length; r += 1) {\n var n = a[r];\n this.images[n] || this.fire(new t.Event(\"styleimagemissing\", {\n id: n\n }));\n var s = this.images[n];\n s ? o[n] = {\n data: s.data.clone(),\n pixelRatio: s.pixelRatio,\n sdf: s.sdf,\n version: s.version,\n stretchX: s.stretchX,\n stretchY: s.stretchY,\n content: s.content,\n hasRenderCallback: Boolean(s.userImage && s.userImage.render)\n } : t.warnOnce('Image \"' + n + '\" could not be loaded. Please make sure you have added the image with map.addImage() or a \"sprite\" property in your style. You can provide missing images by listening for the \"styleimagemissing\" map event.');\n }\n i(null, o);\n }, i.prototype.getPixelSize = function () {\n var t = this.atlasImage;\n return {\n width: t.width,\n height: t.height\n };\n }, i.prototype.getPattern = function (e) {\n var i = this.patterns[e],\n o = this.getImage(e);\n if (!o) return null;\n if (i && i.position.version === o.version) return i.position;\n if (i) i.position.version = o.version;else {\n var r = {\n w: o.data.width + 2,\n h: o.data.height + 2,\n x: 0,\n y: 0\n },\n a = new t.ImagePosition(r, o);\n this.patterns[e] = {\n bin: r,\n position: a\n };\n }\n return this._updatePatternAtlas(), this.patterns[e].position;\n }, i.prototype.bind = function (e) {\n var i = e.gl;\n this.atlasTexture ? this.dirty && (this.atlasTexture.update(this.atlasImage), this.dirty = !1) : this.atlasTexture = new t.Texture(e, this.atlasImage, i.RGBA), this.atlasTexture.bind(i.LINEAR, i.CLAMP_TO_EDGE);\n }, i.prototype._updatePatternAtlas = function () {\n var e = [];\n for (var i in this.patterns) e.push(this.patterns[i].bin);\n var o = t.potpack(e),\n r = o.w,\n a = o.h,\n n = this.atlasImage;\n for (var s in n.resize({\n width: r || 1,\n height: a || 1\n }), this.patterns) {\n var l = this.patterns[s].bin,\n c = l.x + 1,\n u = l.y + 1,\n h = this.images[s].data,\n p = h.width,\n d = h.height;\n t.RGBAImage.copy(h, n, {\n x: 0,\n y: 0\n }, {\n x: c,\n y: u\n }, {\n width: p,\n height: d\n }), t.RGBAImage.copy(h, n, {\n x: 0,\n y: d - 1\n }, {\n x: c,\n y: u - 1\n }, {\n width: p,\n height: 1\n }), t.RGBAImage.copy(h, n, {\n x: 0,\n y: 0\n }, {\n x: c,\n y: u + d\n }, {\n width: p,\n height: 1\n }), t.RGBAImage.copy(h, n, {\n x: p - 1,\n y: 0\n }, {\n x: c - 1,\n y: u\n }, {\n width: 1,\n height: d\n }), t.RGBAImage.copy(h, n, {\n x: 0,\n y: 0\n }, {\n x: c + p,\n y: u\n }, {\n width: 1,\n height: d\n });\n }\n this.dirty = !0;\n }, i.prototype.beginFrame = function () {\n this.callbackDispatchedThisFrame = {};\n }, i.prototype.dispatchRenderCallbacks = function (t) {\n for (var e = 0, i = t; e < i.length; e += 1) {\n var o = i[e];\n if (!this.callbackDispatchedThisFrame[o]) {\n this.callbackDispatchedThisFrame[o] = !0;\n var r = this.images[o];\n h(r) && this.updateImage(o, r);\n }\n }\n }, i;\n }(t.Evented),\n d = m,\n _ = m,\n f = 1e20;\n function m(t, e, i, o, r, a) {\n this.fontSize = t || 24, this.buffer = void 0 === e ? 3 : e, this.cutoff = o || .25, this.fontFamily = r || \"sans-serif\", this.fontWeight = a || \"normal\", this.radius = i || 8;\n var n = this.size = this.fontSize + 2 * this.buffer;\n this.canvas = document.createElement(\"canvas\"), this.canvas.width = this.canvas.height = n, this.ctx = this.canvas.getContext(\"2d\"), this.ctx.font = this.fontWeight + \" \" + this.fontSize + \"px \" + this.fontFamily, this.ctx.textBaseline = \"middle\", this.ctx.fillStyle = \"black\", this.gridOuter = new Float64Array(n * n), this.gridInner = new Float64Array(n * n), this.f = new Float64Array(n), this.d = new Float64Array(n), this.z = new Float64Array(n + 1), this.v = new Int16Array(n), this.middle = Math.round(n / 2 * (navigator.userAgent.indexOf(\"Gecko/\") >= 0 ? 1.2 : 1));\n }\n function g(t, e, i, o, r, a, n) {\n for (var s = 0; s < e; s++) {\n for (var l = 0; l < i; l++) o[l] = t[l * e + s];\n for (v(o, r, a, n, i), l = 0; l < i; l++) t[l * e + s] = r[l];\n }\n for (l = 0; l < i; l++) {\n for (s = 0; s < e; s++) o[s] = t[l * e + s];\n for (v(o, r, a, n, e), s = 0; s < e; s++) t[l * e + s] = Math.sqrt(r[s]);\n }\n }\n function v(t, e, i, o, r) {\n i[0] = 0, o[0] = -f, o[1] = +f;\n for (var a = 1, n = 0; a < r; a++) {\n for (var s = (t[a] + a * a - (t[i[n]] + i[n] * i[n])) / (2 * a - 2 * i[n]); s <= o[n];) n--, s = (t[a] + a * a - (t[i[n]] + i[n] * i[n])) / (2 * a - 2 * i[n]);\n i[++n] = a, o[n] = s, o[n + 1] = +f;\n }\n for (a = 0, n = 0; a < r; a++) {\n for (; o[n + 1] < a;) n++;\n e[a] = (a - i[n]) * (a - i[n]) + t[i[n]];\n }\n }\n m.prototype.draw = function (t) {\n this.ctx.clearRect(0, 0, this.size, this.size), this.ctx.fillText(t, this.buffer, this.middle);\n for (var e = this.ctx.getImageData(0, 0, this.size, this.size), i = new Uint8ClampedArray(this.size * this.size), o = 0; o < this.size * this.size; o++) {\n var r = e.data[4 * o + 3] / 255;\n this.gridOuter[o] = 1 === r ? 0 : 0 === r ? f : Math.pow(Math.max(0, .5 - r), 2), this.gridInner[o] = 1 === r ? f : 0 === r ? 0 : Math.pow(Math.max(0, r - .5), 2);\n }\n for (g(this.gridOuter, this.size, this.size, this.f, this.d, this.v, this.z), g(this.gridInner, this.size, this.size, this.f, this.d, this.v, this.z), o = 0; o < this.size * this.size; o++) i[o] = Math.max(0, Math.min(255, Math.round(255 - 255 * ((this.gridOuter[o] - this.gridInner[o]) / this.radius + this.cutoff))));\n return i;\n }, d.default = _;\n var y = function (t, e) {\n this.requestManager = t, this.localIdeographFontFamily = e, this.entries = {};\n };\n y.prototype.setURL = function (t) {\n this.url = t;\n }, y.prototype.getGlyphs = function (e, i) {\n var o = this,\n r = [];\n for (var a in e) for (var n = 0, s = e[a]; n < s.length; n += 1) r.push({\n stack: a,\n id: s[n]\n });\n t.asyncAll(r, function (t, e) {\n var i = t.stack,\n r = t.id,\n a = o.entries[i];\n a || (a = o.entries[i] = {\n glyphs: {},\n requests: {},\n ranges: {}\n });\n var n = a.glyphs[r];\n if (void 0 === n) {\n if (n = o._tinySDF(a, i, r)) return a.glyphs[r] = n, void e(null, {\n stack: i,\n id: r,\n glyph: n\n });\n var s = Math.floor(r / 256);\n if (256 * s > 65535) e(new Error(\"glyphs > 65535 not supported\"));else if (a.ranges[s]) e(null, {\n stack: i,\n id: r,\n glyph: n\n });else {\n var l = a.requests[s];\n l || (l = a.requests[s] = [], y.loadGlyphRange(i, s, o.url, o.requestManager, function (t, e) {\n if (e) {\n for (var i in e) o._doesCharSupportLocalGlyph(+i) || (a.glyphs[+i] = e[+i]);\n a.ranges[s] = !0;\n }\n for (var r = 0, n = l; r < n.length; r += 1) (0, n[r])(t, e);\n delete a.requests[s];\n })), l.push(function (t, o) {\n t ? e(t) : o && e(null, {\n stack: i,\n id: r,\n glyph: o[r] || null\n });\n });\n }\n } else e(null, {\n stack: i,\n id: r,\n glyph: n\n });\n }, function (t, e) {\n if (t) i(t);else if (e) {\n for (var o = {}, r = 0, a = e; r < a.length; r += 1) {\n var n = a[r],\n s = n.stack,\n l = n.id,\n c = n.glyph;\n (o[s] || (o[s] = {}))[l] = c && {\n id: c.id,\n bitmap: c.bitmap.clone(),\n metrics: c.metrics\n };\n }\n i(null, o);\n }\n });\n }, y.prototype._doesCharSupportLocalGlyph = function (e) {\n return !!this.localIdeographFontFamily && (t.isChar[\"CJK Unified Ideographs\"](e) || t.isChar[\"Hangul Syllables\"](e) || t.isChar.Hiragana(e) || t.isChar.Katakana(e));\n }, y.prototype._tinySDF = function (e, i, o) {\n var r = this.localIdeographFontFamily;\n if (r && this._doesCharSupportLocalGlyph(o)) {\n var a = e.tinySDF;\n if (!a) {\n var n = \"400\";\n /bold/i.test(i) ? n = \"900\" : /medium/i.test(i) ? n = \"500\" : /light/i.test(i) && (n = \"200\"), a = e.tinySDF = new y.TinySDF(24, 3, 8, .25, r, n);\n }\n return {\n id: o,\n bitmap: new t.AlphaImage({\n width: 30,\n height: 30\n }, a.draw(String.fromCharCode(o))),\n metrics: {\n width: 24,\n height: 24,\n left: 0,\n top: -8,\n advance: 24\n }\n };\n }\n }, y.loadGlyphRange = function (e, i, o, r, a) {\n var n = 256 * i,\n s = n + 255,\n l = r.transformRequest(r.normalizeGlyphsURL(o).replace(\"{fontstack}\", e).replace(\"{range}\", n + \"-\" + s), t.ResourceType.Glyphs);\n t.getArrayBuffer(l, function (e, i) {\n if (e) a(e);else if (i) {\n for (var o = {}, r = 0, n = t.parseGlyphPBF(i); r < n.length; r += 1) {\n var s = n[r];\n o[s.id] = s;\n }\n a(null, o);\n }\n });\n }, y.TinySDF = d;\n var x = function () {\n this.specification = t.styleSpec.light.position;\n };\n x.prototype.possiblyEvaluate = function (e, i) {\n return t.sphericalToCartesian(e.expression.evaluate(i));\n }, x.prototype.interpolate = function (e, i, o) {\n return {\n x: t.number(e.x, i.x, o),\n y: t.number(e.y, i.y, o),\n z: t.number(e.z, i.z, o)\n };\n };\n var b = new t.Properties({\n anchor: new t.DataConstantProperty(t.styleSpec.light.anchor),\n position: new x(),\n color: new t.DataConstantProperty(t.styleSpec.light.color),\n intensity: new t.DataConstantProperty(t.styleSpec.light.intensity)\n }),\n w = function (e) {\n function i(i) {\n e.call(this), this._transitionable = new t.Transitionable(b), this.setLight(i), this._transitioning = this._transitionable.untransitioned();\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.getLight = function () {\n return this._transitionable.serialize();\n }, i.prototype.setLight = function (e, i) {\n if (void 0 === i && (i = {}), !this._validate(t.validateLight, e, i)) for (var o in e) {\n var r = e[o];\n t.endsWith(o, \"-transition\") ? this._transitionable.setTransition(o.slice(0, -\"-transition\".length), r) : this._transitionable.setValue(o, r);\n }\n }, i.prototype.updateTransitions = function (t) {\n this._transitioning = this._transitionable.transitioned(t, this._transitioning);\n }, i.prototype.hasTransition = function () {\n return this._transitioning.hasTransition();\n }, i.prototype.recalculate = function (t) {\n this.properties = this._transitioning.possiblyEvaluate(t);\n }, i.prototype._validate = function (e, i, o) {\n return (!o || !1 !== o.validate) && t.emitValidationErrors(this, e.call(t.validateStyle, t.extend({\n value: i,\n style: {\n glyphs: !0,\n sprite: !0\n },\n styleSpec: t.styleSpec\n })));\n }, i;\n }(t.Evented),\n T = function (t, e) {\n this.width = t, this.height = e, this.nextRow = 0, this.data = new Uint8Array(this.width * this.height), this.dashEntry = {};\n };\n T.prototype.getDash = function (t, e) {\n var i = t.join(\",\") + String(e);\n return this.dashEntry[i] || (this.dashEntry[i] = this.addDash(t, e)), this.dashEntry[i];\n }, T.prototype.getDashRanges = function (t, e, i) {\n var o = [],\n r = t.length % 2 == 1 ? -t[t.length - 1] * i : 0,\n a = t[0] * i,\n n = !0;\n o.push({\n left: r,\n right: a,\n isDash: n,\n zeroLength: 0 === t[0]\n });\n for (var s = t[0], l = 1; l < t.length; l++) {\n var c = t[l];\n o.push({\n left: r = s * i,\n right: a = (s += c) * i,\n isDash: n = !n,\n zeroLength: 0 === c\n });\n }\n return o;\n }, T.prototype.addRoundDash = function (t, e, i) {\n for (var o = e / 2, r = -i; r <= i; r++) for (var a = this.width * (this.nextRow + i + r), n = 0, s = t[n], l = 0; l < this.width; l++) {\n l / s.right > 1 && (s = t[++n]);\n var c = Math.abs(l - s.left),\n u = Math.abs(l - s.right),\n h = Math.min(c, u),\n p = void 0,\n d = r / i * (o + 1);\n if (s.isDash) {\n var _ = o - Math.abs(d);\n p = Math.sqrt(h * h + _ * _);\n } else p = o - Math.sqrt(h * h + d * d);\n this.data[a + l] = Math.max(0, Math.min(255, p + 128));\n }\n }, T.prototype.addRegularDash = function (t) {\n for (var e = t.length - 1; e >= 0; --e) {\n var i = t[e],\n o = t[e + 1];\n i.zeroLength ? t.splice(e, 1) : o && o.isDash === i.isDash && (o.left = i.left, t.splice(e, 1));\n }\n var r = t[0],\n a = t[t.length - 1];\n r.isDash === a.isDash && (r.left = a.left - this.width, a.right = r.right + this.width);\n for (var n = this.width * this.nextRow, s = 0, l = t[s], c = 0; c < this.width; c++) {\n c / l.right > 1 && (l = t[++s]);\n var u = Math.abs(c - l.left),\n h = Math.abs(c - l.right),\n p = Math.min(u, h);\n this.data[n + c] = Math.max(0, Math.min(255, (l.isDash ? p : -p) + 128));\n }\n }, T.prototype.addDash = function (e, i) {\n var o = i ? 7 : 0,\n r = 2 * o + 1;\n if (this.nextRow + r > this.height) return t.warnOnce(\"LineAtlas out of space\"), null;\n for (var a = 0, n = 0; n < e.length; n++) a += e[n];\n if (0 !== a) {\n var s = this.width / a,\n l = this.getDashRanges(e, this.width, s);\n i ? this.addRoundDash(l, s, o) : this.addRegularDash(l);\n }\n var c = {\n y: (this.nextRow + o + .5) / this.height,\n height: 2 * o / this.height,\n width: a\n };\n return this.nextRow += r, this.dirty = !0, c;\n }, T.prototype.bind = function (t) {\n var e = t.gl;\n this.texture ? (e.bindTexture(e.TEXTURE_2D, this.texture), this.dirty && (this.dirty = !1, e.texSubImage2D(e.TEXTURE_2D, 0, 0, 0, this.width, this.height, e.ALPHA, e.UNSIGNED_BYTE, this.data))) : (this.texture = e.createTexture(), e.bindTexture(e.TEXTURE_2D, this.texture), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, e.REPEAT), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, e.REPEAT), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, e.LINEAR), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, e.LINEAR), e.texImage2D(e.TEXTURE_2D, 0, e.ALPHA, this.width, this.height, 0, e.ALPHA, e.UNSIGNED_BYTE, this.data));\n };\n var E = function e(i, o) {\n this.workerPool = i, this.actors = [], this.currentActor = 0, this.id = t.uniqueId();\n for (var r = this.workerPool.acquire(this.id), a = 0; a < r.length; a++) {\n var n = new e.Actor(r[a], o, this.id);\n n.name = \"Worker \" + a, this.actors.push(n);\n }\n };\n function I(e, i, o) {\n var r = function (r, a) {\n if (r) return o(r);\n if (a) {\n var n = t.pick(t.extend(a, e), [\"tiles\", \"minzoom\", \"maxzoom\", \"attribution\", \"mapbox_logo\", \"bounds\", \"scheme\", \"tileSize\", \"encoding\"]);\n a.vector_layers && (n.vectorLayers = a.vector_layers, n.vectorLayerIds = n.vectorLayers.map(function (t) {\n return t.id;\n })), n.tiles = i.canonicalizeTileset(n, e.url), o(null, n);\n }\n };\n return e.url ? t.getJSON(i.transformRequest(i.normalizeSourceURL(e.url), t.ResourceType.Source), r) : t.browser.frame(function () {\n return r(null, e);\n });\n }\n E.prototype.broadcast = function (e, i, o) {\n t.asyncAll(this.actors, function (t, o) {\n t.send(e, i, o);\n }, o = o || function () {});\n }, E.prototype.getActor = function () {\n return this.currentActor = (this.currentActor + 1) % this.actors.length, this.actors[this.currentActor];\n }, E.prototype.remove = function () {\n this.actors.forEach(function (t) {\n t.remove();\n }), this.actors = [], this.workerPool.release(this.id);\n }, E.Actor = t.Actor;\n var P = function (e, i, o) {\n this.bounds = t.LngLatBounds.convert(this.validateBounds(e)), this.minzoom = i || 0, this.maxzoom = o || 24;\n };\n P.prototype.validateBounds = function (t) {\n return Array.isArray(t) && 4 === t.length ? [Math.max(-180, t[0]), Math.max(-90, t[1]), Math.min(180, t[2]), Math.min(90, t[3])] : [-180, -90, 180, 90];\n }, P.prototype.contains = function (e) {\n var i = Math.pow(2, e.z),\n o = Math.floor(t.mercatorXfromLng(this.bounds.getWest()) * i),\n r = Math.floor(t.mercatorYfromLat(this.bounds.getNorth()) * i),\n a = Math.ceil(t.mercatorXfromLng(this.bounds.getEast()) * i),\n n = Math.ceil(t.mercatorYfromLat(this.bounds.getSouth()) * i);\n return e.x >= o && e.x < a && e.y >= r && e.y < n;\n };\n var S = function (e) {\n function i(i, o, r, a) {\n if (e.call(this), this.id = i, this.dispatcher = r, this.type = \"vector\", this.minzoom = 0, this.maxzoom = 22, this.scheme = \"xyz\", this.tileSize = 512, this.reparseOverscaled = !0, this.isTileClipped = !0, this._loaded = !1, t.extend(this, t.pick(o, [\"url\", \"scheme\", \"tileSize\", \"promoteId\"])), this._options = t.extend({\n type: \"vector\"\n }, o), this._collectResourceTiming = o.collectResourceTiming, 512 !== this.tileSize) throw new Error(\"vector tile sources must have a tileSize of 512\");\n this.setEventedParent(a);\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function () {\n var e = this;\n this._loaded = !1, this.fire(new t.Event(\"dataloading\", {\n dataType: \"source\"\n })), this._tileJSONRequest = I(this._options, this.map._requestManager, function (i, o) {\n e._tileJSONRequest = null, e._loaded = !0, i ? e.fire(new t.ErrorEvent(i)) : o && (t.extend(e, o), o.bounds && (e.tileBounds = new P(o.bounds, e.minzoom, e.maxzoom)), t.postTurnstileEvent(o.tiles, e.map._requestManager._customAccessToken), t.postMapLoadEvent(o.tiles, e.map._getMapId(), e.map._requestManager._skuToken, e.map._requestManager._customAccessToken), e.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"metadata\"\n })), e.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"content\"\n })));\n });\n }, i.prototype.loaded = function () {\n return this._loaded;\n }, i.prototype.hasTile = function (t) {\n return !this.tileBounds || this.tileBounds.contains(t.canonical);\n }, i.prototype.onAdd = function (t) {\n this.map = t, this.load();\n }, i.prototype.setSourceProperty = function (t) {\n this._tileJSONRequest && this._tileJSONRequest.cancel(), t(), this.map.style.sourceCaches[this.id].clearTiles(), this.load();\n }, i.prototype.setTiles = function (t) {\n var e = this;\n return this.setSourceProperty(function () {\n e._options.tiles = t;\n }), this;\n }, i.prototype.setUrl = function (t) {\n var e = this;\n return this.setSourceProperty(function () {\n e.url = t, e._options.url = t;\n }), this;\n }, i.prototype.onRemove = function () {\n this._tileJSONRequest && (this._tileJSONRequest.cancel(), this._tileJSONRequest = null);\n }, i.prototype.serialize = function () {\n return t.extend({}, this._options);\n }, i.prototype.loadTile = function (e, i) {\n var o = this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles, this.scheme)),\n r = {\n request: this.map._requestManager.transformRequest(o, t.ResourceType.Tile),\n uid: e.uid,\n tileID: e.tileID,\n zoom: e.tileID.overscaledZ,\n tileSize: this.tileSize * e.tileID.overscaleFactor(),\n type: this.type,\n source: this.id,\n pixelRatio: t.browser.devicePixelRatio,\n showCollisionBoxes: this.map.showCollisionBoxes,\n promoteId: this.promoteId\n };\n function a(o, r) {\n return delete e.request, e.aborted ? i(null) : o && 404 !== o.status ? i(o) : (r && r.resourceTiming && (e.resourceTiming = r.resourceTiming), this.map._refreshExpiredTiles && r && e.setExpiryData(r), e.loadVectorData(r, this.map.painter), t.cacheEntryPossiblyAdded(this.dispatcher), i(null), void (e.reloadCallback && (this.loadTile(e, e.reloadCallback), e.reloadCallback = null)));\n }\n r.request.collectResourceTiming = this._collectResourceTiming, e.actor && \"expired\" !== e.state ? \"loading\" === e.state ? e.reloadCallback = i : e.request = e.actor.send(\"reloadTile\", r, a.bind(this)) : (e.actor = this.dispatcher.getActor(), e.request = e.actor.send(\"loadTile\", r, a.bind(this)));\n }, i.prototype.abortTile = function (t) {\n t.request && (t.request.cancel(), delete t.request), t.actor && t.actor.send(\"abortTile\", {\n uid: t.uid,\n type: this.type,\n source: this.id\n }, void 0);\n }, i.prototype.unloadTile = function (t) {\n t.unloadVectorData(), t.actor && t.actor.send(\"removeTile\", {\n uid: t.uid,\n type: this.type,\n source: this.id\n }, void 0);\n }, i.prototype.hasTransition = function () {\n return !1;\n }, i;\n }(t.Evented),\n C = function (e) {\n function i(i, o, r, a) {\n e.call(this), this.id = i, this.dispatcher = r, this.setEventedParent(a), this.type = \"raster\", this.minzoom = 0, this.maxzoom = 22, this.roundZoom = !0, this.scheme = \"xyz\", this.tileSize = 512, this._loaded = !1, this._options = t.extend({\n type: \"raster\"\n }, o), t.extend(this, t.pick(o, [\"url\", \"scheme\", \"tileSize\"]));\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function () {\n var e = this;\n this._loaded = !1, this.fire(new t.Event(\"dataloading\", {\n dataType: \"source\"\n })), this._tileJSONRequest = I(this._options, this.map._requestManager, function (i, o) {\n e._tileJSONRequest = null, e._loaded = !0, i ? e.fire(new t.ErrorEvent(i)) : o && (t.extend(e, o), o.bounds && (e.tileBounds = new P(o.bounds, e.minzoom, e.maxzoom)), t.postTurnstileEvent(o.tiles), t.postMapLoadEvent(o.tiles, e.map._getMapId(), e.map._requestManager._skuToken), e.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"metadata\"\n })), e.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"content\"\n })));\n });\n }, i.prototype.loaded = function () {\n return this._loaded;\n }, i.prototype.onAdd = function (t) {\n this.map = t, this.load();\n }, i.prototype.onRemove = function () {\n this._tileJSONRequest && (this._tileJSONRequest.cancel(), this._tileJSONRequest = null);\n }, i.prototype.serialize = function () {\n return t.extend({}, this._options);\n }, i.prototype.hasTile = function (t) {\n return !this.tileBounds || this.tileBounds.contains(t.canonical);\n }, i.prototype.loadTile = function (e, i) {\n var o = this,\n r = this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles, this.scheme), this.tileSize);\n e.request = t.getImage(this.map._requestManager.transformRequest(r, t.ResourceType.Tile), function (r, a) {\n if (delete e.request, e.aborted) e.state = \"unloaded\", i(null);else if (r) e.state = \"errored\", i(r);else if (a) {\n o.map._refreshExpiredTiles && e.setExpiryData(a), delete a.cacheControl, delete a.expires;\n var n = o.map.painter.context,\n s = n.gl;\n e.texture = o.map.painter.getTileTexture(a.width), e.texture ? e.texture.update(a, {\n useMipmap: !0\n }) : (e.texture = new t.Texture(n, a, s.RGBA, {\n useMipmap: !0\n }), e.texture.bind(s.LINEAR, s.CLAMP_TO_EDGE, s.LINEAR_MIPMAP_NEAREST), n.extTextureFilterAnisotropic && s.texParameterf(s.TEXTURE_2D, n.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, n.extTextureFilterAnisotropicMax)), e.state = \"loaded\", t.cacheEntryPossiblyAdded(o.dispatcher), i(null);\n }\n });\n }, i.prototype.abortTile = function (t, e) {\n t.request && (t.request.cancel(), delete t.request), e();\n }, i.prototype.unloadTile = function (t, e) {\n t.texture && this.map.painter.saveTileTexture(t.texture), e();\n }, i.prototype.hasTransition = function () {\n return !1;\n }, i;\n }(t.Evented),\n z = function (e) {\n function i(i, o, r, a) {\n e.call(this, i, o, r, a), this.type = \"raster-dem\", this.maxzoom = 22, this._options = t.extend({\n type: \"raster-dem\"\n }, o), this.encoding = o.encoding || \"mapbox\";\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.serialize = function () {\n return {\n type: \"raster-dem\",\n url: this.url,\n tileSize: this.tileSize,\n tiles: this.tiles,\n bounds: this.bounds,\n encoding: this.encoding\n };\n }, i.prototype.loadTile = function (e, i) {\n var o = this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles, this.scheme), this.tileSize);\n function r(t, o) {\n t && (e.state = \"errored\", i(t)), o && (e.dem = o, e.needsHillshadePrepare = !0, e.state = \"loaded\", i(null));\n }\n e.request = t.getImage(this.map._requestManager.transformRequest(o, t.ResourceType.Tile), function (o, a) {\n if (delete e.request, e.aborted) e.state = \"unloaded\", i(null);else if (o) e.state = \"errored\", i(o);else if (a) {\n this.map._refreshExpiredTiles && e.setExpiryData(a), delete a.cacheControl, delete a.expires;\n var n = t.window.ImageBitmap && a instanceof t.window.ImageBitmap && t.offscreenCanvasSupported() ? a : t.browser.getImageData(a, 1),\n s = {\n uid: e.uid,\n coord: e.tileID,\n source: this.id,\n rawImageData: n,\n encoding: this.encoding\n };\n e.actor && \"expired\" !== e.state || (e.actor = this.dispatcher.getActor(), e.actor.send(\"loadDEMTile\", s, r.bind(this)));\n }\n }.bind(this)), e.neighboringTiles = this._getNeighboringTiles(e.tileID);\n }, i.prototype._getNeighboringTiles = function (e) {\n var i = e.canonical,\n o = Math.pow(2, i.z),\n r = (i.x - 1 + o) % o,\n a = 0 === i.x ? e.wrap - 1 : e.wrap,\n n = (i.x + 1 + o) % o,\n s = i.x + 1 === o ? e.wrap + 1 : e.wrap,\n l = {};\n return l[new t.OverscaledTileID(e.overscaledZ, a, i.z, r, i.y).key] = {\n backfilled: !1\n }, l[new t.OverscaledTileID(e.overscaledZ, s, i.z, n, i.y).key] = {\n backfilled: !1\n }, i.y > 0 && (l[new t.OverscaledTileID(e.overscaledZ, a, i.z, r, i.y - 1).key] = {\n backfilled: !1\n }, l[new t.OverscaledTileID(e.overscaledZ, e.wrap, i.z, i.x, i.y - 1).key] = {\n backfilled: !1\n }, l[new t.OverscaledTileID(e.overscaledZ, s, i.z, n, i.y - 1).key] = {\n backfilled: !1\n }), i.y + 1 < o && (l[new t.OverscaledTileID(e.overscaledZ, a, i.z, r, i.y + 1).key] = {\n backfilled: !1\n }, l[new t.OverscaledTileID(e.overscaledZ, e.wrap, i.z, i.x, i.y + 1).key] = {\n backfilled: !1\n }, l[new t.OverscaledTileID(e.overscaledZ, s, i.z, n, i.y + 1).key] = {\n backfilled: !1\n }), l;\n }, i.prototype.unloadTile = function (t) {\n t.demTexture && this.map.painter.saveTileTexture(t.demTexture), t.fbo && (t.fbo.destroy(), delete t.fbo), t.dem && delete t.dem, delete t.neighboringTiles, t.state = \"unloaded\", t.actor && t.actor.send(\"removeDEMTile\", {\n uid: t.uid,\n source: this.id\n });\n }, i;\n }(C),\n D = function (e) {\n function i(i, o, r, a) {\n e.call(this), this.id = i, this.type = \"geojson\", this.minzoom = 0, this.maxzoom = 18, this.tileSize = 512, this.isTileClipped = !0, this.reparseOverscaled = !0, this._removed = !1, this._loaded = !1, this.actor = r.getActor(), this.setEventedParent(a), this._data = o.data, this._options = t.extend({}, o), this._collectResourceTiming = o.collectResourceTiming, this._resourceTiming = [], void 0 !== o.maxzoom && (this.maxzoom = o.maxzoom), o.type && (this.type = o.type), o.attribution && (this.attribution = o.attribution), this.promoteId = o.promoteId;\n var n = t.EXTENT / this.tileSize;\n this.workerOptions = t.extend({\n source: this.id,\n cluster: o.cluster || !1,\n geojsonVtOptions: {\n buffer: (void 0 !== o.buffer ? o.buffer : 128) * n,\n tolerance: (void 0 !== o.tolerance ? o.tolerance : .375) * n,\n extent: t.EXTENT,\n maxZoom: this.maxzoom,\n lineMetrics: o.lineMetrics || !1,\n generateId: o.generateId || !1\n },\n superclusterOptions: {\n maxZoom: void 0 !== o.clusterMaxZoom ? Math.min(o.clusterMaxZoom, this.maxzoom - 1) : this.maxzoom - 1,\n minPoints: Math.max(2, o.clusterMinPoints || 2),\n extent: t.EXTENT,\n radius: (o.clusterRadius || 50) * n,\n log: !1,\n generateId: o.generateId || !1\n },\n clusterProperties: o.clusterProperties,\n filter: o.filter\n }, o.workerOptions);\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function () {\n var e = this;\n this.fire(new t.Event(\"dataloading\", {\n dataType: \"source\"\n })), this._updateWorkerData(function (i) {\n if (i) e.fire(new t.ErrorEvent(i));else {\n var o = {\n dataType: \"source\",\n sourceDataType: \"metadata\"\n };\n e._collectResourceTiming && e._resourceTiming && e._resourceTiming.length > 0 && (o.resourceTiming = e._resourceTiming, e._resourceTiming = []), e.fire(new t.Event(\"data\", o));\n }\n });\n }, i.prototype.onAdd = function (t) {\n this.map = t, this.load();\n }, i.prototype.setData = function (e) {\n var i = this;\n return this._data = e, this.fire(new t.Event(\"dataloading\", {\n dataType: \"source\"\n })), this._updateWorkerData(function (e) {\n if (e) i.fire(new t.ErrorEvent(e));else {\n var o = {\n dataType: \"source\",\n sourceDataType: \"content\"\n };\n i._collectResourceTiming && i._resourceTiming && i._resourceTiming.length > 0 && (o.resourceTiming = i._resourceTiming, i._resourceTiming = []), i.fire(new t.Event(\"data\", o));\n }\n }), this;\n }, i.prototype.getClusterExpansionZoom = function (t, e) {\n return this.actor.send(\"geojson.getClusterExpansionZoom\", {\n clusterId: t,\n source: this.id\n }, e), this;\n }, i.prototype.getClusterChildren = function (t, e) {\n return this.actor.send(\"geojson.getClusterChildren\", {\n clusterId: t,\n source: this.id\n }, e), this;\n }, i.prototype.getClusterLeaves = function (t, e, i, o) {\n return this.actor.send(\"geojson.getClusterLeaves\", {\n source: this.id,\n clusterId: t,\n limit: e,\n offset: i\n }, o), this;\n }, i.prototype._updateWorkerData = function (e) {\n var i = this;\n this._loaded = !1;\n var o = t.extend({}, this.workerOptions),\n r = this._data;\n \"string\" == typeof r ? (o.request = this.map._requestManager.transformRequest(t.browser.resolveURL(r), t.ResourceType.Source), o.request.collectResourceTiming = this._collectResourceTiming) : o.data = JSON.stringify(r), this.actor.send(this.type + \".loadData\", o, function (t, r) {\n i._removed || r && r.abandoned || (i._loaded = !0, r && r.resourceTiming && r.resourceTiming[i.id] && (i._resourceTiming = r.resourceTiming[i.id].slice(0)), i.actor.send(i.type + \".coalesce\", {\n source: o.source\n }, null), e(t));\n });\n }, i.prototype.loaded = function () {\n return this._loaded;\n }, i.prototype.loadTile = function (e, i) {\n var o = this,\n r = e.actor ? \"reloadTile\" : \"loadTile\";\n e.actor = this.actor, e.request = this.actor.send(r, {\n type: this.type,\n uid: e.uid,\n tileID: e.tileID,\n zoom: e.tileID.overscaledZ,\n maxZoom: this.maxzoom,\n tileSize: this.tileSize,\n source: this.id,\n pixelRatio: t.browser.devicePixelRatio,\n showCollisionBoxes: this.map.showCollisionBoxes,\n promoteId: this.promoteId\n }, function (t, a) {\n return delete e.request, e.unloadVectorData(), e.aborted ? i(null) : t ? i(t) : (e.loadVectorData(a, o.map.painter, \"reloadTile\" === r), i(null));\n });\n }, i.prototype.abortTile = function (t) {\n t.request && (t.request.cancel(), delete t.request), t.aborted = !0;\n }, i.prototype.unloadTile = function (t) {\n t.unloadVectorData(), this.actor.send(\"removeTile\", {\n uid: t.uid,\n type: this.type,\n source: this.id\n });\n }, i.prototype.onRemove = function () {\n this._removed = !0, this.actor.send(\"removeSource\", {\n type: this.type,\n source: this.id\n });\n }, i.prototype.serialize = function () {\n return t.extend({}, this._options, {\n type: this.type,\n data: this._data\n });\n }, i.prototype.hasTransition = function () {\n return !1;\n }, i;\n }(t.Evented),\n A = t.createLayout([{\n name: \"a_pos\",\n type: \"Int16\",\n components: 2\n }, {\n name: \"a_texture_pos\",\n type: \"Int16\",\n components: 2\n }]),\n M = function (e) {\n function i(t, i, o, r) {\n e.call(this), this.id = t, this.dispatcher = o, this.coordinates = i.coordinates, this.type = \"image\", this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.tiles = {}, this._loaded = !1, this.setEventedParent(r), this.options = i;\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function (e, i) {\n var o = this;\n this._loaded = !1, this.fire(new t.Event(\"dataloading\", {\n dataType: \"source\"\n })), this.url = this.options.url, t.getImage(this.map._requestManager.transformRequest(this.url, t.ResourceType.Image), function (r, a) {\n o._loaded = !0, r ? o.fire(new t.ErrorEvent(r)) : a && (o.image = a, e && (o.coordinates = e), i && i(), o._finishLoading());\n });\n }, i.prototype.loaded = function () {\n return this._loaded;\n }, i.prototype.updateImage = function (t) {\n var e = this;\n return this.image && t.url ? (this.options.url = t.url, this.load(t.coordinates, function () {\n e.texture = null;\n }), this) : this;\n }, i.prototype._finishLoading = function () {\n this.map && (this.setCoordinates(this.coordinates), this.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"metadata\"\n })));\n }, i.prototype.onAdd = function (t) {\n this.map = t, this.load();\n }, i.prototype.setCoordinates = function (e) {\n var i = this;\n this.coordinates = e;\n var o = e.map(t.MercatorCoordinate.fromLngLat);\n this.tileID = function (e) {\n for (var i = 1 / 0, o = 1 / 0, r = -1 / 0, a = -1 / 0, n = 0, s = e; n < s.length; n += 1) {\n var l = s[n];\n i = Math.min(i, l.x), o = Math.min(o, l.y), r = Math.max(r, l.x), a = Math.max(a, l.y);\n }\n var c = Math.max(r - i, a - o),\n u = Math.max(0, Math.floor(-Math.log(c) / Math.LN2)),\n h = Math.pow(2, u);\n return new t.CanonicalTileID(u, Math.floor((i + r) / 2 * h), Math.floor((o + a) / 2 * h));\n }(o), this.minzoom = this.maxzoom = this.tileID.z;\n var r = o.map(function (t) {\n return i.tileID.getTilePoint(t)._round();\n });\n return this._boundsArray = new t.StructArrayLayout4i8(), this._boundsArray.emplaceBack(r[0].x, r[0].y, 0, 0), this._boundsArray.emplaceBack(r[1].x, r[1].y, t.EXTENT, 0), this._boundsArray.emplaceBack(r[3].x, r[3].y, 0, t.EXTENT), this._boundsArray.emplaceBack(r[2].x, r[2].y, t.EXTENT, t.EXTENT), this.boundsBuffer && (this.boundsBuffer.destroy(), delete this.boundsBuffer), this.fire(new t.Event(\"data\", {\n dataType: \"source\",\n sourceDataType: \"content\"\n })), this;\n }, i.prototype.prepare = function () {\n if (0 !== Object.keys(this.tiles).length && this.image) {\n var e = this.map.painter.context,\n i = e.gl;\n for (var o in this.boundsBuffer || (this.boundsBuffer = e.createVertexBuffer(this._boundsArray, A.members)), this.boundsSegments || (this.boundsSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2)), this.texture || (this.texture = new t.Texture(e, this.image, i.RGBA), this.texture.bind(i.LINEAR, i.CLAMP_TO_EDGE)), this.tiles) {\n var r = this.tiles[o];\n \"loaded\" !== r.state && (r.state = \"loaded\", r.texture = this.texture);\n }\n }\n }, i.prototype.loadTile = function (t, e) {\n this.tileID && this.tileID.equals(t.tileID.canonical) ? (this.tiles[String(t.tileID.wrap)] = t, t.buckets = {}, e(null)) : (t.state = \"errored\", e(null));\n }, i.prototype.serialize = function () {\n return {\n type: \"image\",\n url: this.options.url,\n coordinates: this.coordinates\n };\n }, i.prototype.hasTransition = function () {\n return !1;\n }, i;\n }(t.Evented),\n L = function (e) {\n function i(t, i, o, r) {\n e.call(this, t, i, o, r), this.roundZoom = !0, this.type = \"video\", this.options = i;\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function () {\n var e = this;\n this._loaded = !1;\n var i = this.options;\n this.urls = [];\n for (var o = 0, r = i.urls; o < r.length; o += 1) this.urls.push(this.map._requestManager.transformRequest(r[o], t.ResourceType.Source).url);\n t.getVideo(this.urls, function (i, o) {\n e._loaded = !0, i ? e.fire(new t.ErrorEvent(i)) : o && (e.video = o, e.video.loop = !0, e.video.setAttribute(\"playsinline\", \"\"), e.video.addEventListener(\"playing\", function () {\n e.map.triggerRepaint();\n }), e.map && e.video.play(), e._finishLoading());\n });\n }, i.prototype.pause = function () {\n this.video && this.video.pause();\n }, i.prototype.play = function () {\n this.video && this.video.play();\n }, i.prototype.seek = function (e) {\n if (this.video) {\n var i = this.video.seekable;\n e < i.start(0) || e > i.end(0) ? this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + this.id, null, \"Playback for this video can be set only between the \" + i.start(0) + \" and \" + i.end(0) + \"-second mark.\"))) : this.video.currentTime = e;\n }\n }, i.prototype.getVideo = function () {\n return this.video;\n }, i.prototype.onAdd = function (t) {\n this.map || (this.map = t, this.load(), this.video && (this.video.play(), this.setCoordinates(this.coordinates)));\n }, i.prototype.prepare = function () {\n if (!(0 === Object.keys(this.tiles).length || this.video.readyState < 2)) {\n var e = this.map.painter.context,\n i = e.gl;\n for (var o in this.boundsBuffer || (this.boundsBuffer = e.createVertexBuffer(this._boundsArray, A.members)), this.boundsSegments || (this.boundsSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2)), this.texture ? this.video.paused || (this.texture.bind(i.LINEAR, i.CLAMP_TO_EDGE), i.texSubImage2D(i.TEXTURE_2D, 0, 0, 0, i.RGBA, i.UNSIGNED_BYTE, this.video)) : (this.texture = new t.Texture(e, this.video, i.RGBA), this.texture.bind(i.LINEAR, i.CLAMP_TO_EDGE)), this.tiles) {\n var r = this.tiles[o];\n \"loaded\" !== r.state && (r.state = \"loaded\", r.texture = this.texture);\n }\n }\n }, i.prototype.serialize = function () {\n return {\n type: \"video\",\n urls: this.urls,\n coordinates: this.coordinates\n };\n }, i.prototype.hasTransition = function () {\n return this.video && !this.video.paused;\n }, i;\n }(M),\n R = function (e) {\n function i(i, o, r, a) {\n e.call(this, i, o, r, a), o.coordinates ? Array.isArray(o.coordinates) && 4 === o.coordinates.length && !o.coordinates.some(function (t) {\n return !Array.isArray(t) || 2 !== t.length || t.some(function (t) {\n return \"number\" != typeof t;\n });\n }) || this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + i, null, '\"coordinates\" property must be an array of 4 longitude/latitude array pairs'))) : this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + i, null, 'missing required property \"coordinates\"'))), o.animate && \"boolean\" != typeof o.animate && this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + i, null, 'optional \"animate\" property must be a boolean value'))), o.canvas ? \"string\" == typeof o.canvas || o.canvas instanceof t.window.HTMLCanvasElement || this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + i, null, '\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))) : this.fire(new t.ErrorEvent(new t.ValidationError(\"sources.\" + i, null, 'missing required property \"canvas\"'))), this.options = o, this.animate = void 0 === o.animate || o.animate;\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.load = function () {\n this._loaded = !0, this.canvas || (this.canvas = this.options.canvas instanceof t.window.HTMLCanvasElement ? this.options.canvas : t.window.document.getElementById(this.options.canvas)), this.width = this.canvas.width, this.height = this.canvas.height, this._hasInvalidDimensions() ? this.fire(new t.ErrorEvent(new Error(\"Canvas dimensions cannot be less than or equal to zero.\"))) : (this.play = function () {\n this._playing = !0, this.map.triggerRepaint();\n }, this.pause = function () {\n this._playing && (this.prepare(), this._playing = !1);\n }, this._finishLoading());\n }, i.prototype.getCanvas = function () {\n return this.canvas;\n }, i.prototype.onAdd = function (t) {\n this.map = t, this.load(), this.canvas && this.animate && this.play();\n }, i.prototype.onRemove = function () {\n this.pause();\n }, i.prototype.prepare = function () {\n var e = !1;\n if (this.canvas.width !== this.width && (this.width = this.canvas.width, e = !0), this.canvas.height !== this.height && (this.height = this.canvas.height, e = !0), !this._hasInvalidDimensions() && 0 !== Object.keys(this.tiles).length) {\n var i = this.map.painter.context,\n o = i.gl;\n for (var r in this.boundsBuffer || (this.boundsBuffer = i.createVertexBuffer(this._boundsArray, A.members)), this.boundsSegments || (this.boundsSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2)), this.texture ? (e || this._playing) && this.texture.update(this.canvas, {\n premultiply: !0\n }) : this.texture = new t.Texture(i, this.canvas, o.RGBA, {\n premultiply: !0\n }), this.tiles) {\n var a = this.tiles[r];\n \"loaded\" !== a.state && (a.state = \"loaded\", a.texture = this.texture);\n }\n }\n }, i.prototype.serialize = function () {\n return {\n type: \"canvas\",\n coordinates: this.coordinates\n };\n }, i.prototype.hasTransition = function () {\n return this._playing;\n }, i.prototype._hasInvalidDimensions = function () {\n for (var t = 0, e = [this.canvas.width, this.canvas.height]; t < e.length; t += 1) {\n var i = e[t];\n if (isNaN(i) || i <= 0) return !0;\n }\n return !1;\n }, i;\n }(M),\n k = {\n vector: S,\n raster: C,\n \"raster-dem\": z,\n geojson: D,\n video: L,\n image: M,\n canvas: R\n };\n function B(e, i) {\n var o = t.identity([]);\n return t.translate(o, o, [1, 1, 0]), t.scale(o, o, [.5 * e.width, .5 * e.height, 1]), t.multiply(o, o, e.calculatePosMatrix(i.toUnwrapped()));\n }\n function O(t, e, i, o, r, a) {\n var n = function (t, e, i) {\n if (t) for (var o = 0, r = t; o < r.length; o += 1) {\n var a = e[r[o]];\n if (a && a.source === i && \"fill-extrusion\" === a.type) return !0;\n } else for (var n in e) {\n var s = e[n];\n if (s.source === i && \"fill-extrusion\" === s.type) return !0;\n }\n return !1;\n }(r && r.layers, e, t.id),\n s = a.maxPitchScaleFactor(),\n l = t.tilesIn(o, s, n);\n l.sort(F);\n for (var c = [], u = 0, h = l; u < h.length; u += 1) {\n var p = h[u];\n c.push({\n wrappedTileID: p.tileID.wrapped().key,\n queryResults: p.tile.queryRenderedFeatures(e, i, t._state, p.queryGeometry, p.cameraQueryGeometry, p.scale, r, a, s, B(t.transform, p.tileID))\n });\n }\n var d = function (t) {\n for (var e = {}, i = {}, o = 0, r = t; o < r.length; o += 1) {\n var a = r[o],\n n = a.queryResults,\n s = a.wrappedTileID,\n l = i[s] = i[s] || {};\n for (var c in n) for (var u = n[c], h = l[c] = l[c] || {}, p = e[c] = e[c] || [], d = 0, _ = u; d < _.length; d += 1) {\n var f = _[d];\n h[f.featureIndex] || (h[f.featureIndex] = !0, p.push(f));\n }\n }\n return e;\n }(c);\n for (var _ in d) d[_].forEach(function (e) {\n var i = e.feature,\n o = t.getFeatureState(i.layer[\"source-layer\"], i.id);\n i.source = i.layer.source, i.layer[\"source-layer\"] && (i.sourceLayer = i.layer[\"source-layer\"]), i.state = o;\n });\n return d;\n }\n function F(t, e) {\n var i = t.tileID,\n o = e.tileID;\n return i.overscaledZ - o.overscaledZ || i.canonical.y - o.canonical.y || i.wrap - o.wrap || i.canonical.x - o.canonical.x;\n }\n var U = function (t, e) {\n this.max = t, this.onRemove = e, this.reset();\n };\n U.prototype.reset = function () {\n for (var t in this.data) for (var e = 0, i = this.data[t]; e < i.length; e += 1) {\n var o = i[e];\n o.timeout && clearTimeout(o.timeout), this.onRemove(o.value);\n }\n return this.data = {}, this.order = [], this;\n }, U.prototype.add = function (t, e, i) {\n var o = this,\n r = t.wrapped().key;\n void 0 === this.data[r] && (this.data[r] = []);\n var a = {\n value: e,\n timeout: void 0\n };\n if (void 0 !== i && (a.timeout = setTimeout(function () {\n o.remove(t, a);\n }, i)), this.data[r].push(a), this.order.push(r), this.order.length > this.max) {\n var n = this._getAndRemoveByKey(this.order[0]);\n n && this.onRemove(n);\n }\n return this;\n }, U.prototype.has = function (t) {\n return t.wrapped().key in this.data;\n }, U.prototype.getAndRemove = function (t) {\n return this.has(t) ? this._getAndRemoveByKey(t.wrapped().key) : null;\n }, U.prototype._getAndRemoveByKey = function (t) {\n var e = this.data[t].shift();\n return e.timeout && clearTimeout(e.timeout), 0 === this.data[t].length && delete this.data[t], this.order.splice(this.order.indexOf(t), 1), e.value;\n }, U.prototype.getByKey = function (t) {\n var e = this.data[t];\n return e ? e[0].value : null;\n }, U.prototype.get = function (t) {\n return this.has(t) ? this.data[t.wrapped().key][0].value : null;\n }, U.prototype.remove = function (t, e) {\n if (!this.has(t)) return this;\n var i = t.wrapped().key,\n o = void 0 === e ? 0 : this.data[i].indexOf(e),\n r = this.data[i][o];\n return this.data[i].splice(o, 1), r.timeout && clearTimeout(r.timeout), 0 === this.data[i].length && delete this.data[i], this.onRemove(r.value), this.order.splice(this.order.indexOf(i), 1), this;\n }, U.prototype.setMaxSize = function (t) {\n for (this.max = t; this.order.length > this.max;) {\n var e = this._getAndRemoveByKey(this.order[0]);\n e && this.onRemove(e);\n }\n return this;\n }, U.prototype.filter = function (t) {\n var e = [];\n for (var i in this.data) for (var o = 0, r = this.data[i]; o < r.length; o += 1) {\n var a = r[o];\n t(a.value) || e.push(a);\n }\n for (var n = 0, s = e; n < s.length; n += 1) {\n var l = s[n];\n this.remove(l.value.tileID, l);\n }\n };\n var N = function (t, e, i) {\n this.context = t;\n var o = t.gl;\n this.buffer = o.createBuffer(), this.dynamicDraw = Boolean(i), this.context.unbindVAO(), t.bindElementBuffer.set(this.buffer), o.bufferData(o.ELEMENT_ARRAY_BUFFER, e.arrayBuffer, this.dynamicDraw ? o.DYNAMIC_DRAW : o.STATIC_DRAW), this.dynamicDraw || delete e.arrayBuffer;\n };\n N.prototype.bind = function () {\n this.context.bindElementBuffer.set(this.buffer);\n }, N.prototype.updateData = function (t) {\n var e = this.context.gl;\n this.context.unbindVAO(), this.bind(), e.bufferSubData(e.ELEMENT_ARRAY_BUFFER, 0, t.arrayBuffer);\n }, N.prototype.destroy = function () {\n this.buffer && (this.context.gl.deleteBuffer(this.buffer), delete this.buffer);\n };\n var Z = {\n Int8: \"BYTE\",\n Uint8: \"UNSIGNED_BYTE\",\n Int16: \"SHORT\",\n Uint16: \"UNSIGNED_SHORT\",\n Int32: \"INT\",\n Uint32: \"UNSIGNED_INT\",\n Float32: \"FLOAT\"\n },\n q = function (t, e, i, o) {\n this.length = e.length, this.attributes = i, this.itemSize = e.bytesPerElement, this.dynamicDraw = o, this.context = t;\n var r = t.gl;\n this.buffer = r.createBuffer(), t.bindVertexBuffer.set(this.buffer), r.bufferData(r.ARRAY_BUFFER, e.arrayBuffer, this.dynamicDraw ? r.DYNAMIC_DRAW : r.STATIC_DRAW), this.dynamicDraw || delete e.arrayBuffer;\n };\n q.prototype.bind = function () {\n this.context.bindVertexBuffer.set(this.buffer);\n }, q.prototype.updateData = function (t) {\n var e = this.context.gl;\n this.bind(), e.bufferSubData(e.ARRAY_BUFFER, 0, t.arrayBuffer);\n }, q.prototype.enableAttributes = function (t, e) {\n for (var i = 0; i < this.attributes.length; i++) {\n var o = e.attributes[this.attributes[i].name];\n void 0 !== o && t.enableVertexAttribArray(o);\n }\n }, q.prototype.setVertexAttribPointers = function (t, e, i) {\n for (var o = 0; o < this.attributes.length; o++) {\n var r = this.attributes[o],\n a = e.attributes[r.name];\n void 0 !== a && t.vertexAttribPointer(a, r.components, t[Z[r.type]], !1, this.itemSize, r.offset + this.itemSize * (i || 0));\n }\n }, q.prototype.destroy = function () {\n this.buffer && (this.context.gl.deleteBuffer(this.buffer), delete this.buffer);\n };\n var j = function (t) {\n this.gl = t.gl, this.default = this.getDefault(), this.current = this.default, this.dirty = !1;\n };\n j.prototype.get = function () {\n return this.current;\n }, j.prototype.set = function (t) {}, j.prototype.getDefault = function () {\n return this.default;\n }, j.prototype.setDefault = function () {\n this.set(this.default);\n };\n var V = function (e) {\n function i() {\n e.apply(this, arguments);\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.getDefault = function () {\n return t.Color.transparent;\n }, i.prototype.set = function (t) {\n var e = this.current;\n (t.r !== e.r || t.g !== e.g || t.b !== e.b || t.a !== e.a || this.dirty) && (this.gl.clearColor(t.r, t.g, t.b, t.a), this.current = t, this.dirty = !1);\n }, i;\n }(j),\n G = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return 1;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.clearDepth(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n W = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return 0;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.clearStencil(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n X = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return [!0, !0, !0, !0];\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t[0] !== e[0] || t[1] !== e[1] || t[2] !== e[2] || t[3] !== e[3] || this.dirty) && (this.gl.colorMask(t[0], t[1], t[2], t[3]), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n H = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !0;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.depthMask(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n K = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return 255;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.stencilMask(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n Y = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return {\n func: this.gl.ALWAYS,\n ref: 0,\n mask: 255\n };\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t.func !== e.func || t.ref !== e.ref || t.mask !== e.mask || this.dirty) && (this.gl.stencilFunc(t.func, t.ref, t.mask), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n J = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n var t = this.gl;\n return [t.KEEP, t.KEEP, t.KEEP];\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t[0] !== e[0] || t[1] !== e[1] || t[2] !== e[2] || this.dirty) && (this.gl.stencilOp(t[0], t[1], t[2]), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n Q = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n t ? e.enable(e.STENCIL_TEST) : e.disable(e.STENCIL_TEST), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n $ = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return [0, 1];\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t[0] !== e[0] || t[1] !== e[1] || this.dirty) && (this.gl.depthRange(t[0], t[1]), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n tt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n t ? e.enable(e.DEPTH_TEST) : e.disable(e.DEPTH_TEST), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n et = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return this.gl.LESS;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.depthFunc(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n it = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n t ? e.enable(e.BLEND) : e.disable(e.BLEND), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n ot = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n var t = this.gl;\n return [t.ONE, t.ZERO];\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t[0] !== e[0] || t[1] !== e[1] || this.dirty) && (this.gl.blendFunc(t[0], t[1]), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n rt = function (e) {\n function i() {\n e.apply(this, arguments);\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.getDefault = function () {\n return t.Color.transparent;\n }, i.prototype.set = function (t) {\n var e = this.current;\n (t.r !== e.r || t.g !== e.g || t.b !== e.b || t.a !== e.a || this.dirty) && (this.gl.blendColor(t.r, t.g, t.b, t.a), this.current = t, this.dirty = !1);\n }, i;\n }(j),\n at = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return this.gl.FUNC_ADD;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.blendEquation(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n nt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n t ? e.enable(e.CULL_FACE) : e.disable(e.CULL_FACE), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n st = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return this.gl.BACK;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.cullFace(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n lt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return this.gl.CCW;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.frontFace(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n ct = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.useProgram(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n ut = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return this.gl.TEXTURE0;\n }, e.prototype.set = function (t) {\n (t !== this.current || this.dirty) && (this.gl.activeTexture(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n ht = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n var t = this.gl;\n return [0, 0, t.drawingBufferWidth, t.drawingBufferHeight];\n }, e.prototype.set = function (t) {\n var e = this.current;\n (t[0] !== e[0] || t[1] !== e[1] || t[2] !== e[2] || t[3] !== e[3] || this.dirty) && (this.gl.viewport(t[0], t[1], t[2], t[3]), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n pt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.bindFramebuffer(e.FRAMEBUFFER, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n dt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.bindRenderbuffer(e.RENDERBUFFER, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n _t = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.bindTexture(e.TEXTURE_2D, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n ft = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.bindBuffer(e.ARRAY_BUFFER, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n mt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n var e = this.gl;\n e.bindBuffer(e.ELEMENT_ARRAY_BUFFER, t), this.current = t, this.dirty = !1;\n }, e;\n }(j),\n gt = function (t) {\n function e(e) {\n t.call(this, e), this.vao = e.extVertexArrayObject;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e.prototype.set = function (t) {\n this.vao && (t !== this.current || this.dirty) && (this.vao.bindVertexArrayOES(t), this.current = t, this.dirty = !1);\n }, e;\n }(j),\n vt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return 4;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.pixelStorei(e.UNPACK_ALIGNMENT, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n yt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n xt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return !1;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n var e = this.gl;\n e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(j),\n bt = function (t) {\n function e(e, i) {\n t.call(this, e), this.context = e, this.parent = i;\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.getDefault = function () {\n return null;\n }, e;\n }(j),\n wt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.setDirty = function () {\n this.dirty = !0;\n }, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n this.context.bindFramebuffer.set(this.parent);\n var e = this.gl;\n e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, t, 0), this.current = t, this.dirty = !1;\n }\n }, e;\n }(bt),\n Tt = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.set = function (t) {\n if (t !== this.current || this.dirty) {\n this.context.bindFramebuffer.set(this.parent);\n var e = this.gl;\n e.framebufferRenderbuffer(e.FRAMEBUFFER, e.DEPTH_ATTACHMENT, e.RENDERBUFFER, t), this.current = t, this.dirty = !1;\n }\n }, e;\n }(bt),\n Et = function (t, e, i, o) {\n this.context = t, this.width = e, this.height = i;\n var r = this.framebuffer = t.gl.createFramebuffer();\n this.colorAttachment = new wt(t, r), o && (this.depthAttachment = new Tt(t, r));\n };\n Et.prototype.destroy = function () {\n var t = this.context.gl,\n e = this.colorAttachment.get();\n if (e && t.deleteTexture(e), this.depthAttachment) {\n var i = this.depthAttachment.get();\n i && t.deleteRenderbuffer(i);\n }\n t.deleteFramebuffer(this.framebuffer);\n };\n var It = function (t, e, i) {\n this.func = t, this.mask = e, this.range = i;\n };\n It.ReadOnly = !1, It.ReadWrite = !0, It.disabled = new It(519, It.ReadOnly, [0, 1]);\n var Pt = function (t, e, i, o, r, a) {\n this.test = t, this.ref = e, this.mask = i, this.fail = o, this.depthFail = r, this.pass = a;\n };\n Pt.disabled = new Pt({\n func: 519,\n mask: 0\n }, 0, 0, 7680, 7680, 7680);\n var St = function (t, e, i) {\n this.blendFunction = t, this.blendColor = e, this.mask = i;\n };\n St.disabled = new St(St.Replace = [1, 0], t.Color.transparent, [!1, !1, !1, !1]), St.unblended = new St(St.Replace, t.Color.transparent, [!0, !0, !0, !0]), St.alphaBlended = new St([1, 771], t.Color.transparent, [!0, !0, !0, !0]);\n var Ct = function (t, e, i) {\n this.enable = t, this.mode = e, this.frontFace = i;\n };\n Ct.disabled = new Ct(!1, 1029, 2305), Ct.backCCW = new Ct(!0, 1029, 2305);\n var zt = function (t) {\n this.gl = t, this.extVertexArrayObject = this.gl.getExtension(\"OES_vertex_array_object\"), this.clearColor = new V(this), this.clearDepth = new G(this), this.clearStencil = new W(this), this.colorMask = new X(this), this.depthMask = new H(this), this.stencilMask = new K(this), this.stencilFunc = new Y(this), this.stencilOp = new J(this), this.stencilTest = new Q(this), this.depthRange = new $(this), this.depthTest = new tt(this), this.depthFunc = new et(this), this.blend = new it(this), this.blendFunc = new ot(this), this.blendColor = new rt(this), this.blendEquation = new at(this), this.cullFace = new nt(this), this.cullFaceSide = new st(this), this.frontFace = new lt(this), this.program = new ct(this), this.activeTexture = new ut(this), this.viewport = new ht(this), this.bindFramebuffer = new pt(this), this.bindRenderbuffer = new dt(this), this.bindTexture = new _t(this), this.bindVertexBuffer = new ft(this), this.bindElementBuffer = new mt(this), this.bindVertexArrayOES = this.extVertexArrayObject && new gt(this), this.pixelStoreUnpack = new vt(this), this.pixelStoreUnpackPremultiplyAlpha = new yt(this), this.pixelStoreUnpackFlipY = new xt(this), this.extTextureFilterAnisotropic = t.getExtension(\"EXT_texture_filter_anisotropic\") || t.getExtension(\"MOZ_EXT_texture_filter_anisotropic\") || t.getExtension(\"WEBKIT_EXT_texture_filter_anisotropic\"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.extTextureHalfFloat = t.getExtension(\"OES_texture_half_float\"), this.extTextureHalfFloat && (t.getExtension(\"OES_texture_half_float_linear\"), this.extRenderToTextureHalfFloat = t.getExtension(\"EXT_color_buffer_half_float\")), this.extTimerQuery = t.getExtension(\"EXT_disjoint_timer_query\"), this.maxTextureSize = t.getParameter(t.MAX_TEXTURE_SIZE);\n };\n zt.prototype.setDefault = function () {\n this.unbindVAO(), this.clearColor.setDefault(), this.clearDepth.setDefault(), this.clearStencil.setDefault(), this.colorMask.setDefault(), this.depthMask.setDefault(), this.stencilMask.setDefault(), this.stencilFunc.setDefault(), this.stencilOp.setDefault(), this.stencilTest.setDefault(), this.depthRange.setDefault(), this.depthTest.setDefault(), this.depthFunc.setDefault(), this.blend.setDefault(), this.blendFunc.setDefault(), this.blendColor.setDefault(), this.blendEquation.setDefault(), this.cullFace.setDefault(), this.cullFaceSide.setDefault(), this.frontFace.setDefault(), this.program.setDefault(), this.activeTexture.setDefault(), this.bindFramebuffer.setDefault(), this.pixelStoreUnpack.setDefault(), this.pixelStoreUnpackPremultiplyAlpha.setDefault(), this.pixelStoreUnpackFlipY.setDefault();\n }, zt.prototype.setDirty = function () {\n this.clearColor.dirty = !0, this.clearDepth.dirty = !0, this.clearStencil.dirty = !0, this.colorMask.dirty = !0, this.depthMask.dirty = !0, this.stencilMask.dirty = !0, this.stencilFunc.dirty = !0, this.stencilOp.dirty = !0, this.stencilTest.dirty = !0, this.depthRange.dirty = !0, this.depthTest.dirty = !0, this.depthFunc.dirty = !0, this.blend.dirty = !0, this.blendFunc.dirty = !0, this.blendColor.dirty = !0, this.blendEquation.dirty = !0, this.cullFace.dirty = !0, this.cullFaceSide.dirty = !0, this.frontFace.dirty = !0, this.program.dirty = !0, this.activeTexture.dirty = !0, this.viewport.dirty = !0, this.bindFramebuffer.dirty = !0, this.bindRenderbuffer.dirty = !0, this.bindTexture.dirty = !0, this.bindVertexBuffer.dirty = !0, this.bindElementBuffer.dirty = !0, this.extVertexArrayObject && (this.bindVertexArrayOES.dirty = !0), this.pixelStoreUnpack.dirty = !0, this.pixelStoreUnpackPremultiplyAlpha.dirty = !0, this.pixelStoreUnpackFlipY.dirty = !0;\n }, zt.prototype.createIndexBuffer = function (t, e) {\n return new N(this, t, e);\n }, zt.prototype.createVertexBuffer = function (t, e, i) {\n return new q(this, t, e, i);\n }, zt.prototype.createRenderbuffer = function (t, e, i) {\n var o = this.gl,\n r = o.createRenderbuffer();\n return this.bindRenderbuffer.set(r), o.renderbufferStorage(o.RENDERBUFFER, t, e, i), this.bindRenderbuffer.set(null), r;\n }, zt.prototype.createFramebuffer = function (t, e, i) {\n return new Et(this, t, e, i);\n }, zt.prototype.clear = function (t) {\n var e = t.color,\n i = t.depth,\n o = this.gl,\n r = 0;\n e && (r |= o.COLOR_BUFFER_BIT, this.clearColor.set(e), this.colorMask.set([!0, !0, !0, !0])), void 0 !== i && (r |= o.DEPTH_BUFFER_BIT, this.depthRange.set([0, 1]), this.clearDepth.set(i), this.depthMask.set(!0)), o.clear(r);\n }, zt.prototype.setCullFace = function (t) {\n !1 === t.enable ? this.cullFace.set(!1) : (this.cullFace.set(!0), this.cullFaceSide.set(t.mode), this.frontFace.set(t.frontFace));\n }, zt.prototype.setDepthMode = function (t) {\n t.func !== this.gl.ALWAYS || t.mask ? (this.depthTest.set(!0), this.depthFunc.set(t.func), this.depthMask.set(t.mask), this.depthRange.set(t.range)) : this.depthTest.set(!1);\n }, zt.prototype.setStencilMode = function (t) {\n t.test.func !== this.gl.ALWAYS || t.mask ? (this.stencilTest.set(!0), this.stencilMask.set(t.mask), this.stencilOp.set([t.fail, t.depthFail, t.pass]), this.stencilFunc.set({\n func: t.test.func,\n ref: t.ref,\n mask: t.test.mask\n })) : this.stencilTest.set(!1);\n }, zt.prototype.setColorMode = function (e) {\n t.deepEqual(e.blendFunction, St.Replace) ? this.blend.set(!1) : (this.blend.set(!0), this.blendFunc.set(e.blendFunction), this.blendColor.set(e.blendColor)), this.colorMask.set(e.mask);\n }, zt.prototype.unbindVAO = function () {\n this.extVertexArrayObject && this.bindVertexArrayOES.set(null);\n };\n var Dt = function (e) {\n function i(i, o, r) {\n var a = this;\n e.call(this), this.id = i, this.dispatcher = r, this.on(\"data\", function (t) {\n \"source\" === t.dataType && \"metadata\" === t.sourceDataType && (a._sourceLoaded = !0), a._sourceLoaded && !a._paused && \"source\" === t.dataType && \"content\" === t.sourceDataType && (a.reload(), a.transform && a.update(a.transform));\n }), this.on(\"error\", function () {\n a._sourceErrored = !0;\n }), this._source = function (e, i, o, r) {\n var a = new k[i.type](e, i, o, r);\n if (a.id !== e) throw new Error(\"Expected Source id to be \" + e + \" instead of \" + a.id);\n return t.bindAll([\"load\", \"abort\", \"unload\", \"serialize\", \"prepare\"], a), a;\n }(i, o, r, this), this._tiles = {}, this._cache = new U(0, this._unloadTile.bind(this)), this._timers = {}, this._cacheTimers = {}, this._maxTileCacheSize = null, this._loadedParentTiles = {}, this._coveredTiles = {}, this._state = new t.SourceFeatureState();\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.onAdd = function (t) {\n this.map = t, this._maxTileCacheSize = t ? t._maxTileCacheSize : null, this._source && this._source.onAdd && this._source.onAdd(t);\n }, i.prototype.onRemove = function (t) {\n this._source && this._source.onRemove && this._source.onRemove(t);\n }, i.prototype.loaded = function () {\n if (this._sourceErrored) return !0;\n if (!this._sourceLoaded) return !1;\n if (!this._source.loaded()) return !1;\n for (var t in this._tiles) {\n var e = this._tiles[t];\n if (\"loaded\" !== e.state && \"errored\" !== e.state) return !1;\n }\n return !0;\n }, i.prototype.getSource = function () {\n return this._source;\n }, i.prototype.pause = function () {\n this._paused = !0;\n }, i.prototype.resume = function () {\n if (this._paused) {\n var t = this._shouldReloadOnResume;\n this._paused = !1, this._shouldReloadOnResume = !1, t && this.reload(), this.transform && this.update(this.transform);\n }\n }, i.prototype._loadTile = function (t, e) {\n return this._source.loadTile(t, e);\n }, i.prototype._unloadTile = function (t) {\n if (this._source.unloadTile) return this._source.unloadTile(t, function () {});\n }, i.prototype._abortTile = function (t) {\n if (this._source.abortTile) return this._source.abortTile(t, function () {});\n }, i.prototype.serialize = function () {\n return this._source.serialize();\n }, i.prototype.prepare = function (t) {\n for (var e in this._source.prepare && this._source.prepare(), this._state.coalesceChanges(this._tiles, this.map ? this.map.painter : null), this._tiles) {\n var i = this._tiles[e];\n i.upload(t), i.prepare(this.map.style.imageManager);\n }\n }, i.prototype.getIds = function () {\n return t.values(this._tiles).map(function (t) {\n return t.tileID;\n }).sort(At).map(function (t) {\n return t.key;\n });\n }, i.prototype.getRenderableIds = function (e) {\n var i = this,\n o = [];\n for (var r in this._tiles) this._isIdRenderable(r, e) && o.push(this._tiles[r]);\n return e ? o.sort(function (e, o) {\n var r = e.tileID,\n a = o.tileID,\n n = new t.Point(r.canonical.x, r.canonical.y)._rotate(i.transform.angle),\n s = new t.Point(a.canonical.x, a.canonical.y)._rotate(i.transform.angle);\n return r.overscaledZ - a.overscaledZ || s.y - n.y || s.x - n.x;\n }).map(function (t) {\n return t.tileID.key;\n }) : o.map(function (t) {\n return t.tileID;\n }).sort(At).map(function (t) {\n return t.key;\n });\n }, i.prototype.hasRenderableParent = function (t) {\n var e = this.findLoadedParent(t, 0);\n return !!e && this._isIdRenderable(e.tileID.key);\n }, i.prototype._isIdRenderable = function (t, e) {\n return this._tiles[t] && this._tiles[t].hasData() && !this._coveredTiles[t] && (e || !this._tiles[t].holdingForFade());\n }, i.prototype.reload = function () {\n if (this._paused) this._shouldReloadOnResume = !0;else for (var t in this._cache.reset(), this._tiles) \"errored\" !== this._tiles[t].state && this._reloadTile(t, \"reloading\");\n }, i.prototype._reloadTile = function (t, e) {\n var i = this._tiles[t];\n i && (\"loading\" !== i.state && (i.state = e), this._loadTile(i, this._tileLoaded.bind(this, i, t, e)));\n }, i.prototype._tileLoaded = function (e, i, o, r) {\n if (r) return e.state = \"errored\", void (404 !== r.status ? this._source.fire(new t.ErrorEvent(r, {\n tile: e\n })) : this.update(this.transform));\n e.timeAdded = t.browser.now(), \"expired\" === o && (e.refreshedUponExpiration = !0), this._setTileReloadTimer(i, e), \"raster-dem\" === this.getSource().type && e.dem && this._backfillDEM(e), this._state.initializeTileState(e, this.map ? this.map.painter : null), this._source.fire(new t.Event(\"data\", {\n dataType: \"source\",\n tile: e,\n coord: e.tileID\n }));\n }, i.prototype._backfillDEM = function (t) {\n for (var e = this.getRenderableIds(), i = 0; i < e.length; i++) {\n var o = e[i];\n if (t.neighboringTiles && t.neighboringTiles[o]) {\n var r = this.getTileByID(o);\n a(t, r), a(r, t);\n }\n }\n function a(t, e) {\n t.needsHillshadePrepare = !0;\n var i = e.tileID.canonical.x - t.tileID.canonical.x,\n o = e.tileID.canonical.y - t.tileID.canonical.y,\n r = Math.pow(2, t.tileID.canonical.z),\n a = e.tileID.key;\n 0 === i && 0 === o || Math.abs(o) > 1 || (Math.abs(i) > 1 && (1 === Math.abs(i + r) ? i += r : 1 === Math.abs(i - r) && (i -= r)), e.dem && t.dem && (t.dem.backfillBorder(e.dem, i, o), t.neighboringTiles && t.neighboringTiles[a] && (t.neighboringTiles[a].backfilled = !0)));\n }\n }, i.prototype.getTile = function (t) {\n return this.getTileByID(t.key);\n }, i.prototype.getTileByID = function (t) {\n return this._tiles[t];\n }, i.prototype._retainLoadedChildren = function (t, e, i, o) {\n for (var r in this._tiles) {\n var a = this._tiles[r];\n if (!(o[r] || !a.hasData() || a.tileID.overscaledZ <= e || a.tileID.overscaledZ > i)) {\n for (var n = a.tileID; a && a.tileID.overscaledZ > e + 1;) {\n var s = a.tileID.scaledTo(a.tileID.overscaledZ - 1);\n (a = this._tiles[s.key]) && a.hasData() && (n = s);\n }\n for (var l = n; l.overscaledZ > e;) if (t[(l = l.scaledTo(l.overscaledZ - 1)).key]) {\n o[n.key] = n;\n break;\n }\n }\n }\n }, i.prototype.findLoadedParent = function (t, e) {\n if (t.key in this._loadedParentTiles) {\n var i = this._loadedParentTiles[t.key];\n return i && i.tileID.overscaledZ >= e ? i : null;\n }\n for (var o = t.overscaledZ - 1; o >= e; o--) {\n var r = t.scaledTo(o),\n a = this._getLoadedTile(r);\n if (a) return a;\n }\n }, i.prototype._getLoadedTile = function (t) {\n var e = this._tiles[t.key];\n return e && e.hasData() ? e : this._cache.getByKey(t.wrapped().key);\n }, i.prototype.updateCacheSize = function (t) {\n var e = Math.ceil(t.width / this._source.tileSize) + 1,\n i = Math.ceil(t.height / this._source.tileSize) + 1,\n o = Math.floor(e * i * 5),\n r = \"number\" == typeof this._maxTileCacheSize ? Math.min(this._maxTileCacheSize, o) : o;\n this._cache.setMaxSize(r);\n }, i.prototype.handleWrapJump = function (t) {\n var e = Math.round((t - (void 0 === this._prevLng ? t : this._prevLng)) / 360);\n if (this._prevLng = t, e) {\n var i = {};\n for (var o in this._tiles) {\n var r = this._tiles[o];\n r.tileID = r.tileID.unwrapTo(r.tileID.wrap + e), i[r.tileID.key] = r;\n }\n for (var a in this._tiles = i, this._timers) clearTimeout(this._timers[a]), delete this._timers[a];\n for (var n in this._tiles) this._setTileReloadTimer(n, this._tiles[n]);\n }\n }, i.prototype.update = function (e) {\n var o = this;\n if (this.transform = e, this._sourceLoaded && !this._paused) {\n var r;\n this.updateCacheSize(e), this.handleWrapJump(this.transform.center.lng), this._coveredTiles = {}, this.used ? this._source.tileID ? r = e.getVisibleUnwrappedCoordinates(this._source.tileID).map(function (e) {\n return new t.OverscaledTileID(e.canonical.z, e.wrap, e.canonical.z, e.canonical.x, e.canonical.y);\n }) : (r = e.coveringTiles({\n tileSize: this._source.tileSize,\n minzoom: this._source.minzoom,\n maxzoom: this._source.maxzoom,\n roundZoom: this._source.roundZoom,\n reparseOverscaled: this._source.reparseOverscaled\n }), this._source.hasTile && (r = r.filter(function (t) {\n return o._source.hasTile(t);\n }))) : r = [];\n var a = e.coveringZoomLevel(this._source),\n n = Math.max(a - i.maxOverzooming, this._source.minzoom),\n s = Math.max(a + i.maxUnderzooming, this._source.minzoom),\n l = this._updateRetainedTiles(r, a);\n if (Mt(this._source.type)) {\n for (var c = {}, u = {}, h = 0, p = Object.keys(l); h < p.length; h += 1) {\n var d = p[h],\n _ = l[d],\n f = this._tiles[d];\n if (f && !(f.fadeEndTime && f.fadeEndTime <= t.browser.now())) {\n var m = this.findLoadedParent(_, n);\n m && (this._addTile(m.tileID), c[m.tileID.key] = m.tileID), u[d] = _;\n }\n }\n for (var g in this._retainLoadedChildren(u, a, s, l), c) l[g] || (this._coveredTiles[g] = !0, l[g] = c[g]);\n }\n for (var v in l) this._tiles[v].clearFadeHold();\n for (var y = 0, x = t.keysDifference(this._tiles, l); y < x.length; y += 1) {\n var b = x[y],\n w = this._tiles[b];\n w.hasSymbolBuckets && !w.holdingForFade() ? w.setHoldDuration(this.map._fadeDuration) : w.hasSymbolBuckets && !w.symbolFadeFinished() || this._removeTile(b);\n }\n this._updateLoadedParentTileCache();\n }\n }, i.prototype.releaseSymbolFadeTiles = function () {\n for (var t in this._tiles) this._tiles[t].holdingForFade() && this._removeTile(t);\n }, i.prototype._updateRetainedTiles = function (t, e) {\n for (var o = {}, r = {}, a = Math.max(e - i.maxOverzooming, this._source.minzoom), n = Math.max(e + i.maxUnderzooming, this._source.minzoom), s = {}, l = 0, c = t; l < c.length; l += 1) {\n var u = c[l],\n h = this._addTile(u);\n o[u.key] = u, h.hasData() || e < this._source.maxzoom && (s[u.key] = u);\n }\n this._retainLoadedChildren(s, e, n, o);\n for (var p = 0, d = t; p < d.length; p += 1) {\n var _ = d[p],\n f = this._tiles[_.key];\n if (!f.hasData()) {\n if (e + 1 > this._source.maxzoom) {\n var m = _.children(this._source.maxzoom)[0],\n g = this.getTile(m);\n if (g && g.hasData()) {\n o[m.key] = m;\n continue;\n }\n } else {\n var v = _.children(this._source.maxzoom);\n if (o[v[0].key] && o[v[1].key] && o[v[2].key] && o[v[3].key]) continue;\n }\n for (var y = f.wasRequested(), x = _.overscaledZ - 1; x >= a; --x) {\n var b = _.scaledTo(x);\n if (r[b.key]) break;\n if (r[b.key] = !0, !(f = this.getTile(b)) && y && (f = this._addTile(b)), f && (o[b.key] = b, y = f.wasRequested(), f.hasData())) break;\n }\n }\n }\n return o;\n }, i.prototype._updateLoadedParentTileCache = function () {\n for (var t in this._loadedParentTiles = {}, this._tiles) {\n for (var e = [], i = void 0, o = this._tiles[t].tileID; o.overscaledZ > 0;) {\n if (o.key in this._loadedParentTiles) {\n i = this._loadedParentTiles[o.key];\n break;\n }\n e.push(o.key);\n var r = o.scaledTo(o.overscaledZ - 1);\n if (i = this._getLoadedTile(r)) break;\n o = r;\n }\n for (var a = 0, n = e; a < n.length; a += 1) this._loadedParentTiles[n[a]] = i;\n }\n }, i.prototype._addTile = function (e) {\n var i = this._tiles[e.key];\n if (i) return i;\n (i = this._cache.getAndRemove(e)) && (this._setTileReloadTimer(e.key, i), i.tileID = e, this._state.initializeTileState(i, this.map ? this.map.painter : null), this._cacheTimers[e.key] && (clearTimeout(this._cacheTimers[e.key]), delete this._cacheTimers[e.key], this._setTileReloadTimer(e.key, i)));\n var o = Boolean(i);\n return o || (i = new t.Tile(e, this._source.tileSize * e.overscaleFactor()), this._loadTile(i, this._tileLoaded.bind(this, i, e.key, i.state))), i ? (i.uses++, this._tiles[e.key] = i, o || this._source.fire(new t.Event(\"dataloading\", {\n tile: i,\n coord: i.tileID,\n dataType: \"source\"\n })), i) : null;\n }, i.prototype._setTileReloadTimer = function (t, e) {\n var i = this;\n t in this._timers && (clearTimeout(this._timers[t]), delete this._timers[t]);\n var o = e.getExpiryTimeout();\n o && (this._timers[t] = setTimeout(function () {\n i._reloadTile(t, \"expired\"), delete i._timers[t];\n }, o));\n }, i.prototype._removeTile = function (t) {\n var e = this._tiles[t];\n e && (e.uses--, delete this._tiles[t], this._timers[t] && (clearTimeout(this._timers[t]), delete this._timers[t]), e.uses > 0 || (e.hasData() && \"reloading\" !== e.state ? this._cache.add(e.tileID, e, e.getExpiryTimeout()) : (e.aborted = !0, this._abortTile(e), this._unloadTile(e))));\n }, i.prototype.clearTiles = function () {\n for (var t in this._shouldReloadOnResume = !1, this._paused = !1, this._tiles) this._removeTile(t);\n this._cache.reset();\n }, i.prototype.tilesIn = function (e, i, o) {\n var r = this,\n a = [],\n n = this.transform;\n if (!n) return a;\n for (var s = o ? n.getCameraQueryGeometry(e) : e, l = e.map(function (t) {\n return n.pointCoordinate(t);\n }), c = s.map(function (t) {\n return n.pointCoordinate(t);\n }), u = this.getIds(), h = 1 / 0, p = 1 / 0, d = -1 / 0, _ = -1 / 0, f = 0, m = c; f < m.length; f += 1) {\n var g = m[f];\n h = Math.min(h, g.x), p = Math.min(p, g.y), d = Math.max(d, g.x), _ = Math.max(_, g.y);\n }\n for (var v = function (e) {\n var o = r._tiles[u[e]];\n if (!o.holdingForFade()) {\n var s = o.tileID,\n f = Math.pow(2, n.zoom - o.tileID.overscaledZ),\n m = i * o.queryPadding * t.EXTENT / o.tileSize / f,\n g = [s.getTilePoint(new t.MercatorCoordinate(h, p)), s.getTilePoint(new t.MercatorCoordinate(d, _))];\n if (g[0].x - m < t.EXTENT && g[0].y - m < t.EXTENT && g[1].x + m >= 0 && g[1].y + m >= 0) {\n var v = l.map(function (t) {\n return s.getTilePoint(t);\n }),\n y = c.map(function (t) {\n return s.getTilePoint(t);\n });\n a.push({\n tile: o,\n tileID: s,\n queryGeometry: v,\n cameraQueryGeometry: y,\n scale: f\n });\n }\n }\n }, y = 0; y < u.length; y++) v(y);\n return a;\n }, i.prototype.getVisibleCoordinates = function (t) {\n for (var e = this, i = this.getRenderableIds(t).map(function (t) {\n return e._tiles[t].tileID;\n }), o = 0, r = i; o < r.length; o += 1) {\n var a = r[o];\n a.posMatrix = this.transform.calculatePosMatrix(a.toUnwrapped());\n }\n return i;\n }, i.prototype.hasTransition = function () {\n if (this._source.hasTransition()) return !0;\n if (Mt(this._source.type)) for (var e in this._tiles) {\n var i = this._tiles[e];\n if (void 0 !== i.fadeEndTime && i.fadeEndTime >= t.browser.now()) return !0;\n }\n return !1;\n }, i.prototype.setFeatureState = function (t, e, i) {\n this._state.updateState(t = t || \"_geojsonTileLayer\", e, i);\n }, i.prototype.removeFeatureState = function (t, e, i) {\n this._state.removeFeatureState(t = t || \"_geojsonTileLayer\", e, i);\n }, i.prototype.getFeatureState = function (t, e) {\n return this._state.getState(t = t || \"_geojsonTileLayer\", e);\n }, i.prototype.setDependencies = function (t, e, i) {\n var o = this._tiles[t];\n o && o.setDependencies(e, i);\n }, i.prototype.reloadTilesForDependencies = function (t, e) {\n for (var i in this._tiles) this._tiles[i].hasDependency(t, e) && this._reloadTile(i, \"reloading\");\n this._cache.filter(function (i) {\n return !i.hasDependency(t, e);\n });\n }, i;\n }(t.Evented);\n function At(t, e) {\n var i = Math.abs(2 * t.wrap) - +(t.wrap < 0),\n o = Math.abs(2 * e.wrap) - +(e.wrap < 0);\n return t.overscaledZ - e.overscaledZ || o - i || e.canonical.y - t.canonical.y || e.canonical.x - t.canonical.x;\n }\n function Mt(t) {\n return \"raster\" === t || \"image\" === t || \"video\" === t;\n }\n function Lt() {\n return new t.window.Worker(Kr.workerUrl);\n }\n Dt.maxOverzooming = 10, Dt.maxUnderzooming = 3;\n var Rt = \"mapboxgl_preloaded_worker_pool\",\n kt = function () {\n this.active = {};\n };\n kt.prototype.acquire = function (t) {\n if (!this.workers) for (this.workers = []; this.workers.length < kt.workerCount;) this.workers.push(new Lt());\n return this.active[t] = !0, this.workers.slice();\n }, kt.prototype.release = function (t) {\n delete this.active[t], 0 === this.numActive() && (this.workers.forEach(function (t) {\n t.terminate();\n }), this.workers = null);\n }, kt.prototype.isPreloaded = function () {\n return !!this.active[Rt];\n }, kt.prototype.numActive = function () {\n return Object.keys(this.active).length;\n };\n var Bt,\n Ot = Math.floor(t.browser.hardwareConcurrency / 2);\n function Ft() {\n return Bt || (Bt = new kt()), Bt;\n }\n function Ut(e, i) {\n var o = {};\n for (var r in e) \"ref\" !== r && (o[r] = e[r]);\n return t.refProperties.forEach(function (t) {\n t in i && (o[t] = i[t]);\n }), o;\n }\n function Nt(t) {\n t = t.slice();\n for (var e = Object.create(null), i = 0; i < t.length; i++) e[t[i].id] = t[i];\n for (var o = 0; o < t.length; o++) \"ref\" in t[o] && (t[o] = Ut(t[o], e[t[o].ref]));\n return t;\n }\n kt.workerCount = Math.max(Math.min(Ot, 6), 1);\n var Zt = {\n setStyle: \"setStyle\",\n addLayer: \"addLayer\",\n removeLayer: \"removeLayer\",\n setPaintProperty: \"setPaintProperty\",\n setLayoutProperty: \"setLayoutProperty\",\n setFilter: \"setFilter\",\n addSource: \"addSource\",\n removeSource: \"removeSource\",\n setGeoJSONSourceData: \"setGeoJSONSourceData\",\n setLayerZoomRange: \"setLayerZoomRange\",\n setLayerProperty: \"setLayerProperty\",\n setCenter: \"setCenter\",\n setZoom: \"setZoom\",\n setBearing: \"setBearing\",\n setPitch: \"setPitch\",\n setSprite: \"setSprite\",\n setGlyphs: \"setGlyphs\",\n setTransition: \"setTransition\",\n setLight: \"setLight\"\n };\n function qt(t, e, i) {\n i.push({\n command: Zt.addSource,\n args: [t, e[t]]\n });\n }\n function jt(t, e, i) {\n e.push({\n command: Zt.removeSource,\n args: [t]\n }), i[t] = !0;\n }\n function Vt(t, e, i, o) {\n jt(t, i, o), qt(t, e, i);\n }\n function Gt(e, i, o) {\n var r;\n for (r in e[o]) if (e[o].hasOwnProperty(r) && \"data\" !== r && !t.deepEqual(e[o][r], i[o][r])) return !1;\n for (r in i[o]) if (i[o].hasOwnProperty(r) && \"data\" !== r && !t.deepEqual(e[o][r], i[o][r])) return !1;\n return !0;\n }\n function Wt(e, i, o, r, a, n) {\n var s;\n for (s in i = i || {}, e = e || {}) e.hasOwnProperty(s) && (t.deepEqual(e[s], i[s]) || o.push({\n command: n,\n args: [r, s, i[s], a]\n }));\n for (s in i) i.hasOwnProperty(s) && !e.hasOwnProperty(s) && (t.deepEqual(e[s], i[s]) || o.push({\n command: n,\n args: [r, s, i[s], a]\n }));\n }\n function Xt(t) {\n return t.id;\n }\n function Ht(t, e) {\n return t[e.id] = e, t;\n }\n var Kt = function (t, e) {\n this.reset(t, e);\n };\n Kt.prototype.reset = function (t, e) {\n this.points = t || [], this._distances = [0];\n for (var i = 1; i < this.points.length; i++) this._distances[i] = this._distances[i - 1] + this.points[i].dist(this.points[i - 1]);\n this.length = this._distances[this._distances.length - 1], this.padding = Math.min(e || 0, .5 * this.length), this.paddedLength = this.length - 2 * this.padding;\n }, Kt.prototype.lerp = function (e) {\n if (1 === this.points.length) return this.points[0];\n e = t.clamp(e, 0, 1);\n for (var i = 1, o = this._distances[i], r = e * this.paddedLength + this.padding; o < r && i < this._distances.length;) o = this._distances[++i];\n var a = i - 1,\n n = this._distances[a],\n s = o - n,\n l = s > 0 ? (r - n) / s : 0;\n return this.points[a].mult(1 - l).add(this.points[i].mult(l));\n };\n var Yt = function (t, e, i) {\n var o = this.boxCells = [],\n r = this.circleCells = [];\n this.xCellCount = Math.ceil(t / i), this.yCellCount = Math.ceil(e / i);\n for (var a = 0; a < this.xCellCount * this.yCellCount; a++) o.push([]), r.push([]);\n this.circleKeys = [], this.boxKeys = [], this.bboxes = [], this.circles = [], this.width = t, this.height = e, this.xScale = this.xCellCount / t, this.yScale = this.yCellCount / e, this.boxUid = 0, this.circleUid = 0;\n };\n function Jt(e, i, o, r, a) {\n var n = t.create();\n return i ? (t.scale(n, n, [1 / a, 1 / a, 1]), o || t.rotateZ(n, n, r.angle)) : t.multiply(n, r.labelPlaneMatrix, e), n;\n }\n function Qt(e, i, o, r, a) {\n if (i) {\n var n = t.clone(e);\n return t.scale(n, n, [a, a, 1]), o || t.rotateZ(n, n, -r.angle), n;\n }\n return r.glCoordMatrix;\n }\n function $t(e, i) {\n var o = [e.x, e.y, 0, 1];\n ue(o, o, i);\n var r = o[3];\n return {\n point: new t.Point(o[0] / r, o[1] / r),\n signedDistanceFromCamera: r\n };\n }\n function te(t, e) {\n return .5 + t / e * .5;\n }\n function ee(t, e) {\n var i = t[0] / t[3],\n o = t[1] / t[3];\n return i >= -e[0] && i <= e[0] && o >= -e[1] && o <= e[1];\n }\n function ie(e, i, o, r, a, n, s, l) {\n var c = r ? e.textSizeData : e.iconSizeData,\n u = t.evaluateSizeForZoom(c, o.transform.zoom),\n h = [256 / o.width * 2 + 1, 256 / o.height * 2 + 1],\n p = r ? e.text.dynamicLayoutVertexArray : e.icon.dynamicLayoutVertexArray;\n p.clear();\n for (var d = e.lineVertexArray, _ = r ? e.text.placedSymbolArray : e.icon.placedSymbolArray, f = o.transform.width / o.transform.height, m = !1, g = 0; g < _.length; g++) {\n var v = _.get(g);\n if (v.hidden || v.writingMode === t.WritingMode.vertical && !m) ce(v.numGlyphs, p);else {\n m = !1;\n var y = [v.anchorX, v.anchorY, 0, 1];\n if (t.transformMat4(y, y, i), ee(y, h)) {\n var x = te(o.transform.cameraToCenterDistance, y[3]),\n b = t.evaluateSizeForFeature(c, u, v),\n w = s ? b / x : b * x,\n T = new t.Point(v.anchorX, v.anchorY),\n E = $t(T, a).point,\n I = {},\n P = ae(v, w, !1, l, i, a, n, e.glyphOffsetArray, d, p, E, T, I, f);\n m = P.useVertical, (P.notEnoughRoom || m || P.needsFlipping && ae(v, w, !0, l, i, a, n, e.glyphOffsetArray, d, p, E, T, I, f).notEnoughRoom) && ce(v.numGlyphs, p);\n } else ce(v.numGlyphs, p);\n }\n }\n r ? e.text.dynamicLayoutVertexBuffer.updateData(p) : e.icon.dynamicLayoutVertexBuffer.updateData(p);\n }\n function oe(t, e, i, o, r, a, n, s, l, c, u) {\n var h = s.glyphStartIndex + s.numGlyphs,\n p = s.lineStartIndex,\n d = s.lineStartIndex + s.lineLength,\n _ = e.getoffsetX(s.glyphStartIndex),\n f = e.getoffsetX(h - 1),\n m = se(t * _, i, o, r, a, n, s.segment, p, d, l, c, u);\n if (!m) return null;\n var g = se(t * f, i, o, r, a, n, s.segment, p, d, l, c, u);\n return g ? {\n first: m,\n last: g\n } : null;\n }\n function re(e, i, o, r) {\n return e === t.WritingMode.horizontal && Math.abs(o.y - i.y) > Math.abs(o.x - i.x) * r ? {\n useVertical: !0\n } : (e === t.WritingMode.vertical ? i.y < o.y : i.x > o.x) ? {\n needsFlipping: !0\n } : null;\n }\n function ae(e, i, o, r, a, n, s, l, c, u, h, p, d, _) {\n var f,\n m = i / 24,\n g = e.lineOffsetX * m,\n v = e.lineOffsetY * m;\n if (e.numGlyphs > 1) {\n var y = e.glyphStartIndex + e.numGlyphs,\n x = e.lineStartIndex,\n b = e.lineStartIndex + e.lineLength,\n w = oe(m, l, g, v, o, h, p, e, c, n, d);\n if (!w) return {\n notEnoughRoom: !0\n };\n var T = $t(w.first.point, s).point,\n E = $t(w.last.point, s).point;\n if (r && !o) {\n var I = re(e.writingMode, T, E, _);\n if (I) return I;\n }\n f = [w.first];\n for (var P = e.glyphStartIndex + 1; P < y - 1; P++) f.push(se(m * l.getoffsetX(P), g, v, o, h, p, e.segment, x, b, c, n, d));\n f.push(w.last);\n } else {\n if (r && !o) {\n var S = $t(p, a).point,\n C = e.lineStartIndex + e.segment + 1,\n z = new t.Point(c.getx(C), c.gety(C)),\n D = $t(z, a),\n A = D.signedDistanceFromCamera > 0 ? D.point : ne(p, z, S, 1, a),\n M = re(e.writingMode, S, A, _);\n if (M) return M;\n }\n var L = se(m * l.getoffsetX(e.glyphStartIndex), g, v, o, h, p, e.segment, e.lineStartIndex, e.lineStartIndex + e.lineLength, c, n, d);\n if (!L) return {\n notEnoughRoom: !0\n };\n f = [L];\n }\n for (var R = 0, k = f; R < k.length; R += 1) {\n var B = k[R];\n t.addDynamicAttributes(u, B.point, B.angle);\n }\n return {};\n }\n function ne(t, e, i, o, r) {\n var a = $t(t.add(t.sub(e)._unit()), r).point,\n n = i.sub(a);\n return i.add(n._mult(o / n.mag()));\n }\n function se(e, i, o, r, a, n, s, l, c, u, h, p) {\n var d = r ? e - i : e + i,\n _ = d > 0 ? 1 : -1,\n f = 0;\n r && (_ *= -1, f = Math.PI), _ < 0 && (f += Math.PI);\n for (var m = _ > 0 ? l + s : l + s + 1, g = a, v = a, y = 0, x = 0, b = Math.abs(d), w = []; y + x <= b;) {\n if ((m += _) < l || m >= c) return null;\n if (v = g, w.push(g), void 0 === (g = p[m])) {\n var T = new t.Point(u.getx(m), u.gety(m)),\n E = $t(T, h);\n if (E.signedDistanceFromCamera > 0) g = p[m] = E.point;else {\n var I = m - _;\n g = ne(0 === y ? n : new t.Point(u.getx(I), u.gety(I)), T, v, b - y + 1, h);\n }\n }\n y += x, x = v.dist(g);\n }\n var P = (b - y) / x,\n S = g.sub(v),\n C = S.mult(P)._add(v);\n C._add(S._unit()._perp()._mult(o * _));\n var z = f + Math.atan2(g.y - v.y, g.x - v.x);\n return w.push(C), {\n point: C,\n angle: z,\n path: w\n };\n }\n Yt.prototype.keysLength = function () {\n return this.boxKeys.length + this.circleKeys.length;\n }, Yt.prototype.insert = function (t, e, i, o, r) {\n this._forEachCell(e, i, o, r, this._insertBoxCell, this.boxUid++), this.boxKeys.push(t), this.bboxes.push(e), this.bboxes.push(i), this.bboxes.push(o), this.bboxes.push(r);\n }, Yt.prototype.insertCircle = function (t, e, i, o) {\n this._forEachCell(e - o, i - o, e + o, i + o, this._insertCircleCell, this.circleUid++), this.circleKeys.push(t), this.circles.push(e), this.circles.push(i), this.circles.push(o);\n }, Yt.prototype._insertBoxCell = function (t, e, i, o, r, a) {\n this.boxCells[r].push(a);\n }, Yt.prototype._insertCircleCell = function (t, e, i, o, r, a) {\n this.circleCells[r].push(a);\n }, Yt.prototype._query = function (t, e, i, o, r, a) {\n if (i < 0 || t > this.width || o < 0 || e > this.height) return !r && [];\n var n = [];\n if (t <= 0 && e <= 0 && this.width <= i && this.height <= o) {\n if (r) return !0;\n for (var s = 0; s < this.boxKeys.length; s++) n.push({\n key: this.boxKeys[s],\n x1: this.bboxes[4 * s],\n y1: this.bboxes[4 * s + 1],\n x2: this.bboxes[4 * s + 2],\n y2: this.bboxes[4 * s + 3]\n });\n for (var l = 0; l < this.circleKeys.length; l++) {\n var c = this.circles[3 * l],\n u = this.circles[3 * l + 1],\n h = this.circles[3 * l + 2];\n n.push({\n key: this.circleKeys[l],\n x1: c - h,\n y1: u - h,\n x2: c + h,\n y2: u + h\n });\n }\n return a ? n.filter(a) : n;\n }\n return this._forEachCell(t, e, i, o, this._queryCell, n, {\n hitTest: r,\n seenUids: {\n box: {},\n circle: {}\n }\n }, a), r ? n.length > 0 : n;\n }, Yt.prototype._queryCircle = function (t, e, i, o, r) {\n var a = t - i,\n n = t + i,\n s = e - i,\n l = e + i;\n if (n < 0 || a > this.width || l < 0 || s > this.height) return !o && [];\n var c = [];\n return this._forEachCell(a, s, n, l, this._queryCellCircle, c, {\n hitTest: o,\n circle: {\n x: t,\n y: e,\n radius: i\n },\n seenUids: {\n box: {},\n circle: {}\n }\n }, r), o ? c.length > 0 : c;\n }, Yt.prototype.query = function (t, e, i, o, r) {\n return this._query(t, e, i, o, !1, r);\n }, Yt.prototype.hitTest = function (t, e, i, o, r) {\n return this._query(t, e, i, o, !0, r);\n }, Yt.prototype.hitTestCircle = function (t, e, i, o) {\n return this._queryCircle(t, e, i, !0, o);\n }, Yt.prototype._queryCell = function (t, e, i, o, r, a, n, s) {\n var l = n.seenUids,\n c = this.boxCells[r];\n if (null !== c) for (var u = this.bboxes, h = 0, p = c; h < p.length; h += 1) {\n var d = p[h];\n if (!l.box[d]) {\n l.box[d] = !0;\n var _ = 4 * d;\n if (t <= u[_ + 2] && e <= u[_ + 3] && i >= u[_ + 0] && o >= u[_ + 1] && (!s || s(this.boxKeys[d]))) {\n if (n.hitTest) return a.push(!0), !0;\n a.push({\n key: this.boxKeys[d],\n x1: u[_],\n y1: u[_ + 1],\n x2: u[_ + 2],\n y2: u[_ + 3]\n });\n }\n }\n }\n var f = this.circleCells[r];\n if (null !== f) for (var m = this.circles, g = 0, v = f; g < v.length; g += 1) {\n var y = v[g];\n if (!l.circle[y]) {\n l.circle[y] = !0;\n var x = 3 * y;\n if (this._circleAndRectCollide(m[x], m[x + 1], m[x + 2], t, e, i, o) && (!s || s(this.circleKeys[y]))) {\n if (n.hitTest) return a.push(!0), !0;\n var b = m[x],\n w = m[x + 1],\n T = m[x + 2];\n a.push({\n key: this.circleKeys[y],\n x1: b - T,\n y1: w - T,\n x2: b + T,\n y2: w + T\n });\n }\n }\n }\n }, Yt.prototype._queryCellCircle = function (t, e, i, o, r, a, n, s) {\n var l = n.circle,\n c = n.seenUids,\n u = this.boxCells[r];\n if (null !== u) for (var h = this.bboxes, p = 0, d = u; p < d.length; p += 1) {\n var _ = d[p];\n if (!c.box[_]) {\n c.box[_] = !0;\n var f = 4 * _;\n if (this._circleAndRectCollide(l.x, l.y, l.radius, h[f + 0], h[f + 1], h[f + 2], h[f + 3]) && (!s || s(this.boxKeys[_]))) return a.push(!0), !0;\n }\n }\n var m = this.circleCells[r];\n if (null !== m) for (var g = this.circles, v = 0, y = m; v < y.length; v += 1) {\n var x = y[v];\n if (!c.circle[x]) {\n c.circle[x] = !0;\n var b = 3 * x;\n if (this._circlesCollide(g[b], g[b + 1], g[b + 2], l.x, l.y, l.radius) && (!s || s(this.circleKeys[x]))) return a.push(!0), !0;\n }\n }\n }, Yt.prototype._forEachCell = function (t, e, i, o, r, a, n, s) {\n for (var l = this._convertToXCellCoord(t), c = this._convertToYCellCoord(e), u = this._convertToXCellCoord(i), h = this._convertToYCellCoord(o), p = l; p <= u; p++) for (var d = c; d <= h; d++) if (r.call(this, t, e, i, o, this.xCellCount * d + p, a, n, s)) return;\n }, Yt.prototype._convertToXCellCoord = function (t) {\n return Math.max(0, Math.min(this.xCellCount - 1, Math.floor(t * this.xScale)));\n }, Yt.prototype._convertToYCellCoord = function (t) {\n return Math.max(0, Math.min(this.yCellCount - 1, Math.floor(t * this.yScale)));\n }, Yt.prototype._circlesCollide = function (t, e, i, o, r, a) {\n var n = o - t,\n s = r - e,\n l = i + a;\n return l * l > n * n + s * s;\n }, Yt.prototype._circleAndRectCollide = function (t, e, i, o, r, a, n) {\n var s = (a - o) / 2,\n l = Math.abs(t - (o + s));\n if (l > s + i) return !1;\n var c = (n - r) / 2,\n u = Math.abs(e - (r + c));\n if (u > c + i) return !1;\n if (l <= s || u <= c) return !0;\n var h = l - s,\n p = u - c;\n return h * h + p * p <= i * i;\n };\n var le = new Float32Array([-1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0]);\n function ce(t, e) {\n for (var i = 0; i < t; i++) {\n var o = e.length;\n e.resize(o + 4), e.float32.set(le, 3 * o);\n }\n }\n function ue(t, e, i) {\n var o = e[0],\n r = e[1];\n return t[0] = i[0] * o + i[4] * r + i[12], t[1] = i[1] * o + i[5] * r + i[13], t[3] = i[3] * o + i[7] * r + i[15], t;\n }\n var he = function (t, e, i) {\n void 0 === e && (e = new Yt(t.width + 200, t.height + 200, 25)), void 0 === i && (i = new Yt(t.width + 200, t.height + 200, 25)), this.transform = t, this.grid = e, this.ignoredGrid = i, this.pitchfactor = Math.cos(t._pitch) * t.cameraToCenterDistance, this.screenRightBoundary = t.width + 100, this.screenBottomBoundary = t.height + 100, this.gridRightBoundary = t.width + 200, this.gridBottomBoundary = t.height + 200;\n };\n function pe(e, i, o) {\n return i * (t.EXTENT / (e.tileSize * Math.pow(2, o - e.tileID.overscaledZ)));\n }\n he.prototype.placeCollisionBox = function (t, e, i, o, r) {\n var a = this.projectAndGetPerspectiveRatio(o, t.anchorPointX, t.anchorPointY),\n n = i * a.perspectiveRatio,\n s = t.x1 * n + a.point.x,\n l = t.y1 * n + a.point.y,\n c = t.x2 * n + a.point.x,\n u = t.y2 * n + a.point.y;\n return !this.isInsideGrid(s, l, c, u) || !e && this.grid.hitTest(s, l, c, u, r) ? {\n box: [],\n offscreen: !1\n } : {\n box: [s, l, c, u],\n offscreen: this.isOffscreen(s, l, c, u)\n };\n }, he.prototype.placeCollisionCircles = function (e, i, o, r, a, n, s, l, c, u, h, p, d) {\n var _ = [],\n f = new t.Point(i.anchorX, i.anchorY),\n m = $t(f, n),\n g = te(this.transform.cameraToCenterDistance, m.signedDistanceFromCamera),\n v = (u ? a / g : a * g) / t.ONE_EM,\n y = $t(f, s).point,\n x = oe(v, r, i.lineOffsetX * v, i.lineOffsetY * v, !1, y, f, i, o, s, {}),\n b = !1,\n w = !1,\n T = !0;\n if (x) {\n for (var E = .5 * p * g + d, I = new t.Point(-100, -100), P = new t.Point(this.screenRightBoundary, this.screenBottomBoundary), S = new Kt(), C = x.first, z = x.last, D = [], A = C.path.length - 1; A >= 1; A--) D.push(C.path[A]);\n for (var M = 1; M < z.path.length; M++) D.push(z.path[M]);\n var L = 2.5 * E;\n if (l) {\n var R = D.map(function (t) {\n return $t(t, l);\n });\n D = R.some(function (t) {\n return t.signedDistanceFromCamera <= 0;\n }) ? [] : R.map(function (t) {\n return t.point;\n });\n }\n var k = [];\n if (D.length > 0) {\n for (var B = D[0].clone(), O = D[0].clone(), F = 1; F < D.length; F++) B.x = Math.min(B.x, D[F].x), B.y = Math.min(B.y, D[F].y), O.x = Math.max(O.x, D[F].x), O.y = Math.max(O.y, D[F].y);\n k = B.x >= I.x && O.x <= P.x && B.y >= I.y && O.y <= P.y ? [D] : O.x < I.x || B.x > P.x || O.y < I.y || B.y > P.y ? [] : t.clipLine([D], I.x, I.y, P.x, P.y);\n }\n for (var U = 0, N = k; U < N.length; U += 1) {\n var Z;\n S.reset(N[U], .25 * E), Z = S.length <= .5 * E ? 1 : Math.ceil(S.paddedLength / L) + 1;\n for (var q = 0; q < Z; q++) {\n var j = q / Math.max(Z - 1, 1),\n V = S.lerp(j),\n G = V.x + 100,\n W = V.y + 100;\n _.push(G, W, E, 0);\n var X = G - E,\n H = W - E,\n K = G + E,\n Y = W + E;\n if (T = T && this.isOffscreen(X, H, K, Y), w = w || this.isInsideGrid(X, H, K, Y), !e && this.grid.hitTestCircle(G, W, E, h) && (b = !0, !c)) return {\n circles: [],\n offscreen: !1,\n collisionDetected: b\n };\n }\n }\n }\n return {\n circles: !c && b || !w ? [] : _,\n offscreen: T,\n collisionDetected: b\n };\n }, he.prototype.queryRenderedSymbols = function (e) {\n if (0 === e.length || 0 === this.grid.keysLength() && 0 === this.ignoredGrid.keysLength()) return {};\n for (var i = [], o = 1 / 0, r = 1 / 0, a = -1 / 0, n = -1 / 0, s = 0, l = e; s < l.length; s += 1) {\n var c = l[s],\n u = new t.Point(c.x + 100, c.y + 100);\n o = Math.min(o, u.x), r = Math.min(r, u.y), a = Math.max(a, u.x), n = Math.max(n, u.y), i.push(u);\n }\n for (var h = {}, p = {}, d = 0, _ = this.grid.query(o, r, a, n).concat(this.ignoredGrid.query(o, r, a, n)); d < _.length; d += 1) {\n var f = _[d],\n m = f.key;\n if (void 0 === h[m.bucketInstanceId] && (h[m.bucketInstanceId] = {}), !h[m.bucketInstanceId][m.featureIndex]) {\n var g = [new t.Point(f.x1, f.y1), new t.Point(f.x2, f.y1), new t.Point(f.x2, f.y2), new t.Point(f.x1, f.y2)];\n t.polygonIntersectsPolygon(i, g) && (h[m.bucketInstanceId][m.featureIndex] = !0, void 0 === p[m.bucketInstanceId] && (p[m.bucketInstanceId] = []), p[m.bucketInstanceId].push(m.featureIndex));\n }\n }\n return p;\n }, he.prototype.insertCollisionBox = function (t, e, i, o, r) {\n (e ? this.ignoredGrid : this.grid).insert({\n bucketInstanceId: i,\n featureIndex: o,\n collisionGroupID: r\n }, t[0], t[1], t[2], t[3]);\n }, he.prototype.insertCollisionCircles = function (t, e, i, o, r) {\n for (var a = e ? this.ignoredGrid : this.grid, n = {\n bucketInstanceId: i,\n featureIndex: o,\n collisionGroupID: r\n }, s = 0; s < t.length; s += 4) a.insertCircle(n, t[s], t[s + 1], t[s + 2]);\n }, he.prototype.projectAndGetPerspectiveRatio = function (e, i, o) {\n var r = [i, o, 0, 1];\n return ue(r, r, e), {\n point: new t.Point((r[0] / r[3] + 1) / 2 * this.transform.width + 100, (-r[1] / r[3] + 1) / 2 * this.transform.height + 100),\n perspectiveRatio: .5 + this.transform.cameraToCenterDistance / r[3] * .5\n };\n }, he.prototype.isOffscreen = function (t, e, i, o) {\n return i < 100 || t >= this.screenRightBoundary || o < 100 || e > this.screenBottomBoundary;\n }, he.prototype.isInsideGrid = function (t, e, i, o) {\n return i >= 0 && t < this.gridRightBoundary && o >= 0 && e < this.gridBottomBoundary;\n }, he.prototype.getViewportMatrix = function () {\n var e = t.identity([]);\n return t.translate(e, e, [-100, -100, 0]), e;\n };\n var de = function (t, e, i, o) {\n this.opacity = t ? Math.max(0, Math.min(1, t.opacity + (t.placed ? e : -e))) : o && i ? 1 : 0, this.placed = i;\n };\n de.prototype.isHidden = function () {\n return 0 === this.opacity && !this.placed;\n };\n var _e = function (t, e, i, o, r) {\n this.text = new de(t ? t.text : null, e, i, r), this.icon = new de(t ? t.icon : null, e, o, r);\n };\n _e.prototype.isHidden = function () {\n return this.text.isHidden() && this.icon.isHidden();\n };\n var fe = function (t, e, i) {\n this.text = t, this.icon = e, this.skipFade = i;\n },\n me = function () {\n this.invProjMatrix = t.create(), this.viewportMatrix = t.create(), this.circles = [];\n },\n ge = function (t, e, i, o, r) {\n this.bucketInstanceId = t, this.featureIndex = e, this.sourceLayerIndex = i, this.bucketIndex = o, this.tileID = r;\n },\n ve = function (t) {\n this.crossSourceCollisions = t, this.maxGroupID = 0, this.collisionGroups = {};\n };\n function ye(e, i, o, r, a) {\n var n = t.getAnchorAlignment(e),\n s = -(n.horizontalAlign - .5) * i,\n l = -(n.verticalAlign - .5) * o,\n c = t.evaluateVariableOffset(e, r);\n return new t.Point(s + c[0] * a, l + c[1] * a);\n }\n function xe(e, i, o, r, a, n) {\n var s = e.x1,\n l = e.x2,\n c = e.y1,\n u = e.y2,\n h = e.anchorPointX,\n p = e.anchorPointY,\n d = new t.Point(i, o);\n return r && d._rotate(a ? n : -n), {\n x1: s + d.x,\n y1: c + d.y,\n x2: l + d.x,\n y2: u + d.y,\n anchorPointX: h,\n anchorPointY: p\n };\n }\n ve.prototype.get = function (t) {\n if (this.crossSourceCollisions) return {\n ID: 0,\n predicate: null\n };\n if (!this.collisionGroups[t]) {\n var e = ++this.maxGroupID;\n this.collisionGroups[t] = {\n ID: e,\n predicate: function (t) {\n return t.collisionGroupID === e;\n }\n };\n }\n return this.collisionGroups[t];\n };\n var be = function (t, e, i, o) {\n this.transform = t.clone(), this.collisionIndex = new he(this.transform), this.placements = {}, this.opacities = {}, this.variableOffsets = {}, this.stale = !1, this.commitTime = 0, this.fadeDuration = e, this.retainedQueryData = {}, this.collisionGroups = new ve(i), this.collisionCircleArrays = {}, this.prevPlacement = o, o && (o.prevPlacement = void 0), this.placedOrientations = {};\n };\n function we(t, e, i, o, r) {\n t.emplaceBack(e ? 1 : 0, i ? 1 : 0, o || 0, r || 0), t.emplaceBack(e ? 1 : 0, i ? 1 : 0, o || 0, r || 0), t.emplaceBack(e ? 1 : 0, i ? 1 : 0, o || 0, r || 0), t.emplaceBack(e ? 1 : 0, i ? 1 : 0, o || 0, r || 0);\n }\n be.prototype.getBucketParts = function (e, i, o, r) {\n var a = o.getBucket(i),\n n = o.latestFeatureIndex;\n if (a && n && i.id === a.layerIds[0]) {\n var s = o.collisionBoxArray,\n l = a.layers[0].layout,\n c = Math.pow(2, this.transform.zoom - o.tileID.overscaledZ),\n u = o.tileSize / t.EXTENT,\n h = this.transform.calculatePosMatrix(o.tileID.toUnwrapped()),\n p = \"map\" === l.get(\"text-pitch-alignment\"),\n d = \"map\" === l.get(\"text-rotation-alignment\"),\n _ = pe(o, 1, this.transform.zoom),\n f = Jt(h, p, d, this.transform, _),\n m = null;\n if (p) {\n var g = Qt(h, p, d, this.transform, _);\n m = t.multiply([], this.transform.labelPlaneMatrix, g);\n }\n this.retainedQueryData[a.bucketInstanceId] = new ge(a.bucketInstanceId, n, a.sourceLayerIndex, a.index, o.tileID);\n var v = {\n bucket: a,\n layout: l,\n posMatrix: h,\n textLabelPlaneMatrix: f,\n labelToScreenMatrix: m,\n scale: c,\n textPixelRatio: u,\n holdingForFade: o.holdingForFade(),\n collisionBoxArray: s,\n partiallyEvaluatedTextSize: t.evaluateSizeForZoom(a.textSizeData, this.transform.zoom),\n collisionGroup: this.collisionGroups.get(a.sourceID)\n };\n if (r) for (var y = 0, x = a.sortKeyRanges; y < x.length; y += 1) {\n var b = x[y];\n e.push({\n sortKey: b.sortKey,\n symbolInstanceStart: b.symbolInstanceStart,\n symbolInstanceEnd: b.symbolInstanceEnd,\n parameters: v\n });\n } else e.push({\n symbolInstanceStart: 0,\n symbolInstanceEnd: a.symbolInstances.length,\n parameters: v\n });\n }\n }, be.prototype.attemptAnchorPlacement = function (t, e, i, o, r, a, n, s, l, c, u, h, p, d, _) {\n var f,\n m = [h.textOffset0, h.textOffset1],\n g = ye(t, i, o, m, r),\n v = this.collisionIndex.placeCollisionBox(xe(e, g.x, g.y, a, n, this.transform.angle), u, s, l, c.predicate);\n if (!_ || 0 !== this.collisionIndex.placeCollisionBox(xe(_, g.x, g.y, a, n, this.transform.angle), u, s, l, c.predicate).box.length) return v.box.length > 0 ? (this.prevPlacement && this.prevPlacement.variableOffsets[h.crossTileID] && this.prevPlacement.placements[h.crossTileID] && this.prevPlacement.placements[h.crossTileID].text && (f = this.prevPlacement.variableOffsets[h.crossTileID].anchor), this.variableOffsets[h.crossTileID] = {\n textOffset: m,\n width: i,\n height: o,\n anchor: t,\n textBoxScale: r,\n prevAnchor: f\n }, this.markUsedJustification(p, t, h, d), p.allowVerticalPlacement && (this.markUsedOrientation(p, d, h), this.placedOrientations[h.crossTileID] = d), {\n shift: g,\n placedGlyphBoxes: v\n }) : void 0;\n }, be.prototype.placeLayerBucketPart = function (e, i, o) {\n var r = this,\n a = e.parameters,\n n = a.bucket,\n s = a.layout,\n l = a.posMatrix,\n c = a.textLabelPlaneMatrix,\n u = a.labelToScreenMatrix,\n h = a.textPixelRatio,\n p = a.holdingForFade,\n d = a.collisionBoxArray,\n _ = a.partiallyEvaluatedTextSize,\n f = a.collisionGroup,\n m = s.get(\"text-optional\"),\n g = s.get(\"icon-optional\"),\n v = s.get(\"text-allow-overlap\"),\n y = s.get(\"icon-allow-overlap\"),\n x = \"map\" === s.get(\"text-rotation-alignment\"),\n b = \"map\" === s.get(\"text-pitch-alignment\"),\n w = \"none\" !== s.get(\"icon-text-fit\"),\n T = \"viewport-y\" === s.get(\"symbol-z-order\"),\n E = v && (y || !n.hasIconData() || g),\n I = y && (v || !n.hasTextData() || m);\n !n.collisionArrays && d && n.deserializeCollisionBoxes(d);\n var P = function (e, a) {\n if (!i[e.crossTileID]) if (p) r.placements[e.crossTileID] = new fe(!1, !1, !1);else {\n var d,\n T = !1,\n P = !1,\n S = !0,\n C = null,\n z = {\n box: null,\n offscreen: null\n },\n D = {\n box: null,\n offscreen: null\n },\n A = null,\n M = null,\n L = 0,\n R = 0,\n k = 0;\n a.textFeatureIndex ? L = a.textFeatureIndex : e.useRuntimeCollisionCircles && (L = e.featureIndex), a.verticalTextFeatureIndex && (R = a.verticalTextFeatureIndex);\n var B = a.textBox;\n if (B) {\n var O = function (i) {\n var o = t.WritingMode.horizontal;\n if (n.allowVerticalPlacement && !i && r.prevPlacement) {\n var a = r.prevPlacement.placedOrientations[e.crossTileID];\n a && (r.placedOrientations[e.crossTileID] = a, r.markUsedOrientation(n, o = a, e));\n }\n return o;\n },\n F = function (i, o) {\n if (n.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && a.verticalTextBox) for (var r = 0, s = n.writingModes; r < s.length && (s[r] === t.WritingMode.vertical ? (z = o(), D = z) : z = i(), !(z && z.box && z.box.length)); r += 1);else z = i();\n };\n if (s.get(\"text-variable-anchor\")) {\n var U = s.get(\"text-variable-anchor\");\n if (r.prevPlacement && r.prevPlacement.variableOffsets[e.crossTileID]) {\n var N = r.prevPlacement.variableOffsets[e.crossTileID];\n U.indexOf(N.anchor) > 0 && (U = U.filter(function (t) {\n return t !== N.anchor;\n })).unshift(N.anchor);\n }\n var Z = function (t, i, o) {\n for (var a = t.x2 - t.x1, s = t.y2 - t.y1, c = e.textBoxScale, u = w && !y ? i : null, p = {\n box: [],\n offscreen: !1\n }, d = v ? 2 * U.length : U.length, _ = 0; _ < d; ++_) {\n var m = r.attemptAnchorPlacement(U[_ % U.length], t, a, s, c, x, b, h, l, f, _ >= U.length, e, n, o, u);\n if (m && (p = m.placedGlyphBoxes) && p.box && p.box.length) {\n T = !0, C = m.shift;\n break;\n }\n }\n return p;\n };\n F(function () {\n return Z(B, a.iconBox, t.WritingMode.horizontal);\n }, function () {\n var i = a.verticalTextBox;\n return n.allowVerticalPlacement && !(z && z.box && z.box.length) && e.numVerticalGlyphVertices > 0 && i ? Z(i, a.verticalIconBox, t.WritingMode.vertical) : {\n box: null,\n offscreen: null\n };\n }), z && (T = z.box, S = z.offscreen);\n var q = O(z && z.box);\n if (!T && r.prevPlacement) {\n var j = r.prevPlacement.variableOffsets[e.crossTileID];\n j && (r.variableOffsets[e.crossTileID] = j, r.markUsedJustification(n, j.anchor, e, q));\n }\n } else {\n var V = function (t, i) {\n var o = r.collisionIndex.placeCollisionBox(t, v, h, l, f.predicate);\n return o && o.box && o.box.length && (r.markUsedOrientation(n, i, e), r.placedOrientations[e.crossTileID] = i), o;\n };\n F(function () {\n return V(B, t.WritingMode.horizontal);\n }, function () {\n var i = a.verticalTextBox;\n return n.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && i ? V(i, t.WritingMode.vertical) : {\n box: null,\n offscreen: null\n };\n }), O(z && z.box && z.box.length);\n }\n }\n if (T = (d = z) && d.box && d.box.length > 0, S = d && d.offscreen, e.useRuntimeCollisionCircles) {\n var G = n.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),\n W = t.evaluateSizeForFeature(n.textSizeData, _, G),\n X = s.get(\"text-padding\");\n A = r.collisionIndex.placeCollisionCircles(v, G, n.lineVertexArray, n.glyphOffsetArray, W, l, c, u, o, b, f.predicate, e.collisionCircleDiameter, X), T = v || A.circles.length > 0 && !A.collisionDetected, S = S && A.offscreen;\n }\n if (a.iconFeatureIndex && (k = a.iconFeatureIndex), a.iconBox) {\n var H = function (t) {\n var e = w && C ? xe(t, C.x, C.y, x, b, r.transform.angle) : t;\n return r.collisionIndex.placeCollisionBox(e, y, h, l, f.predicate);\n };\n P = D && D.box && D.box.length && a.verticalIconBox ? (M = H(a.verticalIconBox)).box.length > 0 : (M = H(a.iconBox)).box.length > 0, S = S && M.offscreen;\n }\n var K = m || 0 === e.numHorizontalGlyphVertices && 0 === e.numVerticalGlyphVertices,\n Y = g || 0 === e.numIconVertices;\n if (K || Y ? Y ? K || (P = P && T) : T = P && T : P = T = P && T, T && d && d.box && r.collisionIndex.insertCollisionBox(d.box, s.get(\"text-ignore-placement\"), n.bucketInstanceId, D && D.box && R ? R : L, f.ID), P && M && r.collisionIndex.insertCollisionBox(M.box, s.get(\"icon-ignore-placement\"), n.bucketInstanceId, k, f.ID), A && (T && r.collisionIndex.insertCollisionCircles(A.circles, s.get(\"text-ignore-placement\"), n.bucketInstanceId, L, f.ID), o)) {\n var J = n.bucketInstanceId,\n Q = r.collisionCircleArrays[J];\n void 0 === Q && (Q = r.collisionCircleArrays[J] = new me());\n for (var $ = 0; $ < A.circles.length; $ += 4) Q.circles.push(A.circles[$ + 0]), Q.circles.push(A.circles[$ + 1]), Q.circles.push(A.circles[$ + 2]), Q.circles.push(A.collisionDetected ? 1 : 0);\n }\n r.placements[e.crossTileID] = new fe(T || E, P || I, S || n.justReloaded), i[e.crossTileID] = !0;\n }\n };\n if (T) for (var S = n.getSortedSymbolIndexes(this.transform.angle), C = S.length - 1; C >= 0; --C) {\n var z = S[C];\n P(n.symbolInstances.get(z), n.collisionArrays[z]);\n } else for (var D = e.symbolInstanceStart; D < e.symbolInstanceEnd; D++) P(n.symbolInstances.get(D), n.collisionArrays[D]);\n if (o && n.bucketInstanceId in this.collisionCircleArrays) {\n var A = this.collisionCircleArrays[n.bucketInstanceId];\n t.invert(A.invProjMatrix, l), A.viewportMatrix = this.collisionIndex.getViewportMatrix();\n }\n n.justReloaded = !1;\n }, be.prototype.markUsedJustification = function (e, i, o, r) {\n var a;\n a = r === t.WritingMode.vertical ? o.verticalPlacedTextSymbolIndex : {\n left: o.leftJustifiedTextSymbolIndex,\n center: o.centerJustifiedTextSymbolIndex,\n right: o.rightJustifiedTextSymbolIndex\n }[t.getAnchorJustification(i)];\n for (var n = 0, s = [o.leftJustifiedTextSymbolIndex, o.centerJustifiedTextSymbolIndex, o.rightJustifiedTextSymbolIndex, o.verticalPlacedTextSymbolIndex]; n < s.length; n += 1) {\n var l = s[n];\n l >= 0 && (e.text.placedSymbolArray.get(l).crossTileID = a >= 0 && l !== a ? 0 : o.crossTileID);\n }\n }, be.prototype.markUsedOrientation = function (e, i, o) {\n for (var r = i === t.WritingMode.horizontal || i === t.WritingMode.horizontalOnly ? i : 0, a = i === t.WritingMode.vertical ? i : 0, n = 0, s = [o.leftJustifiedTextSymbolIndex, o.centerJustifiedTextSymbolIndex, o.rightJustifiedTextSymbolIndex]; n < s.length; n += 1) e.text.placedSymbolArray.get(s[n]).placedOrientation = r;\n o.verticalPlacedTextSymbolIndex && (e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation = a);\n }, be.prototype.commit = function (t) {\n this.commitTime = t, this.zoomAtLastRecencyCheck = this.transform.zoom;\n var e = this.prevPlacement,\n i = !1;\n this.prevZoomAdjustment = e ? e.zoomAdjustment(this.transform.zoom) : 0;\n var o = e ? e.symbolFadeChange(t) : 1,\n r = e ? e.opacities : {},\n a = e ? e.variableOffsets : {},\n n = e ? e.placedOrientations : {};\n for (var s in this.placements) {\n var l = this.placements[s],\n c = r[s];\n c ? (this.opacities[s] = new _e(c, o, l.text, l.icon), i = i || l.text !== c.text.placed || l.icon !== c.icon.placed) : (this.opacities[s] = new _e(null, o, l.text, l.icon, l.skipFade), i = i || l.text || l.icon);\n }\n for (var u in r) {\n var h = r[u];\n if (!this.opacities[u]) {\n var p = new _e(h, o, !1, !1);\n p.isHidden() || (this.opacities[u] = p, i = i || h.text.placed || h.icon.placed);\n }\n }\n for (var d in a) this.variableOffsets[d] || !this.opacities[d] || this.opacities[d].isHidden() || (this.variableOffsets[d] = a[d]);\n for (var _ in n) this.placedOrientations[_] || !this.opacities[_] || this.opacities[_].isHidden() || (this.placedOrientations[_] = n[_]);\n i ? this.lastPlacementChangeTime = t : \"number\" != typeof this.lastPlacementChangeTime && (this.lastPlacementChangeTime = e ? e.lastPlacementChangeTime : t);\n }, be.prototype.updateLayerOpacities = function (t, e) {\n for (var i = {}, o = 0, r = e; o < r.length; o += 1) {\n var a = r[o],\n n = a.getBucket(t);\n n && a.latestFeatureIndex && t.id === n.layerIds[0] && this.updateBucketOpacities(n, i, a.collisionBoxArray);\n }\n }, be.prototype.updateBucketOpacities = function (e, i, o) {\n var r = this;\n e.hasTextData() && e.text.opacityVertexArray.clear(), e.hasIconData() && e.icon.opacityVertexArray.clear(), e.hasIconCollisionBoxData() && e.iconCollisionBox.collisionVertexArray.clear(), e.hasTextCollisionBoxData() && e.textCollisionBox.collisionVertexArray.clear();\n var a = e.layers[0].layout,\n n = new _e(null, 0, !1, !1, !0),\n s = a.get(\"text-allow-overlap\"),\n l = a.get(\"icon-allow-overlap\"),\n c = a.get(\"text-variable-anchor\"),\n u = \"map\" === a.get(\"text-rotation-alignment\"),\n h = \"map\" === a.get(\"text-pitch-alignment\"),\n p = \"none\" !== a.get(\"icon-text-fit\"),\n d = new _e(null, 0, s && (l || !e.hasIconData() || a.get(\"icon-optional\")), l && (s || !e.hasTextData() || a.get(\"text-optional\")), !0);\n !e.collisionArrays && o && (e.hasIconCollisionBoxData() || e.hasTextCollisionBoxData()) && e.deserializeCollisionBoxes(o);\n for (var _ = function (t, e, i) {\n for (var o = 0; o < e / 4; o++) t.opacityVertexArray.emplaceBack(i);\n }, f = function (o) {\n var a = e.symbolInstances.get(o),\n s = a.numHorizontalGlyphVertices,\n l = a.numVerticalGlyphVertices,\n f = a.crossTileID,\n m = r.opacities[f];\n i[f] ? m = n : m || (r.opacities[f] = m = d), i[f] = !0;\n var g = a.numIconVertices > 0,\n v = r.placedOrientations[a.crossTileID],\n y = v === t.WritingMode.vertical,\n x = v === t.WritingMode.horizontal || v === t.WritingMode.horizontalOnly;\n if (s > 0 || l > 0) {\n var b = De(m.text);\n _(e.text, s, y ? Ae : b), _(e.text, l, x ? Ae : b);\n var w = m.text.isHidden();\n [a.rightJustifiedTextSymbolIndex, a.centerJustifiedTextSymbolIndex, a.leftJustifiedTextSymbolIndex].forEach(function (t) {\n t >= 0 && (e.text.placedSymbolArray.get(t).hidden = w || y ? 1 : 0);\n }), a.verticalPlacedTextSymbolIndex >= 0 && (e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden = w || x ? 1 : 0);\n var T = r.variableOffsets[a.crossTileID];\n T && r.markUsedJustification(e, T.anchor, a, v);\n var E = r.placedOrientations[a.crossTileID];\n E && (r.markUsedJustification(e, \"left\", a, E), r.markUsedOrientation(e, E, a));\n }\n if (g) {\n var I = De(m.icon),\n P = !(p && a.verticalPlacedIconSymbolIndex && y);\n a.placedIconSymbolIndex >= 0 && (_(e.icon, a.numIconVertices, P ? I : Ae), e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden = m.icon.isHidden()), a.verticalPlacedIconSymbolIndex >= 0 && (_(e.icon, a.numVerticalIconVertices, P ? Ae : I), e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden = m.icon.isHidden());\n }\n if (e.hasIconCollisionBoxData() || e.hasTextCollisionBoxData()) {\n var S = e.collisionArrays[o];\n if (S) {\n var C = new t.Point(0, 0);\n if (S.textBox || S.verticalTextBox) {\n var z = !0;\n if (c) {\n var D = r.variableOffsets[f];\n D ? (C = ye(D.anchor, D.width, D.height, D.textOffset, D.textBoxScale), u && C._rotate(h ? r.transform.angle : -r.transform.angle)) : z = !1;\n }\n S.textBox && we(e.textCollisionBox.collisionVertexArray, m.text.placed, !z || y, C.x, C.y), S.verticalTextBox && we(e.textCollisionBox.collisionVertexArray, m.text.placed, !z || x, C.x, C.y);\n }\n var A = Boolean(!x && S.verticalIconBox);\n S.iconBox && we(e.iconCollisionBox.collisionVertexArray, m.icon.placed, A, p ? C.x : 0, p ? C.y : 0), S.verticalIconBox && we(e.iconCollisionBox.collisionVertexArray, m.icon.placed, !A, p ? C.x : 0, p ? C.y : 0);\n }\n }\n }, m = 0; m < e.symbolInstances.length; m++) f(m);\n if (e.sortFeatures(this.transform.angle), this.retainedQueryData[e.bucketInstanceId] && (this.retainedQueryData[e.bucketInstanceId].featureSortOrder = e.featureSortOrder), e.hasTextData() && e.text.opacityVertexBuffer && e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray), e.hasIconData() && e.icon.opacityVertexBuffer && e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray), e.hasIconCollisionBoxData() && e.iconCollisionBox.collisionVertexBuffer && e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray), e.hasTextCollisionBoxData() && e.textCollisionBox.collisionVertexBuffer && e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray), e.bucketInstanceId in this.collisionCircleArrays) {\n var g = this.collisionCircleArrays[e.bucketInstanceId];\n e.placementInvProjMatrix = g.invProjMatrix, e.placementViewportMatrix = g.viewportMatrix, e.collisionCircleArray = g.circles, delete this.collisionCircleArrays[e.bucketInstanceId];\n }\n }, be.prototype.symbolFadeChange = function (t) {\n return 0 === this.fadeDuration ? 1 : (t - this.commitTime) / this.fadeDuration + this.prevZoomAdjustment;\n }, be.prototype.zoomAdjustment = function (t) {\n return Math.max(0, (this.transform.zoom - t) / 1.5);\n }, be.prototype.hasTransitions = function (t) {\n return this.stale || t - this.lastPlacementChangeTime < this.fadeDuration;\n }, be.prototype.stillRecent = function (t, e) {\n var i = this.zoomAtLastRecencyCheck === e ? 1 - this.zoomAdjustment(e) : 1;\n return this.zoomAtLastRecencyCheck = e, this.commitTime + this.fadeDuration * i > t;\n }, be.prototype.setStale = function () {\n this.stale = !0;\n };\n var Te = Math.pow(2, 25),\n Ee = Math.pow(2, 24),\n Ie = Math.pow(2, 17),\n Pe = Math.pow(2, 16),\n Se = Math.pow(2, 9),\n Ce = Math.pow(2, 8),\n ze = Math.pow(2, 1);\n function De(t) {\n if (0 === t.opacity && !t.placed) return 0;\n if (1 === t.opacity && t.placed) return 4294967295;\n var e = t.placed ? 1 : 0,\n i = Math.floor(127 * t.opacity);\n return i * Te + e * Ee + i * Ie + e * Pe + i * Se + e * Ce + i * ze + e;\n }\n var Ae = 0,\n Me = function (t) {\n this._sortAcrossTiles = \"viewport-y\" !== t.layout.get(\"symbol-z-order\") && void 0 !== t.layout.get(\"symbol-sort-key\").constantOr(1), this._currentTileIndex = 0, this._currentPartIndex = 0, this._seenCrossTileIDs = {}, this._bucketParts = [];\n };\n Me.prototype.continuePlacement = function (t, e, i, o, r) {\n for (var a = this._bucketParts; this._currentTileIndex < t.length;) if (e.getBucketParts(a, o, t[this._currentTileIndex], this._sortAcrossTiles), this._currentTileIndex++, r()) return !0;\n for (this._sortAcrossTiles && (this._sortAcrossTiles = !1, a.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n })); this._currentPartIndex < a.length;) if (e.placeLayerBucketPart(a[this._currentPartIndex], this._seenCrossTileIDs, i), this._currentPartIndex++, r()) return !0;\n return !1;\n };\n var Le = function (t, e, i, o, r, a, n) {\n this.placement = new be(t, r, a, n), this._currentPlacementIndex = e.length - 1, this._forceFullPlacement = i, this._showCollisionBoxes = o, this._done = !1;\n };\n Le.prototype.isDone = function () {\n return this._done;\n }, Le.prototype.continuePlacement = function (e, i, o) {\n for (var r = this, a = t.browser.now(), n = function () {\n var e = t.browser.now() - a;\n return !r._forceFullPlacement && e > 2;\n }; this._currentPlacementIndex >= 0;) {\n var s = i[e[this._currentPlacementIndex]],\n l = this.placement.collisionIndex.transform.zoom;\n if (\"symbol\" === s.type && (!s.minzoom || s.minzoom <= l) && (!s.maxzoom || s.maxzoom > l)) {\n if (this._inProgressLayer || (this._inProgressLayer = new Me(s)), this._inProgressLayer.continuePlacement(o[s.source], this.placement, this._showCollisionBoxes, s, n)) return;\n delete this._inProgressLayer;\n }\n this._currentPlacementIndex--;\n }\n this._done = !0;\n }, Le.prototype.commit = function (t) {\n return this.placement.commit(t), this.placement;\n };\n var Re = 512 / t.EXTENT / 2,\n ke = function (t, e, i) {\n this.tileID = t, this.indexedSymbolInstances = {}, this.bucketInstanceId = i;\n for (var o = 0; o < e.length; o++) {\n var r = e.get(o),\n a = r.key;\n this.indexedSymbolInstances[a] || (this.indexedSymbolInstances[a] = []), this.indexedSymbolInstances[a].push({\n crossTileID: r.crossTileID,\n coord: this.getScaledCoordinates(r, t)\n });\n }\n };\n ke.prototype.getScaledCoordinates = function (e, i) {\n var o = Re / Math.pow(2, i.canonical.z - this.tileID.canonical.z);\n return {\n x: Math.floor((i.canonical.x * t.EXTENT + e.anchorX) * o),\n y: Math.floor((i.canonical.y * t.EXTENT + e.anchorY) * o)\n };\n }, ke.prototype.findMatches = function (t, e, i) {\n for (var o = this.tileID.canonical.z < e.canonical.z ? 1 : Math.pow(2, this.tileID.canonical.z - e.canonical.z), r = 0; r < t.length; r++) {\n var a = t.get(r);\n if (!a.crossTileID) {\n var n = this.indexedSymbolInstances[a.key];\n if (n) for (var s = this.getScaledCoordinates(a, e), l = 0, c = n; l < c.length; l += 1) {\n var u = c[l];\n if (Math.abs(u.coord.x - s.x) <= o && Math.abs(u.coord.y - s.y) <= o && !i[u.crossTileID]) {\n i[u.crossTileID] = !0, a.crossTileID = u.crossTileID;\n break;\n }\n }\n }\n }\n };\n var Be = function () {\n this.maxCrossTileID = 0;\n };\n Be.prototype.generate = function () {\n return ++this.maxCrossTileID;\n };\n var Oe = function () {\n this.indexes = {}, this.usedCrossTileIDs = {}, this.lng = 0;\n };\n Oe.prototype.handleWrapJump = function (t) {\n var e = Math.round((t - this.lng) / 360);\n if (0 !== e) for (var i in this.indexes) {\n var o = this.indexes[i],\n r = {};\n for (var a in o) {\n var n = o[a];\n n.tileID = n.tileID.unwrapTo(n.tileID.wrap + e), r[n.tileID.key] = n;\n }\n this.indexes[i] = r;\n }\n this.lng = t;\n }, Oe.prototype.addBucket = function (t, e, i) {\n if (this.indexes[t.overscaledZ] && this.indexes[t.overscaledZ][t.key]) {\n if (this.indexes[t.overscaledZ][t.key].bucketInstanceId === e.bucketInstanceId) return !1;\n this.removeBucketCrossTileIDs(t.overscaledZ, this.indexes[t.overscaledZ][t.key]);\n }\n for (var o = 0; o < e.symbolInstances.length; o++) e.symbolInstances.get(o).crossTileID = 0;\n this.usedCrossTileIDs[t.overscaledZ] || (this.usedCrossTileIDs[t.overscaledZ] = {});\n var r = this.usedCrossTileIDs[t.overscaledZ];\n for (var a in this.indexes) {\n var n = this.indexes[a];\n if (Number(a) > t.overscaledZ) for (var s in n) {\n var l = n[s];\n l.tileID.isChildOf(t) && l.findMatches(e.symbolInstances, t, r);\n } else {\n var c = n[t.scaledTo(Number(a)).key];\n c && c.findMatches(e.symbolInstances, t, r);\n }\n }\n for (var u = 0; u < e.symbolInstances.length; u++) {\n var h = e.symbolInstances.get(u);\n h.crossTileID || (h.crossTileID = i.generate(), r[h.crossTileID] = !0);\n }\n return void 0 === this.indexes[t.overscaledZ] && (this.indexes[t.overscaledZ] = {}), this.indexes[t.overscaledZ][t.key] = new ke(t, e.symbolInstances, e.bucketInstanceId), !0;\n }, Oe.prototype.removeBucketCrossTileIDs = function (t, e) {\n for (var i in e.indexedSymbolInstances) for (var o = 0, r = e.indexedSymbolInstances[i]; o < r.length; o += 1) delete this.usedCrossTileIDs[t][r[o].crossTileID];\n }, Oe.prototype.removeStaleBuckets = function (t) {\n var e = !1;\n for (var i in this.indexes) {\n var o = this.indexes[i];\n for (var r in o) t[o[r].bucketInstanceId] || (this.removeBucketCrossTileIDs(i, o[r]), delete o[r], e = !0);\n }\n return e;\n };\n var Fe = function () {\n this.layerIndexes = {}, this.crossTileIDs = new Be(), this.maxBucketInstanceId = 0, this.bucketsInCurrentPlacement = {};\n };\n Fe.prototype.addLayer = function (t, e, i) {\n var o = this.layerIndexes[t.id];\n void 0 === o && (o = this.layerIndexes[t.id] = new Oe());\n var r = !1,\n a = {};\n o.handleWrapJump(i);\n for (var n = 0, s = e; n < s.length; n += 1) {\n var l = s[n],\n c = l.getBucket(t);\n c && t.id === c.layerIds[0] && (c.bucketInstanceId || (c.bucketInstanceId = ++this.maxBucketInstanceId), o.addBucket(l.tileID, c, this.crossTileIDs) && (r = !0), a[c.bucketInstanceId] = !0);\n }\n return o.removeStaleBuckets(a) && (r = !0), r;\n }, Fe.prototype.pruneUnusedLayers = function (t) {\n var e = {};\n for (var i in t.forEach(function (t) {\n e[t] = !0;\n }), this.layerIndexes) e[i] || delete this.layerIndexes[i];\n };\n var Ue = function (e, i) {\n return t.emitValidationErrors(e, i && i.filter(function (t) {\n return \"source.canvas\" !== t.identifier;\n }));\n },\n Ne = t.pick(Zt, [\"addLayer\", \"removeLayer\", \"setPaintProperty\", \"setLayoutProperty\", \"setFilter\", \"addSource\", \"removeSource\", \"setLayerZoomRange\", \"setLight\", \"setTransition\", \"setGeoJSONSourceData\"]),\n Ze = t.pick(Zt, [\"setCenter\", \"setZoom\", \"setBearing\", \"setPitch\"]),\n qe = function () {\n var e = {},\n i = t.styleSpec.$version;\n for (var o in t.styleSpec.$root) {\n var r,\n a = t.styleSpec.$root[o];\n if (a.required) null != (r = \"version\" === o ? i : \"array\" === a.type ? [] : {}) && (e[o] = r);\n }\n return e;\n }(),\n je = function (e) {\n function i(o, r) {\n var a = this;\n void 0 === r && (r = {}), e.call(this), this.map = o, this.dispatcher = new E(Ft(), this), this.imageManager = new p(), this.imageManager.setEventedParent(this), this.glyphManager = new y(o._requestManager, r.localIdeographFontFamily), this.lineAtlas = new T(256, 512), this.crossTileSymbolIndex = new Fe(), this._layers = {}, this._serializedLayers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new t.ZoomHistory(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast(\"setReferrer\", t.getReferrer());\n var n = this;\n this._rtlTextPluginCallback = i.registerForPluginStateChange(function (e) {\n n.dispatcher.broadcast(\"syncRTLPluginState\", {\n pluginStatus: e.pluginStatus,\n pluginURL: e.pluginURL\n }, function (e, i) {\n if (t.triggerPluginCompletionEvent(e), i && i.every(function (t) {\n return t;\n })) for (var o in n.sourceCaches) n.sourceCaches[o].reload();\n });\n }), this.on(\"data\", function (t) {\n if (\"source\" === t.dataType && \"metadata\" === t.sourceDataType) {\n var e = a.sourceCaches[t.sourceId];\n if (e) {\n var i = e.getSource();\n if (i && i.vectorLayerIds) for (var o in a._layers) {\n var r = a._layers[o];\n r.source === i.id && a._validateLayer(r);\n }\n }\n }\n });\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.loadURL = function (e, i) {\n var o = this;\n void 0 === i && (i = {}), this.fire(new t.Event(\"dataloading\", {\n dataType: \"style\"\n }));\n var r = \"boolean\" == typeof i.validate ? i.validate : !t.isMapboxURL(e);\n e = this.map._requestManager.normalizeStyleURL(e, i.accessToken);\n var a = this.map._requestManager.transformRequest(e, t.ResourceType.Style);\n this._request = t.getJSON(a, function (e, i) {\n o._request = null, e ? o.fire(new t.ErrorEvent(e)) : i && o._load(i, r);\n });\n }, i.prototype.loadJSON = function (e, i) {\n var o = this;\n void 0 === i && (i = {}), this.fire(new t.Event(\"dataloading\", {\n dataType: \"style\"\n })), this._request = t.browser.frame(function () {\n o._request = null, o._load(e, !1 !== i.validate);\n });\n }, i.prototype.loadEmpty = function () {\n this.fire(new t.Event(\"dataloading\", {\n dataType: \"style\"\n })), this._load(qe, !1);\n }, i.prototype._load = function (e, i) {\n if (!i || !Ue(this, t.validateStyle(e))) {\n for (var o in this._loaded = !0, this.stylesheet = e, e.sources) this.addSource(o, e.sources[o], {\n validate: !1\n });\n e.sprite ? this._loadSprite(e.sprite) : this.imageManager.setLoaded(!0), this.glyphManager.setURL(e.glyphs);\n var r = Nt(this.stylesheet.layers);\n this._order = r.map(function (t) {\n return t.id;\n }), this._layers = {}, this._serializedLayers = {};\n for (var a = 0, n = r; a < n.length; a += 1) {\n var s = n[a];\n (s = t.createStyleLayer(s)).setEventedParent(this, {\n layer: {\n id: s.id\n }\n }), this._layers[s.id] = s, this._serializedLayers[s.id] = s.serialize();\n }\n this.dispatcher.broadcast(\"setLayers\", this._serializeLayers(this._order)), this.light = new w(this.stylesheet.light), this.fire(new t.Event(\"data\", {\n dataType: \"style\"\n })), this.fire(new t.Event(\"style.load\"));\n }\n }, i.prototype._loadSprite = function (e) {\n var i = this;\n this._spriteRequest = function (e, i, o) {\n var r,\n a,\n n,\n s = t.browser.devicePixelRatio > 1 ? \"@2x\" : \"\",\n l = t.getJSON(i.transformRequest(i.normalizeSpriteURL(e, s, \".json\"), t.ResourceType.SpriteJSON), function (t, e) {\n l = null, n || (n = t, r = e, u());\n }),\n c = t.getImage(i.transformRequest(i.normalizeSpriteURL(e, s, \".png\"), t.ResourceType.SpriteImage), function (t, e) {\n c = null, n || (n = t, a = e, u());\n });\n function u() {\n if (n) o(n);else if (r && a) {\n var e = t.browser.getImageData(a),\n i = {};\n for (var s in r) {\n var l = r[s],\n c = l.width,\n u = l.height,\n h = l.x,\n p = l.y,\n d = l.sdf,\n _ = l.pixelRatio,\n f = l.stretchX,\n m = l.stretchY,\n g = l.content,\n v = new t.RGBAImage({\n width: c,\n height: u\n });\n t.RGBAImage.copy(e, v, {\n x: h,\n y: p\n }, {\n x: 0,\n y: 0\n }, {\n width: c,\n height: u\n }), i[s] = {\n data: v,\n pixelRatio: _,\n sdf: d,\n stretchX: f,\n stretchY: m,\n content: g\n };\n }\n o(null, i);\n }\n }\n return {\n cancel: function () {\n l && (l.cancel(), l = null), c && (c.cancel(), c = null);\n }\n };\n }(e, this.map._requestManager, function (e, o) {\n if (i._spriteRequest = null, e) i.fire(new t.ErrorEvent(e));else if (o) for (var r in o) i.imageManager.addImage(r, o[r]);\n i.imageManager.setLoaded(!0), i._availableImages = i.imageManager.listImages(), i.dispatcher.broadcast(\"setImages\", i._availableImages), i.fire(new t.Event(\"data\", {\n dataType: \"style\"\n }));\n });\n }, i.prototype._validateLayer = function (e) {\n var i = this.sourceCaches[e.source];\n if (i) {\n var o = e.sourceLayer;\n if (o) {\n var r = i.getSource();\n (\"geojson\" === r.type || r.vectorLayerIds && -1 === r.vectorLayerIds.indexOf(o)) && this.fire(new t.ErrorEvent(new Error('Source layer \"' + o + '\" does not exist on source \"' + r.id + '\" as specified by style layer \"' + e.id + '\"')));\n }\n }\n }, i.prototype.loaded = function () {\n if (!this._loaded) return !1;\n if (Object.keys(this._updatedSources).length) return !1;\n for (var t in this.sourceCaches) if (!this.sourceCaches[t].loaded()) return !1;\n return !!this.imageManager.isLoaded();\n }, i.prototype._serializeLayers = function (t) {\n for (var e = [], i = 0, o = t; i < o.length; i += 1) {\n var r = this._layers[o[i]];\n \"custom\" !== r.type && e.push(r.serialize());\n }\n return e;\n }, i.prototype.hasTransitions = function () {\n if (this.light && this.light.hasTransition()) return !0;\n for (var t in this.sourceCaches) if (this.sourceCaches[t].hasTransition()) return !0;\n for (var e in this._layers) if (this._layers[e].hasTransition()) return !0;\n return !1;\n }, i.prototype._checkLoaded = function () {\n if (!this._loaded) throw new Error(\"Style is not done loading\");\n }, i.prototype.update = function (e) {\n if (this._loaded) {\n var i = this._changed;\n if (this._changed) {\n var o = Object.keys(this._updatedLayers),\n r = Object.keys(this._removedLayers);\n for (var a in (o.length || r.length) && this._updateWorkerLayers(o, r), this._updatedSources) {\n var n = this._updatedSources[a];\n \"reload\" === n ? this._reloadSource(a) : \"clear\" === n && this._clearSource(a);\n }\n for (var s in this._updateTilesForChangedImages(), this._updatedPaintProps) this._layers[s].updateTransitions(e);\n this.light.updateTransitions(e), this._resetUpdates();\n }\n var l = {};\n for (var c in this.sourceCaches) {\n var u = this.sourceCaches[c];\n l[c] = u.used, u.used = !1;\n }\n for (var h = 0, p = this._order; h < p.length; h += 1) {\n var d = this._layers[p[h]];\n d.recalculate(e, this._availableImages), !d.isHidden(e.zoom) && d.source && (this.sourceCaches[d.source].used = !0);\n }\n for (var _ in l) {\n var f = this.sourceCaches[_];\n l[_] !== f.used && f.fire(new t.Event(\"data\", {\n sourceDataType: \"visibility\",\n dataType: \"source\",\n sourceId: _\n }));\n }\n this.light.recalculate(e), this.z = e.zoom, i && this.fire(new t.Event(\"data\", {\n dataType: \"style\"\n }));\n }\n }, i.prototype._updateTilesForChangedImages = function () {\n var t = Object.keys(this._changedImages);\n if (t.length) {\n for (var e in this.sourceCaches) this.sourceCaches[e].reloadTilesForDependencies([\"icons\", \"patterns\"], t);\n this._changedImages = {};\n }\n }, i.prototype._updateWorkerLayers = function (t, e) {\n this.dispatcher.broadcast(\"updateLayers\", {\n layers: this._serializeLayers(t),\n removedIds: e\n });\n }, i.prototype._resetUpdates = function () {\n this._changed = !1, this._updatedLayers = {}, this._removedLayers = {}, this._updatedSources = {}, this._updatedPaintProps = {}, this._changedImages = {};\n }, i.prototype.setState = function (e) {\n var i = this;\n if (this._checkLoaded(), Ue(this, t.validateStyle(e))) return !1;\n (e = t.clone$1(e)).layers = Nt(e.layers);\n var o = function (e, i) {\n if (!e) return [{\n command: Zt.setStyle,\n args: [i]\n }];\n var o = [];\n try {\n if (!t.deepEqual(e.version, i.version)) return [{\n command: Zt.setStyle,\n args: [i]\n }];\n t.deepEqual(e.center, i.center) || o.push({\n command: Zt.setCenter,\n args: [i.center]\n }), t.deepEqual(e.zoom, i.zoom) || o.push({\n command: Zt.setZoom,\n args: [i.zoom]\n }), t.deepEqual(e.bearing, i.bearing) || o.push({\n command: Zt.setBearing,\n args: [i.bearing]\n }), t.deepEqual(e.pitch, i.pitch) || o.push({\n command: Zt.setPitch,\n args: [i.pitch]\n }), t.deepEqual(e.sprite, i.sprite) || o.push({\n command: Zt.setSprite,\n args: [i.sprite]\n }), t.deepEqual(e.glyphs, i.glyphs) || o.push({\n command: Zt.setGlyphs,\n args: [i.glyphs]\n }), t.deepEqual(e.transition, i.transition) || o.push({\n command: Zt.setTransition,\n args: [i.transition]\n }), t.deepEqual(e.light, i.light) || o.push({\n command: Zt.setLight,\n args: [i.light]\n });\n var r = {},\n a = [];\n !function (e, i, o, r) {\n var a;\n for (a in i = i || {}, e = e || {}) e.hasOwnProperty(a) && (i.hasOwnProperty(a) || jt(a, o, r));\n for (a in i) i.hasOwnProperty(a) && (e.hasOwnProperty(a) ? t.deepEqual(e[a], i[a]) || (\"geojson\" === e[a].type && \"geojson\" === i[a].type && Gt(e, i, a) ? o.push({\n command: Zt.setGeoJSONSourceData,\n args: [a, i[a].data]\n }) : Vt(a, i, o, r)) : qt(a, i, o));\n }(e.sources, i.sources, a, r);\n var n = [];\n e.layers && e.layers.forEach(function (t) {\n r[t.source] ? o.push({\n command: Zt.removeLayer,\n args: [t.id]\n }) : n.push(t);\n }), o = o.concat(a), function (e, i, o) {\n i = i || [];\n var r,\n a,\n n,\n s,\n l,\n c,\n u,\n h = (e = e || []).map(Xt),\n p = i.map(Xt),\n d = e.reduce(Ht, {}),\n _ = i.reduce(Ht, {}),\n f = h.slice(),\n m = Object.create(null);\n for (r = 0, a = 0; r < h.length; r++) _.hasOwnProperty(n = h[r]) ? a++ : (o.push({\n command: Zt.removeLayer,\n args: [n]\n }), f.splice(f.indexOf(n, a), 1));\n for (r = 0, a = 0; r < p.length; r++) f[f.length - 1 - r] !== (n = p[p.length - 1 - r]) && (d.hasOwnProperty(n) ? (o.push({\n command: Zt.removeLayer,\n args: [n]\n }), f.splice(f.lastIndexOf(n, f.length - a), 1)) : a++, o.push({\n command: Zt.addLayer,\n args: [_[n], c = f[f.length - r]]\n }), f.splice(f.length - r, 0, n), m[n] = !0);\n for (r = 0; r < p.length; r++) if (s = d[n = p[r]], l = _[n], !m[n] && !t.deepEqual(s, l)) if (t.deepEqual(s.source, l.source) && t.deepEqual(s[\"source-layer\"], l[\"source-layer\"]) && t.deepEqual(s.type, l.type)) {\n for (u in Wt(s.layout, l.layout, o, n, null, Zt.setLayoutProperty), Wt(s.paint, l.paint, o, n, null, Zt.setPaintProperty), t.deepEqual(s.filter, l.filter) || o.push({\n command: Zt.setFilter,\n args: [n, l.filter]\n }), t.deepEqual(s.minzoom, l.minzoom) && t.deepEqual(s.maxzoom, l.maxzoom) || o.push({\n command: Zt.setLayerZoomRange,\n args: [n, l.minzoom, l.maxzoom]\n }), s) s.hasOwnProperty(u) && \"layout\" !== u && \"paint\" !== u && \"filter\" !== u && \"metadata\" !== u && \"minzoom\" !== u && \"maxzoom\" !== u && (0 === u.indexOf(\"paint.\") ? Wt(s[u], l[u], o, n, u.slice(6), Zt.setPaintProperty) : t.deepEqual(s[u], l[u]) || o.push({\n command: Zt.setLayerProperty,\n args: [n, u, l[u]]\n }));\n for (u in l) l.hasOwnProperty(u) && !s.hasOwnProperty(u) && \"layout\" !== u && \"paint\" !== u && \"filter\" !== u && \"metadata\" !== u && \"minzoom\" !== u && \"maxzoom\" !== u && (0 === u.indexOf(\"paint.\") ? Wt(s[u], l[u], o, n, u.slice(6), Zt.setPaintProperty) : t.deepEqual(s[u], l[u]) || o.push({\n command: Zt.setLayerProperty,\n args: [n, u, l[u]]\n }));\n } else o.push({\n command: Zt.removeLayer,\n args: [n]\n }), c = f[f.lastIndexOf(n) + 1], o.push({\n command: Zt.addLayer,\n args: [l, c]\n });\n }(n, i.layers, o);\n } catch (t) {\n console.warn(\"Unable to compute style diff:\", t), o = [{\n command: Zt.setStyle,\n args: [i]\n }];\n }\n return o;\n }(this.serialize(), e).filter(function (t) {\n return !(t.command in Ze);\n });\n if (0 === o.length) return !1;\n var r = o.filter(function (t) {\n return !(t.command in Ne);\n });\n if (r.length > 0) throw new Error(\"Unimplemented: \" + r.map(function (t) {\n return t.command;\n }).join(\", \") + \".\");\n return o.forEach(function (t) {\n \"setTransition\" !== t.command && i[t.command].apply(i, t.args);\n }), this.stylesheet = e, !0;\n }, i.prototype.addImage = function (e, i) {\n if (this.getImage(e)) return this.fire(new t.ErrorEvent(new Error(\"An image with this name already exists.\")));\n this.imageManager.addImage(e, i), this._afterImageUpdated(e);\n }, i.prototype.updateImage = function (t, e) {\n this.imageManager.updateImage(t, e);\n }, i.prototype.getImage = function (t) {\n return this.imageManager.getImage(t);\n }, i.prototype.removeImage = function (e) {\n if (!this.getImage(e)) return this.fire(new t.ErrorEvent(new Error(\"No image with this name exists.\")));\n this.imageManager.removeImage(e), this._afterImageUpdated(e);\n }, i.prototype._afterImageUpdated = function (e) {\n this._availableImages = this.imageManager.listImages(), this._changedImages[e] = !0, this._changed = !0, this.dispatcher.broadcast(\"setImages\", this._availableImages), this.fire(new t.Event(\"data\", {\n dataType: \"style\"\n }));\n }, i.prototype.listImages = function () {\n return this._checkLoaded(), this.imageManager.listImages();\n }, i.prototype.addSource = function (e, i, o) {\n var r = this;\n if (void 0 === o && (o = {}), this._checkLoaded(), void 0 !== this.sourceCaches[e]) throw new Error(\"There is already a source with this ID\");\n if (!i.type) throw new Error(\"The type property must be defined, but only the following properties were given: \" + Object.keys(i).join(\", \") + \".\");\n if (!([\"vector\", \"raster\", \"geojson\", \"video\", \"image\"].indexOf(i.type) >= 0 && this._validate(t.validateStyle.source, \"sources.\" + e, i, null, o))) {\n this.map && this.map._collectResourceTiming && (i.collectResourceTiming = !0);\n var a = this.sourceCaches[e] = new Dt(e, i, this.dispatcher);\n a.style = this, a.setEventedParent(this, function () {\n return {\n isSourceLoaded: r.loaded(),\n source: a.serialize(),\n sourceId: e\n };\n }), a.onAdd(this.map), this._changed = !0;\n }\n }, i.prototype.removeSource = function (e) {\n if (this._checkLoaded(), void 0 === this.sourceCaches[e]) throw new Error(\"There is no source with this ID\");\n for (var i in this._layers) if (this._layers[i].source === e) return this.fire(new t.ErrorEvent(new Error('Source \"' + e + '\" cannot be removed while layer \"' + i + '\" is using it.')));\n var o = this.sourceCaches[e];\n delete this.sourceCaches[e], delete this._updatedSources[e], o.fire(new t.Event(\"data\", {\n sourceDataType: \"metadata\",\n dataType: \"source\",\n sourceId: e\n })), o.setEventedParent(null), o.clearTiles(), o.onRemove && o.onRemove(this.map), this._changed = !0;\n }, i.prototype.setGeoJSONSourceData = function (t, e) {\n this._checkLoaded(), this.sourceCaches[t].getSource().setData(e), this._changed = !0;\n }, i.prototype.getSource = function (t) {\n return this.sourceCaches[t] && this.sourceCaches[t].getSource();\n }, i.prototype.addLayer = function (e, i, o) {\n void 0 === o && (o = {}), this._checkLoaded();\n var r = e.id;\n if (this.getLayer(r)) this.fire(new t.ErrorEvent(new Error('Layer with id \"' + r + '\" already exists on this map')));else {\n var a;\n if (\"custom\" === e.type) {\n if (Ue(this, t.validateCustomStyleLayer(e))) return;\n a = t.createStyleLayer(e);\n } else {\n if (\"object\" == typeof e.source && (this.addSource(r, e.source), e = t.clone$1(e), e = t.extend(e, {\n source: r\n })), this._validate(t.validateStyle.layer, \"layers.\" + r, e, {\n arrayIndex: -1\n }, o)) return;\n a = t.createStyleLayer(e), this._validateLayer(a), a.setEventedParent(this, {\n layer: {\n id: r\n }\n }), this._serializedLayers[a.id] = a.serialize();\n }\n var n = i ? this._order.indexOf(i) : this._order.length;\n if (i && -1 === n) this.fire(new t.ErrorEvent(new Error('Layer with id \"' + i + '\" does not exist on this map.')));else {\n if (this._order.splice(n, 0, r), this._layerOrderChanged = !0, this._layers[r] = a, this._removedLayers[r] && a.source && \"custom\" !== a.type) {\n var s = this._removedLayers[r];\n delete this._removedLayers[r], s.type !== a.type ? this._updatedSources[a.source] = \"clear\" : (this._updatedSources[a.source] = \"reload\", this.sourceCaches[a.source].pause());\n }\n this._updateLayer(a), a.onAdd && a.onAdd(this.map);\n }\n }\n }, i.prototype.moveLayer = function (e, i) {\n if (this._checkLoaded(), this._changed = !0, this._layers[e]) {\n if (e !== i) {\n var o = this._order.indexOf(e);\n this._order.splice(o, 1);\n var r = i ? this._order.indexOf(i) : this._order.length;\n i && -1 === r ? this.fire(new t.ErrorEvent(new Error('Layer with id \"' + i + '\" does not exist on this map.'))) : (this._order.splice(r, 0, e), this._layerOrderChanged = !0);\n }\n } else this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot be moved.\")));\n }, i.prototype.removeLayer = function (e) {\n this._checkLoaded();\n var i = this._layers[e];\n if (i) {\n i.setEventedParent(null);\n var o = this._order.indexOf(e);\n this._order.splice(o, 1), this._layerOrderChanged = !0, this._changed = !0, this._removedLayers[e] = i, delete this._layers[e], delete this._serializedLayers[e], delete this._updatedLayers[e], delete this._updatedPaintProps[e], i.onRemove && i.onRemove(this.map);\n } else this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot be removed.\")));\n }, i.prototype.getLayer = function (t) {\n return this._layers[t];\n }, i.prototype.hasLayer = function (t) {\n return t in this._layers;\n }, i.prototype.setLayerZoomRange = function (e, i, o) {\n this._checkLoaded();\n var r = this.getLayer(e);\n r ? r.minzoom === i && r.maxzoom === o || (null != i && (r.minzoom = i), null != o && (r.maxzoom = o), this._updateLayer(r)) : this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot have zoom extent.\")));\n }, i.prototype.setFilter = function (e, i, o) {\n void 0 === o && (o = {}), this._checkLoaded();\n var r = this.getLayer(e);\n if (r) {\n if (!t.deepEqual(r.filter, i)) return null == i ? (r.filter = void 0, void this._updateLayer(r)) : void (this._validate(t.validateStyle.filter, \"layers.\" + r.id + \".filter\", i, null, o) || (r.filter = t.clone$1(i), this._updateLayer(r)));\n } else this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot be filtered.\")));\n }, i.prototype.getFilter = function (e) {\n return t.clone$1(this.getLayer(e).filter);\n }, i.prototype.setLayoutProperty = function (e, i, o, r) {\n void 0 === r && (r = {}), this._checkLoaded();\n var a = this.getLayer(e);\n a ? t.deepEqual(a.getLayoutProperty(i), o) || (a.setLayoutProperty(i, o, r), this._updateLayer(a)) : this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot be styled.\")));\n }, i.prototype.getLayoutProperty = function (e, i) {\n var o = this.getLayer(e);\n if (o) return o.getLayoutProperty(i);\n this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style.\")));\n }, i.prototype.setPaintProperty = function (e, i, o, r) {\n void 0 === r && (r = {}), this._checkLoaded();\n var a = this.getLayer(e);\n a ? t.deepEqual(a.getPaintProperty(i), o) || (a.setPaintProperty(i, o, r) && this._updateLayer(a), this._changed = !0, this._updatedPaintProps[e] = !0) : this.fire(new t.ErrorEvent(new Error(\"The layer '\" + e + \"' does not exist in the map's style and cannot be styled.\")));\n }, i.prototype.getPaintProperty = function (t, e) {\n return this.getLayer(t).getPaintProperty(e);\n }, i.prototype.setFeatureState = function (e, i) {\n this._checkLoaded();\n var o = e.source,\n r = e.sourceLayer,\n a = this.sourceCaches[o];\n if (void 0 !== a) {\n var n = a.getSource().type;\n \"geojson\" === n && r ? this.fire(new t.ErrorEvent(new Error(\"GeoJSON sources cannot have a sourceLayer parameter.\"))) : \"vector\" !== n || r ? (void 0 === e.id && this.fire(new t.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))), a.setFeatureState(r, e.id, i)) : this.fire(new t.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));\n } else this.fire(new t.ErrorEvent(new Error(\"The source '\" + o + \"' does not exist in the map's style.\")));\n }, i.prototype.removeFeatureState = function (e, i) {\n this._checkLoaded();\n var o = e.source,\n r = this.sourceCaches[o];\n if (void 0 !== r) {\n var a = r.getSource().type,\n n = \"vector\" === a ? e.sourceLayer : void 0;\n \"vector\" !== a || n ? i && \"string\" != typeof e.id && \"number\" != typeof e.id ? this.fire(new t.ErrorEvent(new Error(\"A feature id is required to remove its specific state property.\"))) : r.removeFeatureState(n, e.id, i) : this.fire(new t.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));\n } else this.fire(new t.ErrorEvent(new Error(\"The source '\" + o + \"' does not exist in the map's style.\")));\n }, i.prototype.getFeatureState = function (e) {\n this._checkLoaded();\n var i = e.source,\n o = e.sourceLayer,\n r = this.sourceCaches[i];\n if (void 0 !== r) {\n if (\"vector\" !== r.getSource().type || o) return void 0 === e.id && this.fire(new t.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))), r.getFeatureState(o, e.id);\n this.fire(new t.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));\n } else this.fire(new t.ErrorEvent(new Error(\"The source '\" + i + \"' does not exist in the map's style.\")));\n }, i.prototype.getTransition = function () {\n return t.extend({\n duration: 300,\n delay: 0\n }, this.stylesheet && this.stylesheet.transition);\n }, i.prototype.serialize = function () {\n return t.filterObject({\n version: this.stylesheet.version,\n name: this.stylesheet.name,\n metadata: this.stylesheet.metadata,\n light: this.stylesheet.light,\n center: this.stylesheet.center,\n zoom: this.stylesheet.zoom,\n bearing: this.stylesheet.bearing,\n pitch: this.stylesheet.pitch,\n sprite: this.stylesheet.sprite,\n glyphs: this.stylesheet.glyphs,\n transition: this.stylesheet.transition,\n sources: t.mapObject(this.sourceCaches, function (t) {\n return t.serialize();\n }),\n layers: this._serializeLayers(this._order)\n }, function (t) {\n return void 0 !== t;\n });\n }, i.prototype._updateLayer = function (t) {\n this._updatedLayers[t.id] = !0, t.source && !this._updatedSources[t.source] && \"raster\" !== this.sourceCaches[t.source].getSource().type && (this._updatedSources[t.source] = \"reload\", this.sourceCaches[t.source].pause()), this._changed = !0;\n }, i.prototype._flattenAndSortRenderedFeatures = function (t) {\n for (var e = this, i = function (t) {\n return \"fill-extrusion\" === e._layers[t].type;\n }, o = {}, r = [], a = this._order.length - 1; a >= 0; a--) {\n var n = this._order[a];\n if (i(n)) {\n o[n] = a;\n for (var s = 0, l = t; s < l.length; s += 1) {\n var c = l[s][n];\n if (c) for (var u = 0, h = c; u < h.length; u += 1) r.push(h[u]);\n }\n }\n }\n r.sort(function (t, e) {\n return e.intersectionZ - t.intersectionZ;\n });\n for (var p = [], d = this._order.length - 1; d >= 0; d--) {\n var _ = this._order[d];\n if (i(_)) for (var f = r.length - 1; f >= 0; f--) {\n var m = r[f].feature;\n if (o[m.layer.id] < d) break;\n p.push(m), r.pop();\n } else for (var g = 0, v = t; g < v.length; g += 1) {\n var y = v[g][_];\n if (y) for (var x = 0, b = y; x < b.length; x += 1) p.push(b[x].feature);\n }\n }\n return p;\n }, i.prototype.queryRenderedFeatures = function (e, i, o) {\n i && i.filter && this._validate(t.validateStyle.filter, \"queryRenderedFeatures.filter\", i.filter, null, i);\n var r = {};\n if (i && i.layers) {\n if (!Array.isArray(i.layers)) return this.fire(new t.ErrorEvent(new Error(\"parameters.layers must be an Array.\"))), [];\n for (var a = 0, n = i.layers; a < n.length; a += 1) {\n var s = n[a],\n l = this._layers[s];\n if (!l) return this.fire(new t.ErrorEvent(new Error(\"The layer '\" + s + \"' does not exist in the map's style and cannot be queried for features.\"))), [];\n r[l.source] = !0;\n }\n }\n var c = [];\n for (var u in i.availableImages = this._availableImages, this.sourceCaches) i.layers && !r[u] || c.push(O(this.sourceCaches[u], this._layers, this._serializedLayers, e, i, o));\n return this.placement && c.push(function (t, e, i, o, r, a, n) {\n for (var s = {}, l = a.queryRenderedSymbols(o), c = [], u = 0, h = Object.keys(l).map(Number); u < h.length; u += 1) c.push(n[h[u]]);\n c.sort(F);\n for (var p = function () {\n var i = _[d],\n o = i.featureIndex.lookupSymbolFeatures(l[i.bucketInstanceId], e, i.bucketIndex, i.sourceLayerIndex, r.filter, r.layers, r.availableImages, t);\n for (var a in o) {\n var n = s[a] = s[a] || [],\n c = o[a];\n c.sort(function (t, e) {\n var o = i.featureSortOrder;\n if (o) {\n var r = o.indexOf(t.featureIndex);\n return o.indexOf(e.featureIndex) - r;\n }\n return e.featureIndex - t.featureIndex;\n });\n for (var u = 0, h = c; u < h.length; u += 1) n.push(h[u]);\n }\n }, d = 0, _ = c; d < _.length; d += 1) p();\n var f = function (e) {\n s[e].forEach(function (o) {\n var r = o.feature,\n a = i[t[e].source].getFeatureState(r.layer[\"source-layer\"], r.id);\n r.source = r.layer.source, r.layer[\"source-layer\"] && (r.sourceLayer = r.layer[\"source-layer\"]), r.state = a;\n });\n };\n for (var m in s) f(m);\n return s;\n }(this._layers, this._serializedLayers, this.sourceCaches, e, i, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(c);\n }, i.prototype.querySourceFeatures = function (e, i) {\n i && i.filter && this._validate(t.validateStyle.filter, \"querySourceFeatures.filter\", i.filter, null, i);\n var o = this.sourceCaches[e];\n return o ? function (t, e) {\n for (var i = t.getRenderableIds().map(function (e) {\n return t.getTileByID(e);\n }), o = [], r = {}, a = 0; a < i.length; a++) {\n var n = i[a],\n s = n.tileID.canonical.key;\n r[s] || (r[s] = !0, n.querySourceFeatures(o, e));\n }\n return o;\n }(o, i) : [];\n }, i.prototype.addSourceType = function (t, e, o) {\n return i.getSourceType(t) ? o(new Error('A source type called \"' + t + '\" already exists.')) : (i.setSourceType(t, e), e.workerSourceURL ? void this.dispatcher.broadcast(\"loadWorkerSource\", {\n name: t,\n url: e.workerSourceURL\n }, o) : o(null, null));\n }, i.prototype.getLight = function () {\n return this.light.getLight();\n }, i.prototype.setLight = function (e, i) {\n void 0 === i && (i = {}), this._checkLoaded();\n var o = this.light.getLight(),\n r = !1;\n for (var a in e) if (!t.deepEqual(e[a], o[a])) {\n r = !0;\n break;\n }\n if (r) {\n var n = {\n now: t.browser.now(),\n transition: t.extend({\n duration: 300,\n delay: 0\n }, this.stylesheet.transition)\n };\n this.light.setLight(e, i), this.light.updateTransitions(n);\n }\n }, i.prototype._validate = function (e, i, o, r, a) {\n return void 0 === a && (a = {}), (!a || !1 !== a.validate) && Ue(this, e.call(t.validateStyle, t.extend({\n key: i,\n style: this.serialize(),\n value: o,\n styleSpec: t.styleSpec\n }, r)));\n }, i.prototype._remove = function () {\n for (var e in this._request && (this._request.cancel(), this._request = null), this._spriteRequest && (this._spriteRequest.cancel(), this._spriteRequest = null), t.evented.off(\"pluginStateChange\", this._rtlTextPluginCallback), this._layers) this._layers[e].setEventedParent(null);\n for (var i in this.sourceCaches) this.sourceCaches[i].clearTiles(), this.sourceCaches[i].setEventedParent(null);\n this.imageManager.setEventedParent(null), this.setEventedParent(null), this.dispatcher.remove();\n }, i.prototype._clearSource = function (t) {\n this.sourceCaches[t].clearTiles();\n }, i.prototype._reloadSource = function (t) {\n this.sourceCaches[t].resume(), this.sourceCaches[t].reload();\n }, i.prototype._updateSources = function (t) {\n for (var e in this.sourceCaches) this.sourceCaches[e].update(t);\n }, i.prototype._generateCollisionBoxes = function () {\n for (var t in this.sourceCaches) this._reloadSource(t);\n }, i.prototype._updatePlacement = function (e, i, o, r, a) {\n void 0 === a && (a = !1);\n for (var n = !1, s = !1, l = {}, c = 0, u = this._order; c < u.length; c += 1) {\n var h = this._layers[u[c]];\n if (\"symbol\" === h.type) {\n if (!l[h.source]) {\n var p = this.sourceCaches[h.source];\n l[h.source] = p.getRenderableIds(!0).map(function (t) {\n return p.getTileByID(t);\n }).sort(function (t, e) {\n return e.tileID.overscaledZ - t.tileID.overscaledZ || (t.tileID.isLessThan(e.tileID) ? -1 : 1);\n });\n }\n var d = this.crossTileSymbolIndex.addLayer(h, l[h.source], e.center.lng);\n n = n || d;\n }\n }\n if (this.crossTileSymbolIndex.pruneUnusedLayers(this._order), ((a = a || this._layerOrderChanged || 0 === o) || !this.pauseablePlacement || this.pauseablePlacement.isDone() && !this.placement.stillRecent(t.browser.now(), e.zoom)) && (this.pauseablePlacement = new Le(e, this._order, a, i, o, r, this.placement), this._layerOrderChanged = !1), this.pauseablePlacement.isDone() ? this.placement.setStale() : (this.pauseablePlacement.continuePlacement(this._order, this._layers, l), this.pauseablePlacement.isDone() && (this.placement = this.pauseablePlacement.commit(t.browser.now()), s = !0), n && this.pauseablePlacement.placement.setStale()), s || n) for (var _ = 0, f = this._order; _ < f.length; _ += 1) {\n var m = this._layers[f[_]];\n \"symbol\" === m.type && this.placement.updateLayerOpacities(m, l[m.source]);\n }\n return !this.pauseablePlacement.isDone() || this.placement.hasTransitions(t.browser.now());\n }, i.prototype._releaseSymbolFadeTiles = function () {\n for (var t in this.sourceCaches) this.sourceCaches[t].releaseSymbolFadeTiles();\n }, i.prototype.getImages = function (t, e, i) {\n this.imageManager.getImages(e.icons, i), this._updateTilesForChangedImages();\n var o = this.sourceCaches[e.source];\n o && o.setDependencies(e.tileID.key, e.type, e.icons);\n }, i.prototype.getGlyphs = function (t, e, i) {\n this.glyphManager.getGlyphs(e.stacks, i);\n }, i.prototype.getResource = function (e, i, o) {\n return t.makeRequest(i, o);\n }, i;\n }(t.Evented);\n je.getSourceType = function (t) {\n return k[t];\n }, je.setSourceType = function (t, e) {\n k[t] = e;\n }, je.registerForPluginStateChange = t.registerForPluginStateChange;\n var Ve = t.createLayout([{\n name: \"a_pos\",\n type: \"Int16\",\n components: 2\n }]),\n Ge = gi(\"#ifdef GL_ES\\nprecision mediump float;\\n#else\\n#if !defined(lowp)\\n#define lowp\\n#endif\\n#if !defined(mediump)\\n#define mediump\\n#endif\\n#if !defined(highp)\\n#define highp\\n#endif\\n#endif\", \"#ifdef GL_ES\\nprecision highp float;\\n#else\\n#if !defined(lowp)\\n#define lowp\\n#endif\\n#if !defined(mediump)\\n#define mediump\\n#endif\\n#if !defined(highp)\\n#define highp\\n#endif\\n#endif\\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}\"),\n We = gi(\"uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),\n Xe = gi(\"uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}\"),\n He = gi(\"varying vec3 v_data;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define mediump float radius\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define highp vec4 stroke_color\\n#pragma mapbox: define mediump float stroke_width\\n#pragma mapbox: define lowp float stroke_opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize mediump float radius\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize highp vec4 stroke_color\\n#pragma mapbox: initialize mediump float stroke_width\\n#pragma mapbox: initialize lowp float stroke_opacity\\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define mediump float radius\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define highp vec4 stroke_color\\n#pragma mapbox: define mediump float stroke_width\\n#pragma mapbox: define lowp float stroke_opacity\\nvoid main(void) {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize mediump float radius\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize highp vec4 stroke_color\\n#pragma mapbox: initialize mediump float stroke_width\\n#pragma mapbox: initialize lowp float stroke_opacity\\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}\"),\n Ke = gi(\"void main() {gl_FragColor=vec4(1.0);}\", \"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),\n Ye = gi(\"uniform highp float u_intensity;varying vec2 v_extrude;\\n#pragma mapbox: define highp float weight\\n#define GAUSS_COEF 0.3989422804014327\\nvoid main() {\\n#pragma mapbox: initialize highp float weight\\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\\n#pragma mapbox: define highp float weight\\n#pragma mapbox: define mediump float radius\\nconst highp float ZERO=1.0/255.0/16.0;\\n#define GAUSS_COEF 0.3989422804014327\\nvoid main(void) {\\n#pragma mapbox: initialize highp float weight\\n#pragma mapbox: initialize mediump float radius\\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}\"),\n Je = gi(\"uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(0.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}\"),\n Qe = gi(\"varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\", \"attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}\"),\n $e = gi(\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\", \"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\"),\n ti = gi(\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\", \"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}\"),\n ei = gi(\"#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float opacity\\ngl_FragColor=color*opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"attribute vec2 a_pos;uniform mat4 u_matrix;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float opacity\\ngl_Position=u_matrix*vec4(a_pos,0,1);}\"),\n ii = gi(\"varying vec2 v_pos;\\n#pragma mapbox: define highp vec4 outline_color\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 outline_color\\n#pragma mapbox: initialize lowp float opacity\\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\\n#pragma mapbox: define highp vec4 outline_color\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 outline_color\\n#pragma mapbox: initialize lowp float opacity\\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}\"),\n oi = gi(\"uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}\"),\n ri = gi(\"uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}\"),\n ai = gi(\"varying vec4 v_color;void main() {gl_FragColor=v_color;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\\n#pragma mapbox: define highp float base\\n#pragma mapbox: define highp float height\\n#pragma mapbox: define highp vec4 color\\nvoid main() {\\n#pragma mapbox: initialize highp float base\\n#pragma mapbox: initialize highp float height\\n#pragma mapbox: initialize highp vec4 color\\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}\"),\n ni = gi(\"uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\\n#pragma mapbox: define lowp float base\\n#pragma mapbox: define lowp float height\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float base\\n#pragma mapbox: initialize lowp float height\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\\n#pragma mapbox: define lowp float base\\n#pragma mapbox: define lowp float height\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float base\\n#pragma mapbox: initialize lowp float height\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\\n? a_pos\\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}\"),\n si = gi(\"#ifdef GL_ES\\nprecision highp float;\\n#endif\\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\"),\n li = gi(\"uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\\n#define PI 3.141592653589793\\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\"),\n ci = gi(\"uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"\\n#define scale 0.015873016\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define mediump float gapwidth\\n#pragma mapbox: define lowp float offset\\n#pragma mapbox: define mediump float width\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump float gapwidth\\n#pragma mapbox: initialize lowp float offset\\n#pragma mapbox: initialize mediump float width\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}\"),\n ui = gi(\"uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"\\n#define scale 0.015873016\\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define mediump float gapwidth\\n#pragma mapbox: define lowp float offset\\n#pragma mapbox: define mediump float width\\nvoid main() {\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump float gapwidth\\n#pragma mapbox: initialize lowp float offset\\n#pragma mapbox: initialize mediump float width\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}\"),\n hi = gi(\"uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"\\n#define scale 0.015873016\\n#define LINE_DISTANCE_SCALE 2.0\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp float offset\\n#pragma mapbox: define mediump float gapwidth\\n#pragma mapbox: define mediump float width\\n#pragma mapbox: define lowp float floorwidth\\n#pragma mapbox: define lowp vec4 pattern_from\\n#pragma mapbox: define lowp vec4 pattern_to\\n#pragma mapbox: define lowp float pixel_ratio_from\\n#pragma mapbox: define lowp float pixel_ratio_to\\nvoid main() {\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize lowp float offset\\n#pragma mapbox: initialize mediump float gapwidth\\n#pragma mapbox: initialize mediump float width\\n#pragma mapbox: initialize lowp float floorwidth\\n#pragma mapbox: initialize mediump vec4 pattern_from\\n#pragma mapbox: initialize mediump vec4 pattern_to\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}\"),\n pi = gi(\"uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define mediump float width\\n#pragma mapbox: define lowp float floorwidth\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump float width\\n#pragma mapbox: initialize lowp float floorwidth\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"\\n#define scale 0.015873016\\n#define LINE_DISTANCE_SCALE 2.0\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\\n#pragma mapbox: define highp vec4 color\\n#pragma mapbox: define lowp float blur\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define mediump float gapwidth\\n#pragma mapbox: define lowp float offset\\n#pragma mapbox: define mediump float width\\n#pragma mapbox: define lowp float floorwidth\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 color\\n#pragma mapbox: initialize lowp float blur\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize mediump float gapwidth\\n#pragma mapbox: initialize lowp float offset\\n#pragma mapbox: initialize mediump float width\\n#pragma mapbox: initialize lowp float floorwidth\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}\"),\n di = gi(\"uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\"),\n _i = gi(\"uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\\n#pragma mapbox: define lowp float opacity\\nvoid main() {\\n#pragma mapbox: initialize lowp float opacity\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}\"),\n fi = gi(\"#define SDF_PX 8.0\\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\\n#pragma mapbox: define highp vec4 fill_color\\n#pragma mapbox: define highp vec4 halo_color\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp float halo_width\\n#pragma mapbox: define lowp float halo_blur\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 fill_color\\n#pragma mapbox: initialize highp vec4 halo_color\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize lowp float halo_width\\n#pragma mapbox: initialize lowp float halo_blur\\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\\n#pragma mapbox: define highp vec4 fill_color\\n#pragma mapbox: define highp vec4 halo_color\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp float halo_width\\n#pragma mapbox: define lowp float halo_blur\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 fill_color\\n#pragma mapbox: initialize highp vec4 halo_color\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize lowp float halo_width\\n#pragma mapbox: initialize lowp float halo_blur\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}\"),\n mi = gi(\"#define SDF_PX 8.0\\n#define SDF 1.0\\n#define ICON 0.0\\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\\n#pragma mapbox: define highp vec4 fill_color\\n#pragma mapbox: define highp vec4 halo_color\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp float halo_width\\n#pragma mapbox: define lowp float halo_blur\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 fill_color\\n#pragma mapbox: initialize highp vec4 halo_color\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize lowp float halo_width\\n#pragma mapbox: initialize lowp float halo_blur\\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\\n#ifdef OVERDRAW_INSPECTOR\\ngl_FragColor=vec4(1.0);\\n#endif\\n}\", \"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\\n#pragma mapbox: define highp vec4 fill_color\\n#pragma mapbox: define highp vec4 halo_color\\n#pragma mapbox: define lowp float opacity\\n#pragma mapbox: define lowp float halo_width\\n#pragma mapbox: define lowp float halo_blur\\nvoid main() {\\n#pragma mapbox: initialize highp vec4 fill_color\\n#pragma mapbox: initialize highp vec4 halo_color\\n#pragma mapbox: initialize lowp float opacity\\n#pragma mapbox: initialize lowp float halo_width\\n#pragma mapbox: initialize lowp float halo_blur\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}\");\n function gi(t, e) {\n var i = /#pragma mapbox: ([\\w]+) ([\\w]+) ([\\w]+) ([\\w]+)/g,\n o = e.match(/attribute ([\\w]+) ([\\w]+)/g),\n r = t.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),\n a = e.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),\n n = a ? a.concat(r) : r,\n s = {};\n return {\n fragmentSource: t = t.replace(i, function (t, e, i, o, r) {\n return s[r] = !0, \"define\" === e ? \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\nvarying \" + i + \" \" + o + \" \" + r + \";\\n#else\\nuniform \" + i + \" \" + o + \" u_\" + r + \";\\n#endif\\n\" : \"\\n#ifdef HAS_UNIFORM_u_\" + r + \"\\n \" + i + \" \" + o + \" \" + r + \" = u_\" + r + \";\\n#endif\\n\";\n }),\n vertexSource: e = e.replace(i, function (t, e, i, o, r) {\n var a = \"float\" === o ? \"vec2\" : \"vec4\",\n n = r.match(/color/) ? \"color\" : a;\n return s[r] ? \"define\" === e ? \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\nuniform lowp float u_\" + r + \"_t;\\nattribute \" + i + \" \" + a + \" a_\" + r + \";\\nvarying \" + i + \" \" + o + \" \" + r + \";\\n#else\\nuniform \" + i + \" \" + o + \" u_\" + r + \";\\n#endif\\n\" : \"vec4\" === n ? \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\n \" + r + \" = a_\" + r + \";\\n#else\\n \" + i + \" \" + o + \" \" + r + \" = u_\" + r + \";\\n#endif\\n\" : \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\n \" + r + \" = unpack_mix_\" + n + \"(a_\" + r + \", u_\" + r + \"_t);\\n#else\\n \" + i + \" \" + o + \" \" + r + \" = u_\" + r + \";\\n#endif\\n\" : \"define\" === e ? \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\nuniform lowp float u_\" + r + \"_t;\\nattribute \" + i + \" \" + a + \" a_\" + r + \";\\n#else\\nuniform \" + i + \" \" + o + \" u_\" + r + \";\\n#endif\\n\" : \"vec4\" === n ? \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\n \" + i + \" \" + o + \" \" + r + \" = a_\" + r + \";\\n#else\\n \" + i + \" \" + o + \" \" + r + \" = u_\" + r + \";\\n#endif\\n\" : \"\\n#ifndef HAS_UNIFORM_u_\" + r + \"\\n \" + i + \" \" + o + \" \" + r + \" = unpack_mix_\" + n + \"(a_\" + r + \", u_\" + r + \"_t);\\n#else\\n \" + i + \" \" + o + \" \" + r + \" = u_\" + r + \";\\n#endif\\n\";\n }),\n staticAttributes: o,\n staticUniforms: n\n };\n }\n var vi = Object.freeze({\n __proto__: null,\n prelude: Ge,\n background: We,\n backgroundPattern: Xe,\n circle: He,\n clippingMask: Ke,\n heatmap: Ye,\n heatmapTexture: Je,\n collisionBox: Qe,\n collisionCircle: $e,\n debug: ti,\n fill: ei,\n fillOutline: ii,\n fillOutlinePattern: oi,\n fillPattern: ri,\n fillExtrusion: ai,\n fillExtrusionPattern: ni,\n hillshadePrepare: si,\n hillshade: li,\n line: ci,\n lineGradient: ui,\n linePattern: hi,\n lineSDF: pi,\n raster: di,\n symbolIcon: _i,\n symbolSDF: fi,\n symbolTextAndIcon: mi\n }),\n yi = function () {\n this.boundProgram = null, this.boundLayoutVertexBuffer = null, this.boundPaintVertexBuffers = [], this.boundIndexBuffer = null, this.boundVertexOffset = null, this.boundDynamicVertexBuffer = null, this.vao = null;\n };\n function xi(t) {\n for (var e = [], i = 0; i < t.length; i++) if (null !== t[i]) {\n var o = t[i].split(\" \");\n e.push(o.pop());\n }\n return e;\n }\n yi.prototype.bind = function (t, e, i, o, r, a, n, s) {\n this.context = t;\n for (var l = this.boundPaintVertexBuffers.length !== o.length, c = 0; !l && c < o.length; c++) this.boundPaintVertexBuffers[c] !== o[c] && (l = !0);\n t.extVertexArrayObject && this.vao && this.boundProgram === e && this.boundLayoutVertexBuffer === i && !l && this.boundIndexBuffer === r && this.boundVertexOffset === a && this.boundDynamicVertexBuffer === n && this.boundDynamicVertexBuffer2 === s ? (t.bindVertexArrayOES.set(this.vao), n && n.bind(), r && r.dynamicDraw && r.bind(), s && s.bind()) : this.freshBind(e, i, o, r, a, n, s);\n }, yi.prototype.freshBind = function (t, e, i, o, r, a, n) {\n var s,\n l = t.numAttributes,\n c = this.context,\n u = c.gl;\n if (c.extVertexArrayObject) this.vao && this.destroy(), this.vao = c.extVertexArrayObject.createVertexArrayOES(), c.bindVertexArrayOES.set(this.vao), s = 0, this.boundProgram = t, this.boundLayoutVertexBuffer = e, this.boundPaintVertexBuffers = i, this.boundIndexBuffer = o, this.boundVertexOffset = r, this.boundDynamicVertexBuffer = a, this.boundDynamicVertexBuffer2 = n;else {\n s = c.currentNumAttributes || 0;\n for (var h = l; h < s; h++) u.disableVertexAttribArray(h);\n }\n e.enableAttributes(u, t);\n for (var p = 0, d = i; p < d.length; p += 1) d[p].enableAttributes(u, t);\n a && a.enableAttributes(u, t), n && n.enableAttributes(u, t), e.bind(), e.setVertexAttribPointers(u, t, r);\n for (var _ = 0, f = i; _ < f.length; _ += 1) {\n var m = f[_];\n m.bind(), m.setVertexAttribPointers(u, t, r);\n }\n a && (a.bind(), a.setVertexAttribPointers(u, t, r)), o && o.bind(), n && (n.bind(), n.setVertexAttribPointers(u, t, r)), c.currentNumAttributes = l;\n }, yi.prototype.destroy = function () {\n this.vao && (this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao), this.vao = null);\n };\n var bi = function (t, e, i, o, r, a) {\n var n = t.gl;\n this.program = n.createProgram();\n for (var s = xi(i.staticAttributes), l = o ? o.getBinderAttributes() : [], c = s.concat(l), u = i.staticUniforms ? xi(i.staticUniforms) : [], h = o ? o.getBinderUniforms() : [], p = [], d = 0, _ = u.concat(h); d < _.length; d += 1) {\n var f = _[d];\n p.indexOf(f) < 0 && p.push(f);\n }\n var m = o ? o.defines() : [];\n a && m.push(\"#define OVERDRAW_INSPECTOR;\");\n var g = m.concat(Ge.fragmentSource, i.fragmentSource).join(\"\\n\"),\n v = m.concat(Ge.vertexSource, i.vertexSource).join(\"\\n\"),\n y = n.createShader(n.FRAGMENT_SHADER);\n if (n.isContextLost()) this.failedToCreate = !0;else {\n n.shaderSource(y, g), n.compileShader(y), n.attachShader(this.program, y);\n var x = n.createShader(n.VERTEX_SHADER);\n if (n.isContextLost()) this.failedToCreate = !0;else {\n n.shaderSource(x, v), n.compileShader(x), n.attachShader(this.program, x), this.attributes = {};\n var b = {};\n this.numAttributes = c.length;\n for (var w = 0; w < this.numAttributes; w++) c[w] && (n.bindAttribLocation(this.program, w, c[w]), this.attributes[c[w]] = w);\n n.linkProgram(this.program), n.deleteShader(x), n.deleteShader(y);\n for (var T = 0; T < p.length; T++) {\n var E = p[T];\n if (E && !b[E]) {\n var I = n.getUniformLocation(this.program, E);\n I && (b[E] = I);\n }\n }\n this.fixedUniforms = r(t, b), this.binderUniforms = o ? o.getUniforms(t, b) : [];\n }\n }\n };\n function wi(t, e, i) {\n var o = 1 / pe(i, 1, e.transform.tileZoom),\n r = Math.pow(2, i.tileID.overscaledZ),\n a = i.tileSize * Math.pow(2, e.transform.tileZoom) / r,\n n = a * (i.tileID.canonical.x + i.tileID.wrap * r),\n s = a * i.tileID.canonical.y;\n return {\n u_image: 0,\n u_texsize: i.imageAtlasTexture.size,\n u_scale: [o, t.fromScale, t.toScale],\n u_fade: t.t,\n u_pixel_coord_upper: [n >> 16, s >> 16],\n u_pixel_coord_lower: [65535 & n, 65535 & s]\n };\n }\n bi.prototype.draw = function (t, e, i, o, r, a, n, s, l, c, u, h, p, d, _, f) {\n var m,\n g = t.gl;\n if (!this.failedToCreate) {\n for (var v in t.program.set(this.program), t.setDepthMode(i), t.setStencilMode(o), t.setColorMode(r), t.setCullFace(a), this.fixedUniforms) this.fixedUniforms[v].set(n[v]);\n d && d.setUniforms(t, this.binderUniforms, h, {\n zoom: p\n });\n for (var y = (m = {}, m[g.LINES] = 2, m[g.TRIANGLES] = 3, m[g.LINE_STRIP] = 1, m)[e], x = 0, b = u.get(); x < b.length; x += 1) {\n var w = b[x],\n T = w.vaos || (w.vaos = {});\n (T[s] || (T[s] = new yi())).bind(t, this, l, d ? d.getPaintVertexBuffers() : [], c, w.vertexOffset, _, f), g.drawElements(e, w.primitiveLength * y, g.UNSIGNED_SHORT, w.primitiveOffset * y * 2);\n }\n }\n };\n var Ti = function (e, i, o, r) {\n var a = i.style.light,\n n = a.properties.get(\"position\"),\n s = [n.x, n.y, n.z],\n l = t.create$1();\n \"viewport\" === a.properties.get(\"anchor\") && t.fromRotation(l, -i.transform.angle), t.transformMat3(s, s, l);\n var c = a.properties.get(\"color\");\n return {\n u_matrix: e,\n u_lightpos: s,\n u_lightintensity: a.properties.get(\"intensity\"),\n u_lightcolor: [c.r, c.g, c.b],\n u_vertical_gradient: +o,\n u_opacity: r\n };\n },\n Ei = function (e, i, o, r, a, n, s) {\n return t.extend(Ti(e, i, o, r), wi(n, i, s), {\n u_height_factor: -Math.pow(2, a.overscaledZ) / s.tileSize / 8\n });\n },\n Ii = function (t) {\n return {\n u_matrix: t\n };\n },\n Pi = function (e, i, o, r) {\n return t.extend(Ii(e), wi(o, i, r));\n },\n Si = function (t, e) {\n return {\n u_matrix: t,\n u_world: e\n };\n },\n Ci = function (e, i, o, r, a) {\n return t.extend(Pi(e, i, o, r), {\n u_world: a\n });\n },\n zi = function (e, i, o, r) {\n var a,\n n,\n s = e.transform;\n if (\"map\" === r.paint.get(\"circle-pitch-alignment\")) {\n var l = pe(o, 1, s.zoom);\n a = !0, n = [l, l];\n } else a = !1, n = s.pixelsToGLUnits;\n return {\n u_camera_to_center_distance: s.cameraToCenterDistance,\n u_scale_with_map: +(\"map\" === r.paint.get(\"circle-pitch-scale\")),\n u_matrix: e.translatePosMatrix(i.posMatrix, o, r.paint.get(\"circle-translate\"), r.paint.get(\"circle-translate-anchor\")),\n u_pitch_with_map: +a,\n u_device_pixel_ratio: t.browser.devicePixelRatio,\n u_extrude_scale: n\n };\n },\n Di = function (t, e, i) {\n var o = pe(i, 1, e.zoom),\n r = Math.pow(2, e.zoom - i.tileID.overscaledZ),\n a = i.tileID.overscaleFactor();\n return {\n u_matrix: t,\n u_camera_to_center_distance: e.cameraToCenterDistance,\n u_pixels_to_tile_units: o,\n u_extrude_scale: [e.pixelsToGLUnits[0] / (o * r), e.pixelsToGLUnits[1] / (o * r)],\n u_overscale_factor: a\n };\n },\n Ai = function (t, e, i) {\n return {\n u_matrix: t,\n u_inv_matrix: e,\n u_camera_to_center_distance: i.cameraToCenterDistance,\n u_viewport_size: [i.width, i.height]\n };\n },\n Mi = function (t, e, i) {\n return void 0 === i && (i = 1), {\n u_matrix: t,\n u_color: e,\n u_overlay: 0,\n u_overlay_scale: i\n };\n },\n Li = function (t) {\n return {\n u_matrix: t\n };\n },\n Ri = function (t, e, i, o) {\n return {\n u_matrix: t,\n u_extrude_scale: pe(e, 1, i),\n u_intensity: o\n };\n },\n ki = function (e, i, o) {\n var r = e.transform;\n return {\n u_matrix: Ni(e, i, o),\n u_ratio: 1 / pe(i, 1, r.zoom),\n u_device_pixel_ratio: t.browser.devicePixelRatio,\n u_units_to_pixels: [1 / r.pixelsToGLUnits[0], 1 / r.pixelsToGLUnits[1]]\n };\n },\n Bi = function (e, i, o, r) {\n return t.extend(ki(e, i, o), {\n u_image: 0,\n u_image_height: r\n });\n },\n Oi = function (e, i, o, r) {\n var a = e.transform,\n n = Ui(i, a);\n return {\n u_matrix: Ni(e, i, o),\n u_texsize: i.imageAtlasTexture.size,\n u_ratio: 1 / pe(i, 1, a.zoom),\n u_device_pixel_ratio: t.browser.devicePixelRatio,\n u_image: 0,\n u_scale: [n, r.fromScale, r.toScale],\n u_fade: r.t,\n u_units_to_pixels: [1 / a.pixelsToGLUnits[0], 1 / a.pixelsToGLUnits[1]]\n };\n },\n Fi = function (e, i, o, r, a) {\n var n = e.lineAtlas,\n s = Ui(i, e.transform),\n l = \"round\" === o.layout.get(\"line-cap\"),\n c = n.getDash(r.from, l),\n u = n.getDash(r.to, l),\n h = c.width * a.fromScale,\n p = u.width * a.toScale;\n return t.extend(ki(e, i, o), {\n u_patternscale_a: [s / h, -c.height / 2],\n u_patternscale_b: [s / p, -u.height / 2],\n u_sdfgamma: n.width / (256 * Math.min(h, p) * t.browser.devicePixelRatio) / 2,\n u_image: 0,\n u_tex_y_a: c.y,\n u_tex_y_b: u.y,\n u_mix: a.t\n });\n };\n function Ui(t, e) {\n return 1 / pe(t, 1, e.tileZoom);\n }\n function Ni(t, e, i) {\n return t.translatePosMatrix(e.tileID.posMatrix, e, i.paint.get(\"line-translate\"), i.paint.get(\"line-translate-anchor\"));\n }\n var Zi = function (t, e, i, o, r) {\n return {\n u_matrix: t,\n u_tl_parent: e,\n u_scale_parent: i,\n u_buffer_scale: 1,\n u_fade_t: o.mix,\n u_opacity: o.opacity * r.paint.get(\"raster-opacity\"),\n u_image0: 0,\n u_image1: 1,\n u_brightness_low: r.paint.get(\"raster-brightness-min\"),\n u_brightness_high: r.paint.get(\"raster-brightness-max\"),\n u_saturation_factor: (n = r.paint.get(\"raster-saturation\"), n > 0 ? 1 - 1 / (1.001 - n) : -n),\n u_contrast_factor: (a = r.paint.get(\"raster-contrast\"), a > 0 ? 1 / (1 - a) : 1 + a),\n u_spin_weights: qi(r.paint.get(\"raster-hue-rotate\"))\n };\n var a, n;\n };\n function qi(t) {\n t *= Math.PI / 180;\n var e = Math.sin(t),\n i = Math.cos(t);\n return [(2 * i + 1) / 3, (-Math.sqrt(3) * e - i + 1) / 3, (Math.sqrt(3) * e - i + 1) / 3];\n }\n var ji,\n Vi = function (t, e, i, o, r, a, n, s, l, c) {\n var u = r.transform;\n return {\n u_is_size_zoom_constant: +(\"constant\" === t || \"source\" === t),\n u_is_size_feature_constant: +(\"constant\" === t || \"camera\" === t),\n u_size_t: e ? e.uSizeT : 0,\n u_size: e ? e.uSize : 0,\n u_camera_to_center_distance: u.cameraToCenterDistance,\n u_pitch: u.pitch / 360 * 2 * Math.PI,\n u_rotate_symbol: +i,\n u_aspect_ratio: u.width / u.height,\n u_fade_change: r.options.fadeDuration ? r.symbolFadeChange : 1,\n u_matrix: a,\n u_label_plane_matrix: n,\n u_coord_matrix: s,\n u_is_text: +l,\n u_pitch_with_map: +o,\n u_texsize: c,\n u_texture: 0\n };\n },\n Gi = function (e, i, o, r, a, n, s, l, c, u, h) {\n var p = a.transform;\n return t.extend(Vi(e, i, o, r, a, n, s, l, c, u), {\n u_gamma_scale: r ? Math.cos(p._pitch) * p.cameraToCenterDistance : 1,\n u_device_pixel_ratio: t.browser.devicePixelRatio,\n u_is_halo: +h\n });\n },\n Wi = function (e, i, o, r, a, n, s, l, c, u) {\n return t.extend(Gi(e, i, o, r, a, n, s, l, !0, c, !0), {\n u_texsize_icon: u,\n u_texture_icon: 1\n });\n },\n Xi = function (t, e, i) {\n return {\n u_matrix: t,\n u_opacity: e,\n u_color: i\n };\n },\n Hi = function (e, i, o, r, a, n) {\n return t.extend(function (t, e, i, o) {\n var r = i.imageManager.getPattern(t.from.toString()),\n a = i.imageManager.getPattern(t.to.toString()),\n n = i.imageManager.getPixelSize(),\n s = n.width,\n l = n.height,\n c = Math.pow(2, o.tileID.overscaledZ),\n u = o.tileSize * Math.pow(2, i.transform.tileZoom) / c,\n h = u * (o.tileID.canonical.x + o.tileID.wrap * c),\n p = u * o.tileID.canonical.y;\n return {\n u_image: 0,\n u_pattern_tl_a: r.tl,\n u_pattern_br_a: r.br,\n u_pattern_tl_b: a.tl,\n u_pattern_br_b: a.br,\n u_texsize: [s, l],\n u_mix: e.t,\n u_pattern_size_a: r.displaySize,\n u_pattern_size_b: a.displaySize,\n u_scale_a: e.fromScale,\n u_scale_b: e.toScale,\n u_tile_units_to_pixels: 1 / pe(o, 1, i.transform.tileZoom),\n u_pixel_coord_upper: [h >> 16, p >> 16],\n u_pixel_coord_lower: [65535 & h, 65535 & p]\n };\n }(r, n, o, a), {\n u_matrix: e,\n u_opacity: i\n });\n },\n Ki = {\n fillExtrusion: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_lightpos: new t.Uniform3f(e, i.u_lightpos),\n u_lightintensity: new t.Uniform1f(e, i.u_lightintensity),\n u_lightcolor: new t.Uniform3f(e, i.u_lightcolor),\n u_vertical_gradient: new t.Uniform1f(e, i.u_vertical_gradient),\n u_opacity: new t.Uniform1f(e, i.u_opacity)\n };\n },\n fillExtrusionPattern: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_lightpos: new t.Uniform3f(e, i.u_lightpos),\n u_lightintensity: new t.Uniform1f(e, i.u_lightintensity),\n u_lightcolor: new t.Uniform3f(e, i.u_lightcolor),\n u_vertical_gradient: new t.Uniform1f(e, i.u_vertical_gradient),\n u_height_factor: new t.Uniform1f(e, i.u_height_factor),\n u_image: new t.Uniform1i(e, i.u_image),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_pixel_coord_upper: new t.Uniform2f(e, i.u_pixel_coord_upper),\n u_pixel_coord_lower: new t.Uniform2f(e, i.u_pixel_coord_lower),\n u_scale: new t.Uniform3f(e, i.u_scale),\n u_fade: new t.Uniform1f(e, i.u_fade),\n u_opacity: new t.Uniform1f(e, i.u_opacity)\n };\n },\n fill: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix)\n };\n },\n fillPattern: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_image: new t.Uniform1i(e, i.u_image),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_pixel_coord_upper: new t.Uniform2f(e, i.u_pixel_coord_upper),\n u_pixel_coord_lower: new t.Uniform2f(e, i.u_pixel_coord_lower),\n u_scale: new t.Uniform3f(e, i.u_scale),\n u_fade: new t.Uniform1f(e, i.u_fade)\n };\n },\n fillOutline: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_world: new t.Uniform2f(e, i.u_world)\n };\n },\n fillOutlinePattern: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_world: new t.Uniform2f(e, i.u_world),\n u_image: new t.Uniform1i(e, i.u_image),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_pixel_coord_upper: new t.Uniform2f(e, i.u_pixel_coord_upper),\n u_pixel_coord_lower: new t.Uniform2f(e, i.u_pixel_coord_lower),\n u_scale: new t.Uniform3f(e, i.u_scale),\n u_fade: new t.Uniform1f(e, i.u_fade)\n };\n },\n circle: function (e, i) {\n return {\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_scale_with_map: new t.Uniform1i(e, i.u_scale_with_map),\n u_pitch_with_map: new t.Uniform1i(e, i.u_pitch_with_map),\n u_extrude_scale: new t.Uniform2f(e, i.u_extrude_scale),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix)\n };\n },\n collisionBox: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_pixels_to_tile_units: new t.Uniform1f(e, i.u_pixels_to_tile_units),\n u_extrude_scale: new t.Uniform2f(e, i.u_extrude_scale),\n u_overscale_factor: new t.Uniform1f(e, i.u_overscale_factor)\n };\n },\n collisionCircle: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_inv_matrix: new t.UniformMatrix4f(e, i.u_inv_matrix),\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_viewport_size: new t.Uniform2f(e, i.u_viewport_size)\n };\n },\n debug: function (e, i) {\n return {\n u_color: new t.UniformColor(e, i.u_color),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_overlay: new t.Uniform1i(e, i.u_overlay),\n u_overlay_scale: new t.Uniform1f(e, i.u_overlay_scale)\n };\n },\n clippingMask: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix)\n };\n },\n heatmap: function (e, i) {\n return {\n u_extrude_scale: new t.Uniform1f(e, i.u_extrude_scale),\n u_intensity: new t.Uniform1f(e, i.u_intensity),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix)\n };\n },\n heatmapTexture: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_world: new t.Uniform2f(e, i.u_world),\n u_image: new t.Uniform1i(e, i.u_image),\n u_color_ramp: new t.Uniform1i(e, i.u_color_ramp),\n u_opacity: new t.Uniform1f(e, i.u_opacity)\n };\n },\n hillshade: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_image: new t.Uniform1i(e, i.u_image),\n u_latrange: new t.Uniform2f(e, i.u_latrange),\n u_light: new t.Uniform2f(e, i.u_light),\n u_shadow: new t.UniformColor(e, i.u_shadow),\n u_highlight: new t.UniformColor(e, i.u_highlight),\n u_accent: new t.UniformColor(e, i.u_accent)\n };\n },\n hillshadePrepare: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_image: new t.Uniform1i(e, i.u_image),\n u_dimension: new t.Uniform2f(e, i.u_dimension),\n u_zoom: new t.Uniform1f(e, i.u_zoom),\n u_unpack: new t.Uniform4f(e, i.u_unpack)\n };\n },\n line: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_ratio: new t.Uniform1f(e, i.u_ratio),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_units_to_pixels: new t.Uniform2f(e, i.u_units_to_pixels)\n };\n },\n lineGradient: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_ratio: new t.Uniform1f(e, i.u_ratio),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_units_to_pixels: new t.Uniform2f(e, i.u_units_to_pixels),\n u_image: new t.Uniform1i(e, i.u_image),\n u_image_height: new t.Uniform1f(e, i.u_image_height)\n };\n },\n linePattern: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_ratio: new t.Uniform1f(e, i.u_ratio),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_image: new t.Uniform1i(e, i.u_image),\n u_units_to_pixels: new t.Uniform2f(e, i.u_units_to_pixels),\n u_scale: new t.Uniform3f(e, i.u_scale),\n u_fade: new t.Uniform1f(e, i.u_fade)\n };\n },\n lineSDF: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_ratio: new t.Uniform1f(e, i.u_ratio),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_units_to_pixels: new t.Uniform2f(e, i.u_units_to_pixels),\n u_patternscale_a: new t.Uniform2f(e, i.u_patternscale_a),\n u_patternscale_b: new t.Uniform2f(e, i.u_patternscale_b),\n u_sdfgamma: new t.Uniform1f(e, i.u_sdfgamma),\n u_image: new t.Uniform1i(e, i.u_image),\n u_tex_y_a: new t.Uniform1f(e, i.u_tex_y_a),\n u_tex_y_b: new t.Uniform1f(e, i.u_tex_y_b),\n u_mix: new t.Uniform1f(e, i.u_mix)\n };\n },\n raster: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_tl_parent: new t.Uniform2f(e, i.u_tl_parent),\n u_scale_parent: new t.Uniform1f(e, i.u_scale_parent),\n u_buffer_scale: new t.Uniform1f(e, i.u_buffer_scale),\n u_fade_t: new t.Uniform1f(e, i.u_fade_t),\n u_opacity: new t.Uniform1f(e, i.u_opacity),\n u_image0: new t.Uniform1i(e, i.u_image0),\n u_image1: new t.Uniform1i(e, i.u_image1),\n u_brightness_low: new t.Uniform1f(e, i.u_brightness_low),\n u_brightness_high: new t.Uniform1f(e, i.u_brightness_high),\n u_saturation_factor: new t.Uniform1f(e, i.u_saturation_factor),\n u_contrast_factor: new t.Uniform1f(e, i.u_contrast_factor),\n u_spin_weights: new t.Uniform3f(e, i.u_spin_weights)\n };\n },\n symbolIcon: function (e, i) {\n return {\n u_is_size_zoom_constant: new t.Uniform1i(e, i.u_is_size_zoom_constant),\n u_is_size_feature_constant: new t.Uniform1i(e, i.u_is_size_feature_constant),\n u_size_t: new t.Uniform1f(e, i.u_size_t),\n u_size: new t.Uniform1f(e, i.u_size),\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_pitch: new t.Uniform1f(e, i.u_pitch),\n u_rotate_symbol: new t.Uniform1i(e, i.u_rotate_symbol),\n u_aspect_ratio: new t.Uniform1f(e, i.u_aspect_ratio),\n u_fade_change: new t.Uniform1f(e, i.u_fade_change),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_label_plane_matrix: new t.UniformMatrix4f(e, i.u_label_plane_matrix),\n u_coord_matrix: new t.UniformMatrix4f(e, i.u_coord_matrix),\n u_is_text: new t.Uniform1i(e, i.u_is_text),\n u_pitch_with_map: new t.Uniform1i(e, i.u_pitch_with_map),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_texture: new t.Uniform1i(e, i.u_texture)\n };\n },\n symbolSDF: function (e, i) {\n return {\n u_is_size_zoom_constant: new t.Uniform1i(e, i.u_is_size_zoom_constant),\n u_is_size_feature_constant: new t.Uniform1i(e, i.u_is_size_feature_constant),\n u_size_t: new t.Uniform1f(e, i.u_size_t),\n u_size: new t.Uniform1f(e, i.u_size),\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_pitch: new t.Uniform1f(e, i.u_pitch),\n u_rotate_symbol: new t.Uniform1i(e, i.u_rotate_symbol),\n u_aspect_ratio: new t.Uniform1f(e, i.u_aspect_ratio),\n u_fade_change: new t.Uniform1f(e, i.u_fade_change),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_label_plane_matrix: new t.UniformMatrix4f(e, i.u_label_plane_matrix),\n u_coord_matrix: new t.UniformMatrix4f(e, i.u_coord_matrix),\n u_is_text: new t.Uniform1i(e, i.u_is_text),\n u_pitch_with_map: new t.Uniform1i(e, i.u_pitch_with_map),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_texture: new t.Uniform1i(e, i.u_texture),\n u_gamma_scale: new t.Uniform1f(e, i.u_gamma_scale),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_is_halo: new t.Uniform1i(e, i.u_is_halo)\n };\n },\n symbolTextAndIcon: function (e, i) {\n return {\n u_is_size_zoom_constant: new t.Uniform1i(e, i.u_is_size_zoom_constant),\n u_is_size_feature_constant: new t.Uniform1i(e, i.u_is_size_feature_constant),\n u_size_t: new t.Uniform1f(e, i.u_size_t),\n u_size: new t.Uniform1f(e, i.u_size),\n u_camera_to_center_distance: new t.Uniform1f(e, i.u_camera_to_center_distance),\n u_pitch: new t.Uniform1f(e, i.u_pitch),\n u_rotate_symbol: new t.Uniform1i(e, i.u_rotate_symbol),\n u_aspect_ratio: new t.Uniform1f(e, i.u_aspect_ratio),\n u_fade_change: new t.Uniform1f(e, i.u_fade_change),\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_label_plane_matrix: new t.UniformMatrix4f(e, i.u_label_plane_matrix),\n u_coord_matrix: new t.UniformMatrix4f(e, i.u_coord_matrix),\n u_is_text: new t.Uniform1i(e, i.u_is_text),\n u_pitch_with_map: new t.Uniform1i(e, i.u_pitch_with_map),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_texsize_icon: new t.Uniform2f(e, i.u_texsize_icon),\n u_texture: new t.Uniform1i(e, i.u_texture),\n u_texture_icon: new t.Uniform1i(e, i.u_texture_icon),\n u_gamma_scale: new t.Uniform1f(e, i.u_gamma_scale),\n u_device_pixel_ratio: new t.Uniform1f(e, i.u_device_pixel_ratio),\n u_is_halo: new t.Uniform1i(e, i.u_is_halo)\n };\n },\n background: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_opacity: new t.Uniform1f(e, i.u_opacity),\n u_color: new t.UniformColor(e, i.u_color)\n };\n },\n backgroundPattern: function (e, i) {\n return {\n u_matrix: new t.UniformMatrix4f(e, i.u_matrix),\n u_opacity: new t.Uniform1f(e, i.u_opacity),\n u_image: new t.Uniform1i(e, i.u_image),\n u_pattern_tl_a: new t.Uniform2f(e, i.u_pattern_tl_a),\n u_pattern_br_a: new t.Uniform2f(e, i.u_pattern_br_a),\n u_pattern_tl_b: new t.Uniform2f(e, i.u_pattern_tl_b),\n u_pattern_br_b: new t.Uniform2f(e, i.u_pattern_br_b),\n u_texsize: new t.Uniform2f(e, i.u_texsize),\n u_mix: new t.Uniform1f(e, i.u_mix),\n u_pattern_size_a: new t.Uniform2f(e, i.u_pattern_size_a),\n u_pattern_size_b: new t.Uniform2f(e, i.u_pattern_size_b),\n u_scale_a: new t.Uniform1f(e, i.u_scale_a),\n u_scale_b: new t.Uniform1f(e, i.u_scale_b),\n u_pixel_coord_upper: new t.Uniform2f(e, i.u_pixel_coord_upper),\n u_pixel_coord_lower: new t.Uniform2f(e, i.u_pixel_coord_lower),\n u_tile_units_to_pixels: new t.Uniform1f(e, i.u_tile_units_to_pixels)\n };\n }\n };\n function Yi(e, i, o, r, a, n, s) {\n for (var l = e.context, c = l.gl, u = e.useProgram(\"collisionBox\"), h = [], p = 0, d = 0, _ = 0; _ < r.length; _++) {\n var f = r[_],\n m = i.getTile(f),\n g = m.getBucket(o);\n if (g) {\n var v = f.posMatrix;\n 0 === a[0] && 0 === a[1] || (v = e.translatePosMatrix(f.posMatrix, m, a, n));\n var y = s ? g.textCollisionBox : g.iconCollisionBox,\n x = g.collisionCircleArray;\n if (x.length > 0) {\n var b = t.create(),\n w = v;\n t.mul(b, g.placementInvProjMatrix, e.transform.glCoordMatrix), t.mul(b, b, g.placementViewportMatrix), h.push({\n circleArray: x,\n circleOffset: d,\n transform: w,\n invTransform: b\n }), d = p += x.length / 4;\n }\n y && u.draw(l, c.LINES, It.disabled, Pt.disabled, e.colorModeForRenderPass(), Ct.disabled, Di(v, e.transform, m), o.id, y.layoutVertexBuffer, y.indexBuffer, y.segments, null, e.transform.zoom, null, null, y.collisionVertexBuffer);\n }\n }\n if (s && h.length) {\n var T = e.useProgram(\"collisionCircle\"),\n E = new t.StructArrayLayout2f1f2i16();\n E.resize(4 * p), E._trim();\n for (var I = 0, P = 0, S = h; P < S.length; P += 1) for (var C = S[P], z = 0; z < C.circleArray.length / 4; z++) {\n var D = 4 * z,\n A = C.circleArray[D + 0],\n M = C.circleArray[D + 1],\n L = C.circleArray[D + 2],\n R = C.circleArray[D + 3];\n E.emplace(I++, A, M, L, R, 0), E.emplace(I++, A, M, L, R, 1), E.emplace(I++, A, M, L, R, 2), E.emplace(I++, A, M, L, R, 3);\n }\n (!ji || ji.length < 2 * p) && (ji = function (e) {\n var i = 2 * e,\n o = new t.StructArrayLayout3ui6();\n o.resize(i), o._trim();\n for (var r = 0; r < i; r++) {\n var a = 6 * r;\n o.uint16[a + 0] = 4 * r + 0, o.uint16[a + 1] = 4 * r + 1, o.uint16[a + 2] = 4 * r + 2, o.uint16[a + 3] = 4 * r + 2, o.uint16[a + 4] = 4 * r + 3, o.uint16[a + 5] = 4 * r + 0;\n }\n return o;\n }(p));\n for (var k = l.createIndexBuffer(ji, !0), B = l.createVertexBuffer(E, t.collisionCircleLayout.members, !0), O = 0, F = h; O < F.length; O += 1) {\n var U = F[O],\n N = Ai(U.transform, U.invTransform, e.transform);\n T.draw(l, c.TRIANGLES, It.disabled, Pt.disabled, e.colorModeForRenderPass(), Ct.disabled, N, o.id, B, k, t.SegmentVector.simpleSegment(0, 2 * U.circleOffset, U.circleArray.length, U.circleArray.length / 2), null, e.transform.zoom, null, null, null);\n }\n B.destroy(), k.destroy();\n }\n }\n var Ji = t.identity(new Float32Array(16));\n function Qi(e, i, o, r, a, n) {\n var s = t.getAnchorAlignment(e),\n l = -(s.horizontalAlign - .5) * i,\n c = -(s.verticalAlign - .5) * o,\n u = t.evaluateVariableOffset(e, r);\n return new t.Point((l / a + u[0]) * n, (c / a + u[1]) * n);\n }\n function $i(e, i, o, r, a, n, s, l, c, u, h) {\n var p = e.text.placedSymbolArray,\n d = e.text.dynamicLayoutVertexArray,\n _ = e.icon.dynamicLayoutVertexArray,\n f = {};\n d.clear();\n for (var m = 0; m < p.length; m++) {\n var g = p.get(m),\n v = g.hidden || !g.crossTileID || e.allowVerticalPlacement && !g.placedOrientation ? null : r[g.crossTileID];\n if (v) {\n var y = new t.Point(g.anchorX, g.anchorY),\n x = $t(y, o ? l : s),\n b = te(n.cameraToCenterDistance, x.signedDistanceFromCamera),\n w = a.evaluateSizeForFeature(e.textSizeData, u, g) * b / t.ONE_EM;\n o && (w *= e.tilePixelRatio / c);\n for (var T = Qi(v.anchor, v.width, v.height, v.textOffset, v.textBoxScale, w), E = o ? $t(y.add(T), s).point : x.point.add(i ? T.rotate(-n.angle) : T), I = e.allowVerticalPlacement && g.placedOrientation === t.WritingMode.vertical ? Math.PI / 2 : 0, P = 0; P < g.numGlyphs; P++) t.addDynamicAttributes(d, E, I);\n h && g.associatedIconIndex >= 0 && (f[g.associatedIconIndex] = {\n shiftedAnchor: E,\n angle: I\n });\n } else ce(g.numGlyphs, d);\n }\n if (h) {\n _.clear();\n for (var S = e.icon.placedSymbolArray, C = 0; C < S.length; C++) {\n var z = S.get(C);\n if (z.hidden) ce(z.numGlyphs, _);else {\n var D = f[C];\n if (D) for (var A = 0; A < z.numGlyphs; A++) t.addDynamicAttributes(_, D.shiftedAnchor, D.angle);else ce(z.numGlyphs, _);\n }\n }\n e.icon.dynamicLayoutVertexBuffer.updateData(_);\n }\n e.text.dynamicLayoutVertexBuffer.updateData(d);\n }\n function to(t, e, i) {\n return i.iconsInText && e ? \"symbolTextAndIcon\" : t ? \"symbolSDF\" : \"symbolIcon\";\n }\n function eo(e, i, o, r, a, n, s, l, c, u, h, p) {\n for (var d = e.context, _ = d.gl, f = e.transform, m = \"map\" === l, g = \"map\" === c, v = m && \"point\" !== o.layout.get(\"symbol-placement\"), y = m && !g && !v, x = void 0 !== o.layout.get(\"symbol-sort-key\").constantOr(1), b = !1, w = e.depthModeForSublayer(0, It.ReadOnly), T = o.layout.get(\"text-variable-anchor\"), E = [], I = 0, P = r; I < P.length; I += 1) {\n var S = P[I],\n C = i.getTile(S),\n z = C.getBucket(o);\n if (z) {\n var D = a ? z.text : z.icon;\n if (D && D.segments.get().length) {\n var A = D.programConfigurations.get(o.id),\n M = a || z.sdfIcons,\n L = a ? z.textSizeData : z.iconSizeData,\n R = g || 0 !== f.pitch,\n k = e.useProgram(to(M, a, z), A),\n B = t.evaluateSizeForZoom(L, f.zoom),\n O = void 0,\n F = [0, 0],\n U = void 0,\n N = void 0,\n Z = null,\n q = void 0;\n if (a) U = C.glyphAtlasTexture, N = _.LINEAR, O = C.glyphAtlasTexture.size, z.iconsInText && (F = C.imageAtlasTexture.size, Z = C.imageAtlasTexture, q = R || e.options.rotating || e.options.zooming || \"composite\" === L.kind || \"camera\" === L.kind ? _.LINEAR : _.NEAREST);else {\n var j = 1 !== o.layout.get(\"icon-size\").constantOr(0) || z.iconsNeedLinear;\n U = C.imageAtlasTexture, N = M || e.options.rotating || e.options.zooming || j || R ? _.LINEAR : _.NEAREST, O = C.imageAtlasTexture.size;\n }\n var V = pe(C, 1, e.transform.zoom),\n G = Jt(S.posMatrix, g, m, e.transform, V),\n W = Qt(S.posMatrix, g, m, e.transform, V),\n X = T && z.hasTextData(),\n H = \"none\" !== o.layout.get(\"icon-text-fit\") && X && z.hasIconData();\n v && ie(z, S.posMatrix, e, a, G, W, g, u);\n var K = e.translatePosMatrix(S.posMatrix, C, n, s),\n Y = v || a && T || H ? Ji : G,\n J = e.translatePosMatrix(W, C, n, s, !0),\n Q = M && 0 !== o.paint.get(a ? \"text-halo-width\" : \"icon-halo-width\").constantOr(1),\n $ = {\n program: k,\n buffers: D,\n uniformValues: M ? z.iconsInText ? Wi(L.kind, B, y, g, e, K, Y, J, O, F) : Gi(L.kind, B, y, g, e, K, Y, J, a, O, !0) : Vi(L.kind, B, y, g, e, K, Y, J, a, O),\n atlasTexture: U,\n atlasTextureIcon: Z,\n atlasInterpolation: N,\n atlasInterpolationIcon: q,\n isSDF: M,\n hasHalo: Q\n };\n if (x && z.canOverlap) {\n b = !0;\n for (var tt = 0, et = D.segments.get(); tt < et.length; tt += 1) {\n var it = et[tt];\n E.push({\n segments: new t.SegmentVector([it]),\n sortKey: it.sortKey,\n state: $\n });\n }\n } else E.push({\n segments: D.segments,\n sortKey: 0,\n state: $\n });\n }\n }\n }\n b && E.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n for (var ot = 0, rt = E; ot < rt.length; ot += 1) {\n var at = rt[ot],\n nt = at.state;\n if (d.activeTexture.set(_.TEXTURE0), nt.atlasTexture.bind(nt.atlasInterpolation, _.CLAMP_TO_EDGE), nt.atlasTextureIcon && (d.activeTexture.set(_.TEXTURE1), nt.atlasTextureIcon && nt.atlasTextureIcon.bind(nt.atlasInterpolationIcon, _.CLAMP_TO_EDGE)), nt.isSDF) {\n var st = nt.uniformValues;\n nt.hasHalo && (st.u_is_halo = 1, io(nt.buffers, at.segments, o, e, nt.program, w, h, p, st)), st.u_is_halo = 0;\n }\n io(nt.buffers, at.segments, o, e, nt.program, w, h, p, nt.uniformValues);\n }\n }\n function io(t, e, i, o, r, a, n, s, l) {\n var c = o.context;\n r.draw(c, c.gl.TRIANGLES, a, n, s, Ct.disabled, l, i.id, t.layoutVertexBuffer, t.indexBuffer, e, i.paint, o.transform.zoom, t.programConfigurations.get(i.id), t.dynamicLayoutVertexBuffer, t.opacityVertexBuffer);\n }\n function oo(t, e, i, o, r, a, n) {\n var s,\n l,\n c,\n u,\n h,\n p = t.context.gl,\n d = i.paint.get(\"fill-pattern\"),\n _ = d && d.constantOr(1),\n f = i.getCrossfadeParameters();\n n ? (l = _ && !i.getPaintProperty(\"fill-outline-color\") ? \"fillOutlinePattern\" : \"fillOutline\", s = p.LINES) : (l = _ ? \"fillPattern\" : \"fill\", s = p.TRIANGLES);\n for (var m = 0, g = o; m < g.length; m += 1) {\n var v = g[m],\n y = e.getTile(v);\n if (!_ || y.patternsLoaded()) {\n var x = y.getBucket(i);\n if (x) {\n var b = x.programConfigurations.get(i.id),\n w = t.useProgram(l, b);\n _ && (t.context.activeTexture.set(p.TEXTURE0), y.imageAtlasTexture.bind(p.LINEAR, p.CLAMP_TO_EDGE), b.updatePaintBuffers(f));\n var T = d.constantOr(null);\n if (T && y.imageAtlas) {\n var E = y.imageAtlas,\n I = E.patternPositions[T.to.toString()],\n P = E.patternPositions[T.from.toString()];\n I && P && b.setConstantPatternPositions(I, P);\n }\n var S = t.translatePosMatrix(v.posMatrix, y, i.paint.get(\"fill-translate\"), i.paint.get(\"fill-translate-anchor\"));\n if (n) {\n u = x.indexBuffer2, h = x.segments2;\n var C = [p.drawingBufferWidth, p.drawingBufferHeight];\n c = \"fillOutlinePattern\" === l && _ ? Ci(S, t, f, y, C) : Si(S, C);\n } else u = x.indexBuffer, h = x.segments, c = _ ? Pi(S, t, f, y) : Ii(S);\n w.draw(t.context, s, r, t.stencilModeForClipping(v), a, Ct.disabled, c, i.id, x.layoutVertexBuffer, u, h, i.paint, t.transform.zoom, b);\n }\n }\n }\n }\n function ro(t, e, i, o, r, a, n) {\n for (var s = t.context, l = s.gl, c = i.paint.get(\"fill-extrusion-pattern\"), u = c.constantOr(1), h = i.getCrossfadeParameters(), p = i.paint.get(\"fill-extrusion-opacity\"), d = 0, _ = o; d < _.length; d += 1) {\n var f = _[d],\n m = e.getTile(f),\n g = m.getBucket(i);\n if (g) {\n var v = g.programConfigurations.get(i.id),\n y = t.useProgram(u ? \"fillExtrusionPattern\" : \"fillExtrusion\", v);\n u && (t.context.activeTexture.set(l.TEXTURE0), m.imageAtlasTexture.bind(l.LINEAR, l.CLAMP_TO_EDGE), v.updatePaintBuffers(h));\n var x = c.constantOr(null);\n if (x && m.imageAtlas) {\n var b = m.imageAtlas,\n w = b.patternPositions[x.to.toString()],\n T = b.patternPositions[x.from.toString()];\n w && T && v.setConstantPatternPositions(w, T);\n }\n var E = t.translatePosMatrix(f.posMatrix, m, i.paint.get(\"fill-extrusion-translate\"), i.paint.get(\"fill-extrusion-translate-anchor\")),\n I = i.paint.get(\"fill-extrusion-vertical-gradient\"),\n P = u ? Ei(E, t, I, p, f, h, m) : Ti(E, t, I, p);\n y.draw(s, s.gl.TRIANGLES, r, a, n, Ct.backCCW, P, i.id, g.layoutVertexBuffer, g.indexBuffer, g.segments, i.paint, t.transform.zoom, v);\n }\n }\n }\n function ao(e, i, o, r, a, n) {\n var s = e.context,\n l = s.gl,\n c = i.fbo;\n if (c) {\n var u = e.useProgram(\"hillshade\");\n s.activeTexture.set(l.TEXTURE0), l.bindTexture(l.TEXTURE_2D, c.colorAttachment.get());\n var h = function (e, i, o) {\n var r = o.paint.get(\"hillshade-shadow-color\"),\n a = o.paint.get(\"hillshade-highlight-color\"),\n n = o.paint.get(\"hillshade-accent-color\"),\n s = o.paint.get(\"hillshade-illumination-direction\") * (Math.PI / 180);\n \"viewport\" === o.paint.get(\"hillshade-illumination-anchor\") && (s -= e.transform.angle);\n var l,\n c,\n u,\n h = !e.options.moving;\n return {\n u_matrix: e.transform.calculatePosMatrix(i.tileID.toUnwrapped(), h),\n u_image: 0,\n u_latrange: (l = i.tileID, c = Math.pow(2, l.canonical.z), u = l.canonical.y, [new t.MercatorCoordinate(0, u / c).toLngLat().lat, new t.MercatorCoordinate(0, (u + 1) / c).toLngLat().lat]),\n u_light: [o.paint.get(\"hillshade-exaggeration\"), s],\n u_shadow: r,\n u_highlight: a,\n u_accent: n\n };\n }(e, i, o);\n u.draw(s, l.TRIANGLES, r, a, n, Ct.disabled, h, o.id, e.rasterBoundsBuffer, e.quadTriangleIndexBuffer, e.rasterBoundsSegments);\n }\n }\n function no(e, i, o, r, a, n) {\n var s = e.context,\n l = s.gl,\n c = i.dem;\n if (c && c.data) {\n var u = c.dim,\n h = c.stride,\n p = c.getPixels();\n if (s.activeTexture.set(l.TEXTURE1), s.pixelStoreUnpackPremultiplyAlpha.set(!1), i.demTexture = i.demTexture || e.getTileTexture(h), i.demTexture) {\n var d = i.demTexture;\n d.update(p, {\n premultiply: !1\n }), d.bind(l.NEAREST, l.CLAMP_TO_EDGE);\n } else i.demTexture = new t.Texture(s, p, l.RGBA, {\n premultiply: !1\n }), i.demTexture.bind(l.NEAREST, l.CLAMP_TO_EDGE);\n s.activeTexture.set(l.TEXTURE0);\n var _ = i.fbo;\n if (!_) {\n var f = new t.Texture(s, {\n width: u,\n height: u,\n data: null\n }, l.RGBA);\n f.bind(l.LINEAR, l.CLAMP_TO_EDGE), (_ = i.fbo = s.createFramebuffer(u, u, !0)).colorAttachment.set(f.texture);\n }\n s.bindFramebuffer.set(_.framebuffer), s.viewport.set([0, 0, u, u]), e.useProgram(\"hillshadePrepare\").draw(s, l.TRIANGLES, r, a, n, Ct.disabled, function (e, i) {\n var o = i.stride,\n r = t.create();\n return t.ortho(r, 0, t.EXTENT, -t.EXTENT, 0, 0, 1), t.translate(r, r, [0, -t.EXTENT, 0]), {\n u_matrix: r,\n u_image: 1,\n u_dimension: [o, o],\n u_zoom: e.overscaledZ,\n u_unpack: i.getUnpackVector()\n };\n }(i.tileID, c), o.id, e.rasterBoundsBuffer, e.quadTriangleIndexBuffer, e.rasterBoundsSegments), i.needsHillshadePrepare = !1;\n }\n }\n function so(e, i, o, r, a) {\n var n = r.paint.get(\"raster-fade-duration\");\n if (n > 0) {\n var s = t.browser.now(),\n l = (s - e.timeAdded) / n,\n c = i ? (s - i.timeAdded) / n : -1,\n u = o.getSource(),\n h = a.coveringZoomLevel({\n tileSize: u.tileSize,\n roundZoom: u.roundZoom\n }),\n p = !i || Math.abs(i.tileID.overscaledZ - h) > Math.abs(e.tileID.overscaledZ - h),\n d = p && e.refreshedUponExpiration ? 1 : t.clamp(p ? l : 1 - c, 0, 1);\n return e.refreshedUponExpiration && l >= 1 && (e.refreshedUponExpiration = !1), i ? {\n opacity: 1,\n mix: 1 - d\n } : {\n opacity: d,\n mix: 0\n };\n }\n return {\n opacity: 1,\n mix: 0\n };\n }\n var lo = new t.Color(1, 0, 0, 1),\n co = new t.Color(0, 1, 0, 1),\n uo = new t.Color(0, 0, 1, 1),\n ho = new t.Color(1, 0, 1, 1),\n po = new t.Color(0, 1, 1, 1);\n function _o(t, e, i, o) {\n mo(t, 0, e + i / 2, t.transform.width, i, o);\n }\n function fo(t, e, i, o) {\n mo(t, e - i / 2, 0, i, t.transform.height, o);\n }\n function mo(e, i, o, r, a, n) {\n var s = e.context,\n l = s.gl;\n l.enable(l.SCISSOR_TEST), l.scissor(i * t.browser.devicePixelRatio, o * t.browser.devicePixelRatio, r * t.browser.devicePixelRatio, a * t.browser.devicePixelRatio), s.clear({\n color: n\n }), l.disable(l.SCISSOR_TEST);\n }\n function go(e, i, o) {\n var r = e.context,\n a = r.gl,\n n = o.posMatrix,\n s = e.useProgram(\"debug\"),\n l = It.disabled,\n c = Pt.disabled,\n u = e.colorModeForRenderPass();\n r.activeTexture.set(a.TEXTURE0), e.emptyTexture.bind(a.LINEAR, a.CLAMP_TO_EDGE), s.draw(r, a.LINE_STRIP, l, c, u, Ct.disabled, Mi(n, t.Color.red), \"$debug\", e.debugBuffer, e.tileBorderIndexBuffer, e.debugSegments);\n var h = i.getTileByID(o.key).latestRawTileData,\n p = Math.floor((h && h.byteLength || 0) / 1024),\n d = i.getTile(o).tileSize,\n _ = 512 / Math.min(d, 512) * (o.overscaledZ / e.transform.zoom) * .5,\n f = o.canonical.toString();\n o.overscaledZ !== o.canonical.z && (f += \" => \" + o.overscaledZ), function (t, e) {\n t.initDebugOverlayCanvas();\n var i = t.debugOverlayCanvas,\n o = t.context.gl,\n r = t.debugOverlayCanvas.getContext(\"2d\");\n r.clearRect(0, 0, i.width, i.height), r.shadowColor = \"white\", r.shadowBlur = 2, r.lineWidth = 1.5, r.strokeStyle = \"white\", r.textBaseline = \"top\", r.font = \"bold 36px Open Sans, sans-serif\", r.fillText(e, 5, 5), r.strokeText(e, 5, 5), t.debugOverlayTexture.update(i), t.debugOverlayTexture.bind(o.LINEAR, o.CLAMP_TO_EDGE);\n }(e, f + \" \" + p + \"kb\"), s.draw(r, a.TRIANGLES, l, c, St.alphaBlended, Ct.disabled, Mi(n, t.Color.transparent, _), \"$debug\", e.debugBuffer, e.quadTriangleIndexBuffer, e.debugSegments);\n }\n var vo = {\n symbol: function (e, i, o, r, a) {\n if (\"translucent\" === e.renderPass) {\n var n = Pt.disabled,\n s = e.colorModeForRenderPass();\n o.layout.get(\"text-variable-anchor\") && function (e, i, o, r, a, n, s) {\n for (var l = i.transform, c = \"map\" === a, u = \"map\" === n, h = 0, p = e; h < p.length; h += 1) {\n var d = p[h],\n _ = r.getTile(d),\n f = _.getBucket(o);\n if (f && f.text && f.text.segments.get().length) {\n var m = t.evaluateSizeForZoom(f.textSizeData, l.zoom),\n g = pe(_, 1, i.transform.zoom),\n v = Jt(d.posMatrix, u, c, i.transform, g),\n y = \"none\" !== o.layout.get(\"icon-text-fit\") && f.hasIconData();\n if (m) {\n var x = Math.pow(2, l.zoom - _.tileID.overscaledZ);\n $i(f, c, u, s, t.symbolSize, l, v, d.posMatrix, x, m, y);\n }\n }\n }\n }(r, e, o, i, o.layout.get(\"text-rotation-alignment\"), o.layout.get(\"text-pitch-alignment\"), a), 0 !== o.paint.get(\"icon-opacity\").constantOr(1) && eo(e, i, o, r, !1, o.paint.get(\"icon-translate\"), o.paint.get(\"icon-translate-anchor\"), o.layout.get(\"icon-rotation-alignment\"), o.layout.get(\"icon-pitch-alignment\"), o.layout.get(\"icon-keep-upright\"), n, s), 0 !== o.paint.get(\"text-opacity\").constantOr(1) && eo(e, i, o, r, !0, o.paint.get(\"text-translate\"), o.paint.get(\"text-translate-anchor\"), o.layout.get(\"text-rotation-alignment\"), o.layout.get(\"text-pitch-alignment\"), o.layout.get(\"text-keep-upright\"), n, s), i.map.showCollisionBoxes && (Yi(e, i, o, r, o.paint.get(\"text-translate\"), o.paint.get(\"text-translate-anchor\"), !0), Yi(e, i, o, r, o.paint.get(\"icon-translate\"), o.paint.get(\"icon-translate-anchor\"), !1));\n }\n },\n circle: function (e, i, o, r) {\n if (\"translucent\" === e.renderPass) {\n var a = o.paint.get(\"circle-opacity\"),\n n = o.paint.get(\"circle-stroke-width\"),\n s = o.paint.get(\"circle-stroke-opacity\"),\n l = void 0 !== o.layout.get(\"circle-sort-key\").constantOr(1);\n if (0 !== a.constantOr(1) || 0 !== n.constantOr(1) && 0 !== s.constantOr(1)) {\n for (var c = e.context, u = c.gl, h = e.depthModeForSublayer(0, It.ReadOnly), p = Pt.disabled, d = e.colorModeForRenderPass(), _ = [], f = 0; f < r.length; f++) {\n var m = r[f],\n g = i.getTile(m),\n v = g.getBucket(o);\n if (v) {\n var y = v.programConfigurations.get(o.id),\n x = {\n programConfiguration: y,\n program: e.useProgram(\"circle\", y),\n layoutVertexBuffer: v.layoutVertexBuffer,\n indexBuffer: v.indexBuffer,\n uniformValues: zi(e, m, g, o)\n };\n if (l) for (var b = 0, w = v.segments.get(); b < w.length; b += 1) {\n var T = w[b];\n _.push({\n segments: new t.SegmentVector([T]),\n sortKey: T.sortKey,\n state: x\n });\n } else _.push({\n segments: v.segments,\n sortKey: 0,\n state: x\n });\n }\n }\n l && _.sort(function (t, e) {\n return t.sortKey - e.sortKey;\n });\n for (var E = 0, I = _; E < I.length; E += 1) {\n var P = I[E],\n S = P.state;\n S.program.draw(c, u.TRIANGLES, h, p, d, Ct.disabled, S.uniformValues, o.id, S.layoutVertexBuffer, S.indexBuffer, P.segments, o.paint, e.transform.zoom, S.programConfiguration);\n }\n }\n }\n },\n heatmap: function (e, i, o, r) {\n if (0 !== o.paint.get(\"heatmap-opacity\")) if (\"offscreen\" === e.renderPass) {\n var a = e.context,\n n = a.gl,\n s = Pt.disabled,\n l = new St([n.ONE, n.ONE], t.Color.transparent, [!0, !0, !0, !0]);\n !function (t, e, i) {\n var o = t.gl;\n t.activeTexture.set(o.TEXTURE1), t.viewport.set([0, 0, e.width / 4, e.height / 4]);\n var r = i.heatmapFbo;\n if (r) o.bindTexture(o.TEXTURE_2D, r.colorAttachment.get()), t.bindFramebuffer.set(r.framebuffer);else {\n var a = o.createTexture();\n o.bindTexture(o.TEXTURE_2D, a), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_WRAP_S, o.CLAMP_TO_EDGE), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_WRAP_T, o.CLAMP_TO_EDGE), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_MIN_FILTER, o.LINEAR), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_MAG_FILTER, o.LINEAR), r = i.heatmapFbo = t.createFramebuffer(e.width / 4, e.height / 4, !1), function (t, e, i, o) {\n var r = t.gl;\n r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, e.width / 4, e.height / 4, 0, r.RGBA, t.extRenderToTextureHalfFloat ? t.extTextureHalfFloat.HALF_FLOAT_OES : r.UNSIGNED_BYTE, null), o.colorAttachment.set(i);\n }(t, e, a, r);\n }\n }(a, e, o), a.clear({\n color: t.Color.transparent\n });\n for (var c = 0; c < r.length; c++) {\n var u = r[c];\n if (!i.hasRenderableParent(u)) {\n var h = i.getTile(u),\n p = h.getBucket(o);\n if (p) {\n var d = p.programConfigurations.get(o.id);\n e.useProgram(\"heatmap\", d).draw(a, n.TRIANGLES, It.disabled, s, l, Ct.disabled, Ri(u.posMatrix, h, e.transform.zoom, o.paint.get(\"heatmap-intensity\")), o.id, p.layoutVertexBuffer, p.indexBuffer, p.segments, o.paint, e.transform.zoom, d);\n }\n }\n }\n a.viewport.set([0, 0, e.width, e.height]);\n } else \"translucent\" === e.renderPass && (e.context.setColorMode(e.colorModeForRenderPass()), function (e, i) {\n var o = e.context,\n r = o.gl,\n a = i.heatmapFbo;\n if (a) {\n o.activeTexture.set(r.TEXTURE0), r.bindTexture(r.TEXTURE_2D, a.colorAttachment.get()), o.activeTexture.set(r.TEXTURE1);\n var n = i.colorRampTexture;\n n || (n = i.colorRampTexture = new t.Texture(o, i.colorRamp, r.RGBA)), n.bind(r.LINEAR, r.CLAMP_TO_EDGE), e.useProgram(\"heatmapTexture\").draw(o, r.TRIANGLES, It.disabled, Pt.disabled, e.colorModeForRenderPass(), Ct.disabled, function (e, i, o, r) {\n var a = t.create();\n t.ortho(a, 0, e.width, e.height, 0, 0, 1);\n var n = e.context.gl;\n return {\n u_matrix: a,\n u_world: [n.drawingBufferWidth, n.drawingBufferHeight],\n u_image: 0,\n u_color_ramp: 1,\n u_opacity: i.paint.get(\"heatmap-opacity\")\n };\n }(e, i), i.id, e.viewportBuffer, e.quadTriangleIndexBuffer, e.viewportSegments, i.paint, e.transform.zoom);\n }\n }(e, o));\n },\n line: function (e, i, o, r) {\n if (\"translucent\" === e.renderPass) {\n var a = o.paint.get(\"line-opacity\"),\n n = o.paint.get(\"line-width\");\n if (0 !== a.constantOr(1) && 0 !== n.constantOr(1)) for (var s = e.depthModeForSublayer(0, It.ReadOnly), l = e.colorModeForRenderPass(), c = o.paint.get(\"line-dasharray\"), u = o.paint.get(\"line-pattern\"), h = u.constantOr(1), p = o.paint.get(\"line-gradient\"), d = o.getCrossfadeParameters(), _ = h ? \"linePattern\" : c ? \"lineSDF\" : p ? \"lineGradient\" : \"line\", f = e.context, m = f.gl, g = !0, v = 0, y = r; v < y.length; v += 1) {\n var x = y[v],\n b = i.getTile(x);\n if (!h || b.patternsLoaded()) {\n var w = b.getBucket(o);\n if (w) {\n var T = w.programConfigurations.get(o.id),\n E = e.context.program.get(),\n I = e.useProgram(_, T),\n P = g || I.program !== E,\n S = u.constantOr(null);\n if (S && b.imageAtlas) {\n var C = b.imageAtlas,\n z = C.patternPositions[S.to.toString()],\n D = C.patternPositions[S.from.toString()];\n z && D && T.setConstantPatternPositions(z, D);\n }\n var A = h ? Oi(e, b, o, d) : c ? Fi(e, b, o, c, d) : p ? Bi(e, b, o, w.lineClipsArray.length) : ki(e, b, o);\n if (h) f.activeTexture.set(m.TEXTURE0), b.imageAtlasTexture.bind(m.LINEAR, m.CLAMP_TO_EDGE), T.updatePaintBuffers(d);else if (c && (P || e.lineAtlas.dirty)) f.activeTexture.set(m.TEXTURE0), e.lineAtlas.bind(f);else if (p) {\n var M = w.gradients[o.id],\n L = M.texture;\n if (o.gradientVersion !== M.version) {\n var R = 256;\n if (o.stepInterpolant) {\n var k = i.getSource().maxzoom,\n B = x.canonical.z === k ? Math.ceil(1 << e.transform.maxZoom - x.canonical.z) : 1;\n R = t.clamp(t.nextPowerOfTwo(w.maxLineLength / t.EXTENT * 1024 * B), 256, f.maxTextureSize);\n }\n M.gradient = t.renderColorRamp({\n expression: o.gradientExpression(),\n evaluationKey: \"lineProgress\",\n resolution: R,\n image: M.gradient || void 0,\n clips: w.lineClipsArray\n }), M.texture ? M.texture.update(M.gradient) : M.texture = new t.Texture(f, M.gradient, m.RGBA), M.version = o.gradientVersion, L = M.texture;\n }\n f.activeTexture.set(m.TEXTURE0), L.bind(o.stepInterpolant ? m.NEAREST : m.LINEAR, m.CLAMP_TO_EDGE);\n }\n I.draw(f, m.TRIANGLES, s, e.stencilModeForClipping(x), l, Ct.disabled, A, o.id, w.layoutVertexBuffer, w.indexBuffer, w.segments, o.paint, e.transform.zoom, T, w.layoutVertexBuffer2), g = !1;\n }\n }\n }\n }\n },\n fill: function (e, i, o, r) {\n var a = o.paint.get(\"fill-color\"),\n n = o.paint.get(\"fill-opacity\");\n if (0 !== n.constantOr(1)) {\n var s = e.colorModeForRenderPass(),\n l = o.paint.get(\"fill-pattern\"),\n c = e.opaquePassEnabledForLayer() && !l.constantOr(1) && 1 === a.constantOr(t.Color.transparent).a && 1 === n.constantOr(0) ? \"opaque\" : \"translucent\";\n if (e.renderPass === c) {\n var u = e.depthModeForSublayer(1, \"opaque\" === e.renderPass ? It.ReadWrite : It.ReadOnly);\n oo(e, i, o, r, u, s, !1);\n }\n if (\"translucent\" === e.renderPass && o.paint.get(\"fill-antialias\")) {\n var h = e.depthModeForSublayer(o.getPaintProperty(\"fill-outline-color\") ? 2 : 0, It.ReadOnly);\n oo(e, i, o, r, h, s, !0);\n }\n }\n },\n \"fill-extrusion\": function (t, e, i, o) {\n var r = i.paint.get(\"fill-extrusion-opacity\");\n if (0 !== r && \"translucent\" === t.renderPass) {\n var a = new It(t.context.gl.LEQUAL, It.ReadWrite, t.depthRangeFor3D);\n if (1 !== r || i.paint.get(\"fill-extrusion-pattern\").constantOr(1)) ro(t, e, i, o, a, Pt.disabled, St.disabled), ro(t, e, i, o, a, t.stencilModeFor3D(), t.colorModeForRenderPass());else {\n var n = t.colorModeForRenderPass();\n ro(t, e, i, o, a, Pt.disabled, n);\n }\n }\n },\n hillshade: function (t, e, i, o) {\n if (\"offscreen\" === t.renderPass || \"translucent\" === t.renderPass) {\n for (var r = t.context, a = t.depthModeForSublayer(0, It.ReadOnly), n = t.colorModeForRenderPass(), s = \"translucent\" === t.renderPass ? t.stencilConfigForOverlap(o) : [{}, o], l = s[0], c = 0, u = s[1]; c < u.length; c += 1) {\n var h = u[c],\n p = e.getTile(h);\n p.needsHillshadePrepare && \"offscreen\" === t.renderPass ? no(t, p, i, a, Pt.disabled, n) : \"translucent\" === t.renderPass && ao(t, p, i, a, l[h.overscaledZ], n);\n }\n r.viewport.set([0, 0, t.width, t.height]);\n }\n },\n raster: function (t, e, i, o) {\n if (\"translucent\" === t.renderPass && 0 !== i.paint.get(\"raster-opacity\") && o.length) for (var r = t.context, a = r.gl, n = e.getSource(), s = t.useProgram(\"raster\"), l = t.colorModeForRenderPass(), c = n instanceof M ? [{}, o] : t.stencilConfigForOverlap(o), u = c[0], h = c[1], p = h[h.length - 1].overscaledZ, d = !t.options.moving, _ = 0, f = h; _ < f.length; _ += 1) {\n var m = f[_],\n g = t.depthModeForSublayer(m.overscaledZ - p, 1 === i.paint.get(\"raster-opacity\") ? It.ReadWrite : It.ReadOnly, a.LESS),\n v = e.getTile(m),\n y = t.transform.calculatePosMatrix(m.toUnwrapped(), d);\n v.registerFadeDuration(i.paint.get(\"raster-fade-duration\"));\n var x = e.findLoadedParent(m, 0),\n b = so(v, x, e, i, t.transform),\n w = void 0,\n T = void 0,\n E = \"nearest\" === i.paint.get(\"raster-resampling\") ? a.NEAREST : a.LINEAR;\n r.activeTexture.set(a.TEXTURE0), v.texture.bind(E, a.CLAMP_TO_EDGE, a.LINEAR_MIPMAP_NEAREST), r.activeTexture.set(a.TEXTURE1), x ? (x.texture.bind(E, a.CLAMP_TO_EDGE, a.LINEAR_MIPMAP_NEAREST), w = Math.pow(2, x.tileID.overscaledZ - v.tileID.overscaledZ), T = [v.tileID.canonical.x * w % 1, v.tileID.canonical.y * w % 1]) : v.texture.bind(E, a.CLAMP_TO_EDGE, a.LINEAR_MIPMAP_NEAREST);\n var I = Zi(y, T || [0, 0], w || 1, b, i);\n n instanceof M ? s.draw(r, a.TRIANGLES, g, Pt.disabled, l, Ct.disabled, I, i.id, n.boundsBuffer, t.quadTriangleIndexBuffer, n.boundsSegments) : s.draw(r, a.TRIANGLES, g, u[m.overscaledZ], l, Ct.disabled, I, i.id, t.rasterBoundsBuffer, t.quadTriangleIndexBuffer, t.rasterBoundsSegments);\n }\n },\n background: function (t, e, i) {\n var o = i.paint.get(\"background-color\"),\n r = i.paint.get(\"background-opacity\");\n if (0 !== r) {\n var a = t.context,\n n = a.gl,\n s = t.transform,\n l = s.tileSize,\n c = i.paint.get(\"background-pattern\");\n if (!t.isPatternMissing(c)) {\n var u = !c && 1 === o.a && 1 === r && t.opaquePassEnabledForLayer() ? \"opaque\" : \"translucent\";\n if (t.renderPass === u) {\n var h = Pt.disabled,\n p = t.depthModeForSublayer(0, \"opaque\" === u ? It.ReadWrite : It.ReadOnly),\n d = t.colorModeForRenderPass(),\n _ = t.useProgram(c ? \"backgroundPattern\" : \"background\"),\n f = s.coveringTiles({\n tileSize: l\n });\n c && (a.activeTexture.set(n.TEXTURE0), t.imageManager.bind(t.context));\n for (var m = i.getCrossfadeParameters(), g = 0, v = f; g < v.length; g += 1) {\n var y = v[g],\n x = t.transform.calculatePosMatrix(y.toUnwrapped()),\n b = c ? Hi(x, r, t, c, {\n tileID: y,\n tileSize: l\n }, m) : Xi(x, r, o);\n _.draw(a, n.TRIANGLES, p, h, d, Ct.disabled, b, i.id, t.tileExtentBuffer, t.quadTriangleIndexBuffer, t.tileExtentSegments);\n }\n }\n }\n }\n },\n debug: function (t, e, i) {\n for (var o = 0; o < i.length; o++) go(t, e, i[o]);\n },\n custom: function (t, e, i) {\n var o = t.context,\n r = i.implementation;\n if (\"offscreen\" === t.renderPass) {\n var a = r.prerender;\n a && (t.setCustomLayerDefaults(), o.setColorMode(t.colorModeForRenderPass()), a.call(r, o.gl, t.transform.customLayerMatrix()), o.setDirty(), t.setBaseState());\n } else if (\"translucent\" === t.renderPass) {\n t.setCustomLayerDefaults(), o.setColorMode(t.colorModeForRenderPass()), o.setStencilMode(Pt.disabled);\n var n = \"3d\" === r.renderingMode ? new It(t.context.gl.LEQUAL, It.ReadWrite, t.depthRangeFor3D) : t.depthModeForSublayer(0, It.ReadOnly);\n o.setDepthMode(n), r.render(o.gl, t.transform.customLayerMatrix()), o.setDirty(), t.setBaseState(), o.bindFramebuffer.set(null);\n }\n }\n },\n yo = function (t, e) {\n this.context = new zt(t), this.transform = e, this._tileTextures = {}, this.setup(), this.numSublayers = Dt.maxUnderzooming + Dt.maxOverzooming + 1, this.depthEpsilon = 1 / Math.pow(2, 16), this.crossTileSymbolIndex = new Fe(), this.gpuTimers = {};\n };\n yo.prototype.resize = function (e, i) {\n if (this.width = e * t.browser.devicePixelRatio, this.height = i * t.browser.devicePixelRatio, this.context.viewport.set([0, 0, this.width, this.height]), this.style) for (var o = 0, r = this.style._order; o < r.length; o += 1) this.style._layers[r[o]].resize();\n }, yo.prototype.setup = function () {\n var e = this.context,\n i = new t.StructArrayLayout2i4();\n i.emplaceBack(0, 0), i.emplaceBack(t.EXTENT, 0), i.emplaceBack(0, t.EXTENT), i.emplaceBack(t.EXTENT, t.EXTENT), this.tileExtentBuffer = e.createVertexBuffer(i, Ve.members), this.tileExtentSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2);\n var o = new t.StructArrayLayout2i4();\n o.emplaceBack(0, 0), o.emplaceBack(t.EXTENT, 0), o.emplaceBack(0, t.EXTENT), o.emplaceBack(t.EXTENT, t.EXTENT), this.debugBuffer = e.createVertexBuffer(o, Ve.members), this.debugSegments = t.SegmentVector.simpleSegment(0, 0, 4, 5);\n var r = new t.StructArrayLayout4i8();\n r.emplaceBack(0, 0, 0, 0), r.emplaceBack(t.EXTENT, 0, t.EXTENT, 0), r.emplaceBack(0, t.EXTENT, 0, t.EXTENT), r.emplaceBack(t.EXTENT, t.EXTENT, t.EXTENT, t.EXTENT), this.rasterBoundsBuffer = e.createVertexBuffer(r, A.members), this.rasterBoundsSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2);\n var a = new t.StructArrayLayout2i4();\n a.emplaceBack(0, 0), a.emplaceBack(1, 0), a.emplaceBack(0, 1), a.emplaceBack(1, 1), this.viewportBuffer = e.createVertexBuffer(a, Ve.members), this.viewportSegments = t.SegmentVector.simpleSegment(0, 0, 4, 2);\n var n = new t.StructArrayLayout1ui2();\n n.emplaceBack(0), n.emplaceBack(1), n.emplaceBack(3), n.emplaceBack(2), n.emplaceBack(0), this.tileBorderIndexBuffer = e.createIndexBuffer(n);\n var s = new t.StructArrayLayout3ui6();\n s.emplaceBack(0, 1, 2), s.emplaceBack(2, 1, 3), this.quadTriangleIndexBuffer = e.createIndexBuffer(s), this.emptyTexture = new t.Texture(e, {\n width: 1,\n height: 1,\n data: new Uint8Array([0, 0, 0, 0])\n }, e.gl.RGBA);\n var l = this.context.gl;\n this.stencilClearMode = new Pt({\n func: l.ALWAYS,\n mask: 0\n }, 0, 255, l.ZERO, l.ZERO, l.ZERO);\n }, yo.prototype.clearStencil = function () {\n var e = this.context,\n i = e.gl;\n this.nextStencilID = 1, this.currentStencilSource = void 0;\n var o = t.create();\n t.ortho(o, 0, this.width, this.height, 0, 0, 1), t.scale(o, o, [i.drawingBufferWidth, i.drawingBufferHeight, 0]), this.useProgram(\"clippingMask\").draw(e, i.TRIANGLES, It.disabled, this.stencilClearMode, St.disabled, Ct.disabled, Li(o), \"$clipping\", this.viewportBuffer, this.quadTriangleIndexBuffer, this.viewportSegments);\n }, yo.prototype._renderTileClippingMasks = function (t, e) {\n if (this.currentStencilSource !== t.source && t.isTileClipped() && e && e.length) {\n this.currentStencilSource = t.source;\n var i = this.context,\n o = i.gl;\n this.nextStencilID + e.length > 256 && this.clearStencil(), i.setColorMode(St.disabled), i.setDepthMode(It.disabled);\n var r = this.useProgram(\"clippingMask\");\n this._tileClippingMaskIDs = {};\n for (var a = 0, n = e; a < n.length; a += 1) {\n var s = n[a],\n l = this._tileClippingMaskIDs[s.key] = this.nextStencilID++;\n r.draw(i, o.TRIANGLES, It.disabled, new Pt({\n func: o.ALWAYS,\n mask: 0\n }, l, 255, o.KEEP, o.KEEP, o.REPLACE), St.disabled, Ct.disabled, Li(s.posMatrix), \"$clipping\", this.tileExtentBuffer, this.quadTriangleIndexBuffer, this.tileExtentSegments);\n }\n }\n }, yo.prototype.stencilModeFor3D = function () {\n this.currentStencilSource = void 0, this.nextStencilID + 1 > 256 && this.clearStencil();\n var t = this.nextStencilID++,\n e = this.context.gl;\n return new Pt({\n func: e.NOTEQUAL,\n mask: 255\n }, t, 255, e.KEEP, e.KEEP, e.REPLACE);\n }, yo.prototype.stencilModeForClipping = function (t) {\n var e = this.context.gl;\n return new Pt({\n func: e.EQUAL,\n mask: 255\n }, this._tileClippingMaskIDs[t.key], 0, e.KEEP, e.KEEP, e.REPLACE);\n }, yo.prototype.stencilConfigForOverlap = function (t) {\n var e,\n i = this.context.gl,\n o = t.sort(function (t, e) {\n return e.overscaledZ - t.overscaledZ;\n }),\n r = o[o.length - 1].overscaledZ,\n a = o[0].overscaledZ - r + 1;\n if (a > 1) {\n this.currentStencilSource = void 0, this.nextStencilID + a > 256 && this.clearStencil();\n for (var n = {}, s = 0; s < a; s++) n[s + r] = new Pt({\n func: i.GEQUAL,\n mask: 255\n }, s + this.nextStencilID, 255, i.KEEP, i.KEEP, i.REPLACE);\n return this.nextStencilID += a, [n, o];\n }\n return [(e = {}, e[r] = Pt.disabled, e), o];\n }, yo.prototype.colorModeForRenderPass = function () {\n var e = this.context.gl;\n return this._showOverdrawInspector ? new St([e.CONSTANT_COLOR, e.ONE], new t.Color(1 / 8, 1 / 8, 1 / 8, 0), [!0, !0, !0, !0]) : \"opaque\" === this.renderPass ? St.unblended : St.alphaBlended;\n }, yo.prototype.depthModeForSublayer = function (t, e, i) {\n if (!this.opaquePassEnabledForLayer()) return It.disabled;\n var o = 1 - ((1 + this.currentLayer) * this.numSublayers + t) * this.depthEpsilon;\n return new It(i || this.context.gl.LEQUAL, e, [o, o]);\n }, yo.prototype.opaquePassEnabledForLayer = function () {\n return this.currentLayer < this.opaquePassCutoff;\n }, yo.prototype.render = function (e, i) {\n var o = this;\n this.style = e, this.options = i, this.lineAtlas = e.lineAtlas, this.imageManager = e.imageManager, this.glyphManager = e.glyphManager, this.symbolFadeChange = e.placement.symbolFadeChange(t.browser.now()), this.imageManager.beginFrame();\n var r = this.style._order,\n a = this.style.sourceCaches;\n for (var n in a) {\n var s = a[n];\n s.used && s.prepare(this.context);\n }\n var l,\n c,\n u = {},\n h = {},\n p = {};\n for (var d in a) {\n var _ = a[d];\n u[d] = _.getVisibleCoordinates(), h[d] = u[d].slice().reverse(), p[d] = _.getVisibleCoordinates(!0).reverse();\n }\n this.opaquePassCutoff = 1 / 0;\n for (var f = 0; f < r.length; f++) if (this.style._layers[r[f]].is3D()) {\n this.opaquePassCutoff = f;\n break;\n }\n this.renderPass = \"offscreen\";\n for (var m = 0, g = r; m < g.length; m += 1) {\n var v = this.style._layers[g[m]];\n if (v.hasOffscreenPass() && !v.isHidden(this.transform.zoom)) {\n var y = h[v.source];\n (\"custom\" === v.type || y.length) && this.renderLayer(this, a[v.source], v, y);\n }\n }\n for (this.context.bindFramebuffer.set(null), this.context.clear({\n color: i.showOverdrawInspector ? t.Color.black : t.Color.transparent,\n depth: 1\n }), this.clearStencil(), this._showOverdrawInspector = i.showOverdrawInspector, this.depthRangeFor3D = [0, 1 - (e._order.length + 2) * this.numSublayers * this.depthEpsilon], this.renderPass = \"opaque\", this.currentLayer = r.length - 1; this.currentLayer >= 0; this.currentLayer--) {\n var x = this.style._layers[r[this.currentLayer]],\n b = a[x.source],\n w = u[x.source];\n this._renderTileClippingMasks(x, w), this.renderLayer(this, b, x, w);\n }\n for (this.renderPass = \"translucent\", this.currentLayer = 0; this.currentLayer < r.length; this.currentLayer++) {\n var T = this.style._layers[r[this.currentLayer]],\n E = a[T.source],\n I = (\"symbol\" === T.type ? p : h)[T.source];\n this._renderTileClippingMasks(T, u[T.source]), this.renderLayer(this, E, T, I);\n }\n this.options.showTileBoundaries && (t.values(this.style._layers).forEach(function (t) {\n t.source && !t.isHidden(o.transform.zoom) && (t.source !== (c && c.id) && (c = o.style.sourceCaches[t.source]), (!l || l.getSource().maxzoom < c.getSource().maxzoom) && (l = c));\n }), l && vo.debug(this, l, l.getVisibleCoordinates())), this.options.showPadding && function (t) {\n var e = t.transform.padding;\n _o(t, t.transform.height - (e.top || 0), 3, lo), _o(t, e.bottom || 0, 3, co), fo(t, e.left || 0, 3, uo), fo(t, t.transform.width - (e.right || 0), 3, ho);\n var i = t.transform.centerPoint;\n !function (t, e, i, o) {\n mo(t, e - 1, i - 10, 2, 20, o), mo(t, e - 10, i - 1, 20, 2, o);\n }(t, i.x, t.transform.height - i.y, po);\n }(this), this.context.setDefault();\n }, yo.prototype.renderLayer = function (t, e, i, o) {\n i.isHidden(this.transform.zoom) || (\"background\" === i.type || \"custom\" === i.type || o.length) && (this.id = i.id, this.gpuTimingStart(i), vo[i.type](t, e, i, o, this.style.placement.variableOffsets), this.gpuTimingEnd());\n }, yo.prototype.gpuTimingStart = function (t) {\n if (this.options.gpuTiming) {\n var e = this.context.extTimerQuery,\n i = this.gpuTimers[t.id];\n i || (i = this.gpuTimers[t.id] = {\n calls: 0,\n cpuTime: 0,\n query: e.createQueryEXT()\n }), i.calls++, e.beginQueryEXT(e.TIME_ELAPSED_EXT, i.query);\n }\n }, yo.prototype.gpuTimingEnd = function () {\n if (this.options.gpuTiming) {\n var t = this.context.extTimerQuery;\n t.endQueryEXT(t.TIME_ELAPSED_EXT);\n }\n }, yo.prototype.collectGpuTimers = function () {\n var t = this.gpuTimers;\n return this.gpuTimers = {}, t;\n }, yo.prototype.queryGpuTimers = function (t) {\n var e = {};\n for (var i in t) {\n var o = t[i],\n r = this.context.extTimerQuery,\n a = r.getQueryObjectEXT(o.query, r.QUERY_RESULT_EXT) / 1e6;\n r.deleteQueryEXT(o.query), e[i] = a;\n }\n return e;\n }, yo.prototype.translatePosMatrix = function (e, i, o, r, a) {\n if (!o[0] && !o[1]) return e;\n var n = a ? \"map\" === r ? this.transform.angle : 0 : \"viewport\" === r ? -this.transform.angle : 0;\n if (n) {\n var s = Math.sin(n),\n l = Math.cos(n);\n o = [o[0] * l - o[1] * s, o[0] * s + o[1] * l];\n }\n var c = [a ? o[0] : pe(i, o[0], this.transform.zoom), a ? o[1] : pe(i, o[1], this.transform.zoom), 0],\n u = new Float32Array(16);\n return t.translate(u, e, c), u;\n }, yo.prototype.saveTileTexture = function (t) {\n var e = this._tileTextures[t.size[0]];\n e ? e.push(t) : this._tileTextures[t.size[0]] = [t];\n }, yo.prototype.getTileTexture = function (t) {\n var e = this._tileTextures[t];\n return e && e.length > 0 ? e.pop() : null;\n }, yo.prototype.isPatternMissing = function (t) {\n if (!t) return !1;\n if (!t.from || !t.to) return !0;\n var e = this.imageManager.getPattern(t.from.toString()),\n i = this.imageManager.getPattern(t.to.toString());\n return !e || !i;\n }, yo.prototype.useProgram = function (t, e) {\n this.cache = this.cache || {};\n var i = \"\" + t + (e ? e.cacheKey : \"\") + (this._showOverdrawInspector ? \"/overdraw\" : \"\");\n return this.cache[i] || (this.cache[i] = new bi(this.context, t, vi[t], e, Ki[t], this._showOverdrawInspector)), this.cache[i];\n }, yo.prototype.setCustomLayerDefaults = function () {\n this.context.unbindVAO(), this.context.cullFace.setDefault(), this.context.activeTexture.setDefault(), this.context.pixelStoreUnpack.setDefault(), this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(), this.context.pixelStoreUnpackFlipY.setDefault();\n }, yo.prototype.setBaseState = function () {\n var t = this.context.gl;\n this.context.cullFace.set(!1), this.context.viewport.set([0, 0, this.width, this.height]), this.context.blendEquation.set(t.FUNC_ADD);\n }, yo.prototype.initDebugOverlayCanvas = function () {\n null == this.debugOverlayCanvas && (this.debugOverlayCanvas = t.window.document.createElement(\"canvas\"), this.debugOverlayCanvas.width = 512, this.debugOverlayCanvas.height = 512, this.debugOverlayTexture = new t.Texture(this.context, this.debugOverlayCanvas, this.context.gl.RGBA));\n }, yo.prototype.destroy = function () {\n this.emptyTexture.destroy(), this.debugOverlayTexture && this.debugOverlayTexture.destroy();\n };\n var xo = function (t, e) {\n this.points = t, this.planes = e;\n };\n xo.fromInvProjectionMatrix = function (e, i, o) {\n var r = Math.pow(2, o),\n a = [[-1, 1, -1, 1], [1, 1, -1, 1], [1, -1, -1, 1], [-1, -1, -1, 1], [-1, 1, 1, 1], [1, 1, 1, 1], [1, -1, 1, 1], [-1, -1, 1, 1]].map(function (i) {\n return t.transformMat4([], i, e);\n }).map(function (e) {\n return t.scale$1([], e, 1 / e[3] / i * r);\n }),\n n = [[0, 1, 2], [6, 5, 4], [0, 3, 7], [2, 1, 5], [3, 2, 6], [0, 4, 5]].map(function (e) {\n var i = t.sub([], a[e[0]], a[e[1]]),\n o = t.sub([], a[e[2]], a[e[1]]),\n r = t.normalize([], t.cross([], i, o)),\n n = -t.dot(r, a[e[1]]);\n return r.concat(n);\n });\n return new xo(a, n);\n };\n var bo = function (e, i) {\n this.min = e, this.max = i, this.center = t.scale$2([], t.add([], this.min, this.max), .5);\n };\n bo.prototype.quadrant = function (e) {\n for (var i = [e % 2 == 0, e < 2], o = t.clone$2(this.min), r = t.clone$2(this.max), a = 0; a < i.length; a++) o[a] = i[a] ? this.min[a] : this.center[a], r[a] = i[a] ? this.center[a] : this.max[a];\n return r[2] = this.max[2], new bo(o, r);\n }, bo.prototype.distanceX = function (t) {\n return Math.max(Math.min(this.max[0], t[0]), this.min[0]) - t[0];\n }, bo.prototype.distanceY = function (t) {\n return Math.max(Math.min(this.max[1], t[1]), this.min[1]) - t[1];\n }, bo.prototype.intersects = function (e) {\n for (var i = [[this.min[0], this.min[1], 0, 1], [this.max[0], this.min[1], 0, 1], [this.max[0], this.max[1], 0, 1], [this.min[0], this.max[1], 0, 1]], o = !0, r = 0; r < e.planes.length; r++) {\n for (var a = e.planes[r], n = 0, s = 0; s < i.length; s++) n += t.dot$1(a, i[s]) >= 0;\n if (0 === n) return 0;\n n !== i.length && (o = !1);\n }\n if (o) return 2;\n for (var l = 0; l < 3; l++) {\n for (var c = Number.MAX_VALUE, u = -Number.MAX_VALUE, h = 0; h < e.points.length; h++) {\n var p = e.points[h][l] - this.min[l];\n c = Math.min(c, p), u = Math.max(u, p);\n }\n if (u < 0 || c > this.max[l] - this.min[l]) return 0;\n }\n return 1;\n };\n var wo = function (t, e, i, o) {\n if (void 0 === t && (t = 0), void 0 === e && (e = 0), void 0 === i && (i = 0), void 0 === o && (o = 0), isNaN(t) || t < 0 || isNaN(e) || e < 0 || isNaN(i) || i < 0 || isNaN(o) || o < 0) throw new Error(\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\");\n this.top = t, this.bottom = e, this.left = i, this.right = o;\n };\n wo.prototype.interpolate = function (e, i, o) {\n return null != i.top && null != e.top && (this.top = t.number(e.top, i.top, o)), null != i.bottom && null != e.bottom && (this.bottom = t.number(e.bottom, i.bottom, o)), null != i.left && null != e.left && (this.left = t.number(e.left, i.left, o)), null != i.right && null != e.right && (this.right = t.number(e.right, i.right, o)), this;\n }, wo.prototype.getCenter = function (e, i) {\n var o = t.clamp((this.left + e - this.right) / 2, 0, e),\n r = t.clamp((this.top + i - this.bottom) / 2, 0, i);\n return new t.Point(o, r);\n }, wo.prototype.equals = function (t) {\n return this.top === t.top && this.bottom === t.bottom && this.left === t.left && this.right === t.right;\n }, wo.prototype.clone = function () {\n return new wo(this.top, this.bottom, this.left, this.right);\n }, wo.prototype.toJSON = function () {\n return {\n top: this.top,\n bottom: this.bottom,\n left: this.left,\n right: this.right\n };\n };\n var To = function (e, i, o, r, a) {\n this.tileSize = 512, this.maxValidLatitude = 85.051129, this._renderWorldCopies = void 0 === a || a, this._minZoom = e || 0, this._maxZoom = i || 22, this._minPitch = null == o ? 0 : o, this._maxPitch = null == r ? 60 : r, this.setMaxBounds(), this.width = 0, this.height = 0, this._center = new t.LngLat(0, 0), this.zoom = 0, this.angle = 0, this._fov = .6435011087932844, this._pitch = 0, this._unmodified = !0, this._edgeInsets = new wo(), this._posMatrixCache = {}, this._alignedPosMatrixCache = {};\n },\n Eo = {\n minZoom: {\n configurable: !0\n },\n maxZoom: {\n configurable: !0\n },\n minPitch: {\n configurable: !0\n },\n maxPitch: {\n configurable: !0\n },\n renderWorldCopies: {\n configurable: !0\n },\n worldSize: {\n configurable: !0\n },\n centerOffset: {\n configurable: !0\n },\n size: {\n configurable: !0\n },\n bearing: {\n configurable: !0\n },\n pitch: {\n configurable: !0\n },\n fov: {\n configurable: !0\n },\n zoom: {\n configurable: !0\n },\n center: {\n configurable: !0\n },\n padding: {\n configurable: !0\n },\n centerPoint: {\n configurable: !0\n },\n unmodified: {\n configurable: !0\n },\n point: {\n configurable: !0\n }\n };\n To.prototype.clone = function () {\n var t = new To(this._minZoom, this._maxZoom, this._minPitch, this.maxPitch, this._renderWorldCopies);\n return t.tileSize = this.tileSize, t.latRange = this.latRange, t.width = this.width, t.height = this.height, t._center = this._center, t.zoom = this.zoom, t.angle = this.angle, t._fov = this._fov, t._pitch = this._pitch, t._unmodified = this._unmodified, t._edgeInsets = this._edgeInsets.clone(), t._calcMatrices(), t;\n }, Eo.minZoom.get = function () {\n return this._minZoom;\n }, Eo.minZoom.set = function (t) {\n this._minZoom !== t && (this._minZoom = t, this.zoom = Math.max(this.zoom, t));\n }, Eo.maxZoom.get = function () {\n return this._maxZoom;\n }, Eo.maxZoom.set = function (t) {\n this._maxZoom !== t && (this._maxZoom = t, this.zoom = Math.min(this.zoom, t));\n }, Eo.minPitch.get = function () {\n return this._minPitch;\n }, Eo.minPitch.set = function (t) {\n this._minPitch !== t && (this._minPitch = t, this.pitch = Math.max(this.pitch, t));\n }, Eo.maxPitch.get = function () {\n return this._maxPitch;\n }, Eo.maxPitch.set = function (t) {\n this._maxPitch !== t && (this._maxPitch = t, this.pitch = Math.min(this.pitch, t));\n }, Eo.renderWorldCopies.get = function () {\n return this._renderWorldCopies;\n }, Eo.renderWorldCopies.set = function (t) {\n void 0 === t ? t = !0 : null === t && (t = !1), this._renderWorldCopies = t;\n }, Eo.worldSize.get = function () {\n return this.tileSize * this.scale;\n }, Eo.centerOffset.get = function () {\n return this.centerPoint._sub(this.size._div(2));\n }, Eo.size.get = function () {\n return new t.Point(this.width, this.height);\n }, Eo.bearing.get = function () {\n return -this.angle / Math.PI * 180;\n }, Eo.bearing.set = function (e) {\n var i = -t.wrap(e, -180, 180) * Math.PI / 180;\n this.angle !== i && (this._unmodified = !1, this.angle = i, this._calcMatrices(), this.rotationMatrix = t.create$2(), t.rotate(this.rotationMatrix, this.rotationMatrix, this.angle));\n }, Eo.pitch.get = function () {\n return this._pitch / Math.PI * 180;\n }, Eo.pitch.set = function (e) {\n var i = t.clamp(e, this.minPitch, this.maxPitch) / 180 * Math.PI;\n this._pitch !== i && (this._unmodified = !1, this._pitch = i, this._calcMatrices());\n }, Eo.fov.get = function () {\n return this._fov / Math.PI * 180;\n }, Eo.fov.set = function (t) {\n t = Math.max(.01, Math.min(60, t)), this._fov !== t && (this._unmodified = !1, this._fov = t / 180 * Math.PI, this._calcMatrices());\n }, Eo.zoom.get = function () {\n return this._zoom;\n }, Eo.zoom.set = function (t) {\n var e = Math.min(Math.max(t, this.minZoom), this.maxZoom);\n this._zoom !== e && (this._unmodified = !1, this._zoom = e, this.scale = this.zoomScale(e), this.tileZoom = Math.floor(e), this.zoomFraction = e - this.tileZoom, this._constrain(), this._calcMatrices());\n }, Eo.center.get = function () {\n return this._center;\n }, Eo.center.set = function (t) {\n t.lat === this._center.lat && t.lng === this._center.lng || (this._unmodified = !1, this._center = t, this._constrain(), this._calcMatrices());\n }, Eo.padding.get = function () {\n return this._edgeInsets.toJSON();\n }, Eo.padding.set = function (t) {\n this._edgeInsets.equals(t) || (this._unmodified = !1, this._edgeInsets.interpolate(this._edgeInsets, t, 1), this._calcMatrices());\n }, Eo.centerPoint.get = function () {\n return this._edgeInsets.getCenter(this.width, this.height);\n }, To.prototype.isPaddingEqual = function (t) {\n return this._edgeInsets.equals(t);\n }, To.prototype.interpolatePadding = function (t, e, i) {\n this._unmodified = !1, this._edgeInsets.interpolate(t, e, i), this._constrain(), this._calcMatrices();\n }, To.prototype.coveringZoomLevel = function (t) {\n var e = (t.roundZoom ? Math.round : Math.floor)(this.zoom + this.scaleZoom(this.tileSize / t.tileSize));\n return Math.max(0, e);\n }, To.prototype.getVisibleUnwrappedCoordinates = function (e) {\n var i = [new t.UnwrappedTileID(0, e)];\n if (this._renderWorldCopies) for (var o = this.pointCoordinate(new t.Point(0, 0)), r = this.pointCoordinate(new t.Point(this.width, 0)), a = this.pointCoordinate(new t.Point(this.width, this.height)), n = this.pointCoordinate(new t.Point(0, this.height)), s = Math.floor(Math.min(o.x, r.x, a.x, n.x)), l = Math.floor(Math.max(o.x, r.x, a.x, n.x)), c = s - 1; c <= l + 1; c++) 0 !== c && i.push(new t.UnwrappedTileID(c, e));\n return i;\n }, To.prototype.coveringTiles = function (e) {\n var i = this.coveringZoomLevel(e),\n o = i;\n if (void 0 !== e.minzoom && i < e.minzoom) return [];\n void 0 !== e.maxzoom && i > e.maxzoom && (i = e.maxzoom);\n var r = t.MercatorCoordinate.fromLngLat(this.center),\n a = Math.pow(2, i),\n n = [a * r.x, a * r.y, 0],\n s = xo.fromInvProjectionMatrix(this.invProjMatrix, this.worldSize, i),\n l = e.minzoom || 0;\n this.pitch <= 60 && this._edgeInsets.top < .1 && (l = i);\n var c = function (t) {\n return {\n aabb: new bo([t * a, 0, 0], [(t + 1) * a, a, 0]),\n zoom: 0,\n x: 0,\n y: 0,\n wrap: t,\n fullyVisible: !1\n };\n },\n u = [],\n h = [],\n p = i,\n d = e.reparseOverscaled ? o : i;\n if (this._renderWorldCopies) for (var _ = 1; _ <= 3; _++) u.push(c(-_)), u.push(c(_));\n for (u.push(c(0)); u.length > 0;) {\n var f = u.pop(),\n m = f.x,\n g = f.y,\n v = f.fullyVisible;\n if (!v) {\n var y = f.aabb.intersects(s);\n if (0 === y) continue;\n v = 2 === y;\n }\n var x = f.aabb.distanceX(n),\n b = f.aabb.distanceY(n),\n w = Math.max(Math.abs(x), Math.abs(b));\n if (f.zoom === p || w > 3 + (1 << p - f.zoom) - 2 && f.zoom >= l) h.push({\n tileID: new t.OverscaledTileID(f.zoom === p ? d : f.zoom, f.wrap, f.zoom, m, g),\n distanceSq: t.sqrLen([n[0] - .5 - m, n[1] - .5 - g])\n });else for (var T = 0; T < 4; T++) {\n var E = (m << 1) + T % 2,\n I = (g << 1) + (T >> 1);\n u.push({\n aabb: f.aabb.quadrant(T),\n zoom: f.zoom + 1,\n x: E,\n y: I,\n wrap: f.wrap,\n fullyVisible: v\n });\n }\n }\n return h.sort(function (t, e) {\n return t.distanceSq - e.distanceSq;\n }).map(function (t) {\n return t.tileID;\n });\n }, To.prototype.resize = function (t, e) {\n this.width = t, this.height = e, this.pixelsToGLUnits = [2 / t, -2 / e], this._constrain(), this._calcMatrices();\n }, Eo.unmodified.get = function () {\n return this._unmodified;\n }, To.prototype.zoomScale = function (t) {\n return Math.pow(2, t);\n }, To.prototype.scaleZoom = function (t) {\n return Math.log(t) / Math.LN2;\n }, To.prototype.project = function (e) {\n var i = t.clamp(e.lat, -this.maxValidLatitude, this.maxValidLatitude);\n return new t.Point(t.mercatorXfromLng(e.lng) * this.worldSize, t.mercatorYfromLat(i) * this.worldSize);\n }, To.prototype.unproject = function (e) {\n return new t.MercatorCoordinate(e.x / this.worldSize, e.y / this.worldSize).toLngLat();\n }, Eo.point.get = function () {\n return this.project(this.center);\n }, To.prototype.setLocationAtPoint = function (e, i) {\n var o = this.pointCoordinate(i),\n r = this.pointCoordinate(this.centerPoint),\n a = this.locationCoordinate(e),\n n = new t.MercatorCoordinate(a.x - (o.x - r.x), a.y - (o.y - r.y));\n this.center = this.coordinateLocation(n), this._renderWorldCopies && (this.center = this.center.wrap());\n }, To.prototype.locationPoint = function (t) {\n return this.coordinatePoint(this.locationCoordinate(t));\n }, To.prototype.pointLocation = function (t) {\n return this.coordinateLocation(this.pointCoordinate(t));\n }, To.prototype.locationCoordinate = function (e) {\n return t.MercatorCoordinate.fromLngLat(e);\n }, To.prototype.coordinateLocation = function (t) {\n return t.toLngLat();\n }, To.prototype.pointCoordinate = function (e) {\n var i = [e.x, e.y, 0, 1],\n o = [e.x, e.y, 1, 1];\n t.transformMat4(i, i, this.pixelMatrixInverse), t.transformMat4(o, o, this.pixelMatrixInverse);\n var r = i[3],\n a = o[3],\n n = i[1] / r,\n s = o[1] / a,\n l = i[2] / r,\n c = o[2] / a,\n u = l === c ? 0 : (0 - l) / (c - l);\n return new t.MercatorCoordinate(t.number(i[0] / r, o[0] / a, u) / this.worldSize, t.number(n, s, u) / this.worldSize);\n }, To.prototype.coordinatePoint = function (e) {\n var i = [e.x * this.worldSize, e.y * this.worldSize, 0, 1];\n return t.transformMat4(i, i, this.pixelMatrix), new t.Point(i[0] / i[3], i[1] / i[3]);\n }, To.prototype.getBounds = function () {\n return new t.LngLatBounds().extend(this.pointLocation(new t.Point(0, 0))).extend(this.pointLocation(new t.Point(this.width, 0))).extend(this.pointLocation(new t.Point(this.width, this.height))).extend(this.pointLocation(new t.Point(0, this.height)));\n }, To.prototype.getMaxBounds = function () {\n return this.latRange && 2 === this.latRange.length && this.lngRange && 2 === this.lngRange.length ? new t.LngLatBounds([this.lngRange[0], this.latRange[0]], [this.lngRange[1], this.latRange[1]]) : null;\n }, To.prototype.setMaxBounds = function (t) {\n t ? (this.lngRange = [t.getWest(), t.getEast()], this.latRange = [t.getSouth(), t.getNorth()], this._constrain()) : (this.lngRange = null, this.latRange = [-this.maxValidLatitude, this.maxValidLatitude]);\n }, To.prototype.calculatePosMatrix = function (e, i) {\n void 0 === i && (i = !1);\n var o = e.key,\n r = i ? this._alignedPosMatrixCache : this._posMatrixCache;\n if (r[o]) return r[o];\n var a = e.canonical,\n n = this.worldSize / this.zoomScale(a.z),\n s = a.x + Math.pow(2, a.z) * e.wrap,\n l = t.identity(new Float64Array(16));\n return t.translate(l, l, [s * n, a.y * n, 0]), t.scale(l, l, [n / t.EXTENT, n / t.EXTENT, 1]), t.multiply(l, i ? this.alignedProjMatrix : this.projMatrix, l), r[o] = new Float32Array(l), r[o];\n }, To.prototype.customLayerMatrix = function () {\n return this.mercatorMatrix.slice();\n }, To.prototype._constrain = function () {\n if (this.center && this.width && this.height && !this._constraining) {\n this._constraining = !0;\n var e,\n i,\n o,\n r,\n a = -90,\n n = 90,\n s = -180,\n l = 180,\n c = this.size,\n u = this._unmodified;\n if (this.latRange) {\n var h = this.latRange;\n a = t.mercatorYfromLat(h[1]) * this.worldSize, e = (n = t.mercatorYfromLat(h[0]) * this.worldSize) - a < c.y ? c.y / (n - a) : 0;\n }\n if (this.lngRange) {\n var p = this.lngRange;\n s = t.mercatorXfromLng(p[0]) * this.worldSize, i = (l = t.mercatorXfromLng(p[1]) * this.worldSize) - s < c.x ? c.x / (l - s) : 0;\n }\n var d = this.point,\n _ = Math.max(i || 0, e || 0);\n if (_) return this.center = this.unproject(new t.Point(i ? (l + s) / 2 : d.x, e ? (n + a) / 2 : d.y)), this.zoom += this.scaleZoom(_), this._unmodified = u, void (this._constraining = !1);\n if (this.latRange) {\n var f = d.y,\n m = c.y / 2;\n f - m < a && (r = a + m), f + m > n && (r = n - m);\n }\n if (this.lngRange) {\n var g = d.x,\n v = c.x / 2;\n g - v < s && (o = s + v), g + v > l && (o = l - v);\n }\n void 0 === o && void 0 === r || (this.center = this.unproject(new t.Point(void 0 !== o ? o : d.x, void 0 !== r ? r : d.y))), this._unmodified = u, this._constraining = !1;\n }\n }, To.prototype._calcMatrices = function () {\n if (this.height) {\n var e = this.centerOffset;\n this.cameraToCenterDistance = .5 / Math.tan(this._fov / 2) * this.height;\n var i = Math.PI / 2 + this._pitch,\n o = this._fov * (.5 + e.y / this.height),\n r = Math.sin(o) * this.cameraToCenterDistance / Math.sin(t.clamp(Math.PI - i - o, .01, Math.PI - .01)),\n a = this.point,\n n = a.x,\n s = a.y,\n l = 1.01 * (Math.cos(Math.PI / 2 - this._pitch) * r + this.cameraToCenterDistance),\n c = this.height / 50,\n u = new Float64Array(16);\n t.perspective(u, this._fov, this.width / this.height, c, l), u[8] = 2 * -e.x / this.width, u[9] = 2 * e.y / this.height, t.scale(u, u, [1, -1, 1]), t.translate(u, u, [0, 0, -this.cameraToCenterDistance]), t.rotateX(u, u, this._pitch), t.rotateZ(u, u, this.angle), t.translate(u, u, [-n, -s, 0]), this.mercatorMatrix = t.scale([], u, [this.worldSize, this.worldSize, this.worldSize]), t.scale(u, u, [1, 1, t.mercatorZfromAltitude(1, this.center.lat) * this.worldSize, 1]), this.projMatrix = u, this.invProjMatrix = t.invert([], this.projMatrix);\n var h = this.width % 2 / 2,\n p = this.height % 2 / 2,\n d = Math.cos(this.angle),\n _ = Math.sin(this.angle),\n f = n - Math.round(n) + d * h + _ * p,\n m = s - Math.round(s) + d * p + _ * h,\n g = new Float64Array(u);\n if (t.translate(g, g, [f > .5 ? f - 1 : f, m > .5 ? m - 1 : m, 0]), this.alignedProjMatrix = g, u = t.create(), t.scale(u, u, [this.width / 2, -this.height / 2, 1]), t.translate(u, u, [1, -1, 0]), this.labelPlaneMatrix = u, u = t.create(), t.scale(u, u, [1, -1, 1]), t.translate(u, u, [-1, -1, 0]), t.scale(u, u, [2 / this.width, 2 / this.height, 1]), this.glCoordMatrix = u, this.pixelMatrix = t.multiply(new Float64Array(16), this.labelPlaneMatrix, this.projMatrix), !(u = t.invert(new Float64Array(16), this.pixelMatrix))) throw new Error(\"failed to invert matrix\");\n this.pixelMatrixInverse = u, this._posMatrixCache = {}, this._alignedPosMatrixCache = {};\n }\n }, To.prototype.maxPitchScaleFactor = function () {\n if (!this.pixelMatrixInverse) return 1;\n var e = this.pointCoordinate(new t.Point(0, 0)),\n i = [e.x * this.worldSize, e.y * this.worldSize, 0, 1];\n return t.transformMat4(i, i, this.pixelMatrix)[3] / this.cameraToCenterDistance;\n }, To.prototype.getCameraPoint = function () {\n var e = Math.tan(this._pitch) * (this.cameraToCenterDistance || 1);\n return this.centerPoint.add(new t.Point(0, e));\n }, To.prototype.getCameraQueryGeometry = function (e) {\n var i = this.getCameraPoint();\n if (1 === e.length) return [e[0], i];\n for (var o = i.x, r = i.y, a = i.x, n = i.y, s = 0, l = e; s < l.length; s += 1) {\n var c = l[s];\n o = Math.min(o, c.x), r = Math.min(r, c.y), a = Math.max(a, c.x), n = Math.max(n, c.y);\n }\n return [new t.Point(o, r), new t.Point(a, r), new t.Point(a, n), new t.Point(o, n), new t.Point(o, r)];\n }, Object.defineProperties(To.prototype, Eo);\n var Io = function (e) {\n var i, o, r, a;\n this._hashName = e && encodeURIComponent(e), t.bindAll([\"_getCurrentHash\", \"_onHashChange\", \"_updateHash\"], this), this._updateHash = (i = this._updateHashUnthrottled.bind(this), o = !1, r = null, a = function () {\n r = null, o && (i(), r = setTimeout(a, 300), o = !1);\n }, function () {\n return o = !0, r || a(), r;\n });\n };\n Io.prototype.addTo = function (e) {\n return this._map = e, t.window.addEventListener(\"hashchange\", this._onHashChange, !1), this._map.on(\"moveend\", this._updateHash), this;\n }, Io.prototype.remove = function () {\n return t.window.removeEventListener(\"hashchange\", this._onHashChange, !1), this._map.off(\"moveend\", this._updateHash), clearTimeout(this._updateHash()), delete this._map, this;\n }, Io.prototype.getHashString = function (e) {\n var i = this._map.getCenter(),\n o = Math.round(100 * this._map.getZoom()) / 100,\n r = Math.ceil((o * Math.LN2 + Math.log(512 / 360 / .5)) / Math.LN10),\n a = Math.pow(10, r),\n n = Math.round(i.lng * a) / a,\n s = Math.round(i.lat * a) / a,\n l = this._map.getBearing(),\n c = this._map.getPitch(),\n u = \"\";\n if (u += e ? \"/\" + n + \"/\" + s + \"/\" + o : o + \"/\" + s + \"/\" + n, (l || c) && (u += \"/\" + Math.round(10 * l) / 10), c && (u += \"/\" + Math.round(c)), this._hashName) {\n var h = this._hashName,\n p = !1,\n d = t.window.location.hash.slice(1).split(\"&\").map(function (t) {\n var e = t.split(\"=\")[0];\n return e === h ? (p = !0, e + \"=\" + u) : t;\n }).filter(function (t) {\n return t;\n });\n return p || d.push(h + \"=\" + u), \"#\" + d.join(\"&\");\n }\n return \"#\" + u;\n }, Io.prototype._getCurrentHash = function () {\n var e,\n i = this,\n o = t.window.location.hash.replace(\"#\", \"\");\n return this._hashName ? (o.split(\"&\").map(function (t) {\n return t.split(\"=\");\n }).forEach(function (t) {\n t[0] === i._hashName && (e = t);\n }), (e && e[1] || \"\").split(\"/\")) : o.split(\"/\");\n }, Io.prototype._onHashChange = function () {\n var t = this._getCurrentHash();\n if (t.length >= 3 && !t.some(function (t) {\n return isNaN(t);\n })) {\n var e = this._map.dragRotate.isEnabled() && this._map.touchZoomRotate.isEnabled() ? +(t[3] || 0) : this._map.getBearing();\n return this._map.jumpTo({\n center: [+t[2], +t[1]],\n zoom: +t[0],\n bearing: e,\n pitch: +(t[4] || 0)\n }), !0;\n }\n return !1;\n }, Io.prototype._updateHashUnthrottled = function () {\n var e = t.window.location.href.replace(/(#.+)?$/, this.getHashString());\n try {\n t.window.history.replaceState(t.window.history.state, null, e);\n } catch (t) {}\n };\n var Po = {\n linearity: .3,\n easing: t.bezier(0, 0, .3, 1)\n },\n So = t.extend({\n deceleration: 2500,\n maxSpeed: 1400\n }, Po),\n Co = t.extend({\n deceleration: 20,\n maxSpeed: 1400\n }, Po),\n zo = t.extend({\n deceleration: 1e3,\n maxSpeed: 360\n }, Po),\n Do = t.extend({\n deceleration: 1e3,\n maxSpeed: 90\n }, Po),\n Ao = function (t) {\n this._map = t, this.clear();\n };\n function Mo(t, e) {\n (!t.duration || t.duration < e.duration) && (t.duration = e.duration, t.easing = e.easing);\n }\n function Lo(e, i, o) {\n var r = o.maxSpeed,\n a = o.linearity,\n n = o.deceleration,\n s = t.clamp(e * a / (i / 1e3), -r, r),\n l = Math.abs(s) / (n * a);\n return {\n easing: o.easing,\n duration: 1e3 * l,\n amount: s * (l / 2)\n };\n }\n Ao.prototype.clear = function () {\n this._inertiaBuffer = [];\n }, Ao.prototype.record = function (e) {\n this._drainInertiaBuffer(), this._inertiaBuffer.push({\n time: t.browser.now(),\n settings: e\n });\n }, Ao.prototype._drainInertiaBuffer = function () {\n for (var e = this._inertiaBuffer, i = t.browser.now(); e.length > 0 && i - e[0].time > 160;) e.shift();\n }, Ao.prototype._onMoveEnd = function (e) {\n if (this._drainInertiaBuffer(), !(this._inertiaBuffer.length < 2)) {\n for (var i = {\n zoom: 0,\n bearing: 0,\n pitch: 0,\n pan: new t.Point(0, 0),\n pinchAround: void 0,\n around: void 0\n }, o = 0, r = this._inertiaBuffer; o < r.length; o += 1) {\n var a = r[o].settings;\n i.zoom += a.zoomDelta || 0, i.bearing += a.bearingDelta || 0, i.pitch += a.pitchDelta || 0, a.panDelta && i.pan._add(a.panDelta), a.around && (i.around = a.around), a.pinchAround && (i.pinchAround = a.pinchAround);\n }\n var n = this._inertiaBuffer[this._inertiaBuffer.length - 1].time - this._inertiaBuffer[0].time,\n s = {};\n if (i.pan.mag()) {\n var l = Lo(i.pan.mag(), n, t.extend({}, So, e || {}));\n s.offset = i.pan.mult(l.amount / i.pan.mag()), s.center = this._map.transform.center, Mo(s, l);\n }\n if (i.zoom) {\n var c = Lo(i.zoom, n, Co);\n s.zoom = this._map.transform.zoom + c.amount, Mo(s, c);\n }\n if (i.bearing) {\n var u = Lo(i.bearing, n, zo);\n s.bearing = this._map.transform.bearing + t.clamp(u.amount, -179, 179), Mo(s, u);\n }\n if (i.pitch) {\n var h = Lo(i.pitch, n, Do);\n s.pitch = this._map.transform.pitch + h.amount, Mo(s, h);\n }\n if (s.zoom || s.bearing) {\n var p = void 0 === i.pinchAround ? i.around : i.pinchAround;\n s.around = p ? this._map.unproject(p) : this._map.getCenter();\n }\n return this.clear(), t.extend(s, {\n noMoveStart: !0\n });\n }\n };\n var Ro = function (e) {\n function o(o, r, a, n) {\n void 0 === n && (n = {});\n var s = i.mousePos(r.getCanvasContainer(), a),\n l = r.unproject(s);\n e.call(this, o, t.extend({\n point: s,\n lngLat: l,\n originalEvent: a\n }, n)), this._defaultPrevented = !1, this.target = r;\n }\n e && (o.__proto__ = e), (o.prototype = Object.create(e && e.prototype)).constructor = o;\n var r = {\n defaultPrevented: {\n configurable: !0\n }\n };\n return o.prototype.preventDefault = function () {\n this._defaultPrevented = !0;\n }, r.defaultPrevented.get = function () {\n return this._defaultPrevented;\n }, Object.defineProperties(o.prototype, r), o;\n }(t.Event),\n ko = function (e) {\n function o(o, r, a) {\n var n = \"touchend\" === o ? a.changedTouches : a.touches,\n s = i.touchPos(r.getCanvasContainer(), n),\n l = s.map(function (t) {\n return r.unproject(t);\n }),\n c = s.reduce(function (t, e, i, o) {\n return t.add(e.div(o.length));\n }, new t.Point(0, 0)),\n u = r.unproject(c);\n e.call(this, o, {\n points: s,\n point: c,\n lngLats: l,\n lngLat: u,\n originalEvent: a\n }), this._defaultPrevented = !1;\n }\n e && (o.__proto__ = e), (o.prototype = Object.create(e && e.prototype)).constructor = o;\n var r = {\n defaultPrevented: {\n configurable: !0\n }\n };\n return o.prototype.preventDefault = function () {\n this._defaultPrevented = !0;\n }, r.defaultPrevented.get = function () {\n return this._defaultPrevented;\n }, Object.defineProperties(o.prototype, r), o;\n }(t.Event),\n Bo = function (t) {\n function e(e, i, o) {\n t.call(this, e, {\n originalEvent: o\n }), this._defaultPrevented = !1;\n }\n t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e;\n var i = {\n defaultPrevented: {\n configurable: !0\n }\n };\n return e.prototype.preventDefault = function () {\n this._defaultPrevented = !0;\n }, i.defaultPrevented.get = function () {\n return this._defaultPrevented;\n }, Object.defineProperties(e.prototype, i), e;\n }(t.Event),\n Oo = function (t, e) {\n this._map = t, this._clickTolerance = e.clickTolerance;\n };\n Oo.prototype.reset = function () {\n delete this._mousedownPos;\n }, Oo.prototype.wheel = function (t) {\n return this._firePreventable(new Bo(t.type, this._map, t));\n }, Oo.prototype.mousedown = function (t, e) {\n return this._mousedownPos = e, this._firePreventable(new Ro(t.type, this._map, t));\n }, Oo.prototype.mouseup = function (t) {\n this._map.fire(new Ro(t.type, this._map, t));\n }, Oo.prototype.click = function (t, e) {\n this._mousedownPos && this._mousedownPos.dist(e) >= this._clickTolerance || this._map.fire(new Ro(t.type, this._map, t));\n }, Oo.prototype.dblclick = function (t) {\n return this._firePreventable(new Ro(t.type, this._map, t));\n }, Oo.prototype.mouseover = function (t) {\n this._map.fire(new Ro(t.type, this._map, t));\n }, Oo.prototype.mouseout = function (t) {\n this._map.fire(new Ro(t.type, this._map, t));\n }, Oo.prototype.touchstart = function (t) {\n return this._firePreventable(new ko(t.type, this._map, t));\n }, Oo.prototype.touchmove = function (t) {\n this._map.fire(new ko(t.type, this._map, t));\n }, Oo.prototype.touchend = function (t) {\n this._map.fire(new ko(t.type, this._map, t));\n }, Oo.prototype.touchcancel = function (t) {\n this._map.fire(new ko(t.type, this._map, t));\n }, Oo.prototype._firePreventable = function (t) {\n if (this._map.fire(t), t.defaultPrevented) return {};\n }, Oo.prototype.isEnabled = function () {\n return !0;\n }, Oo.prototype.isActive = function () {\n return !1;\n }, Oo.prototype.enable = function () {}, Oo.prototype.disable = function () {};\n var Fo = function (t) {\n this._map = t;\n };\n Fo.prototype.reset = function () {\n this._delayContextMenu = !1, delete this._contextMenuEvent;\n }, Fo.prototype.mousemove = function (t) {\n this._map.fire(new Ro(t.type, this._map, t));\n }, Fo.prototype.mousedown = function () {\n this._delayContextMenu = !0;\n }, Fo.prototype.mouseup = function () {\n this._delayContextMenu = !1, this._contextMenuEvent && (this._map.fire(new Ro(\"contextmenu\", this._map, this._contextMenuEvent)), delete this._contextMenuEvent);\n }, Fo.prototype.contextmenu = function (t) {\n this._delayContextMenu ? this._contextMenuEvent = t : this._map.fire(new Ro(t.type, this._map, t)), this._map.listens(\"contextmenu\") && t.preventDefault();\n }, Fo.prototype.isEnabled = function () {\n return !0;\n }, Fo.prototype.isActive = function () {\n return !1;\n }, Fo.prototype.enable = function () {}, Fo.prototype.disable = function () {};\n var Uo = function (t, e) {\n this._map = t, this._el = t.getCanvasContainer(), this._container = t.getContainer(), this._clickTolerance = e.clickTolerance || 1;\n };\n function No(t, e) {\n for (var i = {}, o = 0; o < t.length; o++) i[t[o].identifier] = e[o];\n return i;\n }\n Uo.prototype.isEnabled = function () {\n return !!this._enabled;\n }, Uo.prototype.isActive = function () {\n return !!this._active;\n }, Uo.prototype.enable = function () {\n this.isEnabled() || (this._enabled = !0);\n }, Uo.prototype.disable = function () {\n this.isEnabled() && (this._enabled = !1);\n }, Uo.prototype.mousedown = function (t, e) {\n this.isEnabled() && t.shiftKey && 0 === t.button && (i.disableDrag(), this._startPos = this._lastPos = e, this._active = !0);\n }, Uo.prototype.mousemoveWindow = function (t, e) {\n if (this._active) {\n var o = e;\n if (!(this._lastPos.equals(o) || !this._box && o.dist(this._startPos) < this._clickTolerance)) {\n var r = this._startPos;\n this._lastPos = o, this._box || (this._box = i.create(\"div\", \"mapboxgl-boxzoom\", this._container), this._container.classList.add(\"mapboxgl-crosshair\"), this._fireEvent(\"boxzoomstart\", t));\n var a = Math.min(r.x, o.x),\n n = Math.max(r.x, o.x),\n s = Math.min(r.y, o.y),\n l = Math.max(r.y, o.y);\n i.setTransform(this._box, \"translate(\" + a + \"px,\" + s + \"px)\"), this._box.style.width = n - a + \"px\", this._box.style.height = l - s + \"px\";\n }\n }\n }, Uo.prototype.mouseupWindow = function (e, o) {\n var r = this;\n if (this._active && 0 === e.button) {\n var a = this._startPos,\n n = o;\n if (this.reset(), i.suppressClick(), a.x !== n.x || a.y !== n.y) return this._map.fire(new t.Event(\"boxzoomend\", {\n originalEvent: e\n })), {\n cameraAnimation: function (t) {\n return t.fitScreenCoordinates(a, n, r._map.getBearing(), {\n linear: !0\n });\n }\n };\n this._fireEvent(\"boxzoomcancel\", e);\n }\n }, Uo.prototype.keydown = function (t) {\n this._active && 27 === t.keyCode && (this.reset(), this._fireEvent(\"boxzoomcancel\", t));\n }, Uo.prototype.blur = function () {\n this.reset();\n }, Uo.prototype.reset = function () {\n this._active = !1, this._container.classList.remove(\"mapboxgl-crosshair\"), this._box && (i.remove(this._box), this._box = null), i.enableDrag(), delete this._startPos, delete this._lastPos;\n }, Uo.prototype._fireEvent = function (e, i) {\n return this._map.fire(new t.Event(e, {\n originalEvent: i\n }));\n };\n var Zo = function (t) {\n this.reset(), this.numTouches = t.numTouches;\n };\n Zo.prototype.reset = function () {\n delete this.centroid, delete this.startTime, delete this.touches, this.aborted = !1;\n }, Zo.prototype.touchstart = function (e, i, o) {\n (this.centroid || o.length > this.numTouches) && (this.aborted = !0), this.aborted || (void 0 === this.startTime && (this.startTime = e.timeStamp), o.length === this.numTouches && (this.centroid = function (e) {\n for (var i = new t.Point(0, 0), o = 0, r = e; o < r.length; o += 1) i._add(r[o]);\n return i.div(e.length);\n }(i), this.touches = No(o, i)));\n }, Zo.prototype.touchmove = function (t, e, i) {\n if (!this.aborted && this.centroid) {\n var o = No(i, e);\n for (var r in this.touches) {\n var a = o[r];\n (!a || a.dist(this.touches[r]) > 30) && (this.aborted = !0);\n }\n }\n }, Zo.prototype.touchend = function (t, e, i) {\n if ((!this.centroid || t.timeStamp - this.startTime > 500) && (this.aborted = !0), 0 === i.length) {\n var o = !this.aborted && this.centroid;\n if (this.reset(), o) return o;\n }\n };\n var qo = function (t) {\n this.singleTap = new Zo(t), this.numTaps = t.numTaps, this.reset();\n };\n qo.prototype.reset = function () {\n this.lastTime = 1 / 0, delete this.lastTap, this.count = 0, this.singleTap.reset();\n }, qo.prototype.touchstart = function (t, e, i) {\n this.singleTap.touchstart(t, e, i);\n }, qo.prototype.touchmove = function (t, e, i) {\n this.singleTap.touchmove(t, e, i);\n }, qo.prototype.touchend = function (t, e, i) {\n var o = this.singleTap.touchend(t, e, i);\n if (o) {\n var r = t.timeStamp - this.lastTime < 500,\n a = !this.lastTap || this.lastTap.dist(o) < 30;\n if (r && a || this.reset(), this.count++, this.lastTime = t.timeStamp, this.lastTap = o, this.count === this.numTaps) return this.reset(), o;\n }\n };\n var jo = function () {\n this._zoomIn = new qo({\n numTouches: 1,\n numTaps: 2\n }), this._zoomOut = new qo({\n numTouches: 2,\n numTaps: 1\n }), this.reset();\n };\n jo.prototype.reset = function () {\n this._active = !1, this._zoomIn.reset(), this._zoomOut.reset();\n }, jo.prototype.touchstart = function (t, e, i) {\n this._zoomIn.touchstart(t, e, i), this._zoomOut.touchstart(t, e, i);\n }, jo.prototype.touchmove = function (t, e, i) {\n this._zoomIn.touchmove(t, e, i), this._zoomOut.touchmove(t, e, i);\n }, jo.prototype.touchend = function (t, e, i) {\n var o = this,\n r = this._zoomIn.touchend(t, e, i),\n a = this._zoomOut.touchend(t, e, i);\n return r ? (this._active = !0, t.preventDefault(), setTimeout(function () {\n return o.reset();\n }, 0), {\n cameraAnimation: function (e) {\n return e.easeTo({\n duration: 300,\n zoom: e.getZoom() + 1,\n around: e.unproject(r)\n }, {\n originalEvent: t\n });\n }\n }) : a ? (this._active = !0, t.preventDefault(), setTimeout(function () {\n return o.reset();\n }, 0), {\n cameraAnimation: function (e) {\n return e.easeTo({\n duration: 300,\n zoom: e.getZoom() - 1,\n around: e.unproject(a)\n }, {\n originalEvent: t\n });\n }\n }) : void 0;\n }, jo.prototype.touchcancel = function () {\n this.reset();\n }, jo.prototype.enable = function () {\n this._enabled = !0;\n }, jo.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, jo.prototype.isEnabled = function () {\n return this._enabled;\n }, jo.prototype.isActive = function () {\n return this._active;\n };\n var Vo = {\n 0: 1,\n 2: 2\n },\n Go = function (t) {\n this.reset(), this._clickTolerance = t.clickTolerance || 1;\n };\n Go.prototype.blur = function () {\n this.reset();\n }, Go.prototype.reset = function () {\n this._active = !1, this._moved = !1, delete this._lastPoint, delete this._eventButton;\n }, Go.prototype._correctButton = function (t, e) {\n return !1;\n }, Go.prototype._move = function (t, e) {\n return {};\n }, Go.prototype.mousedown = function (t, e) {\n if (!this._lastPoint) {\n var o = i.mouseButton(t);\n this._correctButton(t, o) && (this._lastPoint = e, this._eventButton = o);\n }\n }, Go.prototype.mousemoveWindow = function (t, e) {\n var i = this._lastPoint;\n if (i) if (t.preventDefault(), function (t, e) {\n var i = Vo[e];\n return void 0 === t.buttons || (t.buttons & i) !== i;\n }(t, this._eventButton)) this.reset();else if (this._moved || !(e.dist(i) < this._clickTolerance)) return this._moved = !0, this._lastPoint = e, this._move(i, e);\n }, Go.prototype.mouseupWindow = function (t) {\n this._lastPoint && i.mouseButton(t) === this._eventButton && (this._moved && i.suppressClick(), this.reset());\n }, Go.prototype.enable = function () {\n this._enabled = !0;\n }, Go.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, Go.prototype.isEnabled = function () {\n return this._enabled;\n }, Go.prototype.isActive = function () {\n return this._active;\n };\n var Wo = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.mousedown = function (e, i) {\n t.prototype.mousedown.call(this, e, i), this._lastPoint && (this._active = !0);\n }, e.prototype._correctButton = function (t, e) {\n return 0 === e && !t.ctrlKey;\n }, e.prototype._move = function (t, e) {\n return {\n around: e,\n panDelta: e.sub(t)\n };\n }, e;\n }(Go),\n Xo = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._correctButton = function (t, e) {\n return 0 === e && t.ctrlKey || 2 === e;\n }, e.prototype._move = function (t, e) {\n var i = .8 * (e.x - t.x);\n if (i) return this._active = !0, {\n bearingDelta: i\n };\n }, e.prototype.contextmenu = function (t) {\n t.preventDefault();\n }, e;\n }(Go),\n Ho = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype._correctButton = function (t, e) {\n return 0 === e && t.ctrlKey || 2 === e;\n }, e.prototype._move = function (t, e) {\n var i = -.5 * (e.y - t.y);\n if (i) return this._active = !0, {\n pitchDelta: i\n };\n }, e.prototype.contextmenu = function (t) {\n t.preventDefault();\n }, e;\n }(Go),\n Ko = function (t) {\n this._minTouches = 1, this._clickTolerance = t.clickTolerance || 1, this.reset();\n };\n Ko.prototype.reset = function () {\n this._active = !1, this._touches = {}, this._sum = new t.Point(0, 0);\n }, Ko.prototype.touchstart = function (t, e, i) {\n return this._calculateTransform(t, e, i);\n }, Ko.prototype.touchmove = function (t, e, i) {\n if (this._active && !(i.length < this._minTouches)) return t.preventDefault(), this._calculateTransform(t, e, i);\n }, Ko.prototype.touchend = function (t, e, i) {\n this._calculateTransform(t, e, i), this._active && i.length < this._minTouches && this.reset();\n }, Ko.prototype.touchcancel = function () {\n this.reset();\n }, Ko.prototype._calculateTransform = function (e, i, o) {\n o.length > 0 && (this._active = !0);\n var r = No(o, i),\n a = new t.Point(0, 0),\n n = new t.Point(0, 0),\n s = 0;\n for (var l in r) {\n var c = r[l],\n u = this._touches[l];\n u && (a._add(c), n._add(c.sub(u)), s++, r[l] = c);\n }\n if (this._touches = r, !(s < this._minTouches) && n.mag()) {\n var h = n.div(s);\n if (this._sum._add(h), !(this._sum.mag() < this._clickTolerance)) return {\n around: a.div(s),\n panDelta: h\n };\n }\n }, Ko.prototype.enable = function () {\n this._enabled = !0;\n }, Ko.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, Ko.prototype.isEnabled = function () {\n return this._enabled;\n }, Ko.prototype.isActive = function () {\n return this._active;\n };\n var Yo = function () {\n this.reset();\n };\n function Jo(t, e, i) {\n for (var o = 0; o < t.length; o++) if (t[o].identifier === i) return e[o];\n }\n function Qo(t, e) {\n return Math.log(t / e) / Math.LN2;\n }\n Yo.prototype.reset = function () {\n this._active = !1, delete this._firstTwoTouches;\n }, Yo.prototype._start = function (t) {}, Yo.prototype._move = function (t, e, i) {\n return {};\n }, Yo.prototype.touchstart = function (t, e, i) {\n this._firstTwoTouches || i.length < 2 || (this._firstTwoTouches = [i[0].identifier, i[1].identifier], this._start([e[0], e[1]]));\n }, Yo.prototype.touchmove = function (t, e, i) {\n if (this._firstTwoTouches) {\n t.preventDefault();\n var o = this._firstTwoTouches,\n r = o[1],\n a = Jo(i, e, o[0]),\n n = Jo(i, e, r);\n if (a && n) {\n var s = this._aroundCenter ? null : a.add(n).div(2);\n return this._move([a, n], s, t);\n }\n }\n }, Yo.prototype.touchend = function (t, e, o) {\n if (this._firstTwoTouches) {\n var r = this._firstTwoTouches,\n a = r[1],\n n = Jo(o, e, r[0]),\n s = Jo(o, e, a);\n n && s || (this._active && i.suppressClick(), this.reset());\n }\n }, Yo.prototype.touchcancel = function () {\n this.reset();\n }, Yo.prototype.enable = function (t) {\n this._enabled = !0, this._aroundCenter = !!t && \"center\" === t.around;\n }, Yo.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, Yo.prototype.isEnabled = function () {\n return this._enabled;\n }, Yo.prototype.isActive = function () {\n return this._active;\n };\n var $o = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.reset = function () {\n t.prototype.reset.call(this), delete this._distance, delete this._startDistance;\n }, e.prototype._start = function (t) {\n this._startDistance = this._distance = t[0].dist(t[1]);\n }, e.prototype._move = function (t, e) {\n var i = this._distance;\n if (this._distance = t[0].dist(t[1]), this._active || !(Math.abs(Qo(this._distance, this._startDistance)) < .1)) return this._active = !0, {\n zoomDelta: Qo(this._distance, i),\n pinchAround: e\n };\n }, e;\n }(Yo);\n function tr(t, e) {\n return 180 * t.angleWith(e) / Math.PI;\n }\n var er = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.reset = function () {\n t.prototype.reset.call(this), delete this._minDiameter, delete this._startVector, delete this._vector;\n }, e.prototype._start = function (t) {\n this._startVector = this._vector = t[0].sub(t[1]), this._minDiameter = t[0].dist(t[1]);\n }, e.prototype._move = function (t, e) {\n var i = this._vector;\n if (this._vector = t[0].sub(t[1]), this._active || !this._isBelowThreshold(this._vector)) return this._active = !0, {\n bearingDelta: tr(this._vector, i),\n pinchAround: e\n };\n }, e.prototype._isBelowThreshold = function (t) {\n this._minDiameter = Math.min(this._minDiameter, t.mag());\n var e = 25 / (Math.PI * this._minDiameter) * 360,\n i = tr(t, this._startVector);\n return Math.abs(i) < e;\n }, e;\n }(Yo);\n function ir(t) {\n return Math.abs(t.y) > Math.abs(t.x);\n }\n var or = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e.prototype.reset = function () {\n t.prototype.reset.call(this), this._valid = void 0, delete this._firstMove, delete this._lastPoints;\n }, e.prototype._start = function (t) {\n this._lastPoints = t, ir(t[0].sub(t[1])) && (this._valid = !1);\n }, e.prototype._move = function (t, e, i) {\n var o = t[0].sub(this._lastPoints[0]),\n r = t[1].sub(this._lastPoints[1]);\n if (this._valid = this.gestureBeginsVertically(o, r, i.timeStamp), this._valid) return this._lastPoints = t, this._active = !0, {\n pitchDelta: (o.y + r.y) / 2 * -.5\n };\n }, e.prototype.gestureBeginsVertically = function (t, e, i) {\n if (void 0 !== this._valid) return this._valid;\n var o = t.mag() >= 2,\n r = e.mag() >= 2;\n if (o || r) {\n if (!o || !r) return void 0 === this._firstMove && (this._firstMove = i), i - this._firstMove < 100 && void 0;\n var a = t.y > 0 == e.y > 0;\n return ir(t) && ir(e) && a;\n }\n }, e;\n }(Yo),\n rr = {\n panStep: 100,\n bearingStep: 15,\n pitchStep: 10\n },\n ar = function () {\n var t = rr;\n this._panStep = t.panStep, this._bearingStep = t.bearingStep, this._pitchStep = t.pitchStep, this._rotationDisabled = !1;\n };\n function nr(t) {\n return t * (2 - t);\n }\n ar.prototype.blur = function () {\n this.reset();\n }, ar.prototype.reset = function () {\n this._active = !1;\n }, ar.prototype.keydown = function (t) {\n var e = this;\n if (!(t.altKey || t.ctrlKey || t.metaKey)) {\n var i = 0,\n o = 0,\n r = 0,\n a = 0,\n n = 0;\n switch (t.keyCode) {\n case 61:\n case 107:\n case 171:\n case 187:\n i = 1;\n break;\n case 189:\n case 109:\n case 173:\n i = -1;\n break;\n case 37:\n t.shiftKey ? o = -1 : (t.preventDefault(), a = -1);\n break;\n case 39:\n t.shiftKey ? o = 1 : (t.preventDefault(), a = 1);\n break;\n case 38:\n t.shiftKey ? r = 1 : (t.preventDefault(), n = -1);\n break;\n case 40:\n t.shiftKey ? r = -1 : (t.preventDefault(), n = 1);\n break;\n default:\n return;\n }\n return this._rotationDisabled && (o = 0, r = 0), {\n cameraAnimation: function (s) {\n var l = s.getZoom();\n s.easeTo({\n duration: 300,\n easeId: \"keyboardHandler\",\n easing: nr,\n zoom: i ? Math.round(l) + i * (t.shiftKey ? 2 : 1) : l,\n bearing: s.getBearing() + o * e._bearingStep,\n pitch: s.getPitch() + r * e._pitchStep,\n offset: [-a * e._panStep, -n * e._panStep],\n center: s.getCenter()\n }, {\n originalEvent: t\n });\n }\n };\n }\n }, ar.prototype.enable = function () {\n this._enabled = !0;\n }, ar.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, ar.prototype.isEnabled = function () {\n return this._enabled;\n }, ar.prototype.isActive = function () {\n return this._active;\n }, ar.prototype.disableRotation = function () {\n this._rotationDisabled = !0;\n }, ar.prototype.enableRotation = function () {\n this._rotationDisabled = !1;\n };\n var sr = function (e, i) {\n this._map = e, this._el = e.getCanvasContainer(), this._handler = i, this._delta = 0, this._defaultZoomRate = .01, this._wheelZoomRate = 1 / 450, t.bindAll([\"_onTimeout\"], this);\n };\n sr.prototype.setZoomRate = function (t) {\n this._defaultZoomRate = t;\n }, sr.prototype.setWheelZoomRate = function (t) {\n this._wheelZoomRate = t;\n }, sr.prototype.isEnabled = function () {\n return !!this._enabled;\n }, sr.prototype.isActive = function () {\n return !!this._active || void 0 !== this._finishTimeout;\n }, sr.prototype.isZooming = function () {\n return !!this._zooming;\n }, sr.prototype.enable = function (t) {\n this.isEnabled() || (this._enabled = !0, this._aroundCenter = t && \"center\" === t.around);\n }, sr.prototype.disable = function () {\n this.isEnabled() && (this._enabled = !1);\n }, sr.prototype.wheel = function (e) {\n if (this.isEnabled()) {\n var i = e.deltaMode === t.window.WheelEvent.DOM_DELTA_LINE ? 40 * e.deltaY : e.deltaY,\n o = t.browser.now(),\n r = o - (this._lastWheelEventTime || 0);\n this._lastWheelEventTime = o, 0 !== i && i % 4.000244140625 == 0 ? this._type = \"wheel\" : 0 !== i && Math.abs(i) < 4 ? this._type = \"trackpad\" : r > 400 ? (this._type = null, this._lastValue = i, this._timeout = setTimeout(this._onTimeout, 40, e)) : this._type || (this._type = Math.abs(r * i) < 200 ? \"trackpad\" : \"wheel\", this._timeout && (clearTimeout(this._timeout), this._timeout = null, i += this._lastValue)), e.shiftKey && i && (i /= 4), this._type && (this._lastWheelEvent = e, this._delta -= i, this._active || this._start(e)), e.preventDefault();\n }\n }, sr.prototype._onTimeout = function (t) {\n this._type = \"wheel\", this._delta -= this._lastValue, this._active || this._start(t);\n }, sr.prototype._start = function (e) {\n if (this._delta) {\n this._frameId && (this._frameId = null), this._active = !0, this.isZooming() || (this._zooming = !0), this._finishTimeout && (clearTimeout(this._finishTimeout), delete this._finishTimeout);\n var o = i.mousePos(this._el, e);\n this._around = t.LngLat.convert(this._aroundCenter ? this._map.getCenter() : this._map.unproject(o)), this._aroundPoint = this._map.transform.locationPoint(this._around), this._frameId || (this._frameId = !0, this._handler._triggerRenderFrame());\n }\n }, sr.prototype.renderFrame = function () {\n var e = this;\n if (this._frameId && (this._frameId = null, this.isActive())) {\n var i = this._map.transform;\n if (0 !== this._delta) {\n var o = \"wheel\" === this._type && Math.abs(this._delta) > 4.000244140625 ? this._wheelZoomRate : this._defaultZoomRate,\n r = 2 / (1 + Math.exp(-Math.abs(this._delta * o)));\n this._delta < 0 && 0 !== r && (r = 1 / r);\n var a = \"number\" == typeof this._targetZoom ? i.zoomScale(this._targetZoom) : i.scale;\n this._targetZoom = Math.min(i.maxZoom, Math.max(i.minZoom, i.scaleZoom(a * r))), \"wheel\" === this._type && (this._startZoom = i.zoom, this._easing = this._smoothOutEasing(200)), this._delta = 0;\n }\n var n,\n s = \"number\" == typeof this._targetZoom ? this._targetZoom : i.zoom,\n l = this._startZoom,\n c = this._easing,\n u = !1;\n if (\"wheel\" === this._type && l && c) {\n var h = Math.min((t.browser.now() - this._lastWheelEventTime) / 200, 1),\n p = c(h);\n n = t.number(l, s, p), h < 1 ? this._frameId || (this._frameId = !0) : u = !0;\n } else n = s, u = !0;\n return this._active = !0, u && (this._active = !1, this._finishTimeout = setTimeout(function () {\n e._zooming = !1, e._handler._triggerRenderFrame(), delete e._targetZoom, delete e._finishTimeout;\n }, 200)), {\n noInertia: !0,\n needsRenderFrame: !u,\n zoomDelta: n - i.zoom,\n around: this._aroundPoint,\n originalEvent: this._lastWheelEvent\n };\n }\n }, sr.prototype._smoothOutEasing = function (e) {\n var i = t.ease;\n if (this._prevEase) {\n var o = this._prevEase,\n r = (t.browser.now() - o.start) / o.duration,\n a = o.easing(r + .01) - o.easing(r),\n n = .27 / Math.sqrt(a * a + 1e-4) * .01,\n s = Math.sqrt(.0729 - n * n);\n i = t.bezier(n, s, .25, 1);\n }\n return this._prevEase = {\n start: t.browser.now(),\n duration: e,\n easing: i\n }, i;\n }, sr.prototype.blur = function () {\n this.reset();\n }, sr.prototype.reset = function () {\n this._active = !1;\n };\n var lr = function (t, e) {\n this._clickZoom = t, this._tapZoom = e;\n };\n lr.prototype.enable = function () {\n this._clickZoom.enable(), this._tapZoom.enable();\n }, lr.prototype.disable = function () {\n this._clickZoom.disable(), this._tapZoom.disable();\n }, lr.prototype.isEnabled = function () {\n return this._clickZoom.isEnabled() && this._tapZoom.isEnabled();\n }, lr.prototype.isActive = function () {\n return this._clickZoom.isActive() || this._tapZoom.isActive();\n };\n var cr = function () {\n this.reset();\n };\n cr.prototype.reset = function () {\n this._active = !1;\n }, cr.prototype.blur = function () {\n this.reset();\n }, cr.prototype.dblclick = function (t, e) {\n return t.preventDefault(), {\n cameraAnimation: function (i) {\n i.easeTo({\n duration: 300,\n zoom: i.getZoom() + (t.shiftKey ? -1 : 1),\n around: i.unproject(e)\n }, {\n originalEvent: t\n });\n }\n };\n }, cr.prototype.enable = function () {\n this._enabled = !0;\n }, cr.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, cr.prototype.isEnabled = function () {\n return this._enabled;\n }, cr.prototype.isActive = function () {\n return this._active;\n };\n var ur = function () {\n this._tap = new qo({\n numTouches: 1,\n numTaps: 1\n }), this.reset();\n };\n ur.prototype.reset = function () {\n this._active = !1, delete this._swipePoint, delete this._swipeTouch, delete this._tapTime, this._tap.reset();\n }, ur.prototype.touchstart = function (t, e, i) {\n this._swipePoint || (this._tapTime && t.timeStamp - this._tapTime > 500 && this.reset(), this._tapTime ? i.length > 0 && (this._swipePoint = e[0], this._swipeTouch = i[0].identifier) : this._tap.touchstart(t, e, i));\n }, ur.prototype.touchmove = function (t, e, i) {\n if (this._tapTime) {\n if (this._swipePoint) {\n if (i[0].identifier !== this._swipeTouch) return;\n var o = e[0],\n r = o.y - this._swipePoint.y;\n return this._swipePoint = o, t.preventDefault(), this._active = !0, {\n zoomDelta: r / 128\n };\n }\n } else this._tap.touchmove(t, e, i);\n }, ur.prototype.touchend = function (t, e, i) {\n this._tapTime ? this._swipePoint && 0 === i.length && this.reset() : this._tap.touchend(t, e, i) && (this._tapTime = t.timeStamp);\n }, ur.prototype.touchcancel = function () {\n this.reset();\n }, ur.prototype.enable = function () {\n this._enabled = !0;\n }, ur.prototype.disable = function () {\n this._enabled = !1, this.reset();\n }, ur.prototype.isEnabled = function () {\n return this._enabled;\n }, ur.prototype.isActive = function () {\n return this._active;\n };\n var hr = function (t, e, i) {\n this._el = t, this._mousePan = e, this._touchPan = i;\n };\n hr.prototype.enable = function (t) {\n this._inertiaOptions = t || {}, this._mousePan.enable(), this._touchPan.enable(), this._el.classList.add(\"mapboxgl-touch-drag-pan\");\n }, hr.prototype.disable = function () {\n this._mousePan.disable(), this._touchPan.disable(), this._el.classList.remove(\"mapboxgl-touch-drag-pan\");\n }, hr.prototype.isEnabled = function () {\n return this._mousePan.isEnabled() && this._touchPan.isEnabled();\n }, hr.prototype.isActive = function () {\n return this._mousePan.isActive() || this._touchPan.isActive();\n };\n var pr = function (t, e, i) {\n this._pitchWithRotate = t.pitchWithRotate, this._mouseRotate = e, this._mousePitch = i;\n };\n pr.prototype.enable = function () {\n this._mouseRotate.enable(), this._pitchWithRotate && this._mousePitch.enable();\n }, pr.prototype.disable = function () {\n this._mouseRotate.disable(), this._mousePitch.disable();\n }, pr.prototype.isEnabled = function () {\n return this._mouseRotate.isEnabled() && (!this._pitchWithRotate || this._mousePitch.isEnabled());\n }, pr.prototype.isActive = function () {\n return this._mouseRotate.isActive() || this._mousePitch.isActive();\n };\n var dr = function (t, e, i, o) {\n this._el = t, this._touchZoom = e, this._touchRotate = i, this._tapDragZoom = o, this._rotationDisabled = !1, this._enabled = !0;\n };\n dr.prototype.enable = function (t) {\n this._touchZoom.enable(t), this._rotationDisabled || this._touchRotate.enable(t), this._tapDragZoom.enable(), this._el.classList.add(\"mapboxgl-touch-zoom-rotate\");\n }, dr.prototype.disable = function () {\n this._touchZoom.disable(), this._touchRotate.disable(), this._tapDragZoom.disable(), this._el.classList.remove(\"mapboxgl-touch-zoom-rotate\");\n }, dr.prototype.isEnabled = function () {\n return this._touchZoom.isEnabled() && (this._rotationDisabled || this._touchRotate.isEnabled()) && this._tapDragZoom.isEnabled();\n }, dr.prototype.isActive = function () {\n return this._touchZoom.isActive() || this._touchRotate.isActive() || this._tapDragZoom.isActive();\n }, dr.prototype.disableRotation = function () {\n this._rotationDisabled = !0, this._touchRotate.disable();\n }, dr.prototype.enableRotation = function () {\n this._rotationDisabled = !1, this._touchZoom.isEnabled() && this._touchRotate.enable();\n };\n var _r = function (t) {\n return t.zoom || t.drag || t.pitch || t.rotate;\n },\n fr = function (t) {\n function e() {\n t.apply(this, arguments);\n }\n return t && (e.__proto__ = t), (e.prototype = Object.create(t && t.prototype)).constructor = e, e;\n }(t.Event);\n function mr(t) {\n return t.panDelta && t.panDelta.mag() || t.zoomDelta || t.bearingDelta || t.pitchDelta;\n }\n var gr = function (e, o) {\n this._map = e, this._el = this._map.getCanvasContainer(), this._handlers = [], this._handlersById = {}, this._changes = [], this._inertia = new Ao(e), this._bearingSnap = o.bearingSnap, this._previousActiveHandlers = {}, this._eventsInProgress = {}, this._addDefaultHandlers(o), t.bindAll([\"handleEvent\", \"handleWindowEvent\"], this);\n var r = this._el;\n this._listeners = [[r, \"touchstart\", {\n passive: !0\n }], [r, \"touchmove\", {\n passive: !1\n }], [r, \"touchend\", void 0], [r, \"touchcancel\", void 0], [r, \"mousedown\", void 0], [r, \"mousemove\", void 0], [r, \"mouseup\", void 0], [t.window.document, \"mousemove\", {\n capture: !0\n }], [t.window.document, \"mouseup\", void 0], [r, \"mouseover\", void 0], [r, \"mouseout\", void 0], [r, \"dblclick\", void 0], [r, \"click\", void 0], [r, \"keydown\", {\n capture: !1\n }], [r, \"keyup\", void 0], [r, \"wheel\", {\n passive: !1\n }], [r, \"contextmenu\", void 0], [t.window, \"blur\", void 0]];\n for (var a = 0, n = this._listeners; a < n.length; a += 1) {\n var s = n[a],\n l = s[0];\n i.addEventListener(l, s[1], l === t.window.document ? this.handleWindowEvent : this.handleEvent, s[2]);\n }\n };\n gr.prototype.destroy = function () {\n for (var e = 0, o = this._listeners; e < o.length; e += 1) {\n var r = o[e],\n a = r[0];\n i.removeEventListener(a, r[1], a === t.window.document ? this.handleWindowEvent : this.handleEvent, r[2]);\n }\n }, gr.prototype._addDefaultHandlers = function (t) {\n var e = this._map,\n i = e.getCanvasContainer();\n this._add(\"mapEvent\", new Oo(e, t));\n var o = e.boxZoom = new Uo(e, t);\n this._add(\"boxZoom\", o);\n var r = new jo(),\n a = new cr();\n e.doubleClickZoom = new lr(a, r), this._add(\"tapZoom\", r), this._add(\"clickZoom\", a);\n var n = new ur();\n this._add(\"tapDragZoom\", n);\n var s = e.touchPitch = new or();\n this._add(\"touchPitch\", s);\n var l = new Xo(t),\n c = new Ho(t);\n e.dragRotate = new pr(t, l, c), this._add(\"mouseRotate\", l, [\"mousePitch\"]), this._add(\"mousePitch\", c, [\"mouseRotate\"]);\n var u = new Wo(t),\n h = new Ko(t);\n e.dragPan = new hr(i, u, h), this._add(\"mousePan\", u), this._add(\"touchPan\", h, [\"touchZoom\", \"touchRotate\"]);\n var p = new er(),\n d = new $o();\n e.touchZoomRotate = new dr(i, d, p, n), this._add(\"touchRotate\", p, [\"touchPan\", \"touchZoom\"]), this._add(\"touchZoom\", d, [\"touchPan\", \"touchRotate\"]);\n var _ = e.scrollZoom = new sr(e, this);\n this._add(\"scrollZoom\", _, [\"mousePan\"]);\n var f = e.keyboard = new ar();\n this._add(\"keyboard\", f), this._add(\"blockableMapEvent\", new Fo(e));\n for (var m = 0, g = [\"boxZoom\", \"doubleClickZoom\", \"tapDragZoom\", \"touchPitch\", \"dragRotate\", \"dragPan\", \"touchZoomRotate\", \"scrollZoom\", \"keyboard\"]; m < g.length; m += 1) {\n var v = g[m];\n t.interactive && t[v] && e[v].enable(t[v]);\n }\n }, gr.prototype._add = function (t, e, i) {\n this._handlers.push({\n handlerName: t,\n handler: e,\n allowed: i\n }), this._handlersById[t] = e;\n }, gr.prototype.stop = function (t) {\n if (!this._updatingCamera) {\n for (var e = 0, i = this._handlers; e < i.length; e += 1) i[e].handler.reset();\n this._inertia.clear(), this._fireEvents({}, {}, t), this._changes = [];\n }\n }, gr.prototype.isActive = function () {\n for (var t = 0, e = this._handlers; t < e.length; t += 1) if (e[t].handler.isActive()) return !0;\n return !1;\n }, gr.prototype.isZooming = function () {\n return !!this._eventsInProgress.zoom || this._map.scrollZoom.isZooming();\n }, gr.prototype.isRotating = function () {\n return !!this._eventsInProgress.rotate;\n }, gr.prototype.isMoving = function () {\n return Boolean(_r(this._eventsInProgress)) || this.isZooming();\n }, gr.prototype._blockedByActive = function (t, e, i) {\n for (var o in t) if (o !== i && (!e || e.indexOf(o) < 0)) return !0;\n return !1;\n }, gr.prototype.handleWindowEvent = function (t) {\n this.handleEvent(t, t.type + \"Window\");\n }, gr.prototype._getMapTouches = function (t) {\n for (var e = [], i = 0, o = t; i < o.length; i += 1) {\n var r = o[i];\n this._el.contains(r.target) && e.push(r);\n }\n return e;\n }, gr.prototype.handleEvent = function (t, e) {\n this._updatingCamera = !0;\n for (var o = \"renderFrame\" === t.type ? void 0 : t, r = {\n needsRenderFrame: !1\n }, a = {}, n = {}, s = t.touches ? this._getMapTouches(t.touches) : void 0, l = s ? i.touchPos(this._el, s) : i.mousePos(this._el, t), c = 0, u = this._handlers; c < u.length; c += 1) {\n var h = u[c],\n p = h.handlerName,\n d = h.handler,\n _ = h.allowed;\n if (d.isEnabled()) {\n var f = void 0;\n this._blockedByActive(n, _, p) ? d.reset() : d[e || t.type] && (f = d[e || t.type](t, l, s), this.mergeHandlerResult(r, a, f, p, o), f && f.needsRenderFrame && this._triggerRenderFrame()), (f || d.isActive()) && (n[p] = d);\n }\n }\n var m = {};\n for (var g in this._previousActiveHandlers) n[g] || (m[g] = o);\n this._previousActiveHandlers = n, (Object.keys(m).length || mr(r)) && (this._changes.push([r, a, m]), this._triggerRenderFrame()), (Object.keys(n).length || mr(r)) && this._map._stop(!0), this._updatingCamera = !1;\n var v = r.cameraAnimation;\n v && (this._inertia.clear(), this._fireEvents({}, {}, !0), this._changes = [], v(this._map));\n }, gr.prototype.mergeHandlerResult = function (e, i, o, r, a) {\n if (o) {\n t.extend(e, o);\n var n = {\n handlerName: r,\n originalEvent: o.originalEvent || a\n };\n void 0 !== o.zoomDelta && (i.zoom = n), void 0 !== o.panDelta && (i.drag = n), void 0 !== o.pitchDelta && (i.pitch = n), void 0 !== o.bearingDelta && (i.rotate = n);\n }\n }, gr.prototype._applyChanges = function () {\n for (var e = {}, i = {}, o = {}, r = 0, a = this._changes; r < a.length; r += 1) {\n var n = a[r],\n s = n[0],\n l = n[1],\n c = n[2];\n s.panDelta && (e.panDelta = (e.panDelta || new t.Point(0, 0))._add(s.panDelta)), s.zoomDelta && (e.zoomDelta = (e.zoomDelta || 0) + s.zoomDelta), s.bearingDelta && (e.bearingDelta = (e.bearingDelta || 0) + s.bearingDelta), s.pitchDelta && (e.pitchDelta = (e.pitchDelta || 0) + s.pitchDelta), void 0 !== s.around && (e.around = s.around), void 0 !== s.pinchAround && (e.pinchAround = s.pinchAround), s.noInertia && (e.noInertia = s.noInertia), t.extend(i, l), t.extend(o, c);\n }\n this._updateMapTransform(e, i, o), this._changes = [];\n }, gr.prototype._updateMapTransform = function (t, e, i) {\n var o = this._map,\n r = o.transform;\n if (!mr(t)) return this._fireEvents(e, i, !0);\n var a = t.panDelta,\n n = t.zoomDelta,\n s = t.bearingDelta,\n l = t.pitchDelta,\n c = t.around,\n u = t.pinchAround;\n void 0 !== u && (c = u), o._stop(!0), c = c || o.transform.centerPoint;\n var h = r.pointLocation(a ? c.sub(a) : c);\n s && (r.bearing += s), l && (r.pitch += l), n && (r.zoom += n), r.setLocationAtPoint(h, c), this._map._update(), t.noInertia || this._inertia.record(t), this._fireEvents(e, i, !0);\n }, gr.prototype._fireEvents = function (e, i, o) {\n var r = this,\n a = _r(this._eventsInProgress),\n n = _r(e),\n s = {};\n for (var l in e) this._eventsInProgress[l] || (s[l + \"start\"] = e[l].originalEvent), this._eventsInProgress[l] = e[l];\n for (var c in !a && n && this._fireEvent(\"movestart\", n.originalEvent), s) this._fireEvent(c, s[c]);\n for (var u in n && this._fireEvent(\"move\", n.originalEvent), e) this._fireEvent(u, e[u].originalEvent);\n var h,\n p = {};\n for (var d in this._eventsInProgress) {\n var _ = this._eventsInProgress[d],\n f = _.handlerName,\n m = _.originalEvent;\n this._handlersById[f].isActive() || (delete this._eventsInProgress[d], p[d + \"end\"] = h = i[f] || m);\n }\n for (var g in p) this._fireEvent(g, p[g]);\n var v = _r(this._eventsInProgress);\n if (o && (a || n) && !v) {\n this._updatingCamera = !0;\n var y = this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),\n x = function (t) {\n return 0 !== t && -r._bearingSnap < t && t < r._bearingSnap;\n };\n y ? (x(y.bearing || this._map.getBearing()) && (y.bearing = 0), this._map.easeTo(y, {\n originalEvent: h\n })) : (this._map.fire(new t.Event(\"moveend\", {\n originalEvent: h\n })), x(this._map.getBearing()) && this._map.resetNorth()), this._updatingCamera = !1;\n }\n }, gr.prototype._fireEvent = function (e, i) {\n this._map.fire(new t.Event(e, i ? {\n originalEvent: i\n } : {}));\n }, gr.prototype._requestFrame = function () {\n var t = this;\n return this._map.triggerRepaint(), this._map._renderTaskQueue.add(function (e) {\n delete t._frameId, t.handleEvent(new fr(\"renderFrame\", {\n timeStamp: e\n })), t._applyChanges();\n });\n }, gr.prototype._triggerRenderFrame = function () {\n void 0 === this._frameId && (this._frameId = this._requestFrame());\n };\n var vr = function (e) {\n function i(i, o) {\n e.call(this), this._moving = !1, this._zooming = !1, this.transform = i, this._bearingSnap = o.bearingSnap, t.bindAll([\"_renderFrameCallback\"], this);\n }\n return e && (i.__proto__ = e), (i.prototype = Object.create(e && e.prototype)).constructor = i, i.prototype.getCenter = function () {\n return new t.LngLat(this.transform.center.lng, this.transform.center.lat);\n }, i.prototype.setCenter = function (t, e) {\n return this.jumpTo({\n center: t\n }, e);\n }, i.prototype.panBy = function (e, i, o) {\n return e = t.Point.convert(e).mult(-1), this.panTo(this.transform.center, t.extend({\n offset: e\n }, i), o);\n }, i.prototype.panTo = function (e, i, o) {\n return this.easeTo(t.extend({\n center: e\n }, i), o);\n }, i.prototype.getZoom = function () {\n return this.transform.zoom;\n }, i.prototype.setZoom = function (t, e) {\n return this.jumpTo({\n zoom: t\n }, e), this;\n }, i.prototype.zoomTo = function (e, i, o) {\n return this.easeTo(t.extend({\n zoom: e\n }, i), o);\n }, i.prototype.zoomIn = function (t, e) {\n return this.zoomTo(this.getZoom() + 1, t, e), this;\n }, i.prototype.zoomOut = function (t, e) {\n return this.zoomTo(this.getZoom() - 1, t, e), this;\n }, i.prototype.getBearing = function () {\n return this.transform.bearing;\n }, i.prototype.setBearing = function (t, e) {\n return this.jumpTo({\n bearing: t\n }, e), this;\n }, i.prototype.getPadding = function () {\n return this.transform.padding;\n }, i.prototype.setPadding = function (t, e) {\n return this.jumpTo({\n padding: t\n }, e), this;\n }, i.prototype.rotateTo = function (e, i, o) {\n return this.easeTo(t.extend({\n bearing: e\n }, i), o);\n }, i.prototype.resetNorth = function (e, i) {\n return this.rotateTo(0, t.extend({\n duration: 1e3\n }, e), i), this;\n }, i.prototype.resetNorthPitch = function (e, i) {\n return this.easeTo(t.extend({\n bearing: 0,\n pitch: 0,\n duration: 1e3\n }, e), i), this;\n }, i.prototype.snapToNorth = function (t, e) {\n return Math.abs(this.getBearing()) < this._bearingSnap ? this.resetNorth(t, e) : this;\n }, i.prototype.getPitch = function () {\n return this.transform.pitch;\n }, i.prototype.setPitch = function (t, e) {\n return this.jumpTo({\n pitch: t\n }, e), this;\n }, i.prototype.cameraForBounds = function (e, i) {\n e = t.LngLatBounds.convert(e);\n var o = i && i.bearing || 0;\n return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), o, i);\n }, i.prototype._cameraForBoxAndBearing = function (e, i, o, r) {\n var a = {\n top: 0,\n bottom: 0,\n right: 0,\n left: 0\n };\n if (\"number\" == typeof (r = t.extend({\n padding: a,\n offset: [0, 0],\n maxZoom: this.transform.maxZoom\n }, r)).padding) {\n var n = r.padding;\n r.padding = {\n top: n,\n bottom: n,\n right: n,\n left: n\n };\n }\n r.padding = t.extend(a, r.padding);\n var s = this.transform,\n l = s.padding,\n c = s.project(t.LngLat.convert(e)),\n u = s.project(t.LngLat.convert(i)),\n h = c.rotate(-o * Math.PI / 180),\n p = u.rotate(-o * Math.PI / 180),\n d = new t.Point(Math.max(h.x, p.x), Math.max(h.y, p.y)),\n _ = new t.Point(Math.min(h.x, p.x), Math.min(h.y, p.y)),\n f = d.sub(_),\n m = (s.width - (l.left + l.right + r.padding.left + r.padding.right)) / f.x,\n g = (s.height - (l.top + l.bottom + r.padding.top + r.padding.bottom)) / f.y;\n if (!(g < 0 || m < 0)) {\n var v = Math.min(s.scaleZoom(s.scale * Math.min(m, g)), r.maxZoom),\n y = \"number\" == typeof r.offset.x ? new t.Point(r.offset.x, r.offset.y) : t.Point.convert(r.offset),\n x = new t.Point((r.padding.left - r.padding.right) / 2, (r.padding.top - r.padding.bottom) / 2).rotate(o * Math.PI / 180),\n b = y.add(x).mult(s.scale / s.zoomScale(v));\n return {\n center: s.unproject(c.add(u).div(2).sub(b)),\n zoom: v,\n bearing: o\n };\n }\n t.warnOnce(\"Map cannot fit within canvas with the given bounds, padding, and/or offset.\");\n }, i.prototype.fitBounds = function (t, e, i) {\n return this._fitInternal(this.cameraForBounds(t, e), e, i);\n }, i.prototype.fitScreenCoordinates = function (e, i, o, r, a) {\n return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)), this.transform.pointLocation(t.Point.convert(i)), o, r), r, a);\n }, i.prototype._fitInternal = function (e, i, o) {\n return e ? (delete (i = t.extend(e, i)).padding, i.linear ? this.easeTo(i, o) : this.flyTo(i, o)) : this;\n }, i.prototype.jumpTo = function (e, i) {\n this.stop();\n var o = this.transform,\n r = !1,\n a = !1,\n n = !1;\n return \"zoom\" in e && o.zoom !== +e.zoom && (r = !0, o.zoom = +e.zoom), void 0 !== e.center && (o.center = t.LngLat.convert(e.center)), \"bearing\" in e && o.bearing !== +e.bearing && (a = !0, o.bearing = +e.bearing), \"pitch\" in e && o.pitch !== +e.pitch && (n = !0, o.pitch = +e.pitch), null == e.padding || o.isPaddingEqual(e.padding) || (o.padding = e.padding), this.fire(new t.Event(\"movestart\", i)).fire(new t.Event(\"move\", i)), r && this.fire(new t.Event(\"zoomstart\", i)).fire(new t.Event(\"zoom\", i)).fire(new t.Event(\"zoomend\", i)), a && this.fire(new t.Event(\"rotatestart\", i)).fire(new t.Event(\"rotate\", i)).fire(new t.Event(\"rotateend\", i)), n && this.fire(new t.Event(\"pitchstart\", i)).fire(new t.Event(\"pitch\", i)).fire(new t.Event(\"pitchend\", i)), this.fire(new t.Event(\"moveend\", i));\n }, i.prototype.easeTo = function (e, i) {\n var o = this;\n this._stop(!1, e.easeId), (!1 === (e = t.extend({\n offset: [0, 0],\n duration: 500,\n easing: t.ease\n }, e)).animate || !e.essential && t.browser.prefersReducedMotion) && (e.duration = 0);\n var r = this.transform,\n a = this.getZoom(),\n n = this.getBearing(),\n s = this.getPitch(),\n l = this.getPadding(),\n c = \"zoom\" in e ? +e.zoom : a,\n u = \"bearing\" in e ? this._normalizeBearing(e.bearing, n) : n,\n h = \"pitch\" in e ? +e.pitch : s,\n p = \"padding\" in e ? e.padding : r.padding,\n d = t.Point.convert(e.offset),\n _ = r.centerPoint.add(d),\n f = r.pointLocation(_),\n m = t.LngLat.convert(e.center || f);\n this._normalizeCenter(m);\n var g,\n v,\n y = r.project(f),\n x = r.project(m).sub(y),\n b = r.zoomScale(c - a);\n e.around && (g = t.LngLat.convert(e.around), v = r.locationPoint(g));\n var w = {\n moving: this._moving,\n zooming: this._zooming,\n rotating: this._rotating,\n pitching: this._pitching\n };\n return this._zooming = this._zooming || c !== a, this._rotating = this._rotating || n !== u, this._pitching = this._pitching || h !== s, this._padding = !r.isPaddingEqual(p), this._easeId = e.easeId, this._prepareEase(i, e.noMoveStart, w), this._ease(function (e) {\n if (o._zooming && (r.zoom = t.number(a, c, e)), o._rotating && (r.bearing = t.number(n, u, e)), o._pitching && (r.pitch = t.number(s, h, e)), o._padding && (r.interpolatePadding(l, p, e), _ = r.centerPoint.add(d)), g) r.setLocationAtPoint(g, v);else {\n var f = r.zoomScale(r.zoom - a),\n m = c > a ? Math.min(2, b) : Math.max(.5, b),\n w = Math.pow(m, 1 - e),\n T = r.unproject(y.add(x.mult(e * w)).mult(f));\n r.setLocationAtPoint(r.renderWorldCopies ? T.wrap() : T, _);\n }\n o._fireMoveEvents(i);\n }, function (t) {\n o._afterEase(i, t);\n }, e), this;\n }, i.prototype._prepareEase = function (e, i, o) {\n void 0 === o && (o = {}), this._moving = !0, i || o.moving || this.fire(new t.Event(\"movestart\", e)), this._zooming && !o.zooming && this.fire(new t.Event(\"zoomstart\", e)), this._rotating && !o.rotating && this.fire(new t.Event(\"rotatestart\", e)), this._pitching && !o.pitching && this.fire(new t.Event(\"pitchstart\", e));\n }, i.prototype._fireMoveEvents = function (e) {\n this.fire(new t.Event(\"move\", e)), this._zooming && this.fire(new t.Event(\"zoom\", e)), this._rotating && this.fire(new t.Event(\"rotate\", e)), this._pitching && this.fire(new t.Event(\"pitch\", e));\n }, i.prototype._afterEase = function (e, i) {\n if (!this._easeId || !i || this._easeId !== i) {\n delete this._easeId;\n var o = this._zooming,\n r = this._rotating,\n a = this._pitching;\n this._moving = !1, this._zooming = !1, this._rotating = !1, this._pitching = !1, this._padding = !1, o && this.fire(new t.Event(\"zoomend\", e)), r && this.fire(new t.Event(\"rotateend\", e)), a && this.fire(new t.Event(\"pitchend\", e)), this.fire(new t.Event(\"moveend\", e));\n }\n }, i.prototype.flyTo = function (e, i) {\n var o = this;\n if (!e.essential && t.browser.prefersReducedMotion) {\n var r = t.pick(e, [\"center\", \"zoom\", \"bearing\", \"pitch\", \"around\"]);\n return this.jumpTo(r, i);\n }\n this.stop(), e = t.extend({\n offset: [0, 0],\n speed: 1.2,\n curve: 1.42,\n easing: t.ease\n }, e);\n var a = this.transform,\n n = this.getZoom(),\n s = this.getBearing(),\n l = this.getPitch(),\n c = this.getPadding(),\n u = \"zoom\" in e ? t.clamp(+e.zoom, a.minZoom, a.maxZoom) : n,\n h = \"bearing\" in e ? this._normalizeBearing(e.bearing, s) : s,\n p = \"pitch\" in e ? +e.pitch : l,\n d = \"padding\" in e ? e.padding : a.padding,\n _ = a.zoomScale(u - n),\n f = t.Point.convert(e.offset),\n m = a.centerPoint.add(f),\n g = a.pointLocation(m),\n v = t.LngLat.convert(e.center || g);\n this._normalizeCenter(v);\n var y = a.project(g),\n x = a.project(v).sub(y),\n b = e.curve,\n w = Math.max(a.width, a.height),\n T = w / _,\n E = x.mag();\n if (\"minZoom\" in e) {\n var I = t.clamp(Math.min(e.minZoom, n, u), a.minZoom, a.maxZoom),\n P = w / a.zoomScale(I - n);\n b = Math.sqrt(P / E * 2);\n }\n var S = b * b;\n function C(t) {\n var e = (T * T - w * w + (t ? -1 : 1) * S * S * E * E) / (2 * (t ? T : w) * S * E);\n return Math.log(Math.sqrt(e * e + 1) - e);\n }\n function z(t) {\n return (Math.exp(t) - Math.exp(-t)) / 2;\n }\n function D(t) {\n return (Math.exp(t) + Math.exp(-t)) / 2;\n }\n var A = C(0),\n M = function (t) {\n return D(A) / D(A + b * t);\n },\n L = function (t) {\n return w * ((D(A) * (z(e = A + b * t) / D(e)) - z(A)) / S) / E;\n var e;\n },\n R = (C(1) - A) / b;\n if (Math.abs(E) < 1e-6 || !isFinite(R)) {\n if (Math.abs(w - T) < 1e-6) return this.easeTo(e, i);\n var k = T < w ? -1 : 1;\n R = Math.abs(Math.log(T / w)) / b, L = function () {\n return 0;\n }, M = function (t) {\n return Math.exp(k * b * t);\n };\n }\n return e.duration = \"duration\" in e ? +e.duration : 1e3 * R / (\"screenSpeed\" in e ? +e.screenSpeed / b : +e.speed), e.maxDuration && e.duration > e.maxDuration && (e.duration = 0), this._zooming = !0, this._rotating = s !== h, this._pitching = p !== l, this._padding = !a.isPaddingEqual(d), this._prepareEase(i, !1), this._ease(function (e) {\n var r = e * R,\n _ = 1 / M(r);\n a.zoom = 1 === e ? u : n + a.scaleZoom(_), o._rotating && (a.bearing = t.number(s, h, e)), o._pitching && (a.pitch = t.number(l, p, e)), o._padding && (a.interpolatePadding(c, d, e), m = a.centerPoint.add(f));\n var g = 1 === e ? v : a.unproject(y.add(x.mult(L(r))).mult(_));\n a.setLocationAtPoint(a.renderWorldCopies ? g.wrap() : g, m), o._fireMoveEvents(i);\n }, function () {\n return o._afterEase(i);\n }, e), this;\n }, i.prototype.isEasing = function () {\n return !!this._easeFrameId;\n }, i.prototype.stop = function () {\n return this._stop();\n }, i.prototype._stop = function (t, e) {\n if (this._easeFrameId && (this._cancelRenderFrame(this._easeFrameId), delete this._easeFrameId, delete this._onEaseFrame), this._onEaseEnd) {\n var i = this._onEaseEnd;\n delete this._onEaseEnd, i.call(this, e);\n }\n if (!t) {\n var o = this.handlers;\n o && o.stop(!1);\n }\n return this;\n }, i.prototype._ease = function (e, i, o) {\n !1 === o.animate || 0 === o.duration ? (e(1), i()) : (this._easeStart = t.browser.now(), this._easeOptions = o, this._onEaseFrame = e, this._onEaseEnd = i, this._easeFrameId = this._requestRenderFrame(this._renderFrameCallback));\n }, i.prototype._renderFrameCallback = function () {\n var e = Math.min((t.browser.now() - this._easeStart) / this._easeOptions.duration, 1);\n this._onEaseFrame(this._easeOptions.easing(e)), e < 1 ? this._easeFrameId = this._requestRenderFrame(this._renderFrameCallback) : this.stop();\n }, i.prototype._normalizeBearing = function (e, i) {\n e = t.wrap(e, -180, 180);\n var o = Math.abs(e - i);\n return Math.abs(e - 360 - i) < o && (e -= 360), Math.abs(e + 360 - i) < o && (e += 360), e;\n }, i.prototype._normalizeCenter = function (t) {\n var e = this.transform;\n if (e.renderWorldCopies && !e.lngRange) {\n var i = t.lng - e.center.lng;\n t.lng += i > 180 ? -360 : i < -180 ? 360 : 0;\n }\n }, i;\n }(t.Evented),\n yr = function (e) {\n void 0 === e && (e = {}), this.options = e, t.bindAll([\"_toggleAttribution\", \"_updateEditLink\", \"_updateData\", \"_updateCompact\"], this);\n };\n yr.prototype.getDefaultPosition = function () {\n return \"bottom-right\";\n }, yr.prototype.onAdd = function (t) {\n var e = this.options && this.options.compact;\n return this._map = t, this._container = i.create(\"div\", \"mapboxgl-ctrl mapboxgl-ctrl-attrib\"), this._compactButton = i.create(\"button\", \"mapboxgl-ctrl-attrib-button\", this._container), this._compactButton.addEventListener(\"click\", this._toggleAttribution), this._setElementTitle(this._compactButton, \"ToggleAttribution\"), this._innerContainer = i.create(\"div\", \"mapboxgl-ctrl-attrib-inner\", this._container), this._innerContainer.setAttribute(\"role\", \"list\"), e && this._container.classList.add(\"mapboxgl-compact\"), this._updateAttributions(), this._updateEditLink(), this._map.on(\"styledata\", this._updateData), this._map.on(\"sourcedata\", this._updateData), this._map.on(\"moveend\", this._updateEditLink), void 0 === e && (this._map.on(\"resize\", this._updateCompact), this._updateCompact()), this._container;\n }, yr.prototype.onRemove = function () {\n i.remove(this._container), this._map.off(\"styledata\", this._updateData), this._map.off(\"sourcedata\", this._updateData), this._map.off(\"moveend\", this._updateEditLink), this._map.off(\"resize\", this._updateCompact), this._map = void 0, this._attribHTML = void 0;\n }, yr.prototype._setElementTitle = function (t, e) {\n var i = this._map._getUIString(\"AttributionControl.\" + e);\n t.title = i, t.setAttribute(\"aria-label\", i);\n }, yr.prototype._toggleAttribution = function () {\n this._container.classList.contains(\"mapboxgl-compact-show\") ? (this._container.classList.remove(\"mapboxgl-compact-show\"), this._compactButton.setAttribute(\"aria-pressed\", \"false\")) : (this._container.classList.add(\"mapboxgl-compact-show\"), this._compactButton.setAttribute(\"aria-pressed\", \"true\"));\n }, yr.prototype._updateEditLink = function () {\n var e = this._editLink;\n e || (e = this._editLink = this._container.querySelector(\".mapbox-improve-map\"));\n var i = [{\n key: \"owner\",\n value: this.styleOwner\n }, {\n key: \"id\",\n value: this.styleId\n }, {\n key: \"access_token\",\n value: this._map._requestManager._customAccessToken || t.config.ACCESS_TOKEN\n }];\n if (e) {\n var o = i.reduce(function (t, e, o) {\n return e.value && (t += e.key + \"=\" + e.value + (o < i.length - 1 ? \"&\" : \"\")), t;\n }, \"?\");\n e.href = t.config.FEEDBACK_URL + \"/\" + o + (this._map._hash ? this._map._hash.getHashString(!0) : \"\"), e.rel = \"noopener nofollow\", this._setElementTitle(e, \"MapFeedback\");\n }\n }, yr.prototype._updateData = function (t) {\n !t || \"metadata\" !== t.sourceDataType && \"visibility\" !== t.sourceDataType && \"style\" !== t.dataType || (this._updateAttributions(), this._updateEditLink());\n }, yr.prototype._updateAttributions = function () {\n if (this._map.style) {\n var t = [];\n if (this.options.customAttribution && (Array.isArray(this.options.customAttribution) ? t = t.concat(this.options.customAttribution.map(function (t) {\n return \"string\" != typeof t ? \"\" : t;\n })) : \"string\" == typeof this.options.customAttribution && t.push(this.options.customAttribution)), this._map.style.stylesheet) {\n var e = this._map.style.stylesheet;\n this.styleOwner = e.owner, this.styleId = e.id;\n }\n var i = this._map.style.sourceCaches;\n for (var o in i) {\n var r = i[o];\n if (r.used) {\n var a = r.getSource();\n a.attribution && t.indexOf(a.attribution) < 0 && t.push(a.attribution);\n }\n }\n t.sort(function (t, e) {\n return t.length - e.length;\n });\n var n = (t = t.filter(function (e, i) {\n for (var o = i + 1; o < t.length; o++) if (t[o].indexOf(e) >= 0) return !1;\n return !0;\n })).join(\" | \");\n n !== this._attribHTML && (this._attribHTML = n, t.length ? (this._innerContainer.innerHTML = n, this._container.classList.remove(\"mapboxgl-attrib-empty\")) : this._container.classList.add(\"mapboxgl-attrib-empty\"), this._editLink = null);\n }\n }, yr.prototype._updateCompact = function () {\n this._map.getCanvasContainer().offsetWidth <= 640 ? this._container.classList.add(\"mapboxgl-compact\") : this._container.classList.remove(\"mapboxgl-compact\", \"mapboxgl-compact-show\");\n };\n var xr = function () {\n t.bindAll([\"_updateLogo\"], this), t.bindAll([\"_updateCompact\"], this);\n };\n xr.prototype.onAdd = function (t) {\n this._map = t, this._container = i.create(\"div\", \"mapboxgl-ctrl\");\n var e = i.create(\"a\", \"mapboxgl-ctrl-logo\");\n return e.target = \"_blank\", e.rel = \"noopener nofollow\", e.href = \"https://www.mapbox.com/\", e.setAttribute(\"aria-label\", this._map._getUIString(\"LogoControl.Title\")), e.setAttribute(\"rel\", \"noopener nofollow\"), this._container.appendChild(e), this._container.style.display = \"none\", this._map.on(\"sourcedata\", this._updateLogo), this._updateLogo(), this._map.on(\"resize\", this._updateCompact), this._updateCompact(), this._container;\n }, xr.prototype.onRemove = function () {\n i.remove(this._container), this._map.off(\"sourcedata\", this._updateLogo), this._map.off(\"resize\", this._updateCompact);\n }, xr.prototype.getDefaultPosition = function () {\n return \"bottom-left\";\n }, xr.prototype._updateLogo = function (t) {\n t && \"metadata\" !== t.sourceDataType || (this._container.style.display = this._logoRequired() ? \"block\" : \"none\");\n }, xr.prototype._logoRequired = function () {\n if (this._map.style) {\n var t = this._map.style.sourceCaches;\n for (var e in t) if (t[e].getSource().mapbox_logo) return !0;\n return !1;\n }\n }, xr.prototype._updateCompact = function () {\n var t = this._container.children;\n if (t.length) {\n var e = t[0];\n this._map.getCanvasContainer().offsetWidth < 250 ? e.classList.add(\"mapboxgl-compact\") : e.classList.remove(\"mapboxgl-compact\");\n }\n };\n var br = function () {\n this._queue = [], this._id = 0, this._cleared = !1, this._currentlyRunning = !1;\n };\n br.prototype.add = function (t) {\n var e = ++this._id;\n return this._queue.push({\n callback: t,\n id: e,\n cancelled: !1\n }), e;\n }, br.prototype.remove = function (t) {\n for (var e = this._currentlyRunning, i = 0, o = e ? this._queue.concat(e) : this._queue; i < o.length; i += 1) {\n var r = o[i];\n if (r.id === t) return void (r.cancelled = !0);\n }\n }, br.prototype.run = function (t) {\n void 0 === t && (t = 0);\n var e = this._currentlyRunning = this._queue;\n this._queue = [];\n for (var i = 0, o = e; i < o.length; i += 1) {\n var r = o[i];\n if (!r.cancelled && (r.callback(t), this._cleared)) break;\n }\n this._cleared = !1, this._currentlyRunning = !1;\n }, br.prototype.clear = function () {\n this._currentlyRunning && (this._cleared = !0), this._queue = [];\n };\n var wr = {\n \"AttributionControl.ToggleAttribution\": \"Toggle attribution\",\n \"AttributionControl.MapFeedback\": \"Map feedback\",\n \"FullscreenControl.Enter\": \"Enter fullscreen\",\n \"FullscreenControl.Exit\": \"Exit fullscreen\",\n \"GeolocateControl.FindMyLocation\": \"Find my location\",\n \"GeolocateControl.LocationNotAvailable\": \"Location not available\",\n \"LogoControl.Title\": \"Mapbox logo\",\n \"NavigationControl.ResetBearing\": \"Reset bearing to north\",\n \"NavigationControl.ZoomIn\": \"Zoom in\",\n \"NavigationControl.ZoomOut\": \"Zoom out\",\n \"ScaleControl.Feet\": \"ft\",\n \"ScaleControl.Meters\": \"m\",\n \"ScaleControl.Kilometers\": \"km\",\n \"ScaleControl.Miles\": \"mi\",\n \"ScaleControl.NauticalMiles\": \"nm\"\n },\n Tr = t.window.HTMLImageElement,\n Er = t.window.HTMLElement,\n Ir = t.window.ImageBitmap,\n Pr = {\n center: [0, 0],\n zoom: 0,\n bearing: 0,\n pitch: 0,\n minZoom: -2,\n maxZoom: 22,\n minPitch: 0,\n maxPitch: 60,\n interactive: !0,\n scrollZoom: !0,\n boxZoom: !0,\n dragRotate: !0,\n dragPan: !0,\n keyboard: !0,\n doubleClickZoom: !0,\n touchZoomRotate: !0,\n touchPitch: !0,\n bearingSnap: 7,\n clickTolerance: 3,\n pitchWithRotate: !0,\n hash: !1,\n attributionControl: !0,\n failIfMajorPerformanceCaveat: !1,\n preserveDrawingBuffer: !1,\n trackResize: !0,\n renderWorldCopies: !0,\n refreshExpiredTiles: !0,\n maxTileCacheSize: null,\n localIdeographFontFamily: \"sans-serif\",\n transformRequest: null,\n accessToken: null,\n fadeDuration: 300,\n crossSourceCollisions: !0\n },\n Sr = function (o) {\n function r(e) {\n var i = this;\n if (null != (e = t.extend({}, Pr, e)).minZoom && null != e.maxZoom && e.minZoom > e.maxZoom) throw new Error(\"maxZoom must be greater than or equal to minZoom\");\n if (null != e.minPitch && null != e.maxPitch && e.minPitch > e.maxPitch) throw new Error(\"maxPitch must be greater than or equal to minPitch\");\n if (null != e.minPitch && e.minPitch < 0) throw new Error(\"minPitch must be greater than or equal to 0\");\n if (null != e.maxPitch && e.maxPitch > 60) throw new Error(\"maxPitch must be less than or equal to 60\");\n var r = new To(e.minZoom, e.maxZoom, e.minPitch, e.maxPitch, e.renderWorldCopies);\n if (o.call(this, r, e), this._interactive = e.interactive, this._maxTileCacheSize = e.maxTileCacheSize, this._failIfMajorPerformanceCaveat = e.failIfMajorPerformanceCaveat, this._preserveDrawingBuffer = e.preserveDrawingBuffer, this._antialias = e.antialias, this._trackResize = e.trackResize, this._bearingSnap = e.bearingSnap, this._refreshExpiredTiles = e.refreshExpiredTiles, this._fadeDuration = e.fadeDuration, this._crossSourceCollisions = e.crossSourceCollisions, this._crossFadingFactor = 1, this._collectResourceTiming = e.collectResourceTiming, this._renderTaskQueue = new br(), this._controls = [], this._mapId = t.uniqueId(), this._locale = t.extend({}, wr, e.locale), this._clickTolerance = e.clickTolerance, this._requestManager = new t.RequestManager(e.transformRequest, e.accessToken), \"string\" == typeof e.container) {\n if (this._container = t.window.document.getElementById(e.container), !this._container) throw new Error(\"Container '\" + e.container + \"' not found.\");\n } else {\n if (!(e.container instanceof Er)) throw new Error(\"Invalid type: 'container' must be a String or HTMLElement.\");\n this._container = e.container;\n }\n if (e.maxBounds && this.setMaxBounds(e.maxBounds), t.bindAll([\"_onWindowOnline\", \"_onWindowResize\", \"_onMapScroll\", \"_contextLost\", \"_contextRestored\"], this), this._setupContainer(), this._setupPainter(), void 0 === this.painter) throw new Error(\"Failed to initialize WebGL.\");\n this.on(\"move\", function () {\n return i._update(!1);\n }), this.on(\"moveend\", function () {\n return i._update(!1);\n }), this.on(\"zoom\", function () {\n return i._update(!0);\n }), void 0 !== t.window && (t.window.addEventListener(\"online\", this._onWindowOnline, !1), t.window.addEventListener(\"resize\", this._onWindowResize, !1), t.window.addEventListener(\"orientationchange\", this._onWindowResize, !1)), this.handlers = new gr(this, e), this._hash = e.hash && new Io(\"string\" == typeof e.hash && e.hash || void 0).addTo(this), this._hash && this._hash._onHashChange() || (this.jumpTo({\n center: e.center,\n zoom: e.zoom,\n bearing: e.bearing,\n pitch: e.pitch\n }), e.bounds && (this.resize(), this.fitBounds(e.bounds, t.extend({}, e.fitBoundsOptions, {\n duration: 0\n })))), this.resize(), this._localIdeographFontFamily = e.localIdeographFontFamily, e.style && this.setStyle(e.style, {\n localIdeographFontFamily: e.localIdeographFontFamily\n }), e.attributionControl && this.addControl(new yr({\n customAttribution: e.customAttribution\n })), this.addControl(new xr(), e.logoPosition), this.on(\"style.load\", function () {\n i.transform.unmodified && i.jumpTo(i.style.stylesheet);\n }), this.on(\"data\", function (e) {\n i._update(\"style\" === e.dataType), i.fire(new t.Event(e.dataType + \"data\", e));\n }), this.on(\"dataloading\", function (e) {\n i.fire(new t.Event(e.dataType + \"dataloading\", e));\n });\n }\n o && (r.__proto__ = o), (r.prototype = Object.create(o && o.prototype)).constructor = r;\n var a = {\n showTileBoundaries: {\n configurable: !0\n },\n showPadding: {\n configurable: !0\n },\n showCollisionBoxes: {\n configurable: !0\n },\n showOverdrawInspector: {\n configurable: !0\n },\n repaint: {\n configurable: !0\n },\n vertices: {\n configurable: !0\n },\n version: {\n configurable: !0\n }\n };\n return r.prototype._getMapId = function () {\n return this._mapId;\n }, r.prototype.addControl = function (e, i) {\n if (void 0 === i && (i = e.getDefaultPosition ? e.getDefaultPosition() : \"top-right\"), !e || !e.onAdd) return this.fire(new t.ErrorEvent(new Error(\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\")));\n var o = e.onAdd(this);\n this._controls.push(e);\n var r = this._controlPositions[i];\n return -1 !== i.indexOf(\"bottom\") ? r.insertBefore(o, r.firstChild) : r.appendChild(o), this;\n }, r.prototype.removeControl = function (e) {\n if (!e || !e.onRemove) return this.fire(new t.ErrorEvent(new Error(\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\")));\n var i = this._controls.indexOf(e);\n return i > -1 && this._controls.splice(i, 1), e.onRemove(this), this;\n }, r.prototype.hasControl = function (t) {\n return this._controls.indexOf(t) > -1;\n }, r.prototype.resize = function (e) {\n var i = this._containerDimensions(),\n o = i[0],\n r = i[1];\n if (o === this.transform.width && r === this.transform.height) return this;\n this._resizeCanvas(o, r), this.transform.resize(o, r), this.painter.resize(o, r);\n var a = !this._moving;\n return a && this.fire(new t.Event(\"movestart\", e)).fire(new t.Event(\"move\", e)), this.fire(new t.Event(\"resize\", e)), a && this.fire(new t.Event(\"moveend\", e)), this;\n }, r.prototype.getBounds = function () {\n return this.transform.getBounds();\n }, r.prototype.getMaxBounds = function () {\n return this.transform.getMaxBounds();\n }, r.prototype.setMaxBounds = function (e) {\n return this.transform.setMaxBounds(t.LngLatBounds.convert(e)), this._update();\n }, r.prototype.setMinZoom = function (t) {\n if ((t = null == t ? -2 : t) >= -2 && t <= this.transform.maxZoom) return this.transform.minZoom = t, this._update(), this.getZoom() < t && this.setZoom(t), this;\n throw new Error(\"minZoom must be between -2 and the current maxZoom, inclusive\");\n }, r.prototype.getMinZoom = function () {\n return this.transform.minZoom;\n }, r.prototype.setMaxZoom = function (t) {\n if ((t = null == t ? 22 : t) >= this.transform.minZoom) return this.transform.maxZoom = t, this._update(), this.getZoom() > t && this.setZoom(t), this;\n throw new Error(\"maxZoom must be greater than the current minZoom\");\n }, r.prototype.getMaxZoom = function () {\n return this.transform.maxZoom;\n }, r.prototype.setMinPitch = function (t) {\n if ((t = null == t ? 0 : t) < 0) throw new Error(\"minPitch must be greater than or equal to 0\");\n if (t >= 0 && t <= this.transform.maxPitch) return this.transform.minPitch = t, this._update(), this.getPitch() < t && this.setPitch(t), this;\n throw new Error(\"minPitch must be between 0 and the current maxPitch, inclusive\");\n }, r.prototype.getMinPitch = function () {\n return this.transform.minPitch;\n }, r.prototype.setMaxPitch = function (t) {\n if ((t = null == t ? 60 : t) > 60) throw new Error(\"maxPitch must be less than or equal to 60\");\n if (t >= this.transform.minPitch) return this.transform.maxPitch = t, this._update(), this.getPitch() > t && this.setPitch(t), this;\n throw new Error(\"maxPitch must be greater than the current minPitch\");\n }, r.prototype.getMaxPitch = function () {\n return this.transform.maxPitch;\n }, r.prototype.getRenderWorldCopies = function () {\n return this.transform.renderWorldCopies;\n }, r.prototype.setRenderWorldCopies = function (t) {\n return this.transform.renderWorldCopies = t, this._update();\n }, r.prototype.project = function (e) {\n return this.transform.locationPoint(t.LngLat.convert(e));\n }, r.prototype.unproject = function (e) {\n return this.transform.pointLocation(t.Point.convert(e));\n }, r.prototype.isMoving = function () {\n return this._moving || this.handlers.isMoving();\n }, r.prototype.isZooming = function () {\n return this._zooming || this.handlers.isZooming();\n }, r.prototype.isRotating = function () {\n return this._rotating || this.handlers.isRotating();\n }, r.prototype._createDelegatedListener = function (t, e, i) {\n var o,\n r = this;\n if (\"mouseenter\" === t || \"mouseover\" === t) {\n var a = !1;\n return {\n layer: e,\n listener: i,\n delegates: {\n mousemove: function (o) {\n var n = r.getLayer(e) ? r.queryRenderedFeatures(o.point, {\n layers: [e]\n }) : [];\n n.length ? a || (a = !0, i.call(r, new Ro(t, r, o.originalEvent, {\n features: n\n }))) : a = !1;\n },\n mouseout: function () {\n a = !1;\n }\n }\n };\n }\n if (\"mouseleave\" === t || \"mouseout\" === t) {\n var n = !1;\n return {\n layer: e,\n listener: i,\n delegates: {\n mousemove: function (o) {\n (r.getLayer(e) ? r.queryRenderedFeatures(o.point, {\n layers: [e]\n }) : []).length ? n = !0 : n && (n = !1, i.call(r, new Ro(t, r, o.originalEvent)));\n },\n mouseout: function (e) {\n n && (n = !1, i.call(r, new Ro(t, r, e.originalEvent)));\n }\n }\n };\n }\n return {\n layer: e,\n listener: i,\n delegates: (o = {}, o[t] = function (t) {\n var o = r.getLayer(e) ? r.queryRenderedFeatures(t.point, {\n layers: [e]\n }) : [];\n o.length && (t.features = o, i.call(r, t), delete t.features);\n }, o)\n };\n }, r.prototype.on = function (t, e, i) {\n if (void 0 === i) return o.prototype.on.call(this, t, e);\n var r = this._createDelegatedListener(t, e, i);\n for (var a in this._delegatedListeners = this._delegatedListeners || {}, this._delegatedListeners[t] = this._delegatedListeners[t] || [], this._delegatedListeners[t].push(r), r.delegates) this.on(a, r.delegates[a]);\n return this;\n }, r.prototype.once = function (t, e, i) {\n if (void 0 === i) return o.prototype.once.call(this, t, e);\n var r = this._createDelegatedListener(t, e, i);\n for (var a in r.delegates) this.once(a, r.delegates[a]);\n return this;\n }, r.prototype.off = function (t, e, i) {\n var r = this;\n return void 0 === i ? o.prototype.off.call(this, t, e) : (this._delegatedListeners && this._delegatedListeners[t] && function (o) {\n for (var a = o[t], n = 0; n < a.length; n++) {\n var s = a[n];\n if (s.layer === e && s.listener === i) {\n for (var l in s.delegates) r.off(l, s.delegates[l]);\n return a.splice(n, 1), r;\n }\n }\n }(this._delegatedListeners), this);\n }, r.prototype.queryRenderedFeatures = function (e, i) {\n if (!this.style) return [];\n var o;\n if (void 0 !== i || void 0 === e || e instanceof t.Point || Array.isArray(e) || (i = e, e = void 0), i = i || {}, (e = e || [[0, 0], [this.transform.width, this.transform.height]]) instanceof t.Point || \"number\" == typeof e[0]) o = [t.Point.convert(e)];else {\n var r = t.Point.convert(e[0]),\n a = t.Point.convert(e[1]);\n o = [r, new t.Point(a.x, r.y), a, new t.Point(r.x, a.y), r];\n }\n return this.style.queryRenderedFeatures(o, i, this.transform);\n }, r.prototype.querySourceFeatures = function (t, e) {\n return this.style.querySourceFeatures(t, e);\n }, r.prototype.setStyle = function (e, i) {\n return !1 !== (i = t.extend({}, {\n localIdeographFontFamily: this._localIdeographFontFamily\n }, i)).diff && i.localIdeographFontFamily === this._localIdeographFontFamily && this.style && e ? (this._diffStyle(e, i), this) : (this._localIdeographFontFamily = i.localIdeographFontFamily, this._updateStyle(e, i));\n }, r.prototype._getUIString = function (t) {\n var e = this._locale[t];\n if (null == e) throw new Error(\"Missing UI string '\" + t + \"'\");\n return e;\n }, r.prototype._updateStyle = function (t, e) {\n return this.style && (this.style.setEventedParent(null), this.style._remove()), t ? (this.style = new je(this, e || {}), this.style.setEventedParent(this, {\n style: this.style\n }), \"string\" == typeof t ? this.style.loadURL(t) : this.style.loadJSON(t), this) : (delete this.style, this);\n }, r.prototype._lazyInitEmptyStyle = function () {\n this.style || (this.style = new je(this, {}), this.style.setEventedParent(this, {\n style: this.style\n }), this.style.loadEmpty());\n }, r.prototype._diffStyle = function (e, i) {\n var o = this;\n if (\"string\" == typeof e) {\n var r = this._requestManager.normalizeStyleURL(e),\n a = this._requestManager.transformRequest(r, t.ResourceType.Style);\n t.getJSON(a, function (e, r) {\n e ? o.fire(new t.ErrorEvent(e)) : r && o._updateDiff(r, i);\n });\n } else \"object\" == typeof e && this._updateDiff(e, i);\n }, r.prototype._updateDiff = function (e, i) {\n try {\n this.style.setState(e) && this._update(!0);\n } catch (o) {\n t.warnOnce(\"Unable to perform style diff: \" + (o.message || o.error || o) + \". Rebuilding the style from scratch.\"), this._updateStyle(e, i);\n }\n }, r.prototype.getStyle = function () {\n if (this.style) return this.style.serialize();\n }, r.prototype.isStyleLoaded = function () {\n return this.style ? this.style.loaded() : t.warnOnce(\"There is no style added to the map.\");\n }, r.prototype.addSource = function (t, e) {\n return this._lazyInitEmptyStyle(), this.style.addSource(t, e), this._update(!0);\n }, r.prototype.isSourceLoaded = function (e) {\n var i = this.style && this.style.sourceCaches[e];\n if (void 0 !== i) return i.loaded();\n this.fire(new t.ErrorEvent(new Error(\"There is no source with ID '\" + e + \"'\")));\n }, r.prototype.areTilesLoaded = function () {\n var t = this.style && this.style.sourceCaches;\n for (var e in t) {\n var i = t[e]._tiles;\n for (var o in i) {\n var r = i[o];\n if (\"loaded\" !== r.state && \"errored\" !== r.state) return !1;\n }\n }\n return !0;\n }, r.prototype.addSourceType = function (t, e, i) {\n return this._lazyInitEmptyStyle(), this.style.addSourceType(t, e, i);\n }, r.prototype.removeSource = function (t) {\n return this.style.removeSource(t), this._update(!0);\n }, r.prototype.getSource = function (t) {\n return this.style.getSource(t);\n }, r.prototype.addImage = function (e, i, o) {\n void 0 === o && (o = {});\n var r = o.pixelRatio;\n void 0 === r && (r = 1);\n var a = o.sdf;\n void 0 === a && (a = !1);\n var n = o.stretchX,\n s = o.stretchY,\n l = o.content;\n if (this._lazyInitEmptyStyle(), i instanceof Tr || Ir && i instanceof Ir) {\n var c = t.browser.getImageData(i);\n this.style.addImage(e, {\n data: new t.RGBAImage({\n width: c.width,\n height: c.height\n }, c.data),\n pixelRatio: r,\n stretchX: n,\n stretchY: s,\n content: l,\n sdf: a,\n version: 0\n });\n } else {\n if (void 0 === i.width || void 0 === i.height) return this.fire(new t.ErrorEvent(new Error(\"Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\")));\n var u = i;\n this.style.addImage(e, {\n data: new t.RGBAImage({\n width: i.width,\n height: i.height\n }, new Uint8Array(i.data)),\n pixelRatio: r,\n stretchX: n,\n stretchY: s,\n content: l,\n sdf: a,\n version: 0,\n userImage: u\n }), u.onAdd && u.onAdd(this, e);\n }\n }, r.prototype.updateImage = function (e, i) {\n var o = this.style.getImage(e);\n if (!o) return this.fire(new t.ErrorEvent(new Error(\"The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.\")));\n var r = i instanceof Tr || Ir && i instanceof Ir ? t.browser.getImageData(i) : i,\n a = r.width,\n n = r.height,\n s = r.data;\n return void 0 === a || void 0 === n ? this.fire(new t.ErrorEvent(new Error(\"Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\"))) : a !== o.data.width || n !== o.data.height ? this.fire(new t.ErrorEvent(new Error(\"The width and height of the updated image must be that same as the previous version of the image\"))) : (o.data.replace(s, !(i instanceof Tr || Ir && i instanceof Ir)), void this.style.updateImage(e, o));\n }, r.prototype.hasImage = function (e) {\n return e ? !!this.style.getImage(e) : (this.fire(new t.ErrorEvent(new Error(\"Missing required image id\"))), !1);\n }, r.prototype.removeImage = function (t) {\n this.style.removeImage(t);\n }, r.prototype.loadImage = function (e, i) {\n t.getImage(this._requestManager.transformRequest(e, t.ResourceType.Image), i);\n }, r.prototype.listImages = function () {\n return this.style.listImages();\n }, r.prototype.addLayer = function (t, e) {\n return this._lazyInitEmptyStyle(), this.style.addLayer(t, e), this._update(!0);\n }, r.prototype.moveLayer = function (t, e) {\n return this.style.moveLayer(t, e), this._update(!0);\n }, r.prototype.removeLayer = function (t) {\n return this.style.removeLayer(t), this._update(!0);\n }, r.prototype.getLayer = function (t) {\n return this.style.getLayer(t);\n }, r.prototype.setLayerZoomRange = function (t, e, i) {\n return this.style.setLayerZoomRange(t, e, i), this._update(!0);\n }, r.prototype.setFilter = function (t, e, i) {\n return void 0 === i && (i = {}), this.style.setFilter(t, e, i), this._update(!0);\n }, r.prototype.getFilter = function (t) {\n return this.style.getFilter(t);\n }, r.prototype.setPaintProperty = function (t, e, i, o) {\n return void 0 === o && (o = {}), this.style.setPaintProperty(t, e, i, o), this._update(!0);\n }, r.prototype.getPaintProperty = function (t, e) {\n return this.style.getPaintProperty(t, e);\n }, r.prototype.setLayoutProperty = function (t, e, i, o) {\n return void 0 === o && (o = {}), this.style.setLayoutProperty(t, e, i, o), this._update(!0);\n }, r.prototype.getLayoutProperty = function (t, e) {\n return this.style.getLayoutProperty(t, e);\n }, r.prototype.setLight = function (t, e) {\n return void 0 === e && (e = {}), this._lazyInitEmptyStyle(), this.style.setLight(t, e), this._update(!0);\n }, r.prototype.getLight = function () {\n return this.style.getLight();\n }, r.prototype.setFeatureState = function (t, e) {\n return this.style.setFeatureState(t, e), this._update();\n }, r.prototype.removeFeatureState = function (t, e) {\n return this.style.removeFeatureState(t, e), this._update();\n }, r.prototype.getFeatureState = function (t) {\n return this.style.getFeatureState(t);\n }, r.prototype.getContainer = function () {\n return this._container;\n }, r.prototype.getCanvasContainer = function () {\n return this._canvasContainer;\n }, r.prototype.getCanvas = function () {\n return this._canvas;\n }, r.prototype._containerDimensions = function () {\n var t = 0,\n e = 0;\n return this._container && (t = this._container.clientWidth || 400, e = this._container.clientHeight || 300), [t, e];\n }, r.prototype._detectMissingCSS = function () {\n \"rgb(250, 128, 114)\" !== t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue(\"background-color\") && t.warnOnce(\"This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.\");\n }, r.prototype._setupContainer = function () {\n var t = this._container;\n t.classList.add(\"mapboxgl-map\"), (this._missingCSSCanary = i.create(\"div\", \"mapboxgl-canary\", t)).style.visibility = \"hidden\", this._detectMissingCSS();\n var e = this._canvasContainer = i.create(\"div\", \"mapboxgl-canvas-container\", t);\n this._interactive && e.classList.add(\"mapboxgl-interactive\"), this._canvas = i.create(\"canvas\", \"mapboxgl-canvas\", e), this._canvas.addEventListener(\"webglcontextlost\", this._contextLost, !1), this._canvas.addEventListener(\"webglcontextrestored\", this._contextRestored, !1), this._canvas.setAttribute(\"tabindex\", \"0\"), this._canvas.setAttribute(\"aria-label\", \"Map\"), this._canvas.setAttribute(\"role\", \"region\");\n var o = this._containerDimensions();\n this._resizeCanvas(o[0], o[1]);\n var r = this._controlContainer = i.create(\"div\", \"mapboxgl-control-container\", t),\n a = this._controlPositions = {};\n [\"top-left\", \"top-right\", \"bottom-left\", \"bottom-right\"].forEach(function (t) {\n a[t] = i.create(\"div\", \"mapboxgl-ctrl-\" + t, r);\n }), this._container.addEventListener(\"scroll\", this._onMapScroll, !1);\n }, r.prototype._resizeCanvas = function (e, i) {\n var o = t.browser.devicePixelRatio || 1;\n this._canvas.width = o * e, this._canvas.height = o * i, this._canvas.style.width = e + \"px\", this._canvas.style.height = i + \"px\";\n }, r.prototype._setupPainter = function () {\n var i = t.extend({}, e.webGLContextAttributes, {\n failIfMajorPerformanceCaveat: this._failIfMajorPerformanceCaveat,\n preserveDrawingBuffer: this._preserveDrawingBuffer,\n antialias: this._antialias || !1\n }),\n o = this._canvas.getContext(\"webgl\", i) || this._canvas.getContext(\"experimental-webgl\", i);\n o ? (this.painter = new yo(o, this.transform), t.webpSupported.testSupport(o)) : this.fire(new t.ErrorEvent(new Error(\"Failed to initialize WebGL\")));\n }, r.prototype._contextLost = function (e) {\n e.preventDefault(), this._frame && (this._frame.cancel(), this._frame = null), this.fire(new t.Event(\"webglcontextlost\", {\n originalEvent: e\n }));\n }, r.prototype._contextRestored = function (e) {\n this._setupPainter(), this.resize(), this._update(), this.fire(new t.Event(\"webglcontextrestored\", {\n originalEvent: e\n }));\n }, r.prototype._onMapScroll = function (t) {\n if (t.target === this._container) return this._container.scrollTop = 0, this._container.scrollLeft = 0, !1;\n }, r.prototype.loaded = function () {\n return !this._styleDirty && !this._sourcesDirty && !!this.style && this.style.loaded();\n }, r.prototype._update = function (t) {\n return this.style ? (this._styleDirty = this._styleDirty || t, this._sourcesDirty = !0, this.triggerRepaint(), this) : this;\n }, r.prototype._requestRenderFrame = function (t) {\n return this._update(), this._renderTaskQueue.add(t);\n }, r.prototype._cancelRenderFrame = function (t) {\n this._renderTaskQueue.remove(t);\n }, r.prototype._render = function (e) {\n var i,\n o = this,\n r = 0,\n a = this.painter.context.extTimerQuery;\n if (this.listens(\"gpu-timing-frame\") && (i = a.createQueryEXT(), a.beginQueryEXT(a.TIME_ELAPSED_EXT, i), r = t.browser.now()), this.painter.context.setDirty(), this.painter.setBaseState(), this._renderTaskQueue.run(e), !this._removed) {\n var n = !1;\n if (this.style && this._styleDirty) {\n this._styleDirty = !1;\n var s = this.transform.zoom,\n l = t.browser.now();\n this.style.zoomHistory.update(s, l);\n var c = new t.EvaluationParameters(s, {\n now: l,\n fadeDuration: this._fadeDuration,\n zoomHistory: this.style.zoomHistory,\n transition: this.style.getTransition()\n }),\n u = c.crossFadingFactor();\n 1 === u && u === this._crossFadingFactor || (n = !0, this._crossFadingFactor = u), this.style.update(c);\n }\n if (this.style && this._sourcesDirty && (this._sourcesDirty = !1, this.style._updateSources(this.transform)), this._placementDirty = this.style && this.style._updatePlacement(this.painter.transform, this.showCollisionBoxes, this._fadeDuration, this._crossSourceCollisions), this.painter.render(this.style, {\n showTileBoundaries: this.showTileBoundaries,\n showOverdrawInspector: this._showOverdrawInspector,\n rotating: this.isRotating(),\n zooming: this.isZooming(),\n moving: this.isMoving(),\n fadeDuration: this._fadeDuration,\n showPadding: this.showPadding,\n gpuTiming: !!this.listens(\"gpu-timing-layer\")\n }), this.fire(new t.Event(\"render\")), this.loaded() && !this._loaded && (this._loaded = !0, this.fire(new t.Event(\"load\"))), this.style && (this.style.hasTransitions() || n) && (this._styleDirty = !0), this.style && !this._placementDirty && this.style._releaseSymbolFadeTiles(), this.listens(\"gpu-timing-frame\")) {\n var h = t.browser.now() - r;\n a.endQueryEXT(a.TIME_ELAPSED_EXT, i), setTimeout(function () {\n var e = a.getQueryObjectEXT(i, a.QUERY_RESULT_EXT) / 1e6;\n a.deleteQueryEXT(i), o.fire(new t.Event(\"gpu-timing-frame\", {\n cpuTime: h,\n gpuTime: e\n }));\n }, 50);\n }\n if (this.listens(\"gpu-timing-layer\")) {\n var p = this.painter.collectGpuTimers();\n setTimeout(function () {\n var e = o.painter.queryGpuTimers(p);\n o.fire(new t.Event(\"gpu-timing-layer\", {\n layerTimes: e\n }));\n }, 50);\n }\n var d = this._sourcesDirty || this._styleDirty || this._placementDirty;\n return d || this._repaint ? this.triggerRepaint() : !this.isMoving() && this.loaded() && this.fire(new t.Event(\"idle\")), !this._loaded || this._fullyLoaded || d || (this._fullyLoaded = !0), this;\n }\n }, r.prototype.remove = function () {\n this._hash && this._hash.remove();\n for (var e = 0, i = this._controls; e < i.length; e += 1) i[e].onRemove(this);\n this._controls = [], this._frame && (this._frame.cancel(), this._frame = null), this._renderTaskQueue.clear(), this.painter.destroy(), this.handlers.destroy(), delete this.handlers, this.setStyle(null), void 0 !== t.window && (t.window.removeEventListener(\"resize\", this._onWindowResize, !1), t.window.removeEventListener(\"orientationchange\", this._onWindowResize, !1), t.window.removeEventListener(\"online\", this._onWindowOnline, !1));\n var o = this.painter.context.gl.getExtension(\"WEBGL_lose_context\");\n o && o.loseContext(), Cr(this._canvasContainer), Cr(this._controlContainer), Cr(this._missingCSSCanary), this._container.classList.remove(\"mapboxgl-map\"), this._removed = !0, this.fire(new t.Event(\"remove\"));\n }, r.prototype.triggerRepaint = function () {\n var e = this;\n this.style && !this._frame && (this._frame = t.browser.frame(function (t) {\n e._frame = null, e._render(t);\n }));\n }, r.prototype._onWindowOnline = function () {\n this._update();\n }, r.prototype._onWindowResize = function (t) {\n this._trackResize && this.resize({\n originalEvent: t\n })._update();\n }, a.showTileBoundaries.get = function () {\n return !!this._showTileBoundaries;\n }, a.showTileBoundaries.set = function (t) {\n this._showTileBoundaries !== t && (this._showTileBoundaries = t, this._update());\n }, a.showPadding.get = function () {\n return !!this._showPadding;\n }, a.showPadding.set = function (t) {\n this._showPadding !== t && (this._showPadding = t, this._update());\n }, a.showCollisionBoxes.get = function () {\n return !!this._showCollisionBoxes;\n }, a.showCollisionBoxes.set = function (t) {\n this._showCollisionBoxes !== t && (this._showCollisionBoxes = t, t ? this.style._generateCollisionBoxes() : this._update());\n }, a.showOverdrawInspector.get = function () {\n return !!this._showOverdrawInspector;\n }, a.showOverdrawInspector.set = function (t) {\n this._showOverdrawInspector !== t && (this._showOverdrawInspector = t, this._update());\n }, a.repaint.get = function () {\n return !!this._repaint;\n }, a.repaint.set = function (t) {\n this._repaint !== t && (this._repaint = t, this.triggerRepaint());\n }, a.vertices.get = function () {\n return !!this._vertices;\n }, a.vertices.set = function (t) {\n this._vertices = t, this._update();\n }, r.prototype._setCacheLimits = function (e, i) {\n t.setCacheLimits(e, i);\n }, a.version.get = function () {\n return t.version;\n }, Object.defineProperties(r.prototype, a), r;\n }(vr);\n function Cr(t) {\n t.parentNode && t.parentNode.removeChild(t);\n }\n var zr = {\n showCompass: !0,\n showZoom: !0,\n visualizePitch: !1\n },\n Dr = function (e) {\n var o = this;\n this.options = t.extend({}, zr, e), this._container = i.create(\"div\", \"mapboxgl-ctrl mapboxgl-ctrl-group\"), this._container.addEventListener(\"contextmenu\", function (t) {\n return t.preventDefault();\n }), this.options.showZoom && (t.bindAll([\"_setButtonTitle\", \"_updateZoomButtons\"], this), this._zoomInButton = this._createButton(\"mapboxgl-ctrl-zoom-in\", function (t) {\n return o._map.zoomIn({}, {\n originalEvent: t\n });\n }), i.create(\"span\", \"mapboxgl-ctrl-icon\", this._zoomInButton).setAttribute(\"aria-hidden\", !0), this._zoomOutButton = this._createButton(\"mapboxgl-ctrl-zoom-out\", function (t) {\n return o._map.zoomOut({}, {\n originalEvent: t\n });\n }), i.create(\"span\", \"mapboxgl-ctrl-icon\", this._zoomOutButton).setAttribute(\"aria-hidden\", !0)), this.options.showCompass && (t.bindAll([\"_rotateCompassArrow\"], this), this._compass = this._createButton(\"mapboxgl-ctrl-compass\", function (t) {\n o.options.visualizePitch ? o._map.resetNorthPitch({}, {\n originalEvent: t\n }) : o._map.resetNorth({}, {\n originalEvent: t\n });\n }), this._compassIcon = i.create(\"span\", \"mapboxgl-ctrl-icon\", this._compass), this._compassIcon.setAttribute(\"aria-hidden\", !0));\n };\n Dr.prototype._updateZoomButtons = function () {\n var t = this._map.getZoom(),\n e = t === this._map.getMaxZoom(),\n i = t === this._map.getMinZoom();\n this._zoomInButton.disabled = e, this._zoomOutButton.disabled = i, this._zoomInButton.setAttribute(\"aria-disabled\", e.toString()), this._zoomOutButton.setAttribute(\"aria-disabled\", i.toString());\n }, Dr.prototype._rotateCompassArrow = function () {\n var t = this.options.visualizePitch ? \"scale(\" + 1 / Math.pow(Math.cos(this._map.transform.pitch * (Math.PI / 180)), .5) + \") rotateX(\" + this._map.transform.pitch + \"deg) rotateZ(\" + this._map.transform.angle * (180 / Math.PI) + \"deg)\" : \"rotate(\" + this._map.transform.angle * (180 / Math.PI) + \"deg)\";\n this._compassIcon.style.transform = t;\n }, Dr.prototype.onAdd = function (t) {\n return this._map = t, this.options.showZoom && (this._setButtonTitle(this._zoomInButton, \"ZoomIn\"), this._setButtonTitle(this._zoomOutButton, \"ZoomOut\"), this._map.on(\"zoom\", this._updateZoomButtons), this._updateZoomButtons()), this.options.showCompass && (this._setButtonTitle(this._compass, \"ResetBearing\"), this.options.visualizePitch && this._map.on(\"pitch\", this._rotateCompassArrow), this._map.on(\"rotate\", this._rotateCompassArrow), this._rotateCompassArrow(), this._handler = new Ar(this._map, this._compass, this.options.visualizePitch)), this._container;\n }, Dr.prototype.onRemove = function () {\n i.remove(this._container), this.options.showZoom && this._map.off(\"zoom\", this._updateZoomButtons), this.options.showCompass && (this.options.visualizePitch && this._map.off(\"pitch\", this._rotateCompassArrow), this._map.off(\"rotate\", this._rotateCompassArrow), this._handler.off(), delete this._handler), delete this._map;\n }, Dr.prototype._createButton = function (t, e) {\n var o = i.create(\"button\", t, this._container);\n return o.type = \"button\", o.addEventListener(\"click\", e), o;\n }, Dr.prototype._setButtonTitle = function (t, e) {\n var i = this._map._getUIString(\"NavigationControl.\" + e);\n t.title = i, t.setAttribute(\"aria-label\", i);\n };\n var Ar = function (e, o, r) {\n void 0 === r && (r = !1), this._clickTolerance = 10, this.element = o, this.mouseRotate = new Xo({\n clickTolerance: e.dragRotate._mouseRotate._clickTolerance\n }), this.map = e, r && (this.mousePitch = new Ho({\n clickTolerance: e.dragRotate._mousePitch._clickTolerance\n })), t.bindAll([\"mousedown\", \"mousemove\", \"mouseup\", \"touchstart\", \"touchmove\", \"touchend\", \"reset\"], this), i.addEventListener(o, \"mousedown\", this.mousedown), i.addEventListener(o, \"touchstart\", this.touchstart, {\n passive: !1\n }), i.addEventListener(o, \"touchmove\", this.touchmove), i.addEventListener(o, \"touchend\", this.touchend), i.addEventListener(o, \"touchcancel\", this.reset);\n };\n function Mr(e, i, o) {\n if (e = new t.LngLat(e.lng, e.lat), i) {\n var r = new t.LngLat(e.lng - 360, e.lat),\n a = new t.LngLat(e.lng + 360, e.lat),\n n = o.locationPoint(e).distSqr(i);\n o.locationPoint(r).distSqr(i) < n ? e = r : o.locationPoint(a).distSqr(i) < n && (e = a);\n }\n for (; Math.abs(e.lng - o.center.lng) > 180;) {\n var s = o.locationPoint(e);\n if (s.x >= 0 && s.y >= 0 && s.x <= o.width && s.y <= o.height) break;\n e.lng > o.center.lng ? e.lng -= 360 : e.lng += 360;\n }\n return e;\n }\n Ar.prototype.down = function (t, e) {\n this.mouseRotate.mousedown(t, e), this.mousePitch && this.mousePitch.mousedown(t, e), i.disableDrag();\n }, Ar.prototype.move = function (t, e) {\n var i = this.map,\n o = this.mouseRotate.mousemoveWindow(t, e);\n if (o && o.bearingDelta && i.setBearing(i.getBearing() + o.bearingDelta), this.mousePitch) {\n var r = this.mousePitch.mousemoveWindow(t, e);\n r && r.pitchDelta && i.setPitch(i.getPitch() + r.pitchDelta);\n }\n }, Ar.prototype.off = function () {\n var t = this.element;\n i.removeEventListener(t, \"mousedown\", this.mousedown), i.removeEventListener(t, \"touchstart\", this.touchstart, {\n passive: !1\n }), i.removeEventListener(t, \"touchmove\", this.touchmove), i.removeEventListener(t, \"touchend\", this.touchend), i.removeEventListener(t, \"touchcancel\", this.reset), this.offTemp();\n }, Ar.prototype.offTemp = function () {\n i.enableDrag(), i.removeEventListener(t.window, \"mousemove\", this.mousemove), i.removeEventListener(t.window, \"mouseup\", this.mouseup);\n }, Ar.prototype.mousedown = function (e) {\n this.down(t.extend({}, e, {\n ctrlKey: !0,\n preventDefault: function () {\n return e.preventDefault();\n }\n }), i.mousePos(this.element, e)), i.addEventListener(t.window, \"mousemove\", this.mousemove), i.addEventListener(t.window, \"mouseup\", this.mouseup);\n }, Ar.prototype.mousemove = function (t) {\n this.move(t, i.mousePos(this.element, t));\n }, Ar.prototype.mouseup = function (t) {\n this.mouseRotate.mouseupWindow(t), this.mousePitch && this.mousePitch.mouseupWindow(t), this.offTemp();\n }, Ar.prototype.touchstart = function (t) {\n 1 !== t.targetTouches.length ? this.reset() : (this._startPos = this._lastPos = i.touchPos(this.element, t.targetTouches)[0], this.down({\n type: \"mousedown\",\n button: 0,\n ctrlKey: !0,\n preventDefault: function () {\n return t.preventDefault();\n }\n }, this._startPos));\n }, Ar.prototype.touchmove = function (t) {\n 1 !== t.targetTouches.length ? this.reset() : (this._lastPos = i.touchPos(this.element, t.targetTouches)[0], this.move({\n preventDefault: function () {\n return t.preventDefault();\n }\n }, this._lastPos));\n }, Ar.prototype.touchend = function (t) {\n 0 === t.targetTouches.length && this._startPos && this._lastPos && this._startPos.dist(this._lastPos) < this._clickTolerance && this.element.click(), this.reset();\n }, Ar.prototype.reset = function () {\n this.mouseRotate.reset(), this.mousePitch && this.mousePitch.reset(), delete this._startPos, delete this._lastPos, this.offTemp();\n };\n var Lr = {\n center: \"translate(-50%,-50%)\",\n top: \"translate(-50%,0)\",\n \"top-left\": \"translate(0,0)\",\n \"top-right\": \"translate(-100%,0)\",\n bottom: \"translate(-50%,-100%)\",\n \"bottom-left\": \"translate(0,-100%)\",\n \"bottom-right\": \"translate(-100%,-100%)\",\n left: \"translate(0,-50%)\",\n right: \"translate(-100%,-50%)\"\n };\n function Rr(t, e, i) {\n var o = t.classList;\n for (var r in Lr) o.remove(\"mapboxgl-\" + i + \"-anchor-\" + r);\n o.add(\"mapboxgl-\" + i + \"-anchor-\" + e);\n }\n var kr,\n Br = function (e) {\n function o(o, r) {\n if (e.call(this), (o instanceof t.window.HTMLElement || r) && (o = t.extend({\n element: o\n }, r)), t.bindAll([\"_update\", \"_onMove\", \"_onUp\", \"_addDragHandler\", \"_onMapClick\", \"_onKeyPress\"], this), this._anchor = o && o.anchor || \"center\", this._color = o && o.color || \"#3FB1CE\", this._scale = o && o.scale || 1, this._draggable = o && o.draggable || !1, this._clickTolerance = o && o.clickTolerance || 0, this._isDragging = !1, this._state = \"inactive\", this._rotation = o && o.rotation || 0, this._rotationAlignment = o && o.rotationAlignment || \"auto\", this._pitchAlignment = o && o.pitchAlignment && \"auto\" !== o.pitchAlignment ? o.pitchAlignment : this._rotationAlignment, o && o.element) this._element = o.element, this._offset = t.Point.convert(o && o.offset || [0, 0]);else {\n this._defaultMarker = !0, this._element = i.create(\"div\"), this._element.setAttribute(\"aria-label\", \"Map marker\");\n var a = i.createNS(\"http://www.w3.org/2000/svg\", \"svg\");\n a.setAttributeNS(null, \"display\", \"block\"), a.setAttributeNS(null, \"height\", \"41px\"), a.setAttributeNS(null, \"width\", \"27px\"), a.setAttributeNS(null, \"viewBox\", \"0 0 27 41\");\n var n = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n n.setAttributeNS(null, \"stroke\", \"none\"), n.setAttributeNS(null, \"stroke-width\", \"1\"), n.setAttributeNS(null, \"fill\", \"none\"), n.setAttributeNS(null, \"fill-rule\", \"evenodd\");\n var s = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n s.setAttributeNS(null, \"fill-rule\", \"nonzero\");\n var l = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n l.setAttributeNS(null, \"transform\", \"translate(3.0, 29.0)\"), l.setAttributeNS(null, \"fill\", \"#000000\");\n for (var c = 0, u = [{\n rx: \"10.5\",\n ry: \"5.25002273\"\n }, {\n rx: \"10.5\",\n ry: \"5.25002273\"\n }, {\n rx: \"9.5\",\n ry: \"4.77275007\"\n }, {\n rx: \"8.5\",\n ry: \"4.29549936\"\n }, {\n rx: \"7.5\",\n ry: \"3.81822308\"\n }, {\n rx: \"6.5\",\n ry: \"3.34094679\"\n }, {\n rx: \"5.5\",\n ry: \"2.86367051\"\n }, {\n rx: \"4.5\",\n ry: \"2.38636864\"\n }]; c < u.length; c += 1) {\n var h = u[c],\n p = i.createNS(\"http://www.w3.org/2000/svg\", \"ellipse\");\n p.setAttributeNS(null, \"opacity\", \"0.04\"), p.setAttributeNS(null, \"cx\", \"10.5\"), p.setAttributeNS(null, \"cy\", \"5.80029008\"), p.setAttributeNS(null, \"rx\", h.rx), p.setAttributeNS(null, \"ry\", h.ry), l.appendChild(p);\n }\n var d = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n d.setAttributeNS(null, \"fill\", this._color);\n var _ = i.createNS(\"http://www.w3.org/2000/svg\", \"path\");\n _.setAttributeNS(null, \"d\", \"M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z\"), d.appendChild(_);\n var f = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n f.setAttributeNS(null, \"opacity\", \"0.25\"), f.setAttributeNS(null, \"fill\", \"#000000\");\n var m = i.createNS(\"http://www.w3.org/2000/svg\", \"path\");\n m.setAttributeNS(null, \"d\", \"M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z\"), f.appendChild(m);\n var g = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n g.setAttributeNS(null, \"transform\", \"translate(6.0, 7.0)\"), g.setAttributeNS(null, \"fill\", \"#FFFFFF\");\n var v = i.createNS(\"http://www.w3.org/2000/svg\", \"g\");\n v.setAttributeNS(null, \"transform\", \"translate(8.0, 8.0)\");\n var y = i.createNS(\"http://www.w3.org/2000/svg\", \"circle\");\n y.setAttributeNS(null, \"fill\", \"#000000\"), y.setAttributeNS(null, \"opacity\", \"0.25\"), y.setAttributeNS(null, \"cx\", \"5.5\"), y.setAttributeNS(null, \"cy\", \"5.5\"), y.setAttributeNS(null, \"r\", \"5.4999962\");\n var x = i.createNS(\"http://www.w3.org/2000/svg\", \"circle\");\n x.setAttributeNS(null, \"fill\", \"#FFFFFF\"), x.setAttributeNS(null, \"cx\", \"5.5\"), x.setAttributeNS(null, \"cy\", \"5.5\"), x.setAttributeNS(null, \"r\", \"5.4999962\"), v.appendChild(y), v.appendChild(x), s.appendChild(l), s.appendChild(d), s.appendChild(f), s.appendChild(g), s.appendChild(v), a.appendChild(s), a.setAttributeNS(null, \"height\", 41 * this._scale + \"px\"), a.setAttributeNS(null, \"width\", 27 * this._scale + \"px\"), this._element.appendChild(a), this._offset = t.Point.convert(o && o.offset || [0, -14]);\n }\n this._element.classList.add(\"mapboxgl-marker\"), this._element.addEventListener(\"dragstart\", function (t) {\n t.preventDefault();\n }), this._element.addEventListener(\"mousedown\", function (t) {\n t.preventDefault();\n }), Rr(this._element, this._anchor, \"marker\"), this._popup = null;\n }\n return e && (o.__proto__ = e), (o.prototype = Object.create(e && e.prototype)).constructor = o, o.prototype.addTo = function (t) {\n return this.remove(), this._map = t, t.getCanvasContainer().appendChild(this._element), t.on(\"move\", this._update), t.on(\"moveend\", this._update), this.setDraggable(this._draggable), this._update(), this._map.on(\"click\", this._onMapClick), this;\n }, o.prototype.remove = function () {\n return this._map && (this._map.off(\"click\", this._onMapClick), this._map.off(\"move\", this._update), this._map.off(\"moveend\", this._update), this._map.off(\"mousedown\", this._addDragHandler), this._map.off(\"touchstart\", this._addDragHandler), this._map.off(\"mouseup\", this._onUp), this._map.off(\"touchend\", this._onUp), this._map.off(\"mousemove\", this._onMove), this._map.off(\"touchmove\", this._onMove), delete this._map), i.remove(this._element), this._popup && this._popup.remove(), this;\n }, o.prototype.getLngLat = function () {\n return this._lngLat;\n }, o.prototype.setLngLat = function (e) {\n return this._lngLat = t.LngLat.convert(e), this._pos = null, this._popup && this._popup.setLngLat(this._lngLat), this._update(), this;\n }, o.prototype.getElement = function () {\n return this._element;\n }, o.prototype.setPopup = function (t) {\n if (this._popup && (this._popup.remove(), this._popup = null, this._element.removeEventListener(\"keypress\", this._onKeyPress), this._originalTabIndex || this._element.removeAttribute(\"tabindex\")), t) {\n if (!(\"offset\" in t.options)) {\n var e = Math.sqrt(Math.pow(13.5, 2) / 2);\n t.options.offset = this._defaultMarker ? {\n top: [0, 0],\n \"top-left\": [0, 0],\n \"top-right\": [0, 0],\n bottom: [0, -38.1],\n \"bottom-left\": [e, -1 * (24.6 + e)],\n \"bottom-right\": [-e, -1 * (24.6 + e)],\n left: [13.5, -24.6],\n right: [-13.5, -24.6]\n } : this._offset;\n }\n this._popup = t, this._lngLat && this._popup.setLngLat(this._lngLat), this._originalTabIndex = this._element.getAttribute(\"tabindex\"), this._originalTabIndex || this._element.setAttribute(\"tabindex\", \"0\"), this._element.addEventListener(\"keypress\", this._onKeyPress);\n }\n return this;\n }, o.prototype._onKeyPress = function (t) {\n var e = t.code,\n i = t.charCode || t.keyCode;\n \"Space\" !== e && \"Enter\" !== e && 32 !== i && 13 !== i || this.togglePopup();\n }, o.prototype._onMapClick = function (t) {\n var e = t.originalEvent.target,\n i = this._element;\n this._popup && (e === i || i.contains(e)) && this.togglePopup();\n }, o.prototype.getPopup = function () {\n return this._popup;\n }, o.prototype.togglePopup = function () {\n var t = this._popup;\n return t ? (t.isOpen() ? t.remove() : t.addTo(this._map), this) : this;\n }, o.prototype._update = function (t) {\n if (this._map) {\n this._map.transform.renderWorldCopies && (this._lngLat = Mr(this._lngLat, this._pos, this._map.transform)), this._pos = this._map.project(this._lngLat)._add(this._offset);\n var e = \"\";\n \"viewport\" === this._rotationAlignment || \"auto\" === this._rotationAlignment ? e = \"rotateZ(\" + this._rotation + \"deg)\" : \"map\" === this._rotationAlignment && (e = \"rotateZ(\" + (this._rotation - this._map.getBearing()) + \"deg)\");\n var o = \"\";\n \"viewport\" === this._pitchAlignment || \"auto\" === this._pitchAlignment ? o = \"rotateX(0deg)\" : \"map\" === this._pitchAlignment && (o = \"rotateX(\" + this._map.getPitch() + \"deg)\"), t && \"moveend\" !== t.type || (this._pos = this._pos.round()), i.setTransform(this._element, Lr[this._anchor] + \" translate(\" + this._pos.x + \"px, \" + this._pos.y + \"px) \" + o + \" \" + e);\n }\n }, o.prototype.getOffset = function () {\n return this._offset;\n }, o.prototype.setOffset = function (e) {\n return this._offset = t.Point.convert(e), this._update(), this;\n }, o.prototype._onMove = function (e) {\n if (!this._isDragging) {\n var i = this._clickTolerance || this._map._clickTolerance;\n this._isDragging = e.point.dist(this._pointerdownPos) >= i;\n }\n this._isDragging && (this._pos = e.point.sub(this._positionDelta), this._lngLat = this._map.unproject(this._pos), this.setLngLat(this._lngLat), this._element.style.pointerEvents = \"none\", \"pending\" === this._state && (this._state = \"active\", this.fire(new t.Event(\"dragstart\"))), this.fire(new t.Event(\"drag\")));\n }, o.prototype._onUp = function () {\n this._element.style.pointerEvents = \"auto\", this._positionDelta = null, this._pointerdownPos = null, this._isDragging = !1, this._map.off(\"mousemove\", this._onMove), this._map.off(\"touchmove\", this._onMove), \"active\" === this._state && this.fire(new t.Event(\"dragend\")), this._state = \"inactive\";\n }, o.prototype._addDragHandler = function (t) {\n this._element.contains(t.originalEvent.target) && (t.preventDefault(), this._positionDelta = t.point.sub(this._pos).add(this._offset), this._pointerdownPos = t.point, this._state = \"pending\", this._map.on(\"mousemove\", this._onMove), this._map.on(\"touchmove\", this._onMove), this._map.once(\"mouseup\", this._onUp), this._map.once(\"touchend\", this._onUp));\n }, o.prototype.setDraggable = function (t) {\n return this._draggable = !!t, this._map && (t ? (this._map.on(\"mousedown\", this._addDragHandler), this._map.on(\"touchstart\", this._addDragHandler)) : (this._map.off(\"mousedown\", this._addDragHandler), this._map.off(\"touchstart\", this._addDragHandler))), this;\n }, o.prototype.isDraggable = function () {\n return this._draggable;\n }, o.prototype.setRotation = function (t) {\n return this._rotation = t || 0, this._update(), this;\n }, o.prototype.getRotation = function () {\n return this._rotation;\n }, o.prototype.setRotationAlignment = function (t) {\n return this._rotationAlignment = t || \"auto\", this._update(), this;\n }, o.prototype.getRotationAlignment = function () {\n return this._rotationAlignment;\n }, o.prototype.setPitchAlignment = function (t) {\n return this._pitchAlignment = t && \"auto\" !== t ? t : this._rotationAlignment, this._update(), this;\n }, o.prototype.getPitchAlignment = function () {\n return this._pitchAlignment;\n }, o;\n }(t.Evented),\n Or = {\n positionOptions: {\n enableHighAccuracy: !1,\n maximumAge: 0,\n timeout: 6e3\n },\n fitBoundsOptions: {\n maxZoom: 15\n },\n trackUserLocation: !1,\n showAccuracyCircle: !0,\n showUserLocation: !0\n },\n Fr = 0,\n Ur = !1,\n Nr = function (e) {\n function o(i) {\n e.call(this), this.options = t.extend({}, Or, i), t.bindAll([\"_onSuccess\", \"_onError\", \"_onZoom\", \"_finish\", \"_setupUI\", \"_updateCamera\", \"_updateMarker\"], this);\n }\n return e && (o.__proto__ = e), (o.prototype = Object.create(e && e.prototype)).constructor = o, o.prototype.onAdd = function (e) {\n var o;\n return this._map = e, this._container = i.create(\"div\", \"mapboxgl-ctrl mapboxgl-ctrl-group\"), o = this._setupUI, void 0 !== kr ? o(kr) : void 0 !== t.window.navigator.permissions ? t.window.navigator.permissions.query({\n name: \"geolocation\"\n }).then(function (t) {\n o(kr = \"denied\" !== t.state);\n }) : o(kr = !!t.window.navigator.geolocation), this._container;\n }, o.prototype.onRemove = function () {\n void 0 !== this._geolocationWatchID && (t.window.navigator.geolocation.clearWatch(this._geolocationWatchID), this._geolocationWatchID = void 0), this.options.showUserLocation && this._userLocationDotMarker && this._userLocationDotMarker.remove(), this.options.showAccuracyCircle && this._accuracyCircleMarker && this._accuracyCircleMarker.remove(), i.remove(this._container), this._map.off(\"zoom\", this._onZoom), this._map = void 0, Fr = 0, Ur = !1;\n }, o.prototype._isOutOfMapMaxBounds = function (t) {\n var e = this._map.getMaxBounds(),\n i = t.coords;\n return e && (i.longitude < e.getWest() || i.longitude > e.getEast() || i.latitude < e.getSouth() || i.latitude > e.getNorth());\n }, o.prototype._setErrorState = function () {\n switch (this._watchState) {\n case \"WAITING_ACTIVE\":\n this._watchState = \"ACTIVE_ERROR\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");\n break;\n case \"ACTIVE_LOCK\":\n this._watchState = \"ACTIVE_ERROR\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");\n break;\n case \"BACKGROUND\":\n this._watchState = \"BACKGROUND_ERROR\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");\n }\n }, o.prototype._onSuccess = function (e) {\n if (this._map) {\n if (this._isOutOfMapMaxBounds(e)) return this._setErrorState(), this.fire(new t.Event(\"outofmaxbounds\", e)), this._updateMarker(), void this._finish();\n if (this.options.trackUserLocation) switch (this._lastKnownPosition = e, this._watchState) {\n case \"WAITING_ACTIVE\":\n case \"ACTIVE_LOCK\":\n case \"ACTIVE_ERROR\":\n this._watchState = \"ACTIVE_LOCK\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");\n break;\n case \"BACKGROUND\":\n case \"BACKGROUND_ERROR\":\n this._watchState = \"BACKGROUND\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");\n }\n this.options.showUserLocation && \"OFF\" !== this._watchState && this._updateMarker(e), this.options.trackUserLocation && \"ACTIVE_LOCK\" !== this._watchState || this._updateCamera(e), this.options.showUserLocation && this._dotElement.classList.remove(\"mapboxgl-user-location-dot-stale\"), this.fire(new t.Event(\"geolocate\", e)), this._finish();\n }\n }, o.prototype._updateCamera = function (e) {\n var i = new t.LngLat(e.coords.longitude, e.coords.latitude),\n o = e.coords.accuracy,\n r = this._map.getBearing(),\n a = t.extend({\n bearing: r\n }, this.options.fitBoundsOptions);\n this._map.fitBounds(i.toBounds(o), a, {\n geolocateSource: !0\n });\n }, o.prototype._updateMarker = function (e) {\n if (e) {\n var i = new t.LngLat(e.coords.longitude, e.coords.latitude);\n this._accuracyCircleMarker.setLngLat(i).addTo(this._map), this._userLocationDotMarker.setLngLat(i).addTo(this._map), this._accuracy = e.coords.accuracy, this.options.showUserLocation && this.options.showAccuracyCircle && this._updateCircleRadius();\n } else this._userLocationDotMarker.remove(), this._accuracyCircleMarker.remove();\n }, o.prototype._updateCircleRadius = function () {\n var t = this._map._container.clientHeight / 2,\n e = this._map.unproject([0, t]),\n i = this._map.unproject([1, t]),\n o = e.distanceTo(i),\n r = Math.ceil(2 * this._accuracy / o);\n this._circleElement.style.width = r + \"px\", this._circleElement.style.height = r + \"px\";\n }, o.prototype._onZoom = function () {\n this.options.showUserLocation && this.options.showAccuracyCircle && this._updateCircleRadius();\n }, o.prototype._onError = function (e) {\n if (this._map) {\n if (this.options.trackUserLocation) if (1 === e.code) {\n this._watchState = \"OFF\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"), this._geolocateButton.disabled = !0;\n var i = this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");\n this._geolocateButton.title = i, this._geolocateButton.setAttribute(\"aria-label\", i), void 0 !== this._geolocationWatchID && this._clearWatch();\n } else {\n if (3 === e.code && Ur) return;\n this._setErrorState();\n }\n \"OFF\" !== this._watchState && this.options.showUserLocation && this._dotElement.classList.add(\"mapboxgl-user-location-dot-stale\"), this.fire(new t.Event(\"error\", e)), this._finish();\n }\n }, o.prototype._finish = function () {\n this._timeoutId && clearTimeout(this._timeoutId), this._timeoutId = void 0;\n }, o.prototype._setupUI = function (e) {\n var o = this;\n if (this._container.addEventListener(\"contextmenu\", function (t) {\n return t.preventDefault();\n }), this._geolocateButton = i.create(\"button\", \"mapboxgl-ctrl-geolocate\", this._container), i.create(\"span\", \"mapboxgl-ctrl-icon\", this._geolocateButton).setAttribute(\"aria-hidden\", !0), this._geolocateButton.type = \"button\", !1 === e) {\n t.warnOnce(\"Geolocation support is not available so the GeolocateControl will be disabled.\");\n var r = this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");\n this._geolocateButton.disabled = !0, this._geolocateButton.title = r, this._geolocateButton.setAttribute(\"aria-label\", r);\n } else {\n var a = this._map._getUIString(\"GeolocateControl.FindMyLocation\");\n this._geolocateButton.title = a, this._geolocateButton.setAttribute(\"aria-label\", a);\n }\n this.options.trackUserLocation && (this._geolocateButton.setAttribute(\"aria-pressed\", \"false\"), this._watchState = \"OFF\"), this.options.showUserLocation && (this._dotElement = i.create(\"div\", \"mapboxgl-user-location-dot\"), this._userLocationDotMarker = new Br(this._dotElement), this._circleElement = i.create(\"div\", \"mapboxgl-user-location-accuracy-circle\"), this._accuracyCircleMarker = new Br({\n element: this._circleElement,\n pitchAlignment: \"map\"\n }), this.options.trackUserLocation && (this._watchState = \"OFF\"), this._map.on(\"zoom\", this._onZoom)), this._geolocateButton.addEventListener(\"click\", this.trigger.bind(this)), this._setup = !0, this.options.trackUserLocation && this._map.on(\"movestart\", function (e) {\n e.geolocateSource || \"ACTIVE_LOCK\" !== o._watchState || e.originalEvent && \"resize\" === e.originalEvent.type || (o._watchState = \"BACKGROUND\", o._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\"), o._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"), o.fire(new t.Event(\"trackuserlocationend\")));\n });\n }, o.prototype.trigger = function () {\n if (!this._setup) return t.warnOnce(\"Geolocate control triggered before added to a map\"), !1;\n if (this.options.trackUserLocation) {\n switch (this._watchState) {\n case \"OFF\":\n this._watchState = \"WAITING_ACTIVE\", this.fire(new t.Event(\"trackuserlocationstart\"));\n break;\n case \"WAITING_ACTIVE\":\n case \"ACTIVE_LOCK\":\n case \"ACTIVE_ERROR\":\n case \"BACKGROUND_ERROR\":\n Fr--, Ur = !1, this._watchState = \"OFF\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"), this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"), this.fire(new t.Event(\"trackuserlocationend\"));\n break;\n case \"BACKGROUND\":\n this._watchState = \"ACTIVE_LOCK\", this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"), this._lastKnownPosition && this._updateCamera(this._lastKnownPosition), this.fire(new t.Event(\"trackuserlocationstart\"));\n }\n switch (this._watchState) {\n case \"WAITING_ACTIVE\":\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");\n break;\n case \"ACTIVE_LOCK\":\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");\n break;\n case \"ACTIVE_ERROR\":\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");\n break;\n case \"BACKGROUND\":\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");\n break;\n case \"BACKGROUND_ERROR\":\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\");\n }\n if (\"OFF\" === this._watchState && void 0 !== this._geolocationWatchID) this._clearWatch();else if (void 0 === this._geolocationWatchID) {\n var e;\n this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.setAttribute(\"aria-pressed\", \"true\"), ++Fr > 1 ? (e = {\n maximumAge: 6e5,\n timeout: 0\n }, Ur = !0) : (e = this.options.positionOptions, Ur = !1), this._geolocationWatchID = t.window.navigator.geolocation.watchPosition(this._onSuccess, this._onError, e);\n }\n } else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess, this._onError, this.options.positionOptions), this._timeoutId = setTimeout(this._finish, 1e4);\n return !0;\n }, o.prototype._clearWatch = function () {\n t.window.navigator.geolocation.clearWatch(this._geolocationWatchID), this._geolocationWatchID = void 0, this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"), this._geolocateButton.setAttribute(\"aria-pressed\", \"false\"), this.options.showUserLocation && this._updateMarker(null);\n }, o;\n }(t.Evented),\n Zr = {\n maxWidth: 100,\n unit: \"metric\"\n },\n qr = function (e) {\n this.options = t.extend({}, Zr, e), t.bindAll([\"_onMove\", \"setUnit\"], this);\n };\n function jr(t, e, i) {\n var o = i && i.maxWidth || 100,\n r = t._container.clientHeight / 2,\n a = t.unproject([0, r]),\n n = t.unproject([o, r]),\n s = a.distanceTo(n);\n if (i && \"imperial\" === i.unit) {\n var l = 3.2808 * s;\n l > 5280 ? Vr(e, o, l / 5280, t._getUIString(\"ScaleControl.Miles\")) : Vr(e, o, l, t._getUIString(\"ScaleControl.Feet\"));\n } else i && \"nautical\" === i.unit ? Vr(e, o, s / 1852, t._getUIString(\"ScaleControl.NauticalMiles\")) : s >= 1e3 ? Vr(e, o, s / 1e3, t._getUIString(\"ScaleControl.Kilometers\")) : Vr(e, o, s, t._getUIString(\"ScaleControl.Meters\"));\n }\n function Vr(t, e, i, o) {\n var r,\n a,\n n,\n s = (r = i, (a = Math.pow(10, (\"\" + Math.floor(r)).length - 1)) * (n = (n = r / a) >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : n >= 1 ? 1 : function (t) {\n var e = Math.pow(10, Math.ceil(-Math.log(t) / Math.LN10));\n return Math.round(t * e) / e;\n }(n)));\n t.style.width = e * (s / i) + \"px\", t.innerHTML = s + \" \" + o;\n }\n qr.prototype.getDefaultPosition = function () {\n return \"bottom-left\";\n }, qr.prototype._onMove = function () {\n jr(this._map, this._container, this.options);\n }, qr.prototype.onAdd = function (t) {\n return this._map = t, this._container = i.create(\"div\", \"mapboxgl-ctrl mapboxgl-ctrl-scale\", t.getContainer()), this._map.on(\"move\", this._onMove), this._onMove(), this._container;\n }, qr.prototype.onRemove = function () {\n i.remove(this._container), this._map.off(\"move\", this._onMove), this._map = void 0;\n }, qr.prototype.setUnit = function (t) {\n this.options.unit = t, jr(this._map, this._container, this.options);\n };\n var Gr = function (e) {\n this._fullscreen = !1, e && e.container && (e.container instanceof t.window.HTMLElement ? this._container = e.container : t.warnOnce(\"Full screen control 'container' must be a DOM element.\")), t.bindAll([\"_onClickFullscreen\", \"_changeIcon\"], this), \"onfullscreenchange\" in t.window.document ? this._fullscreenchange = \"fullscreenchange\" : \"onmozfullscreenchange\" in t.window.document ? this._fullscreenchange = \"mozfullscreenchange\" : \"onwebkitfullscreenchange\" in t.window.document ? this._fullscreenchange = \"webkitfullscreenchange\" : \"onmsfullscreenchange\" in t.window.document && (this._fullscreenchange = \"MSFullscreenChange\");\n };\n Gr.prototype.onAdd = function (e) {\n return this._map = e, this._container || (this._container = this._map.getContainer()), this._controlContainer = i.create(\"div\", \"mapboxgl-ctrl mapboxgl-ctrl-group\"), this._checkFullscreenSupport() ? this._setupUI() : (this._controlContainer.style.display = \"none\", t.warnOnce(\"This device does not support fullscreen mode.\")), this._controlContainer;\n }, Gr.prototype.onRemove = function () {\n i.remove(this._controlContainer), this._map = null, t.window.document.removeEventListener(this._fullscreenchange, this._changeIcon);\n }, Gr.prototype._checkFullscreenSupport = function () {\n return !!(t.window.document.fullscreenEnabled || t.window.document.mozFullScreenEnabled || t.window.document.msFullscreenEnabled || t.window.document.webkitFullscreenEnabled);\n }, Gr.prototype._setupUI = function () {\n var e = this._fullscreenButton = i.create(\"button\", \"mapboxgl-ctrl-fullscreen\", this._controlContainer);\n i.create(\"span\", \"mapboxgl-ctrl-icon\", e).setAttribute(\"aria-hidden\", !0), e.type = \"button\", this._updateTitle(), this._fullscreenButton.addEventListener(\"click\", this._onClickFullscreen), t.window.document.addEventListener(this._fullscreenchange, this._changeIcon);\n }, Gr.prototype._updateTitle = function () {\n var t = this._getTitle();\n this._fullscreenButton.setAttribute(\"aria-label\", t), this._fullscreenButton.title = t;\n }, Gr.prototype._getTitle = function () {\n return this._map._getUIString(this._isFullscreen() ? \"FullscreenControl.Exit\" : \"FullscreenControl.Enter\");\n }, Gr.prototype._isFullscreen = function () {\n return this._fullscreen;\n }, Gr.prototype._changeIcon = function () {\n (t.window.document.fullscreenElement || t.window.document.mozFullScreenElement || t.window.document.webkitFullscreenElement || t.window.document.msFullscreenElement) === this._container !== this._fullscreen && (this._fullscreen = !this._fullscreen, this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-shrink\"), this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-fullscreen\"), this._updateTitle());\n }, Gr.prototype._onClickFullscreen = function () {\n this._isFullscreen() ? t.window.document.exitFullscreen ? t.window.document.exitFullscreen() : t.window.document.mozCancelFullScreen ? t.window.document.mozCancelFullScreen() : t.window.document.msExitFullscreen ? t.window.document.msExitFullscreen() : t.window.document.webkitCancelFullScreen && t.window.document.webkitCancelFullScreen() : this._container.requestFullscreen ? this._container.requestFullscreen() : this._container.mozRequestFullScreen ? this._container.mozRequestFullScreen() : this._container.msRequestFullscreen ? this._container.msRequestFullscreen() : this._container.webkitRequestFullscreen && this._container.webkitRequestFullscreen();\n };\n var Wr = {\n closeButton: !0,\n closeOnClick: !0,\n focusAfterOpen: !0,\n className: \"\",\n maxWidth: \"240px\"\n },\n Xr = [\"a[href]\", \"[tabindex]:not([tabindex='-1'])\", \"[contenteditable]:not([contenteditable='false'])\", \"button:not([disabled])\", \"input:not([disabled])\", \"select:not([disabled])\", \"textarea:not([disabled])\"].join(\", \"),\n Hr = function (e) {\n function o(i) {\n e.call(this), this.options = t.extend(Object.create(Wr), i), t.bindAll([\"_update\", \"_onClose\", \"remove\", \"_onMouseMove\", \"_onMouseUp\", \"_onDrag\"], this);\n }\n return e && (o.__proto__ = e), (o.prototype = Object.create(e && e.prototype)).constructor = o, o.prototype.addTo = function (e) {\n return this._map && this.remove(), this._map = e, this.options.closeOnClick && this._map.on(\"click\", this._onClose), this.options.closeOnMove && this._map.on(\"move\", this._onClose), this._map.on(\"remove\", this.remove), this._update(), this._focusFirstElement(), this._trackPointer ? (this._map.on(\"mousemove\", this._onMouseMove), this._map.on(\"mouseup\", this._onMouseUp), this._container && this._container.classList.add(\"mapboxgl-popup-track-pointer\"), this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")) : this._map.on(\"move\", this._update), this.fire(new t.Event(\"open\")), this;\n }, o.prototype.isOpen = function () {\n return !!this._map;\n }, o.prototype.remove = function () {\n return this._content && i.remove(this._content), this._container && (i.remove(this._container), delete this._container), this._map && (this._map.off(\"move\", this._update), this._map.off(\"move\", this._onClose), this._map.off(\"click\", this._onClose), this._map.off(\"remove\", this.remove), this._map.off(\"mousemove\", this._onMouseMove), this._map.off(\"mouseup\", this._onMouseUp), this._map.off(\"drag\", this._onDrag), delete this._map), this.fire(new t.Event(\"close\")), this;\n }, o.prototype.getLngLat = function () {\n return this._lngLat;\n }, o.prototype.setLngLat = function (e) {\n return this._lngLat = t.LngLat.convert(e), this._pos = null, this._trackPointer = !1, this._update(), this._map && (this._map.on(\"move\", this._update), this._map.off(\"mousemove\", this._onMouseMove), this._container && this._container.classList.remove(\"mapboxgl-popup-track-pointer\"), this._map._canvasContainer.classList.remove(\"mapboxgl-track-pointer\")), this;\n }, o.prototype.trackPointer = function () {\n return this._trackPointer = !0, this._pos = null, this._update(), this._map && (this._map.off(\"move\", this._update), this._map.on(\"mousemove\", this._onMouseMove), this._map.on(\"drag\", this._onDrag), this._container && this._container.classList.add(\"mapboxgl-popup-track-pointer\"), this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")), this;\n }, o.prototype.getElement = function () {\n return this._container;\n }, o.prototype.setText = function (e) {\n return this.setDOMContent(t.window.document.createTextNode(e));\n }, o.prototype.setHTML = function (e) {\n var i,\n o = t.window.document.createDocumentFragment(),\n r = t.window.document.createElement(\"body\");\n for (r.innerHTML = e; i = r.firstChild;) o.appendChild(i);\n return this.setDOMContent(o);\n }, o.prototype.getMaxWidth = function () {\n return this._container && this._container.style.maxWidth;\n }, o.prototype.setMaxWidth = function (t) {\n return this.options.maxWidth = t, this._update(), this;\n }, o.prototype.setDOMContent = function (t) {\n if (this._content) for (; this._content.hasChildNodes();) this._content.firstChild && this._content.removeChild(this._content.firstChild);else this._content = i.create(\"div\", \"mapboxgl-popup-content\", this._container);\n return this._content.appendChild(t), this._createCloseButton(), this._update(), this._focusFirstElement(), this;\n }, o.prototype.addClassName = function (t) {\n this._container && this._container.classList.add(t);\n }, o.prototype.removeClassName = function (t) {\n this._container && this._container.classList.remove(t);\n }, o.prototype.setOffset = function (t) {\n return this.options.offset = t, this._update(), this;\n }, o.prototype.toggleClassName = function (t) {\n if (this._container) return this._container.classList.toggle(t);\n }, o.prototype._createCloseButton = function () {\n this.options.closeButton && (this._closeButton = i.create(\"button\", \"mapboxgl-popup-close-button\", this._content), this._closeButton.type = \"button\", this._closeButton.setAttribute(\"aria-label\", \"Close popup\"), this._closeButton.innerHTML = \"×\", this._closeButton.addEventListener(\"click\", this._onClose));\n }, o.prototype._onMouseUp = function (t) {\n this._update(t.point);\n }, o.prototype._onMouseMove = function (t) {\n this._update(t.point);\n }, o.prototype._onDrag = function (t) {\n this._update(t.point);\n }, o.prototype._update = function (e) {\n var o = this;\n if (this._map && (this._lngLat || this._trackPointer) && this._content && (this._container || (this._container = i.create(\"div\", \"mapboxgl-popup\", this._map.getContainer()), this._tip = i.create(\"div\", \"mapboxgl-popup-tip\", this._container), this._container.appendChild(this._content), this.options.className && this.options.className.split(\" \").forEach(function (t) {\n return o._container.classList.add(t);\n }), this._trackPointer && this._container.classList.add(\"mapboxgl-popup-track-pointer\")), this.options.maxWidth && this._container.style.maxWidth !== this.options.maxWidth && (this._container.style.maxWidth = this.options.maxWidth), this._map.transform.renderWorldCopies && !this._trackPointer && (this._lngLat = Mr(this._lngLat, this._pos, this._map.transform)), !this._trackPointer || e)) {\n var r = this._pos = this._trackPointer && e ? e : this._map.project(this._lngLat),\n a = this.options.anchor,\n n = function e(i) {\n if (i) {\n if (\"number\" == typeof i) {\n var o = Math.round(Math.sqrt(.5 * Math.pow(i, 2)));\n return {\n center: new t.Point(0, 0),\n top: new t.Point(0, i),\n \"top-left\": new t.Point(o, o),\n \"top-right\": new t.Point(-o, o),\n bottom: new t.Point(0, -i),\n \"bottom-left\": new t.Point(o, -o),\n \"bottom-right\": new t.Point(-o, -o),\n left: new t.Point(i, 0),\n right: new t.Point(-i, 0)\n };\n }\n if (i instanceof t.Point || Array.isArray(i)) {\n var r = t.Point.convert(i);\n return {\n center: r,\n top: r,\n \"top-left\": r,\n \"top-right\": r,\n bottom: r,\n \"bottom-left\": r,\n \"bottom-right\": r,\n left: r,\n right: r\n };\n }\n return {\n center: t.Point.convert(i.center || [0, 0]),\n top: t.Point.convert(i.top || [0, 0]),\n \"top-left\": t.Point.convert(i[\"top-left\"] || [0, 0]),\n \"top-right\": t.Point.convert(i[\"top-right\"] || [0, 0]),\n bottom: t.Point.convert(i.bottom || [0, 0]),\n \"bottom-left\": t.Point.convert(i[\"bottom-left\"] || [0, 0]),\n \"bottom-right\": t.Point.convert(i[\"bottom-right\"] || [0, 0]),\n left: t.Point.convert(i.left || [0, 0]),\n right: t.Point.convert(i.right || [0, 0])\n };\n }\n return e(new t.Point(0, 0));\n }(this.options.offset);\n if (!a) {\n var s,\n l = this._container.offsetWidth,\n c = this._container.offsetHeight;\n s = r.y + n.bottom.y < c ? [\"top\"] : r.y > this._map.transform.height - c ? [\"bottom\"] : [], r.x < l / 2 ? s.push(\"left\") : r.x > this._map.transform.width - l / 2 && s.push(\"right\"), a = 0 === s.length ? \"bottom\" : s.join(\"-\");\n }\n var u = r.add(n[a]).round();\n i.setTransform(this._container, Lr[a] + \" translate(\" + u.x + \"px,\" + u.y + \"px)\"), Rr(this._container, a, \"popup\");\n }\n }, o.prototype._focusFirstElement = function () {\n if (this.options.focusAfterOpen && this._container) {\n var t = this._container.querySelector(Xr);\n t && t.focus();\n }\n }, o.prototype._onClose = function () {\n this.remove();\n }, o;\n }(t.Evented),\n Kr = {\n version: t.version,\n supported: e,\n setRTLTextPlugin: t.setRTLTextPlugin,\n getRTLTextPluginStatus: t.getRTLTextPluginStatus,\n Map: Sr,\n NavigationControl: Dr,\n GeolocateControl: Nr,\n AttributionControl: yr,\n ScaleControl: qr,\n FullscreenControl: Gr,\n Popup: Hr,\n Marker: Br,\n Style: je,\n LngLat: t.LngLat,\n LngLatBounds: t.LngLatBounds,\n Point: t.Point,\n MercatorCoordinate: t.MercatorCoordinate,\n Evented: t.Evented,\n config: t.config,\n prewarm: function () {\n Ft().acquire(Rt);\n },\n clearPrewarmedResources: function () {\n var t = Bt;\n t && (t.isPreloaded() && 1 === t.numActive() ? (t.release(Rt), Bt = null) : console.warn(\"Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()\"));\n },\n get accessToken() {\n return t.config.ACCESS_TOKEN;\n },\n set accessToken(e) {\n t.config.ACCESS_TOKEN = e;\n },\n get baseApiUrl() {\n return t.config.API_URL;\n },\n set baseApiUrl(e) {\n t.config.API_URL = e;\n },\n get workerCount() {\n return kt.workerCount;\n },\n set workerCount(t) {\n kt.workerCount = t;\n },\n get maxParallelImageRequests() {\n return t.config.MAX_PARALLEL_IMAGE_REQUESTS;\n },\n set maxParallelImageRequests(e) {\n t.config.MAX_PARALLEL_IMAGE_REQUESTS = e;\n },\n clearStorage: function (e) {\n t.clearTileCache(e);\n },\n workerUrl: \"\"\n };\n return Kr;\n });\n\n //\n\n return mapboxgl;\n});","// Initialize a jQuery object\ndefine([\"../core\", \"../var/document\", \"../var/isFunction\", \"./var/rsingleTag\", \"../traversing/findFilter\"], function (jQuery, document, isFunction, rsingleTag) {\n \"use strict\";\n\n // A central reference to the root jQuery(document)\n var rootjQuery,\n // A simple way to check for HTML strings\n // Prioritize #id over to avoid XSS via location.hash (trac-9521)\n // Strict HTML recognition (trac-11290: must start with <)\n // Shortcut simple #id case for speed\n rquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n init = jQuery.fn.init = function (selector, context, root) {\n var match, elem;\n\n // HANDLE: $(\"\"), $(null), $(undefined), $(false)\n if (!selector) {\n return this;\n }\n\n // Method init() accepts an alternate rootjQuery\n // so migrate can support jQuery.sub (gh-2101)\n root = root || rootjQuery;\n\n // Handle HTML strings\n if (typeof selector === \"string\") {\n if (selector[0] === \"<\" && selector[selector.length - 1] === \">\" && selector.length >= 3) {\n // Assume that strings that start and end with <> are HTML and skip the regex check\n match = [null, selector, null];\n } else {\n match = rquickExpr.exec(selector);\n }\n\n // Match html or make sure no context is specified for #id\n if (match && (match[1] || !context)) {\n // HANDLE: $(html) -> $(array)\n if (match[1]) {\n context = context instanceof jQuery ? context[0] : context;\n\n // Option to run scripts is true for back-compat\n // Intentionally let the error be thrown if parseHTML is not present\n jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document, true));\n\n // HANDLE: $(html, props)\n if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {\n for (match in context) {\n // Properties of context are called as methods if possible\n if (isFunction(this[match])) {\n this[match](context[match]);\n\n // ...and otherwise set as attributes\n } else {\n this.attr(match, context[match]);\n }\n }\n }\n return this;\n\n // HANDLE: $(#id)\n } else {\n elem = document.getElementById(match[2]);\n if (elem) {\n // Inject the element directly into the jQuery object\n this[0] = elem;\n this.length = 1;\n }\n return this;\n }\n\n // HANDLE: $(expr, $(...))\n } else if (!context || context.jquery) {\n return (context || root).find(selector);\n\n // HANDLE: $(expr, context)\n // (which is just equivalent to: $(context).find(expr)\n } else {\n return this.constructor(context).find(selector);\n }\n\n // HANDLE: $(DOMElement)\n } else if (selector.nodeType) {\n this[0] = selector;\n this.length = 1;\n return this;\n\n // HANDLE: $(function)\n // Shortcut for document ready\n } else if (isFunction(selector)) {\n return root.ready !== undefined ? root.ready(selector) :\n // Execute immediately if ready is not present\n selector(jQuery);\n }\n return jQuery.makeArray(selector, this);\n };\n\n // Give the init function the jQuery prototype for later instantiation\n init.prototype = jQuery.fn;\n\n // Initialize central reference\n rootjQuery = jQuery(document);\n return init;\n});","export var HOOKS = [\"onChange\", \"onClose\", \"onDayCreate\", \"onDestroy\", \"onKeyDown\", \"onMonthChange\", \"onOpen\", \"onParseConfig\", \"onReady\", \"onValueUpdate\", \"onYearChange\", \"onPreCalendarPosition\"];\nexport var defaults = {\n _disable: [],\n allowInput: false,\n allowInvalidPreload: false,\n altFormat: \"F j, Y\",\n altInput: false,\n altInputClass: \"form-control input\",\n animate: typeof window === \"object\" && window.navigator.userAgent.indexOf(\"MSIE\") === -1,\n ariaDateFormat: \"F j, Y\",\n autoFillDefaultTime: true,\n clickOpens: true,\n closeOnSelect: true,\n conjunction: \", \",\n dateFormat: \"Y-m-d\",\n defaultHour: 12,\n defaultMinute: 0,\n defaultSeconds: 0,\n disable: [],\n disableMobile: false,\n enableSeconds: false,\n enableTime: false,\n errorHandler: function (err) {\n return typeof console !== \"undefined\" && console.warn(err);\n },\n getWeek: function (givenDate) {\n var date = new Date(givenDate.getTime());\n date.setHours(0, 0, 0, 0);\n date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7);\n var week1 = new Date(date.getFullYear(), 0, 4);\n return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7);\n },\n hourIncrement: 1,\n ignoredFocusElements: [],\n inline: false,\n locale: \"default\",\n minuteIncrement: 5,\n mode: \"single\",\n monthSelectorType: \"dropdown\",\n nextArrow: \"\",\n noCalendar: false,\n now: new Date(),\n onChange: [],\n onClose: [],\n onDayCreate: [],\n onDestroy: [],\n onKeyDown: [],\n onMonthChange: [],\n onOpen: [],\n onParseConfig: [],\n onReady: [],\n onValueUpdate: [],\n onYearChange: [],\n onPreCalendarPosition: [],\n plugins: [],\n position: \"auto\",\n positionElement: undefined,\n prevArrow: \"\",\n shorthandCurrentMonth: false,\n showMonths: 1,\n static: false,\n time_24hr: false,\n weekNumbers: false,\n wrap: false\n};","define(function () {\n \"use strict\";\n\n return [];\n});","define(function () {\n \"use strict\";\n\n function nodeName(elem, name) {\n return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n }\n return nodeName;\n});","define([\"../Data\"], function (Data) {\n \"use strict\";\n\n return new Data();\n});","define(function () {\n \"use strict\";\n\n // Only count HTML whitespace\n // Other whitespace should count in values\n // https://infra.spec.whatwg.org/#ascii-whitespace\n return /[^\\x20\\t\\r\\n\\f]+/g;\n});","define([\"./core\", \"./selector\", \"./traversing\", \"./callbacks\", \"./deferred\", \"./deferred/exceptionHook\", \"./core/ready\", \"./data\", \"./queue\", \"./queue/delay\", \"./attributes\", \"./event\", \"./manipulation\", \"./manipulation/_evalUrl\", \"./wrap\", \"./css\", \"./css/hiddenVisibleSelectors\", \"./serialize\", \"./ajax\", \"./ajax/xhr\", \"./ajax/script\", \"./ajax/jsonp\", \"./ajax/load\", \"./core/parseXML\", \"./core/parseHTML\", \"./effects\", \"./effects/animatedSelector\", \"./offset\", \"./dimensions\", \"./deprecated\", \"./exports/amd\", \"./exports/global\"], function (jQuery) {\n \"use strict\";\n\n return jQuery;\n});","define(function () {\n \"use strict\";\n\n // All support tests are defined in their respective modules.\n return {};\n});","define([\"../core\", \"../core/toType\", \"../var/isFunction\"], function (jQuery, toType, isFunction) {\n \"use strict\";\n\n // Multifunctional method to get and set values of a collection\n // The value/s can optionally be executed if it's a function\n var access = function (elems, fn, key, value, chainable, emptyGet, raw) {\n var i = 0,\n len = elems.length,\n bulk = key == null;\n\n // Sets many values\n if (toType(key) === \"object\") {\n chainable = true;\n for (i in key) {\n access(elems, fn, i, key[i], true, emptyGet, raw);\n }\n\n // Sets one value\n } else if (value !== undefined) {\n chainable = true;\n if (!isFunction(value)) {\n raw = true;\n }\n if (bulk) {\n // Bulk operations run against the entire set\n if (raw) {\n fn.call(elems, value);\n fn = null;\n\n // ...except when executing function values\n } else {\n bulk = fn;\n fn = function (elem, _key, value) {\n return bulk.call(jQuery(elem), value);\n };\n }\n }\n if (fn) {\n for (; i < len; i++) {\n fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));\n }\n }\n }\n if (chainable) {\n return elems;\n }\n\n // Gets\n if (bulk) {\n return fn.call(elems);\n }\n return len ? fn(elems[0], key) : emptyGet;\n };\n return access;\n});","define([\"./core\", \"./var/document\", \"./var/isFunction\", \"./var/rnothtmlwhite\", \"./ajax/var/location\", \"./ajax/var/nonce\", \"./ajax/var/rquery\", \"./core/init\", \"./core/parseXML\", \"./event/trigger\", \"./deferred\", \"./serialize\" // jQuery.param\n], function (jQuery, document, isFunction, rnothtmlwhite, location, nonce, rquery) {\n \"use strict\";\n\n var r20 = /%20/g,\n rhash = /#.*$/,\n rantiCache = /([?&])_=[^&]*/,\n rheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n // trac-7653, trac-8125, trac-8152: local protocol detection\n rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n rnoContent = /^(?:GET|HEAD)$/,\n rprotocol = /^\\/\\//,\n /* Prefilters\n * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n * 2) These are called:\n * - BEFORE asking for a transport\n * - AFTER param serialization (s.data is a string if s.processData is true)\n * 3) key is the dataType\n * 4) the catchall symbol \"*\" can be used\n * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n */\n prefilters = {},\n /* Transports bindings\n * 1) key is the dataType\n * 2) the catchall symbol \"*\" can be used\n * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n */\n transports = {},\n // Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n allTypes = \"*/\".concat(\"*\"),\n // Anchor tag for parsing the document origin\n originAnchor = document.createElement(\"a\");\n originAnchor.href = location.href;\n\n // Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\n function addToPrefiltersOrTransports(structure) {\n // dataTypeExpression is optional and defaults to \"*\"\n return function (dataTypeExpression, func) {\n if (typeof dataTypeExpression !== \"string\") {\n func = dataTypeExpression;\n dataTypeExpression = \"*\";\n }\n var dataType,\n i = 0,\n dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || [];\n if (isFunction(func)) {\n // For each dataType in the dataTypeExpression\n while (dataType = dataTypes[i++]) {\n // Prepend if requested\n if (dataType[0] === \"+\") {\n dataType = dataType.slice(1) || \"*\";\n (structure[dataType] = structure[dataType] || []).unshift(func);\n\n // Otherwise append\n } else {\n (structure[dataType] = structure[dataType] || []).push(func);\n }\n }\n }\n };\n }\n\n // Base inspection function for prefilters and transports\n function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {\n var inspected = {},\n seekingTransport = structure === transports;\n function inspect(dataType) {\n var selected;\n inspected[dataType] = true;\n jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {\n var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);\n if (typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[dataTypeOrTransport]) {\n options.dataTypes.unshift(dataTypeOrTransport);\n inspect(dataTypeOrTransport);\n return false;\n } else if (seekingTransport) {\n return !(selected = dataTypeOrTransport);\n }\n });\n return selected;\n }\n return inspect(options.dataTypes[0]) || !inspected[\"*\"] && inspect(\"*\");\n }\n\n // A special extend for ajax options\n // that takes \"flat\" options (not to be deep extended)\n // Fixes trac-9887\n function ajaxExtend(target, src) {\n var key,\n deep,\n flatOptions = jQuery.ajaxSettings.flatOptions || {};\n for (key in src) {\n if (src[key] !== undefined) {\n (flatOptions[key] ? target : deep || (deep = {}))[key] = src[key];\n }\n }\n if (deep) {\n jQuery.extend(true, target, deep);\n }\n return target;\n }\n\n /* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\n function ajaxHandleResponses(s, jqXHR, responses) {\n var ct,\n type,\n finalDataType,\n firstDataType,\n contents = s.contents,\n dataTypes = s.dataTypes;\n\n // Remove auto dataType and get content-type in the process\n while (dataTypes[0] === \"*\") {\n dataTypes.shift();\n if (ct === undefined) {\n ct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n }\n }\n\n // Check if we're dealing with a known content-type\n if (ct) {\n for (type in contents) {\n if (contents[type] && contents[type].test(ct)) {\n dataTypes.unshift(type);\n break;\n }\n }\n }\n\n // Check to see if we have a response for the expected dataType\n if (dataTypes[0] in responses) {\n finalDataType = dataTypes[0];\n } else {\n // Try convertible dataTypes\n for (type in responses) {\n if (!dataTypes[0] || s.converters[type + \" \" + dataTypes[0]]) {\n finalDataType = type;\n break;\n }\n if (!firstDataType) {\n firstDataType = type;\n }\n }\n\n // Or just use first one\n finalDataType = finalDataType || firstDataType;\n }\n\n // If we found a dataType\n // We add the dataType to the list if needed\n // and return the corresponding response\n if (finalDataType) {\n if (finalDataType !== dataTypes[0]) {\n dataTypes.unshift(finalDataType);\n }\n return responses[finalDataType];\n }\n }\n\n /* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\n function ajaxConvert(s, response, jqXHR, isSuccess) {\n var conv2,\n current,\n conv,\n tmp,\n prev,\n converters = {},\n // Work with a copy of dataTypes in case we need to modify it for conversion\n dataTypes = s.dataTypes.slice();\n\n // Create converters map with lowercased keys\n if (dataTypes[1]) {\n for (conv in s.converters) {\n converters[conv.toLowerCase()] = s.converters[conv];\n }\n }\n current = dataTypes.shift();\n\n // Convert to each sequential dataType\n while (current) {\n if (s.responseFields[current]) {\n jqXHR[s.responseFields[current]] = response;\n }\n\n // Apply the dataFilter if provided\n if (!prev && isSuccess && s.dataFilter) {\n response = s.dataFilter(response, s.dataType);\n }\n prev = current;\n current = dataTypes.shift();\n if (current) {\n // There's only work to do if current dataType is non-auto\n if (current === \"*\") {\n current = prev;\n\n // Convert response if prev dataType is non-auto and differs from current\n } else if (prev !== \"*\" && prev !== current) {\n // Seek a direct converter\n conv = converters[prev + \" \" + current] || converters[\"* \" + current];\n\n // If none found, seek a pair\n if (!conv) {\n for (conv2 in converters) {\n // If conv2 outputs current\n tmp = conv2.split(\" \");\n if (tmp[1] === current) {\n // If prev can be converted to accepted input\n conv = converters[prev + \" \" + tmp[0]] || converters[\"* \" + tmp[0]];\n if (conv) {\n // Condense equivalence converters\n if (conv === true) {\n conv = converters[conv2];\n\n // Otherwise, insert the intermediate dataType\n } else if (converters[conv2] !== true) {\n current = tmp[0];\n dataTypes.unshift(tmp[1]);\n }\n break;\n }\n }\n }\n }\n\n // Apply converter (if not an equivalence)\n if (conv !== true) {\n // Unless errors are allowed to bubble, catch and return them\n if (conv && s.throws) {\n response = conv(response);\n } else {\n try {\n response = conv(response);\n } catch (e) {\n return {\n state: \"parsererror\",\n error: conv ? e : \"No conversion from \" + prev + \" to \" + current\n };\n }\n }\n }\n }\n }\n }\n return {\n state: \"success\",\n data: response\n };\n }\n jQuery.extend({\n // Counter for holding the number of active queries\n active: 0,\n // Last-Modified header cache for next request\n lastModified: {},\n etag: {},\n ajaxSettings: {\n url: location.href,\n type: \"GET\",\n isLocal: rlocalProtocol.test(location.protocol),\n global: true,\n processData: true,\n async: true,\n contentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n /*\n timeout: 0,\n data: null,\n dataType: null,\n username: null,\n password: null,\n cache: null,\n throws: false,\n traditional: false,\n headers: {},\n */\n\n accepts: {\n \"*\": allTypes,\n text: \"text/plain\",\n html: \"text/html\",\n xml: \"application/xml, text/xml\",\n json: \"application/json, text/javascript\"\n },\n contents: {\n xml: /\\bxml\\b/,\n html: /\\bhtml/,\n json: /\\bjson\\b/\n },\n responseFields: {\n xml: \"responseXML\",\n text: \"responseText\",\n json: \"responseJSON\"\n },\n // Data converters\n // Keys separate source (or catchall \"*\") and destination types with a single space\n converters: {\n // Convert anything to text\n \"* text\": String,\n // Text to html (true = no transformation)\n \"text html\": true,\n // Evaluate text as a json expression\n \"text json\": JSON.parse,\n // Parse text as xml\n \"text xml\": jQuery.parseXML\n },\n // For options that shouldn't be deep extended:\n // you can add your own custom options here if\n // and when you create one that shouldn't be\n // deep extended (see ajaxExtend)\n flatOptions: {\n url: true,\n context: true\n }\n },\n // Creates a full fledged settings object into target\n // with both ajaxSettings and settings fields.\n // If target is omitted, writes into ajaxSettings.\n ajaxSetup: function (target, settings) {\n return settings ?\n // Building a settings object\n ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) :\n // Extending ajaxSettings\n ajaxExtend(jQuery.ajaxSettings, target);\n },\n ajaxPrefilter: addToPrefiltersOrTransports(prefilters),\n ajaxTransport: addToPrefiltersOrTransports(transports),\n // Main method\n ajax: function (url, options) {\n // If url is an object, simulate pre-1.5 signature\n if (typeof url === \"object\") {\n options = url;\n url = undefined;\n }\n\n // Force options to be an object\n options = options || {};\n var transport,\n // URL without anti-cache param\n cacheURL,\n // Response headers\n responseHeadersString,\n responseHeaders,\n // timeout handle\n timeoutTimer,\n // Url cleanup var\n urlAnchor,\n // Request state (becomes false upon send and true upon completion)\n completed,\n // To know if global events are to be dispatched\n fireGlobals,\n // Loop variable\n i,\n // uncached part of the url\n uncached,\n // Create the final options object\n s = jQuery.ajaxSetup({}, options),\n // Callbacks context\n callbackContext = s.context || s,\n // Context for global events is callbackContext if it is a DOM node or jQuery collection\n globalEventContext = s.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event,\n // Deferreds\n deferred = jQuery.Deferred(),\n completeDeferred = jQuery.Callbacks(\"once memory\"),\n // Status-dependent callbacks\n statusCode = s.statusCode || {},\n // Headers (they are sent all at once)\n requestHeaders = {},\n requestHeadersNames = {},\n // Default abort message\n strAbort = \"canceled\",\n // Fake xhr\n jqXHR = {\n readyState: 0,\n // Builds headers hashtable if needed\n getResponseHeader: function (key) {\n var match;\n if (completed) {\n if (!responseHeaders) {\n responseHeaders = {};\n while (match = rheaders.exec(responseHeadersString)) {\n responseHeaders[match[1].toLowerCase() + \" \"] = (responseHeaders[match[1].toLowerCase() + \" \"] || []).concat(match[2]);\n }\n }\n match = responseHeaders[key.toLowerCase() + \" \"];\n }\n return match == null ? null : match.join(\", \");\n },\n // Raw string\n getAllResponseHeaders: function () {\n return completed ? responseHeadersString : null;\n },\n // Caches the header\n setRequestHeader: function (name, value) {\n if (completed == null) {\n name = requestHeadersNames[name.toLowerCase()] = requestHeadersNames[name.toLowerCase()] || name;\n requestHeaders[name] = value;\n }\n return this;\n },\n // Overrides response content-type header\n overrideMimeType: function (type) {\n if (completed == null) {\n s.mimeType = type;\n }\n return this;\n },\n // Status-dependent callbacks\n statusCode: function (map) {\n var code;\n if (map) {\n if (completed) {\n // Execute the appropriate callbacks\n jqXHR.always(map[jqXHR.status]);\n } else {\n // Lazy-add the new callbacks in a way that preserves old ones\n for (code in map) {\n statusCode[code] = [statusCode[code], map[code]];\n }\n }\n }\n return this;\n },\n // Cancel the request\n abort: function (statusText) {\n var finalText = statusText || strAbort;\n if (transport) {\n transport.abort(finalText);\n }\n done(0, finalText);\n return this;\n }\n };\n\n // Attach deferreds\n deferred.promise(jqXHR);\n\n // Add protocol if not provided (prefilters might expect it)\n // Handle falsy url in the settings object (trac-10093: consistency with old signature)\n // We also use the url parameter if available\n s.url = ((url || s.url || location.href) + \"\").replace(rprotocol, location.protocol + \"//\");\n\n // Alias method option to type as per ticket trac-12004\n s.type = options.method || options.type || s.method || s.type;\n\n // Extract dataTypes list\n s.dataTypes = (s.dataType || \"*\").toLowerCase().match(rnothtmlwhite) || [\"\"];\n\n // A cross-domain request is in order when the origin doesn't match the current origin.\n if (s.crossDomain == null) {\n urlAnchor = document.createElement(\"a\");\n\n // Support: IE <=8 - 11, Edge 12 - 15\n // IE throws exception on accessing the href property if url is malformed,\n // e.g. http://example.com:80x/\n try {\n urlAnchor.href = s.url;\n\n // Support: IE <=8 - 11 only\n // Anchor's host property isn't correctly set when s.url is relative\n urlAnchor.href = urlAnchor.href;\n s.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !== urlAnchor.protocol + \"//\" + urlAnchor.host;\n } catch (e) {\n // If there is an error parsing the URL, assume it is crossDomain,\n // it can be rejected by the transport if it is invalid\n s.crossDomain = true;\n }\n }\n\n // Convert data if not already a string\n if (s.data && s.processData && typeof s.data !== \"string\") {\n s.data = jQuery.param(s.data, s.traditional);\n }\n\n // Apply prefilters\n inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);\n\n // If request was aborted inside a prefilter, stop there\n if (completed) {\n return jqXHR;\n }\n\n // We can fire global events as of now if asked to\n // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n fireGlobals = jQuery.event && s.global;\n\n // Watch for a new set of requests\n if (fireGlobals && jQuery.active++ === 0) {\n jQuery.event.trigger(\"ajaxStart\");\n }\n\n // Uppercase the type\n s.type = s.type.toUpperCase();\n\n // Determine if request has content\n s.hasContent = !rnoContent.test(s.type);\n\n // Save the URL in case we're toying with the If-Modified-Since\n // and/or If-None-Match header later on\n // Remove hash to simplify url manipulation\n cacheURL = s.url.replace(rhash, \"\");\n\n // More options handling for requests with no content\n if (!s.hasContent) {\n // Remember the hash so we can put it back\n uncached = s.url.slice(cacheURL.length);\n\n // If data is available and should be processed, append data to url\n if (s.data && (s.processData || typeof s.data === \"string\")) {\n cacheURL += (rquery.test(cacheURL) ? \"&\" : \"?\") + s.data;\n\n // trac-9682: remove data so that it's not used in an eventual retry\n delete s.data;\n }\n\n // Add or update anti-cache param if needed\n if (s.cache === false) {\n cacheURL = cacheURL.replace(rantiCache, \"$1\");\n uncached = (rquery.test(cacheURL) ? \"&\" : \"?\") + \"_=\" + nonce.guid++ + uncached;\n }\n\n // Put hash and anti-cache on the URL that will be requested (gh-1732)\n s.url = cacheURL + uncached;\n\n // Change '%20' to '+' if this is encoded form body content (gh-2658)\n } else if (s.data && s.processData && (s.contentType || \"\").indexOf(\"application/x-www-form-urlencoded\") === 0) {\n s.data = s.data.replace(r20, \"+\");\n }\n\n // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n if (s.ifModified) {\n if (jQuery.lastModified[cacheURL]) {\n jqXHR.setRequestHeader(\"If-Modified-Since\", jQuery.lastModified[cacheURL]);\n }\n if (jQuery.etag[cacheURL]) {\n jqXHR.setRequestHeader(\"If-None-Match\", jQuery.etag[cacheURL]);\n }\n }\n\n // Set the correct header, if data is being sent\n if (s.data && s.hasContent && s.contentType !== false || options.contentType) {\n jqXHR.setRequestHeader(\"Content-Type\", s.contentType);\n }\n\n // Set the Accepts header for the server, depending on the dataType\n jqXHR.setRequestHeader(\"Accept\", s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + (s.dataTypes[0] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\") : s.accepts[\"*\"]);\n\n // Check for headers option\n for (i in s.headers) {\n jqXHR.setRequestHeader(i, s.headers[i]);\n }\n\n // Allow custom headers/mimetypes and early abort\n if (s.beforeSend && (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed)) {\n // Abort if not done already and return\n return jqXHR.abort();\n }\n\n // Aborting is no longer a cancellation\n strAbort = \"abort\";\n\n // Install callbacks on deferreds\n completeDeferred.add(s.complete);\n jqXHR.done(s.success);\n jqXHR.fail(s.error);\n\n // Get transport\n transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);\n\n // If no transport, we auto-abort\n if (!transport) {\n done(-1, \"No Transport\");\n } else {\n jqXHR.readyState = 1;\n\n // Send global event\n if (fireGlobals) {\n globalEventContext.trigger(\"ajaxSend\", [jqXHR, s]);\n }\n\n // If request was aborted inside ajaxSend, stop there\n if (completed) {\n return jqXHR;\n }\n\n // Timeout\n if (s.async && s.timeout > 0) {\n timeoutTimer = window.setTimeout(function () {\n jqXHR.abort(\"timeout\");\n }, s.timeout);\n }\n try {\n completed = false;\n transport.send(requestHeaders, done);\n } catch (e) {\n // Rethrow post-completion exceptions\n if (completed) {\n throw e;\n }\n\n // Propagate others as results\n done(-1, e);\n }\n }\n\n // Callback for when everything is done\n function done(status, nativeStatusText, responses, headers) {\n var isSuccess,\n success,\n error,\n response,\n modified,\n statusText = nativeStatusText;\n\n // Ignore repeat invocations\n if (completed) {\n return;\n }\n completed = true;\n\n // Clear timeout if it exists\n if (timeoutTimer) {\n window.clearTimeout(timeoutTimer);\n }\n\n // Dereference transport for early garbage collection\n // (no matter how long the jqXHR object will be used)\n transport = undefined;\n\n // Cache response headers\n responseHeadersString = headers || \"\";\n\n // Set readyState\n jqXHR.readyState = status > 0 ? 4 : 0;\n\n // Determine if successful\n isSuccess = status >= 200 && status < 300 || status === 304;\n\n // Get response data\n if (responses) {\n response = ajaxHandleResponses(s, jqXHR, responses);\n }\n\n // Use a noop converter for missing script but not if jsonp\n if (!isSuccess && jQuery.inArray(\"script\", s.dataTypes) > -1 && jQuery.inArray(\"json\", s.dataTypes) < 0) {\n s.converters[\"text script\"] = function () {};\n }\n\n // Convert no matter what (that way responseXXX fields are always set)\n response = ajaxConvert(s, response, jqXHR, isSuccess);\n\n // If successful, handle type chaining\n if (isSuccess) {\n // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n if (s.ifModified) {\n modified = jqXHR.getResponseHeader(\"Last-Modified\");\n if (modified) {\n jQuery.lastModified[cacheURL] = modified;\n }\n modified = jqXHR.getResponseHeader(\"etag\");\n if (modified) {\n jQuery.etag[cacheURL] = modified;\n }\n }\n\n // if no content\n if (status === 204 || s.type === \"HEAD\") {\n statusText = \"nocontent\";\n\n // if not modified\n } else if (status === 304) {\n statusText = \"notmodified\";\n\n // If we have data, let's convert it\n } else {\n statusText = response.state;\n success = response.data;\n error = response.error;\n isSuccess = !error;\n }\n } else {\n // Extract error from statusText and normalize for non-aborts\n error = statusText;\n if (status || !statusText) {\n statusText = \"error\";\n if (status < 0) {\n status = 0;\n }\n }\n }\n\n // Set data for the fake xhr object\n jqXHR.status = status;\n jqXHR.statusText = (nativeStatusText || statusText) + \"\";\n\n // Success/Error\n if (isSuccess) {\n deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);\n } else {\n deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);\n }\n\n // Status-dependent callbacks\n jqXHR.statusCode(statusCode);\n statusCode = undefined;\n if (fireGlobals) {\n globalEventContext.trigger(isSuccess ? \"ajaxSuccess\" : \"ajaxError\", [jqXHR, s, isSuccess ? success : error]);\n }\n\n // Complete\n completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);\n if (fireGlobals) {\n globalEventContext.trigger(\"ajaxComplete\", [jqXHR, s]);\n\n // Handle the global AJAX counter\n if (! --jQuery.active) {\n jQuery.event.trigger(\"ajaxStop\");\n }\n }\n }\n return jqXHR;\n },\n getJSON: function (url, data, callback) {\n return jQuery.get(url, data, callback, \"json\");\n },\n getScript: function (url, callback) {\n return jQuery.get(url, undefined, callback, \"script\");\n }\n });\n jQuery.each([\"get\", \"post\"], function (_i, method) {\n jQuery[method] = function (url, data, callback, type) {\n // Shift arguments if data argument was omitted\n if (isFunction(data)) {\n type = type || callback;\n callback = data;\n data = undefined;\n }\n\n // The url can be an options object (which then must have .url)\n return jQuery.ajax(jQuery.extend({\n url: url,\n type: method,\n dataType: type,\n data: data,\n success: callback\n }, jQuery.isPlainObject(url) && url));\n };\n });\n jQuery.ajaxPrefilter(function (s) {\n var i;\n for (i in s.headers) {\n if (i.toLowerCase() === \"content-type\") {\n s.contentType = s.headers[i] || \"\";\n }\n }\n });\n return jQuery;\n});","export var english = {\n weekdays: {\n shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n longhand: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n longhand: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n firstDayOfWeek: 0,\n ordinal: function (nth) {\n var s = nth % 100;\n if (s > 3 && s < 21) return \"th\";\n switch (s % 10) {\n case 1:\n return \"st\";\n case 2:\n return \"nd\";\n case 3:\n return \"rd\";\n default:\n return \"th\";\n }\n },\n rangeSeparator: \" to \",\n weekAbbreviation: \"Wk\",\n scrollTitle: \"Scroll to increment\",\n toggleTitle: \"Click to toggle\",\n amPM: [\"AM\", \"PM\"],\n yearAriaLabel: \"Year\",\n monthAriaLabel: \"Month\",\n hourAriaLabel: \"Hour\",\n minuteAriaLabel: \"Minute\",\n time_24hr: false\n};\nexport default english;","define([\"../var/class2type\", \"../var/toString\"], function (class2type, toString) {\n \"use strict\";\n\n function toType(obj) {\n if (obj == null) {\n return obj + \"\";\n }\n\n // Support: Android <=2.3 only (functionish RegExp)\n return typeof obj === \"object\" || typeof obj === \"function\" ? class2type[toString.call(obj)] || \"object\" : typeof obj;\n }\n return toType;\n});","define([\"./core\", \"./var/getProto\", \"./var/indexOf\", \"./traversing/var/dir\", \"./traversing/var/siblings\", \"./traversing/var/rneedsContext\", \"./core/nodeName\", \"./core/init\", \"./traversing/findFilter\", \"./selector\"], function (jQuery, getProto, indexOf, dir, siblings, rneedsContext, nodeName) {\n \"use strict\";\n\n var rparentsprev = /^(?:parents|prev(?:Until|All))/,\n // Methods guaranteed to produce a unique set when starting from a unique set\n guaranteedUnique = {\n children: true,\n contents: true,\n next: true,\n prev: true\n };\n jQuery.fn.extend({\n has: function (target) {\n var targets = jQuery(target, this),\n l = targets.length;\n return this.filter(function () {\n var i = 0;\n for (; i < l; i++) {\n if (jQuery.contains(this, targets[i])) {\n return true;\n }\n }\n });\n },\n closest: function (selectors, context) {\n var cur,\n i = 0,\n l = this.length,\n matched = [],\n targets = typeof selectors !== \"string\" && jQuery(selectors);\n\n // Positional selectors never match, since there's no _selection_ context\n if (!rneedsContext.test(selectors)) {\n for (; i < l; i++) {\n for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {\n // Always skip document fragments\n if (cur.nodeType < 11 && (targets ? targets.index(cur) > -1 :\n // Don't pass non-elements to jQuery#find\n cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors))) {\n matched.push(cur);\n break;\n }\n }\n }\n }\n return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched);\n },\n // Determine the position of an element within the set\n index: function (elem) {\n // No argument, return index in parent\n if (!elem) {\n return this[0] && this[0].parentNode ? this.first().prevAll().length : -1;\n }\n\n // Index in selector\n if (typeof elem === \"string\") {\n return indexOf.call(jQuery(elem), this[0]);\n }\n\n // Locate the position of the desired element\n return indexOf.call(this,\n // If it receives a jQuery object, the first element is used\n elem.jquery ? elem[0] : elem);\n },\n add: function (selector, context) {\n return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(), jQuery(selector, context))));\n },\n addBack: function (selector) {\n return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector));\n }\n });\n function sibling(cur, dir) {\n while ((cur = cur[dir]) && cur.nodeType !== 1) {}\n return cur;\n }\n jQuery.each({\n parent: function (elem) {\n var parent = elem.parentNode;\n return parent && parent.nodeType !== 11 ? parent : null;\n },\n parents: function (elem) {\n return dir(elem, \"parentNode\");\n },\n parentsUntil: function (elem, _i, until) {\n return dir(elem, \"parentNode\", until);\n },\n next: function (elem) {\n return sibling(elem, \"nextSibling\");\n },\n prev: function (elem) {\n return sibling(elem, \"previousSibling\");\n },\n nextAll: function (elem) {\n return dir(elem, \"nextSibling\");\n },\n prevAll: function (elem) {\n return dir(elem, \"previousSibling\");\n },\n nextUntil: function (elem, _i, until) {\n return dir(elem, \"nextSibling\", until);\n },\n prevUntil: function (elem, _i, until) {\n return dir(elem, \"previousSibling\", until);\n },\n siblings: function (elem) {\n return siblings((elem.parentNode || {}).firstChild, elem);\n },\n children: function (elem) {\n return siblings(elem.firstChild);\n },\n contents: function (elem) {\n if (elem.contentDocument != null &&\n // Support: IE 11+\n // elements with no `data` attribute has an object\n // `contentDocument` with a `null` prototype.\n getProto(elem.contentDocument)) {\n return elem.contentDocument;\n }\n\n // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n // Treat the template element as a regular one in browsers that\n // don't support it.\n if (nodeName(elem, \"template\")) {\n elem = elem.content || elem;\n }\n return jQuery.merge([], elem.childNodes);\n }\n }, function (name, fn) {\n jQuery.fn[name] = function (until, selector) {\n var matched = jQuery.map(this, fn, until);\n if (name.slice(-5) !== \"Until\") {\n selector = until;\n }\n if (selector && typeof selector === \"string\") {\n matched = jQuery.filter(selector, matched);\n }\n if (this.length > 1) {\n // Remove duplicates\n if (!guaranteedUnique[name]) {\n jQuery.uniqueSort(matched);\n }\n\n // Reverse order for parents* and prev-derivatives\n if (rparentsprev.test(name)) {\n matched.reverse();\n }\n }\n return this.pushStack(matched);\n };\n });\n return jQuery;\n});","define([\"./core\", \"./var/isFunction\", \"./var/slice\", \"./callbacks\"], function (jQuery, isFunction, slice) {\n \"use strict\";\n\n function Identity(v) {\n return v;\n }\n function Thrower(ex) {\n throw ex;\n }\n function adoptValue(value, resolve, reject, noValue) {\n var method;\n try {\n // Check for promise aspect first to privilege synchronous behavior\n if (value && isFunction(method = value.promise)) {\n method.call(value).done(resolve).fail(reject);\n\n // Other thenables\n } else if (value && isFunction(method = value.then)) {\n method.call(value, resolve, reject);\n\n // Other non-thenables\n } else {\n // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n // * false: [ value ].slice( 0 ) => resolve( value )\n // * true: [ value ].slice( 1 ) => resolve()\n resolve.apply(undefined, [value].slice(noValue));\n }\n\n // For Promises/A+, convert exceptions into rejections\n // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n // Deferred#then to conditionally suppress rejection.\n } catch (value) {\n // Support: Android 4.0 only\n // Strict mode functions invoked without .call/.apply get global-object context\n reject.apply(undefined, [value]);\n }\n }\n jQuery.extend({\n Deferred: function (func) {\n var tuples = [\n // action, add listener, callbacks,\n // ... .then handlers, argument index, [final state]\n [\"notify\", \"progress\", jQuery.Callbacks(\"memory\"), jQuery.Callbacks(\"memory\"), 2], [\"resolve\", \"done\", jQuery.Callbacks(\"once memory\"), jQuery.Callbacks(\"once memory\"), 0, \"resolved\"], [\"reject\", \"fail\", jQuery.Callbacks(\"once memory\"), jQuery.Callbacks(\"once memory\"), 1, \"rejected\"]],\n state = \"pending\",\n promise = {\n state: function () {\n return state;\n },\n always: function () {\n deferred.done(arguments).fail(arguments);\n return this;\n },\n \"catch\": function (fn) {\n return promise.then(null, fn);\n },\n // Keep pipe for back-compat\n pipe: function /* fnDone, fnFail, fnProgress */\n () {\n var fns = arguments;\n return jQuery.Deferred(function (newDefer) {\n jQuery.each(tuples, function (_i, tuple) {\n // Map tuples (progress, done, fail) to arguments (done, fail, progress)\n var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]];\n\n // deferred.progress(function() { bind to newDefer or newDefer.notify })\n // deferred.done(function() { bind to newDefer or newDefer.resolve })\n // deferred.fail(function() { bind to newDefer or newDefer.reject })\n deferred[tuple[1]](function () {\n var returned = fn && fn.apply(this, arguments);\n if (returned && isFunction(returned.promise)) {\n returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject);\n } else {\n newDefer[tuple[0] + \"With\"](this, fn ? [returned] : arguments);\n }\n });\n });\n fns = null;\n }).promise();\n },\n then: function (onFulfilled, onRejected, onProgress) {\n var maxDepth = 0;\n function resolve(depth, deferred, handler, special) {\n return function () {\n var that = this,\n args = arguments,\n mightThrow = function () {\n var returned, then;\n\n // Support: Promises/A+ section 2.3.3.3.3\n // https://promisesaplus.com/#point-59\n // Ignore double-resolution attempts\n if (depth < maxDepth) {\n return;\n }\n returned = handler.apply(that, args);\n\n // Support: Promises/A+ section 2.3.1\n // https://promisesaplus.com/#point-48\n if (returned === deferred.promise()) {\n throw new TypeError(\"Thenable self-resolution\");\n }\n\n // Support: Promises/A+ sections 2.3.3.1, 3.5\n // https://promisesaplus.com/#point-54\n // https://promisesaplus.com/#point-75\n // Retrieve `then` only once\n then = returned && (\n // Support: Promises/A+ section 2.3.4\n // https://promisesaplus.com/#point-64\n // Only check objects and functions for thenability\n typeof returned === \"object\" || typeof returned === \"function\") && returned.then;\n\n // Handle a returned thenable\n if (isFunction(then)) {\n // Special processors (notify) just wait for resolution\n if (special) {\n then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special));\n\n // Normal processors (resolve) also hook into progress\n } else {\n // ...and disregard older resolution values\n maxDepth++;\n then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special), resolve(maxDepth, deferred, Identity, deferred.notifyWith));\n }\n\n // Handle all other returned values\n } else {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Identity) {\n that = undefined;\n args = [returned];\n }\n\n // Process the value(s)\n // Default process is resolve\n (special || deferred.resolveWith)(that, args);\n }\n },\n // Only normal processors (resolve) catch and reject exceptions\n process = special ? mightThrow : function () {\n try {\n mightThrow();\n } catch (e) {\n if (jQuery.Deferred.exceptionHook) {\n jQuery.Deferred.exceptionHook(e, process.error);\n }\n\n // Support: Promises/A+ section 2.3.3.3.4.1\n // https://promisesaplus.com/#point-61\n // Ignore post-resolution exceptions\n if (depth + 1 >= maxDepth) {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Thrower) {\n that = undefined;\n args = [e];\n }\n deferred.rejectWith(that, args);\n }\n }\n };\n\n // Support: Promises/A+ section 2.3.3.3.1\n // https://promisesaplus.com/#point-57\n // Re-resolve promises immediately to dodge false rejection from\n // subsequent errors\n if (depth) {\n process();\n } else {\n // Call an optional hook to record the error, in case of exception\n // since it's otherwise lost when execution goes async\n if (jQuery.Deferred.getErrorHook) {\n process.error = jQuery.Deferred.getErrorHook();\n\n // The deprecated alias of the above. While the name suggests\n // returning the stack, not an error instance, jQuery just passes\n // it directly to `console.warn` so both will work; an instance\n // just better cooperates with source maps.\n } else if (jQuery.Deferred.getStackHook) {\n process.error = jQuery.Deferred.getStackHook();\n }\n window.setTimeout(process);\n }\n };\n }\n return jQuery.Deferred(function (newDefer) {\n // progress_handlers.add( ... )\n tuples[0][3].add(resolve(0, newDefer, isFunction(onProgress) ? onProgress : Identity, newDefer.notifyWith));\n\n // fulfilled_handlers.add( ... )\n tuples[1][3].add(resolve(0, newDefer, isFunction(onFulfilled) ? onFulfilled : Identity));\n\n // rejected_handlers.add( ... )\n tuples[2][3].add(resolve(0, newDefer, isFunction(onRejected) ? onRejected : Thrower));\n }).promise();\n },\n // Get a promise for this deferred\n // If obj is provided, the promise aspect is added to the object\n promise: function (obj) {\n return obj != null ? jQuery.extend(obj, promise) : promise;\n }\n },\n deferred = {};\n\n // Add list-specific methods\n jQuery.each(tuples, function (i, tuple) {\n var list = tuple[2],\n stateString = tuple[5];\n\n // promise.progress = list.add\n // promise.done = list.add\n // promise.fail = list.add\n promise[tuple[1]] = list.add;\n\n // Handle state\n if (stateString) {\n list.add(function () {\n // state = \"resolved\" (i.e., fulfilled)\n // state = \"rejected\"\n state = stateString;\n },\n // rejected_callbacks.disable\n // fulfilled_callbacks.disable\n tuples[3 - i][2].disable,\n // rejected_handlers.disable\n // fulfilled_handlers.disable\n tuples[3 - i][3].disable,\n // progress_callbacks.lock\n tuples[0][2].lock,\n // progress_handlers.lock\n tuples[0][3].lock);\n }\n\n // progress_handlers.fire\n // fulfilled_handlers.fire\n // rejected_handlers.fire\n list.add(tuple[3].fire);\n\n // deferred.notify = function() { deferred.notifyWith(...) }\n // deferred.resolve = function() { deferred.resolveWith(...) }\n // deferred.reject = function() { deferred.rejectWith(...) }\n deferred[tuple[0]] = function () {\n deferred[tuple[0] + \"With\"](this === deferred ? undefined : this, arguments);\n return this;\n };\n\n // deferred.notifyWith = list.fireWith\n // deferred.resolveWith = list.fireWith\n // deferred.rejectWith = list.fireWith\n deferred[tuple[0] + \"With\"] = list.fireWith;\n });\n\n // Make the deferred a promise\n promise.promise(deferred);\n\n // Call given func if any\n if (func) {\n func.call(deferred, deferred);\n }\n\n // All done!\n return deferred;\n },\n // Deferred helper\n when: function (singleValue) {\n var\n // count of uncompleted subordinates\n remaining = arguments.length,\n // count of unprocessed arguments\n i = remaining,\n // subordinate fulfillment data\n resolveContexts = Array(i),\n resolveValues = slice.call(arguments),\n // the primary Deferred\n primary = jQuery.Deferred(),\n // subordinate callback factory\n updateFunc = function (i) {\n return function (value) {\n resolveContexts[i] = this;\n resolveValues[i] = arguments.length > 1 ? slice.call(arguments) : value;\n if (! --remaining) {\n primary.resolveWith(resolveContexts, resolveValues);\n }\n };\n };\n\n // Single- and empty arguments are adopted like Promise.resolve\n if (remaining <= 1) {\n adoptValue(singleValue, primary.done(updateFunc(i)).resolve, primary.reject, !remaining);\n\n // Use .then() to unwrap secondary thenables (cf. gh-3000)\n if (primary.state() === \"pending\" || isFunction(resolveValues[i] && resolveValues[i].then)) {\n return primary.then();\n }\n }\n\n // Multiple arguments are aggregated like Promise.all array elements\n while (i--) {\n adoptValue(resolveValues[i], updateFunc(i), primary.reject);\n }\n return primary.promise();\n }\n });\n return jQuery;\n});","function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nimport { m as mergeProps, g as guid, i as isArraysEqual, T as Theme, a as mapHash, B as BaseComponent, V as ViewContextType, C as ContentContainer, b as buildViewClassNames, c as greatestDurationDenominator, d as createDuration, e as BASE_OPTION_DEFAULTS, f as arrayToHash, h as filterHash, j as buildEventSourceRefiners, p as parseEventSource, k as formatWithOrdinals, u as unpromisify, l as buildRangeApiWithTimeZone, n as identity, r as requestJson, s as subtractDurations, o as intersectRanges, q as startOfDay, t as addDays, v as hashValuesToArray, w as buildEventApis, D as DelayedRunner, x as createFormatter, y as diffWholeDays, z as memoize, A as memoizeObjArg, E as isPropsEqual, F as Emitter, G as getInitialDate, H as rangeContainsMarker, I as createEmptyEventStore, J as reduceCurrentDate, K as reduceEventStore, L as rezoneEventStoreDates, M as mergeRawOptions, N as BASE_OPTION_REFINERS, O as CALENDAR_LISTENER_REFINERS, P as CALENDAR_OPTION_REFINERS, Q as COMPLEX_OPTION_COMPARATORS, R as VIEW_OPTION_REFINERS, S as DateEnv, U as DateProfileGenerator, W as createEventUi, X as parseBusinessHours, Y as setRef, Z as Interaction, _ as getElSeg, $ as elementClosest, a0 as EventImpl, a1 as listenBySelector, a2 as listenToHoverBySelector, a3 as PureComponent, a4 as buildViewContext, a5 as getUniqueDomId, a6 as parseInteractionSettings, a7 as interactionSettingsStore, a8 as getNow, a9 as CalendarImpl, aa as flushSync, ab as CalendarRoot, ac as RenderId, ad as ensureElHasStyles, ae as applyStyleProp, af as sliceEventStore } from './internal-common.js';\nexport { ag as JsonRequestError } from './internal-common.js';\nimport { createElement, createRef, Fragment, render } from 'preact';\nimport 'preact/compat';\nconst globalLocales = [];\nconst MINIMAL_RAW_EN_LOCALE = {\n code: 'en',\n week: {\n dow: 0,\n doy: 4 // 4 days need to be within the year to be considered the first week\n },\n direction: 'ltr',\n buttonText: {\n prev: 'prev',\n next: 'next',\n prevYear: 'prev year',\n nextYear: 'next year',\n year: 'year',\n today: 'today',\n month: 'month',\n week: 'week',\n day: 'day',\n list: 'list'\n },\n weekText: 'W',\n weekTextLong: 'Week',\n closeHint: 'Close',\n timeHint: 'Time',\n eventHint: 'Event',\n allDayText: 'all-day',\n moreLinkText: 'more',\n noEventsText: 'No events to display'\n};\nconst RAW_EN_LOCALE = Object.assign(Object.assign({}, MINIMAL_RAW_EN_LOCALE), {\n // Includes things we don't want other locales to inherit,\n // things that derive from other translatable strings.\n buttonHints: {\n prev: 'Previous $0',\n next: 'Next $0',\n today(buttonText, unit) {\n return unit === 'day' ? 'Today' : `This ${buttonText}`;\n }\n },\n viewHint: '$0 view',\n navLinkHint: 'Go to $0',\n moreLinkHint(eventCnt) {\n return `Show ${eventCnt} more event${eventCnt === 1 ? '' : 's'}`;\n }\n});\nfunction organizeRawLocales(explicitRawLocales) {\n let defaultCode = explicitRawLocales.length > 0 ? explicitRawLocales[0].code : 'en';\n let allRawLocales = globalLocales.concat(explicitRawLocales);\n let rawLocaleMap = {\n en: RAW_EN_LOCALE\n };\n for (let rawLocale of allRawLocales) {\n rawLocaleMap[rawLocale.code] = rawLocale;\n }\n return {\n map: rawLocaleMap,\n defaultCode\n };\n}\nfunction buildLocale(inputSingular, available) {\n if (typeof inputSingular === 'object' && !Array.isArray(inputSingular)) {\n return parseLocale(inputSingular.code, [inputSingular.code], inputSingular);\n }\n return queryLocale(inputSingular, available);\n}\nfunction queryLocale(codeArg, available) {\n let codes = [].concat(codeArg || []); // will convert to array\n let raw = queryRawLocale(codes, available) || RAW_EN_LOCALE;\n return parseLocale(codeArg, codes, raw);\n}\nfunction queryRawLocale(codes, available) {\n for (let i = 0; i < codes.length; i += 1) {\n let parts = codes[i].toLocaleLowerCase().split('-');\n for (let j = parts.length; j > 0; j -= 1) {\n let simpleId = parts.slice(0, j).join('-');\n if (available[simpleId]) {\n return available[simpleId];\n }\n }\n }\n return null;\n}\nfunction parseLocale(codeArg, codes, raw) {\n let merged = mergeProps([MINIMAL_RAW_EN_LOCALE, raw], ['buttonText']);\n delete merged.code; // don't want this part of the options\n let week = merged.week;\n delete merged.week;\n return {\n codeArg,\n codes,\n week,\n simpleNumberFormat: new Intl.NumberFormat(codeArg),\n options: merged\n };\n}\n\n// TODO: easier way to add new hooks? need to update a million things\nfunction createPlugin(input) {\n return {\n id: guid(),\n name: input.name,\n premiumReleaseDate: input.premiumReleaseDate ? new Date(input.premiumReleaseDate) : undefined,\n deps: input.deps || [],\n reducers: input.reducers || [],\n isLoadingFuncs: input.isLoadingFuncs || [],\n contextInit: [].concat(input.contextInit || []),\n eventRefiners: input.eventRefiners || {},\n eventDefMemberAdders: input.eventDefMemberAdders || [],\n eventSourceRefiners: input.eventSourceRefiners || {},\n isDraggableTransformers: input.isDraggableTransformers || [],\n eventDragMutationMassagers: input.eventDragMutationMassagers || [],\n eventDefMutationAppliers: input.eventDefMutationAppliers || [],\n dateSelectionTransformers: input.dateSelectionTransformers || [],\n datePointTransforms: input.datePointTransforms || [],\n dateSpanTransforms: input.dateSpanTransforms || [],\n views: input.views || {},\n viewPropsTransformers: input.viewPropsTransformers || [],\n isPropsValid: input.isPropsValid || null,\n externalDefTransforms: input.externalDefTransforms || [],\n viewContainerAppends: input.viewContainerAppends || [],\n eventDropTransformers: input.eventDropTransformers || [],\n componentInteractions: input.componentInteractions || [],\n calendarInteractions: input.calendarInteractions || [],\n themeClasses: input.themeClasses || {},\n eventSourceDefs: input.eventSourceDefs || [],\n cmdFormatter: input.cmdFormatter,\n recurringTypes: input.recurringTypes || [],\n namedTimeZonedImpl: input.namedTimeZonedImpl,\n initialView: input.initialView || '',\n elementDraggingImpl: input.elementDraggingImpl,\n optionChangeHandlers: input.optionChangeHandlers || {},\n scrollGridImpl: input.scrollGridImpl || null,\n listenerRefiners: input.listenerRefiners || {},\n optionRefiners: input.optionRefiners || {},\n propSetHandlers: input.propSetHandlers || {}\n };\n}\nfunction buildPluginHooks(pluginDefs, globalDefs) {\n let currentPluginIds = {};\n let hooks = {\n premiumReleaseDate: undefined,\n reducers: [],\n isLoadingFuncs: [],\n contextInit: [],\n eventRefiners: {},\n eventDefMemberAdders: [],\n eventSourceRefiners: {},\n isDraggableTransformers: [],\n eventDragMutationMassagers: [],\n eventDefMutationAppliers: [],\n dateSelectionTransformers: [],\n datePointTransforms: [],\n dateSpanTransforms: [],\n views: {},\n viewPropsTransformers: [],\n isPropsValid: null,\n externalDefTransforms: [],\n viewContainerAppends: [],\n eventDropTransformers: [],\n componentInteractions: [],\n calendarInteractions: [],\n themeClasses: {},\n eventSourceDefs: [],\n cmdFormatter: null,\n recurringTypes: [],\n namedTimeZonedImpl: null,\n initialView: '',\n elementDraggingImpl: null,\n optionChangeHandlers: {},\n scrollGridImpl: null,\n listenerRefiners: {},\n optionRefiners: {},\n propSetHandlers: {}\n };\n function addDefs(defs) {\n for (let def of defs) {\n const pluginName = def.name;\n const currentId = currentPluginIds[pluginName];\n if (currentId === undefined) {\n currentPluginIds[pluginName] = def.id;\n addDefs(def.deps);\n hooks = combineHooks(hooks, def);\n } else if (currentId !== def.id) {\n // different ID than the one already added\n console.warn(`Duplicate plugin '${pluginName}'`);\n }\n }\n }\n if (pluginDefs) {\n addDefs(pluginDefs);\n }\n addDefs(globalDefs);\n return hooks;\n}\nfunction buildBuildPluginHooks() {\n let currentOverrideDefs = [];\n let currentGlobalDefs = [];\n let currentHooks;\n return (overrideDefs, globalDefs) => {\n if (!currentHooks || !isArraysEqual(overrideDefs, currentOverrideDefs) || !isArraysEqual(globalDefs, currentGlobalDefs)) {\n currentHooks = buildPluginHooks(overrideDefs, globalDefs);\n }\n currentOverrideDefs = overrideDefs;\n currentGlobalDefs = globalDefs;\n return currentHooks;\n };\n}\nfunction combineHooks(hooks0, hooks1) {\n return {\n premiumReleaseDate: compareOptionalDates(hooks0.premiumReleaseDate, hooks1.premiumReleaseDate),\n reducers: hooks0.reducers.concat(hooks1.reducers),\n isLoadingFuncs: hooks0.isLoadingFuncs.concat(hooks1.isLoadingFuncs),\n contextInit: hooks0.contextInit.concat(hooks1.contextInit),\n eventRefiners: Object.assign(Object.assign({}, hooks0.eventRefiners), hooks1.eventRefiners),\n eventDefMemberAdders: hooks0.eventDefMemberAdders.concat(hooks1.eventDefMemberAdders),\n eventSourceRefiners: Object.assign(Object.assign({}, hooks0.eventSourceRefiners), hooks1.eventSourceRefiners),\n isDraggableTransformers: hooks0.isDraggableTransformers.concat(hooks1.isDraggableTransformers),\n eventDragMutationMassagers: hooks0.eventDragMutationMassagers.concat(hooks1.eventDragMutationMassagers),\n eventDefMutationAppliers: hooks0.eventDefMutationAppliers.concat(hooks1.eventDefMutationAppliers),\n dateSelectionTransformers: hooks0.dateSelectionTransformers.concat(hooks1.dateSelectionTransformers),\n datePointTransforms: hooks0.datePointTransforms.concat(hooks1.datePointTransforms),\n dateSpanTransforms: hooks0.dateSpanTransforms.concat(hooks1.dateSpanTransforms),\n views: Object.assign(Object.assign({}, hooks0.views), hooks1.views),\n viewPropsTransformers: hooks0.viewPropsTransformers.concat(hooks1.viewPropsTransformers),\n isPropsValid: hooks1.isPropsValid || hooks0.isPropsValid,\n externalDefTransforms: hooks0.externalDefTransforms.concat(hooks1.externalDefTransforms),\n viewContainerAppends: hooks0.viewContainerAppends.concat(hooks1.viewContainerAppends),\n eventDropTransformers: hooks0.eventDropTransformers.concat(hooks1.eventDropTransformers),\n calendarInteractions: hooks0.calendarInteractions.concat(hooks1.calendarInteractions),\n componentInteractions: hooks0.componentInteractions.concat(hooks1.componentInteractions),\n themeClasses: Object.assign(Object.assign({}, hooks0.themeClasses), hooks1.themeClasses),\n eventSourceDefs: hooks0.eventSourceDefs.concat(hooks1.eventSourceDefs),\n cmdFormatter: hooks1.cmdFormatter || hooks0.cmdFormatter,\n recurringTypes: hooks0.recurringTypes.concat(hooks1.recurringTypes),\n namedTimeZonedImpl: hooks1.namedTimeZonedImpl || hooks0.namedTimeZonedImpl,\n initialView: hooks0.initialView || hooks1.initialView,\n elementDraggingImpl: hooks0.elementDraggingImpl || hooks1.elementDraggingImpl,\n optionChangeHandlers: Object.assign(Object.assign({}, hooks0.optionChangeHandlers), hooks1.optionChangeHandlers),\n scrollGridImpl: hooks1.scrollGridImpl || hooks0.scrollGridImpl,\n listenerRefiners: Object.assign(Object.assign({}, hooks0.listenerRefiners), hooks1.listenerRefiners),\n optionRefiners: Object.assign(Object.assign({}, hooks0.optionRefiners), hooks1.optionRefiners),\n propSetHandlers: Object.assign(Object.assign({}, hooks0.propSetHandlers), hooks1.propSetHandlers)\n };\n}\nfunction compareOptionalDates(date0, date1) {\n if (date0 === undefined) {\n return date1;\n }\n if (date1 === undefined) {\n return date0;\n }\n return new Date(Math.max(date0.valueOf(), date1.valueOf()));\n}\nclass StandardTheme extends Theme {}\nStandardTheme.prototype.classes = {\n root: 'fc-theme-standard',\n tableCellShaded: 'fc-cell-shaded',\n buttonGroup: 'fc-button-group',\n button: 'fc-button fc-button-primary',\n buttonActive: 'fc-button-active'\n};\nStandardTheme.prototype.baseIconClass = 'fc-icon';\nStandardTheme.prototype.iconClasses = {\n close: 'fc-icon-x',\n prev: 'fc-icon-chevron-left',\n next: 'fc-icon-chevron-right',\n prevYear: 'fc-icon-chevrons-left',\n nextYear: 'fc-icon-chevrons-right'\n};\nStandardTheme.prototype.rtlIconClasses = {\n prev: 'fc-icon-chevron-right',\n next: 'fc-icon-chevron-left',\n prevYear: 'fc-icon-chevrons-right',\n nextYear: 'fc-icon-chevrons-left'\n};\nStandardTheme.prototype.iconOverrideOption = 'buttonIcons'; // TODO: make TS-friendly\nStandardTheme.prototype.iconOverrideCustomButtonOption = 'icon';\nStandardTheme.prototype.iconOverridePrefix = 'fc-icon-';\nfunction compileViewDefs(defaultConfigs, overrideConfigs) {\n let hash = {};\n let viewType;\n for (viewType in defaultConfigs) {\n ensureViewDef(viewType, hash, defaultConfigs, overrideConfigs);\n }\n for (viewType in overrideConfigs) {\n ensureViewDef(viewType, hash, defaultConfigs, overrideConfigs);\n }\n return hash;\n}\nfunction ensureViewDef(viewType, hash, defaultConfigs, overrideConfigs) {\n if (hash[viewType]) {\n return hash[viewType];\n }\n let viewDef = buildViewDef(viewType, hash, defaultConfigs, overrideConfigs);\n if (viewDef) {\n hash[viewType] = viewDef;\n }\n return viewDef;\n}\nfunction buildViewDef(viewType, hash, defaultConfigs, overrideConfigs) {\n let defaultConfig = defaultConfigs[viewType];\n let overrideConfig = overrideConfigs[viewType];\n let queryProp = name => defaultConfig && defaultConfig[name] !== null ? defaultConfig[name] : overrideConfig && overrideConfig[name] !== null ? overrideConfig[name] : null;\n let theComponent = queryProp('component');\n let superType = queryProp('superType');\n let superDef = null;\n if (superType) {\n if (superType === viewType) {\n throw new Error('Can\\'t have a custom view type that references itself');\n }\n superDef = ensureViewDef(superType, hash, defaultConfigs, overrideConfigs);\n }\n if (!theComponent && superDef) {\n theComponent = superDef.component;\n }\n if (!theComponent) {\n return null; // don't throw a warning, might be settings for a single-unit view\n }\n return {\n type: viewType,\n component: theComponent,\n defaults: Object.assign(Object.assign({}, superDef ? superDef.defaults : {}), defaultConfig ? defaultConfig.rawOptions : {}),\n overrides: Object.assign(Object.assign({}, superDef ? superDef.overrides : {}), overrideConfig ? overrideConfig.rawOptions : {})\n };\n}\nfunction parseViewConfigs(inputs) {\n return mapHash(inputs, parseViewConfig);\n}\nfunction parseViewConfig(input) {\n let rawOptions = typeof input === 'function' ? {\n component: input\n } : input;\n let component = rawOptions.component;\n if (rawOptions.content) {\n // TODO: remove content/classNames/didMount/etc from options?\n component = createViewHookComponent(rawOptions);\n } else if (component && !(component.prototype instanceof BaseComponent)) {\n // WHY?: people were using `component` property for `content`\n // TODO: converge on one setting name\n component = createViewHookComponent(Object.assign(Object.assign({}, rawOptions), {\n content: component\n }));\n }\n return {\n superType: rawOptions.type,\n component: component,\n rawOptions // includes type and component too :(\n };\n}\nfunction createViewHookComponent(options) {\n return viewProps => createElement(ViewContextType.Consumer, null, context => createElement(ContentContainer, {\n elTag: \"div\",\n elClasses: buildViewClassNames(context.viewSpec),\n renderProps: Object.assign(Object.assign({}, viewProps), {\n nextDayThreshold: context.options.nextDayThreshold\n }),\n generatorName: undefined,\n customGenerator: options.content,\n classNameGenerator: options.classNames,\n didMount: options.didMount,\n willUnmount: options.willUnmount\n }));\n}\nfunction buildViewSpecs(defaultInputs, optionOverrides, dynamicOptionOverrides, localeDefaults) {\n let defaultConfigs = parseViewConfigs(defaultInputs);\n let overrideConfigs = parseViewConfigs(optionOverrides.views);\n let viewDefs = compileViewDefs(defaultConfigs, overrideConfigs);\n return mapHash(viewDefs, viewDef => buildViewSpec(viewDef, overrideConfigs, optionOverrides, dynamicOptionOverrides, localeDefaults));\n}\nfunction buildViewSpec(viewDef, overrideConfigs, optionOverrides, dynamicOptionOverrides, localeDefaults) {\n let durationInput = viewDef.overrides.duration || viewDef.defaults.duration || dynamicOptionOverrides.duration || optionOverrides.duration;\n let duration = null;\n let durationUnit = '';\n let singleUnit = '';\n let singleUnitOverrides = {};\n if (durationInput) {\n duration = createDurationCached(durationInput);\n if (duration) {\n // valid?\n let denom = greatestDurationDenominator(duration);\n durationUnit = denom.unit;\n if (denom.value === 1) {\n singleUnit = durationUnit;\n singleUnitOverrides = overrideConfigs[durationUnit] ? overrideConfigs[durationUnit].rawOptions : {};\n }\n }\n }\n let queryButtonText = optionsSubset => {\n let buttonTextMap = optionsSubset.buttonText || {};\n let buttonTextKey = viewDef.defaults.buttonTextKey;\n if (buttonTextKey != null && buttonTextMap[buttonTextKey] != null) {\n return buttonTextMap[buttonTextKey];\n }\n if (buttonTextMap[viewDef.type] != null) {\n return buttonTextMap[viewDef.type];\n }\n if (buttonTextMap[singleUnit] != null) {\n return buttonTextMap[singleUnit];\n }\n return null;\n };\n let queryButtonTitle = optionsSubset => {\n let buttonHints = optionsSubset.buttonHints || {};\n let buttonKey = viewDef.defaults.buttonTextKey; // use same key as text\n if (buttonKey != null && buttonHints[buttonKey] != null) {\n return buttonHints[buttonKey];\n }\n if (buttonHints[viewDef.type] != null) {\n return buttonHints[viewDef.type];\n }\n if (buttonHints[singleUnit] != null) {\n return buttonHints[singleUnit];\n }\n return null;\n };\n return {\n type: viewDef.type,\n component: viewDef.component,\n duration,\n durationUnit,\n singleUnit,\n optionDefaults: viewDef.defaults,\n optionOverrides: Object.assign(Object.assign({}, singleUnitOverrides), viewDef.overrides),\n buttonTextOverride: queryButtonText(dynamicOptionOverrides) || queryButtonText(optionOverrides) ||\n // constructor-specified buttonText lookup hash takes precedence\n viewDef.overrides.buttonText,\n buttonTextDefault: queryButtonText(localeDefaults) || viewDef.defaults.buttonText || queryButtonText(BASE_OPTION_DEFAULTS) || viewDef.type,\n // not DRY\n buttonTitleOverride: queryButtonTitle(dynamicOptionOverrides) || queryButtonTitle(optionOverrides) || viewDef.overrides.buttonHint,\n buttonTitleDefault: queryButtonTitle(localeDefaults) || viewDef.defaults.buttonHint || queryButtonTitle(BASE_OPTION_DEFAULTS)\n // will eventually fall back to buttonText\n };\n}\n// hack to get memoization working\nlet durationInputMap = {};\nfunction createDurationCached(durationInput) {\n let json = JSON.stringify(durationInput);\n let res = durationInputMap[json];\n if (res === undefined) {\n res = createDuration(durationInput);\n durationInputMap[json] = res;\n }\n return res;\n}\nfunction reduceViewType(viewType, action) {\n switch (action.type) {\n case 'CHANGE_VIEW_TYPE':\n viewType = action.viewType;\n }\n return viewType;\n}\nfunction reduceDynamicOptionOverrides(dynamicOptionOverrides, action) {\n switch (action.type) {\n case 'SET_OPTION':\n return Object.assign(Object.assign({}, dynamicOptionOverrides), {\n [action.optionName]: action.rawOptionValue\n });\n default:\n return dynamicOptionOverrides;\n }\n}\nfunction reduceDateProfile(currentDateProfile, action, currentDate, dateProfileGenerator) {\n let dp;\n switch (action.type) {\n case 'CHANGE_VIEW_TYPE':\n return dateProfileGenerator.build(action.dateMarker || currentDate);\n case 'CHANGE_DATE':\n return dateProfileGenerator.build(action.dateMarker);\n case 'PREV':\n dp = dateProfileGenerator.buildPrev(currentDateProfile, currentDate);\n if (dp.isValid) {\n return dp;\n }\n break;\n case 'NEXT':\n dp = dateProfileGenerator.buildNext(currentDateProfile, currentDate);\n if (dp.isValid) {\n return dp;\n }\n break;\n }\n return currentDateProfile;\n}\nfunction initEventSources(calendarOptions, dateProfile, context) {\n let activeRange = dateProfile ? dateProfile.activeRange : null;\n return addSources({}, parseInitialSources(calendarOptions, context), activeRange, context);\n}\nfunction reduceEventSources(eventSources, action, dateProfile, context) {\n let activeRange = dateProfile ? dateProfile.activeRange : null; // need this check?\n switch (action.type) {\n case 'ADD_EVENT_SOURCES':\n // already parsed\n return addSources(eventSources, action.sources, activeRange, context);\n case 'REMOVE_EVENT_SOURCE':\n return removeSource(eventSources, action.sourceId);\n case 'PREV': // TODO: how do we track all actions that affect dateProfile :(\n case 'NEXT':\n case 'CHANGE_DATE':\n case 'CHANGE_VIEW_TYPE':\n if (dateProfile) {\n return fetchDirtySources(eventSources, activeRange, context);\n }\n return eventSources;\n case 'FETCH_EVENT_SOURCES':\n return fetchSourcesByIds(eventSources, action.sourceIds ?\n // why no type?\n arrayToHash(action.sourceIds) : excludeStaticSources(eventSources, context), activeRange, action.isRefetch || false, context);\n case 'RECEIVE_EVENTS':\n case 'RECEIVE_EVENT_ERROR':\n return receiveResponse(eventSources, action.sourceId, action.fetchId, action.fetchRange);\n case 'REMOVE_ALL_EVENT_SOURCES':\n return {};\n default:\n return eventSources;\n }\n}\nfunction reduceEventSourcesNewTimeZone(eventSources, dateProfile, context) {\n let activeRange = dateProfile ? dateProfile.activeRange : null; // need this check?\n return fetchSourcesByIds(eventSources, excludeStaticSources(eventSources, context), activeRange, true, context);\n}\nfunction computeEventSourcesLoading(eventSources) {\n for (let sourceId in eventSources) {\n if (eventSources[sourceId].isFetching) {\n return true;\n }\n }\n return false;\n}\nfunction addSources(eventSourceHash, sources, fetchRange, context) {\n let hash = {};\n for (let source of sources) {\n hash[source.sourceId] = source;\n }\n if (fetchRange) {\n hash = fetchDirtySources(hash, fetchRange, context);\n }\n return Object.assign(Object.assign({}, eventSourceHash), hash);\n}\nfunction removeSource(eventSourceHash, sourceId) {\n return filterHash(eventSourceHash, eventSource => eventSource.sourceId !== sourceId);\n}\nfunction fetchDirtySources(sourceHash, fetchRange, context) {\n return fetchSourcesByIds(sourceHash, filterHash(sourceHash, eventSource => isSourceDirty(eventSource, fetchRange, context)), fetchRange, false, context);\n}\nfunction isSourceDirty(eventSource, fetchRange, context) {\n if (!doesSourceNeedRange(eventSource, context)) {\n return !eventSource.latestFetchId;\n }\n return !context.options.lazyFetching || !eventSource.fetchRange || eventSource.isFetching ||\n // always cancel outdated in-progress fetches\n fetchRange.start < eventSource.fetchRange.start || fetchRange.end > eventSource.fetchRange.end;\n}\nfunction fetchSourcesByIds(prevSources, sourceIdHash, fetchRange, isRefetch, context) {\n let nextSources = {};\n for (let sourceId in prevSources) {\n let source = prevSources[sourceId];\n if (sourceIdHash[sourceId]) {\n nextSources[sourceId] = fetchSource(source, fetchRange, isRefetch, context);\n } else {\n nextSources[sourceId] = source;\n }\n }\n return nextSources;\n}\nfunction fetchSource(eventSource, fetchRange, isRefetch, context) {\n let options = context.options,\n calendarApi = context.calendarApi;\n let sourceDef = context.pluginHooks.eventSourceDefs[eventSource.sourceDefId];\n let fetchId = guid();\n sourceDef.fetch({\n eventSource,\n range: fetchRange,\n isRefetch,\n context\n }, res => {\n let rawEvents = res.rawEvents;\n if (options.eventSourceSuccess) {\n rawEvents = options.eventSourceSuccess.call(calendarApi, rawEvents, res.response) || rawEvents;\n }\n if (eventSource.success) {\n rawEvents = eventSource.success.call(calendarApi, rawEvents, res.response) || rawEvents;\n }\n context.dispatch({\n type: 'RECEIVE_EVENTS',\n sourceId: eventSource.sourceId,\n fetchId,\n fetchRange,\n rawEvents\n });\n }, error => {\n let errorHandled = false;\n if (options.eventSourceFailure) {\n options.eventSourceFailure.call(calendarApi, error);\n errorHandled = true;\n }\n if (eventSource.failure) {\n eventSource.failure(error);\n errorHandled = true;\n }\n if (!errorHandled) {\n console.warn(error.message, error);\n }\n context.dispatch({\n type: 'RECEIVE_EVENT_ERROR',\n sourceId: eventSource.sourceId,\n fetchId,\n fetchRange,\n error\n });\n });\n return Object.assign(Object.assign({}, eventSource), {\n isFetching: true,\n latestFetchId: fetchId\n });\n}\nfunction receiveResponse(sourceHash, sourceId, fetchId, fetchRange) {\n let eventSource = sourceHash[sourceId];\n if (eventSource &&\n // not already removed\n fetchId === eventSource.latestFetchId) {\n return Object.assign(Object.assign({}, sourceHash), {\n [sourceId]: Object.assign(Object.assign({}, eventSource), {\n isFetching: false,\n fetchRange\n })\n });\n }\n return sourceHash;\n}\nfunction excludeStaticSources(eventSources, context) {\n return filterHash(eventSources, eventSource => doesSourceNeedRange(eventSource, context));\n}\nfunction parseInitialSources(rawOptions, context) {\n let refiners = buildEventSourceRefiners(context);\n let rawSources = [].concat(rawOptions.eventSources || []);\n let sources = []; // parsed\n if (rawOptions.initialEvents) {\n rawSources.unshift(rawOptions.initialEvents);\n }\n if (rawOptions.events) {\n rawSources.unshift(rawOptions.events);\n }\n for (let rawSource of rawSources) {\n let source = parseEventSource(rawSource, context, refiners);\n if (source) {\n sources.push(source);\n }\n }\n return sources;\n}\nfunction doesSourceNeedRange(eventSource, context) {\n let defs = context.pluginHooks.eventSourceDefs;\n return !defs[eventSource.sourceDefId].ignoreRange;\n}\nfunction reduceDateSelection(currentSelection, action) {\n switch (action.type) {\n case 'UNSELECT_DATES':\n return null;\n case 'SELECT_DATES':\n return action.selection;\n default:\n return currentSelection;\n }\n}\nfunction reduceSelectedEvent(currentInstanceId, action) {\n switch (action.type) {\n case 'UNSELECT_EVENT':\n return '';\n case 'SELECT_EVENT':\n return action.eventInstanceId;\n default:\n return currentInstanceId;\n }\n}\nfunction reduceEventDrag(currentDrag, action) {\n let newDrag;\n switch (action.type) {\n case 'UNSET_EVENT_DRAG':\n return null;\n case 'SET_EVENT_DRAG':\n newDrag = action.state;\n return {\n affectedEvents: newDrag.affectedEvents,\n mutatedEvents: newDrag.mutatedEvents,\n isEvent: newDrag.isEvent\n };\n default:\n return currentDrag;\n }\n}\nfunction reduceEventResize(currentResize, action) {\n let newResize;\n switch (action.type) {\n case 'UNSET_EVENT_RESIZE':\n return null;\n case 'SET_EVENT_RESIZE':\n newResize = action.state;\n return {\n affectedEvents: newResize.affectedEvents,\n mutatedEvents: newResize.mutatedEvents,\n isEvent: newResize.isEvent\n };\n default:\n return currentResize;\n }\n}\nfunction parseToolbars(calendarOptions, calendarOptionOverrides, theme, viewSpecs, calendarApi) {\n let header = calendarOptions.headerToolbar ? parseToolbar(calendarOptions.headerToolbar, calendarOptions, calendarOptionOverrides, theme, viewSpecs, calendarApi) : null;\n let footer = calendarOptions.footerToolbar ? parseToolbar(calendarOptions.footerToolbar, calendarOptions, calendarOptionOverrides, theme, viewSpecs, calendarApi) : null;\n return {\n header,\n footer\n };\n}\nfunction parseToolbar(sectionStrHash, calendarOptions, calendarOptionOverrides, theme, viewSpecs, calendarApi) {\n let sectionWidgets = {};\n let viewsWithButtons = [];\n let hasTitle = false;\n for (let sectionName in sectionStrHash) {\n let sectionStr = sectionStrHash[sectionName];\n let sectionRes = parseSection(sectionStr, calendarOptions, calendarOptionOverrides, theme, viewSpecs, calendarApi);\n sectionWidgets[sectionName] = sectionRes.widgets;\n viewsWithButtons.push(...sectionRes.viewsWithButtons);\n hasTitle = hasTitle || sectionRes.hasTitle;\n }\n return {\n sectionWidgets,\n viewsWithButtons,\n hasTitle\n };\n}\n/*\nBAD: querying icons and text here. should be done at render time\n*/\nfunction parseSection(sectionStr, calendarOptions,\n// defaults+overrides, then refined\ncalendarOptionOverrides,\n// overrides only!, unrefined :(\ntheme, viewSpecs, calendarApi) {\n let isRtl = calendarOptions.direction === 'rtl';\n let calendarCustomButtons = calendarOptions.customButtons || {};\n let calendarButtonTextOverrides = calendarOptionOverrides.buttonText || {};\n let calendarButtonText = calendarOptions.buttonText || {};\n let calendarButtonHintOverrides = calendarOptionOverrides.buttonHints || {};\n let calendarButtonHints = calendarOptions.buttonHints || {};\n let sectionSubstrs = sectionStr ? sectionStr.split(' ') : [];\n let viewsWithButtons = [];\n let hasTitle = false;\n let widgets = sectionSubstrs.map(buttonGroupStr => buttonGroupStr.split(',').map(buttonName => {\n if (buttonName === 'title') {\n hasTitle = true;\n return {\n buttonName\n };\n }\n let customButtonProps;\n let viewSpec;\n let buttonClick;\n let buttonIcon; // only one of these will be set\n let buttonText; // \"\n let buttonHint;\n // ^ for the title=\"\" attribute, for accessibility\n if (customButtonProps = calendarCustomButtons[buttonName]) {\n buttonClick = ev => {\n if (customButtonProps.click) {\n customButtonProps.click.call(ev.target, ev, ev.target); // TODO: use Calendar this context?\n }\n };\n (buttonIcon = theme.getCustomButtonIconClass(customButtonProps)) || (buttonIcon = theme.getIconClass(buttonName, isRtl)) || (buttonText = customButtonProps.text);\n buttonHint = customButtonProps.hint || customButtonProps.text;\n } else if (viewSpec = viewSpecs[buttonName]) {\n viewsWithButtons.push(buttonName);\n buttonClick = () => {\n calendarApi.changeView(buttonName);\n };\n (buttonText = viewSpec.buttonTextOverride) || (buttonIcon = theme.getIconClass(buttonName, isRtl)) || (buttonText = viewSpec.buttonTextDefault);\n let textFallback = viewSpec.buttonTextOverride || viewSpec.buttonTextDefault;\n buttonHint = formatWithOrdinals(viewSpec.buttonTitleOverride || viewSpec.buttonTitleDefault || calendarOptions.viewHint, [textFallback, buttonName],\n // view-name = buttonName\n textFallback);\n } else if (calendarApi[buttonName]) {\n // a calendarApi method\n buttonClick = () => {\n calendarApi[buttonName]();\n };\n (buttonText = calendarButtonTextOverrides[buttonName]) || (buttonIcon = theme.getIconClass(buttonName, isRtl)) || (buttonText = calendarButtonText[buttonName]); // everything else is considered default\n if (buttonName === 'prevYear' || buttonName === 'nextYear') {\n let prevOrNext = buttonName === 'prevYear' ? 'prev' : 'next';\n buttonHint = formatWithOrdinals(calendarButtonHintOverrides[prevOrNext] || calendarButtonHints[prevOrNext], [calendarButtonText.year || 'year', 'year'], calendarButtonText[buttonName]);\n } else {\n buttonHint = navUnit => formatWithOrdinals(calendarButtonHintOverrides[buttonName] || calendarButtonHints[buttonName], [calendarButtonText[navUnit] || navUnit, navUnit], calendarButtonText[buttonName]);\n }\n }\n return {\n buttonName,\n buttonClick,\n buttonIcon,\n buttonText,\n buttonHint\n };\n }));\n return {\n widgets,\n viewsWithButtons,\n hasTitle\n };\n}\n\n// always represents the current view. otherwise, it'd need to change value every time date changes\nclass ViewImpl {\n constructor(type, getCurrentData, dateEnv) {\n this.type = type;\n this.getCurrentData = getCurrentData;\n this.dateEnv = dateEnv;\n }\n get calendar() {\n return this.getCurrentData().calendarApi;\n }\n get title() {\n return this.getCurrentData().viewTitle;\n }\n get activeStart() {\n return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start);\n }\n get activeEnd() {\n return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end);\n }\n get currentStart() {\n return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start);\n }\n get currentEnd() {\n return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end);\n }\n getOption(name) {\n return this.getCurrentData().options[name]; // are the view-specific options\n }\n}\nlet eventSourceDef$2 = {\n ignoreRange: true,\n parseMeta(refined) {\n if (Array.isArray(refined.events)) {\n return refined.events;\n }\n return null;\n },\n fetch(arg, successCallback) {\n successCallback({\n rawEvents: arg.eventSource.meta\n });\n }\n};\nconst arrayEventSourcePlugin = createPlugin({\n name: 'array-event-source',\n eventSourceDefs: [eventSourceDef$2]\n});\nlet eventSourceDef$1 = {\n parseMeta(refined) {\n if (typeof refined.events === 'function') {\n return refined.events;\n }\n return null;\n },\n fetch(arg, successCallback, errorCallback) {\n const dateEnv = arg.context.dateEnv;\n const func = arg.eventSource.meta;\n unpromisify(func.bind(null, buildRangeApiWithTimeZone(arg.range, dateEnv)), rawEvents => successCallback({\n rawEvents\n }), errorCallback);\n }\n};\nconst funcEventSourcePlugin = createPlugin({\n name: 'func-event-source',\n eventSourceDefs: [eventSourceDef$1]\n});\nconst JSON_FEED_EVENT_SOURCE_REFINERS = {\n method: String,\n extraParams: identity,\n startParam: String,\n endParam: String,\n timeZoneParam: String\n};\nlet eventSourceDef = {\n parseMeta(refined) {\n if (refined.url && (refined.format === 'json' || !refined.format)) {\n return {\n url: refined.url,\n format: 'json',\n method: (refined.method || 'GET').toUpperCase(),\n extraParams: refined.extraParams,\n startParam: refined.startParam,\n endParam: refined.endParam,\n timeZoneParam: refined.timeZoneParam\n };\n }\n return null;\n },\n fetch(arg, successCallback, errorCallback) {\n const meta = arg.eventSource.meta;\n const requestParams = buildRequestParams(meta, arg.range, arg.context);\n requestJson(meta.method, meta.url, requestParams).then(_ref => {\n let _ref2 = _slicedToArray(_ref, 2),\n rawEvents = _ref2[0],\n response = _ref2[1];\n successCallback({\n rawEvents,\n response\n });\n }, errorCallback);\n }\n};\nconst jsonFeedEventSourcePlugin = createPlugin({\n name: 'json-event-source',\n eventSourceRefiners: JSON_FEED_EVENT_SOURCE_REFINERS,\n eventSourceDefs: [eventSourceDef]\n});\nfunction buildRequestParams(meta, range, context) {\n let dateEnv = context.dateEnv,\n options = context.options;\n let startParam;\n let endParam;\n let timeZoneParam;\n let customRequestParams;\n let params = {};\n startParam = meta.startParam;\n if (startParam == null) {\n startParam = options.startParam;\n }\n endParam = meta.endParam;\n if (endParam == null) {\n endParam = options.endParam;\n }\n timeZoneParam = meta.timeZoneParam;\n if (timeZoneParam == null) {\n timeZoneParam = options.timeZoneParam;\n }\n // retrieve any outbound GET/POST data from the options\n if (typeof meta.extraParams === 'function') {\n // supplied as a function that returns a key/value object\n customRequestParams = meta.extraParams();\n } else {\n // probably supplied as a straight key/value object\n customRequestParams = meta.extraParams || {};\n }\n Object.assign(params, customRequestParams);\n params[startParam] = dateEnv.formatIso(range.start);\n params[endParam] = dateEnv.formatIso(range.end);\n if (dateEnv.timeZone !== 'local') {\n params[timeZoneParam] = dateEnv.timeZone;\n }\n return params;\n}\nconst SIMPLE_RECURRING_REFINERS = {\n daysOfWeek: identity,\n startTime: createDuration,\n endTime: createDuration,\n duration: createDuration,\n startRecur: identity,\n endRecur: identity\n};\nlet recurring = {\n parse(refined, dateEnv) {\n if (refined.daysOfWeek || refined.startTime || refined.endTime || refined.startRecur || refined.endRecur) {\n let recurringData = {\n daysOfWeek: refined.daysOfWeek || null,\n startTime: refined.startTime || null,\n endTime: refined.endTime || null,\n startRecur: refined.startRecur ? dateEnv.createMarker(refined.startRecur) : null,\n endRecur: refined.endRecur ? dateEnv.createMarker(refined.endRecur) : null\n };\n let duration;\n if (refined.duration) {\n duration = refined.duration;\n }\n if (!duration && refined.startTime && refined.endTime) {\n duration = subtractDurations(refined.endTime, refined.startTime);\n }\n return {\n allDayGuess: Boolean(!refined.startTime && !refined.endTime),\n duration,\n typeData: recurringData // doesn't need endTime anymore but oh well\n };\n }\n return null;\n },\n expand(typeData, framingRange, dateEnv) {\n let clippedFramingRange = intersectRanges(framingRange, {\n start: typeData.startRecur,\n end: typeData.endRecur\n });\n if (clippedFramingRange) {\n return expandRanges(typeData.daysOfWeek, typeData.startTime, clippedFramingRange, dateEnv);\n }\n return [];\n }\n};\nconst simpleRecurringEventsPlugin = createPlugin({\n name: 'simple-recurring-event',\n recurringTypes: [recurring],\n eventRefiners: SIMPLE_RECURRING_REFINERS\n});\nfunction expandRanges(daysOfWeek, startTime, framingRange, dateEnv) {\n let dowHash = daysOfWeek ? arrayToHash(daysOfWeek) : null;\n let dayMarker = startOfDay(framingRange.start);\n let endMarker = framingRange.end;\n let instanceStarts = [];\n while (dayMarker < endMarker) {\n let instanceStart;\n // if everyday, or this particular day-of-week\n if (!dowHash || dowHash[dayMarker.getUTCDay()]) {\n if (startTime) {\n instanceStart = dateEnv.add(dayMarker, startTime);\n } else {\n instanceStart = dayMarker;\n }\n instanceStarts.push(instanceStart);\n }\n dayMarker = addDays(dayMarker, 1);\n }\n return instanceStarts;\n}\nconst changeHandlerPlugin = createPlugin({\n name: 'change-handler',\n optionChangeHandlers: {\n events(events, context) {\n handleEventSources([events], context);\n },\n eventSources: handleEventSources\n }\n});\n/*\nBUG: if `event` was supplied, all previously-given `eventSources` will be wiped out\n*/\nfunction handleEventSources(inputs, context) {\n let unfoundSources = hashValuesToArray(context.getCurrentData().eventSources);\n if (unfoundSources.length === 1 && inputs.length === 1 && Array.isArray(unfoundSources[0]._raw) && Array.isArray(inputs[0])) {\n context.dispatch({\n type: 'RESET_RAW_EVENTS',\n sourceId: unfoundSources[0].sourceId,\n rawEvents: inputs[0]\n });\n return;\n }\n let newInputs = [];\n for (let input of inputs) {\n let inputFound = false;\n for (let i = 0; i < unfoundSources.length; i += 1) {\n if (unfoundSources[i]._raw === input) {\n unfoundSources.splice(i, 1); // delete\n inputFound = true;\n break;\n }\n }\n if (!inputFound) {\n newInputs.push(input);\n }\n }\n for (let unfoundSource of unfoundSources) {\n context.dispatch({\n type: 'REMOVE_EVENT_SOURCE',\n sourceId: unfoundSource.sourceId\n });\n }\n for (let newInput of newInputs) {\n context.calendarApi.addEventSource(newInput);\n }\n}\nfunction handleDateProfile(dateProfile, context) {\n context.emitter.trigger('datesSet', Object.assign(Object.assign({}, buildRangeApiWithTimeZone(dateProfile.activeRange, context.dateEnv)), {\n view: context.viewApi\n }));\n}\nfunction handleEventStore(eventStore, context) {\n let emitter = context.emitter;\n if (emitter.hasHandlers('eventsSet')) {\n emitter.trigger('eventsSet', buildEventApis(eventStore, context));\n }\n}\n\n/*\nthis array is exposed on the root namespace so that UMD plugins can add to it.\nsee the rollup-bundles script.\n*/\nconst globalPlugins = [arrayEventSourcePlugin, funcEventSourcePlugin, jsonFeedEventSourcePlugin, simpleRecurringEventsPlugin, changeHandlerPlugin, createPlugin({\n name: 'misc',\n isLoadingFuncs: [state => computeEventSourcesLoading(state.eventSources)],\n propSetHandlers: {\n dateProfile: handleDateProfile,\n eventStore: handleEventStore\n }\n})];\nclass TaskRunner {\n constructor(runTaskOption, drainedOption) {\n this.runTaskOption = runTaskOption;\n this.drainedOption = drainedOption;\n this.queue = [];\n this.delayedRunner = new DelayedRunner(this.drain.bind(this));\n }\n request(task, delay) {\n this.queue.push(task);\n this.delayedRunner.request(delay);\n }\n pause(scope) {\n this.delayedRunner.pause(scope);\n }\n resume(scope, force) {\n this.delayedRunner.resume(scope, force);\n }\n drain() {\n let queue = this.queue;\n while (queue.length) {\n let completedTasks = [];\n let task;\n while (task = queue.shift()) {\n this.runTask(task);\n completedTasks.push(task);\n }\n this.drained(completedTasks);\n } // keep going, in case new tasks were added in the drained handler\n }\n runTask(task) {\n if (this.runTaskOption) {\n this.runTaskOption(task);\n }\n }\n drained(completedTasks) {\n if (this.drainedOption) {\n this.drainedOption(completedTasks);\n }\n }\n}\n\n// Computes what the title at the top of the calendarApi should be for this view\nfunction buildTitle(dateProfile, viewOptions, dateEnv) {\n let range;\n // for views that span a large unit of time, show the proper interval, ignoring stray days before and after\n if (/^(year|month)$/.test(dateProfile.currentRangeUnit)) {\n range = dateProfile.currentRange;\n } else {\n // for day units or smaller, use the actual day range\n range = dateProfile.activeRange;\n }\n return dateEnv.formatRange(range.start, range.end, createFormatter(viewOptions.titleFormat || buildTitleFormat(dateProfile)), {\n isEndExclusive: dateProfile.isRangeAllDay,\n defaultSeparator: viewOptions.titleRangeSeparator\n });\n}\n// Generates the format string that should be used to generate the title for the current date range.\n// Attempts to compute the most appropriate format if not explicitly specified with `titleFormat`.\nfunction buildTitleFormat(dateProfile) {\n let currentRangeUnit = dateProfile.currentRangeUnit;\n if (currentRangeUnit === 'year') {\n return {\n year: 'numeric'\n };\n }\n if (currentRangeUnit === 'month') {\n return {\n year: 'numeric',\n month: 'long'\n }; // like \"September 2014\"\n }\n let days = diffWholeDays(dateProfile.currentRange.start, dateProfile.currentRange.end);\n if (days !== null && days > 1) {\n // multi-day range. shorter, like \"Sep 9 - 10 2014\"\n return {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n };\n }\n // one day. longer, like \"September 9 2014\"\n return {\n year: 'numeric',\n month: 'long',\n day: 'numeric'\n };\n}\n\n// in future refactor, do the redux-style function(state=initial) for initial-state\n// also, whatever is happening in constructor, have it happen in action queue too\nclass CalendarDataManager {\n constructor(props) {\n this.computeCurrentViewData = memoize(this._computeCurrentViewData);\n this.organizeRawLocales = memoize(organizeRawLocales);\n this.buildLocale = memoize(buildLocale);\n this.buildPluginHooks = buildBuildPluginHooks();\n this.buildDateEnv = memoize(buildDateEnv$1);\n this.buildTheme = memoize(buildTheme);\n this.parseToolbars = memoize(parseToolbars);\n this.buildViewSpecs = memoize(buildViewSpecs);\n this.buildDateProfileGenerator = memoizeObjArg(buildDateProfileGenerator);\n this.buildViewApi = memoize(buildViewApi);\n this.buildViewUiProps = memoizeObjArg(buildViewUiProps);\n this.buildEventUiBySource = memoize(buildEventUiBySource, isPropsEqual);\n this.buildEventUiBases = memoize(buildEventUiBases);\n this.parseContextBusinessHours = memoizeObjArg(parseContextBusinessHours);\n this.buildTitle = memoize(buildTitle);\n this.emitter = new Emitter();\n this.actionRunner = new TaskRunner(this._handleAction.bind(this), this.updateData.bind(this));\n this.currentCalendarOptionsInput = {};\n this.currentCalendarOptionsRefined = {};\n this.currentViewOptionsInput = {};\n this.currentViewOptionsRefined = {};\n this.currentCalendarOptionsRefiners = {};\n this.optionsForRefining = [];\n this.optionsForHandling = [];\n this.getCurrentData = () => this.data;\n this.dispatch = action => {\n this.actionRunner.request(action); // protects against recursive calls to _handleAction\n };\n this.props = props;\n this.actionRunner.pause();\n let dynamicOptionOverrides = {};\n let optionsData = this.computeOptionsData(props.optionOverrides, dynamicOptionOverrides, props.calendarApi);\n let currentViewType = optionsData.calendarOptions.initialView || optionsData.pluginHooks.initialView;\n let currentViewData = this.computeCurrentViewData(currentViewType, optionsData, props.optionOverrides, dynamicOptionOverrides);\n // wire things up\n // TODO: not DRY\n props.calendarApi.currentDataManager = this;\n this.emitter.setThisContext(props.calendarApi);\n this.emitter.setOptions(currentViewData.options);\n let currentDate = getInitialDate(optionsData.calendarOptions, optionsData.dateEnv);\n let dateProfile = currentViewData.dateProfileGenerator.build(currentDate);\n if (!rangeContainsMarker(dateProfile.activeRange, currentDate)) {\n currentDate = dateProfile.currentRange.start;\n }\n let calendarContext = {\n dateEnv: optionsData.dateEnv,\n options: optionsData.calendarOptions,\n pluginHooks: optionsData.pluginHooks,\n calendarApi: props.calendarApi,\n dispatch: this.dispatch,\n emitter: this.emitter,\n getCurrentData: this.getCurrentData\n };\n // needs to be after setThisContext\n for (let callback of optionsData.pluginHooks.contextInit) {\n callback(calendarContext);\n }\n // NOT DRY\n let eventSources = initEventSources(optionsData.calendarOptions, dateProfile, calendarContext);\n let initialState = {\n dynamicOptionOverrides,\n currentViewType,\n currentDate,\n dateProfile,\n businessHours: this.parseContextBusinessHours(calendarContext),\n eventSources,\n eventUiBases: {},\n eventStore: createEmptyEventStore(),\n renderableEventStore: createEmptyEventStore(),\n dateSelection: null,\n eventSelection: '',\n eventDrag: null,\n eventResize: null,\n selectionConfig: this.buildViewUiProps(calendarContext).selectionConfig\n };\n let contextAndState = Object.assign(Object.assign({}, calendarContext), initialState);\n for (let reducer of optionsData.pluginHooks.reducers) {\n Object.assign(initialState, reducer(null, null, contextAndState));\n }\n if (computeIsLoading(initialState, calendarContext)) {\n this.emitter.trigger('loading', true); // NOT DRY\n }\n this.state = initialState;\n this.updateData();\n this.actionRunner.resume();\n }\n resetOptions(optionOverrides, changedOptionNames) {\n let props = this.props;\n if (changedOptionNames === undefined) {\n props.optionOverrides = optionOverrides;\n } else {\n props.optionOverrides = Object.assign(Object.assign({}, props.optionOverrides || {}), optionOverrides);\n this.optionsForRefining.push(...changedOptionNames);\n }\n if (changedOptionNames === undefined || changedOptionNames.length) {\n this.actionRunner.request({\n type: 'NOTHING'\n });\n }\n }\n _handleAction(action) {\n let props = this.props,\n state = this.state,\n emitter = this.emitter;\n let dynamicOptionOverrides = reduceDynamicOptionOverrides(state.dynamicOptionOverrides, action);\n let optionsData = this.computeOptionsData(props.optionOverrides, dynamicOptionOverrides, props.calendarApi);\n let currentViewType = reduceViewType(state.currentViewType, action);\n let currentViewData = this.computeCurrentViewData(currentViewType, optionsData, props.optionOverrides, dynamicOptionOverrides);\n // wire things up\n // TODO: not DRY\n props.calendarApi.currentDataManager = this;\n emitter.setThisContext(props.calendarApi);\n emitter.setOptions(currentViewData.options);\n let calendarContext = {\n dateEnv: optionsData.dateEnv,\n options: optionsData.calendarOptions,\n pluginHooks: optionsData.pluginHooks,\n calendarApi: props.calendarApi,\n dispatch: this.dispatch,\n emitter,\n getCurrentData: this.getCurrentData\n };\n let currentDate = state.currentDate,\n dateProfile = state.dateProfile;\n if (this.data && this.data.dateProfileGenerator !== currentViewData.dateProfileGenerator) {\n // hack\n dateProfile = currentViewData.dateProfileGenerator.build(currentDate);\n }\n currentDate = reduceCurrentDate(currentDate, action);\n dateProfile = reduceDateProfile(dateProfile, action, currentDate, currentViewData.dateProfileGenerator);\n if (action.type === 'PREV' ||\n // TODO: move this logic into DateProfileGenerator\n action.type === 'NEXT' ||\n // \"\n !rangeContainsMarker(dateProfile.currentRange, currentDate)) {\n currentDate = dateProfile.currentRange.start;\n }\n let eventSources = reduceEventSources(state.eventSources, action, dateProfile, calendarContext);\n let eventStore = reduceEventStore(state.eventStore, action, eventSources, dateProfile, calendarContext);\n let isEventsLoading = computeEventSourcesLoading(eventSources); // BAD. also called in this func in computeIsLoading\n let renderableEventStore = isEventsLoading && !currentViewData.options.progressiveEventRendering ? state.renderableEventStore || eventStore :\n // try from previous state\n eventStore;\n let _this$buildViewUiProp = this.buildViewUiProps(calendarContext),\n eventUiSingleBase = _this$buildViewUiProp.eventUiSingleBase,\n selectionConfig = _this$buildViewUiProp.selectionConfig; // will memoize obj\n let eventUiBySource = this.buildEventUiBySource(eventSources);\n let eventUiBases = this.buildEventUiBases(renderableEventStore.defs, eventUiSingleBase, eventUiBySource);\n let newState = {\n dynamicOptionOverrides,\n currentViewType,\n currentDate,\n dateProfile,\n eventSources,\n eventStore,\n renderableEventStore,\n selectionConfig,\n eventUiBases,\n businessHours: this.parseContextBusinessHours(calendarContext),\n dateSelection: reduceDateSelection(state.dateSelection, action),\n eventSelection: reduceSelectedEvent(state.eventSelection, action),\n eventDrag: reduceEventDrag(state.eventDrag, action),\n eventResize: reduceEventResize(state.eventResize, action)\n };\n let contextAndState = Object.assign(Object.assign({}, calendarContext), newState);\n for (let reducer of optionsData.pluginHooks.reducers) {\n Object.assign(newState, reducer(state, action, contextAndState)); // give the OLD state, for old value\n }\n let wasLoading = computeIsLoading(state, calendarContext);\n let isLoading = computeIsLoading(newState, calendarContext);\n // TODO: use propSetHandlers in plugin system\n if (!wasLoading && isLoading) {\n emitter.trigger('loading', true);\n } else if (wasLoading && !isLoading) {\n emitter.trigger('loading', false);\n }\n this.state = newState;\n if (props.onAction) {\n props.onAction(action);\n }\n }\n updateData() {\n let props = this.props,\n state = this.state;\n let oldData = this.data;\n let optionsData = this.computeOptionsData(props.optionOverrides, state.dynamicOptionOverrides, props.calendarApi);\n let currentViewData = this.computeCurrentViewData(state.currentViewType, optionsData, props.optionOverrides, state.dynamicOptionOverrides);\n let data = this.data = Object.assign(Object.assign(Object.assign({\n viewTitle: this.buildTitle(state.dateProfile, currentViewData.options, optionsData.dateEnv),\n calendarApi: props.calendarApi,\n dispatch: this.dispatch,\n emitter: this.emitter,\n getCurrentData: this.getCurrentData\n }, optionsData), currentViewData), state);\n let changeHandlers = optionsData.pluginHooks.optionChangeHandlers;\n let oldCalendarOptions = oldData && oldData.calendarOptions;\n let newCalendarOptions = optionsData.calendarOptions;\n if (oldCalendarOptions && oldCalendarOptions !== newCalendarOptions) {\n if (oldCalendarOptions.timeZone !== newCalendarOptions.timeZone) {\n // hack\n state.eventSources = data.eventSources = reduceEventSourcesNewTimeZone(data.eventSources, state.dateProfile, data);\n state.eventStore = data.eventStore = rezoneEventStoreDates(data.eventStore, oldData.dateEnv, data.dateEnv);\n state.renderableEventStore = data.renderableEventStore = rezoneEventStoreDates(data.renderableEventStore, oldData.dateEnv, data.dateEnv);\n }\n for (let optionName in changeHandlers) {\n if (this.optionsForHandling.indexOf(optionName) !== -1 || oldCalendarOptions[optionName] !== newCalendarOptions[optionName]) {\n changeHandlers[optionName](newCalendarOptions[optionName], data);\n }\n }\n }\n this.optionsForHandling = [];\n if (props.onData) {\n props.onData(data);\n }\n }\n computeOptionsData(optionOverrides, dynamicOptionOverrides, calendarApi) {\n // TODO: blacklist options that are handled by optionChangeHandlers\n if (!this.optionsForRefining.length && optionOverrides === this.stableOptionOverrides && dynamicOptionOverrides === this.stableDynamicOptionOverrides) {\n return this.stableCalendarOptionsData;\n }\n let _this$processRawCalen = this.processRawCalendarOptions(optionOverrides, dynamicOptionOverrides),\n refinedOptions = _this$processRawCalen.refinedOptions,\n pluginHooks = _this$processRawCalen.pluginHooks,\n localeDefaults = _this$processRawCalen.localeDefaults,\n availableLocaleData = _this$processRawCalen.availableLocaleData,\n extra = _this$processRawCalen.extra;\n warnUnknownOptions(extra);\n let dateEnv = this.buildDateEnv(refinedOptions.timeZone, refinedOptions.locale, refinedOptions.weekNumberCalculation, refinedOptions.firstDay, refinedOptions.weekText, pluginHooks, availableLocaleData, refinedOptions.defaultRangeSeparator);\n let viewSpecs = this.buildViewSpecs(pluginHooks.views, this.stableOptionOverrides, this.stableDynamicOptionOverrides, localeDefaults);\n let theme = this.buildTheme(refinedOptions, pluginHooks);\n let toolbarConfig = this.parseToolbars(refinedOptions, this.stableOptionOverrides, theme, viewSpecs, calendarApi);\n return this.stableCalendarOptionsData = {\n calendarOptions: refinedOptions,\n pluginHooks,\n dateEnv,\n viewSpecs,\n theme,\n toolbarConfig,\n localeDefaults,\n availableRawLocales: availableLocaleData.map\n };\n }\n // always called from behind a memoizer\n processRawCalendarOptions(optionOverrides, dynamicOptionOverrides) {\n let _mergeRawOptions = mergeRawOptions([BASE_OPTION_DEFAULTS, optionOverrides, dynamicOptionOverrides]),\n locales = _mergeRawOptions.locales,\n locale = _mergeRawOptions.locale;\n let availableLocaleData = this.organizeRawLocales(locales);\n let availableRawLocales = availableLocaleData.map;\n let localeDefaults = this.buildLocale(locale || availableLocaleData.defaultCode, availableRawLocales).options;\n let pluginHooks = this.buildPluginHooks(optionOverrides.plugins || [], globalPlugins);\n let refiners = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, BASE_OPTION_REFINERS), CALENDAR_LISTENER_REFINERS), CALENDAR_OPTION_REFINERS), pluginHooks.listenerRefiners), pluginHooks.optionRefiners);\n let extra = {};\n let raw = mergeRawOptions([BASE_OPTION_DEFAULTS, localeDefaults, optionOverrides, dynamicOptionOverrides]);\n let refined = {};\n let currentRaw = this.currentCalendarOptionsInput;\n let currentRefined = this.currentCalendarOptionsRefined;\n let anyChanges = false;\n for (let optionName in raw) {\n if (this.optionsForRefining.indexOf(optionName) === -1 && (raw[optionName] === currentRaw[optionName] || COMPLEX_OPTION_COMPARATORS[optionName] && optionName in currentRaw && COMPLEX_OPTION_COMPARATORS[optionName](currentRaw[optionName], raw[optionName]))) {\n refined[optionName] = currentRefined[optionName];\n } else if (refiners[optionName]) {\n refined[optionName] = refiners[optionName](raw[optionName]);\n anyChanges = true;\n } else {\n extra[optionName] = currentRaw[optionName];\n }\n }\n if (anyChanges) {\n this.currentCalendarOptionsInput = raw;\n this.currentCalendarOptionsRefined = refined;\n this.stableOptionOverrides = optionOverrides;\n this.stableDynamicOptionOverrides = dynamicOptionOverrides;\n }\n this.optionsForHandling.push(...this.optionsForRefining);\n this.optionsForRefining = [];\n return {\n rawOptions: this.currentCalendarOptionsInput,\n refinedOptions: this.currentCalendarOptionsRefined,\n pluginHooks,\n availableLocaleData,\n localeDefaults,\n extra\n };\n }\n _computeCurrentViewData(viewType, optionsData, optionOverrides, dynamicOptionOverrides) {\n let viewSpec = optionsData.viewSpecs[viewType];\n if (!viewSpec) {\n throw new Error(`viewType \"${viewType}\" is not available. Please make sure you've loaded all neccessary plugins`);\n }\n let _this$processRawViewO = this.processRawViewOptions(viewSpec, optionsData.pluginHooks, optionsData.localeDefaults, optionOverrides, dynamicOptionOverrides),\n refinedOptions = _this$processRawViewO.refinedOptions,\n extra = _this$processRawViewO.extra;\n warnUnknownOptions(extra);\n let dateProfileGenerator = this.buildDateProfileGenerator({\n dateProfileGeneratorClass: viewSpec.optionDefaults.dateProfileGeneratorClass,\n duration: viewSpec.duration,\n durationUnit: viewSpec.durationUnit,\n usesMinMaxTime: viewSpec.optionDefaults.usesMinMaxTime,\n dateEnv: optionsData.dateEnv,\n calendarApi: this.props.calendarApi,\n slotMinTime: refinedOptions.slotMinTime,\n slotMaxTime: refinedOptions.slotMaxTime,\n showNonCurrentDates: refinedOptions.showNonCurrentDates,\n dayCount: refinedOptions.dayCount,\n dateAlignment: refinedOptions.dateAlignment,\n dateIncrement: refinedOptions.dateIncrement,\n hiddenDays: refinedOptions.hiddenDays,\n weekends: refinedOptions.weekends,\n nowInput: refinedOptions.now,\n validRangeInput: refinedOptions.validRange,\n visibleRangeInput: refinedOptions.visibleRange,\n fixedWeekCount: refinedOptions.fixedWeekCount\n });\n let viewApi = this.buildViewApi(viewType, this.getCurrentData, optionsData.dateEnv);\n return {\n viewSpec,\n options: refinedOptions,\n dateProfileGenerator,\n viewApi\n };\n }\n processRawViewOptions(viewSpec, pluginHooks, localeDefaults, optionOverrides, dynamicOptionOverrides) {\n let raw = mergeRawOptions([BASE_OPTION_DEFAULTS, viewSpec.optionDefaults, localeDefaults, optionOverrides, viewSpec.optionOverrides, dynamicOptionOverrides]);\n let refiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, BASE_OPTION_REFINERS), CALENDAR_LISTENER_REFINERS), CALENDAR_OPTION_REFINERS), VIEW_OPTION_REFINERS), pluginHooks.listenerRefiners), pluginHooks.optionRefiners);\n let refined = {};\n let currentRaw = this.currentViewOptionsInput;\n let currentRefined = this.currentViewOptionsRefined;\n let anyChanges = false;\n let extra = {};\n for (let optionName in raw) {\n if (raw[optionName] === currentRaw[optionName] || COMPLEX_OPTION_COMPARATORS[optionName] && COMPLEX_OPTION_COMPARATORS[optionName](raw[optionName], currentRaw[optionName])) {\n refined[optionName] = currentRefined[optionName];\n } else {\n if (raw[optionName] === this.currentCalendarOptionsInput[optionName] || COMPLEX_OPTION_COMPARATORS[optionName] && COMPLEX_OPTION_COMPARATORS[optionName](raw[optionName], this.currentCalendarOptionsInput[optionName])) {\n if (optionName in this.currentCalendarOptionsRefined) {\n // might be an \"extra\" prop\n refined[optionName] = this.currentCalendarOptionsRefined[optionName];\n }\n } else if (refiners[optionName]) {\n refined[optionName] = refiners[optionName](raw[optionName]);\n } else {\n extra[optionName] = raw[optionName];\n }\n anyChanges = true;\n }\n }\n if (anyChanges) {\n this.currentViewOptionsInput = raw;\n this.currentViewOptionsRefined = refined;\n }\n return {\n rawOptions: this.currentViewOptionsInput,\n refinedOptions: this.currentViewOptionsRefined,\n extra\n };\n }\n}\nfunction buildDateEnv$1(timeZone, explicitLocale, weekNumberCalculation, firstDay, weekText, pluginHooks, availableLocaleData, defaultSeparator) {\n let locale = buildLocale(explicitLocale || availableLocaleData.defaultCode, availableLocaleData.map);\n return new DateEnv({\n calendarSystem: 'gregory',\n timeZone,\n namedTimeZoneImpl: pluginHooks.namedTimeZonedImpl,\n locale,\n weekNumberCalculation,\n firstDay,\n weekText,\n cmdFormatter: pluginHooks.cmdFormatter,\n defaultSeparator\n });\n}\nfunction buildTheme(options, pluginHooks) {\n let ThemeClass = pluginHooks.themeClasses[options.themeSystem] || StandardTheme;\n return new ThemeClass(options);\n}\nfunction buildDateProfileGenerator(props) {\n let DateProfileGeneratorClass = props.dateProfileGeneratorClass || DateProfileGenerator;\n return new DateProfileGeneratorClass(props);\n}\nfunction buildViewApi(type, getCurrentData, dateEnv) {\n return new ViewImpl(type, getCurrentData, dateEnv);\n}\nfunction buildEventUiBySource(eventSources) {\n return mapHash(eventSources, eventSource => eventSource.ui);\n}\nfunction buildEventUiBases(eventDefs, eventUiSingleBase, eventUiBySource) {\n let eventUiBases = {\n '': eventUiSingleBase\n };\n for (let defId in eventDefs) {\n let def = eventDefs[defId];\n if (def.sourceId && eventUiBySource[def.sourceId]) {\n eventUiBases[defId] = eventUiBySource[def.sourceId];\n }\n }\n return eventUiBases;\n}\nfunction buildViewUiProps(calendarContext) {\n let options = calendarContext.options;\n return {\n eventUiSingleBase: createEventUi({\n display: options.eventDisplay,\n editable: options.editable,\n startEditable: options.eventStartEditable,\n durationEditable: options.eventDurationEditable,\n constraint: options.eventConstraint,\n overlap: typeof options.eventOverlap === 'boolean' ? options.eventOverlap : undefined,\n allow: options.eventAllow,\n backgroundColor: options.eventBackgroundColor,\n borderColor: options.eventBorderColor,\n textColor: options.eventTextColor,\n color: options.eventColor\n // classNames: options.eventClassNames // render hook will handle this\n }, calendarContext),\n selectionConfig: createEventUi({\n constraint: options.selectConstraint,\n overlap: typeof options.selectOverlap === 'boolean' ? options.selectOverlap : undefined,\n allow: options.selectAllow\n }, calendarContext)\n };\n}\nfunction computeIsLoading(state, context) {\n for (let isLoadingFunc of context.pluginHooks.isLoadingFuncs) {\n if (isLoadingFunc(state)) {\n return true;\n }\n }\n return false;\n}\nfunction parseContextBusinessHours(calendarContext) {\n return parseBusinessHours(calendarContext.options.businessHours, calendarContext);\n}\nfunction warnUnknownOptions(options, viewName) {\n for (let optionName in options) {\n console.warn(`Unknown option '${optionName}'` + (viewName ? ` for view '${viewName}'` : ''));\n }\n}\nclass ToolbarSection extends BaseComponent {\n render() {\n let children = this.props.widgetGroups.map(widgetGroup => this.renderWidgetGroup(widgetGroup));\n return createElement('div', {\n className: 'fc-toolbar-chunk'\n }, ...children);\n }\n renderWidgetGroup(widgetGroup) {\n let props = this.props;\n let theme = this.context.theme;\n let children = [];\n let isOnlyButtons = true;\n for (let widget of widgetGroup) {\n let buttonName = widget.buttonName,\n buttonClick = widget.buttonClick,\n buttonText = widget.buttonText,\n buttonIcon = widget.buttonIcon,\n buttonHint = widget.buttonHint;\n if (buttonName === 'title') {\n isOnlyButtons = false;\n children.push(createElement(\"h2\", {\n className: \"fc-toolbar-title\",\n id: props.titleId\n }, props.title));\n } else {\n let isPressed = buttonName === props.activeButton;\n let isDisabled = !props.isTodayEnabled && buttonName === 'today' || !props.isPrevEnabled && buttonName === 'prev' || !props.isNextEnabled && buttonName === 'next';\n let buttonClasses = [`fc-${buttonName}-button`, theme.getClass('button')];\n if (isPressed) {\n buttonClasses.push(theme.getClass('buttonActive'));\n }\n children.push(createElement(\"button\", {\n type: \"button\",\n title: typeof buttonHint === 'function' ? buttonHint(props.navUnit) : buttonHint,\n disabled: isDisabled,\n \"aria-pressed\": isPressed,\n className: buttonClasses.join(' '),\n onClick: buttonClick\n }, buttonText || (buttonIcon ? createElement(\"span\", {\n className: buttonIcon,\n role: \"img\"\n }) : '')));\n }\n }\n if (children.length > 1) {\n let groupClassName = isOnlyButtons && theme.getClass('buttonGroup') || '';\n return createElement('div', {\n className: groupClassName\n }, ...children);\n }\n return children[0];\n }\n}\nclass Toolbar extends BaseComponent {\n render() {\n let _this$props = this.props,\n model = _this$props.model,\n extraClassName = _this$props.extraClassName;\n let forceLtr = false;\n let startContent;\n let endContent;\n let sectionWidgets = model.sectionWidgets;\n let centerContent = sectionWidgets.center;\n if (sectionWidgets.left) {\n forceLtr = true;\n startContent = sectionWidgets.left;\n } else {\n startContent = sectionWidgets.start;\n }\n if (sectionWidgets.right) {\n forceLtr = true;\n endContent = sectionWidgets.right;\n } else {\n endContent = sectionWidgets.end;\n }\n let classNames = [extraClassName || '', 'fc-toolbar', forceLtr ? 'fc-toolbar-ltr' : ''];\n return createElement(\"div\", {\n className: classNames.join(' ')\n }, this.renderSection('start', startContent || []), this.renderSection('center', centerContent || []), this.renderSection('end', endContent || []));\n }\n renderSection(key, widgetGroups) {\n let props = this.props;\n return createElement(ToolbarSection, {\n key: key,\n widgetGroups: widgetGroups,\n title: props.title,\n navUnit: props.navUnit,\n activeButton: props.activeButton,\n isTodayEnabled: props.isTodayEnabled,\n isPrevEnabled: props.isPrevEnabled,\n isNextEnabled: props.isNextEnabled,\n titleId: props.titleId\n });\n }\n}\nclass ViewHarness extends BaseComponent {\n constructor() {\n super(...arguments);\n this.state = {\n availableWidth: null\n };\n this.handleEl = el => {\n this.el = el;\n setRef(this.props.elRef, el);\n this.updateAvailableWidth();\n };\n this.handleResize = () => {\n this.updateAvailableWidth();\n };\n }\n render() {\n let props = this.props,\n state = this.state;\n let aspectRatio = props.aspectRatio;\n let classNames = ['fc-view-harness', aspectRatio || props.liquid || props.height ? 'fc-view-harness-active' // harness controls the height\n : 'fc-view-harness-passive' // let the view do the height\n ];\n let height = '';\n let paddingBottom = '';\n if (aspectRatio) {\n if (state.availableWidth !== null) {\n height = state.availableWidth / aspectRatio;\n } else {\n // while waiting to know availableWidth, we can't set height to *zero*\n // because will cause lots of unnecessary scrollbars within scrollgrid.\n // BETTER: don't start rendering ANYTHING yet until we know container width\n // NOTE: why not always use paddingBottom? Causes height oscillation (issue 5606)\n paddingBottom = `${1 / aspectRatio * 100}%`;\n }\n } else {\n height = props.height || '';\n }\n return createElement(\"div\", {\n \"aria-labelledby\": props.labeledById,\n ref: this.handleEl,\n className: classNames.join(' '),\n style: {\n height,\n paddingBottom\n }\n }, props.children);\n }\n componentDidMount() {\n this.context.addResizeHandler(this.handleResize);\n }\n componentWillUnmount() {\n this.context.removeResizeHandler(this.handleResize);\n }\n updateAvailableWidth() {\n if (this.el &&\n // needed. but why?\n this.props.aspectRatio // aspectRatio is the only height setting that needs availableWidth\n ) {\n this.setState({\n availableWidth: this.el.offsetWidth\n });\n }\n }\n}\n\n/*\nDetects when the user clicks on an event within a DateComponent\n*/\nclass EventClicking extends Interaction {\n constructor(settings) {\n super(settings);\n this.handleSegClick = (ev, segEl) => {\n let component = this.component;\n let context = component.context;\n let seg = getElSeg(segEl);\n if (seg &&\n // might be the surrounding the more link\n component.isValidSegDownEl(ev.target)) {\n // our way to simulate a link click for elements that can't be tags\n // grab before trigger fired in case trigger trashes DOM thru rerendering\n let hasUrlContainer = elementClosest(ev.target, '.fc-event-forced-url');\n let url = hasUrlContainer ? hasUrlContainer.querySelector('a[href]').href : '';\n context.emitter.trigger('eventClick', {\n el: segEl,\n event: new EventImpl(component.context, seg.eventRange.def, seg.eventRange.instance),\n jsEvent: ev,\n view: context.viewApi\n });\n if (url && !ev.defaultPrevented) {\n window.location.href = url;\n }\n }\n };\n this.destroy = listenBySelector(settings.el, 'click', '.fc-event',\n // on both fg and bg events\n this.handleSegClick);\n }\n}\n\n/*\nTriggers events and adds/removes core classNames when the user's pointer\nenters/leaves event-elements of a component.\n*/\nclass EventHovering extends Interaction {\n constructor(settings) {\n super(settings);\n // for simulating an eventMouseLeave when the event el is destroyed while mouse is over it\n this.handleEventElRemove = el => {\n if (el === this.currentSegEl) {\n this.handleSegLeave(null, this.currentSegEl);\n }\n };\n this.handleSegEnter = (ev, segEl) => {\n if (getElSeg(segEl)) {\n // TODO: better way to make sure not hovering over more+ link or its wrapper\n this.currentSegEl = segEl;\n this.triggerEvent('eventMouseEnter', ev, segEl);\n }\n };\n this.handleSegLeave = (ev, segEl) => {\n if (this.currentSegEl) {\n this.currentSegEl = null;\n this.triggerEvent('eventMouseLeave', ev, segEl);\n }\n };\n this.removeHoverListeners = listenToHoverBySelector(settings.el, '.fc-event',\n // on both fg and bg events\n this.handleSegEnter, this.handleSegLeave);\n }\n destroy() {\n this.removeHoverListeners();\n }\n triggerEvent(publicEvName, ev, segEl) {\n let component = this.component;\n let context = component.context;\n let seg = getElSeg(segEl);\n if (!ev || component.isValidSegDownEl(ev.target)) {\n context.emitter.trigger(publicEvName, {\n el: segEl,\n event: new EventImpl(context, seg.eventRange.def, seg.eventRange.instance),\n jsEvent: ev,\n view: context.viewApi\n });\n }\n }\n}\nclass CalendarContent extends PureComponent {\n constructor() {\n super(...arguments);\n this.buildViewContext = memoize(buildViewContext);\n this.buildViewPropTransformers = memoize(buildViewPropTransformers);\n this.buildToolbarProps = memoize(buildToolbarProps);\n this.headerRef = createRef();\n this.footerRef = createRef();\n this.interactionsStore = {};\n // eslint-disable-next-line\n this.state = {\n viewLabelId: getUniqueDomId()\n };\n // Component Registration\n // -----------------------------------------------------------------------------------------------------------------\n this.registerInteractiveComponent = (component, settingsInput) => {\n let settings = parseInteractionSettings(component, settingsInput);\n let DEFAULT_INTERACTIONS = [EventClicking, EventHovering];\n let interactionClasses = DEFAULT_INTERACTIONS.concat(this.props.pluginHooks.componentInteractions);\n let interactions = interactionClasses.map(TheInteractionClass => new TheInteractionClass(settings));\n this.interactionsStore[component.uid] = interactions;\n interactionSettingsStore[component.uid] = settings;\n };\n this.unregisterInteractiveComponent = component => {\n let listeners = this.interactionsStore[component.uid];\n if (listeners) {\n for (let listener of listeners) {\n listener.destroy();\n }\n delete this.interactionsStore[component.uid];\n }\n delete interactionSettingsStore[component.uid];\n };\n // Resizing\n // -----------------------------------------------------------------------------------------------------------------\n this.resizeRunner = new DelayedRunner(() => {\n this.props.emitter.trigger('_resize', true); // should window resizes be considered \"forced\" ?\n this.props.emitter.trigger('windowResize', {\n view: this.props.viewApi\n });\n });\n this.handleWindowResize = ev => {\n let options = this.props.options;\n if (options.handleWindowResize && ev.target === window // avoid jqui events\n ) {\n this.resizeRunner.request(options.windowResizeDelay);\n }\n };\n }\n /*\n renders INSIDE of an outer div\n */\n render() {\n let props = this.props;\n let toolbarConfig = props.toolbarConfig,\n options = props.options;\n let toolbarProps = this.buildToolbarProps(props.viewSpec, props.dateProfile, props.dateProfileGenerator, props.currentDate, getNow(props.options.now, props.dateEnv),\n // TODO: use NowTimer????\n props.viewTitle);\n let viewVGrow = false;\n let viewHeight = '';\n let viewAspectRatio;\n if (props.isHeightAuto || props.forPrint) {\n viewHeight = '';\n } else if (options.height != null) {\n viewVGrow = true;\n } else if (options.contentHeight != null) {\n viewHeight = options.contentHeight;\n } else {\n viewAspectRatio = Math.max(options.aspectRatio, 0.5); // prevent from getting too tall\n }\n let viewContext = this.buildViewContext(props.viewSpec, props.viewApi, props.options, props.dateProfileGenerator, props.dateEnv, props.theme, props.pluginHooks, props.dispatch, props.getCurrentData, props.emitter, props.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent);\n let viewLabelId = toolbarConfig.header && toolbarConfig.header.hasTitle ? this.state.viewLabelId : undefined;\n return createElement(ViewContextType.Provider, {\n value: viewContext\n }, toolbarConfig.header && createElement(Toolbar, Object.assign({\n ref: this.headerRef,\n extraClassName: \"fc-header-toolbar\",\n model: toolbarConfig.header,\n titleId: viewLabelId\n }, toolbarProps)), createElement(ViewHarness, {\n liquid: viewVGrow,\n height: viewHeight,\n aspectRatio: viewAspectRatio,\n labeledById: viewLabelId\n }, this.renderView(props), this.buildAppendContent()), toolbarConfig.footer && createElement(Toolbar, Object.assign({\n ref: this.footerRef,\n extraClassName: \"fc-footer-toolbar\",\n model: toolbarConfig.footer,\n titleId: \"\"\n }, toolbarProps)));\n }\n componentDidMount() {\n let props = this.props;\n this.calendarInteractions = props.pluginHooks.calendarInteractions.map(CalendarInteractionClass => new CalendarInteractionClass(props));\n window.addEventListener('resize', this.handleWindowResize);\n let propSetHandlers = props.pluginHooks.propSetHandlers;\n for (let propName in propSetHandlers) {\n propSetHandlers[propName](props[propName], props);\n }\n }\n componentDidUpdate(prevProps) {\n let props = this.props;\n let propSetHandlers = props.pluginHooks.propSetHandlers;\n for (let propName in propSetHandlers) {\n if (props[propName] !== prevProps[propName]) {\n propSetHandlers[propName](props[propName], props);\n }\n }\n }\n componentWillUnmount() {\n window.removeEventListener('resize', this.handleWindowResize);\n this.resizeRunner.clear();\n for (let interaction of this.calendarInteractions) {\n interaction.destroy();\n }\n this.props.emitter.trigger('_unmount');\n }\n buildAppendContent() {\n let props = this.props;\n let children = props.pluginHooks.viewContainerAppends.map(buildAppendContent => buildAppendContent(props));\n return createElement(Fragment, {}, ...children);\n }\n renderView(props) {\n let pluginHooks = props.pluginHooks;\n let viewSpec = props.viewSpec;\n let viewProps = {\n dateProfile: props.dateProfile,\n businessHours: props.businessHours,\n eventStore: props.renderableEventStore,\n eventUiBases: props.eventUiBases,\n dateSelection: props.dateSelection,\n eventSelection: props.eventSelection,\n eventDrag: props.eventDrag,\n eventResize: props.eventResize,\n isHeightAuto: props.isHeightAuto,\n forPrint: props.forPrint\n };\n let transformers = this.buildViewPropTransformers(pluginHooks.viewPropsTransformers);\n for (let transformer of transformers) {\n Object.assign(viewProps, transformer.transform(viewProps, props));\n }\n let ViewComponent = viewSpec.component;\n return createElement(ViewComponent, Object.assign({}, viewProps));\n }\n}\nfunction buildToolbarProps(viewSpec, dateProfile, dateProfileGenerator, currentDate, now, title) {\n // don't force any date-profiles to valid date profiles (the `false`) so that we can tell if it's invalid\n let todayInfo = dateProfileGenerator.build(now, undefined, false); // TODO: need `undefined` or else INFINITE LOOP for some reason\n let prevInfo = dateProfileGenerator.buildPrev(dateProfile, currentDate, false);\n let nextInfo = dateProfileGenerator.buildNext(dateProfile, currentDate, false);\n return {\n title,\n activeButton: viewSpec.type,\n navUnit: viewSpec.singleUnit,\n isTodayEnabled: todayInfo.isValid && !rangeContainsMarker(dateProfile.currentRange, now),\n isPrevEnabled: prevInfo.isValid,\n isNextEnabled: nextInfo.isValid\n };\n}\n// Plugin\n// -----------------------------------------------------------------------------------------------------------------\nfunction buildViewPropTransformers(theClasses) {\n return theClasses.map(TheClass => new TheClass());\n}\nclass Calendar extends CalendarImpl {\n constructor(el) {\n let optionOverrides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n super();\n this.isRendering = false;\n this.isRendered = false;\n this.currentClassNames = [];\n this.customContentRenderId = 0;\n this.handleAction = action => {\n // actions we know we want to render immediately\n switch (action.type) {\n case 'SET_EVENT_DRAG':\n case 'SET_EVENT_RESIZE':\n this.renderRunner.tryDrain();\n }\n };\n this.handleData = data => {\n this.currentData = data;\n this.renderRunner.request(data.calendarOptions.rerenderDelay);\n };\n this.handleRenderRequest = () => {\n if (this.isRendering) {\n this.isRendered = true;\n let currentData = this.currentData;\n flushSync(() => {\n render(createElement(CalendarRoot, {\n options: currentData.calendarOptions,\n theme: currentData.theme,\n emitter: currentData.emitter\n }, (classNames, height, isHeightAuto, forPrint) => {\n this.setClassNames(classNames);\n this.setHeight(height);\n return createElement(RenderId.Provider, {\n value: this.customContentRenderId\n }, createElement(CalendarContent, Object.assign({\n isHeightAuto: isHeightAuto,\n forPrint: forPrint\n }, currentData)));\n }), this.el);\n });\n } else if (this.isRendered) {\n this.isRendered = false;\n render(null, this.el);\n this.setClassNames([]);\n this.setHeight('');\n }\n };\n ensureElHasStyles(el);\n this.el = el;\n this.renderRunner = new DelayedRunner(this.handleRenderRequest);\n new CalendarDataManager({\n optionOverrides,\n calendarApi: this,\n onAction: this.handleAction,\n onData: this.handleData\n });\n }\n render() {\n let wasRendering = this.isRendering;\n if (!wasRendering) {\n this.isRendering = true;\n } else {\n this.customContentRenderId += 1;\n }\n this.renderRunner.request();\n if (wasRendering) {\n this.updateSize();\n }\n }\n destroy() {\n if (this.isRendering) {\n this.isRendering = false;\n this.renderRunner.request();\n }\n }\n updateSize() {\n flushSync(() => {\n super.updateSize();\n });\n }\n batchRendering(func) {\n this.renderRunner.pause('batchRendering');\n func();\n this.renderRunner.resume('batchRendering');\n }\n pauseRendering() {\n this.renderRunner.pause('pauseRendering');\n }\n resumeRendering() {\n this.renderRunner.resume('pauseRendering', true);\n }\n resetOptions(optionOverrides, changedOptionNames) {\n this.currentDataManager.resetOptions(optionOverrides, changedOptionNames);\n }\n setClassNames(classNames) {\n if (!isArraysEqual(classNames, this.currentClassNames)) {\n let classList = this.el.classList;\n for (let className of this.currentClassNames) {\n classList.remove(className);\n }\n for (let className of classNames) {\n classList.add(className);\n }\n this.currentClassNames = classNames;\n }\n }\n setHeight(height) {\n applyStyleProp(this.el, 'height', height);\n }\n}\nfunction formatDate(dateInput) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let dateEnv = buildDateEnv(options);\n let formatter = createFormatter(options);\n let dateMeta = dateEnv.createMarkerMeta(dateInput);\n if (!dateMeta) {\n // TODO: warning?\n return '';\n }\n return dateEnv.format(dateMeta.marker, formatter, {\n forcedTzo: dateMeta.forcedTzo\n });\n}\nfunction formatRange(startInput, endInput, options) {\n let dateEnv = buildDateEnv(typeof options === 'object' && options ? options : {}); // pass in if non-null object\n let formatter = createFormatter(options);\n let startMeta = dateEnv.createMarkerMeta(startInput);\n let endMeta = dateEnv.createMarkerMeta(endInput);\n if (!startMeta || !endMeta) {\n // TODO: warning?\n return '';\n }\n return dateEnv.formatRange(startMeta.marker, endMeta.marker, formatter, {\n forcedStartTzo: startMeta.forcedTzo,\n forcedEndTzo: endMeta.forcedTzo,\n isEndExclusive: options.isEndExclusive,\n defaultSeparator: BASE_OPTION_DEFAULTS.defaultRangeSeparator\n });\n}\n// TODO: more DRY and optimized\nfunction buildDateEnv(settings) {\n let locale = buildLocale(settings.locale || 'en', organizeRawLocales([]).map); // TODO: don't hardcode 'en' everywhere\n return new DateEnv(Object.assign(Object.assign({\n timeZone: BASE_OPTION_DEFAULTS.timeZone,\n calendarSystem: 'gregory'\n }, settings), {\n locale\n }));\n}\n\n// HELPERS\n/*\nif nextDayThreshold is specified, slicing is done in an all-day fashion.\nyou can get nextDayThreshold from context.nextDayThreshold\n*/\nfunction sliceEvents(props, allDay) {\n return sliceEventStore(props.eventStore, props.eventUiBases, props.dateProfile.activeRange, allDay ? props.nextDayThreshold : null).fg;\n}\nconst version = '6.1.15';\nexport { Calendar, createPlugin, formatDate, formatRange, globalLocales, globalPlugins, sliceEvents, version };","var adapters = {\n logger: typeof console !== \"undefined\" ? console : undefined,\n WebSocket: typeof WebSocket !== \"undefined\" ? WebSocket : undefined\n};\nvar logger = {\n log() {\n if (this.enabled) {\n for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {\n messages[_key] = arguments[_key];\n }\n messages.push(Date.now());\n adapters.logger.log(\"[ActionCable]\", ...messages);\n }\n }\n};\nconst now = () => new Date().getTime();\nconst secondsSince = time => (now() - time) / 1e3;\nclass ConnectionMonitor {\n constructor(connection) {\n this.visibilityDidChange = this.visibilityDidChange.bind(this);\n this.connection = connection;\n this.reconnectAttempts = 0;\n }\n start() {\n if (!this.isRunning()) {\n this.startedAt = now();\n delete this.stoppedAt;\n this.startPolling();\n addEventListener(\"visibilitychange\", this.visibilityDidChange);\n logger.log(`ConnectionMonitor started. stale threshold = ${this.constructor.staleThreshold} s`);\n }\n }\n stop() {\n if (this.isRunning()) {\n this.stoppedAt = now();\n this.stopPolling();\n removeEventListener(\"visibilitychange\", this.visibilityDidChange);\n logger.log(\"ConnectionMonitor stopped\");\n }\n }\n isRunning() {\n return this.startedAt && !this.stoppedAt;\n }\n recordMessage() {\n this.pingedAt = now();\n }\n recordConnect() {\n this.reconnectAttempts = 0;\n delete this.disconnectedAt;\n logger.log(\"ConnectionMonitor recorded connect\");\n }\n recordDisconnect() {\n this.disconnectedAt = now();\n logger.log(\"ConnectionMonitor recorded disconnect\");\n }\n startPolling() {\n this.stopPolling();\n this.poll();\n }\n stopPolling() {\n clearTimeout(this.pollTimeout);\n }\n poll() {\n this.pollTimeout = setTimeout(() => {\n this.reconnectIfStale();\n this.poll();\n }, this.getPollInterval());\n }\n getPollInterval() {\n const _this$constructor = this.constructor,\n staleThreshold = _this$constructor.staleThreshold,\n reconnectionBackoffRate = _this$constructor.reconnectionBackoffRate;\n const backoff = Math.pow(1 + reconnectionBackoffRate, Math.min(this.reconnectAttempts, 10));\n const jitterMax = this.reconnectAttempts === 0 ? 1 : reconnectionBackoffRate;\n const jitter = jitterMax * Math.random();\n return staleThreshold * 1e3 * backoff * (1 + jitter);\n }\n reconnectIfStale() {\n if (this.connectionIsStale()) {\n logger.log(`ConnectionMonitor detected stale connection. reconnectAttempts = ${this.reconnectAttempts}, time stale = ${secondsSince(this.refreshedAt)} s, stale threshold = ${this.constructor.staleThreshold} s`);\n this.reconnectAttempts++;\n if (this.disconnectedRecently()) {\n logger.log(`ConnectionMonitor skipping reopening recent disconnect. time disconnected = ${secondsSince(this.disconnectedAt)} s`);\n } else {\n logger.log(\"ConnectionMonitor reopening\");\n this.connection.reopen();\n }\n }\n }\n get refreshedAt() {\n return this.pingedAt ? this.pingedAt : this.startedAt;\n }\n connectionIsStale() {\n return secondsSince(this.refreshedAt) > this.constructor.staleThreshold;\n }\n disconnectedRecently() {\n return this.disconnectedAt && secondsSince(this.disconnectedAt) < this.constructor.staleThreshold;\n }\n visibilityDidChange() {\n if (document.visibilityState === \"visible\") {\n setTimeout(() => {\n if (this.connectionIsStale() || !this.connection.isOpen()) {\n logger.log(`ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = ${document.visibilityState}`);\n this.connection.reopen();\n }\n }, 200);\n }\n }\n}\nConnectionMonitor.staleThreshold = 6;\nConnectionMonitor.reconnectionBackoffRate = .15;\nvar INTERNAL = {\n message_types: {\n welcome: \"welcome\",\n disconnect: \"disconnect\",\n ping: \"ping\",\n confirmation: \"confirm_subscription\",\n rejection: \"reject_subscription\"\n },\n disconnect_reasons: {\n unauthorized: \"unauthorized\",\n invalid_request: \"invalid_request\",\n server_restart: \"server_restart\",\n remote: \"remote\"\n },\n default_mount_path: \"/cable\",\n protocols: [\"actioncable-v1-json\", \"actioncable-unsupported\"]\n};\nconst message_types = INTERNAL.message_types,\n protocols = INTERNAL.protocols;\nconst supportedProtocols = protocols.slice(0, protocols.length - 1);\nconst indexOf = [].indexOf;\nclass Connection {\n constructor(consumer) {\n this.open = this.open.bind(this);\n this.consumer = consumer;\n this.subscriptions = this.consumer.subscriptions;\n this.monitor = new ConnectionMonitor(this);\n this.disconnected = true;\n }\n send(data) {\n if (this.isOpen()) {\n this.webSocket.send(JSON.stringify(data));\n return true;\n } else {\n return false;\n }\n }\n open() {\n if (this.isActive()) {\n logger.log(`Attempted to open WebSocket, but existing socket is ${this.getState()}`);\n return false;\n } else {\n const socketProtocols = [...protocols, ...(this.consumer.subprotocols || [])];\n logger.log(`Opening WebSocket, current state is ${this.getState()}, subprotocols: ${socketProtocols}`);\n if (this.webSocket) {\n this.uninstallEventHandlers();\n }\n this.webSocket = new adapters.WebSocket(this.consumer.url, socketProtocols);\n this.installEventHandlers();\n this.monitor.start();\n return true;\n }\n }\n close() {\n let _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n allowReconnect: true\n },\n allowReconnect = _ref.allowReconnect;\n if (!allowReconnect) {\n this.monitor.stop();\n }\n if (this.isOpen()) {\n return this.webSocket.close();\n }\n }\n reopen() {\n logger.log(`Reopening WebSocket, current state is ${this.getState()}`);\n if (this.isActive()) {\n try {\n return this.close();\n } catch (error) {\n logger.log(\"Failed to reopen WebSocket\", error);\n } finally {\n logger.log(`Reopening WebSocket in ${this.constructor.reopenDelay}ms`);\n setTimeout(this.open, this.constructor.reopenDelay);\n }\n } else {\n return this.open();\n }\n }\n getProtocol() {\n if (this.webSocket) {\n return this.webSocket.protocol;\n }\n }\n isOpen() {\n return this.isState(\"open\");\n }\n isActive() {\n return this.isState(\"open\", \"connecting\");\n }\n triedToReconnect() {\n return this.monitor.reconnectAttempts > 0;\n }\n isProtocolSupported() {\n return indexOf.call(supportedProtocols, this.getProtocol()) >= 0;\n }\n isState() {\n for (var _len2 = arguments.length, states = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n states[_key2] = arguments[_key2];\n }\n return indexOf.call(states, this.getState()) >= 0;\n }\n getState() {\n if (this.webSocket) {\n for (let state in adapters.WebSocket) {\n if (adapters.WebSocket[state] === this.webSocket.readyState) {\n return state.toLowerCase();\n }\n }\n }\n return null;\n }\n installEventHandlers() {\n for (let eventName in this.events) {\n const handler = this.events[eventName].bind(this);\n this.webSocket[`on${eventName}`] = handler;\n }\n }\n uninstallEventHandlers() {\n for (let eventName in this.events) {\n this.webSocket[`on${eventName}`] = function () {};\n }\n }\n}\nConnection.reopenDelay = 500;\nConnection.prototype.events = {\n message(event) {\n if (!this.isProtocolSupported()) {\n return;\n }\n const _JSON$parse = JSON.parse(event.data),\n identifier = _JSON$parse.identifier,\n message = _JSON$parse.message,\n reason = _JSON$parse.reason,\n reconnect = _JSON$parse.reconnect,\n type = _JSON$parse.type;\n this.monitor.recordMessage();\n switch (type) {\n case message_types.welcome:\n if (this.triedToReconnect()) {\n this.reconnectAttempted = true;\n }\n this.monitor.recordConnect();\n return this.subscriptions.reload();\n case message_types.disconnect:\n logger.log(`Disconnecting. Reason: ${reason}`);\n return this.close({\n allowReconnect: reconnect\n });\n case message_types.ping:\n return null;\n case message_types.confirmation:\n this.subscriptions.confirmSubscription(identifier);\n if (this.reconnectAttempted) {\n this.reconnectAttempted = false;\n return this.subscriptions.notify(identifier, \"connected\", {\n reconnected: true\n });\n } else {\n return this.subscriptions.notify(identifier, \"connected\", {\n reconnected: false\n });\n }\n case message_types.rejection:\n return this.subscriptions.reject(identifier);\n default:\n return this.subscriptions.notify(identifier, \"received\", message);\n }\n },\n open() {\n logger.log(`WebSocket onopen event, using '${this.getProtocol()}' subprotocol`);\n this.disconnected = false;\n if (!this.isProtocolSupported()) {\n logger.log(\"Protocol is unsupported. Stopping monitor and disconnecting.\");\n return this.close({\n allowReconnect: false\n });\n }\n },\n close(event) {\n logger.log(\"WebSocket onclose event\");\n if (this.disconnected) {\n return;\n }\n this.disconnected = true;\n this.monitor.recordDisconnect();\n return this.subscriptions.notifyAll(\"disconnected\", {\n willAttemptReconnect: this.monitor.isRunning()\n });\n },\n error() {\n logger.log(\"WebSocket onerror event\");\n }\n};\nconst extend = function (object, properties) {\n if (properties != null) {\n for (let key in properties) {\n const value = properties[key];\n object[key] = value;\n }\n }\n return object;\n};\nclass Subscription {\n constructor(consumer) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let mixin = arguments.length > 2 ? arguments[2] : undefined;\n this.consumer = consumer;\n this.identifier = JSON.stringify(params);\n extend(this, mixin);\n }\n perform(action) {\n let data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n data.action = action;\n return this.send(data);\n }\n send(data) {\n return this.consumer.send({\n command: \"message\",\n identifier: this.identifier,\n data: JSON.stringify(data)\n });\n }\n unsubscribe() {\n return this.consumer.subscriptions.remove(this);\n }\n}\nclass SubscriptionGuarantor {\n constructor(subscriptions) {\n this.subscriptions = subscriptions;\n this.pendingSubscriptions = [];\n }\n guarantee(subscription) {\n if (this.pendingSubscriptions.indexOf(subscription) == -1) {\n logger.log(`SubscriptionGuarantor guaranteeing ${subscription.identifier}`);\n this.pendingSubscriptions.push(subscription);\n } else {\n logger.log(`SubscriptionGuarantor already guaranteeing ${subscription.identifier}`);\n }\n this.startGuaranteeing();\n }\n forget(subscription) {\n logger.log(`SubscriptionGuarantor forgetting ${subscription.identifier}`);\n this.pendingSubscriptions = this.pendingSubscriptions.filter(s => s !== subscription);\n }\n startGuaranteeing() {\n this.stopGuaranteeing();\n this.retrySubscribing();\n }\n stopGuaranteeing() {\n clearTimeout(this.retryTimeout);\n }\n retrySubscribing() {\n this.retryTimeout = setTimeout(() => {\n if (this.subscriptions && typeof this.subscriptions.subscribe === \"function\") {\n this.pendingSubscriptions.map(subscription => {\n logger.log(`SubscriptionGuarantor resubscribing ${subscription.identifier}`);\n this.subscriptions.subscribe(subscription);\n });\n }\n }, 500);\n }\n}\nclass Subscriptions {\n constructor(consumer) {\n this.consumer = consumer;\n this.guarantor = new SubscriptionGuarantor(this);\n this.subscriptions = [];\n }\n create(channelName, mixin) {\n const channel = channelName;\n const params = typeof channel === \"object\" ? channel : {\n channel: channel\n };\n const subscription = new Subscription(this.consumer, params, mixin);\n return this.add(subscription);\n }\n add(subscription) {\n this.subscriptions.push(subscription);\n this.consumer.ensureActiveConnection();\n this.notify(subscription, \"initialized\");\n this.subscribe(subscription);\n return subscription;\n }\n remove(subscription) {\n this.forget(subscription);\n if (!this.findAll(subscription.identifier).length) {\n this.sendCommand(subscription, \"unsubscribe\");\n }\n return subscription;\n }\n reject(identifier) {\n return this.findAll(identifier).map(subscription => {\n this.forget(subscription);\n this.notify(subscription, \"rejected\");\n return subscription;\n });\n }\n forget(subscription) {\n this.guarantor.forget(subscription);\n this.subscriptions = this.subscriptions.filter(s => s !== subscription);\n return subscription;\n }\n findAll(identifier) {\n return this.subscriptions.filter(s => s.identifier === identifier);\n }\n reload() {\n return this.subscriptions.map(subscription => this.subscribe(subscription));\n }\n notifyAll(callbackName) {\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n return this.subscriptions.map(subscription => this.notify(subscription, callbackName, ...args));\n }\n notify(subscription, callbackName) {\n for (var _len4 = arguments.length, args = new Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {\n args[_key4 - 2] = arguments[_key4];\n }\n let subscriptions;\n if (typeof subscription === \"string\") {\n subscriptions = this.findAll(subscription);\n } else {\n subscriptions = [subscription];\n }\n return subscriptions.map(subscription => typeof subscription[callbackName] === \"function\" ? subscription[callbackName](...args) : undefined);\n }\n subscribe(subscription) {\n if (this.sendCommand(subscription, \"subscribe\")) {\n this.guarantor.guarantee(subscription);\n }\n }\n confirmSubscription(identifier) {\n logger.log(`Subscription confirmed ${identifier}`);\n this.findAll(identifier).map(subscription => this.guarantor.forget(subscription));\n }\n sendCommand(subscription, command) {\n const identifier = subscription.identifier;\n return this.consumer.send({\n command: command,\n identifier: identifier\n });\n }\n}\nclass Consumer {\n constructor(url) {\n this._url = url;\n this.subscriptions = new Subscriptions(this);\n this.connection = new Connection(this);\n this.subprotocols = [];\n }\n get url() {\n return createWebSocketURL(this._url);\n }\n send(data) {\n return this.connection.send(data);\n }\n connect() {\n return this.connection.open();\n }\n disconnect() {\n return this.connection.close({\n allowReconnect: false\n });\n }\n ensureActiveConnection() {\n if (!this.connection.isActive()) {\n return this.connection.open();\n }\n }\n addSubProtocol(subprotocol) {\n this.subprotocols = [...this.subprotocols, subprotocol];\n }\n}\nfunction createWebSocketURL(url) {\n if (typeof url === \"function\") {\n url = url();\n }\n if (url && !/^wss?:/i.test(url)) {\n const a = document.createElement(\"a\");\n a.href = url;\n a.href = a.href;\n a.protocol = a.protocol.replace(\"http\", \"ws\");\n return a.href;\n } else {\n return url;\n }\n}\nfunction createConsumer() {\n let url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getConfig(\"url\") || INTERNAL.default_mount_path;\n return new Consumer(url);\n}\nfunction getConfig(name) {\n const element = document.head.querySelector(`meta[name='action-cable-${name}']`);\n if (element) {\n return element.getAttribute(\"content\");\n }\n}\nexport { Connection, ConnectionMonitor, Consumer, INTERNAL, Subscription, SubscriptionGuarantor, Subscriptions, adapters, createConsumer, createWebSocketURL, getConfig, logger };","function _slicedToArray(r, e) {\n return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n }\n}\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nfunction _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n _defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nfunction _defineProperty(e, r, t) {\n return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nfunction _toPropertyKey(t) {\n var i = _toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : i + \"\";\n}\nfunction _toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nimport { Controller } from \"@hotwired/stimulus\";\nimport CableReady, { Utils } from \"cable_ready\";\nimport { createConsumer } from \"@rails/actioncable\";\n\n/*!\n * Toastify js 1.12.0\n * https://github.com/apvarun/toastify-js\n * @license MIT licensed\n *\n * Copyright (C) 2018 Varun A P\n */\nclass Toastify {\n constructor(options) {\n _defineProperty(this, \"defaults\", {\n oldestFirst: true,\n text: \"Toastify is awesome!\",\n node: undefined,\n duration: 3e3,\n selector: undefined,\n callback: function () {},\n destination: undefined,\n newWindow: false,\n close: false,\n gravity: \"toastify-top\",\n positionLeft: false,\n position: \"\",\n backgroundColor: \"\",\n avatar: \"\",\n className: \"\",\n stopOnFocus: true,\n onClick: function () {},\n offset: {\n x: 0,\n y: 0\n },\n escapeMarkup: true,\n ariaLive: \"polite\",\n style: {\n background: \"\"\n }\n });\n this.version = \"1.12.0\";\n this.options = {};\n this.toastElement = null;\n this._rootElement = document.body;\n this._init(options);\n }\n showToast() {\n this.toastElement = this._buildToast();\n if (typeof this.options.selector === \"string\") {\n this._rootElement = document.getElementById(this.options.selector);\n } else if (this.options.selector instanceof HTMLElement || this.options.selector instanceof ShadowRoot) {\n this._rootElement = this.options.selector;\n } else {\n this._rootElement = document.body;\n }\n if (!this._rootElement) {\n throw \"Root element is not defined\";\n }\n this._rootElement.insertBefore(this.toastElement, this._rootElement.firstChild);\n this._reposition();\n if (this.options.duration > 0) {\n this.toastElement.timeOutValue = window.setTimeout(() => {\n this._removeElement(this.toastElement);\n }, this.options.duration);\n }\n return this;\n }\n hideToast() {\n if (this.toastElement.timeOutValue) {\n clearTimeout(this.toastElement.timeOutValue);\n }\n this._removeElement(this.toastElement);\n }\n _init(options) {\n this.options = Object.assign(this.defaults, options);\n if (this.options.backgroundColor) {\n console.warn('DEPRECATION NOTICE: \"backgroundColor\" is being deprecated. Please use the \"style.background\" property.');\n }\n this.toastElement = null;\n this.options.gravity = options.gravity === \"bottom\" ? \"toastify-bottom\" : \"toastify-top\";\n this.options.stopOnFocus = options.stopOnFocus === undefined ? true : options.stopOnFocus;\n if (options.backgroundColor) {\n this.options.style.background = options.backgroundColor;\n }\n }\n _buildToast() {\n if (!this.options) {\n throw \"Toastify is not initialized\";\n }\n let divElement = document.createElement(\"div\");\n divElement.className = `toastify on ${this.options.className}`;\n divElement.className += ` toastify-${this.options.position}`;\n divElement.className += ` ${this.options.gravity}`;\n for (const property in this.options.style) {\n divElement.style[property] = this.options.style[property];\n }\n if (this.options.ariaLive) {\n divElement.setAttribute(\"aria-live\", this.options.ariaLive);\n }\n if (this.options.node && this.options.node.nodeType === Node.ELEMENT_NODE) {\n divElement.appendChild(this.options.node);\n } else {\n if (this.options.escapeMarkup) {\n divElement.innerText = this.options.text;\n } else {\n divElement.innerHTML = this.options.text;\n }\n if (this.options.avatar !== \"\") {\n let avatarElement = document.createElement(\"img\");\n avatarElement.src = this.options.avatar;\n avatarElement.className = \"toastify-avatar\";\n if (this.options.position == \"left\") {\n divElement.appendChild(avatarElement);\n } else {\n divElement.insertAdjacentElement(\"afterbegin\", avatarElement);\n }\n }\n }\n if (this.options.close === true) {\n let closeElement = document.createElement(\"button\");\n closeElement.type = \"button\";\n closeElement.setAttribute(\"aria-label\", \"Close\");\n closeElement.className = \"toast-close\";\n closeElement.innerHTML = \"✖\";\n closeElement.addEventListener(\"click\", event => {\n event.stopPropagation();\n this._removeElement(this.toastElement);\n window.clearTimeout(this.toastElement.timeOutValue);\n });\n const width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n if (this.options.position == \"left\" && width > 360) {\n divElement.insertAdjacentElement(\"afterbegin\", closeElement);\n } else {\n divElement.appendChild(closeElement);\n }\n }\n if (this.options.stopOnFocus && this.options.duration > 0) {\n divElement.addEventListener(\"mouseover\", event => {\n window.clearTimeout(divElement.timeOutValue);\n });\n divElement.addEventListener(\"mouseleave\", () => {\n divElement.timeOutValue = window.setTimeout(() => {\n this._removeElement(divElement);\n }, this.options.duration);\n });\n }\n if (typeof this.options.destination !== \"undefined\") {\n divElement.addEventListener(\"click\", event => {\n event.stopPropagation();\n if (this.options.newWindow === true) {\n window.open(this.options.destination, \"_blank\");\n } else {\n window.location = this.options.destination;\n }\n });\n }\n if (typeof this.options.onClick === \"function\" && typeof this.options.destination === \"undefined\") {\n divElement.addEventListener(\"click\", event => {\n event.stopPropagation();\n this.options.onClick();\n });\n }\n if (typeof this.options.offset === \"object\") {\n const x = this._getAxisOffsetAValue(\"x\", this.options);\n const y = this._getAxisOffsetAValue(\"y\", this.options);\n const xOffset = this.options.position == \"left\" ? x : `-${x}`;\n const yOffset = this.options.gravity == \"toastify-top\" ? y : `-${y}`;\n divElement.style.transform = `translate(${xOffset},${yOffset})`;\n }\n return divElement;\n }\n _removeElement(toastElement) {\n toastElement.className = toastElement.className.replace(\" on\", \"\");\n window.setTimeout(() => {\n if (this.options.node && this.options.node.parentNode) {\n this.options.node.parentNode.removeChild(this.options.node);\n }\n if (toastElement.parentNode) {\n toastElement.parentNode.removeChild(toastElement);\n }\n this.options.callback.call(toastElement);\n this._reposition();\n }, 400);\n }\n _reposition() {\n let topLeftOffsetSize = {\n top: 15,\n bottom: 15\n };\n let topRightOffsetSize = {\n top: 15,\n bottom: 15\n };\n let offsetSize = {\n top: 15,\n bottom: 15\n };\n let allToasts = this._rootElement.querySelectorAll(\".toastify\");\n let classUsed;\n for (let i = 0; i < allToasts.length; i++) {\n if (allToasts[i].classList.contains(\"toastify-top\") === true) {\n classUsed = \"toastify-top\";\n } else {\n classUsed = \"toastify-bottom\";\n }\n let height = allToasts[i].offsetHeight;\n classUsed = classUsed.substr(9, classUsed.length - 1);\n let offset = 15;\n let width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n if (width <= 360) {\n allToasts[i].style[classUsed] = `${offsetSize[classUsed]}px`;\n offsetSize[classUsed] += height + offset;\n } else {\n if (allToasts[i].classList.contains(\"toastify-left\") === true) {\n allToasts[i].style[classUsed] = `${topLeftOffsetSize[classUsed]}px`;\n topLeftOffsetSize[classUsed] += height + offset;\n } else {\n allToasts[i].style[classUsed] = `${topRightOffsetSize[classUsed]}px`;\n topRightOffsetSize[classUsed] += height + offset;\n }\n }\n }\n }\n _getAxisOffsetAValue(axis, options) {\n if (options.offset[axis]) {\n if (isNaN(options.offset[axis])) {\n return options.offset[axis];\n } else {\n return `${options.offset[axis]}px`;\n }\n }\n return \"0px\";\n }\n}\nfunction StartToastifyInstance(options) {\n return new Toastify(options);\n}\nCableReady.operations.stimulusReflexVersionMismatch = operation => {\n const levels = {\n info: {},\n success: {\n background: \"#198754\",\n color: \"white\"\n },\n warn: {\n background: \"#ffc107\",\n color: \"black\"\n },\n error: {\n background: \"#dc3545\",\n color: \"white\"\n }\n };\n const defaults = {\n selector: setupToastify(),\n close: true,\n duration: 30 * 1e3,\n gravity: \"bottom\",\n position: \"right\",\n newWindow: true,\n style: levels[operation.level || \"info\"]\n };\n StartToastifyInstance(_objectSpread(_objectSpread({}, defaults), operation)).showToast();\n};\nfunction setupToastify() {\n const id = \"stimulus-reflex-toast-element\";\n let element = document.querySelector(`#${id}`);\n if (!element) {\n element = document.createElement(\"div\");\n element.id = id;\n document.documentElement.appendChild(element);\n const styles = document.createElement(\"style\");\n styles.innerHTML = `\\n #${id} .toastify {\\n padding: 12px 20px;\\n color: #ffffff;\\n display: inline-block;\\n background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);\\n background: linear-gradient(135deg, #73a5ff, #5477f5);\\n position: fixed;\\n opacity: 0;\\n transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);\\n border-radius: 2px;\\n cursor: pointer;\\n text-decoration: none;\\n max-width: calc(50% - 20px);\\n z-index: 2147483647;\\n bottom: -150px;\\n right: 15px;\\n }\\n\\n #${id} .toastify.on {\\n opacity: 1;\\n }\\n\\n #${id} .toast-close {\\n background: transparent;\\n border: 0;\\n color: white;\\n cursor: pointer;\\n font-family: inherit;\\n font-size: 1em;\\n opacity: 0.4;\\n padding: 0 5px;\\n }\\n `;\n document.head.appendChild(styles);\n }\n return element;\n}\nlet deprecationWarnings = true;\nvar Deprecate = {\n get enabled() {\n return deprecationWarnings;\n },\n get disabled() {\n return !deprecationWarnings;\n },\n get value() {\n return deprecationWarnings;\n },\n set(value) {\n deprecationWarnings = !!value;\n },\n set deprecate(value) {\n deprecationWarnings = !!value;\n }\n};\nlet debugging = false;\nvar Debug$1 = {\n get enabled() {\n return debugging;\n },\n get disabled() {\n return !debugging;\n },\n get value() {\n return debugging;\n },\n set(value) {\n debugging = !!value;\n },\n set debug(value) {\n debugging = !!value;\n }\n};\nconst defaultSchema = {\n reflexAttribute: \"data-reflex\",\n reflexPermanentAttribute: \"data-reflex-permanent\",\n reflexRootAttribute: \"data-reflex-root\",\n reflexSuppressLoggingAttribute: \"data-reflex-suppress-logging\",\n reflexDatasetAttribute: \"data-reflex-dataset\",\n reflexDatasetAllAttribute: \"data-reflex-dataset-all\",\n reflexSerializeFormAttribute: \"data-reflex-serialize-form\",\n reflexFormSelectorAttribute: \"data-reflex-form-selector\",\n reflexIncludeInnerHtmlAttribute: \"data-reflex-include-inner-html\",\n reflexIncludeTextContentAttribute: \"data-reflex-include-text-content\"\n};\nlet schema = {};\nvar Schema = {\n set(application) {\n schema = _objectSpread(_objectSpread({}, defaultSchema), application.schema);\n for (const attribute in schema) {\n const attributeName = attribute.slice(0, -9);\n Object.defineProperty(this, attributeName, {\n get: () => schema[attribute],\n configurable: true\n });\n }\n }\n};\nconst debounce = Utils.debounce,\n dispatch = Utils.dispatch,\n xpathToElement = Utils.xpathToElement,\n xpathToElementArray = Utils.xpathToElementArray;\nconst uuidv4 = () => {\n const crypto = window.crypto || window.msCrypto;\n return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16));\n};\nconst serializeForm = function (form) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!form) return \"\";\n const w = options.w || window;\n const element = options.element;\n const formData = new w.FormData(form);\n const data = Array.from(formData, e => e.map(encodeURIComponent).join(\"=\"));\n const submitButton = form.querySelector(\"input[type=submit]\");\n if (element && element.name && element.nodeName === \"INPUT\" && element.type === \"submit\") {\n data.push(`${encodeURIComponent(element.name)}=${encodeURIComponent(element.value)}`);\n } else if (submitButton && submitButton.name) {\n data.push(`${encodeURIComponent(submitButton.name)}=${encodeURIComponent(submitButton.value)}`);\n }\n return Array.from(data).join(\"&\");\n};\nconst camelize = function (value) {\n let uppercaseFirstLetter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n if (typeof value !== \"string\") return \"\";\n value = value.replace(/[\\s_](.)/g, $1 => $1.toUpperCase()).replace(/[\\s_]/g, \"\").replace(/^(.)/, $1 => $1.toLowerCase());\n if (uppercaseFirstLetter) value = value.substr(0, 1).toUpperCase() + value.substr(1);\n return value;\n};\nconst XPathToElement = xpathToElement;\nconst XPathToArray = xpathToElementArray;\nconst emitEvent = function (name) {\n let detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return dispatch(document, name, detail);\n};\nconst extractReflexName = reflexString => {\n const match = reflexString.match(/(?:.*->)?(.*?)(?:Reflex)?#/);\n return match ? match[1] : \"\";\n};\nconst elementToXPath = element => {\n if (element.id !== \"\") return \"//*[@id='\" + element.id + \"']\";\n if (element === document.body) return \"/html/body\";\n if (element.nodeName === \"HTML\") return \"/html\";\n let ix = 0;\n const siblings = element && element.parentNode ? element.parentNode.childNodes : [];\n for (var i = 0; i < siblings.length; i++) {\n const sibling = siblings[i];\n if (sibling === element) {\n const computedPath = elementToXPath(element.parentNode);\n const tagName = element.tagName.toLowerCase();\n const ixInc = ix + 1;\n return `${computedPath}/${tagName}[${ixInc}]`;\n }\n if (sibling.nodeType === 1 && sibling.tagName === element.tagName) {\n ix++;\n }\n }\n};\nconst elementInvalid = element => element.type === \"number\" && element.validity && element.validity.badInput;\nconst getReflexElement = (args, element) => args[0] && args[0].nodeType === Node.ELEMENT_NODE ? args.shift() : element;\nconst getReflexOptions = args => {\n const options = {};\n if (args[0] && typeof args[0] === \"object\" && Object.keys(args[0]).filter(key => [\"id\", \"attrs\", \"selectors\", \"reflexId\", \"resolveLate\", \"serializeForm\", \"suppressLogging\", \"includeInnerHTML\", \"includeTextContent\"].includes(key)).length) {\n const opts = args.shift();\n Object.keys(opts).forEach(o => {\n if (o === \"reflexId\") {\n if (Deprecate.enabled) console.warn(\"reflexId option will be removed in v4. Use id instead.\");\n options[\"id\"] = opts[\"reflexId\"];\n } else options[o] = opts[o];\n });\n }\n return options;\n};\nconst getReflexRoots = element => {\n let list = [];\n while (list.length === 0 && element) {\n let reflexRoot = element.getAttribute(Schema.reflexRoot);\n if (reflexRoot) {\n if (reflexRoot.length === 0 && element.id) reflexRoot = `#${element.id}`;\n const selectors = reflexRoot.split(\",\").filter(s => s.trim().length);\n if (Debug$1.enabled && selectors.length === 0) {\n console.error(`No value found for ${Schema.reflexRoot}. Add an #id to the element or provide a value for ${Schema.reflexRoot}.`, element);\n }\n list = list.concat(selectors.filter(s => document.querySelector(s)));\n }\n element = element.parentElement ? element.parentElement.closest(`[${Schema.reflexRoot}]`) : null;\n }\n return list;\n};\nconst reflexNameToControllerIdentifier = reflexName => reflexName.replace(/([a-z0–9])([A-Z])/g, \"$1-$2\").replace(/(::)/g, \"--\").replace(/-reflex$/gi, \"\").toLowerCase();\nconst stages = [\"created\", \"before\", \"delivered\", \"queued\", \"after\", \"finalized\", \"success\", \"error\", \"halted\", \"forbidden\"];\nlet lastReflex;\nconst reflexes = new Proxy({}, {\n get: function (target, prop) {\n if (stages.includes(prop)) return Object.fromEntries(Object.entries(target).filter(_ref => {\n let _ref2 = _slicedToArray(_ref, 2),\n _ = _ref2[0],\n reflex = _ref2[1];\n return reflex.stage === prop;\n }));else if (prop === \"last\") return lastReflex;else if (prop === \"all\") return target;\n return Reflect.get(...arguments);\n },\n set: function (target, prop, value) {\n target[prop] = value;\n lastReflex = value;\n return true;\n }\n});\nconst invokeLifecycleMethod = (reflex, stage) => {\n const specificLifecycleMethod = reflex.controller[[\"before\", \"after\", \"finalize\"].includes(stage) ? `${stage}${camelize(reflex.action)}` : `${camelize(reflex.action, false)}${camelize(stage)}`];\n const genericLifecycleMethod = reflex.controller[[\"before\", \"after\", \"finalize\"].includes(stage) ? `${stage}Reflex` : `reflex${camelize(stage)}`];\n if (typeof specificLifecycleMethod === \"function\") {\n specificLifecycleMethod.call(reflex.controller, reflex.element, reflex.target, reflex.error, reflex.id, reflex.payload);\n }\n if (typeof genericLifecycleMethod === \"function\") {\n genericLifecycleMethod.call(reflex.controller, reflex.element, reflex.target, reflex.error, reflex.id, reflex.payload);\n }\n};\nconst dispatchLifecycleEvent = (reflex, stage) => {\n if (!reflex.controller.element.parentElement) {\n if (Debug$1.enabled && !reflex.warned) {\n console.warn(`StimulusReflex was not able execute callbacks or emit events for \"${stage}\" or later life-cycle stages for this Reflex. The StimulusReflex Controller Element is no longer present in the DOM. Could you move the StimulusReflex Controller to an element higher in your DOM?`);\n reflex.warned = true;\n }\n return;\n }\n reflex.stage = stage;\n reflex.lifecycle.push(stage);\n const event = `stimulus-reflex:${stage}`;\n const action = `${event}:${reflex.action}`;\n const detail = {\n reflex: reflex.target,\n controller: reflex.controller,\n id: reflex.id,\n element: reflex.element,\n payload: reflex.payload\n };\n const options = {\n bubbles: true,\n cancelable: false,\n detail: detail\n };\n reflex.controller.element.dispatchEvent(new CustomEvent(event, options));\n reflex.controller.element.dispatchEvent(new CustomEvent(action, options));\n if (window.jQuery) {\n window.jQuery(reflex.controller.element).trigger(event, detail);\n window.jQuery(reflex.controller.element).trigger(action, detail);\n }\n};\ndocument.addEventListener(\"stimulus-reflex:before\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"before\"), true);\ndocument.addEventListener(\"stimulus-reflex:queued\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"queued\"), true);\ndocument.addEventListener(\"stimulus-reflex:delivered\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"delivered\"), true);\ndocument.addEventListener(\"stimulus-reflex:success\", event => {\n const reflex = reflexes[event.detail.id];\n invokeLifecycleMethod(reflex, \"success\");\n dispatchLifecycleEvent(reflex, \"after\");\n}, true);\ndocument.addEventListener(\"stimulus-reflex:nothing\", event => dispatchLifecycleEvent(reflexes[event.detail.id], \"success\"), true);\ndocument.addEventListener(\"stimulus-reflex:error\", event => {\n const reflex = reflexes[event.detail.id];\n invokeLifecycleMethod(reflex, \"error\");\n dispatchLifecycleEvent(reflex, \"after\");\n}, true);\ndocument.addEventListener(\"stimulus-reflex:halted\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"halted\"), true);\ndocument.addEventListener(\"stimulus-reflex:forbidden\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"forbidden\"), true);\ndocument.addEventListener(\"stimulus-reflex:after\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"after\"), true);\ndocument.addEventListener(\"stimulus-reflex:finalize\", event => invokeLifecycleMethod(reflexes[event.detail.id], \"finalize\"), true);\nlet app = {};\nvar App = {\n get app() {\n return app;\n },\n set(application) {\n app = application;\n }\n};\nlet isolationMode = false;\nvar IsolationMode = {\n get disabled() {\n return !isolationMode;\n },\n set(value) {\n isolationMode = value;\n if (Deprecate.enabled && !isolationMode) {\n document.addEventListener(\"DOMContentLoaded\", () => console.warn(\"Deprecation warning: the next version of StimulusReflex will standardize isolation mode, and the isolate option will be removed.\\nPlease update your applications to assume that every tab will be isolated. Use CableReady operations to broadcast updates to other tabs and users.\"), {\n once: true\n });\n }\n }\n};\nclass Reflex {\n constructor(data, controller) {\n this.data = data.valueOf();\n this.controller = controller;\n this.element = data.reflexElement;\n this.id = data.id;\n this.error = null;\n this.payload = null;\n this.stage = \"created\";\n this.lifecycle = [\"created\"];\n this.warned = false;\n this.target = data.target;\n this.action = data.target.split(\"#\")[1];\n this.selector = null;\n this.morph = null;\n this.operation = null;\n this.timestamp = new Date();\n this.cloned = false;\n }\n get getPromise() {\n const promise = new Promise((resolve, reject) => {\n this.promise = {\n resolve: resolve,\n reject: reject,\n data: this.data\n };\n });\n promise.id = this.id;\n Object.defineProperty(promise, \"reflexId\", {\n get() {\n if (Deprecate.enabled) console.warn(\"reflexId is deprecated and will be removed from v4. Use id instead.\");\n return this.id;\n }\n });\n promise.reflex = this;\n if (Debug$1.enabled) promise.catch(() => {});\n return promise;\n }\n}\nconst received = data => {\n if (!data.cableReady) return;\n if (data.version.replace(\".pre\", \"-pre\").replace(\".rc\", \"-rc\") !== CableReady.version) {\n const mismatch = `CableReady failed to execute your reflex action due to a version mismatch between your gem and JavaScript version. Package versions must match exactly.\\n\\ncable_ready gem: ${data.version}\\ncable_ready npm: ${CableReady.version}`;\n console.error(mismatch);\n if (Debug$1.enabled) {\n CableReady.operations.stimulusReflexVersionMismatch({\n text: mismatch,\n level: \"error\"\n });\n }\n return;\n }\n let reflexOperations = [];\n for (let i = data.operations.length - 1; i >= 0; i--) {\n if (data.operations[i].stimulusReflex) {\n reflexOperations.push(data.operations[i]);\n data.operations.splice(i, 1);\n }\n }\n if (reflexOperations.some(operation => operation.stimulusReflex.url !== location.href)) {\n if (Debug$1.enabled) {\n console.error(\"Reflex failed due to mismatched URL.\");\n return;\n }\n }\n let reflexData;\n if (reflexOperations.length) {\n reflexData = reflexOperations[0].stimulusReflex;\n reflexData.payload = reflexOperations[0].payload;\n }\n if (reflexData) {\n const _reflexData = reflexData,\n id = _reflexData.id,\n payload = _reflexData.payload;\n let reflex;\n if (!reflexes[id] && IsolationMode.disabled) {\n const controllerElement = XPathToElement(reflexData.xpathController);\n const reflexElement = XPathToElement(reflexData.xpathElement);\n controllerElement.reflexController = controllerElement.reflexController || {};\n controllerElement.reflexData = controllerElement.reflexData || {};\n controllerElement.reflexError = controllerElement.reflexError || {};\n const controller = App.app.getControllerForElementAndIdentifier(controllerElement, reflexData.reflexController);\n controllerElement.reflexController[id] = controller;\n controllerElement.reflexData[id] = reflexData;\n reflex = new Reflex(reflexData, controller);\n reflexes[id] = reflex;\n reflex.cloned = true;\n reflex.element = reflexElement;\n controller.lastReflex = reflex;\n dispatchLifecycleEvent(reflex, \"before\");\n reflex.getPromise;\n } else {\n reflex = reflexes[id];\n }\n if (reflex) {\n reflex.payload = payload;\n reflex.totalOperations = reflexOperations.length;\n reflex.pendingOperations = reflexOperations.length;\n reflex.completedOperations = 0;\n reflex.piggybackOperations = data.operations;\n CableReady.perform(reflexOperations);\n }\n } else {\n if (data.operations.length && reflexes[data.operations[0].reflexId]) {\n CableReady.perform(data.operations);\n }\n }\n};\nlet consumer;\nlet params;\nlet subscription;\nlet active;\nconst initialize$1 = (consumerValue, paramsValue) => {\n consumer = consumerValue;\n params = paramsValue;\n document.addEventListener(\"DOMContentLoaded\", () => {\n active = false;\n connectionStatusClass();\n if (Deprecate.enabled && consumerValue) console.warn(\"Deprecation warning: the next version of StimulusReflex will obtain a reference to consumer via the Stimulus application object.\\nPlease add 'application.consumer = consumer' to your index.js after your Stimulus application has been established, and remove the consumer key from your StimulusReflex initialize() options object.\");\n });\n document.addEventListener(\"turbolinks:load\", connectionStatusClass);\n document.addEventListener(\"turbo:load\", connectionStatusClass);\n};\nconst subscribe = controller => {\n if (subscription) return;\n consumer = consumer || controller.application.consumer || createConsumer();\n const channel = controller.StimulusReflex.channel;\n const request = _objectSpread({\n channel: channel\n }, params);\n const identifier = JSON.stringify(request);\n subscription = consumer.subscriptions.findAll(identifier)[0] || consumer.subscriptions.create(request, {\n received: received,\n connected: connected,\n rejected: rejected,\n disconnected: disconnected\n });\n};\nconst connected = () => {\n active = true;\n connectionStatusClass();\n emitEvent(\"stimulus-reflex:connected\");\n Object.values(reflexes.queued).forEach(reflex => {\n subscription.send(reflex.data);\n dispatchLifecycleEvent(reflex, \"delivered\");\n });\n};\nconst rejected = () => {\n active = false;\n connectionStatusClass();\n emitEvent(\"stimulus-reflex:rejected\");\n if (Debug.enabled) console.warn(\"Channel subscription was rejected.\");\n};\nconst disconnected = willAttemptReconnect => {\n active = false;\n connectionStatusClass();\n emitEvent(\"stimulus-reflex:disconnected\", willAttemptReconnect);\n};\nconst deliver = reflex => {\n if (active) {\n subscription.send(reflex.data);\n dispatchLifecycleEvent(reflex, \"delivered\");\n } else dispatchLifecycleEvent(reflex, \"queued\");\n};\nconst connectionStatusClass = () => {\n const list = document.body.classList;\n if (!(list.contains(\"stimulus-reflex-connected\") || list.contains(\"stimulus-reflex-disconnected\"))) {\n list.add(active ? \"stimulus-reflex-connected\" : \"stimulus-reflex-disconnected\");\n return;\n }\n if (active) {\n list.replace(\"stimulus-reflex-disconnected\", \"stimulus-reflex-connected\");\n } else {\n list.replace(\"stimulus-reflex-connected\", \"stimulus-reflex-disconnected\");\n }\n};\nvar ActionCableTransport = {\n subscribe: subscribe,\n deliver: deliver,\n initialize: initialize$1\n};\nconst request = reflex => {\n if (Debug$1.disabled || reflex.data.suppressLogging) return;\n console.log(`↑ stimulus ↑ ${reflex.target}`, {\n id: reflex.id,\n args: reflex.data.args,\n controller: reflex.controller.identifier,\n element: reflex.element,\n controllerElement: reflex.controller.element\n });\n};\nconst success = reflex => {\n if (Debug$1.disabled || reflex.data.suppressLogging) return;\n const output = {\n id: reflex.id,\n morph: reflex.morph,\n payload: reflex.payload\n };\n if (reflex.operation !== \"dispatch_event\") output.operation = reflex.operation;\n console.log(`↓ reflex ↓ ${reflex.target} → ${reflex.selector || \"∞\"}${progress(reflex)} ${duration(reflex)}`, output);\n};\nconst halted$1 = reflex => {\n if (Debug$1.disabled || reflex.data.suppressLogging) return;\n console.log(`↓ reflex ↓ ${reflex.target} ${duration(reflex)} %cHALTED`, \"color: #ffa500;\", {\n id: reflex.id,\n payload: reflex.payload\n });\n};\nconst forbidden$1 = reflex => {\n if (Debug$1.disabled || reflex.data.suppressLogging) return;\n console.log(`↓ reflex ↓ ${reflex.target} ${duration(reflex)} %cFORBIDDEN`, \"color: #BF40BF;\", {\n id: reflex.id,\n payload: reflex.payload\n });\n};\nconst error$1 = reflex => {\n if (Debug$1.disabled || reflex.data.suppressLogging) return;\n console.log(`↓ reflex ↓ ${reflex.target} ${duration(reflex)} %cERROR: ${reflex.error}`, \"color: #f00;\", {\n id: reflex.id,\n payload: reflex.payload\n });\n};\nconst duration = reflex => !reflex.cloned ? `in ${new Date() - reflex.timestamp}ms` : \"CLONED\";\nconst progress = reflex => reflex.totalOperations > 1 ? ` ${reflex.completedOperations}/${reflex.totalOperations}` : \"\";\nvar Log = {\n request: request,\n success: success,\n halted: halted$1,\n forbidden: forbidden$1,\n error: error$1\n};\nconst multipleInstances = element => {\n if ([\"checkbox\", \"radio\"].includes(element.type)) {\n return document.querySelectorAll(`input[type=\"${element.type}\"][name=\"${element.name}\"]`).length > 1;\n }\n return false;\n};\nconst collectCheckedOptions = element => Array.from(element.querySelectorAll(\"option:checked\")).concat(Array.from(document.querySelectorAll(`input[type=\"${element.type}\"][name=\"${element.name}\"]`)).filter(elem => elem.checked)).map(o => o.value);\nconst attributeValue = function () {\n let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n const value = Array.from(new Set(values.filter(v => v && String(v).length).map(v => v.trim()))).join(\" \").trim();\n return value.length > 0 ? value : null;\n};\nconst attributeValues = value => {\n if (!value) return [];\n if (!value.length) return [];\n return value.split(\" \").filter(v => v.trim().length);\n};\nconst extractElementAttributes = element => {\n let attrs = Array.from(element.attributes).reduce((memo, attr) => {\n memo[attr.name] = attr.value;\n return memo;\n }, {});\n attrs.checked = !!element.checked;\n attrs.selected = !!element.selected;\n attrs.tag_name = element.tagName;\n if (element.tagName.match(/select/i) || multipleInstances(element)) {\n const collectedOptions = collectCheckedOptions(element);\n attrs.values = collectedOptions;\n attrs.value = collectedOptions.join(\",\");\n } else {\n attrs.value = element.value;\n }\n return attrs;\n};\nconst getElementsFromTokens = (element, tokens) => {\n if (!tokens || tokens.length === 0) return [];\n let elements = [element];\n const xPath = elementToXPath(element);\n tokens.forEach(token => {\n try {\n switch (token) {\n case \"combined\":\n if (Deprecate.enabled) console.warn(\"In the next version of StimulusReflex, the 'combined' option to data-reflex-dataset will become 'ancestors'.\");\n elements = [...elements, ...XPathToArray(`${xPath}/ancestor::*`, true)];\n break;\n case \"ancestors\":\n elements = [...elements, ...XPathToArray(`${xPath}/ancestor::*`, true)];\n break;\n case \"parent\":\n elements = [...elements, ...XPathToArray(`${xPath}/parent::*`)];\n break;\n case \"siblings\":\n elements = [...elements, ...XPathToArray(`${xPath}/preceding-sibling::*|${xPath}/following-sibling::*`)];\n break;\n case \"children\":\n elements = [...elements, ...XPathToArray(`${xPath}/child::*`)];\n break;\n case \"descendants\":\n elements = [...elements, ...XPathToArray(`${xPath}/descendant::*`)];\n break;\n default:\n elements = [...elements, ...document.querySelectorAll(token)];\n }\n } catch (error) {\n if (Debug$1.enabled) console.error(error);\n }\n });\n return elements;\n};\nconst extractElementDataset = element => {\n const dataset = element.attributes[Schema.reflexDataset];\n const allDataset = element.attributes[Schema.reflexDatasetAll];\n const tokens = dataset && dataset.value.split(\" \") || [];\n const allTokens = allDataset && allDataset.value.split(\" \") || [];\n const datasetElements = getElementsFromTokens(element, tokens);\n const datasetAllElements = getElementsFromTokens(element, allTokens);\n const datasetAttributes = datasetElements.reduce((acc, ele) => _objectSpread(_objectSpread({}, extractDataAttributes(ele)), acc), {});\n const reflexElementAttributes = extractDataAttributes(element);\n const elementDataset = {\n dataset: _objectSpread(_objectSpread({}, reflexElementAttributes), datasetAttributes),\n datasetAll: {}\n };\n datasetAllElements.forEach(element => {\n const elementAttributes = extractDataAttributes(element);\n Object.keys(elementAttributes).forEach(key => {\n const value = elementAttributes[key];\n if (elementDataset.datasetAll[key] && Array.isArray(elementDataset.datasetAll[key])) {\n elementDataset.datasetAll[key].push(value);\n } else {\n elementDataset.datasetAll[key] = [value];\n }\n });\n });\n return elementDataset;\n};\nconst extractDataAttributes = element => {\n let attrs = {};\n if (element && element.attributes) {\n Array.from(element.attributes).forEach(attr => {\n if (attr.name.startsWith(\"data-\")) {\n attrs[attr.name] = attr.value;\n }\n });\n }\n return attrs;\n};\nvar name = \"stimulus_reflex\";\nvar version = \"3.5.3\";\nvar description = \"Build reactive applications with the Rails tooling you already know and love.\";\nvar keywords = [\"ruby\", \"rails\", \"websockets\", \"actioncable\", \"turbolinks\", \"reactive\", \"cable\", \"ujs\", \"ssr\", \"stimulus\", \"reflex\", \"stimulus_reflex\", \"dom\", \"morphdom\"];\nvar homepage = \"https://docs.stimulusreflex.com\";\nvar bugs = \"https://github.com/stimulusreflex/stimulus_reflex/issues\";\nvar repository = \"https://github.com/stimulusreflex/stimulus_reflex\";\nvar license = \"MIT\";\nvar author = \"Nathan Hopkins \";\nvar contributors = [\"Andrew Mason \", \"Julian Rubisch \", \"Marco Roth \", \"Nathan Hopkins \"];\nvar main = \"./dist/stimulus_reflex.js\";\nvar module = \"./dist/stimulus_reflex.js\";\nvar browser = \"./dist/stimulus_reflex.js\";\nvar unpkg = \"./dist/stimulus_reflex.umd.js\";\nvar umd = \"./dist/stimulus_reflex.umd.js\";\nvar files = [\"dist/*\", \"javascript/*\"];\nvar scripts = {\n lint: \"yarn run format --check\",\n format: \"yarn run prettier-standard ./javascript/**/*.js rollup.config.mjs\",\n build: \"yarn rollup -c\",\n \"build:watch\": \"yarn rollup -wc\",\n watch: \"yarn build:watch\",\n test: \"web-test-runner javascript/test/**/*.test.js\",\n \"test:watch\": \"yarn test --watch\",\n \"docs:dev\": \"vitepress dev docs\",\n \"docs:build\": \"vitepress build docs && cp docs/_redirects docs/.vitepress/dist\",\n \"docs:preview\": \"vitepress preview docs\"\n};\nvar peerDependencies = {\n \"@hotwired/stimulus\": \">= 3.0\"\n};\nvar dependencies = {\n \"@hotwired/stimulus\": \"^3\",\n \"@rails/actioncable\": \"^6 || ^7\",\n cable_ready: \"^5.0.6\"\n};\nvar devDependencies = {\n \"@open-wc/testing\": \"^4.0.0\",\n \"@rollup/plugin-json\": \"^6.1.0\",\n \"@rollup/plugin-node-resolve\": \"^15.3.0\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@web/dev-server-esbuild\": \"^1.0.2\",\n \"@web/dev-server-rollup\": \"^0.6.4\",\n \"@web/test-runner\": \"^0.19.0\",\n \"prettier-standard\": \"^16.4.1\",\n rollup: \"^4.22.4\",\n \"toastify-js\": \"^1.12.0\",\n vitepress: \"^1.0.0-beta.1\"\n};\nvar packageInfo = {\n name: name,\n version: version,\n description: description,\n keywords: keywords,\n homepage: homepage,\n bugs: bugs,\n repository: repository,\n license: license,\n author: author,\n contributors: contributors,\n main: main,\n module: module,\n browser: browser,\n import: \"./dist/stimulus_reflex.js\",\n unpkg: unpkg,\n umd: umd,\n files: files,\n scripts: scripts,\n peerDependencies: peerDependencies,\n dependencies: dependencies,\n devDependencies: devDependencies\n};\nclass ReflexData {\n constructor(options, reflexElement, controllerElement, reflexController, permanentAttributeName, target, args, url, tabId) {\n this.options = options;\n this.reflexElement = reflexElement;\n this.controllerElement = controllerElement;\n this.reflexController = reflexController;\n this.permanentAttributeName = permanentAttributeName;\n this.target = target;\n this.args = args;\n this.url = url;\n this.tabId = tabId;\n }\n get attrs() {\n this._attrs = this._attrs || this.options[\"attrs\"] || extractElementAttributes(this.reflexElement);\n return this._attrs;\n }\n get id() {\n this._id = this._id || this.options[\"id\"] || uuidv4();\n return this._id;\n }\n get selectors() {\n this._selectors = this._selectors || this.options[\"selectors\"] || getReflexRoots(this.reflexElement);\n return typeof this._selectors === \"string\" ? [this._selectors] : this._selectors;\n }\n get resolveLate() {\n return this.options[\"resolveLate\"] || false;\n }\n get dataset() {\n this._dataset = this._dataset || extractElementDataset(this.reflexElement);\n return this._dataset;\n }\n get innerHTML() {\n return this.includeInnerHtml ? this.reflexElement.innerHTML : \"\";\n }\n get textContent() {\n return this.includeTextContent ? this.reflexElement.textContent : \"\";\n }\n get xpathController() {\n return elementToXPath(this.controllerElement);\n }\n get xpathElement() {\n return elementToXPath(this.reflexElement);\n }\n get formSelector() {\n const attr = this.reflexElement.attributes[Schema.reflexFormSelector] ? this.reflexElement.attributes[Schema.reflexFormSelector].value : undefined;\n return this.options[\"formSelector\"] || attr;\n }\n get includeInnerHtml() {\n const attr = this.reflexElement.attributes[Schema.reflexIncludeInnerHtml] || false;\n return this.options[\"includeInnerHTML\"] || attr ? attr.value !== \"false\" : false;\n }\n get includeTextContent() {\n const attr = this.reflexElement.attributes[Schema.reflexIncludeTextContent] || false;\n return this.options[\"includeTextContent\"] || attr ? attr.value !== \"false\" : false;\n }\n get suppressLogging() {\n return this.options[\"suppressLogging\"] || this.reflexElement.attributes[Schema.reflexSuppressLogging] || false;\n }\n valueOf() {\n return {\n attrs: this.attrs,\n dataset: this.dataset,\n selectors: this.selectors,\n id: this.id,\n resolveLate: this.resolveLate,\n suppressLogging: this.suppressLogging,\n xpathController: this.xpathController,\n xpathElement: this.xpathElement,\n inner_html: this.innerHTML,\n text_content: this.textContent,\n formSelector: this.formSelector,\n reflexController: this.reflexController,\n permanentAttributeName: this.permanentAttributeName,\n target: this.target,\n args: this.args,\n url: this.url,\n tabId: this.tabId,\n version: packageInfo.version\n };\n }\n}\nlet transport = {};\nvar Transport = {\n get plugin() {\n return transport;\n },\n set(newTransport) {\n transport = newTransport;\n }\n};\nconst beforeDOMUpdate = event => {\n const _ref3 = event.detail || {},\n stimulusReflex = _ref3.stimulusReflex;\n if (!stimulusReflex) return;\n const reflex = reflexes[stimulusReflex.id];\n reflex.pendingOperations--;\n if (reflex.pendingOperations > 0) return;\n if (!stimulusReflex.resolveLate) setTimeout(() => reflex.promise.resolve({\n element: reflex.element,\n event: event,\n data: reflex.data,\n payload: reflex.payload,\n id: reflex.id,\n toString: () => \"\"\n }));\n setTimeout(() => dispatchLifecycleEvent(reflex, \"success\"));\n};\nconst afterDOMUpdate = event => {\n const _ref4 = event.detail || {},\n stimulusReflex = _ref4.stimulusReflex;\n if (!stimulusReflex) return;\n const reflex = reflexes[stimulusReflex.id];\n reflex.completedOperations++;\n reflex.selector = event.detail.selector;\n reflex.morph = event.detail.stimulusReflex.morph;\n reflex.operation = event.type.split(\":\")[1].split(\"-\").slice(1).join(\"_\");\n Log.success(reflex);\n if (reflex.completedOperations < reflex.totalOperations) return;\n if (stimulusReflex.resolveLate) setTimeout(() => reflex.promise.resolve({\n element: reflex.element,\n event: event,\n data: reflex.data,\n payload: reflex.payload,\n id: reflex.id,\n toString: () => \"\"\n }));\n setTimeout(() => dispatchLifecycleEvent(reflex, \"finalize\"));\n if (reflex.piggybackOperations.length) CableReady.perform(reflex.piggybackOperations);\n};\nconst routeReflexEvent = event => {\n const _ref5 = event.detail || {},\n stimulusReflex = _ref5.stimulusReflex,\n name = _ref5.name;\n const eventType = name.split(\"-\")[2];\n const eventTypes = {\n nothing: nothing,\n halted: halted,\n forbidden: forbidden,\n error: error\n };\n if (!stimulusReflex || !Object.keys(eventTypes).includes(eventType)) return;\n const reflex = reflexes[stimulusReflex.id];\n reflex.completedOperations++;\n reflex.pendingOperations--;\n reflex.selector = event.detail.selector;\n reflex.morph = event.detail.stimulusReflex.morph;\n reflex.operation = event.type.split(\":\")[1].split(\"-\").slice(1).join(\"_\");\n if (eventType === \"error\") reflex.error = event.detail.error;\n eventTypes[eventType](reflex, event);\n setTimeout(() => dispatchLifecycleEvent(reflex, eventType));\n if (reflex.piggybackOperations.length) CableReady.perform(reflex.piggybackOperations);\n};\nconst nothing = (reflex, event) => {\n Log.success(reflex);\n setTimeout(() => reflex.promise.resolve({\n data: reflex.data,\n element: reflex.element,\n event: event,\n payload: reflex.payload,\n id: reflex.id,\n toString: () => \"\"\n }));\n};\nconst halted = (reflex, event) => {\n Log.halted(reflex, event);\n setTimeout(() => reflex.promise.resolve({\n data: reflex.data,\n element: reflex.element,\n event: event,\n payload: reflex.payload,\n id: reflex.id,\n toString: () => \"\"\n }));\n};\nconst forbidden = (reflex, event) => {\n Log.forbidden(reflex, event);\n setTimeout(() => reflex.promise.resolve({\n data: reflex.data,\n element: reflex.element,\n event: event,\n payload: reflex.payload,\n id: reflex.id,\n toString: () => \"\"\n }));\n};\nconst error = (reflex, event) => {\n Log.error(reflex, event);\n setTimeout(() => reflex.promise.reject({\n data: reflex.data,\n element: reflex.element,\n event: event,\n payload: reflex.payload,\n id: reflex.id,\n error: reflex.error,\n toString: () => reflex.error\n }));\n};\nconst localReflexControllers = element => {\n const potentialIdentifiers = attributeValues(element.getAttribute(Schema.controller));\n const potentialControllers = potentialIdentifiers.map(identifier => App.app.getControllerForElementAndIdentifier(element, identifier));\n return potentialControllers.filter(controller => controller && controller.StimulusReflex);\n};\nconst allReflexControllers = element => {\n let controllers = [];\n while (element) {\n controllers = controllers.concat(localReflexControllers(element));\n element = element.parentElement;\n }\n return controllers;\n};\nconst findControllerByReflexName = (reflexName, controllers) => {\n const controller = controllers.find(controller => {\n if (!controller || !controller.identifier) return;\n const identifier = reflexNameToControllerIdentifier(extractReflexName(reflexName));\n return identifier === controller.identifier;\n });\n return controller;\n};\nconst scanForReflexes = debounce(() => {\n const reflexElements = document.querySelectorAll(`[${Schema.reflex}]`);\n reflexElements.forEach(element => scanForReflexesOnElement(element));\n}, 20);\nconst scanForReflexesOnElement = function (element) {\n let controller = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n const controllerAttribute = element.getAttribute(Schema.controller);\n const controllers = attributeValues(controllerAttribute).filter(controller => controller !== \"stimulus-reflex\");\n const reflexAttribute = element.getAttribute(Schema.reflex);\n const reflexAttributeNames = attributeValues(reflexAttribute);\n const actionAttribute = element.getAttribute(Schema.action);\n const actions = attributeValues(actionAttribute).filter(action => !action.includes(\"#__perform\"));\n reflexAttributeNames.forEach(reflexName => {\n const potentialControllers = [controller].concat(allReflexControllers(element));\n controller = findControllerByReflexName(reflexName, potentialControllers);\n const controllerName = controller ? controller.identifier : \"stimulus-reflex\";\n actions.push(`${reflexName.split(\"->\")[0]}->${controllerName}#__perform`);\n const parentControllerElement = element.closest(`[data-controller~=${controllerName}]`);\n const elementPreviouslyHadStimulusReflexController = element === parentControllerElement && controllerName === \"stimulus-reflex\";\n if (!parentControllerElement || elementPreviouslyHadStimulusReflexController) {\n controllers.push(controllerName);\n }\n });\n const controllerValue = attributeValue(controllers);\n const actionValue = attributeValue(actions);\n let emitReadyEvent = false;\n if (controllerValue && element.getAttribute(Schema.controller) != controllerValue) {\n element.setAttribute(Schema.controller, controllerValue);\n emitReadyEvent = true;\n }\n if (actionValue && element.getAttribute(Schema.action) != actionValue) {\n element.setAttribute(Schema.action, actionValue);\n emitReadyEvent = true;\n }\n if (emitReadyEvent) {\n dispatch(element, \"stimulus-reflex:ready\", {\n reflex: reflexAttribute,\n controller: controllerValue,\n action: actionValue,\n element: element\n });\n }\n};\nclass StimulusReflexController extends Controller {\n constructor() {\n super(...arguments);\n register(this);\n }\n}\nconst tabId = uuidv4();\nconst initialize = function (application) {\n let _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n controller = _ref6.controller,\n consumer = _ref6.consumer,\n debug = _ref6.debug,\n params = _ref6.params,\n isolate = _ref6.isolate,\n deprecate = _ref6.deprecate,\n transport = _ref6.transport;\n Transport.set(transport || ActionCableTransport);\n Transport.plugin.initialize(consumer, params);\n IsolationMode.set(!!isolate);\n App.set(application);\n Schema.set(application);\n App.app.register(\"stimulus-reflex\", controller || StimulusReflexController);\n Debug$1.set(!!debug);\n if (typeof deprecate !== \"undefined\") Deprecate.set(deprecate);\n const observer = new MutationObserver(scanForReflexes);\n observer.observe(document.documentElement, {\n attributeFilter: [Schema.reflex, Schema.action],\n childList: true,\n subtree: true\n });\n emitEvent(\"stimulus-reflex:initialized\");\n};\nconst register = function (controller) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const channel = \"StimulusReflex::Channel\";\n controller.StimulusReflex = _objectSpread(_objectSpread({}, options), {}, {\n channel: channel\n });\n Transport.plugin.subscribe(controller);\n Object.assign(controller, {\n stimulate() {\n const url = location.href;\n const controllerElement = this.element;\n const args = Array.from(arguments);\n const target = args.shift() || \"StimulusReflex::Reflex#default_reflex\";\n const reflexElement = getReflexElement(args, controllerElement);\n if (elementInvalid(reflexElement)) {\n if (Debug$1.enabled) console.warn(\"Reflex aborted: invalid numeric input\");\n return;\n }\n const options = getReflexOptions(args);\n const reflexData = new ReflexData(options, reflexElement, controllerElement, this.identifier, Schema.reflexPermanent, target, args, url, tabId);\n const id = reflexData.id;\n controllerElement.reflexController = controllerElement.reflexController || {};\n controllerElement.reflexData = controllerElement.reflexData || {};\n controllerElement.reflexError = controllerElement.reflexError || {};\n controllerElement.reflexController[id] = this;\n controllerElement.reflexData[id] = reflexData.valueOf();\n const reflex = new Reflex(reflexData, this);\n reflexes[id] = reflex;\n this.lastReflex = reflex;\n dispatchLifecycleEvent(reflex, \"before\");\n setTimeout(() => {\n const _ref7 = controllerElement.reflexData[id] || {},\n params = _ref7.params;\n const check = reflexElement.attributes[Schema.reflexSerializeForm];\n if (check) {\n options[\"serializeForm\"] = check.value !== \"false\";\n }\n const form = reflexElement.closest(reflexData.formSelector) || document.querySelector(reflexData.formSelector) || reflexElement.closest(\"form\");\n if (Deprecate.enabled && options[\"serializeForm\"] === undefined && form) console.warn(`Deprecation warning: the next version of StimulusReflex will not serialize forms by default.\\nPlease set ${Schema.reflexSerializeForm}=\"true\" on your Reflex Controller Element or pass { serializeForm: true } as an option to stimulate.`);\n const formData = options[\"serializeForm\"] === false ? \"\" : serializeForm(form, {\n element: reflexElement\n });\n reflex.data = _objectSpread(_objectSpread({}, reflexData.valueOf()), {}, {\n params: params,\n formData: formData\n });\n controllerElement.reflexData[id] = reflex.data;\n Transport.plugin.deliver(reflex);\n });\n Log.request(reflex);\n return reflex.getPromise;\n },\n __perform(event) {\n let element = event.target;\n let reflex;\n while (element && !reflex) {\n reflex = element.getAttribute(Schema.reflex);\n if (!reflex || !reflex.trim().length) element = element.parentElement;\n }\n const match = attributeValues(reflex).find(reflex => reflex.split(\"->\")[0] === event.type);\n if (match) {\n event.preventDefault();\n event.stopPropagation();\n this.stimulate(match.split(\"->\")[1], element);\n }\n }\n });\n if (!controller.reflexes) Object.defineProperty(controller, \"reflexes\", {\n get() {\n return new Proxy(reflexes, {\n get: function (target, prop) {\n if (prop === \"last\") return this.lastReflex;\n return Object.fromEntries(Object.entries(target[prop]).filter(_ref8 => {\n let _ref9 = _slicedToArray(_ref8, 2),\n _ = _ref9[0],\n reflex = _ref9[1];\n return reflex.controller === this;\n }));\n }.bind(this)\n });\n }\n });\n scanForReflexesOnElement(controller.element, controller);\n emitEvent(\"stimulus-reflex:controller-registered\", {\n detail: {\n controller: controller\n }\n });\n};\nconst useReflex = function (controller) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n register(controller, options);\n};\ndocument.addEventListener(\"cable-ready:after-dispatch-event\", routeReflexEvent);\ndocument.addEventListener(\"cable-ready:before-inner-html\", beforeDOMUpdate);\ndocument.addEventListener(\"cable-ready:before-morph\", beforeDOMUpdate);\ndocument.addEventListener(\"cable-ready:after-inner-html\", afterDOMUpdate);\ndocument.addEventListener(\"cable-ready:after-morph\", afterDOMUpdate);\ndocument.addEventListener(\"readystatechange\", () => {\n if (document.readyState === \"complete\") {\n scanForReflexes();\n }\n});\nvar StimulusReflex = Object.freeze({\n __proto__: null,\n StimulusReflexController: StimulusReflexController,\n initialize: initialize,\n reflexes: reflexes,\n register: register,\n scanForReflexes: scanForReflexes,\n scanForReflexesOnElement: scanForReflexesOnElement,\n useReflex: useReflex\n});\nconst global = _objectSpread(_objectSpread({\n version: packageInfo.version\n}, StimulusReflex), {}, {\n get debug() {\n return Debug$1.value;\n },\n set debug(value) {\n Debug$1.set(!!value);\n },\n get deprecate() {\n return Deprecate.value;\n },\n set deprecate(value) {\n Deprecate.set(!!value);\n }\n});\nwindow.StimulusReflex = global;\nexport { StimulusReflexController, global as default, initialize, reflexes, register, scanForReflexes, scanForReflexesOnElement, useReflex };","define([\"./arr\"], function (arr) {\n \"use strict\";\n\n return arr.slice;\n});","define(function () {\n \"use strict\";\n\n return function isWindow(obj) {\n return obj != null && obj === obj.window;\n };\n});","define([], function () {\n \"use strict\";\n\n // Matches dashed string for camelizing\n var rmsPrefix = /^-ms-/,\n rdashAlpha = /-([a-z])/g;\n\n // Used by camelCase as callback to replace()\n function fcamelCase(_all, letter) {\n return letter.toUpperCase();\n }\n\n // Convert dashed to camelCase; used by the css and data modules\n // Support: IE <=9 - 11, Edge 12 - 15\n // Microsoft forgot to hump their vendor prefix (trac-9572)\n function camelCase(string) {\n return string.replace(rmsPrefix, \"ms-\").replace(rdashAlpha, fcamelCase);\n }\n return camelCase;\n});","define([\"./core\", \"./var/document\", \"./var/documentElement\", \"./var/isFunction\", \"./var/rnothtmlwhite\", \"./var/rcheckableType\", \"./var/slice\", \"./data/var/acceptData\", \"./data/var/dataPriv\", \"./core/nodeName\", \"./core/init\", \"./selector\"], function (jQuery, document, documentElement, isFunction, rnothtmlwhite, rcheckableType, slice, acceptData, dataPriv, nodeName) {\n \"use strict\";\n\n var rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n function returnTrue() {\n return true;\n }\n function returnFalse() {\n return false;\n }\n function on(elem, types, selector, data, fn, one) {\n var origFn, type;\n\n // Types can be a map of types/handlers\n if (typeof types === \"object\") {\n // ( types-Object, selector, data )\n if (typeof selector !== \"string\") {\n // ( types-Object, data )\n data = data || selector;\n selector = undefined;\n }\n for (type in types) {\n on(elem, type, selector, data, types[type], one);\n }\n return elem;\n }\n if (data == null && fn == null) {\n // ( types, fn )\n fn = selector;\n data = selector = undefined;\n } else if (fn == null) {\n if (typeof selector === \"string\") {\n // ( types, selector, fn )\n fn = data;\n data = undefined;\n } else {\n // ( types, data, fn )\n fn = data;\n data = selector;\n selector = undefined;\n }\n }\n if (fn === false) {\n fn = returnFalse;\n } else if (!fn) {\n return elem;\n }\n if (one === 1) {\n origFn = fn;\n fn = function (event) {\n // Can use an empty set, since event contains the info\n jQuery().off(event);\n return origFn.apply(this, arguments);\n };\n\n // Use same guid so caller can remove using origFn\n fn.guid = origFn.guid || (origFn.guid = jQuery.guid++);\n }\n return elem.each(function () {\n jQuery.event.add(this, types, fn, data, selector);\n });\n }\n\n /*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\n jQuery.event = {\n global: {},\n add: function (elem, types, handler, data, selector) {\n var handleObjIn,\n eventHandle,\n tmp,\n events,\n t,\n handleObj,\n special,\n handlers,\n type,\n namespaces,\n origType,\n elemData = dataPriv.get(elem);\n\n // Only attach events to objects that accept data\n if (!acceptData(elem)) {\n return;\n }\n\n // Caller can pass in an object of custom data in lieu of the handler\n if (handler.handler) {\n handleObjIn = handler;\n handler = handleObjIn.handler;\n selector = handleObjIn.selector;\n }\n\n // Ensure that invalid selectors throw exceptions at attach time\n // Evaluate against documentElement in case elem is a non-element node (e.g., document)\n if (selector) {\n jQuery.find.matchesSelector(documentElement, selector);\n }\n\n // Make sure that the handler has a unique ID, used to find/remove it later\n if (!handler.guid) {\n handler.guid = jQuery.guid++;\n }\n\n // Init the element's event structure and main handler, if this is the first\n if (!(events = elemData.events)) {\n events = elemData.events = Object.create(null);\n }\n if (!(eventHandle = elemData.handle)) {\n eventHandle = elemData.handle = function (e) {\n // Discard the second event of a jQuery.event.trigger() and\n // when an event is called after a page has unloaded\n return typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply(elem, arguments) : undefined;\n };\n }\n\n // Handle multiple events separated by a space\n types = (types || \"\").match(rnothtmlwhite) || [\"\"];\n t = types.length;\n while (t--) {\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort();\n\n // There *must* be a type, no attaching namespace-only handlers\n if (!type) {\n continue;\n }\n\n // If event changes its type, use the special event handlers for the changed type\n special = jQuery.event.special[type] || {};\n\n // If selector defined, determine special event api type, otherwise given type\n type = (selector ? special.delegateType : special.bindType) || type;\n\n // Update special based on newly reset type\n special = jQuery.event.special[type] || {};\n\n // handleObj is passed to all event handlers\n handleObj = jQuery.extend({\n type: type,\n origType: origType,\n data: data,\n handler: handler,\n guid: handler.guid,\n selector: selector,\n needsContext: selector && jQuery.expr.match.needsContext.test(selector),\n namespace: namespaces.join(\".\")\n }, handleObjIn);\n\n // Init the event handler queue if we're the first\n if (!(handlers = events[type])) {\n handlers = events[type] = [];\n handlers.delegateCount = 0;\n\n // Only use addEventListener if the special events handler returns false\n if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {\n if (elem.addEventListener) {\n elem.addEventListener(type, eventHandle);\n }\n }\n }\n if (special.add) {\n special.add.call(elem, handleObj);\n if (!handleObj.handler.guid) {\n handleObj.handler.guid = handler.guid;\n }\n }\n\n // Add to the element's handler list, delegates in front\n if (selector) {\n handlers.splice(handlers.delegateCount++, 0, handleObj);\n } else {\n handlers.push(handleObj);\n }\n\n // Keep track of which events have ever been used, for event optimization\n jQuery.event.global[type] = true;\n }\n },\n // Detach an event or set of events from an element\n remove: function (elem, types, handler, selector, mappedTypes) {\n var j,\n origCount,\n tmp,\n events,\n t,\n handleObj,\n special,\n handlers,\n type,\n namespaces,\n origType,\n elemData = dataPriv.hasData(elem) && dataPriv.get(elem);\n if (!elemData || !(events = elemData.events)) {\n return;\n }\n\n // Once for each type.namespace in types; type may be omitted\n types = (types || \"\").match(rnothtmlwhite) || [\"\"];\n t = types.length;\n while (t--) {\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort();\n\n // Unbind all events (on this namespace, if provided) for the element\n if (!type) {\n for (type in events) {\n jQuery.event.remove(elem, type + types[t], handler, selector, true);\n }\n continue;\n }\n special = jQuery.event.special[type] || {};\n type = (selector ? special.delegateType : special.bindType) || type;\n handlers = events[type] || [];\n tmp = tmp[2] && new RegExp(\"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\");\n\n // Remove matching events\n origCount = j = handlers.length;\n while (j--) {\n handleObj = handlers[j];\n if ((mappedTypes || origType === handleObj.origType) && (!handler || handler.guid === handleObj.guid) && (!tmp || tmp.test(handleObj.namespace)) && (!selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector)) {\n handlers.splice(j, 1);\n if (handleObj.selector) {\n handlers.delegateCount--;\n }\n if (special.remove) {\n special.remove.call(elem, handleObj);\n }\n }\n }\n\n // Remove generic event handler if we removed something and no more handlers exist\n // (avoids potential for endless recursion during removal of special event handlers)\n if (origCount && !handlers.length) {\n if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {\n jQuery.removeEvent(elem, type, elemData.handle);\n }\n delete events[type];\n }\n }\n\n // Remove data and the expando if it's no longer used\n if (jQuery.isEmptyObject(events)) {\n dataPriv.remove(elem, \"handle events\");\n }\n },\n dispatch: function (nativeEvent) {\n var i,\n j,\n ret,\n matched,\n handleObj,\n handlerQueue,\n args = new Array(arguments.length),\n // Make a writable jQuery.Event from the native event object\n event = jQuery.event.fix(nativeEvent),\n handlers = (dataPriv.get(this, \"events\") || Object.create(null))[event.type] || [],\n special = jQuery.event.special[event.type] || {};\n\n // Use the fix-ed jQuery.Event rather than the (read-only) native event\n args[0] = event;\n for (i = 1; i < arguments.length; i++) {\n args[i] = arguments[i];\n }\n event.delegateTarget = this;\n\n // Call the preDispatch hook for the mapped type, and let it bail if desired\n if (special.preDispatch && special.preDispatch.call(this, event) === false) {\n return;\n }\n\n // Determine handlers\n handlerQueue = jQuery.event.handlers.call(this, event, handlers);\n\n // Run delegates first; they may want to stop propagation beneath us\n i = 0;\n while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {\n event.currentTarget = matched.elem;\n j = 0;\n while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {\n // If the event is namespaced, then each handler is only invoked if it is\n // specially universal or its namespaces are a superset of the event's.\n if (!event.rnamespace || handleObj.namespace === false || event.rnamespace.test(handleObj.namespace)) {\n event.handleObj = handleObj;\n event.data = handleObj.data;\n ret = ((jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler).apply(matched.elem, args);\n if (ret !== undefined) {\n if ((event.result = ret) === false) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n }\n }\n }\n\n // Call the postDispatch hook for the mapped type\n if (special.postDispatch) {\n special.postDispatch.call(this, event);\n }\n return event.result;\n },\n handlers: function (event, handlers) {\n var i,\n handleObj,\n sel,\n matchedHandlers,\n matchedSelectors,\n handlerQueue = [],\n delegateCount = handlers.delegateCount,\n cur = event.target;\n\n // Find delegate handlers\n if (delegateCount &&\n // Support: IE <=9\n // Black-hole SVG instance trees (trac-13180)\n cur.nodeType &&\n // Support: Firefox <=42\n // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n // Support: IE 11 only\n // ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n !(event.type === \"click\" && event.button >= 1)) {\n for (; cur !== this; cur = cur.parentNode || this) {\n // Don't check non-elements (trac-13208)\n // Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n if (cur.nodeType === 1 && !(event.type === \"click\" && cur.disabled === true)) {\n matchedHandlers = [];\n matchedSelectors = {};\n for (i = 0; i < delegateCount; i++) {\n handleObj = handlers[i];\n\n // Don't conflict with Object.prototype properties (trac-13203)\n sel = handleObj.selector + \" \";\n if (matchedSelectors[sel] === undefined) {\n matchedSelectors[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) > -1 : jQuery.find(sel, this, null, [cur]).length;\n }\n if (matchedSelectors[sel]) {\n matchedHandlers.push(handleObj);\n }\n }\n if (matchedHandlers.length) {\n handlerQueue.push({\n elem: cur,\n handlers: matchedHandlers\n });\n }\n }\n }\n }\n\n // Add the remaining (directly-bound) handlers\n cur = this;\n if (delegateCount < handlers.length) {\n handlerQueue.push({\n elem: cur,\n handlers: handlers.slice(delegateCount)\n });\n }\n return handlerQueue;\n },\n addProp: function (name, hook) {\n Object.defineProperty(jQuery.Event.prototype, name, {\n enumerable: true,\n configurable: true,\n get: isFunction(hook) ? function () {\n if (this.originalEvent) {\n return hook(this.originalEvent);\n }\n } : function () {\n if (this.originalEvent) {\n return this.originalEvent[name];\n }\n },\n set: function (value) {\n Object.defineProperty(this, name, {\n enumerable: true,\n configurable: true,\n writable: true,\n value: value\n });\n }\n });\n },\n fix: function (originalEvent) {\n return originalEvent[jQuery.expando] ? originalEvent : new jQuery.Event(originalEvent);\n },\n special: {\n load: {\n // Prevent triggered image.load events from bubbling to window.load\n noBubble: true\n },\n click: {\n // Utilize native event to ensure correct state for checkable inputs\n setup: function (data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data;\n\n // Claim the first handler\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) {\n // dataPriv.set( el, \"click\", ... )\n leverageNative(el, \"click\", true);\n }\n\n // Return false to allow normal processing in the caller\n return false;\n },\n trigger: function (data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data;\n\n // Force setup before triggering a click\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) {\n leverageNative(el, \"click\");\n }\n\n // Return non-false to allow normal event-path propagation\n return true;\n },\n // For cross-browser consistency, suppress native .click() on links\n // Also prevent it if we're currently inside a leveraged native-event stack\n _default: function (event) {\n var target = event.target;\n return rcheckableType.test(target.type) && target.click && nodeName(target, \"input\") && dataPriv.get(target, \"click\") || nodeName(target, \"a\");\n }\n },\n beforeunload: {\n postDispatch: function (event) {\n // Support: Firefox 20+\n // Firefox doesn't alert if the returnValue field is not set.\n if (event.result !== undefined && event.originalEvent) {\n event.originalEvent.returnValue = event.result;\n }\n }\n }\n }\n };\n\n // Ensure the presence of an event listener that handles manually-triggered\n // synthetic events by interrupting progress until reinvoked in response to\n // *native* events that it fires directly, ensuring that state changes have\n // already occurred before other listeners are invoked.\n function leverageNative(el, type, isSetup) {\n // Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n if (!isSetup) {\n if (dataPriv.get(el, type) === undefined) {\n jQuery.event.add(el, type, returnTrue);\n }\n return;\n }\n\n // Register the controller as a special universal handler for all event namespaces\n dataPriv.set(el, type, false);\n jQuery.event.add(el, type, {\n namespace: false,\n handler: function (event) {\n var result,\n saved = dataPriv.get(this, type);\n if (event.isTrigger & 1 && this[type]) {\n // Interrupt processing of the outer synthetic .trigger()ed event\n if (!saved) {\n // Store arguments for use when handling the inner native event\n // There will always be at least one argument (an event object), so this array\n // will not be confused with a leftover capture object.\n saved = slice.call(arguments);\n dataPriv.set(this, type, saved);\n\n // Trigger the native event and capture its result\n this[type]();\n result = dataPriv.get(this, type);\n dataPriv.set(this, type, false);\n if (saved !== result) {\n // Cancel the outer synthetic event\n event.stopImmediatePropagation();\n event.preventDefault();\n return result;\n }\n\n // If this is an inner synthetic event for an event with a bubbling surrogate\n // (focus or blur), assume that the surrogate already propagated from triggering\n // the native event and prevent that from happening again here.\n // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n // bubbling surrogate propagates *after* the non-bubbling base), but that seems\n // less bad than duplication.\n } else if ((jQuery.event.special[type] || {}).delegateType) {\n event.stopPropagation();\n }\n\n // If this is a native event triggered above, everything is now in order\n // Fire an inner synthetic event with the original arguments\n } else if (saved) {\n // ...and capture the result\n dataPriv.set(this, type, jQuery.event.trigger(saved[0], saved.slice(1), this));\n\n // Abort handling of the native event by all jQuery handlers while allowing\n // native handlers on the same element to run. On target, this is achieved\n // by stopping immediate propagation just on the jQuery event. However,\n // the native event is re-wrapped by a jQuery one on each level of the\n // propagation so the only way to stop it for jQuery is to stop it for\n // everyone via native `stopPropagation()`. This is not a problem for\n // focus/blur which don't bubble, but it does also stop click on checkboxes\n // and radios. We accept this limitation.\n event.stopPropagation();\n event.isImmediatePropagationStopped = returnTrue;\n }\n }\n });\n }\n jQuery.removeEvent = function (elem, type, handle) {\n // This \"if\" is needed for plain objects\n if (elem.removeEventListener) {\n elem.removeEventListener(type, handle);\n }\n };\n jQuery.Event = function (src, props) {\n // Allow instantiation without the 'new' keyword\n if (!(this instanceof jQuery.Event)) {\n return new jQuery.Event(src, props);\n }\n\n // Event object\n if (src && src.type) {\n this.originalEvent = src;\n this.type = src.type;\n\n // Events bubbling up the document may have been marked as prevented\n // by a handler lower down the tree; reflect the correct value.\n this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined &&\n // Support: Android <=2.3 only\n src.returnValue === false ? returnTrue : returnFalse;\n\n // Create target properties\n // Support: Safari <=6 - 7 only\n // Target should not be a text node (trac-504, trac-13143)\n this.target = src.target && src.target.nodeType === 3 ? src.target.parentNode : src.target;\n this.currentTarget = src.currentTarget;\n this.relatedTarget = src.relatedTarget;\n\n // Event type\n } else {\n this.type = src;\n }\n\n // Put explicitly provided properties onto the event object\n if (props) {\n jQuery.extend(this, props);\n }\n\n // Create a timestamp if incoming event doesn't have one\n this.timeStamp = src && src.timeStamp || Date.now();\n\n // Mark it as fixed\n this[jQuery.expando] = true;\n };\n\n // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\n jQuery.Event.prototype = {\n constructor: jQuery.Event,\n isDefaultPrevented: returnFalse,\n isPropagationStopped: returnFalse,\n isImmediatePropagationStopped: returnFalse,\n isSimulated: false,\n preventDefault: function () {\n var e = this.originalEvent;\n this.isDefaultPrevented = returnTrue;\n if (e && !this.isSimulated) {\n e.preventDefault();\n }\n },\n stopPropagation: function () {\n var e = this.originalEvent;\n this.isPropagationStopped = returnTrue;\n if (e && !this.isSimulated) {\n e.stopPropagation();\n }\n },\n stopImmediatePropagation: function () {\n var e = this.originalEvent;\n this.isImmediatePropagationStopped = returnTrue;\n if (e && !this.isSimulated) {\n e.stopImmediatePropagation();\n }\n this.stopPropagation();\n }\n };\n\n // Includes all common event props including KeyEvent and MouseEvent specific props\n jQuery.each({\n altKey: true,\n bubbles: true,\n cancelable: true,\n changedTouches: true,\n ctrlKey: true,\n detail: true,\n eventPhase: true,\n metaKey: true,\n pageX: true,\n pageY: true,\n shiftKey: true,\n view: true,\n \"char\": true,\n code: true,\n charCode: true,\n key: true,\n keyCode: true,\n button: true,\n buttons: true,\n clientX: true,\n clientY: true,\n offsetX: true,\n offsetY: true,\n pointerId: true,\n pointerType: true,\n screenX: true,\n screenY: true,\n targetTouches: true,\n toElement: true,\n touches: true,\n which: true\n }, jQuery.event.addProp);\n jQuery.each({\n focus: \"focusin\",\n blur: \"focusout\"\n }, function (type, delegateType) {\n function focusMappedHandler(nativeEvent) {\n if (document.documentMode) {\n // Support: IE 11+\n // Attach a single focusin/focusout handler on the document while someone wants\n // focus/blur. This is because the former are synchronous in IE while the latter\n // are async. In other browsers, all those handlers are invoked synchronously.\n\n // `handle` from private data would already wrap the event, but we need\n // to change the `type` here.\n var handle = dataPriv.get(this, \"handle\"),\n event = jQuery.event.fix(nativeEvent);\n event.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n event.isSimulated = true;\n\n // First, handle focusin/focusout\n handle(nativeEvent);\n\n // ...then, handle focus/blur\n //\n // focus/blur don't bubble while focusin/focusout do; simulate the former by only\n // invoking the handler at the lower level.\n if (event.target === event.currentTarget) {\n // The setup part calls `leverageNative`, which, in turn, calls\n // `jQuery.event.add`, so event handle will already have been set\n // by this point.\n handle(event);\n }\n } else {\n // For non-IE browsers, attach a single capturing handler on the document\n // while someone wants focusin/focusout.\n jQuery.event.simulate(delegateType, nativeEvent.target, jQuery.event.fix(nativeEvent));\n }\n }\n jQuery.event.special[type] = {\n // Utilize native event if possible so blur/focus sequence is correct\n setup: function () {\n var attaches;\n\n // Claim the first handler\n // dataPriv.set( this, \"focus\", ... )\n // dataPriv.set( this, \"blur\", ... )\n leverageNative(this, type, true);\n if (document.documentMode) {\n // Support: IE 9 - 11+\n // We use the same native handler for focusin & focus (and focusout & blur)\n // so we need to coordinate setup & teardown parts between those events.\n // Use `delegateType` as the key as `type` is already used by `leverageNative`.\n attaches = dataPriv.get(this, delegateType);\n if (!attaches) {\n this.addEventListener(delegateType, focusMappedHandler);\n }\n dataPriv.set(this, delegateType, (attaches || 0) + 1);\n } else {\n // Return false to allow normal processing in the caller\n return false;\n }\n },\n trigger: function () {\n // Force setup before trigger\n leverageNative(this, type);\n\n // Return non-false to allow normal event-path propagation\n return true;\n },\n teardown: function () {\n var attaches;\n if (document.documentMode) {\n attaches = dataPriv.get(this, delegateType) - 1;\n if (!attaches) {\n this.removeEventListener(delegateType, focusMappedHandler);\n dataPriv.remove(this, delegateType);\n } else {\n dataPriv.set(this, delegateType, attaches);\n }\n } else {\n // Return false to indicate standard teardown should be applied\n return false;\n }\n },\n // Suppress native focus or blur if we're currently inside\n // a leveraged native-event stack\n _default: function (event) {\n return dataPriv.get(event.target, type);\n },\n delegateType: delegateType\n };\n\n // Support: Firefox <=44\n // Firefox doesn't have focus(in | out) events\n // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n //\n // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n // focus(in | out) events fire after focus & blur events,\n // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n //\n // Support: IE 9 - 11+\n // To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n // attach a single handler for both events in IE.\n jQuery.event.special[delegateType] = {\n setup: function () {\n // Handle: regular nodes (via `this.ownerDocument`), window\n // (via `this.document`) & document (via `this`).\n var doc = this.ownerDocument || this.document || this,\n dataHolder = document.documentMode ? this : doc,\n attaches = dataPriv.get(dataHolder, delegateType);\n\n // Support: IE 9 - 11+\n // We use the same native handler for focusin & focus (and focusout & blur)\n // so we need to coordinate setup & teardown parts between those events.\n // Use `delegateType` as the key as `type` is already used by `leverageNative`.\n if (!attaches) {\n if (document.documentMode) {\n this.addEventListener(delegateType, focusMappedHandler);\n } else {\n doc.addEventListener(type, focusMappedHandler, true);\n }\n }\n dataPriv.set(dataHolder, delegateType, (attaches || 0) + 1);\n },\n teardown: function () {\n var doc = this.ownerDocument || this.document || this,\n dataHolder = document.documentMode ? this : doc,\n attaches = dataPriv.get(dataHolder, delegateType) - 1;\n if (!attaches) {\n if (document.documentMode) {\n this.removeEventListener(delegateType, focusMappedHandler);\n } else {\n doc.removeEventListener(type, focusMappedHandler, true);\n }\n dataPriv.remove(dataHolder, delegateType);\n } else {\n dataPriv.set(dataHolder, delegateType, attaches);\n }\n }\n };\n });\n\n // Create mouseenter/leave events using mouseover/out and event-time checks\n // so that event delegation works in jQuery.\n // Do the same for pointerenter/pointerleave and pointerover/pointerout\n //\n // Support: Safari 7 only\n // Safari sends mouseenter too often; see:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n // for the description of the bug (it existed in older Chrome versions as well).\n jQuery.each({\n mouseenter: \"mouseover\",\n mouseleave: \"mouseout\",\n pointerenter: \"pointerover\",\n pointerleave: \"pointerout\"\n }, function (orig, fix) {\n jQuery.event.special[orig] = {\n delegateType: fix,\n bindType: fix,\n handle: function (event) {\n var ret,\n target = this,\n related = event.relatedTarget,\n handleObj = event.handleObj;\n\n // For mouseenter/leave call the handler if related is outside the target.\n // NB: No relatedTarget if the mouse left/entered the browser window\n if (!related || related !== target && !jQuery.contains(target, related)) {\n event.type = handleObj.origType;\n ret = handleObj.handler.apply(this, arguments);\n event.type = fix;\n }\n return ret;\n }\n };\n });\n jQuery.fn.extend({\n on: function (types, selector, data, fn) {\n return on(this, types, selector, data, fn);\n },\n one: function (types, selector, data, fn) {\n return on(this, types, selector, data, fn, 1);\n },\n off: function (types, selector, fn) {\n var handleObj, type;\n if (types && types.preventDefault && types.handleObj) {\n // ( event ) dispatched jQuery.Event\n handleObj = types.handleObj;\n jQuery(types.delegateTarget).off(handleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler);\n return this;\n }\n if (typeof types === \"object\") {\n // ( types-object [, selector] )\n for (type in types) {\n this.off(type, selector, types[type]);\n }\n return this;\n }\n if (selector === false || typeof selector === \"function\") {\n // ( types [, fn] )\n fn = selector;\n selector = undefined;\n }\n if (fn === false) {\n fn = returnFalse;\n }\n return this.each(function () {\n jQuery.event.remove(this, types, fn, selector);\n });\n }\n });\n return jQuery;\n});","define([\"./core\", \"./core/access\", \"./core/camelCase\", \"./core/nodeName\", \"./var/rcssNum\", \"./css/var/rnumnonpx\", \"./css/var/rcustomProp\", \"./css/var/cssExpand\", \"./css/var/getStyles\", \"./css/var/swap\", \"./css/curCSS\", \"./css/adjustCSS\", \"./css/addGetHookIf\", \"./css/support\", \"./css/finalPropName\", \"./core/init\", \"./core/ready\", \"./selector\" // contains\n], function (jQuery, access, camelCase, nodeName, rcssNum, rnumnonpx, rcustomProp, cssExpand, getStyles, swap, curCSS, adjustCSS, addGetHookIf, support, finalPropName) {\n \"use strict\";\n\n var\n // Swappable if display is none or starts with table\n // except \"table\", \"table-cell\", or \"table-caption\"\n // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n rdisplayswap = /^(none|table(?!-c[ea]).+)/,\n cssShow = {\n position: \"absolute\",\n visibility: \"hidden\",\n display: \"block\"\n },\n cssNormalTransform = {\n letterSpacing: \"0\",\n fontWeight: \"400\"\n };\n function setPositiveNumber(_elem, value, subtract) {\n // Any relative (+/-) values have already been\n // normalized at this point\n var matches = rcssNum.exec(value);\n return matches ?\n // Guard against undefined \"subtract\", e.g., when used as in cssHooks\n Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || \"px\") : value;\n }\n function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) {\n var i = dimension === \"width\" ? 1 : 0,\n extra = 0,\n delta = 0,\n marginDelta = 0;\n\n // Adjustment may not be necessary\n if (box === (isBorderBox ? \"border\" : \"content\")) {\n return 0;\n }\n for (; i < 4; i += 2) {\n // Both box models exclude margin\n // Count margin delta separately to only add it after scroll gutter adjustment.\n // This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n if (box === \"margin\") {\n marginDelta += jQuery.css(elem, box + cssExpand[i], true, styles);\n }\n\n // If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n if (!isBorderBox) {\n // Add padding\n delta += jQuery.css(elem, \"padding\" + cssExpand[i], true, styles);\n\n // For \"border\" or \"margin\", add border\n if (box !== \"padding\") {\n delta += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n\n // But still keep track of it otherwise\n } else {\n extra += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n }\n\n // If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n // \"padding\" or \"margin\"\n } else {\n // For \"content\", subtract padding\n if (box === \"content\") {\n delta -= jQuery.css(elem, \"padding\" + cssExpand[i], true, styles);\n }\n\n // For \"content\" or \"padding\", subtract border\n if (box !== \"margin\") {\n delta -= jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n }\n }\n }\n\n // Account for positive content-box scroll gutter when requested by providing computedVal\n if (!isBorderBox && computedVal >= 0) {\n // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n // Assuming integer scroll gutter, subtract the rest and round down\n delta += Math.max(0, Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - computedVal - delta - extra - 0.5\n\n // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n // Use an explicit zero to avoid NaN (gh-3964)\n )) || 0;\n }\n return delta + marginDelta;\n }\n function getWidthOrHeight(elem, dimension, extra) {\n // Start with computed style\n var styles = getStyles(elem),\n // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n // Fake content-box until we know it's needed to know the true value.\n boxSizingNeeded = !support.boxSizingReliable() || extra,\n isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\",\n valueIsBorderBox = isBorderBox,\n val = curCSS(elem, dimension, styles),\n offsetProp = \"offset\" + dimension[0].toUpperCase() + dimension.slice(1);\n\n // Support: Firefox <=54\n // Return a confounding non-pixel value or feign ignorance, as appropriate.\n if (rnumnonpx.test(val)) {\n if (!extra) {\n return val;\n }\n val = \"auto\";\n }\n\n // Support: IE 9 - 11 only\n // Use offsetWidth/offsetHeight for when box sizing is unreliable.\n // In those cases, the computed value can be trusted to be border-box.\n if ((!support.boxSizingReliable() && isBorderBox ||\n // Support: IE 10 - 11+, Edge 15 - 18+\n // IE/Edge misreport `getComputedStyle` of table rows with width/height\n // set in CSS while `offset*` properties report correct values.\n // Interestingly, in some cases IE 9 doesn't suffer from this issue.\n !support.reliableTrDimensions() && nodeName(elem, \"tr\") ||\n // Fall back to offsetWidth/offsetHeight when value is \"auto\"\n // This happens for inline elements with no explicit setting (gh-3571)\n val === \"auto\" ||\n // Support: Android <=4.1 - 4.3 only\n // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n !parseFloat(val) && jQuery.css(elem, \"display\", false, styles) === \"inline\") &&\n // Make sure the element is visible & connected\n elem.getClientRects().length) {\n isBorderBox = jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\";\n\n // Where available, offsetWidth/offsetHeight approximate border box dimensions.\n // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n // retrieved value as a content box dimension.\n valueIsBorderBox = offsetProp in elem;\n if (valueIsBorderBox) {\n val = elem[offsetProp];\n }\n }\n\n // Normalize \"\" and auto\n val = parseFloat(val) || 0;\n\n // Adjust for the element's box model\n return val + boxModelAdjustment(elem, dimension, extra || (isBorderBox ? \"border\" : \"content\"), valueIsBorderBox, styles,\n // Provide the current computed size to request scroll gutter calculation (gh-3589)\n val) + \"px\";\n }\n jQuery.extend({\n // Add in style property hooks for overriding the default\n // behavior of getting and setting a style property\n cssHooks: {\n opacity: {\n get: function (elem, computed) {\n if (computed) {\n // We should always get a number back from opacity\n var ret = curCSS(elem, \"opacity\");\n return ret === \"\" ? \"1\" : ret;\n }\n }\n }\n },\n // Don't automatically add \"px\" to these possibly-unitless properties\n cssNumber: {\n animationIterationCount: true,\n aspectRatio: true,\n borderImageSlice: true,\n columnCount: true,\n flexGrow: true,\n flexShrink: true,\n fontWeight: true,\n gridArea: true,\n gridColumn: true,\n gridColumnEnd: true,\n gridColumnStart: true,\n gridRow: true,\n gridRowEnd: true,\n gridRowStart: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n scale: true,\n widows: true,\n zIndex: true,\n zoom: true,\n // SVG-related\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeMiterlimit: true,\n strokeOpacity: true\n },\n // Add in properties whose names you wish to fix before\n // setting or getting the value\n cssProps: {},\n // Get and set the style property on a DOM Node\n style: function (elem, name, value, extra) {\n // Don't set styles on text and comment nodes\n if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {\n return;\n }\n\n // Make sure that we're working with the right name\n var ret,\n type,\n hooks,\n origName = camelCase(name),\n isCustomProp = rcustomProp.test(name),\n style = elem.style;\n\n // Make sure that we're working with the right name. We don't\n // want to query the value if it is a CSS custom property\n // since they are user-defined.\n if (!isCustomProp) {\n name = finalPropName(origName);\n }\n\n // Gets hook for the prefixed version, then unprefixed version\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];\n\n // Check if we're setting a value\n if (value !== undefined) {\n type = typeof value;\n\n // Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n if (type === \"string\" && (ret = rcssNum.exec(value)) && ret[1]) {\n value = adjustCSS(elem, name, ret);\n\n // Fixes bug trac-9237\n type = \"number\";\n }\n\n // Make sure that null and NaN values aren't set (trac-7116)\n if (value == null || value !== value) {\n return;\n }\n\n // If a number was passed in, add the unit (except for certain CSS properties)\n // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n // \"px\" to a few hardcoded values.\n if (type === \"number\" && !isCustomProp) {\n value += ret && ret[3] || (jQuery.cssNumber[origName] ? \"\" : \"px\");\n }\n\n // background-* props affect original clone's values\n if (!support.clearCloneStyle && value === \"\" && name.indexOf(\"background\") === 0) {\n style[name] = \"inherit\";\n }\n\n // If a hook was provided, use that value, otherwise just set the specified value\n if (!hooks || !(\"set\" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {\n if (isCustomProp) {\n style.setProperty(name, value);\n } else {\n style[name] = value;\n }\n }\n } else {\n // If a hook was provided get the non-computed value from there\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) {\n return ret;\n }\n\n // Otherwise just get the value from the style object\n return style[name];\n }\n },\n css: function (elem, name, extra, styles) {\n var val,\n num,\n hooks,\n origName = camelCase(name),\n isCustomProp = rcustomProp.test(name);\n\n // Make sure that we're working with the right name. We don't\n // want to modify the value if it is a CSS custom property\n // since they are user-defined.\n if (!isCustomProp) {\n name = finalPropName(origName);\n }\n\n // Try prefixed name followed by the unprefixed name\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];\n\n // If a hook was provided get the computed value from there\n if (hooks && \"get\" in hooks) {\n val = hooks.get(elem, true, extra);\n }\n\n // Otherwise, if a way to get the computed value exists, use that\n if (val === undefined) {\n val = curCSS(elem, name, styles);\n }\n\n // Convert \"normal\" to computed value\n if (val === \"normal\" && name in cssNormalTransform) {\n val = cssNormalTransform[name];\n }\n\n // Make numeric if forced or a qualifier was provided and val looks numeric\n if (extra === \"\" || extra) {\n num = parseFloat(val);\n return extra === true || isFinite(num) ? num || 0 : val;\n }\n return val;\n }\n });\n jQuery.each([\"height\", \"width\"], function (_i, dimension) {\n jQuery.cssHooks[dimension] = {\n get: function (elem, computed, extra) {\n if (computed) {\n // Certain elements can have dimension info if we invisibly show them\n // but it must have a current display style that would benefit\n return rdisplayswap.test(jQuery.css(elem, \"display\")) && (\n // Support: Safari 8+\n // Table columns in Safari have non-zero offsetWidth & zero\n // getBoundingClientRect().width unless display is changed.\n // Support: IE <=11 only\n // Running getBoundingClientRect on a disconnected node\n // in IE throws an error.\n !elem.getClientRects().length || !elem.getBoundingClientRect().width) ? swap(elem, cssShow, function () {\n return getWidthOrHeight(elem, dimension, extra);\n }) : getWidthOrHeight(elem, dimension, extra);\n }\n },\n set: function (elem, value, extra) {\n var matches,\n styles = getStyles(elem),\n // Only read styles.position if the test has a chance to fail\n // to avoid forcing a reflow.\n scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === \"absolute\",\n // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n boxSizingNeeded = scrollboxSizeBuggy || extra,\n isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\",\n subtract = extra ? boxModelAdjustment(elem, dimension, extra, isBorderBox, styles) : 0;\n\n // Account for unreliable border-box dimensions by comparing offset* to computed and\n // faking a content-box to get border and padding (gh-3699)\n if (isBorderBox && scrollboxSizeBuggy) {\n subtract -= Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - parseFloat(styles[dimension]) - boxModelAdjustment(elem, dimension, \"border\", false, styles) - 0.5);\n }\n\n // Convert to pixels if value adjustment is needed\n if (subtract && (matches = rcssNum.exec(value)) && (matches[3] || \"px\") !== \"px\") {\n elem.style[dimension] = value;\n value = jQuery.css(elem, dimension);\n }\n return setPositiveNumber(elem, value, subtract);\n }\n };\n });\n jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft, function (elem, computed) {\n if (computed) {\n return (parseFloat(curCSS(elem, \"marginLeft\")) || elem.getBoundingClientRect().left - swap(elem, {\n marginLeft: 0\n }, function () {\n return elem.getBoundingClientRect().left;\n })) + \"px\";\n }\n });\n\n // These hooks are used by animate to expand properties\n jQuery.each({\n margin: \"\",\n padding: \"\",\n border: \"Width\"\n }, function (prefix, suffix) {\n jQuery.cssHooks[prefix + suffix] = {\n expand: function (value) {\n var i = 0,\n expanded = {},\n // Assumes a single number if not a string\n parts = typeof value === \"string\" ? value.split(\" \") : [value];\n for (; i < 4; i++) {\n expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0];\n }\n return expanded;\n }\n };\n if (prefix !== \"margin\") {\n jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;\n }\n });\n jQuery.fn.extend({\n css: function (name, value) {\n return access(this, function (elem, name, value) {\n var styles,\n len,\n map = {},\n i = 0;\n if (Array.isArray(name)) {\n styles = getStyles(elem);\n len = name.length;\n for (; i < len; i++) {\n map[name[i]] = jQuery.css(elem, name[i], false, styles);\n }\n return map;\n }\n return value !== undefined ? jQuery.style(elem, name, value) : jQuery.css(elem, name);\n }, name, value, arguments.length > 1);\n }\n });\n return jQuery;\n});","define([\"./arr\"], function (arr) {\n \"use strict\";\n\n return arr.indexOf;\n});","define(function () {\n \"use strict\";\n\n // [[Class]] -> type pairs\n return {};\n});","define([\"./class2type\"], function (class2type) {\n \"use strict\";\n\n return class2type.hasOwnProperty;\n});","define(function () {\n \"use strict\";\n\n /**\n * Determines whether an object can have data\n */\n return function (owner) {\n // Accepts only:\n // - Node\n // - Node.ELEMENT_NODE\n // - Node.DOCUMENT_NODE\n // - Object\n // - Any\n return owner.nodeType === 1 || owner.nodeType === 9 || !+owner.nodeType;\n };\n});","define([\"../core\", \"../var/documentElement\", \"../selector/contains\" // jQuery.contains\n], function (jQuery, documentElement) {\n \"use strict\";\n\n var isAttached = function (elem) {\n return jQuery.contains(elem.ownerDocument, elem);\n },\n composed = {\n composed: true\n };\n\n // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n // Check attachment across shadow DOM boundaries when possible (gh-3504)\n // Support: iOS 10.0-10.2 only\n // Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n // leading to errors. We need to check for `getRootNode`.\n if (documentElement.getRootNode) {\n isAttached = function (elem) {\n return jQuery.contains(elem.ownerDocument, elem) || elem.getRootNode(composed) === elem.ownerDocument;\n };\n }\n return isAttached;\n});","define([\"./document\"], function (document) {\n \"use strict\";\n\n return document.documentElement;\n});","define([\"./core\", \"./core/isAttached\", \"./var/flat\", \"./var/isFunction\", \"./var/push\", \"./var/rcheckableType\", \"./core/access\", \"./manipulation/var/rtagName\", \"./manipulation/var/rscriptType\", \"./manipulation/wrapMap\", \"./manipulation/getAll\", \"./manipulation/setGlobalEval\", \"./manipulation/buildFragment\", \"./manipulation/support\", \"./data/var/dataPriv\", \"./data/var/dataUser\", \"./data/var/acceptData\", \"./core/DOMEval\", \"./core/nodeName\", \"./core/init\", \"./traversing\", \"./selector\", \"./event\"], function (jQuery, isAttached, flat, isFunction, push, rcheckableType, access, rtagName, rscriptType, wrapMap, getAll, setGlobalEval, buildFragment, support, dataPriv, dataUser, acceptData, DOMEval, nodeName) {\n \"use strict\";\n\n var\n // Support: IE <=10 - 11, Edge 12 - 13 only\n // In IE/Edge using regex groups here causes severe slowdowns.\n // See https://connect.microsoft.com/IE/feedback/details/1736512/\n rnoInnerhtml = /