PageSourceSearch

https://zest.re/js/app.js?id=68b08123528c6a1a66943e26d3c3c5c7

js zest.re collected 2026-09-26 08:07:12 UTC 3,114,566 bytes, 2 lines download raw bytes

1/*! For license information please see app.js.LICENSE.txt */
2(()=>{var t,e,n,r={96454:(t,e,n)=>{function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var i=r(n(70538)),o=r(n(83465)),a=n(9680);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(){var t=[].slice.call(arguments),e="string"==typeof t[0]?t[0]:null,n=("string"==typeof t[0]?t[1]:t[0])||{},r=o(n),l=e?a.Inertia.restore(e):null,c=null,u=null,d=function(t){return t},h=i.observable(s({},l?l.data:n,{errors:l?l.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data:function(){var t=this;return Object.keys(n).reduce((function(e,n){return e[n]=t[n],e}),{})},transform:function(t){return d=t,this},reset:function(){var t=[].slice.call(arguments),e=o(r);return Object.assign(this,0===t.length?e:Object.keys(e).filter((function(e){return t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})),this},clearErrors:function(){var t=this,e=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce((function(n,r){var i;return s({},n,e.length>0&&!e.includes(r)?((i={})[r]=t.errors[r],i):{})}),{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(t,e,n){var r=this;void 0===n&&(n={});var i=d(this.data()),o=s({},n,{onCancelToken:function(t){if(c=t,n.cancelToken)return n.cancelToken(t)},onBefore:function(t){if(r.wasSuccessful=!1,r.recentlySuccessful=!1,clearTimeout(u),n.onBefore)return n.onBefore(t)},onStart:function(t){if(r.processing=!0,n.onStart)return n.onStart(t)},onProgress:function(t){if(r.progress=t,n.onProgress)return n.onProgress(t)},onSuccess:function(t){if(r.processing=!1,r.progress=null,r.clearErrors(),r.wasSuccessful=!0,r.recentlySuccessful=!0,u=setTimeout((function(){return r.recentlySuccessful=!1}),2e3),n.onSuccess)return n.onSuccess(t)},onError:function(t){if(r.processing=!1,r.progress=null,r.errors=t,r.hasErrors=!0,n.onError)return n.onError(t)},onCancel:function(){if(r.processing=!1,r.progress=null,n.onCancel)return n.onCancel()},onFinish:function(){if(c=null,n.onFinish)return n.onFinish()}});"delete"===t?a.Inertia.delete(e,s({},o,{data:i})):a.Inertia[t](e,i,o)},get:function(t,e){this.submit("get",t,e)},post:function(t,e){this.submit("post",t,e)},put:function(t,e){this.submit("put",t,e)},patch:function(t,e){this.submit("patch",t,e)},delete:function(t,e){this.submit("delete",t,e)},cancel:function(){c&&c.cancel()},__rememberable:null===e,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(t){Object.assign(this,t.data),Object.assign(this.errors,t.errors),this.hasErrors=Object.keys(this.errors).length>0}}));return e&&new i({created:function(){this.$watch((function(){return h}),(function(t){a.Inertia.remember(t.__remember(),e)}),{immediate:!0,deep:!0})}}),h}var c={functional:!0,props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String,required:!0},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}}},render:function(t,e){var n=e.props,r=e.data,i=e.children;r.on=s({click:function(){return{}},cancelToken:function(){return{}},start:function(){return{}},progress:function(){return{}},finish:function(){return{}},cancel:function(){return{}},success:function(){return{}},error:function(){return{}}},r.on||{});var o=n.as.toLowerCase(),l=n.method.toLowerCase(),c=a.mergeDataIntoQueryString(l,a.hrefToUrl(n.href),n.data),u=c[0],d=c[1];return"a"===o&&"get"!==l&&console.warn('Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<inertia-link href="'+u.href+'" method="'+l+'" as="button">...</inertia-link>'),t(n.as,s({},r,{attrs:s({},r.attrs,"a"===o?{href:u.href}:{}),on:s({},r.on,{click:function(t){var e;r.on.click(t),a.shouldIntercept(t)&&(t.preventDefault(),a.Inertia.visit(u.href,{data:d,method:l,replace:n.replace,preserveScroll:n.preserveScroll,preserveState:null!=(e=n.preserveState)?e:"get"!==l,only:n.only,headers:n.headers,onCancelToken:r.on.cancelToken,onBefore:r.on.before,onStart:r.on.start,onProgress:r.on.progress,onFinish:r.on.finish,onCancel:r.on.cancel,onSuccess:r.on.success,onError:r.on.error}))}})}),i)}},u={created:function(){var t=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var e=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,n=a.Inertia.restore(e),r=this.$options.remember.data.filter((function(e){return!(null!==t[e]&&"object"==typeof t[e]&&!1===t[e].__rememberable)})),i=function(e){return null!==t[e]&&"object"==typeof t[e]&&"function"==typeof t[e].__remember&&"function"==typeof t[e].__restore};r.forEach((function(o){void 0!==t[o]&&void 0!==n&&void 0!==n[o]&&(i(o)?t[o].__restore(n[o]):t[o]=n[o]),t.$watch(o,(function(){a.Inertia.remember(r.reduce((function(e,n){var r;return s({},e,((r={})[n]=i(n)?t[n].__remember():t[n],r))}),{}),e)}),{immediate:!0,deep:!0})}))}}},d={},h={name:"Inertia",props:{initialPage:{type:Object,required:!0},resolveComponent:{type:Function,required:!0},resolveErrors:{type:Function,required:!1},transformProps:{type:Function,required:!1}},data:function(){return{component:null,page:{},key:null}},created:function(){var t=this;
2d=this,a.Inertia.init({initialPage:this.initialPage,resolveComponent:this.resolveComponent,resolveErrors:this.resolveErrors,transformProps:this.transformProps,swapComponent:function(e){var n=e.component,r=e.page,i=e.preserveState;try{return t.component=n,t.page=r,t.key=i?t.key:Date.now(),Promise.resolve()}catch(t){return Promise.reject(t)}}})},render:function(t){if(this.component){var e=t(this.component,{key:this.key,props:this.page.props,scopedSlots:this.$scopedSlots});return this.component.layout?"function"==typeof this.component.layout?this.component.layout(t,e):Array.isArray(this.component.layout)?this.component.layout.concat(e).reverse().reduce((function(e,n){return t(n,[e])})):t(this.component.layout,[e]):e}},install:function(t){console.warn('Registering the Inertia Vue plugin via the "app" component has been deprecated. Use the new "plugin" named export instead.\n\nimport { plugin } from \'@inertiajs/inertia-vue\'\n\nVue.use(plugin)'),f.install(t)}},f={install:function(t){a.Inertia.form=l,Object.defineProperty(t.prototype,"$inertia",{get:function(){return a.Inertia}}),Object.defineProperty(t.prototype,"$page",{get:function(){return d.page}}),t.mixin(u),t.component("InertiaLink",c)}};e.gV=h,e.BA=f},9680:(t,e,n)=>{function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var i=r(n(9669)),o=r(n(80129)),a=r(n(9996));function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var l={modal:null,listener:null,show:function(t){var e=this;"object"==typeof t&&(t="All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>"+JSON.stringify(t));var n=document.createElement("html");n.innerHTML=t,n.querySelectorAll("a").forEach((function(t){return t.setAttribute("target","_top")})),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",(function(){return e.hide()}));var r=document.createElement("iframe");r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",this.modal.appendChild(r),document.body.prepend(this.modal),document.body.style.overflow="hidden",r.contentWindow.document.open(),r.contentWindow.document.write(n.outerHTML),r.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(t){27===t.keyCode&&this.hide()}};function c(t,e){return document.dispatchEvent(new CustomEvent("inertia:"+t,e))}function u(t){return c("finish",{detail:{visit:t}})}function d(t){return c("navigate",{detail:{page:t}})}function h(t){return new URL(t,window.location)}function f(t,e,n){return"get"===t&&Object.keys(n).length&&(e.search=o.stringify(a(o.parse(e.search,{ignoreQueryPrefix:!0}),n),{encodeValuesOnly:!0,arrayFormat:"brackets"}),n={}),[e,n]}function p(t){return(t=new URL(t.href)).hash="",t}function m(t,e,n){if(void 0===e&&(e=new FormData),void 0===n&&(n=null),null===t||"undefined"===t||0===t.length)return e.append(n,t);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&v(e,_(n,r),t[r]);return e}function _(t,e){return t?t+"["+e+"]":e}function v(t,e,n){return n instanceof Date?t.append(e,n.toISOString()):n instanceof File?t.append(e,n,n.name):n instanceof Blob?t.append(e,n):"boolean"==typeof n?t.append(e,n?"1":"0"):null===n?t.append(e,""):"object"!=typeof n?t.append(e,n):void m(n,t,e)}e.Inertia={resolveComponent:null,resolveErrors:function(t){return t.props.errors||{}},swapComponent:null,transformProps:function(t){return t},activeVisit:null,visitId:null,page:null,init:function(t){var e=t.initialPage,n=t.resolveErrors,r=t.swapComponent,i=t.transformProps;
2this.resolveComponent=t.resolveComponent,this.resolveErrors=n||this.resolveErrors,this.swapComponent=r,this.transformProps=i||this.transformProps,this.handleInitialPageVisit(e),this.setupEventListeners()},handleInitialPageVisit:function(t){this.isBackForwardVisit()?this.handleBackForwardVisit(t):this.isLocationVisit()?this.handleLocationVisit(t):(t.url+=window.location.hash,this.setPage(t)),d(t)},setupEventListeners:function(){var t,e;window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",(t=this.handleScrollEvent.bind(this),e=null,function(){var n=arguments,r=this;clearTimeout(e),e=setTimeout((function(){return t.apply(r,n)}),100)}),!0)},scrollRegions:function(){return document.querySelectorAll("[scroll-region]")},handleScrollEvent:function(t){"function"==typeof t.target.hasAttribute&&t.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},saveScrollPositions:function(){this.replaceState(s({},this.page,{scrollRegions:Array.prototype.slice.call(this.scrollRegions()).map((function(t){return{top:t.scrollTop,left:t.scrollLeft}}))}))},resetScrollPositions:function(){var t;document.documentElement.scrollTop=0,document.documentElement.scrollLeft=0,this.scrollRegions().forEach((function(t){t.scrollTop=0,t.scrollLeft=0})),this.saveScrollPositions(),window.location.hash&&(null==(t=document.getElementById(window.location.hash.slice(1)))||t.scrollIntoView())},restoreScrollPositions:function(){var t=this;this.page.scrollRegions&&this.scrollRegions().forEach((function(e,n){e.scrollTop=t.page.scrollRegions[n].top,e.scrollLeft=t.page.scrollRegions[n].left}))},isBackForwardVisit:function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},handleBackForwardVisit:function(t){var e=this;window.history.state.version=t.version,this.setPage(window.history.state,{preserveScroll:!0}).then((function(){e.restoreScrollPositions()}))},locationVisit:function(t,e){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:e})),window.location.href=t.href,p(window.location).href===p(t).href&&window.location.reload()}catch(t){return!1}},isLocationVisit:function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(t){return!1}},handleLocationVisit:function(t){var e,n,r,i,o=this,a=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit"));window.sessionStorage.removeItem("inertiaLocationVisit"),t.url+=window.location.hash,t.rememberedState=null!=(e=null==(n=window.history.state)?void 0:n.rememberedState)?e:{},t.scrollRegions=null!=(r=null==(i=window.history.state)?void 0:i.scrollRegions)?r:[],this.setPage(t,{preserveScroll:a.preserveScroll}).then((function(){a.preserveScroll&&o.restoreScrollPositions()}))},isLocationVisitResponse:function(t){return t&&409===t.status&&t.headers["x-inertia-location"]},isInertiaResponse:function(t){return null==t?void 0:t.headers["x-inertia"]},createVisitId:function(){return this.visitId={},this.visitId},cancelVisit:function(t,e){var n=e.cancelled,r=void 0!==n&&n,i=e.interrupted,o=void 0!==i&&i;!t||t.completed||t.cancelled||t.interrupted||(t.cancelToken.cancel(),t.onCancel(),t.completed=!1,t.cancelled=r,t.interrupted=o,u(t),t.onFinish(t))},finishVisit:function(t){t.cancelled||t.interrupted||(t.completed=!0,t.cancelled=!1,t.interrupted=!1,u(t),t.onFinish(t))},resolvePreserveOption:function(t,e){return"function"==typeof t?t(e):"errors"===t?Object.keys(this.resolveErrors(e)).length>0:t},visit:function(t,e){var n=this,r=void 0===e?{}:e,o=r.method,a=void 0===o?"get":o,u=r.data,d=void 0===u?{}:u,_=r.replace,v=void 0!==_&&_,g=r.preserveScroll,y=void 0!==g&&g,b=r.preserveState,x=void 0!==b&&b,w=r.only,k=void 0===w?[]:w,M=r.headers,C=void 0===M?{}:M,S=r.errorBag,T=void 0===S?null:S,L=r.forceFormData,E=void 0!==L&&L,A=r.onCancelToken,D=void 0===A?function(){return{}}:A,O=r.onBefore,z=void 0===O?function(){return{}}:O,P=r.onStart,j=void 0===P?function(){return{}}:P,I=r.onProgress,Y=void 0===I?function(){return{}}:I,R=r.onFinish,F=void 0===R?function(){return{}}:R,B=r.onCancel,N=void 0===B?function(){return{}}:B,$=r.onSuccess,Z=void 0===$?function(){return{}}:$,H=r.onError,V=void 0===H?function(){return{}}:H,U=f(a=a.toLowerCase(),h(t),d);t=U[0];var W=function t(e){return e instanceof File||e instanceof Blob||e instanceof FileList||"object"==typeof e&&null!==e&&void 0!==Object.values(e).find((function(e){return t(e)}))}(d=U[1]);"get"!==a&&(W||E)&&(d=m(d));var G={url:t,method:a,data:d,replace:v,preserveScroll:y,preserveState:x,only:k,headers:C,errorBag:T,forceFormData:E,onCancelToken:D,onBefore:z,onStart:j,onProgress:Y,onFinish:F,onCancel:N,onSuccess:Z,onError:V};if(!1!==z(G)&&function(t){return c("before",{cancelable:!0,detail:{visit:t}})}(G)){this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var q=this.createVisitId();return this.activeVisit=G,this.activeVisit.cancelToken=i.CancelToken.source(),D({cancel:function(){return n.cancelVisit(n.activeVisit,{cancelled:!0})}}),function(t){c("start",{detail:{visit:t}})}(G),j(G),new Proxy(i({method:a,url:p(t).href,data:"get"===a?{}:d,params:"get"===a?d:{},cancelToken:this.activeVisit.cancelToken.token,headers:s({},C,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},k.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":k.join(",")}:{},T?{"X-Inertia-Error-Bag":T}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(t){W&&(t.percentage=Math.round(t.loaded/t.total*100),function(t){c("progress",{detail:{progress:t}})}(t),Y(t))}}).then((function(e){var r;if(!n.isInertiaResponse(e))return Promise.reject({response:e});k.length&&e.data.component===n.page.component&&(e.data.props=s({},n.page.props,e.data.props)),y=n.resolvePreserveOption(y,e.data),(x=n.resolvePreserveOption(x,e.data))&&null!=(r=window.history.state)&&r.rememberedState&&e.data.component===n.page.component&&(e.data.rememberedState=window.history.state.rememberedState);var i=h(e.data.url);return t.hash&&!i.hash&&p(t).href===i.href&&(i.hash=t.hash,e.data.url=i.href),n.setPage(e.data,{visitId:q,replace:v,preserveScroll:y,preserveState:x})})).then((function(){var t=n.resolveErrors(n.page);return Object.keys(t).length>0?(function(t){c("error",{detail:{errors:t}})}(t[T]||t),V(t[T]||t)):(c("success",{detail:{page:n.page}}),Z(n.page))})).catch((function(e){if(n.isInertiaResponse(e.response))return n.setPage(e.response.data,{visitId:q});if(n.isLocationVisitResponse(e.response)){var r=h(e.response.headers["x-inertia-location"]);t.hash&&!r.hash&&p(t).href===r.href&&(r.hash=t.hash),n.locationVisit(r,y)}else{if(!e.response)return Promise.reject(e);c("invalid",{cancelable:!0,detail:{response:e.response}})&&l.show(e.response.data)}})).then((function(){n.finishVisit(G)}
2)).catch((function(t){if(!i.isCancel(t)){var e=c("exception",{cancelable:!0,detail:{exception:t}});if(n.finishVisit(G),e)return Promise.reject(t)}})),{get:function(t,e){return["then","catch","finally"].includes(e)&&console.warn("Inertia.js visit promises have been deprecated and will be removed in a future release. Please use the new visit event callbacks instead.\n\nLearn more at https://inertiajs.com/manual-visits#promise-deprecation"),"function"==typeof t[e]?t[e].bind(t):t[e]}})}},setPage:function(t,e){var n=this,r=void 0===e?{}:e,i=r.visitId,o=void 0===i?this.createVisitId():i,a=r.replace,s=void 0!==a&&a,l=r.preserveScroll,c=void 0!==l&&l,u=r.preserveState,f=void 0!==u&&u;return Promise.resolve(this.resolveComponent(t.component)).then((function(e){if(o===n.visitId){t.scrollRegions=t.scrollRegions||[],t.rememberedState=t.rememberedState||{},(s=s||h(t.url).href===window.location.href)?n.replaceState(t):n.pushState(t);var r=JSON.parse(JSON.stringify(t));r.props=n.transformProps(r.props),n.swapComponent({component:e,page:r,preserveState:f}).then((function(){c||n.resetScrollPositions(),s||d(t)}))}}))},pushState:function(t){this.page=t,window.history.pushState(t,"",t.url)},replaceState:function(t){this.page=t,window.history.replaceState(t,"",t.url)},handlePopstateEvent:function(t){var e=this;if(null!==t.state){var n=t.state,r=this.createVisitId();return Promise.resolve(this.resolveComponent(n.component)).then((function(t){r===e.visitId&&(e.page=n,e.swapComponent({component:t,page:n,preserveState:!1}).then((function(){e.restoreScrollPositions(),d(n)})))}))}var i=h(this.page.url);i.hash=window.location.hash,this.replaceState(s({},this.page,{url:i.href})),this.resetScrollPositions()},get:function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),this.visit(t,s({},n,{method:"get",data:e}))},reload:function(t){return void 0===t&&(t={}),this.visit(window.location.href,s({},t,{preserveScroll:!0,preserveState:!0}))},replace:function(t,e){var n;return void 0===e&&(e={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(n=e.method)?n:"get")+"() instead."),this.visit(t,s({preserveState:!0},e,{replace:!0}))},post:function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:"post",data:e}))},put:function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:"put",data:e}))},patch:function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:"patch",data:e}))},delete:function(t,e){return void 0===e&&(e={}),this.visit(t,s({preserveState:!0},e,{method:"delete"}))},remember:function(t,e){var n;void 0===e&&(e="default"),this.replaceState(s({},this.page,{rememberedState:s({},this.page.rememberedState,(n={},n[e]=t,n))}))},restore:function(t){var e,n;return void 0===t&&(t="default"),null==(e=window.history.state)||null==(n=e.rememberedState)?void 0:n[t]},on:function(t,e){var n=function(t){var n=e(t);t.cancelable&&!t.defaultPrevented&&!1===n&&t.preventDefault()};return document.addEventListener("inertia:"+t,n),function(){return document.removeEventListener("inertia:"+t,n)}}},e.hrefToUrl=h,e.mergeDataIntoQueryString=f,e.shouldIntercept=function(t){var e="a"===t.currentTarget.tagName.toLowerCase();return!(t.target&&t.target.isContentEditable||t.defaultPrevented||e&&t.which>1||e&&t.altKey||e&&t.ctrlKey||e&&t.metaKey||e&&t.shiftKey)},e.urlWithoutHash=p},31966:(t,e,n)=>{var r,i=(r=n(74865))&&"object"==typeof r&&"default"in r?r.default:r,o=null;function a(t){document.addEventListener("inertia:start",s.bind(null,t)),document.addEventListener("inertia:progress",l),document.addEventListener("inertia:finish",c)}function s(t){o=setTimeout((function(){return i.start()}),t)}function l(t){i.isStarted()&&t.detail.progress.percentage&&i.set(Math.max(i.status,t.detail.progress.percentage/100*.9))}function c(t){clearTimeout(o),i.isStarted()&&(t.detail.visit.completed?i.done():t.detail.visit.interrupted?i.set(0):t.detail.visit.cancelled&&(i.done(),i.remove()))}e.I={init:function(t){var e=void 0===t?{}:t,n=e.delay,r=e.color,o=void 0===r?"#29d":r,s=e.includeCSS,l=void 0===s||s,c=e.showSpinner,u=void 0!==c&&c;a(void 0===n?250:n),i.configure({showSpinner:u}),l&&function(t){var e=document.createElement("style");e.type="text/css",e.textContent="\n    #nprogress {\n      pointer-events: none;\n    }\n\n    #nprogress .bar {\n      background: "+t+";\n\n      position: fixed;\n      z-index: 1031;\n      top: 0;\n      left: 0;\n\n      width: 100%;\n      height: 2px;\n    }\n\n    #nprogress .peg {\n      display: block;\n      position: absolute;\n      right: 0px;\n      width: 100px;\n      height: 100%;\n      box-shadow: 0 0 10px "+t+", 0 0 5px "+t+";\n      opacity: 1.0;\n\n      -webkit-transform: rotate(3deg) translate(0px, -4px);\n          -ms-transform: rotate(3deg) translate(0px, -4px);\n              transform: rotate(3deg) translate(0px, -4px);\n    }\n\n    #nprogress .spinner {\n      display: block;\n      position: fixed;\n      z-index: 1031;\n      top: 15px;\n      right: 15px;\n    }\n\n    #nprogress .spinner-icon {\n      width: 18px;\n      height: 18px;\n      box-sizing: border-box;\n\n      border: solid 2px transparent;\n      border-top-color: "+t+";\n      border-left-color: "+t+";\n      border-radius: 50%;\n\n      -webkit-animation: nprogress-spinner 400ms linear infinite;\n              animation: nprogress-spinner 400ms linear infinite;\n    }\n\n    .nprogress-custom-parent {\n      overflow: hidden;\n      position: relative;\n    }\n\n    .nprogress-custom-parent #nprogress .spinner,\n    .nprogress-custom-parent #nprogress .bar {\n      position: absolute;\n    }\n\n    @-webkit-keyframes nprogress-spinner {\n      0%   { -webkit-transform: rotate(0deg); }\n      100% { -webkit-transform: rotate(360deg); }\n    }\n    @keyframes nprogress-spinner {\n      0%   { transform: rotate(0deg); }\n      100% { transform: rotate(360deg); }\n    }\n  ",document.head.appendChild(e)}(o)}}},9669:(t,e,n)=>{t.exports=n(51609)},55448:(t,e,n)=>{"use strict";var r=n(64867),i=n(36026),o=n(4372),a=n(15327),s=n(94097),l=n(84109),c=n(67985),u=n(85061);t.exports=function(t){return new Promise((function(e,n){var d=t.data,h=t.headers,f=t.responseType;r.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(m+":"+_)}var v=s(t.baseURL,t.url);function g(){if(p){var r="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=g:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(g)},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=(t.withCredentials||c(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;y&&(h[t.xsrfHeaderName]=y)}"setRequestHeader"in p&&r.forEach(h,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete h[e]:p.setRequestHeader(e,t)}
vendor: 7,920 bytes, line 2
2)),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),f&&"json"!==f&&(p.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),d||(d=null),p.send(d)}))}},51609:(t,e,n)=>{"use strict";var r=n(64867),i=n(91849),o=n(30321),a=n(47185);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var l=s(n(45655));l.Axios=o,l.create=function(t){return s(a(l.defaults,t))},l.Cancel=n(65263),l.CancelToken=n(14972),l.isCancel=n(26502),l.all=function(t){return Promise.all(t)},l.spread=n(8713),l.isAxiosError=n(16268),t.exports=l,t.exports.default=l},65263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},14972:(t,e,n)=>{"use strict";var r=n(65263);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},26502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:(t,e,n)=>{"use strict";var r=n(64867),i=n(15327),o=n(80782),a=n(13572),s=n(47185),l=n(54875),c=l.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=t;n.length;){var h=n.shift(),f=n.shift();try{d=h(d)}catch(t){f(t);break}}try{i=a(d)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=u},80782:(t,e,n)=>{"use strict";var r=n(64867);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},94097:(t,e,n)=>{"use strict";var r=n(91793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},85061:(t,e,n)=>{"use strict";var r=n(80481);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},13572:(t,e,n)=>{"use strict";var r=n(64867),i=n(18527),o=n(26502),a=n(45655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},80481:t=>{"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},47185:(t,e,n)=>{"use strict";var r=n(64867);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))}));var u=i.concat(o).concat(a).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(d,c),n}},36026:(t,e,n)=>{"use strict";var r=n(85061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},18527:(t,e,n)=>{"use strict";var r=n(64867),i=n(45655);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},45655:(t,e,n)=>{"use strict";var r=n(34155),i=n(64867),o=n(16016),a=n(80481),s={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(55448)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(l(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}}
vendor: 5,090 bytes, line 2
2,i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(s)})),t.exports=u},91849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},15327:(t,e,n)=>{"use strict";var r=n(64867);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var r=n(64867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},16268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},67985:(t,e,n)=>{"use strict";var r=n(64867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},16016:(t,e,n)=>{"use strict";var r=n(64867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},84109:(t,e,n)=>{"use strict";var r=n(64867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},54875:(t,e,n)=>{"use strict";var r=n(88593),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},64867:(t,e,n)=>{"use strict";var r=n(91849),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!
2a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},95179:(t,e,n)=>{"use strict";var r=n(70538),i=n(96454),o=n(72433),a=n(31966),s=n(87557),l=n.n(s);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){d(t,e,n[e])}))}return t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var p=function(){},m={},_={},v={mark:p,measure:p};try{"undefined"!=typeof window&&(m=window),"undefined"!=typeof document&&(_=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(v=performance)}catch(t){}var g=(m.navigator||{}).userAgent,y=void 0===g?"":g,b=m,x=_,w=v,k=(b.document,!!x.documentElement&&!!x.head&&"function"==typeof x.addEventListener&&"function"==typeof x.createElement),M=(~y.indexOf("MSIE")||y.indexOf("Trident/"),"svg-inline--fa"),C="data-fa-i2svg",S=(function(){try{}catch(t){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),T=S.concat([11,12,13,14,15,16,17,18,19,20]),L={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},E=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",L.GROUP,L.SWAP_OPACITY,L.PRIMARY,L.SECONDARY].concat(S.map((function(t){return"".concat(t,"x")}))).concat(T.map((function(t){return"w-".concat(t)}))),b.FontAwesomeConfig||{});if(x&&"function"==typeof x.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEac
2h((function(t){var e=f(t,2),n=e[0],r=e[1],i=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=x.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=i&&(E[r]=i)}))}var A=h({},{familyPrefix:"fa",replacementClass:M,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},E);A.autoReplaceSvg||(A.observeMutations=!1);var D=h({},A);b.FontAwesomeConfig=D;var O=b||{};O.___FONT_AWESOME___||(O.___FONT_AWESOME___={}),O.___FONT_AWESOME___.styles||(O.___FONT_AWESOME___.styles={}),O.___FONT_AWESOME___.hooks||(O.___FONT_AWESOME___.hooks={}),O.___FONT_AWESOME___.shims||(O.___FONT_AWESOME___.shims=[]);var z=O.___FONT_AWESOME___,P=[];k&&((x.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(x.readyState)||x.addEventListener("DOMContentLoaded",(function t(){x.removeEventListener("DOMContentLoaded",t),1,P.map((function(t){return t()}))})));var j,I="pending",Y="settled",R="fulfilled",F="rejected",B=function(){},N=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,$="undefined"==typeof setImmediate?setTimeout:setImmediate,Z=[];function H(){for(var t=0;t<Z.length;t++)Z[t][0](Z[t][1]);Z=[],j=!1}function V(t,e){Z.push([t,e]),j||(j=!0,$(H,0))}function U(t){var e=t.owner,n=e._state,r=e._data,i=t[n],o=t.then;if("function"==typeof i){n=R;try{r=i(r)}catch(t){X(o,t)}}W(o,r)||(n===R&&G(o,r),n===F&&X(o,r))}function W(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===c(e))){var r=e.then;if("function"==typeof r)return r.call(e,(function(r){n||(n=!0,e===r?q(t,r):G(t,r))}),(function(e){n||(n=!0,X(t,e))})),!0}}catch(e){return n||X(t,e),!0}return!1}function G(t,e){t!==e&&W(t,e)||q(t,e)}function q(t,e){t._state===I&&(t._state=Y,t._data=e,V(K,t))}function X(t,e){t._state===I&&(t._state=Y,t._data=e,V(Q,t))}function J(t){t._then=t._then.forEach(U)}function K(t){t._state=R,J(t)}function Q(t){t._state=F,J(t),!t._handled&&N&&n.g.process.emit("unhandledRejection",t._data,t)}function tt(t){n.g.process.emit("rejectionHandled",t)}function et(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof et==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object c
2onstructor cannot be called as a function.");this._then=[],function(t,e){function n(t){X(e,t)}try{t((function(t){G(e,t)}),n)}catch(t){n(t)}}(t,this)}et.prototype={constructor:et,_state:I,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(B),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===F&&N&&V(tt,this)),this._state===R||this._state===F?V(U,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},et.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new et((function(e,n){var r=[],i=0;function o(t){return i++,function(n){r[t]=n,--i||e(r)}}for(var a,s=0;s<t.length;s++)(a=t[s])&&"function"==typeof a.then?a.then(o(s),n):r[s]=a;i||e(r)}))},et.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new et((function(e,n){for(var r,i=0;i<t.length;i++)(r=t[i])&&"function"==typeof r.then?r.then(e,n):e(r)}))},et.resolve=function(t){return t&&"object"===c(t)&&t.constructor===et?t:new et((function(e){e(t)}))}
vendor: 6,544 bytes, line 2
2,et.reject=function(t){return new et((function(e,n){n(t)}))};var nt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function rt(t){if(t&&k){var e=x.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=x.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return x.head.insertBefore(e,r),t}}function it(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function ot(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function at(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function st(t){return t.size!==nt.size||t.x!==nt.x||t.y!==nt.y||t.rotate!==nt.rotate||t.flipX||t.flipY}function lt(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var ct={x:0,y:0,width:"100%",height:"100%"};function ut(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function dt(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,o=t.iconName,a=t.transform,s=t.symbol,l=t.title,c=t.maskId,u=t.titleId,d=t.extra,f=t.watchable,p=void 0!==f&&f,m=r.found?r:n,_=m.width,v=m.height,g="fak"===i,y=g?"":"fa-w-".concat(Math.ceil(_/v*16)),b=[D.replacementClass,o?"".concat(D.familyPrefix,"-").concat(o):"",y].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),x={children:[],attributes:h({},d.attributes,{"data-prefix":i,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(_," ").concat(v)})},w=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(_/v*16*.0625,"em")}:{};p&&(x.attributes[C]=""),l&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(u||it())},children:[l]});var k=h({},x,{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:h({},w,d.styles)}),M=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,i=t.main,o=t.mask,a=t.maskId,s=t.transform,l=i.width,c=i.icon,u=o.width,d=o.icon,f=lt({transform:s,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:h({},ct,{fill:"white"})},m=c.children?{children:c.children.map(ut)}:{},_={tag:"g",attributes:h({},f.inner),children:[ut(h({tag:c.tag,attributes:h({},c.attributes,f.path)},m))]},v={tag:"g",attributes:h({},f.outer),children:[_]},g="mask-".concat(a||it()),y="clip-".concat(a||it()),b={tag:"mask",attributes:h({},ct,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,v]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(e=d,"g"===e.tag?e.children:[e])},b]};return n.push(x,{tag:"rect",attributes:h({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},ct)}),{children:n,attributes:r}}(k):function(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,o=at(t.styles);if(o.length>0&&(n.style=o),st(i)){var a=lt({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:h({},a.outer),children:[{tag:"g",attributes:h({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:h({},r.icon.attributes,a.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(k),S=M.children,T=M.attributes;return k.children=S,k.attributes=T,s?function(t){var e=t.prefix,n=t.iconName,r=t.children,i=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:h({},i,{id:!0===o?"".concat(e,"-").concat(D.familyPrefix,"-").concat(n):o}),children:r}]}]}(k):function(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,o=t.styles,a=t.transform;if(st(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=at(h({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(k)}var ht=function(){},ft=(D.measurePerformance&&w&&w.mark&&w.measure,function(t,e,n,r){var i,o,a,s=Object.keys(t),l=s.length,c=void 0!==r?function(t,e){return function(n,r,i,o){return t.call(e,n,r,i,o)}}(e,r):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i<l;i++)a=c(a,t[o=s[i]],o,t);return a});function pt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof z.hooks.addPack||i?z.styles[t]=h({},z.styles[t]||{},o):z.hooks.addPack(t,o),"fas"===t&&pt("fa",e)}var mt=z.styles,_t=z.shims,vt=function(){var t=function(t){return ft(mt,(function(e,n,r){return e[r]=ft(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in mt;ft(_t,(function(t,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||e||(i="fas"),t[r]={prefix:i,iconName:o},t}),{})};vt();z.styles;function gt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function yt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,o=void 0===i?[]:i;return"string"==typeof t?ot(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(ot(t[n]),'" ')}),"").trim()}(r),">").concat(o.map(yt).join(""),"</").concat(e,">")}var bt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t}),e):e};function xt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}xt.prototype=Object.create(Error.prototype),xt.prototype.constructor=xt;var wt={fill:"currentColor"}
2,kt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Mt={tag:"path",attributes:h({},wt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},Ct=h({},kt,{attributeName:"opacity"});h({},wt,{cx:"256",cy:"364",r:"28"}),h({},kt,{attributeName:"r",values:"28;14;28;28;14;28;"}),h({},Ct,{values:"1;0;1;1;0;1;"}),h({},wt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),h({},Ct,{values:"1;0;0;0;0;1;"}),h({},wt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),h({},Ct,{values:"0;0;1;1;0;0;"}),z.styles;function St(t){var e=t[0],n=t[1],r=f(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(D.familyPrefix,"-").concat(L.GROUP)},children:[{tag:"path",attributes:{class:"".concat(D.familyPrefix,"-").concat(L.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(D.familyPrefix,"-").concat(L.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}z.styles;function Tt(){var t="fa",e=M,n=D.familyPrefix,r=D.replacementClass,i='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;
2\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if(n!==t||r!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Lt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});
2Object.keys(i).forEach((function(e){t.definitions[e]=h({},t.definitions[e]||{},i[e]),pt(e,i[e]),vt()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],i=r.prefix,o=r.iconName,a=r.icon;t[i]||(t[i]={}),t[i][o]=a})),t}}],n&&u(e.prototype,n),r&&u(e,r),t}();function Et(){D.autoAddCss&&!Pt&&(rt(Tt()),Pt=!0)}function At(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return yt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(k){var e=x.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Dt(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return gt(zt.definitions,n,r)||gt(z.styles,n,r)}var Ot,zt=new Lt,Pt=!1,jt={transform:function(t){return bt(t)}},It=(Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?nt:n,i=e.symbol,o=void 0!==i&&i,a=e.mask,s=void 0===a?null:a,l=e.maskId,c=void 0===l?null:l,u=e.title,d=void 0===u?null:u,f=e.titleId,p=void 0===f?null:f,m=e.classes,_=void 0===m?[]:m,v=e.attributes,g=void 0===v?{}:v,y=e.styles,b=void 0===y?{}:y;if(t){var x=t.prefix,w=t.iconName,k=t.icon;return At(h({type:"icon"},t),(function(){return Et(),D.autoA11y&&(d?g["aria-labelledby"]="".concat(D.replacementClass,"-title-").concat(p||it()):(g["aria-hidden"]="true",g.focusable="false")),dt({icons:{main:St(k),mask:s?St(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:h({},nt,r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:g,styles:b,classes:_}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Dt(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Dt(r||{})),Ot(n,h({},e,{mask:r}))}),Yt={prefix:"fab",iconName:"adversal",icon:[512,512,[],"f36a","M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"]},Rt={prefix:"fab",iconName:"cc-amex",icon:[576,512,[],"f1f3","M325.1 167.8c0-16.4-14.1-18.4-27.4-18.4l-39.1-.3v69.3H275v-25.1h18c18.4 0 14.5 10.3 14.8 25.1h16.6v-13.5c0-9.2-1.5-15.1-11-18.4 7.4-3 11.8-10.7 11.7-18.7zm-29.4 11.3H275v-15.3h21c5.1 0 10.7 1 10.7 7.4 0 6.6-5.3 7.9-11 7.9zM279 268.6h-52.7l-21 22.8-20.5-22.8h-66.5l-.1 69.3h65.4l21.3-23 20.4 23h32.2l.1-23.3c18.9 0 49.3 4.6 49.3-23.3 0-17.3-12.3-22.7-27.9-22.7zm-103.8 54.7h-40.6v-13.8h36.3v-14.1h-36.3v-12.5h41.7l17.9 20.2zm65.8 8.2l-25.3-28.1L241 276zm37.8-31h-21.2v-17.6h21.5c5.6 0 10.2 2.3 10.2 8.4 0 6.4-4.6 9.2-10.5 9.2zm-31.6-136.7v-14.6h-55.5v69.3h55.5v-14.3h-38.9v-13.8h37.8v-14.1h-37.8v-12.5zM576 255.4h-.2zm-194.6 31.9c0-16.4-14.1-18.7-27.1-18.7h-39.4l-.1 69.3h16.6l.1-25.3h17.6c11 0 14.8 2 14.8 13.8l-.1 11.5h16.6l.1-13.8c0-8.9-1.8-15.1-11-18.4 7.7-3.1 11.8-10.8 11.9-18.4zm-29.2 11.2h-20.7v-15.6h21c5.1 0 10.7 1 10.7 7.4 0 6.9-5.4 8.2-11 8.2zm-172.8-80v-69.3h-27.6l-19.7 47-21.7-47H83.3v65.7l-28.1-65.7H30.7L1 218.5h1
27.9l6.4-15.3h34.5l6.4 15.3H100v-54.2l24 54.2h14.6l24-54.2v54.2zM31.2 188.8l11.2-27.6 11.5 27.6zm477.4 158.9v-4.5c-10.8 5.6-3.9 4.5-156.7 4.5 0-25.2.1-23.9 0-25.2-1.7-.1-3.2-.1-9.4-.1 0 17.9-.1 6.8-.1 25.3h-39.6c0-12.1.1-15.3.1-29.2-10 6-22.8 6.4-34.3 6.2 0 14.7-.1 8.3-.1 23h-48.9c-5.1-5.7-2.7-3.1-15.4-17.4-3.2 3.5-12.8 13.9-16.1 17.4h-82v-92.3h83.1c5 5.6 2.8 3.1 15.5 17.2 3.2-3.5 12.2-13.4 15.7-17.2h58c9.8 0 18 1.9 24.3 5.6v-5.6c54.3 0 64.3-1.4 75.7 5.1v-5.1h78.2v5.2c11.4-6.9 19.6-5.2 64.9-5.2v5c10.3-5.9 16.6-5.2 54.3-5V80c0-26.5-21.5-48-48-48h-480c-26.5 0-48 21.5-48 48v109.8c9.4-21.9 19.7-46 23.1-53.9h39.7c4.3 10.1 1.6 3.7 9 21.1v-21.1h46c2.9 6.2 11.1 24 13.9 30 5.8-13.6 10.1-23.9 12.6-30h103c0-.1 11.5 0 11.6 0 43.7.2 53.6-.8 64.4 5.3v-5.3H363v9.3c7.6-6.1 17.9-9.3 30.7-9.3h27.6c0 .5 1.9.3 2.3.3H456c4.2 9.8 2.6 6 8.8 20.6v-20.6h43.3c4.9 8-1-1.8 11.2 18.4v-18.4h39.9v92h-41.6c-5.4-9-1.4-2.2-13.2-21.9v21.9h-52.8c-6.4-14.8-.1-.3-6.6-15.3h-19c-4.2 10-2.2 5.2-6.4 15.3h-26.8c-12.3 0-22.3-3-29.7-8.9v8.9h-66.5c-.3-13.9-.1-24.8-.1-24.8-1.8-.3-3.4-.2-9.8-.2v25.1H151.2v-11.4c-2.5 5.6-2.7 5.9-5.1 11.4h-29.5c-4-8.9-2.9-6.4-5.1-11.4v11.4H58.6c-4.2-10.1-2.2-5.3-6.4-15.3H33c-4.2 10-2.2 5.2-6.4 15.3H0V432c0 26.5 21.5 48 48 48h480.1c26.5 0 48-21.5 48-48v-90.4c-12.7 8.3-32.7 6.1-67.5 6.1zm36.3-64.5H575v-14.6h-32.9c-12.8 0-23.8 6.6-23.8 20.7 0 33 42.7 12.8 42.7 27.4 0 5.1-4.3 6.4-8.4 6.4h-32l-.1 14.8h32c8.4 0 17.6-1.8 22.5-8.9v-25.8c-10.5-13.8-39.3-1.3-39.3-13.5 0-5.8 4.6-6.5 9.2-6.5zm-57 39.8h-32.2l-.1 14.8h32.2c14.8 0 26.2-5.6 26.2-22 0-33.2-42.9-11.2-42.9-26.3 0-5.6 4.9-6.4 9.2-6.4h30.4v-14.6h-33.2c-12.8 0-23.5 6.6-23.5 20.7 0 33 42.7 12.5 42.7 27.4-.1 5.4-4.7 6.4-8.8 6.4zm-42.2-40.1v-14.3h-55.2l-.1 69.3h55.2l.1-14.3-38.6-.3v-13.8H445v-14.1h-37.8v-12.5zm-56.3-108.1c-.3.2-1.4 2.2-1.4 7.6 0 6 .9 7.7 1.1 7.9.2.1 1.1.5 3.4.5l7.3-16.9c-1.1 0-2.1-.1-3.1-.1-5.6 0-7 .7-7.3 1zm20.4-10.5h-.1zm-16.2-15.2c-23.5 0-34 12-34 35.3 0 22.2 10.2 34 33 34h19.2l6.4-15.3h34.3l6.6 15.3h33.7v-51.9l31.2 51.9h23.6v-69h-16.9v48.1l-29.1-48.1h-25.3v65.4l-27.9-65.4h-24.8l-23.5 54.5h-7.4c-13.3 0-16.1-8.1-16.1-19.9 0-23.8 15.7-20 33.1-19.7v-15.2zm42.1 12.1l11.2 27.6h-22.8zm-101.1-12v69.3h16.9v-69.3z"]},Ft={prefix:"fab",iconName:"cc-mastercard",icon:[576,512,[],"f1f1","M482.9 410.3c0 6.8-4.6 11.7-11.2 11.7-6.8 0-11.2-5.2-11.2-11.7 0-6.5 4.4-11.7 11.2-11.7 6.6 0 11.2 5.2 11.2 11.7zm-310.8-11.7c-7.1 0-11.2 5.2-11.2 11.7 0 6.5 4.1 11.7 11.2 11.7 6.5 0 10.9-4.9 10.9-11.7-.1-6.5-4.4-11.7-10.9-11.7zm117.5-.3c-5.4 0-8.7 3.5-9.5 8.7h19.1c-.9-5.7-4.4-8.7-9.6-8.7zm107.8.3c-6.8 0-10.9 5.2-10.9 11.7 0 6.5 4.1 11.7 10.9 11.7 6.8 0 11.2-4.9 11.2-11.7 0-6.5-4.4-11.7-11.2-11.7zm105.9 26.1c0 .3.3.5.3 1.1 0 .3-.3.5-.3 1.1-.3.3-.3.5-.5.8-.3.3-.5.5-1.1.5-.3.3-.5.3-1.1.3-.3 0-.5 0-1.1-.3-.3 0-.5-.3-.8-.5-.3-.3-.5-.5-.5-.8-.3-.5-.3-.8-.3-1.1 0-.5 0-.8.3-1.1 0-.5.3-.8.5-1.1.3-.3.5-.3.8-.5.5-.3.8-.3 1.1-.3.5 0 .8 0 1.1.3.5.3.8.3 1.1.5s.2.6.5 1.1zm-2.2 1.4c.5 0 .5-.3.8-.3.3-.3.3-.5.3-.8 0-.3 0-.5-.3-.8-.3 0-.5-.3-1.1-.3h-1.6v3.5h.8V426h.3l1.1 1.4h.8l-1.1-1.3zM576 81v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V81c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM64 220.6c0 76.5 62.1 138.5 138.5 138.5 27.2 0 53.9-8.2 76.5-23.1-72.9-59.3-72.4-171.2 0-230.5-22.6-15-49.3-23.1-76.5-23.1-76.4-.1-138.5 62-138.5 138.2zm224 108.8c70.5-55 70.2-162.2 0-217.5-70.2 55.3-70.5 162.6 0 217.5zm-142.3 76.3c0-8.7-5.7-14.4-14.7-14.7-4.6 0-9.5 1.4-12.8 6.5-2.4-4.1-6.5-6.5-12.2-6.5-3.8 0-7.6 1.4-10.6 5.4V392h-8.2v36.7h8.2c0-18.9-2.5-30.2 9-30.2 10.2 0 8.2 10.2 8.2 30.2h7.9c0-18.3-2.5-30.2 9-30.2 10.2 0 8.2 10 8.2 30.2h8.2v-23zm44.9-13.7h-7.9v4.4c-2.7-3.3-6.5-5.4-11.7-5.4-10.3 0-18.2 8.2-18.2 19.3 0 11.2 7.9 19.3 18.2 19.3 5.2 0 9-1.9 11.7-5.4v4.6h7.9V392zm40.5 25.6c0-15-22.9-8.2-22.9-15.2 0-5.7 11.9-4.8 18.5-1.1l3.3-6.5c-9.4-6.1-30.2-6-30.2 8.2 0 14.3 22.9 8.3 22.9 15 0 6.3-13.5 5.8-20.7.8l-3.5 6.3c11.2 7.6 32.6 6 32.6-7.5zm35.4 9.3l-2.2-6.8c-3.8 2.1-12.2 4.4-12.2-4.1v-16.6h13.1V392h-13.1v-11.2h-8.2V392h-7.6v7.3h7.6V416c0 17.6 17.3 14.4 22.6 10.9zm13.3-13.4h27.5c0-16.2-7.4-22.6-17.4-22.6-10.6 0-18.2 7.9-18.2 19.3 0 20.5 22.6 23.9 33.8 14.2l-3.8-6c-7.8 6.4-19.6 5.8-21.9-4.9zm59.1-21.5c-4.6-2-11.
26-1.8-15.2 4.4V392h-8.2v36.7h8.2V408c0-11.6 9.5-10.1 12.8-8.4l2.4-7.6zm10.6 18.3c0-11.4 11.6-15.1 20.7-8.4l3.8-6.5c-11.6-9.1-32.7-4.1-32.7 15 0 19.8 22.4 23.8 32.7 15l-3.8-6.5c-9.2 6.5-20.7 2.6-20.7-8.6zm66.7-18.3H408v4.4c-8.3-11-29.9-4.8-29.9 13.9 0 19.2 22.4 24.7 29.9 13.9v4.6h8.2V392zm33.7 0c-2.4-1.2-11-2.9-15.2 4.4V392h-7.9v36.7h7.9V408c0-11 9-10.3 12.8-8.4l2.4-7.6zm40.3-14.9h-7.9v19.3c-8.2-10.9-29.9-5.1-29.9 13.9 0 19.4 22.5 24.6 29.9 13.9v4.6h7.9v-51.7zm7.6-75.1v4.6h.8V302h1.9v-.8h-4.6v.8h1.9zm6.6 123.8c0-.5 0-1.1-.3-1.6-.3-.3-.5-.8-.8-1.1-.3-.3-.8-.5-1.1-.8-.5 0-1.1-.3-1.6-.3-.3 0-.8.3-1.4.3-.5.3-.8.5-1.1.8-.5.3-.8.8-.8 1.1-.3.5-.3 1.1-.3 1.6 0 .3 0 .8.3 1.4 0 .3.3.8.8 1.1.3.3.5.5 1.1.8.5.3 1.1.3 1.4.3.5 0 1.1 0 1.6-.3.3-.3.8-.5 1.1-.8.3-.3.5-.8.8-1.1.3-.6.3-1.1.3-1.4zm3.2-124.7h-1.4l-1.6 3.5-1.6-3.5h-1.4v5.4h.8v-4.1l1.6 3.5h1.1l1.4-3.5v4.1h1.1v-5.4zm4.4-80.5c0-76.2-62.1-138.3-138.5-138.3-27.2 0-53.9 8.2-76.5 23.1 72.1 59.3 73.2 171.5 0 230.5 22.6 15 49.5 23.1 76.5 23.1 76.4.1 138.5-61.9 138.5-138.4z"]},Bt={prefix:"fab",iconName:"cc-visa",icon:[576,512,[],"f1f0","M470.1 231.3s7.6 37.2 9.3 45H446c3.3-8.9 16-43.5 16-43.5-.2.3 3.3-9.1 5.3-14.9l2.8 13.4zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM152.5 331.2L215.7 176h-42.5l-39.3 106-4.3-21.5-14-71.4c-2.3-9.9-9.4-12.7-18.2-13.1H32.7l-.7 3.1c15.8 4 29.9 9.8 42.2 17.1l35.8 135h42.5zm94.4.2L272.1 176h-40.2l-25.1 155.4h40.1zm139.9-50.8c.2-17.7-10.6-31.2-33.7-42.3-14.1-7.1-22.7-11.9-22.7-19.2.2-6.6 7.3-13.4 23.1-13.4 13.1-.3 22.7 2.8 29.9 5.9l3.6 1.7 5.5-33.6c-7.9-3.1-20.5-6.6-36-6.6-39.7 0-67.6 21.2-67.8 51.4-.3 22.3 20 34.7 35.2 42.2 15.5 7.6 20.8 12.6 20.8 19.3-.2 10.4-12.6 15.2-24.1 15.2-16 0-24.6-2.5-37.7-8.3l-5.3-2.5-5.6 34.9c9.4 4.3 26.8 8.1 44.8 8.3 42.2.1 69.7-20.8 70-53zM528 331.4L495.6 176h-31.1c-9.6 0-16.9 2.8-21 12.9l-59.7 142.5H426s6.9-19.2 8.4-23.3H486c1.2 5.5 4.8 23.3 4.8 23.3H528z"]},Nt={prefix:"fab",iconName:"facebook-f",icon:[320,512,[],"f39e","M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"]},$t={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Zt={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},Ht={prefix:"fab",iconName:"youtube",icon:[576,512,[],"f167","M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]},Vt={prefix:"fas",iconName:"archive",icon:[512,512,[],"f187","M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"]},Ut={prefix:"fas",iconName:"arrows-alt-v",icon:[256,512,[],"f338","M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"]},Wt={prefix:"fas",iconName:"book",icon:[448,512,[],"f02d","M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"]}
2,Gt={prefix:"fas",iconName:"calendar",icon:[448,512,[],"f133","M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z"]},qt={prefix:"fas",iconName:"calendar-alt",icon:[448,512,[],"f073","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},Xt={prefix:"fas",iconName:"calendar-day",icon:[448,512,[],"f783","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm64-192c0-8.8 7.2-16 16-16h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16v-96zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},Jt={prefix:"fas",iconName:"car",icon:[512,512,[],"f1b9","M499.99 176h-59.87l-16.64-41.6C406.38 91.63 365.57 64 319.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4L71.87 176H12.01C4.2 176-1.53 183.34.37 190.91l6 24C7.7 220.25 12.5 224 18.01 224h20.07C24.65 235.73 16 252.78 16 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-19.22-8.65-36.27-22.07-48H494c5.51 0 10.31-3.75 11.64-9.09l6-24c1.89-7.57-3.84-14.91-11.65-14.91zm-352.06-17.83c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L384 208H128l19.93-49.83zM96 319.8c-19.2 0-32-12.76-32-31.9S76.8 256 96 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S396.8 256 416 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"]},Kt={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},Qt={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},te={prefix:"fas",iconName:"chevron-left",icon:[320,512,[],"f053","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"]},ee={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},ne={prefix:"fas",iconName:"clock",icon:[512,512,[],"f017","M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"]},re={prefix:"fas",iconName:"desktop",icon:[576,512,[],"f108","M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z"]},ie={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"]},oe={prefix:"fas",iconName:"edit",icon:[576,512,[],"f044","M402.6 83.2l90.2 9
20.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"]},ae={prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},se={prefix:"fas",iconName:"euro-sign",icon:[320,512,[],"f153","M310.706 413.765c-1.314-6.63-7.835-10.872-14.424-9.369-10.692 2.439-27.422 5.413-45.426 5.413-56.763 0-101.929-34.79-121.461-85.449h113.689a12 12 0 0 0 11.708-9.369l6.373-28.36c1.686-7.502-4.019-14.631-11.708-14.631H115.22c-1.21-14.328-1.414-28.287.137-42.245H261.95a12 12 0 0 0 11.723-9.434l6.512-29.755c1.638-7.484-4.061-14.566-11.723-14.566H130.184c20.633-44.991 62.69-75.03 117.619-75.03 14.486 0 28.564 2.25 37.851 4.145 6.216 1.268 12.347-2.498 14.002-8.623l11.991-44.368c1.822-6.741-2.465-13.616-9.326-14.917C290.217 34.912 270.71 32 249.635 32 152.451 32 74.03 92.252 45.075 176H12c-6.627 0-12 5.373-12 12v29.755c0 6.627 5.373 12 12 12h21.569c-1.009 13.607-1.181 29.287-.181 42.245H12c-6.627 0-12 5.373-12 12v28.36c0 6.627 5.373 12 12 12h30.114C67.139 414.692 145.264 480 249.635 480c26.301 0 48.562-4.544 61.101-7.788 6.167-1.595 10.027-7.708 8.788-13.957l-8.818-44.49z"]},le={prefix:"fas",iconName:"external-link-alt",icon:[512,512,[],"f35d","M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"]},ce={prefix:"fas",iconName:"file",icon:[384,512,[],"f15b","M224 
2136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"]},ue={prefix:"fas",iconName:"file-alt",icon:[384,512,[],"f15c","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"]},de={prefix:"fas",iconName:"globe-africa",icon:[496,512,[],"f57c","M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm160 215.5v6.93c0 5.87-3.32 11.24-8.57 13.86l-15.39 7.7a15.485 15.485 0 0 1-15.53-.97l-18.21-12.14a15.52 15.52 0 0 0-13.5-1.81l-2.65.88c-9.7 3.23-13.66 14.79-7.99 23.3l13.24 19.86c2.87 4.31 7.71 6.9 12.89 6.9h8.21c8.56 0 15.5 6.94 15.5 15.5v11.34c0 3.35-1.09 6.62-3.1 9.3l-18.74 24.98c-1.42 1.9-2.39 4.1-2.83 6.43l-4.3 22.83c-.62 3.29-2.29 6.29-4.76 8.56a159.608 159.608 0 0 0-25 29.16l-13.03 19.55a27.756 27.756 0 0 1-23.09 12.36c-10.51 0-20.12-5.94-24.82-15.34a78.902 78.902 0 0 1-8.33-35.29V367.5c0-8.56-6.94-15.5-15.5-15.5h-25.88c-14.49 0-28.38-5.76-38.63-16a54.659 54.659 0 0 1-16-38.63v-14.06c0-17.19 8.1-33.38 21.85-43.7l27.58-20.69a54.663 54.663 0 0 1 32.78-10.93h.89c8.48 0 16.85 1.97 24.43 5.77l14.72 7.36c3.68 1.84 7.93 2.14 11.83.84l47.31-15.77c6.33-2.11 10.6-8.03 10.6-14.7 0-8.56-6.94-15.5-15.5-15.5h-10.09c-4.11 0-8.05-1.63-10.96-4.54l-6.92-6.92a15.493 15.493 0 0 0-10.96-4.54H199.5c-8.56 0-15.5-6.94-15.5-15.5v-4.4c0-7.11 4.84-13.31 11.74-15.04l14.45-3.61c3.74-.94 7-3.23 9.14-6.44l8.08-12.11c2.87-4.31 7.71-6.9 12.89-6.9h24.21c8.56 0 15.5-6.94 15.5-15.5v-21.7C359.23 71.63 422.86 131.02 441.93 208H423.5c-8.56 0-15.5 6.94-15.5 15.5z"]},he={prefix:"fas",iconName:"heart",icon:[512,512,[],"f004","M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"]},fe={prefix:"fas",iconName:"home",icon:[576,512,[],"f015","M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"]},pe={prefix:"fas",iconName:"images",icon:[576,512,[],"f302","M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z"]},me={prefix:"fas",iconName:"laptop",icon:[640,512,[],"f109","M624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"]},_e={prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.8
206l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},ve={prefix:"fas",iconName:"list",icon:[512,512,[],"f03a","M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"]},ge={prefix:"fas",iconName:"map-marked-alt",icon:[576,512,[],"f5a0","M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"]},ye={prefix:"fas",iconName:"map-marker-alt",icon:[384,512,[],"f3c5","M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"]},be={prefix:"fas",iconName:"newspaper",icon:[576,512,[],"f1ea","M552 64H88c-13.255 0-24 10.745-24 24v8H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h472c26.51 0 48-21.49 48-48V88c0-13.255-10.745-24-24-24zM56 400a8 8 0 0 1-8-8V144h16v248a8 8 0 0 1-8 8zm236-16H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm-208-96H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm0-96H140c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12z"]},xe={prefix:"fas",iconName:"pause-circle",icon:[512,512,[],"f28b","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-16 328c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160zm112 0c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160z"]},we={prefix:"fas",iconName:"pencil-alt",icon:[512,512,[],"f303","M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"]},ke={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]},Me={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},Ce={prefix:"fas",iconName:"question-circle",icon:[512,512,[],"f059","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.
2698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"]},Se={prefix:"fas",iconName:"robot",icon:[640,512,[],"f544","M32,224H64V416H32A31.96166,31.96166,0,0,1,0,384V256A31.96166,31.96166,0,0,1,32,224Zm512-48V448a64.06328,64.06328,0,0,1-64,64H160a64.06328,64.06328,0,0,1-64-64V176a79.974,79.974,0,0,1,80-80H288V32a32,32,0,0,1,64,0V96H464A79.974,79.974,0,0,1,544,176ZM264,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,264,256Zm-8,128H192v32h64Zm96,0H288v32h64ZM456,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,456,256Zm-8,128H384v32h64ZM640,256V384a31.96166,31.96166,0,0,1-32,32H576V224h32A31.96166,31.96166,0,0,1,640,256Z"]},Te={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},Le={prefix:"fas",iconName:"share",icon:[512,512,[],"f064","M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"]},Ee={prefix:"fas",iconName:"sign-out-alt",icon:[512,512,[],"f2f5","M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"]},Ae={prefix:"fas",iconName:"star",icon:[576,512,[],"f005","M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"]},De={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},Oe={prefix:"fas",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"]},ze={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},Pe={prefix:"fas",iconName:"user-cog",icon:[640,512,[],"f4fe","M610.5 373.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 400.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm201.2 226.5c-2.3-1.2-4.6-2.6-6.8-3.9l-7.9 4.6c-6 3.4-12.8 5.3-19.6 5.3-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-5.5-17.7 1.9-36.4 17.9-45.7l7.9-4.6c-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-16-9.2-23.4-28-17.9-45.7.9-2.9 2.2-5.8 3.2-8.7-3.8-.3-7.5-1.2-11.4-1.2h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c10.1 0 19.5-3.2 27.2-8.5-1.2-3.8-2-7.7-2-11.8v-9.2z"]},je={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"]},Ie={prefix:"fas",iconName:"utensils",icon:[416,512,[],"f2e7","M207.9 15.2c.8 4.7 16.1 94.5 16.1 128.8 0 52.3-27.8 89.6-68.9 104.6L168 486.7c.7 13.7-10.2 25.3-24 25.3H80c-13.7 0-24.7-11.5-24-25.3l12.9-238.1C27.7 233.6 0 196.2 0 144 0 109.6 15.3 19.9 16.1 15.2 19.3-5.1 61.4-5.4 64 16.3v141.2c1.3 3.4 15.1 3.2 16 0 1.4-25.3 7.9-139.2 8-141.8 3.3-20.8 44.7-20.8 47.9 0 .2 2.7 6.6 116.5 8 141.8.9 3.2 14.8 3.4 16 0V16.3c2.6-21.6 44.8-21.4 48-1.1zm119.2 285.7l-15 185.1c-1.2 14 9.9 26 23.9 26h56c13.3 0 24-10.7 24-24V24c0-13.2-10.7-24-24-24-82.5 0-221.4 178.5-64.9 300.9z"]},Ye={prefix:"fas",iconName:"video",icon:[576,512,[],"f03d","M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"]},Re={prefix:"fas",iconName:"walking",icon:[320,512,[],"f554","M208 96c26.5 0 48-21.5 48-48S234.5 0 208 0s-48 21.5-48 48 21.5 48 48 48zm94.5 149.1l-23.3-11.8-9.7-29.4c-14.7-44.6-55.7-75.8-102.2-75.9-36-.1-55.9 10.1-93.3 25.2-21.6 8.7-39.3 25.2-49.7 46.2L17.6 213c-7.8 15.8-1.5 35 14.2 42.9 15.6 7.9 34.6 1.5 42.5-14.3L81 228c3.5-7 9.3-12.5 16.5-15.4l26.8-10.8-15.2 60.7c-5.2 20.8.4 42.9 14.9 58.8l59.9 65.4c7.2 7.9 12.3 17.4 14.9 27.7l18.3 73.3c4.3 17.1 21.7 27.6 38.8 23.3 17.1-4.3 27.6-21.7 23.3-38.8l-22.2-89c-2.6-10.3-7.7-19.9-14.9-27.7l-45.5-49.7 17.2-68.7 5.5 16.5c5.3 16.1 16.7 29.4 31.7 37l23.3 11.8c15.6 7.9 34.6 1.5 42.5-14.3 7.7-15.7 1.4-35.1-14.3-43zM73.6 385.8c-3.2 8.1-8 15.4-14.2 21.5l-50 50.1c-12.5 12.5-12.5 32.8 0 45.3s32.7 12.5 45.2 
20l59.4-59.4c6.1-6.1 10.9-13.4 14.2-21.5l13.5-33.8c-55.3-60.3-38.7-41.8-47.4-53.7l-20.7 51.5z"]},Fe={prefix:"far",iconName:"compass",icon:[496,512,[],"f14e","M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"]},Be={prefix:"far",iconName:"heart",icon:[512,512,[],"f004","M458.4 64.3C400.6 15.7 311.3 23 256 79.3 200.7 23 111.4 15.6 53.6 64.3-21.6 127.6-10.6 230.8 43 285.5l175.4 178.7c10 10.2 23.4 15.9 37.6 15.9 14.3 0 27.6-5.6 37.6-15.8L469 285.6c53.5-54.7 64.7-157.9-10.6-221.3zm-23.6 187.5L259.4 430.5c-2.4 2.4-4.4 2.4-6.8 0L77.2 251.8c-36.5-37.2-43.9-107.6 7.3-150.7 38.9-32.7 98.9-27.8 136.5 10.5l35 35.7 35-35.7c37.8-38.5 97.8-43.2 136.5-10.6 51.1 43.1 43.5 113.9 7.3 150.8z"]},Ne={prefix:"far",iconName:"play-circle",icon:[512,512,[],"f144","M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z"]},$e={prefix:"far",iconName:"star",icon:[576,512,[],"f005","M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"]};function Ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function He(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(n),!0).forEach((function(e){Ue(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ve(t){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(t)}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var Ge,qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},Xe={exports:{}};Ge=Xe,function(t){var e=function(t,n,r){if(!s(n)||c(n)||u(n)||d(n)||a(n))return n;var i,o=0,h=0;if(l(n))for(i=[],h=n.length;o<h;o++)i.push(e(t,n[o],r));else for(var f in i={},n)Object.prototype.hasOwnProperty.call(n,f)&&(i[t(f,r)]=e(t,n[f],r));return i},n=function(t){return h(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))).substr(0,1).toLowerCase()+t.substr(1)},r=function(t){var e=n(t);return e.substr(0,1).toUpperCase()+e.substr(1)},i=function(t,e){return function(t,e){var n=(e=e||{}).separator||"_",r=e.split||/(?=[A-Z])/;return t.split(r).join(n)}(t,e).toLowerCase()},o=Object.prototype.toString,a=function(t){return"function"==typeof t},s=function(t){return t===Object(t)},l=function(t){return"[object Array]"==o.call(t)},c=function(t){return"[object Date]"==o.call(t)},u=function(t){return"[object RegExp]"==o.call(t)},d=function(t){return"[object Boolean]"==o.call(t)},h=function(t){return(t-=0)==t},f=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!=typeof n?t:function(e,r){return n(e,t,r)}},p={camelize:n,decamelize:i,pascalize:r,depascalize:i,camelizeKeys:function(t,r){return e(f(n,r),t)},decamelizeKeys:function(t,n){return e(f(i,n),t,n)}
2,pascalizeKeys:function(t,n){return e(f(r,n),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};Ge.exports?Ge.exports=p:t.humps=p}(qe);var Je=Xe.exports,Ke=["class","style","attrs"];function Qe(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),r=Je.camelize(e.slice(0,n)),i=e.slice(n+1).trim();return t[r]=i,t}),{})}function tn(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function en(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return Array.isArray(e)?t=t.concat(e):t.push(e),t}),[])}function nn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=(e.children||[]).map(nn.bind(null,t)),o=Object.keys(e.attributes||{}).reduce((function(t,n){var r=e.attributes[n];switch(n){case"class":t.class=tn(r);break;case"style":t.style=Qe(r);break;default:t.attrs[n]=r}return t}),{class:{},style:{},attrs:{}}),a=r.class,s=void 0===a?{}:a,l=r.style,c=void 0===l?{}:l,u=r.attrs,d=void 0===u?{}:u,h=We(r,Ke);return"string"==typeof e?e:t(e.tag,He(He({class:en(o.class,s),style:He(He({},o.style),c),attrs:He(He({},o.attrs),d)},h),{},{props:n}),i)}var rn=!1;try{rn=!0}catch(t){}function on(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?Ue({},t,e):{}}function an(t){return t&&"object"===Ve(t)&&t.prefix&&t.iconName&&t.icon?t:jt.icon?jt.icon(t):null===t?null:"object"===Ve(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}var sn={name:"FontAwesomeIcon",functional:!0,props:{beat:{type:Boolean,default:!1},border:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,r=n.icon,i=n.mask,o=n.symbol,a=n.title,s=an(r),l=on("classes",function(t){var e,n=(Ue(e={"fa-spin":t.spin,"fa-spin-pulse":t.spinPulse,"fa-spin-reverse":t.spinReverse,"fa-pulse":t.pulse,"fa-beat":t.beat,"fa-fade":t.fade,"fa-flash":t.flash,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip":!0===t.flip,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},"fa-".concat(t.size),null!==t.size),Ue(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),Ue(e,"fa-pull-".concat(t.pull),null!==t.pull),Ue(e,"fa-swap-opacity",t.swapOpacity),Ue(e,"fa-bounce",t.bounce),Ue(e,"fa-shake",t.shake),Ue(e,"fa-beat-fade",t.beatFade),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}(n)),c=on("transform","string"==typeof n.transform?jt.transform(n.transform):n.transform),u=on("mask",an(i)),d=It(s,He(He(He(He({},l),c),u),{},{symbol:o,title:a}));if(!d)return function(){var t;!rn&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find one or more icon(s)",s,u);var h=d.abstract;return nn.bind(null,t)(h[0],{},e.data)}},ln=(Boolean,Boolean,n(9996)),cn=n.n(ln);function un(t){return un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},un(t)}function dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function fn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 11,206 bytes, line 2
2e%2?hn(Object(n),!0).forEach((function(e){dn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function pn(t){return function(t){if(Array.isArray(t))return _n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||mn(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mn(t,e){if(t){if("string"==typeof t)return _n(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_n(t,e):void 0}}function _n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function vn(t){return Array.isArray(t)}function gn(t){return void 0===t}function yn(t){return"object"===un(t)}function bn(t){return"object"===un(t)&&null!==t}function xn(t){return"function"==typeof t}var wn=(function(){try{return!gn(window)}catch(t){return!1}}()?window:n.g).console||{};function kn(t){wn&&wn.warn&&wn.warn(t)}var Mn=function(){return kn("This vue app/component has no vue-meta configuration")},Cn={title:void 0,titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},base:[],link:[],meta:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},Sn="metaInfo",Tn="data-vue-meta",Ln="data-vue-meta-server-rendered",En="vmid",An="content",Dn="template",On=!0,zn=10,Pn="ssr",jn=Object.keys(Cn),In=[jn[12],jn[13]],Yn=[jn[1],jn[2],"changed"].concat(In),Rn=[jn[3],jn[4],jn[5]],Fn=["link","style","script"],Bn=["base","meta","link"],Nn=["noscript","script","style"],$n=["innerHTML","cssText","json"],Zn=["once","skip","template"],Hn=["body","pbody"],Vn=["allowfullscreen","amp","amp-boilerplate","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],Un=null;function Wn(t,e,n){var r=t.debounceWait;e._vueMeta.initialized||!e._vueMeta.initializing&&"watcher"!==n||(e._vueMeta.initialized=null),e._vueMeta.initialized&&!e._vueMeta.pausing&&function(t,e){if(!(e=void 0===e?10:e))return void t();clearTimeout(Un),Un=setTimeout((function(){t()}),e)}((function(){e.$meta().refresh()}),r)}function Gn(t,e,n){if(!Array.prototype.findIndex){for(var r=0;r<t.length;r++)if(e.call(n,t[r],r,t))return r;return-1}return t.findIndex(e,n)}function qn(t){return Array.from?Array.from(t):Array.prototype.slice.call(t)}function Xn(t,e){if(!Array.prototype.includes){for(var n in t)if(t[n]===e)return!0;return!1}return t.includes(e)}var Jn=function(t,e){return(e||document).querySelectorAll(t)};function Kn(t,e){return t[e]||(t[e]=document.getElementsByTagName(e)[0]),t[e]}function Qn(t,e,n){var r=e.appId,i=e.attribute,o=e.type,a=e.tagIDKeyName;n=n||{};var s=["".concat(o,"[").concat(i,'="').concat(r,'"]'),"".concat(o,"[data-").concat(a,"]")].map((function(t){for(var e in n){var r=n[e],i=r&&!0!==r?'="'.concat(r,'"'):"";t+="[data-".concat(e).concat(i,"]")}return t}));return qn(Jn(s.join(", "),t))}function tr(t,e){t.removeAttribute(e)}function er(t){return(t=t||this)&&(!0===t._vueMeta||yn(t._vueMeta))}function nr(t,e){return t._vueMeta.pausing=!0,function(){return rr(t,e)}}function rr(t,e){if(t._vueMeta.pausing=!1,e||void 0===e)return t.$meta().refresh()}function ir(t){var e=t.$router;!t._vueMeta.navGuards&&e&&(t._vueMeta.navGuards=!0,e.beforeEach((function(e,n,r){nr(t),r()})),e.afterEach((function(){t.$nextTick((function(){var e=rr(t).metaInfo;e&&xn(e.afterNavigation)&&e.afterNavigation(e)}))})))}var or=1;function ar(t,e){var n=["activated","deactivated","beforeMount"],r=!1;return{beforeCreate:function(){var i=this,o=this.$root,a=this.$options,s=t.config.devtools;if(Object.defineProperty(this,"_hasMetaInfo",{configurable:!0,get:function(){return s&&!o._vueMeta.deprecationWarningShown&&(kn("VueMeta DeprecationWarning: _hasMetaInfo has been deprecated and will be removed in a future version. Please use hasMetaInfo(vm) instead"),o._vueMeta.deprecationWarningShown=!0),er(this)}}),this===o&&o.$once("hook:beforeMount",(function(){if(!(r=this.$el&&1===this.$el.nodeType&&this.$el.hasAttribute("data-server-rendered"))&&o._vueMeta&&1===o._vueMeta.appId){var t=Kn({},"html");r=t&&t.hasAttribute(e.ssrAttribute)}})),!gn(a[e.keyName])&&null!==a[e.keyName]){if(o._vueMeta||(o._vueMeta={appId:or},or++,s&&o.$options[e.keyName]&&this.$nextTick((function(){var t=function(t,e,n){if(Array.prototype.find)return t.find(e,n);for(var r=0;r<t.length;r++)if(e.call(n,t[r],r,t))return t[r]}(o.$children,(function(t){return t.$vnode&&t.$vnode.fnOptions}));t&&t.$vnode.fnOptions[e.keyName]&&kn("VueMeta has detected a possible global mixin which adds a ".concat(e.keyName," property to all Vue components on the page. This could cause severe performance issues. If possible, use $meta().addApp to add meta information instead"))}))),!this._vueMeta){this._vueMeta=!0;for(var l=this.$parent;l&&l!==o;)gn(l._vueMeta)&&(l._vueMeta=!1),l=l.$parent}xn(a[e.keyName])&&(a.computed=a.computed||{},a.computed.$metaInfo=a[e.keyName],this.$isServer||this.$on("hook:created",(function(){this.$watch("$metaInfo",(function(){Wn(e,this.$root,"watcher")}))}))),gn(o._vueMeta.initialized)&&(o._vueMeta.initialized=this.$isServer,o._vueMeta.initialized||(o._vueMeta.initializedSsr||(o._vueMeta.initializedSsr=!0,this.$on("hook:beforeMount",(function(){var t=this.$root;r&&(t._vueMeta.appId=e.ssrAppId)}))),this.$on("hook:mounted",(function(){var t=this.$root;t._vueMeta.initialized||(t._vueMeta.initializing=!0,this.$nextTick((function(){var n=t.$meta().refresh(),r=n.tags,i=n.metaInfo;!1===r&&null===t._vueMeta.initialized&&this.$nextTick((function(){return Wn(e,t,"init")})),t._vueMeta.initialized=!0,delete t._vueMeta.initializing,!e.refreshOnceOnNavigation&&i.afterNavigation&&ir(t)})))})),e.refreshOnceOnNavigation&&ir(o))),this.$on("hook:destroyed",(function(){var t=this;this.$parent&&er(this)&&(delete this._hasMetaInfo,this.$nextTick((function(){if(e.waitOnDestroyed&&t.$el&&t.$el.offsetParent)var n=setInterval((function(){t.$el&&null!==t.$el.offsetParent||(clearInterval(n),Wn(e,t.$root,"destroyed"))}),50);else Wn(e,t.$root,"destroyed")})))})),this.$isServer||n.forEach((function(t){i.$on("hook:".concat(t),(function(){Wn(e,this.$root,t)}))}))}}}}function sr(t){return{keyName:(t=yn(t)?t:{}).keyName||Sn,attribute:t.attribute||Tn,ssrAttribute:t.ssrAttribute||Ln,tagIDKeyName:t.tagIDKeyName||En,contentKeyName:t.contentKeyName||An,metaTemplateKeyName:t.metaTemplateKeyName||Dn,debounceWait:gn(t.debounceWait)?zn:t.debounceWait,waitOnDestroyed:gn(t.waitOnDestroyed)?On:t.waitOnDestroyed,ssrAppId:t.ssrAppId||Pn,refreshOnceOnNavigation:!!t.refreshOnceOnNavigation}}function lr(t,e){return e&&yn(t)?(vn(t[e])||(t[e]=[]),t):vn(t)?t:[]}var cr=[[/&/g,"&amp;"],[/</g,"&lt;"],[/>/g,"&gt;"],[/"/g,"&quot;"],[/'/g,"&#x27;"]],ur=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/"/g,'"'],[/'/g,"'"]];function dr(t,e,n,r){var i=e.tagIDKeyName,o=n.doEscape,a=void 0===o?function(t){return t}:o,s={};for(var l in t){var c=t[l];if(Xn(Yn,l))s[l]=c;else{var u=In[0];if(n[u]&&Xn(n[u],l))s[l]=c;else{var d=t[i];if(d&&(u=In[1],n[u]&&n[u][d]&&Xn(n[u][d],l)))s[l]=c;else if("string"==typeof c?s[l]=a(c):vn(c)?s[l]=c.map((function(t){return bn(t)?dr(t,e,n,!0):a(t)})):bn(c)?s[l]=dr(c,e,n,!0):s[l]=c,r){var h=a(l);l!==h&&(s[h]=s[l],delete s[l])}}}}return s}function hr(t,e,n){n=n||[];var r={doEscape:function(t){return n.reduce((function(t,e){return t.replace(e[0],e[1])}),t)}};return In.forEach((function(t,n){if(0===n)lr(e,t);else if(1===n)for(var i in e[t])lr(e[t],i);r[t]=e[t]})),dr(e,t,r)}function fr(t,e,n,r){var i=t.component,o=t.metaTemplateKeyName,a=t.contentKeyName;return!0!==n&&!0!==e[o]&&(gn(n)&&e[o]&&(n=e[o],e[o]=!0),n?(gn(r)&&(r=e[a]),e[a]=xn(n)?n.call(i,r):n.replace(/%s/g,r),!0):(delete e[o],!1))}var pr=!1;function mr(t,e,n){return n=n||{},void 0===e.title&&delete e.title,Rn.forEach((function(t){if(e[t])for(var n in e[t])n in e[t]&&void 0===e[t][n]&&(Xn(Vn,n)&&!pr&&(kn("VueMeta: Please note that since v2 the value undefined is not used to indicate boolean attributes anymore, see migration guide for details"),pr=!0),delete e[t][n])})),cn()(t,e,{arrayMerge:function(t,e){return function(t,e,n){var r=t.component,i=t.tagIDKeyName,o=t.metaTemplateKeyName,a=t.contentKeyName,s=[];return e.length||n.length?(e.forEach((function(t,e){if(t[i]){var l=Gn(n,(function(e){return e[i]===t[i]})),c=n[l];if(-1!==l){if(a in c&&void 0===c[a]||"innerHTML"in c&&void 0===c.innerHTML)return s.push(t),void n.splice(l,1);if(null!==c[a]&&null!==c.innerHTML){var u=t[o];if(u){if(!c[o])return fr({component:r,metaTemplateKeyName:o,contentKeyName:a},c,u),void(c.template=!0);c[a]||fr({component:r,metaTemplateKeyName:o,contentKeyName:a},c,void 0,t[a])}}else n.splice(l,1)}else s.push(t)}else s.push(t)})),s.concat(n)):s}(n,t,e)}})}function _r(t,e){return vr(t||{},e,Cn)}function vr(t,e,n){if(n=n||{},e._inactive)return n;var r=(t=t||{}).keyName,i=e.$metaInfo,o=e.$options,a=e.$children;if(o[r]){var s=i||o[r];yn(s)&&(n=mr(n,s,t))}return a.length&&a.forEach((function(e){(function(t){return(t=t||this)&&!gn(t._vueMeta)})(e)&&(n=vr(t,e,n))})),n}var gr=[];function yr(t,e,n,r){var i=t.tagIDKeyName,o=!1;return n.forEach((function(t){t[i]&&t.callback&&(o=!0,function(t,e){1===arguments.length&&(e=t,t=""),gr.push([t,e])}("".concat(e,"[data-").concat(i,'="').concat(t[i],'"]'),t.callback))})),r&&o?br():o}function br(){!function(t){return"complete"===(t||document).readyState}()?document.onreadystatechange=function(){xr()}:xr()}function xr(t){gr.forEach((function(e){var n=e[0],r=e[1],i="".concat(n,'[onload="this.__vm_l=1"]'),o=[];t||(o=qn(Jn(i))),t&&t.matches(i)&&(o=[t]),o.forEach((function(t){if(!t.__vm_cb){var e=function(){t.__vm_cb=!0,tr(t,"onload"),r(t)};t.__vm_l?e():t.__vm_ev||(t.__vm_ev=!0,t.addEventListener("load",e))}}))}))}var wr,kr={};function Mr(t,e,n,r,i){var o=(e||{}).attribute,a=i.getAttribute(o);a&&(kr[n]=JSON.parse(decodeURI(a)),tr(i,o));var s=kr[n]||{},l=[];for(var c in s)void 0!==s[c]&&t in s[c]&&(l.push(c),r[c]||delete s[c][t]);for(var u in r){var d=s[u];d&&d[t]===r[u]||(l.push(u),void 0!==r[u]&&(s[u]=s[u]||{},s[u][t]=r[u]))}for(var h=0,f=l;h<f.length;h++){var p=f[h],m=s[p],_=[];for(var v in m)Array.prototype.push.apply(_,[].concat(m[v]));if(_.length){var g=Xn(Vn,p)&&_.some(Boolean)?"":_.filter((function(t){return void 0!==t})).join(" ");i.setAttribute(p,g)}else tr(i,p)}kr[n]=s}function Cr(t,e,n,r,i,o){var a=e||{},s=a.attribute,l=a.tagIDKeyName,c=Hn.slice();c.push(l);var u=[],d={appId:t,attribute:s,type:n,tagIDKeyName:l},h={head:Qn(i,d),pbody:Qn(o,d,{pbody:!0}
2),body:Qn(o,d,{body:!0})};if(r.length>1){var f=[];r=r.filter((function(t){var e=JSON.stringify(t),n=!Xn(f,e);return f.push(e),n}))}r.forEach((function(e){if(!e.skip){var r=document.createElement(n);e.once||r.setAttribute(s,t),Object.keys(e).forEach((function(t){if(!Xn(Zn,t))if("innerHTML"!==t)if("json"!==t)if("cssText"!==t)if("callback"!==t){var n=Xn(c,t)?"data-".concat(t):t,i=Xn(Vn,t);if(!i||e[t]){var o=i?"":e[t];r.setAttribute(n,o)}}else r.onload=function(){return e[t](r)};else r.styleSheet?r.styleSheet.cssText=e.cssText:r.appendChild(document.createTextNode(e.cssText));else r.innerHTML=JSON.stringify(e.json);else r.innerHTML=e.innerHTML}));var i,o=h[function(t){var e=t.body,n=t.pbody;return e?"body":n?"pbody":"head"}(e)],a=o.some((function(t,e){return i=e,r.isEqualNode(t)}));a&&(i||0===i)?o.splice(i,1):u.push(r)}}));var p=[];for(var m in h)Array.prototype.push.apply(p,h[m]);return p.forEach((function(t){t.parentNode.removeChild(t)})),u.forEach((function(t){t.hasAttribute("data-body")?o.appendChild(t):t.hasAttribute("data-pbody")?o.insertBefore(t,o.firstChild):i.appendChild(t)})),{oldTags:p,newTags:u}}function Sr(t,e,n){var r=e=e||{},i=r.ssrAttribute,o=r.ssrAppId,a={},s=Kn(a,"html");if(t===o&&s.hasAttribute(i)){tr(s,i);var l=!1;return Fn.forEach((function(t){n[t]&&yr(e,t,n[t])&&(l=!0)})),l&&br(),!1}var c,u={},d={};for(var h in n)if(!Xn(Yn,h))if("title"!==h){if(Xn(Rn,h)){var f=h.substr(0,4);Mr(t,e,h,n[h],Kn(a,f))}else if(vn(n[h])){var p=Cr(t,e,h,n[h],Kn(a,"head"),Kn(a,"body")),m=p.oldTags,_=p.newTags;_.length&&(u[h]=_,d[h]=m)}}else((c=n.title)||""===c)&&(document.title=c);return{tagsAdded:u,tagsRemoved:d}}function Tr(t,e,n){return{set:function(r){return function(t,e,n,r){if(t&&t.$el)return Sr(e,n,r);(wr=wr||{})[e]=r}(t,e,n,r)},remove:function(){return function(t,e,n){if(t&&t.$el){var r,i={},o=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=mn(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(Rn);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.substr(0,4);Mr(e,n,a,{},Kn(i,s))}}catch(t){o.e(t)}finally{o.f()}return function(t,e){var n=t.attribute;qn(Jn("[".concat(n,'="').concat(e,'"]'))).map((function(t){return t.remove()}))}(n,e)}wr[e]&&(delete wr[e],Er())}(t,e,n)}}}function Lr(){return wr}function Er(t){!t&&Object.keys(wr).length||(wr=void 0)}function Ar(t,e,n,r){n=n||[];var i=(t=t||{}).tagIDKeyName;return e.title&&(e.titleChunk=e.title),e.titleTemplate&&"%s"!==e.titleTemplate&&fr({component:r,contentKeyName:"title"},e,e.titleTemplate,e.titleChunk||""),e.base&&(e.base=Object.keys(e.base).length?[e.base]:[]),e.meta&&(e.meta=e.meta.filter((function(t,e,n){return!t[i]||e===Gn(n,(function(e){return e[i]===t[i]}))})),e.meta.forEach((function(e){return fr(t,e)}))),hr(t,e,n)}function Dr(t,e,n,r){var i=t||{},o=i.ssrAppId,a=i.attribute,s=i.tagIDKeyName,l=r||{},c=l.appId,u=l.isSSR,d=void 0===u||u,h=l.body,f=void 0!==h&&h,p=l.pbody,m=void 0!==p&&p,_=l.ln,v=void 0!==_&&_,g=[s].concat(pn(Hn));return n&&n.length?n.reduce((function(t,n){if(n.skip)return t;if(0===Object.keys(n).length)return t;if(Boolean(n.body)!==f||Boolean(n.pbody)!==m)return t;var r=n.once?"":" ".concat(a,'="').concat(c||(!1===d?"1":o),'"');for(var i in n)if(!$n.includes(i)&&!Zn.includes(i))if("callback"!==i){var s="";g.includes(i)&&(s="data-");var l=!s&&Vn.includes(i);l&&!n[i]||(r+=" ".concat(s).concat(i)+(l?"":'="'.concat(n[i],'"')))}else r+=' onload="this.__vm_l=1"';var u="";n.json&&(u=JSON.stringify(n.json));var h=n.innerHTML||n.cssText||u,p=!Bn.includes(e),_=p&&Nn.includes(e);return"".concat(t,"<").concat(e).concat(r).concat(!_&&p?"/":"",">")+(_?"".concat(h,"</").concat(e,">"):"")+(v?"\n":"")}),""):""}function Or(t,e,n){var r={data:e,extraData:void 0,addInfo:function(t,e){this.extraData=this.extraData||{},this.extraData[t]=e}
2,callInjectors:function(t){var e=this.injectors;return(t.body||t.pbody?"":e.title.text(t))+e.meta.text(t)+e.base.text(t)+e.link.text(t)+e.style.text(t)+e.script.text(t)+e.noscript.text(t)},injectors:{head:function(t){return r.callInjectors(fn(fn({},n),{},{ln:t}))},bodyPrepend:function(t){return r.callInjectors(fn(fn({},n),{},{ln:t,pbody:!0}))},bodyAppend:function(t){return r.callInjectors(fn(fn({},n),{},{ln:t,body:!0}))}}},i=function(e){if(Yn.includes(e))return"continue";r.injectors[e]={text:function(i){if(i=fn(fn({addSsrAttribute:!0===i},n),i),"title"===e)return function(t,e,n,r){var i=(r||{}).ln;return n?"<".concat(e,">").concat(n,"</").concat(e,">").concat(i?"\n":""):""}(0,e,r.data[e],i);if(Rn.includes(e)){var o={},a=r.data[e];if(a){var s=!1===i.isSSR?"1":t.ssrAppId;for(var l in a)o[l]=dn({},s,a[l])}if(r.extraData)for(var c in r.extraData){var u=r.extraData[c][e];if(u)for(var d in u)o[d]=fn(fn({},o[d]),{},dn({},c,u[d]))}return function(t,e,n,r){var i=r.addSsrAttribute,o=t||{},a=o.attribute,s=o.ssrAttribute,l="";for(var c in n){var u=n[c],d=[];for(var h in u)d.push.apply(d,pn([].concat(u[h])));d.length&&(l+=Vn.includes(c)&&d.some(Boolean)?"".concat(c):"".concat(c,'="').concat(d.join(" "),'"'),l+=" ")}return l&&(l+="".concat(a,'="').concat(encodeURI(JSON.stringify(n)),'"')),"htmlAttrs"===e&&i?"".concat(s).concat(l?" ":"").concat(l):l}(t,e,o,i)}var h=Dr(t,e,r.data[e],i);if(r.extraData)for(var f in r.extraData){var p=r.extraData[f][e],m=Dr(t,e,p,fn({appId:f},i));h="".concat(h).concat(m)}return h}}};for(var o in Cn)i(o);return r}function zr(t){t=t||{};var e=this.$root;return{getOptions:function(){return function(t){var e={};for(var n in t)e[n]=t[n];return e}(t)},setOptions:function(n){var r="refreshOnceOnNavigation";n&&n[r]&&(t.refreshOnceOnNavigation=!!n[r],ir(e));var i="debounceWait";if(n&&i in n){var o=parseInt(n.debounceWait);isNaN(o)||(t.debounceWait=o)}var a="waitOnDestroyed";n&&a in n&&(t.waitOnDestroyed=!!n.waitOnDestroyed)},refresh:function(){return function(t,e){if(e=e||{},!t._vueMeta)return Mn(),{};var n=Ar(e,_r(e,t),ur,t),r=Sr(t._vueMeta.appId,e,n);r&&xn(n.changed)&&(n.changed(n,r.tagsAdded,r.tagsRemoved),r={addedTags:r.tagsAdded,removedTags:r.tagsRemoved});var i=Lr();if(i){for(var o in i)Sr(o,e,i[o]),delete i[o];Er(!0)}return{vm:t,metaInfo:n,tags:r}}(e,t)},inject:function(n){return function(t,e,n){if(!t._vueMeta)return Mn(),{};var r=Or(e,Ar(e,_r(e,t),cr,t),n),i=Lr();if(i){for(var o in i)r.addInfo(o,i[o]),delete i[o];Er(!0)}return r.injectors}
2(e,t,n)},pause:function(){return nr(e)},resume:function(){return rr(e)},addApp:function(n){return Tr(e,n,t)}}}const Pr={version:"2.4.0",install:function(t,e){t.__vuemeta_installed||(t.__vuemeta_installed=!0,e=sr(e),t.prototype.$meta=function(){return zr.call(this,e)},t.mixin(ar(t,e)))},generate:function(t,e){return function(t,e){return Or(e=sr(e),Ar(e,t,cr)).injectors}(t,e)},hasMetaInfo:er},jr=/^GTM-[0-9A-Z]+$/;function Ir(t){if("string"!=typeof t||!jr.test(t)){const e=String(t).toUpperCase().replace(/.*-|[^0-9A-Z]/g,""),n=0===e.length?"":` Did you mean 'GTM-${e}'?`;throw new Error(`'${t}' is not a valid GTM-ID (${jr}).${n}`)}}function Yr(t,e){var n;const r=document,i=r.createElement("script"),o=n=>{var r;null==(r=e.onReady)||r.call(e,{id:t,script:i}),i.removeEventListener("load",o)};if(i.addEventListener("load",o),window.dataLayer=window.dataLayer??[],null==(n=window.dataLayer)||n.push({event:"gtm.js","gtm.start":(new Date).getTime()}),!t)return i;i.async=!e.defer,i.defer=Boolean(e.defer||e.compatibility),e.nonce&&(i.nonce=e.nonce);const a=new URLSearchParams({id:t,...e.queryParams??{}}),s=e.source??"https://www.googletagmanager.com/gtm.js";i.src=`${s}?${a}`;const l=e.parentElement??r.body;if("function"!=typeof(null==l?void 0:l.appendChild))throw new Error("parentElement must be a DOM element");return l.appendChild(i),i}class Rr{id;options;scriptElements=[];constructor(t){if(Array.isArray(t.id))for(const e of t.id)Ir("string"==typeof e?e:e.id);else Ir(t.id);this.id=t.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,...t},delete this.options.id}isInBrowserContext=()=>"undefined"!=typeof window;enabled(){return this.options.enabled??!0}enable(t=!0,e){if(this.options.enabled=t,this.isInBrowserContext()&&t&&!function(t="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some((e=>e.src.includes(t)))}(e)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEach((t=>{let e;e="string"==typeof t?Yr(t,{...this.options}):Yr(t.id,{...this.options,queryParams:t.queryParams}),this.scriptElements.push(e)}));else{const t=Yr(this.id,{...this.options});this.scriptElements.push(t)}}debugEnabled(){return this.options.debug??!1}debug(t){this.options.debug=t}dataLayer(){return!(!this.isInBrowserContext()||!this.options.enabled)&&(window.dataLayer=window.dataLayer??[])}trackView(t,e,n={}){const r=this.isInBrowserContext()&&(this.options.enabled??!1);if(this.options.debug&&console.log(`[GTM-Support${r?"":"(disabled)"}]: Dispatching TrackView`,{screenName:t,path:e}),r){(window.dataLayer=window.dataLayer??[]).push({...n,event:this.options.trackViewEventProperty??"content-view","content-name":e,"content-view-name":t})}}trackEvent({event:t,category:e=null,action:n=null,label:r=null,value:i=null,noninteraction:o=!1,...a}={}){const s=this.isInBrowserContext()&&(this.options.enabled??!1);if(this.options.debug&&console.log(`[GTM-Support${s?"":"(disabled)"}]: Dispatching event`,{event:t,category:e,action:n,label:r,value:i,...a}),s){(window.dataLayer=window.dataLayer??[]).push({event:t??"interaction",target:e,action:n,"target-properties":r,value:i,"interaction-type":o,...a})}}}let Fr;const Br={install:function(t,e={id:""}){e={trackOnNextTick:!1,...e},Fr=new Rr(e),t.prototype.$gtm=t.gtm=Fr,Fr.isInBrowserContext()&&(e.vueRouter&&function(t,e,n=[],r,i=(()=>({}))){if(!e)return void console.warn("[VueGtm]: You tried to register 'vueRouter' for vue-gtm, but 'vue-router' was not found.");e.afterEach((async(o,a)=>{var s;if("string"!=typeof o.name||Array.isArray(n)&&n.includes(o.name)||"function"==typeof n&&n(o,a))return;const l=o.meta&&"string"==typeof o.meta.gtm&&o.meta.gtm?o.meta.gtm:o.name,c={...await i(o,a),...null==(s=o.meta)?void 0:s.gtmAdditionalEventData};let u=e.options.base??"";u.endsWith("/")||(u+="/"),u+=o.fullPath.startsWith("/")?o.fullPath.substring(1):o.fullPath,r?t.nextTick((()=>{null==Fr||Fr.trackView(l,u,c)})):null==Fr||Fr.trackView(l,u,c)}))}(t,e.vueRouter,e.ignoredViews,e.trackOnNextTick),Fr.options.enabled&&Fr.options.loadScript&&(Array.isArray(e.id)?e.id.forEac
2h((t=>{if("string"==typeof t)Yr(t,e);else{const n={...e};null!=t.queryParams&&(n.queryParams={...n.queryParams,...t.queryParams}),Yr(t.id,n)}})):Yr(e.id,e)))}};n(37333),r.default.use(Br,{id:"GTM-M77T32S"});var Nr=n(30381);n(94470),r.default.use(n(42513),{moment:Nr}),r.default.use(Pr,{refreshOnceOnNavigation:!0}),r.default.mixin({methods:{route}}),r.default.use(i.BA),r.default.use(o.ZP),r.default.use(l()),zt.add([Kt,Nt,Ht,$t,ye,Zt,ae,Ee,ke,Qt,ee,Ne,ze,Ut,xe,Me,te,De,fe,ve,Ye,be,qt,Xt,je,we,Ae,Te,$e,re,Ie,Vt,oe,Be,Pe,ge,ue,me,Oe,Bt,Ft,Rt,se,le,pe,ce,Se,Le,he,Fe,Jt,Re,_e,ne,Gt,de,Yt,Ce,ie,Wt]),r.default.component("font-awesome-icon",sn),a.I.init({delay:250,color:"#000",includeCSS:!0,showSpinner:!1});var $r=document.getElementById("app");new r.default({render:function(t){return t(i.gV,{props:{initialPage:JSON.parse($r.dataset.page),resolveComponent:function(t){return n(83218)("./".concat(t)).default}}})}}).$mount($r)},37333:(t,e,n)=>{window._=n(96486),window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest"},21924:(t,e,n)=>{"use strict";var r=n(40210),i=n(55559),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},55559:(t,e,n)=>{"use strict";var r=n(58612),i=n(40210),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(r,a,arguments);if(l&&c){var n=l(e,"length");n.configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var d=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:d}):t.exports.apply=d},99895:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vue-advanced-cropper{direction:ltr;max-height:100%;max-width:100%;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-advanced-cropper__stretcher{max-height:100%;max-width:100%;pointer-events:none;position:relative}.vue-advanced-cropper__image{max-width:none!important;position:absolute;transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{background:#000;left:50%;opacity:1;position:absolute;top:50%;transform:translate(-50%,-50%)}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{left:50%;opacity:1;position:absolute;top:50%;transform:translate(-50%,-50%)}.vue-advanced-cropper__cropper-wrapper{height:100%;width:100%}.vue-advanced-cropper__image-wrapper{height:100%;overflow:hidden;position:absolute;width:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-handler-wrapper{height:30px;position:absolute;transform:translate(-50%,-50%);width:30px}.vue-handler-wrapper__draggable{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-bounding-box{height:100%;position:relative;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-line-wrapper{align-items:center;background:0 0;display:flex;justify-content:center;position:absolute}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;left:0;transform:translateY(-50%);width:100%}.vue-line-wrapper--north{cursor:n-resize;top:0}.vue-line-wrapper--south{cursor:s-resize;top:100%}.vue-line-wrapper--east,.vue-line-wrapper--west{height:100%;top:0;transform:translateX(-50%);width:12px}.vue-line-wrapper--east{cursor:e-resize;left:100%}.vue-line-wrapper--west{cursor:w-resize;left:0}.vue-line-wrapper--disabled{cursor:auto}.vue-simple-line{background:0 0;border:0 solid hsla(0,0%,100%,.3);transition:border .5s}.vue-simple-line--north,.vue-simple-line--south{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{border-color:#fff;opacity:1}.vue-draggable-area{position:relative}.vue-preview-result{box-sizing:border-box;height:100%;overflow:hidden;position:absolute;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{max-width:none!important;pointer-events:none;position:relative;transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-circle-stencil{box-sizing:content-box;
2cursor:move;height:100%;position:absolute;width:100%}.vue-circle-stencil__preview{border-radius:50%;height:100%;position:absolute;width:100%}.vue-circle-stencil--movable{cursor:move}.vue-simple-handler{background:#fff;display:block;height:10px;width:10px}.vue-rectangle-stencil{box-sizing:border-box}.vue-rectangle-stencil,.vue-rectangle-stencil__preview{height:100%;position:absolute;width:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-preview{box-sizing:border-box;overflow:hidden;position:relative}.vue-preview--fill,.vue-preview__wrapper{height:100%;position:absolute;width:100%}.vue-preview__image{max-width:none!important;pointer-events:none;position:absolute;transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}",""]);const o=i},63492:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{background:#fff;border:2px solid rgba(0,0,0,.3);min-height:150px;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{margin:2em 0;text-align:center}.dropzone .dz-preview{display:inline-block;margin:16px;min-height:100px;position:relative;vertical-align:top}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{background:#999;background:linear-gradient(180deg,#eee,#ddd);border-radius:20px}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{border:none;cursor:pointer;display:block;font-size:14px;text-align:center}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{color:rgba(0,0,0,.9);font-size:13px;left:0;line-height:150%;max-width:100%;min-width:100%;opacity:0;padding:2em 1em;position:absolute;text-align:center;top:0;z-index:20}.dropzone .dz-preview .dz-details .dz-size{font-size:16px;margin-bottom:1em}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{background-color:hsla(0,0%,100%,.8);border:1px solid hsla(0,0%,78%,.8)}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:hsla(0,0%,100%,.4);border-radius:3px;padding:0 .4em}.dropzone .dz-preview:hover .dz-image img{filter:blur(8px);transform:scale(1.05)}.dropzone .dz-preview .dz-image{border-radius:20px;display:block;height:120px;overflow:hidden;position:relative;width:120px;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{animation:slide-in 3s cubic-bezier(.77,0,.175,1);opacity:1}.dropzone .dz-preview .dz-error-mark,.dropzone .dz-preview .dz-success-mark{display:block;left:50%;margin-left:-27px;margin-top:-27px;opacity:0;pointer-events:none;position:absolute;top:50%;z-index:500}.dropzone .dz-preview .dz-error-mark svg,.dropzone .dz-preview .dz-success-mark svg{display:block;height:54px;width:54px}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{background:hsla(0,0%,100%,.9);border-radius:8px;height:16px;left:50%;margin-left:-40px;margin-top:-8px;opacity:1;overflow:hidden;pointer-events:none;position:absolute;top:50%;-webkit-transform:scale(1);width:80px;z-index:1000}.dropzone .dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#666,#444);bottom:0;left:0;position:absolute;top:0;transition:width .3s ease-in-out;width:0}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{background:#be2626;background:linear-gradient(180deg,#be2626,#a92222);border-radius:8px;color:#fff;display:block;display:none;font-size:13px;left:-10px;opacity:0;padding:.5em 1.2em;pointer-events:none;position:absolute;top:130px;transition:opacity .3s ease;width:140px;z-index:1000}.dropzone .dz-preview .dz-error-message:after{border-bottom:6px solid #be2626;border-left:6px solid transparent;border-right:6px solid transparent;content:"";height:0;left:64px;position:absolute;top:-6px;width:0}.vue-dropzone{border:2px solid #e5e5e5;
2color:#777;font-family:Arial,sans-serif;letter-spacing:.2px;transition:.2s linear}.vue-dropzone:hover{background-color:#f6f6f6}.vue-dropzone>i{color:#ccc}.vue-dropzone>.dz-preview .dz-image{border-radius:0;height:100%;width:100%}.vue-dropzone>.dz-preview .dz-image img:not([src]){height:200px;width:200px}.vue-dropzone>.dz-preview .dz-image:hover img{-webkit-filter:none;transform:none}.vue-dropzone>.dz-preview .dz-details{background-color:rgba(33,150,243,.8);bottom:0;color:#fff;text-align:left;top:0;transition:opacity .2s linear}.vue-dropzone>.dz-preview .dz-details .dz-filename{overflow:hidden}.vue-dropzone>.dz-preview .dz-details .dz-filename span,.vue-dropzone>.dz-preview .dz-details .dz-size span{background-color:transparent}.vue-dropzone>.dz-preview .dz-details .dz-filename:not(:hover) span{border:none}.vue-dropzone>.dz-preview .dz-details .dz-filename:hover span{background-color:transparent;border:none}.vue-dropzone>.dz-preview .dz-progress .dz-upload{background:#ccc}.vue-dropzone>.dz-preview .dz-remove{border:2px solid #fff;bottom:15px;color:#fff;font-size:.8rem;font-weight:800;letter-spacing:1.1px;margin-left:15px;opacity:0;padding:10px;position:absolute;text-decoration:none;text-transform:uppercase;top:inherit;z-index:30}.vue-dropzone>.dz-preview:hover .dz-remove{opacity:1}.vue-dropzone>.dz-preview .dz-error-mark,.vue-dropzone>.dz-preview .dz-success-mark{left:0;margin-left:auto;margin-top:auto;top:35%;width:100%}.vue-dropzone>.dz-preview .dz-error-mark svg,.vue-dropzone>.dz-preview .dz-success-mark svg{margin-left:auto;margin-right:auto}.vue-dropzone>.dz-preview .dz-error-message{left:0;margin-left:auto;margin-right:auto;text-align:center;width:100%}.vue-dropzone>.dz-preview .dz-error-message:after{display:none}',""]);const o=i},98296:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".mgl-map-wrapper{height:100%;position:relative;width:100%}.mgl-map-wrapper .mapboxgl-map{height:100%;left:0;position:absolute;top:0;width:100%}",""]);const o=i},2546:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".dropzone,.vue-dropzone{border:none}.dropzone .dz-message{margin:auto}.dropzone.dz-drag-hover{border:none}.vue-dropzone:hover{background-color:#fff}",""]);const o=i},82433:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vue-input-tag-wrapper .new-tag:focus{--tw-ring-color:transparent;outline:none}.vue-input-tag-wrapper .input-tag{background-color:#dbeafe;border:1px solid #dbeafe;color:#2563eb;display:inline-block;font-size:13px;font-weight:400;font-weight:700;margin-bottom:4px;margin-left:2.5px;margin-right:2.5px;margin-right:5px;padding:7px}.vue-input-tag-wrapper .new-tag{padding-left:4px}.vue-input-tag-wrapper .input-tag .remove{color:#2563eb;cursor:pointer;font-weight:700}",""]);const o=i},50185:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vue-horizontal-list[data-v-72167d74]{position:relative}.vhl-navigation[data-v-72167d74]{align-items:center;display:flex;height:100%;position:absolute;width:100%}.vhl-btn-left[data-v-72167d74],.vhl-btn-right[data-v-72167d74]{align-items:center;background:#fff;display:flex;height:34px;justify-content:center;position:relative;top:-25px;width:34px;z-index:2}.vhl-btn-left[data-v-72167d74]:hover,.vhl-btn-right[data-v-72167d74]:hover{cursor:pointer}.vhl-btn-left[data-v-72167d74]{margin-right:auto}.vhl-btn-right[data-v-72167d74]{margin-left:auto}.vhl-container[data-v-72167d74]{height:100%}.vhl-container[data-v-72167d74],.vhl-list[data-v-72167d74]{margin-bottom:-24px;overflow-y:hidden}.vhl-list[data-v-72167d74]{-webkit-overflow-scrolling:touch;display:flex;overflow-x:scroll;padding-bottom:24px;scroll-behavior:smooth;scroll-snap-type:x mandatory}.vhl-item[data-v-72167d74]{box-sizing:content-box;min-height:1px;padding-bottom:24px;padding-top:24px;z-index:1}.vhl-list>*[data-v-72167d74]{flex-shrink:0;scroll-snap-align:start}",""]);const o=i},97867:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vimeo iframe{height:100%;width:100%}.vimeo .fLvORi{max-width:88.8889vh;min-width:15rem}.vimeo .fLvORi .layout{padding-bottom:56.25%}@media screen and (min-width:48.0625rem){.vimeo .fLvORi{max-width:100%;width:calc(177.77778vh - 25.24444rem)}}",""]);const o=i},48350:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".toggle-checkbox:checked{border-color:#c3bab5;right:0}.toggle-checkbox:checked+.toggle-label{background-color:#c3bab5}.toggle-checkbox:focus{box-shadow:none}",""]);const o=i},88165:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".categories-filter{top:180px}@media (max-width:640px){.categories-filter{top:117px}}footer{margin-top:0!important}.tooltip{display:block!important;z-index:10000}.tooltip .tooltip-inner{background:#000;border-radius:16px;color:#fff;padding:5px 10px 4px}.tooltip .tooltip-arrow{border-color:#000;border-style:solid;height:0;margin:5px;position:absolute;width:0;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-width:5px 5px 0;bottom:-5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:0 5px 5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0;top:-5px}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-top-color:transparent!important;border-width:5px 5px 5px 0;left:-5px;margin-left:0;margin-right:0;top:calc(50% - 5px)}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-bottom-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:5px 0 5px 5px;margin-left:0;margin-right:0;right:-5px;top:calc(50% - 5px)}.tooltip.popover .popover-inner{background:#f9f9f9;border-radius:5px;color:#000;padding:24px}.tooltip.popover .popover-arrow{border-color:#f9f9f9}.tooltip[aria-hidden=true]{opacity:0;transition:opacity .15s,visibility .15s;visibility:hidden}.tooltip[aria-hidden=false]{opacity:1;transition:opacity .15s;visibility:visible}",""]);const o=i},82913:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"@media screen and (min-width:48.0625rem){.playlists .vimeo .fLvORi{width:inherit}}",""]);const o=i},29642:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(23645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;display:block;height:35px;position:absolute;right:1px;top:1px;width:48px}.multiselect__spinner:after,.multiselect__spinner:before{border:2px solid transparent;border-radius:100%;border-top-color:#41b883;box-shadow:0 0 0 1px transparent;content:"";height:16px;left:50%;margin:-8px 0 0 -8px;position:absolute;top:50%;width:16px}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}
2.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;color:#35495e;display:block;min-height:40px;position:relative;text-align:left;width:100%}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;opacity:.6;pointer-events:none}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{background:#fff;border:none;border-radius:5px;box-sizing:border-box;display:inline-block;line-height:20px;margin-bottom:8px;min-height:20px;padding:0 0 0 5px;position:relative;transition:border .1s ease;vertical-align:top;width:100%}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{margin-bottom:8px;padding-left:5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{background:#fff;border:1px solid #e8e8e8;border-radius:5px;display:block;font-size:14px;min-height:40px;padding:8px 40px 0 8px}.multiselect__tag{background:#41b883;border-radius:5px;color:#fff;display:inline-block;line-height:1;margin-bottom:5px;margin-right:10px;max-width:100%;overflow:hidden;padding:4px 26px 4px 10px;position:relative;text-overflow:ellipsis;white-space:nowrap}.multiselect__tag-icon{border-radius:5px;bottom:0;cursor:pointer;font-style:normal;font-weight:700;line-height:22px;margin-left:7px;position:absolute;right:0;text-align:center;top:0;transition:all .2s ease;width:22px}.multiselect__tag-icon:after{color:#266d4d;content:"\\D7";font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{border:1px solid #e8e8e8;border-radius:5px;min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;display:block;line-height:16px;margin:0;text-decoration:none}.multiselect__select{height:38px;padding:4px 8px;position:absolute;right:1px;text-align:center;top:1px;transition:transform .2s ease;width:40px}.multiselect__select:before{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;color:#999;content:"";margin-top:4px;position:relative;right:0;top:65%}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:none;display:block;max-height:240px;overflow:auto;position:absolute;width:100%;z-index:50}.multiselect__content{display:inline-block;list-style:none;margin:0;min-width:100%;padding:0;vertical-align:top}.multiselect--above .multiselect__content-wrapper{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top:1px solid #e8e8e8;border-top-left-radius:5px;border-top-right-radius:5px;bottom:100%}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{cursor:pointer;display:block;line-height:16px;min-height:40px;padding:12px;position:relative;text-decoration:none;text-transform:none;vertical-align:middle;white-space:nowrap}.multiselect__option:after{font-size:13px;line-height:40px;padding-left:20px;padding-right:12px;position:absolute;right:0;top:0}.multiselect__option--highlight{background:#41b883;color:#fff;outline:none}.multiselect__option--highlight:after{background:#41b883;color:#fff;content:attr(data-select)}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{color:silver;content:attr(data-selected)}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}
2.multiselect__strong{display:inline-block;line-height:20px;margin-bottom:8px;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""]);const o=i},23645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},9996:t=>{"use strict";var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n}(t)}(t)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?l((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function i(t,e,n){return t.concat(e).map((function(t){return r(t,n)}))}function o(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function a(t,e){try{return e in t}catch(t){return!1}}function s(t,e,n){var i={};return n.isMergeableObject(t)&&o(t).forEach((function(e){i[e]=r(t[e],n)})),o(e).forEach((function(o){(function(t,e){return a(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(a(t,o)&&n.isMergeableObject(e[o])?i[o]=function(t,e){if(!e.customMerge)return l;var n=e.customMerge(t);return"function"==typeof n?n:l}(o,n)(t[o],e[o],n):i[o]=r(e[o],n))})),i}function l(t,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||e,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(t)?a?o.arrayMerge(t,n,o):s(t,n,o):r(n,o)}l.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return l(t,n,e)}),{})};var c=l;t.exports=c},17648:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";t.exports=function(t){var o=this;if("function"!=typeof o||r.call(o)!==i)throw new TypeError(e+o);for(var a,s=n.call(arguments,1),l=function(){if(this instanceof a){var e=o.apply(this,s.concat(n.call(arguments)));return Object(e)===e?e:this}return o.apply(t,s.concat(n.call(arguments)))},c=Math.max(0,o.length-s.length),u=[],d=0;d<c;d++)u.push("$"+d);if(a=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(l),o.prototype){var h=function(){};h.prototype=o.prototype,a.prototype=new h,h.prototype=null}return a}},58612:(t,e,n)=>{"use strict";var r=n(17648);t.exports=Function.prototype.bind||r},40210:(t,e,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(t){return c}}}():c,d=n(41405)(),h=Object.getPrototypeOf||function(t){return t.__proto__},f={},p="undefined"==typeof Uint8Array?r:h(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?r:Atom
vendor: 7,225 bytes, line 2
2ics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},_=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=h(i.prototype))}return m[e]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(58612),y=n(17642),b=g.call(Function.call,Array.prototype.concat),x=g.call(Function.apply,Array.prototype.splice),w=g.call(Function.call,String.prototype.replace),k=g.call(Function.call,String.prototype.slice),M=g.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,T=function(t){var e=k(t,0,1),n=k(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return w(t,C,(function(t,e,n,i){r[r.length]=n?w(i,S,"$1"):e||t})),r},L=function(t,e){var n,r=t;if(y(v,r)&&(r="%"+(n=v[r])[0]+"%"),y(m,r)){var o=m[r];if(o===f&&(o=_(r)),void 0===o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=T(t),r=n.length>0?n[0]:"",o=L("%"+r+"%",e),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],x(n,b([0,1],d)));for(var h=1,f=!0;h<n.length;h+=1){var p=n[h],_=k(p,0,1),v=k(p,-1);if(('"'===_||"'"===_||"`"===_||'"'===v||"'"===v||"`"===v)&&_!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&f||(u=!0),y(m,s="%"+(r+="."+p)+"%"))c=m[s];else if(null!=c){if(!(p in c)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&h+1>=n.length){var g=l(c,p);c=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[p]}else f=y(c,p),c=c[p];f&&!u&&(m[s]=c)}}return c}},41405:(t,e,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(55419);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},55419:t=>{"use strict";
vendor: 7,402 bytes, line 2
2t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},17642:(t,e,n)=>{"use strict";var r=n(58612);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},83465:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",l="[object Function]",c="[object GeneratorFunction]",u="[object Map]",d="[object Number]",h="[object Object]",f="[object Promise]",p="[object RegExp]",m="[object Set]",_="[object String]",v="[object Symbol]",g="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",k="[object Int8Array]",M="[object Int16Array]",C="[object Int32Array]",S="[object Uint8Array]",T="[object Uint8ClampedArray]",L="[object Uint16Array]",E="[object Uint32Array]",A=/\w*$/,D=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,z={};z[o]=z["[object Array]"]=z[y]=z[b]=z[a]=z[s]=z[x]=z[w]=z[k]=z[M]=z[C]=z[u]=z[d]=z[h]=z[p]=z[m]=z[_]=z[v]=z[S]=z[T]=z[L]=z[E]=!0,z["[object Error]"]=z[l]=z[g]=!1;var P="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,I=P||j||Function("return this")(),Y=e&&!e.nodeType&&e,R=Y&&t&&!t.nodeType&&t,F=R&&R.exports===Y;function B(t,e){return t.set(e[0],e[1]),t}function N(t,e){return t.add(e),t}function $(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Z(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function H(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function V(t,e){return function(n){return t(e(n))}}function U(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var W,G=Array.prototype,q=Function.prototype,X=Object.prototype,J=I["__core-js_shared__"],K=(W=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",Q=q.toString,tt=X.hasOwnProperty,et=X.toString,nt=RegExp("^"+Q.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=F?I.Buffer:void 0,it=I.Symbol,ot=I.Uint8Array,at=V(Object.getPrototypeOf,Object),st=Object.create,lt=X.propertyIsEnumerable,ct=G.splice,ut=Object.getOwnPropertySymbols,dt=rt?rt.isBuffer:void 0,ht=V(Object.keys,Object),ft=Rt(I,"DataView"),pt=Rt(I,"Map"),mt=Rt(I,"Promise"),_t=Rt(I,"Set"),vt=Rt(I,"WeakMap"),gt=Rt(Object,"create"),yt=Zt(ft),bt=Zt(pt),xt=Zt(mt),wt=Zt(_t),kt=Zt(vt),Mt=it?it.prototype:void 0,Ct=Mt?Mt.valueOf:void 0;function St(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Tt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Lt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Et(t){this.__data__=new Tt(t)}function At(t,e){var n=Vt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Ut(t)}(t)&&tt.call(t,"callee")&&(!lt.call(t,"callee")||et.call(t)==o)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var a in t)!e&&!tt.call(t,a)||i&&("length"==a||Nt(a,r))||n.push(a);return n}function Dt(t,e,n){var r=t[e];tt.call(t,e)&&Ht(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Ot(t,e){for(var n=t.length;n--;)if(Ht(t[n][0],e))return n;return-1}function zt(t,e,n,r,i,f,g){var D;if(r&&(D=f?r(t,i,f,g):r(t)),void 0!==D)return D;if(!qt(t))return t;var O=Vt(t);if(O){if(D=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&tt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,D)}else{var P=Bt(t),j=P==l||P==c;if(Wt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(P==h||P==o||j&&!f){if(Z(t))return f?t:{};if(D=function(t){return"function"!=typeof t.constructor||$t(t)?{}:(e=at(t),qt(e)?st(e):{});var e}(j?{}:t),!e)return function(t,e){return It(t,Ft(t),e)}(t,function(t,e){return t&&It(e,Xt(e),t)}(D,t))}else{if(!z[P])return f?t:{};D=function(t,e,n,r){var i=t.constructor;switch(e){case y:return jt(t);case a:case s:return new i(+t);case b:return function(t,e){var n=e?jt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case x:case w:case k:case M:case C:case S:case T:case L:case E:return function(t,e){var n=e?jt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case u:return function(t,e,n){return $(e?n(H(t),!0):H(t),B,new t.constructor)}(t,r,n);case d:case _:return new i(t);case p:return function(t){var e=new t.constructor(t.source,A.exec(t));return e.lastIndex=t.lastIndex,e}(t);case m:return function(t,e,n){return $(e?n(U(t),!0):U(t),N,new t.constructor)}(t,r,n);case v:return o=t,Ct?Object(Ct.call(o)):{}}var o}(t,P,zt,e)}}g||(g=new Et);var I=g.get(t);if(I)return I;if(g.set(t,D),!O)var Y=n?function(t){return function(t,e,n){var r=e(t);return Vt(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Xt,Ft)}(t):Xt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(Y||t,(function(i,o){Y&&(i=t[o=i]),Dt(D,o,zt(i,e,n,r,o,t,g))})),D}function Pt(t){return!(!qt(t)||(e=t,K&&K in e))&&(Gt(t)||Z(t)?nt:D).test(Zt(t));var e}function jt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function It(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;Dt(n,a,void 0===s?t[a]:s)}return n}function Yt(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Rt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Pt(n)?n:void 0}St.prototype.clear=function(){this.__data__=gt?gt(null):{}},St.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},St.prototype.get=function(t){var e=this.__data__;if(gt){var n=e[t];return n===r?void 0:n}return tt.call(e,t)?e[t]:void 0},St.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:tt.call(e,t)},St.prototype.set=function(t,e){return this.__data__[t]=gt&&void 0===e?r:e,this},Tt.prototype.clear=function(){this.__data__=[]},Tt.prototype.delete=function(t){var e=this.__data__,n=Ot(e,t);return!(n<0)&&(n==e.length-1?e.pop():ct.call(e,n,1),!0)},Tt.prototype.get=function(t){var e=this.__data__,n=Ot(e,t);return n<0?void 0:e[n][1]},Tt.prototype.has=function(t){return Ot(this.__data__,t)>-1}
vendor: 5,699 bytes, line 2
2,Tt.prototype.set=function(t,e){var n=this.__data__,r=Ot(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Lt.prototype.clear=function(){this.__data__={hash:new St,map:new(pt||Tt),string:new St}},Lt.prototype.delete=function(t){return Yt(this,t).delete(t)},Lt.prototype.get=function(t){return Yt(this,t).get(t)},Lt.prototype.has=function(t){return Yt(this,t).has(t)},Lt.prototype.set=function(t,e){return Yt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new Tt},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!pt||r.length<199)return r.push([t,e]),this;n=this.__data__=new Lt(r)}return n.set(t,e),this};var Ft=ut?V(ut,Object):function(){return[]},Bt=function(t){return et.call(t)};function Nt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||O.test(t))&&t>-1&&t%1==0&&t<e}function $t(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||X)}function Zt(t){if(null!=t){try{return Q.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ht(t,e){return t===e||t!=t&&e!=e}(ft&&Bt(new ft(new ArrayBuffer(1)))!=b||pt&&Bt(new pt)!=u||mt&&Bt(mt.resolve())!=f||_t&&Bt(new _t)!=m||vt&&Bt(new vt)!=g)&&(Bt=function(t){var e=et.call(t),n=e==h?t.constructor:void 0,r=n?Zt(n):void 0;if(r)switch(r){case yt:return b;case bt:return u;case xt:return f;case wt:return m;case kt:return g}return e});var Vt=Array.isArray;function Ut(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}(t.length)&&!Gt(t)}var Wt=dt||function(){return!1};function Gt(t){var e=qt(t)?et.call(t):"";return e==l||e==c}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Xt(t){return Ut(t)?At(t):function(t){if(!$t(t))return ht(t);var e=[];for(var n in Object(t))tt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return zt(t,!0,!0)}},18552:(t,e,n)=>{var r=n(10852)(n(55639),"DataView");t.exports=r},1989:(t,e,n)=>{var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},38407:(t,e,n)=>{var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},57071:(t,e,n)=>{var r=n(10852)(n(55639),"Map");t.exports=r},83369:(t,e,n)=>{var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},53818:(t,e,n)=>{var r=n(10852)(n(55639),"Promise");t.exports=r},58525:(t,e,n)=>{var r=n(10852)(n(55639),"Set");t.exports=r},88668:(t,e,n)=>{var r=n(83369),i=n(90619),o=n(72385);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},46384:(t,e,n)=>{var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),l=n(34309);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,t.exports=c},62705:(t,e,n)=>{var r=n(55639).Symbol;t.exports=r},11149:(t,e,n)=>{var r=n(55639).Uint8Array;t.exports=r},70577:(t,e,n)=>{var r=n(10852)(n(55639),"WeakMap");t.exports=r},96874:t=>{t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},34963:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},14636:(t,e,n)=>{var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),l=n(36719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),u=!n&&i(t),d=!n&&!u&&a(t),h=!n&&!u&&!d&&l(t),f=n||u||d||h,p=f?r(t.length,String):[],m=p.length;for(var _ in t)!e&&!c.call(t,_)||f&&("length"==_||d&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||s(_,m))||p.push(_);return p}},62488:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},82908:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},86556:(t,e,n)=>{var r=n(89465),i=n(77813);t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},34865:(t,e,n)=>{var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},18470:(t,e,n)=>{var r=n(77813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},89465:(t,e,n)=>{var r=n(38777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},3118:(t,e,n)=>{var r=n(13218),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},28483:(t,e,n)=>{var r=n(25063)();t.exports=r},68866:(t,e,n)=>{var r=n(62488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},44239:(t,e,n)=>{var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;
vendor: 5,854 bytes, line 2
2t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},9454:(t,e,n)=>{var r=n(44239),i=n(37005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},90939:(t,e,n)=>{var r=n(2492),i=n(37005);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},2492:(t,e,n)=>{var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),l=n(1469),c=n(44144),u=n(36719),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,m,_,v){var g=l(t),y=l(e),b=g?h:s(t),x=y?h:s(e),w=(b=b==d?f:b)==f,k=(x=x==d?f:x)==f,M=b==x;if(M&&c(t)){if(!c(e))return!1;g=!0,w=!1}if(M&&!w)return v||(v=new r),g||u(t)?i(t,e,n,m,_,v):o(t,e,b,n,m,_,v);if(!(1&n)){var C=w&&p.call(t,"__wrapped__"),S=k&&p.call(e,"__wrapped__");if(C||S){var T=C?t.value():t,L=S?e.value():e;return v||(v=new r),_(T,L,n,m,v)}}return!!M&&(v||(v=new r),a(t,e,n,m,_,v))}},28458:(t,e,n)=>{var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?h:s).test(a(t))}},38749:(t,e,n)=>{var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},280:(t,e,n)=>{var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},10313:(t,e,n)=>{var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},42980:(t,e,n)=>{var r=n(46384),i=n(86556),o=n(28483),a=n(59783),s=n(13218),l=n(81704),c=n(36390);t.exports=function t(e,n,u,d,h){e!==n&&o(n,(function(o,l){if(h||(h=new r),s(o))a(e,n,l,u,t,d,h);else{var f=d?d(c(e,l),o,l+"",e,n,h):void 0;void 0===f&&(f=o),i(e,l,f)}}),l)}},59783:(t,e,n)=>{var r=n(86556),i=n(64626),o=n(77133),a=n(278),s=n(38517),l=n(35694),c=n(1469),u=n(29246),d=n(44144),h=n(23560),f=n(13218),p=n(68630),m=n(36719),_=n(36390),v=n(59881);t.exports=function(t,e,n,g,y,b,x){var w=_(t,n),k=_(e,n),M=x.get(k);if(M)r(t,n,M);else{var C=b?b(w,k,n+"",t,e,x):void 0,S=void 0===C;if(S){var T=c(k),L=!T&&d(k),E=!T&&!L&&m(k);C=k,T||L||E?c(w)?C=w:u(w)?C=a(w):L?(S=!1,C=i(k,!0)):E?(S=!1,C=o(k,!0)):C=[]:p(k)||l(k)?(C=w,l(w)?C=v(w):f(w)&&!h(w)||(C=s(k))):S=!1}S&&(x.set(k,C),y(C,k,g,b,x),x.delete(k)),r(t,n,C)}}},5976:(t,e,n)=>{var r=n(6557),i=n(45357),o=n(30061);t.exports=function(t,e){return o(i(t,e,r),t+"")}},56560:(t,e,n)=>{var r=n(75703),i=n(38777),o=n(6557),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},22545:t=>{t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},7518:t=>{t.exports=function(t){return function(e){return t(e)}}},74757:t=>{t.exports=function(t,e){return t.has(e)}},74318:(t,e,n)=>{var r=n(11149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},64626:(t,e,n)=>{t=n.nmd(t);var r=n(55639),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}},77133:(t,e,n)=>{var r=n(74318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:t=>{t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},98363:(t,e,n)=>{var r=n(34865),i=n(89465);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s<l;){var c=e[s],u=o?o(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),a?i(n,c,u):r(n,c,u)}return n}},14429:(t,e,n)=>{var r=n(55639)["__core-js_shared__"];t.exports=r},21463:(t,e,n)=>{var r=n(5976),i=n(16612);t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var l=n[r];l&&t(e,l,r,a)}return e}))}},25063:t=>{t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}}},38777:(t,e,n)=>{var r=n(10852),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},67114:(t,e,n)=>{var r=n(88668),i=n(82908),o=n(74757);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,m=!0,_=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++p<u;){var v=t[p],g=e[p];if(a)var y=c?a(g,v,p,e,t,l):a(v,g,p,t,e,l);if(void 0!==y){if(y)continue;m=!1;break}if(_){if(!i(e,(function(t,e){if(!o(_,e)&&(v===t||s(v,t,n,a,l)))return _.push(e)}))){m=!1;break}}else if(v!==g&&!s(v,g,n,a,l)){m=!1;break}}return l.delete(t),l.delete(e),m}},18351:(t,e,n)=>{var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),l=n(21814),
vendor: 2,608 bytes, line 2
2c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var p=1&r;if(f||(f=l),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;r|=2,h.set(t,e);var _=a(f(t),f(e),r,c,d,h);return h.delete(t),_;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},16096:(t,e,n)=>{var r=n(58234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var l=1&n,c=r(t),u=c.length;if(u!=r(e).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in e:i.call(e,h)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var _=l;++d<u;){var v=t[h=c[d]],g=e[h];if(o)var y=l?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,n,o,s):y)){m=!1;break}_||(_="constructor"==h)}if(m&&!_){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}},31957:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},58234:(t,e,n)=>{var r=n(68866),i=n(99551),o=n(3674);t.exports=function(t){return r(t,o,i)}},45050:(t,e,n)=>{var r=n(37019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},10852:(t,e,n)=>{var r=n(28458),i=n(47801);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},85924:(t,e,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},89607:(t,e,n)=>{var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},99551:(t,e,n)=>{var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},64160:(t,e,n)=>{var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),l=n(44239),c=n(80346),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=c(r),_=c(i),v=c(o),g=c(a),y=c(s),b=l;
vendor: 5,087 bytes, line 2
2(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=u||o&&b(o.resolve())!=d||a&&b(new a)!=h||s&&b(new s)!=f)&&(b=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case _:return u;case v:return d;case g:return h;case y:return f}return e}),t.exports=b},47801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},51789:(t,e,n)=>{var r=n(94536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},57667:(t,e,n)=>{var r=n(94536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},21327:(t,e,n)=>{var r=n(94536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},81866:(t,e,n)=>{var r=n(94536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},38517:(t,e,n)=>{var r=n(3118),i=n(85924),o=n(25726);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},65776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},16612:(t,e,n)=>{var r=n(77813),i=n(98612),o=n(65776),a=n(13218);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},37019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},15346:(t,e,n)=>{var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},25726:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},27040:t=>{t.exports=function(){this.__data__=[],this.size=0}},14125:(t,e,n)=>{var r=n(18470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},82117:(t,e,n)=>{var r=n(18470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},67518:(t,e,n)=>{var r=n(18470);t.exports=function(t){return r(this.__data__,t)>-1}},54705:(t,e,n)=>{var r=n(18470);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},24785:(t,e,n)=>{var r=n(1989),i=n(38407),o=n(57071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:(t,e,n)=>{var r=n(45050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},96e3:(t,e,n)=>{var r=n(45050);t.exports=function(t){return r(this,t).get(t)}},49916:(t,e,n)=>{var r=n(45050);t.exports=function(t){return r(this,t).has(t)}},95265:(t,e,n)=>{var r=n(45050);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},68776:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},94536:(t,e,n)=>{var r=n(10852)(Object,"create");t.exports=r},86916:(t,e,n)=>{var r=n(5569)(Object.keys,Object);t.exports=r},33498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},31167:(t,e,n)=>{t=n.nmd(t);var r=n(31957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},45357:(t,e,n)=>{var r=n(96874),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),l=Array(s);++a<s;)l[a]=o[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=o[a];return c[e]=n(l),r(t,this,c)}}},55639:(t,e,n)=>{var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},36390:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},90619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},72385:t=>{t.exports=function(t){return this.__data__.has(t)}},21814:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},30061:(t,e,n)=>{var r=n(56560),i=n(21275)(r);t.exports=i},21275:t=>{var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},37465:(t,e,n)=>{var r=n(38407);t.exports=function(){this.__data__=new r,this.size=0}},63779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},67599:t=>{t.exports=function(t){return this.__data__.get(t)}}
vendor: 4,202 bytes, line 2
2,44758:t=>{t.exports=function(t){return this.__data__.has(t)}},34309:(t,e,n)=>{var r=n(38407),i=n(57071),o=n(83369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},80346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},75703:t=>{t.exports=function(t){return function(){return t}}},77813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:t=>{t.exports=function(t){return t}},35694:(t,e,n)=>{var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},98612:(t,e,n)=>{var r=n(23560),i=n(41780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},29246:(t,e,n)=>{var r=n(98612),i=n(37005);t.exports=function(t){return i(t)&&r(t)}},44144:(t,e,n)=>{t=n.nmd(t);var r=n(55639),i=n(95062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;t.exports=l},18446:(t,e,n)=>{var r=n(90939);t.exports=function(t,e){return r(t,e)}},23560:(t,e,n)=>{var r=n(44239),i=n(13218);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},41780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},13218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},68630:(t,e,n)=>{var r=n(44239),i=n(85924),o=n(37005),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},36719:(t,e,n)=>{var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},3674:(t,e,n)=>{var r=n(14636),i=n(280),o=n(98612);t.exports=function(t){return o(t)?r(t):i(t)}},81704:(t,e,n)=>{var r=n(14636),i=n(10313),o=n(98612);t.exports=function(t){return o(t)?r(t,!0):i(t)}},96486:function(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,h=256,f=1/0,p=9007199254740991,m=NaN,_=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",h]],g="[object Arguments]",y="[object Array]",b="[object Boolean]",x="[object Date]",w="[object Error]",k="[object Function]",M="[object GeneratorFunction]",C="[object Map]",S="[object Number]",T="[object Object]",L="[object Promise]",E="[object RegExp]",A="[object Set]",D="[object String]",O="[object Symbol]",z="[object WeakMap]",P="[object ArrayBuffer]",j="[object DataView]",I="[object Float32Array]",Y="[object Float64Array]",R="[object Int8Array]",F="[object Int16Array]",B="[object Int32Array]",N="[object Uint8Array]",$="[object Uint8ClampedArray]",Z="[object Uint16Array]",H="[object Uint32Array]",V=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,X=RegExp(G.source),J=RegExp(q.source),K=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),at=/^\s+/,st=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ht=/[()=,{}\[\]\/\s]/,ft=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,mt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 7,776 bytes, line 2
27f]/g,wt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,Mt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ct="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",Tt="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",At="['’]",Dt="[\\ud800-\\udfff]",Ot="["+Et+"]",zt="["+Mt+"]",Pt="\\d+",jt="[\\u2700-\\u27bf]",It="["+St+"]",Yt="[^\\ud800-\\udfff"+Et+Pt+Ct+St+Tt+"]",Rt="\\ud83c[\\udffb-\\udfff]",Ft="[^\\ud800-\\udfff]",Bt="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+Tt+"]",Zt="(?:"+It+"|"+Yt+")",Ht="(?:"+$t+"|"+Yt+")",Vt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ut="(?:['’](?:D|LL|M|RE|S|T|VE))?",Wt="(?:"+zt+"|"+Rt+")"+"?",Gt="[\\ufe0e\\ufe0f]?",qt=Gt+Wt+("(?:\\u200d(?:"+[Ft,Bt,Nt].join("|")+")"+Gt+Wt+")*"),Xt="(?:"+[jt,Bt,Nt].join("|")+")"+qt,Jt="(?:"+[Ft+zt+"?",zt,Bt,Nt,Dt].join("|")+")",Kt=RegExp(At,"g"),Qt=RegExp(zt,"g"),te=RegExp(Rt+"(?="+Rt+")|"+Jt+qt,"g"),ee=RegExp([$t+"?"+It+"+"+Vt+"(?="+[Ot,$t,"$"].join("|")+")",Ht+"+"+Ut+"(?="+[Ot,$t+Zt,"$"].join("|")+")",$t+"?"+Zt+"+"+Vt,$t+"+"+Ut,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pt,Xt].join("|"),"g"),ne=RegExp("[\\u200d\\ud800-\\udfff"+Mt+Lt+"]"),re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ie=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],oe=-1,ae={};ae[I]=ae[Y]=ae[R]=ae[F]=ae[B]=ae[N]=ae[$]=ae[Z]=ae[H]=!0,ae[g]=ae[y]=ae[P]=ae[b]=ae[j]=ae[x]=ae[w]=ae[k]=ae[C]=ae[S]=ae[T]=ae[E]=ae[A]=ae[D]=ae[z]=!1;var se={};se[g]=se[y]=se[P]=se[j]=se[b]=se[x]=se[I]=se[Y]=se[R]=se[F]=se[B]=se[C]=se[S]=se[T]=se[E]=se[A]=se[D]=se[O]=se[N]=se[$]=se[Z]=se[H]=!0,se[w]=se[k]=se[z]=!1;var le={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ce=parseFloat,ue=parseInt,de="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,he="object"==typeof self&&self&&self.Object===Object&&self,fe=de||he||Function("return this")(),pe=e&&!e.nodeType&&e,me=pe&&t&&!t.nodeType&&t,_e=me&&me.exports===pe,ve=_e&&de.process,ge=function(){try{var t=me&&me.require&&me.require("util").types;return t||ve&&ve.binding&&ve.binding("util")}catch(t){}}(),ye=ge&&ge.isArrayBuffer,be=ge&&ge.isDate,xe=ge&&ge.isMap,we=ge&&ge.isRegExp,ke=ge&&ge.isSet,Me=ge&&ge.isTypedArray;function Ce(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Se(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Te(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ee(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ae(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function De(t,e){return!!(null==t?0:t.length)&&Ne(t,e,0)>-1}function Oe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function ze(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Pe(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function je(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ie(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function Ye(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Re=Ve("length");function Fe(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Be(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Ne(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Be(t,Ze,n)}function $e(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ze(t){return t!=t}function He(t,e){var n=null==t?0:t.length;return n?Ge(t,e)/n:m}function Ve(t){return function(e){return null==e?i:e[t]}}function Ue(t){return function(e){return null==t?i:t[e]}}function We(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Ge(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function qe(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Xe(t){return t?t.slice(0,mn(t)+1).replace(at,""):t}function Je(t){return function(e){return t(e)}}function Ke(t,e){return ze(e,(function(e){return t[e]}))}function Qe(t,e){return t.has(e)}function tn(t,e){for(var n=-1,r=t.length;++n<r&&Ne(e,t[n],0)>-1;);return n}function en(t,e){for(var n=t.length;n--&&Ne(e,t[n],0)>-1;);return n}function nn(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var rn=Ue({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=Ue({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(t){return"\\"+le[t]}function sn(t){return ne.test(t)}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function cn(t,e){return function(n){return t(e(n))}}function un(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==s||(t[n]=s,o[i++]=n)}return o}function dn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function hn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function fn(t){return sn(t)?function(t){var e=te.lastIndex=0;for(;te.test(t);)++e;return e}(t):Re(t)}function pn(t){return sn(t)?function(t){return t.match(te)||[]}(t):function(t){return t.split("")}(t)}function mn(t){for(var e=t.length;e--&&st.test(t.charAt(e)););return e}var _n=Ue({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function t(e){var n,r=(e=null==e?fe:vn.defaults(fe.Object(),e,vn.pick(fe,ie))).Array,st=e.Date,Mt=e.Error,Ct=e.Function,St=e.Math,Tt=e.Object,Lt=e.RegExp,Et=e.String,At=e.TypeError,Dt=r.prototype,Ot=Ct.prototype,zt=Tt.prototype,Pt=e["__c
2ore-js_shared__"],jt=Ot.toString,It=zt.hasOwnProperty,Yt=0,Rt=(n=/[^.]+$/.exec(Pt&&Pt.keys&&Pt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ft=zt.toString,Bt=jt.call(Tt),Nt=fe._,$t=Lt("^"+jt.call(It).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zt=_e?e.Buffer:i,Ht=e.Symbol,Vt=e.Uint8Array,Ut=Zt?Zt.allocUnsafe:i,Wt=cn(Tt.getPrototypeOf,Tt),Gt=Tt.create,qt=zt.propertyIsEnumerable,Xt=Dt.splice,Jt=Ht?Ht.isConcatSpreadable:i,te=Ht?Ht.iterator:i,ne=Ht?Ht.toStringTag:i,le=function(){try{var t=po(Tt,"defineProperty");return t({},"",{}),t}catch(t){}}(),de=e.clearTimeout!==fe.clearTimeout&&e.clearTimeout,he=st&&st.now!==fe.Date.now&&st.now,pe=e.setTimeout!==fe.setTimeout&&e.setTimeout,me=St.ceil,ve=St.floor,ge=Tt.getOwnPropertySymbols,Re=Zt?Zt.isBuffer:i,Ue=e.isFinite,gn=Dt.join,yn=cn(Tt.keys,Tt),bn=St.max,xn=St.min,wn=st.now,kn=e.parseInt,Mn=St.random,Cn=Dt.reverse,Sn=po(e,"DataView"),Tn=po(e,"Map"),Ln=po(e,"Promise"),En=po(e,"Set"),An=po(e,"WeakMap"),Dn=po(Tt,"create"),On=An&&new An,zn={},Pn=No(Sn),jn=No(Tn),In=No(Ln),Yn=No(En),Rn=No(An),Fn=Ht?Ht.prototype:i,Bn=Fn?Fn.valueOf:i,Nn=Fn?Fn.toString:i;function $n(t){if(is(t)&&!Wa(t)&&!(t instanceof Un)){if(t instanceof Vn)return t;if(It.call(t,"__wrapped__"))return $o(t)}return new Vn(t)}var Zn=function(){function t(){}return function(e){if(!rs(e))return{};if(Gt)return Gt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Hn(){}function Vn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Un(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Xn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new qn;++e<n;)this.add(t[e])}function Jn(t){var e=this.__data__=new Gn(t);this.size=e.size}function Kn(t,e){var n=Wa(t),r=!n&&Ua(t),i=!n&&!r&&Ja(t),o=!n&&!r&&!i&&hs(t),a=n||r||i||o,s=a?qe(t.length,Et):[],l=s.length;for(var c in t)!e&&!It.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xo(c,l))||s.push(c);return s}function Qn(t){var e=t.length;return e?t[Xr(0,e-1)]:i}function tr(t,e){return Ro(Di(t),cr(e,0,t.length))}function er(t){return Ro(Di(t))}function nr(t,e,n){(n!==i&&!Za(t[e],n)||n===i&&!(e in t))&&sr(t,e,n)}function rr(t,e,n){var r=t[e];It.call(t,e)&&Za(r,n)&&(n!==i||e in t)||sr(t,e,n)}function ir(t,e){for(var n=t.length;n--;)if(Za(t[n][0],e))return n;return-1}function or(t,e,n,r){return pr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function ar(t,e){return t&&Oi(e,Ps(e),t)}function sr(t,e,n){"__proto__"==e&&le?le(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function lr(t,e){for(var n=-1,o=e.length,a=r(o),s=null==t;++n<o;)a[n]=s?i:Es(t,e[n]);return a}function cr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function ur(t,e,n,r,o,a){var s,l=1&e,c=2&e,u=4&e;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!rs(t))return t;var d=Wa(t);if(d){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&It.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!l)return Di(t,s)}else{var h=vo(t),f=h==k||h==M;if(Ja(t))return Ci(t,l);if(h==T||h==g||f&&!o){if(s=c||f?{}:yo(t),!l)return c?function(t,e){return Oi(t,_o(t),e)}(t,function(t,e){return t&&Oi(e,js(e),t)}(s,t)):function(t,e){return Oi(t,mo(t),e)}(t,ar(s,t))}else{if(!se[h])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case P:return Si(t);case b:case x:return new r(+t);case j:return function(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case I:case Y:case R:case F:case B:case N:case $:case Z:case H:return Ti(t,n);case C:return new r;case S:case D:return new r(t);case E:return function(t){var e=new t.constructor(t.source,mt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new r;case O:return i=t,Bn?Tt(Bn.call(i)):{}}var i}(t,h,l)}}a||(a=new Jn);var p=a.get(t);if(p)return p;a.set(t,s),cs(t)?t.forEach((function(r){s.add(ur(r,e,n,r,t,a))})):os(t)&&t.forEach((function(r,i){s.set(i,ur(r,e,n,i,t,a))}));var m=d?i:(u?c?ao:oo:c?js:Ps)(t);return Te(m||t,(function(r,i){m&&(r=t[i=r]),rr(s,i,ur(r,e,n,i,t,a))})),s}function dr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Tt(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function hr(t,e,n){if("function"!=typeof t)throw new At(o);return Po((function(){t.apply(i,n)}),e)}function fr(t,e,n,r){var i=-1,o=De,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=ze(e,Je(n))),r?(o=Oe,a=!1):e.length>=200&&(o=Qe,a=!1,e=new Xn(e));t:for(;++i<s;){var u=t[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var h=c;h--;)if(e[h]===d)continue t;l.push(u)}else o(e,d,r)||l.push(u)}return l}$n.templateSettings={escape:K,evaluate:Q,interpolate:tt,variable:"",imports:{_:$n}},$n.prototype=Hn.prototype,$n.prototype.constructor=$n,Vn.prototype=Zn(Hn.prototype),Vn.prototype.constructor=Vn,Un.prototype=Zn(Hn.prototype),Un.prototype.constructor=Un,Wn.prototype.clear=function(){this.__data__=Dn?Dn(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(Dn){var n=e[t];return n===a?i:n}return It.call(e,t)?e[t]:i},Wn.prototype.has=function(t){var e=this.__data__;return Dn?e[t]!==i:It.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Dn&&e===i?a:e,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=ir(e,t);return!(n<0)&&(n==e.length-1?e.pop():Xt.call(e,n,1),--this.size,!0)},Gn.prototype.get=function(t){var e=this.__data__,n=ir(e,t);return n<0?i:e[n][1]},Gn.prototype.has=function(t){return ir(this.__data__,t)>-1}
vendor: 3,758 bytes, line 2
2,Gn.prototype.set=function(t,e){var n=this.__data__,r=ir(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Tn||Gn),string:new Wn}},qn.prototype.delete=function(t){var e=ho(this,t).delete(t);return this.size-=e?1:0,e},qn.prototype.get=function(t){return ho(this,t).get(t)},qn.prototype.has=function(t){return ho(this,t).has(t)},qn.prototype.set=function(t,e){var n=ho(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(t){return this.__data__.set(t,a),this},Xn.prototype.has=function(t){return this.__data__.has(t)},Jn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Jn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Jn.prototype.get=function(t){return this.__data__.get(t)},Jn.prototype.has=function(t){return this.__data__.has(t)},Jn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Tn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(t,e),this.size=n.size,this};var pr=ji(wr),mr=ji(kr,!0);function _r(t,e){var n=!0;return pr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function vr(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=e(a);if(null!=s&&(l===i?s==s&&!ds(s):n(s,l)))var l=s,c=a}return c}function gr(t,e){var n=[];return pr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function yr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=bo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?yr(s,e-1,n,r,i):Pe(i,s):r||(i[i.length]=s)}return i}var br=Ii(),xr=Ii(!0);function wr(t,e){return t&&br(t,e,Ps)}function kr(t,e){return t&&xr(t,e,Ps)}function Mr(t,e){return Ae(e,(function(e){return ts(t[e])}))}function Cr(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&n<r;)t=t[Bo(e[n++])];return n&&n==r?t:i}function Sr(t,e,n){var r=e(t);return Wa(t)?r:Pe(r,n(t))}function Tr(t){return null==t?t===i?"[object Undefined]":"[object Null]":ne&&ne in Tt(t)?function(t){var e=It.call(t,ne),n=t[ne];try{t[ne]=i;var r=!0}catch(t){}var o=Ft.call(t);r&&(e?t[ne]=n:delete t[ne]);return o}(t):function(t){return Ft.call(t)}(t)}function Lr(t,e){return t>e}function Er(t,e){return null!=t&&It.call(t,e)}function Ar(t,e){return null!=t&&e in Tt(t)}function Dr(t,e,n){for(var o=n?Oe:De,a=t[0].length,s=t.length,l=s,c=r(s),u=1/0,d=[];l--;){var h=t[l];l&&e&&(h=ze(h,Je(e))),u=xn(h.length,u),c[l]=!n&&(e||a>=120&&h.length>=120)?new Xn(l&&h):i}h=t[0];var f=-1,p=c[0];t:for(;++f<a&&d.length<u;){var m=h[f],_=e?e(m):m;if(m=n||0!==m?m:0,!(p?Qe(p,_):o(d,_,n))){for(l=s;--l;){var v=c[l];if(!(v?Qe(v,_):o(t[l],_,n)))continue t}p&&p.push(_),d.push(m)}}return d}function Or(t,e,n){var r=null==(t=Ao(t,e=xi(e,t)))?t:t[Bo(Qo(e))];return null==r?i:Ce(r,t,n)}function zr(t){return is(t)&&Tr(t)==g}function Pr(t,e,n,r,o){return t===e||(null==t||null==e||!is(t)&&!is(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var s=Wa(t),l=Wa(e),c=s?y:vo(t),u=l?y:vo(e),d=(c=c==g?T:c)==T,h=(u=u==g?T:u)==T,f=c==u;if(f&&Ja(t)){if(!Ja(e))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Jn),s||hs(t)?ro(t,e,n,r,o,a):function(t,e,n,r,i,o,a){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case P:return!(t.byteLength!=e.byteLength||!o(new Vt(t),new Vt(e)));case b:case x:case S:return Za(+t,+e);case w:return t.name==e.name&&t.message==e.message;case E:case D:return t==e+"";case C:var s=ln;case A:var l=1&r;if(s||(s=dn),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;r|=2,a.set(t,e);var u=ro(s(t),s(e),r,i,o,a);return a.delete(t),u;case O:if(Bn)return Bn.call(t)==Bn.call(e)}return!1}(t,e,c,n,r,o,a);if(!(1&n)){var p=d&&It.call(t,"__wrapped__"),m=h&&It.call(e,"__wrapped__");
vendor: 7,446 bytes, line 2
2if(p||m){var _=p?t.value():t,v=m?e.value():e;return a||(a=new Jn),o(_,v,n,r,a)}}if(!f)return!1;return a||(a=new Jn),function(t,e,n,r,o,a){var s=1&n,l=oo(t),c=l.length,u=oo(e).length;if(c!=u&&!s)return!1;var d=c;for(;d--;){var h=l[d];if(!(s?h in e:It.call(e,h)))return!1}var f=a.get(t),p=a.get(e);if(f&&p)return f==e&&p==t;var m=!0;a.set(t,e),a.set(e,t);var _=s;for(;++d<c;){var v=t[h=l[d]],g=e[h];if(r)var y=s?r(g,v,h,e,t,a):r(v,g,h,t,e,a);if(!(y===i?v===g||o(v,g,n,r,a):y)){m=!1;break}_||(_="constructor"==h)}if(m&&!_){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(t),a.delete(e),m}(t,e,n,r,o,a)}(t,e,n,r,Pr,o))}function jr(t,e,n,r){var o=n.length,a=o,s=!r;if(null==t)return!a;for(t=Tt(t);o--;){var l=n[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var c=(l=n[o])[0],u=t[c],d=l[1];if(s&&l[2]){if(u===i&&!(c in t))return!1}else{var h=new Jn;if(r)var f=r(u,d,c,t,e,h);if(!(f===i?Pr(d,u,3,r,h):f))return!1}}return!0}function Ir(t){return!(!rs(t)||(e=t,Rt&&Rt in e))&&(ts(t)?$t:gt).test(No(t));var e}function Yr(t){return"function"==typeof t?t:null==t?al:"object"==typeof t?Wa(t)?Zr(t[0],t[1]):$r(t):ml(t)}function Rr(t){if(!So(t))return yn(t);var e=[];for(var n in Tt(t))It.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Fr(t){if(!rs(t))return function(t){var e=[];if(null!=t)for(var n in Tt(t))e.push(n);return e}(t);var e=So(t),n=[];for(var r in t)("constructor"!=r||!e&&It.call(t,r))&&n.push(r);return n}function Br(t,e){return t<e}function Nr(t,e){var n=-1,i=qa(t)?r(t.length):[];return pr(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function $r(t){var e=fo(t);return 1==e.length&&e[0][2]?Lo(e[0][0],e[0][1]):function(n){return n===t||jr(n,t,e)}}function Zr(t,e){return ko(t)&&To(e)?Lo(Bo(t),e):function(n){var r=Es(n,t);return r===i&&r===e?As(n,t):Pr(e,r,3)}}function Hr(t,e,n,r,o){t!==e&&br(e,(function(a,s){if(o||(o=new Jn),rs(a))!function(t,e,n,r,o,a,s){var l=Oo(t,n),c=Oo(e,n),u=s.get(c);if(u)return void nr(t,n,u);var d=a?a(l,c,n+"",t,e,s):i,h=d===i;if(h){var f=Wa(c),p=!f&&Ja(c),m=!f&&!p&&hs(c);d=c,f||p||m?Wa(l)?d=l:Xa(l)?d=Di(l):p?(h=!1,d=Ci(c,!0)):m?(h=!1,d=Ti(c,!0)):d=[]:ss(c)||Ua(c)?(d=l,Ua(l)?d=bs(l):rs(l)&&!ts(l)||(d=yo(c))):h=!1}h&&(s.set(c,d),o(d,c,r,a,s),s.delete(c));nr(t,n,d)}(t,e,s,n,Hr,r,o);else{var l=r?r(Oo(t,s),a,s+"",t,e,o):i;l===i&&(l=a),nr(t,s,l)}}),js)}function Vr(t,e){var n=t.length;if(n)return xo(e+=e<0?n:0,n)?t[e]:i}function Ur(t,e,n){e=e.length?ze(e,(function(t){return Wa(t)?function(e){return Cr(e,1===t.length?t[0]:t)}:t})):[al];var r=-1;e=ze(e,Je(uo()));var i=Nr(t,(function(t,n,i){var o=ze(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;for(;++r<a;){var l=Li(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Wr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Cr(t,a);n(s,a)&&ei(o,xi(a,t),s)}return o}function Gr(t,e,n,r){var i=r?$e:Ne,o=-1,a=e.length,s=t;for(t===e&&(e=Di(e)),n&&(s=ze(t,Je(n)));++o<a;)for(var l=0,c=e[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==t&&Xt.call(s,l,1),Xt.call(t,l,1);return t}function qr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;xo(i)?Xt.call(t,i,1):fi(t,i)}}return t}function Xr(t,e){return t+ve(Mn()*(e-t+1))}function Jr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=ve(e/2))&&(t+=t)}while(e);return n}function Kr(t,e){return jo(Eo(t,e,al),t+"")}function Qr(t){return Qn(Zs(t))}function ti(t,e){var n=Zs(t);return Ro(n,cr(e,0,n.length))}function ei(t,e,n,r){if(!rs(t))return t;for(var o=-1,a=(e=xi(e,t)).length,s=a-1,l=t;null!=l&&++o<a;){var c=Bo(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=s){var d=l[c];(u=r?r(d,c,l):i)===i&&(u=rs(d)?d:xo(e[o+1])?[]:{})}rr(l,c,u),l=l[c]}return t}var ni=On?function(t,e){return On.set(t,e),t}:al,ri=le?function(t,e){return le(t,"toString",{configurable:!0,enumerable:!1,value:rl(e),writable:!0})}:al;function ii(t){return Ro(Zs(t))}function oi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function ai(t,e){var n;return pr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function si(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!ds(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return li(t,e,al,n)}function li(t,e,n,r){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,l=null===e,c=ds(e),u=e===i;o<a;){var d=ve((o+a)/2),h=n(t[d]),f=h!==i,p=null===h,m=h==h,_=ds(h);if(s)var v=r||m;else v=u?m&&(r||f):l?m&&f&&(r||!p):c?m&&f&&!p&&(r||!_):!p&&!_&&(r?h<=e:h<e);v?o=d+1:a=d}return xn(a,4294967294)}function ci(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Za(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:ds(t)?m:+t}function di(t){if("string"==typeof t)return t;if(Wa(t))return ze(t,di)+"";if(ds(t))return Nn?Nn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function hi(t,e,n){var r=-1,i=De,o=t.length,a=!0,s=[],l=s;if(n)a=!1,i=Oe;else if(o>=200){var c=e?null:Ji(t);if(c)return dn(c);a=!1,i=Qe,l=new Xn}else l=e?[]:s;t:for(;++r<o;){var u=t[r],d=e?e(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue t;e&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function fi(t,e){return null==(t=Ao(t,e=xi(e,t)))||delete t[Bo(Qo(e))]}function pi(t,e,n,r){return ei(t,e,n(Cr(t,e)),r)}function mi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?oi(t,r?0:o,r?o+1:i):oi(t,r?o+1:0,r?i:o)}function _i(t,e){var n=t;return n instanceof Un&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Pe([t],e.args))}),n)}function vi(t,e,n){var i=t.length;if(i<2)return i?hi(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=t[o],l=-1;++l<i;)l!=o&&(a[o]=fr(a[o]||s,t[l],e,n));return hi(yr(a,1),e,n)}function gi(t,e,n){for(var r=-1,o=t.length,a=e.length,s={};++r<o;){var l=r<a?e[r]:i;n(s,t[r],l)}return s}function yi(t){return Xa(t)?t:[]}function bi(t){return"function"==typeof t?t:al}function xi(t,e){return Wa(t)?t:ko(t,e)?[t]:Fo(xs(t))}var wi=Kr;function ki(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:oi(t,e,n)}var Mi=de||function(t){return fe.clearTimeout(t)};function Ci(t,e){if(e)return t.slice();var n=t.length,r=Ut?Ut(n):new t.constructor(n);return t.copy(r),r}function Si(t){var e=new t.constructor(t.byteLength);return new Vt(e).set(new Vt(t)),e}function Ti(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Li(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=ds(t),s=e!==i,l=null===e,c=e==e,u=ds(e);if(!l&&!u&&!a&&t>e||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!u&&t<e||u&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!c)return-1}return 0}function Ei(t,e,n,i){for(var o=-1,a=t.length,s=n.length,l=-1,c=e.length,u=bn(a-s,0),d=r(c+u),h=!i;++l<c;)d[l]=e[l];for(;++o<s;)(h||o<a)&&(d[n[o]]=t[o]);for(;u--;)d[l++]=t[o++];return d}function Ai(t,e,n,i){for(var o=-1,a=t.length,s=-1,l=n.length,c=-1,u=e.length,d=bn(a-l,0),h=r(d+u),f=!i;++o<d;)h[o]=t[o];for(var p=o;++c<u;)h[p+c]=e[c];for(;++s<l;
vendor: 2,880 bytes, line 2
2)(f||o<a)&&(h[p+n[s]]=t[o++]);return h}function Di(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function Oi(t,e,n,r){var o=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var l=e[a],c=r?r(n[l],t[l],l,n,t):i;c===i&&(c=t[l]),o?sr(n,l,c):rr(n,l,c)}return n}function zi(t,e){return function(n,r){var i=Wa(n)?Se:or,o=e?e():{};return i(n,t,uo(r,2),o)}}function Pi(t){return Kr((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&wo(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=Tt(e);++r<o;){var l=n[r];l&&t(e,l,r,a)}return e}))}function ji(t,e){return function(n,r){if(null==n)return n;if(!qa(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Tt(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ii(t){return function(e,n,r){for(var i=-1,o=Tt(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}}function Yi(t){return function(e){var n=sn(e=xs(e))?pn(e):i,r=n?n[0]:e.charAt(0),o=n?ki(n,1).join(""):e.slice(1);return r[t]()+o}}function Ri(t){return function(e){return je(tl(Us(e).replace(Kt,"")),t,"")}}function Fi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Zn(t.prototype),r=t.apply(n,e);return rs(r)?r:n}}function Bi(t){return function(e,n,r){var o=Tt(e);if(!qa(e)){var a=uo(n,3);e=Ps(e),n=function(t){return a(o[t],t,o)}}var s=t(e,n,r);return s>-1?o[a?e[s]:s]:i}}function Ni(t){return io((function(e){var n=e.length,r=n,a=Vn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new At(o);if(a&&!l&&"wrapper"==lo(s))var l=new Vn([],!0)}for(r=l?r:n;++r<n;){var c=lo(s=e[r]),u="wrapper"==c?so(s):i;l=u&&Mo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[lo(u[0])].apply(l,u[3]):1==s.length&&Mo(s)?l[c]():l.thru(s)}return function(){var t=arguments,r=t[0];if(l&&1==t.length&&Wa(r))return l.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function $i(t,e,n,o,a,s,l,c,u,h){var f=e&d,p=1&e,m=2&e,_=24&e,v=512&e,g=m?i:Fi(t);return function i(){for(var d=arguments.length,y=r(d),b=d;b--;)y[b]=arguments[b];if(_)var x=co(i),w=nn(y,x);if(o&&(y=Ei(y,o,a,_)),s&&(y=Ai(y,s,l,_)),d-=w,_&&d<h){var k=un(y,x);return qi(t,e,$i,i.placeholder,n,y,k,c,u,h-d)}var M=p?n:this,C=m?M[t]:t;return d=y.length,c?y=Do(y,c):v&&d>1&&y.reverse(),f&&u<d&&(y.length=u),this&&this!==fe&&this instanceof i&&(C=g||Fi(C)),C.apply(M,y)}}function Zi(t,e){return function(n,r){return function(t,e,n,r){return wr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Hi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;
vendor: 33,973 bytes, line 2
2if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=di(n),r=di(r)):(n=ui(n),r=ui(r)),o=t(n,r)}return o}}function Vi(t){return io((function(e){return e=ze(e,Je(uo())),Kr((function(n){var r=this;return t(e,(function(t){return Ce(t,r,n)}))}))}))}function Ui(t,e){var n=(e=e===i?" ":di(e)).length;if(n<2)return n?Jr(e,t):e;var r=Jr(e,me(t/fn(e)));return sn(e)?ki(pn(r),0,t).join(""):r.slice(0,t)}function Wi(t){return function(e,n,o){return o&&"number"!=typeof o&&wo(e,n,o)&&(n=o=i),e=_s(e),n===i?(n=e,e=0):n=_s(n),function(t,e,n,i){for(var o=-1,a=bn(me((e-t)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=t,t+=n;return s}(e,n,o=o===i?e<n?1:-1:_s(o),t)}}function Gi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ys(e),n=ys(n)),t(e,n)}}function qi(t,e,n,r,o,a,s,l,d,h){var f=8&e;e|=f?c:u,4&(e&=~(f?u:c))||(e&=-4);var p=[t,e,o,f?a:i,f?s:i,f?i:a,f?i:s,l,d,h],m=n.apply(i,p);return Mo(t)&&zo(m,p),m.placeholder=r,Io(m,t,e)}function Xi(t){var e=St[t];return function(t,n){if(t=ys(t),(n=null==n?0:xn(vs(n),292))&&Ue(t)){var r=(xs(t)+"e").split("e");return+((r=(xs(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ji=En&&1/dn(new En([,-0]))[1]==f?function(t){return new En(t)}:dl;function Ki(t){return function(e){var n=vo(e);return n==C?ln(e):n==A?hn(e):function(t,e){return ze(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Qi(t,e,n,a,f,p,m,_){var v=2&e;if(!v&&"function"!=typeof t)throw new At(o);var g=a?a.length:0;if(g||(e&=-97,a=f=i),m=m===i?m:bn(vs(m),0),_=_===i?_:vs(_),g-=f?f.length:0,e&u){var y=a,b=f;a=f=i}var x=v?i:so(t),w=[t,e,n,a,f,y,b,p,m,_];if(x&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==d&&8==n||r==d&&n==h&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var l=e[3];if(l){var c=t[3];t[3]=c?Ei(c,l,e[4]):l,t[4]=c?un(t[3],s):e[4]}(l=e[5])&&(c=t[5],t[5]=c?Ai(c,l,e[6]):l,t[6]=c?un(t[5],s):e[6]);(l=e[7])&&(t[7]=l);r&d&&(t[8]=null==t[8]?e[8]:xn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(w,x),t=w[0],e=w[1],n=w[2],a=w[3],f=w[4],!(_=w[9]=w[9]===i?v?0:t.length:bn(w[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)k=8==e||e==l?function(t,e,n){var o=Fi(t);return function a(){for(var s=arguments.length,l=r(s),c=s,u=co(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:un(l,u);return(s-=d.length)<n?qi(t,e,$i,a.placeholder,i,l,d,i,i,n-s):Ce(this&&this!==fe&&this instanceof a?o:t,this,l)}}(t,e,_):e!=c&&33!=e||f.length?$i.apply(i,w):function(t,e,n,i){var o=1&e,a=Fi(t);return function e(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=r(u+l),h=this&&this!==fe&&this instanceof e?a:t;++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return Ce(h,o?n:this,d)}}(t,e,n,a);else var k=function(t,e,n){var r=1&e,i=Fi(t);return function e(){return(this&&this!==fe&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Io((x?ni:zo)(k,w),t,e)}function to(t,e,n,r){return t===i||Za(t,zt[n])&&!It.call(r,n)?e:t}function eo(t,e,n,r,o,a){return rs(t)&&rs(e)&&(a.set(e,t),Hr(t,e,i,eo,a),a.delete(e)),t}function no(t){return ss(t)?i:t}function ro(t,e,n,r,o,a){var s=1&n,l=t.length,c=e.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(t),d=a.get(e);if(u&&d)return u==e&&d==t;var h=-1,f=!0,p=2&n?new Xn:i;for(a.set(t,e),a.set(e,t);++h<l;){var m=t[h],_=e[h];if(r)var v=s?r(_,m,h,e,t,a):r(m,_,h,t,e,a);if(v!==i){if(v)continue;f=!1;break}if(p){if(!Ye(e,(function(t,e){if(!Qe(p,e)&&(m===t||o(m,t,n,r,a)))return p.push(e)}))){f=!1;break}}else if(m!==_&&!o(m,_,n,r,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function io(t){return jo(Eo(t,i,Go),t+"")}function oo(t){return Sr(t,Ps,mo)}function ao(t){return Sr(t,js,_o)}var so=On?function(t){return On.get(t)}:dl;function lo(t){for(var e=t.name+"",n=zn[e],r=It.call(zn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function co(t){return(It.call($n,"placeholder")?$n:t).placeholder}function uo(){var t=$n.iteratee||sl;return t=t===sl?Yr:t,arguments.length?t(arguments[0],arguments[1]):t}function ho(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function fo(t){for(var e=Ps(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,To(i)]}return e}function po(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return Ir(n)?n:i}var mo=ge?function(t){return null==t?[]:(t=Tt(t),Ae(ge(t),(function(e){return qt.call(t,e)})))}:gl,_o=ge?function(t){for(var e=[];t;)Pe(e,mo(t)),t=Wt(t);return e}:gl,vo=Tr;function go(t,e,n){for(var r=-1,i=(e=xi(e,t)).length,o=!1;++r<i;){var a=Bo(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ns(i)&&xo(a,i)&&(Wa(t)||Ua(t))}function yo(t){return"function"!=typeof t.constructor||So(t)?{}:Zn(Wt(t))}function bo(t){return Wa(t)||Ua(t)||!!(Jt&&t&&t[Jt])}function xo(t,e){var n=typeof t;return!!(e=null==e?p:e)&&("number"==n||"symbol"!=n&&bt.test(t))&&t>-1&&t%1==0&&t<e}function wo(t,e,n){if(!rs(n))return!1;var r=typeof e;return!!("number"==r?qa(n)&&xo(e,n.length):"string"==r&&e in n)&&Za(n[e],t)}function ko(t,e){if(Wa(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ds(t))||(nt.test(t)||!et.test(t)||null!=e&&t in Tt(e))}function Mo(t){var e=lo(t),n=$n[e];if("function"!=typeof n||!(e in Un.prototype))return!1;if(t===n)return!0;var r=so(n);return!!r&&t===r[0]}(Sn&&vo(new Sn(new ArrayBuffer(1)))!=j||Tn&&vo(new Tn)!=C||Ln&&vo(Ln.resolve())!=L||En&&vo(new En)!=A||An&&vo(new An)!=z)&&(vo=function(t){var e=Tr(t),n=e==T?t.constructor:i,r=n?No(n):"";if(r)switch(r){case Pn:return j;case jn:return C;case In:return L;case Yn:return A;case Rn:return z}return e});var Co=Pt?ts:yl;function So(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||zt)}function To(t){return t==t&&!rs(t)}function Lo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==i||t in Tt(n)))}}function Eo(t,e,n){return e=bn(e===i?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=bn(i.length-e,0),s=r(a);++o<a;)s[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(s),Ce(t,this,l)}}function Ao(t,e){return e.length<2?t:Cr(t,oi(e,0,-1))}function Do(t,e){for(var n=t.length,r=xn(e.length,n),o=Di(t);r--;){var a=e[r];t[r]=xo(a,n)?o[a]:i}return t}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var zo=Yo(ni),Po=pe||function(t,e){return fe.setTimeout(t,e)},jo=Yo(ri);function Io(t,e,n){var r=e+"";return jo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Te(v,(function(n){var r="_."+n[0];e&n[1]&&!De(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(ut):[]}(r),n)))}function Yo(t){var e=0,n=0;return function(){var r=wn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function Ro(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var a=Xr(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var Fo=function(t){var e=Ya(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rt,(function(t,n,r,i){e.push(r?i.replace(ft,"$1"):n||t)})),e}));function Bo(t){if("string"==typeof t||ds(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function No(t){if(null!=t){try{return jt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $o(t){if(t instanceof Un)return t.clone();var e=new Vn(t.__wrapped__,t.__chain__);return e.__actions__=Di(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Zo=Kr((function(t,e){return Xa(t)?fr(t,yr(e,1,Xa,!0)):[]})),Ho=Kr((function(t,e){var n=Qo(e);return Xa(n)&&(n=i),Xa(t)?fr(t,yr(e,1,Xa,!0),uo(n,2)):[]})),Vo=Kr((function(t,e){var n=Qo(e);return Xa(n)&&(n=i),Xa(t)?fr(t,yr(e,1,Xa,!0),i,n):[]}));function Uo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vs(n);return i<0&&(i=bn(r+i,0)),Be(t,uo(e,3),i)}function Wo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=vs(n),o=n<0?bn(r+o,0):xn(o,r-1)),Be(t,uo(e,3),o,!0)}function Go(t){return(null==t?0:t.length)?yr(t,1):[]}function qo(t){return t&&t.length?t[0]:i}var Xo=Kr((function(t){var e=ze(t,yi);return e.length&&e[0]===t[0]?Dr(e):[]})),Jo=Kr((function(t){var e=Qo(t),n=ze(t,yi);return e===Qo(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Dr(n,uo(e,2)):[]})),Ko=Kr((function(t){var e=Qo(t),n=ze(t,yi);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Dr(n,i,e):[]}));function Qo(t){var e=null==t?0:t.length;return e?t[e-1]:i}var ta=Kr(ea);function ea(t,e){return t&&t.length&&e&&e.length?Gr(t,e):t}var na=io((function(t,e){var n=null==t?0:t.length,r=lr(t,e);return qr(t,ze(e,(function(t){return xo(t,n)?+t:t})).sort(Li)),r}));function ra(t){return null==t?t:Cn.call(t)}var ia=Kr((function(t){return hi(yr(t,1,Xa,!0))})),oa=Kr((function(t){var e=Qo(t);return Xa(e)&&(e=i),hi(yr(t,1,Xa,!0),uo(e,2))})),aa=Kr((function(t){var e=Qo(t);return e="function"==typeof e?e:i,hi(yr(t,1,Xa,!0),i,e)}));function sa(t){if(!t||!t.length)return[];var e=0;return t=Ae(t,(function(t){if(Xa(t))return e=bn(t.length,e),!0})),qe(e,(function(e){return ze(t,Ve(e))}))}function la(t,e){if(!t||!t.length)return[];var n=sa(t);return null==e?n:ze(n,(function(t){return Ce(e,i,t)}))}var ca=Kr((function(t,e){return Xa(t)?fr(t,e):[]})),ua=Kr((function(t){return vi(Ae(t,Xa))})),da=Kr((function(t){var e=Qo(t);return Xa(e)&&(e=i),vi(Ae(t,Xa),uo(e,2))})),ha=Kr((function(t){var e=Qo(t);return e="function"==typeof e?e:i,vi(Ae(t,Xa),i,e)})),fa=Kr(sa);var pa=Kr((function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,la(t,n)}));function ma(t){var e=$n(t);return e.__chain__=!0,e}function _a(t,e){return e(t)}var va=io((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return lr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Un&&xo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:_a,args:[o],thisArg:i}),new Vn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var ga=zi((function(t,e,n){It.call(t,n)?++t[n]:sr(t,n,1)}));var ya=Bi(Uo),ba=Bi(Wo);function xa(t,e){return(Wa(t)?Te:pr)(t,uo(e,3))}function wa(t,e){return(Wa(t)?Le:mr)(t,uo(e,3))}var ka=zi((function(t,e,n){It.call(t,n)?t[n].push(e):sr(t,n,[e])}));var Ma=Kr((function(t,e,n){var i=-1,o="function"==typeof e,a=qa(t)?r(t.length):[];return pr(t,(function(t){a[++i]=o?Ce(e,t,n):Or(t,e,n)})),a})),Ca=zi((function(t,e,n){sr(t,n,e)}));function Sa(t,e){return(Wa(t)?ze:Nr)(t,uo(e,3))}var Ta=zi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var La=Kr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&wo(t,e[0],e[1])?e=[]:n>2&&wo(e[0],e[1],e[2])&&(e=[e[0]]),Ur(t,yr(e,1),[])})),Ea=he||function(){return fe.Date.now()};function Aa(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Qi(t,d,i,i,i,i,e)}function Da(t,e){var n;if("function"!=typeof e)throw new At(o);return t=vs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Oa=Kr((function(t,e,n){var r=1;if(n.length){var i=un(n,co(Oa));r|=c}return Qi(t,r,e,n,i)})),za=Kr((function(t,e,n){var r=3;if(n.length){var i=un(n,co(za));r|=c}return Qi(e,r,t,n,i)}));function Pa(t,e,n){var r,a,s,l,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof t)throw new At(o);function m(e){var n=r,o=a;return r=a=i,d=e,l=t.apply(o,n)}function _(t){return d=t,c=Po(g,e),h?m(t):l}function v(t){var n=t-u;return u===i||n>=e||n<0||f&&t-d>=s}function g(){var t=Ea();if(v(t))return y(t);c=Po(g,function(t){var n=e-(t-u);return f?xn(n,s-(t-d)):n}(t))}function y(t){return c=i,p&&r?m(t):(r=a=i,l)}function b(){var t=Ea(),n=v(t);if(r=arguments,a=this,u=t,n){if(c===i)return _(u);if(f)return Mi(c),c=Po(g,e),m(u)}return c===i&&(c=Po(g,e)),l}return e=ys(e)||0,rs(n)&&(h=!!n.leading,s=(f="maxWait"in n)?bn(ys(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==i&&Mi(c),d=0,r=u=a=c=i},b.flush=function(){return c===i?l:y(Ea())},b}var ja=Kr((function(t,e){return hr(t,1,e)})),Ia=Kr((function(t,e,n){return hr(t,ys(e)||0,n)}));function Ya(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new At(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ya.Cache||qn),n}function Ra(t){if("function"!=typeof t)throw new At(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ya.Cache=qn;var Fa=wi((function(t,e){var n=(e=1==e.length&&Wa(e[0])?ze(e[0],Je(uo())):ze(yr(e,1),Je(uo()))).length;return Kr((function(r){for(var i=-1,o=xn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Ce(t,this,r)}))})),Ba=Kr((function(t,e){var n=un(e,co(Ba));return Qi(t,c,i,e,n)})),Na=Kr((function(t,e){var n=un(e,co(Na));return Qi(t,u,i,e,n)})),$a=io((function(t,e){return Qi(t,h,i,i,i,e)}));function Za(t,e){return t===e||t!=t&&e!=e}var Ha=Gi(Lr),Va=Gi((function(t,e){return t>=e})),Ua=zr(function(){return arguments}())?zr:function(t){return is(t)&&It.call(t,"callee")&&!qt.call(t,"callee")},Wa=r.isArray,Ga=ye?Je(ye):function(t){return is(t)&&Tr(t)==P};function qa(t){return null!=t&&ns(t.length)&&!ts(t)}function Xa(t){return is(t)&&qa(t)}var Ja=Re||yl,Ka=be?Je(be):function(t){return is(t)&&Tr(t)==x};function Qa(t){if(!is(t))return!1;var e=Tr(t);return e==w||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ss(t)}function ts(t){if(!rs(t))return!1;var e=Tr(t);return e==k||e==M||"[object AsyncFunction]"==e||"[object Proxy]"==e}function es(t){return"number"==typeof t&&t==vs(t)}function ns(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function rs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function is(t){return null!=t&&"object"==typeof t}var os=xe?Je(xe):function(t){return is(t)&&vo(t)==C};function as(t){return"number"==typeof t||is(t)&&Tr(t)==S}function ss(t){if(!is(t)||Tr(t)!=T)return!1;var e=Wt(t);if(null===e)return!0;var n=It.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&jt.call(n)==Bt}var ls=we?Je(we):function(t){return is(t)&&Tr(t)==E};var cs=ke?Je(ke):function(t){return is(t)&&vo(t)==A};function us(t){return"string"==typeof t||!Wa(t)&&is(t)&&Tr(t)==D}function ds(t){return"symbol"==typeof t||is(t)&&Tr(t)==O}var hs=Me?Je(Me):function(t){return is(t)&&ns(t.length)&&!!ae[Tr(t)]};var fs=Gi(Br),ps=Gi((function(t,e){return t<=e}));function ms(t){if(!t)return[];if(qa(t))return us(t)?pn(t):Di(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=vo(t);return(e==C?ln:e==A?dn:Zs)(t)}function _s(t){return t?(t=ys(t))===f||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function vs(t){var e=_s(t),n=e%1;return e==e?n?e-n:e:0}function gs(t){return t?cr(vs(t),0,_):0}function ys(t){if("number"==typeof t)return t;if(ds(t))return m;if(rs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=vt.test(t);return n||yt.test(t)?ue(t.slice(2),n?2:8):_t.test(t)?m:+t}function bs(t){return Oi(t,js(t))}function xs(t){return null==t?"":di(t)}var ws=Pi((function(t,e){if(So(e)||qa(e))Oi(e,Ps(e),t);else for(var n in e)It.call(e,n)&&rr(t,n,e[n])})),ks=Pi((function(t,e){Oi(e,js(e),t)})),Ms=Pi((function(t,e,n,r){Oi(e,js(e),t,r)})),Cs=Pi((function(t,e,n,r){Oi(e,Ps(e),t,r)})),Ss=io(lr);var Ts=Kr((function(t,e){t=Tt(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&wo(e[0],e[1],o)&&(r=1);++n<r;)for(var a=e[n],s=js(a),l=-1,c=s.length;++l<c;){var u=s[l],d=t[u];(d===i||Za(d,zt[u])&&!It.call(t,u))&&(t[u]=a[u])}return t})),Ls=Kr((function(t){return t.push(i,eo),Ce(Ys,i,t)}));function Es(t,e,n){var r=null==t?i:Cr(t,e);return r===i?n:r}function As(t,e){return null!=t&&go(t,e,Ar)}var Ds=Zi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),t[e]=n}),rl(al)),Os=Zi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),It.call(t,e)?t[e].push(n):t[e]=[n]}),uo),zs=Kr(Or);function Ps(t){return qa(t)?Kn(t):Rr(t)}function js(t){return qa(t)?Kn(t,!0):Fr(t)}var Is=Pi((function(t,e,n){Hr(t,e,n)})),Ys=Pi((function(t,e,n,r){Hr(t,e,n,r)})),Rs=io((function(t,e){var n={};if(null==t)return n;var r=!1;e=ze(e,(function(e){return e=xi(e,t),r||(r=e.length>1),e})),Oi(t,ao(t),n),r&&(n=ur(n,7,no));for(var i=e.length;i--;)fi(n,e[i]);return n}));var Fs=io((function(t,e){return null==t?{}:function(t,e){return Wr(t,e,(function(e,n){return As(t,n)}))}(t,e)}));function Bs(t,e){if(null==t)return{};var n=ze(ao(t),(function(t){return[t]}));return e=uo(e),Wr(t,n,(function(t,n){return e(t,n[0])}))}var Ns=Ki(Ps),$s=Ki(js);function Zs(t){return null==t?[]:Ke(t,Ps(t))}var Hs=Ri((function(t,e,n){return e=e.toLowerCase(),t+(n?Vs(e):e)}));function Vs(t){return Qs(xs(t).toLowerCase())}function Us(t){return(t=xs(t))&&t.replace(xt,rn).replace(Qt,"")}var Ws=Ri((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Gs=Ri((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),qs=Yi("toLowerCase");var Xs=Ri((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Js=Ri((function(t,e,n){return t+(n?" ":"")+Qs(e)}));var Ks=Ri((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Qs=Yi("toUpperCase");function tl(t,e,n){return t=xs(t),(e=n?i:e)===i?function(t){return re.test(t)}(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.match(dt)||[]}(t):t.match(e)||[]}var el=Kr((function(t,e){try{return Ce(t,i,e)}catch(t){return Qa(t)?t:new Mt(t)}})),nl=io((function(t,e){return Te(e,(function(e){e=Bo(e),sr(t,e,Oa(t[e],t))})),t}));function rl(t){return function(){return t}}var il=Ni(),ol=Ni(!0);function al(t){return t}function sl(t){return Yr("function"==typeof t?t:ur(t,1))}var ll=Kr((function(t,e){return function(n){return Or(n,t,e)}})),cl=Kr((function(t,e){return function(n){return Or(t,n,e)}}));function ul(t,e,n){var r=Ps(e),i=Mr(e,r);null!=n||rs(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Mr(e,Ps(e)));var o=!(rs(n)&&"chain"in n&&!n.chain),a=ts(t);return Te(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Di(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Pe([this.value()],arguments))})})),t}function dl(){}var hl=Vi(ze),fl=Vi(Ee),pl=Vi(Ye);function ml(t){return ko(t)?Ve(Bo(t)):function(t){return function(e){return Cr(e,t)}}(t)}var _l=Wi(),vl=Wi(!0);function gl(){return[]}function yl(){return!1}var bl=Hi((function(t,e){return t+e}),0),xl=Xi("ceil"),wl=Hi((function(t,e){return t/e}),1),kl=Xi("floor");var Ml,Cl=Hi((function(t,e){return t*e}),1),Sl=Xi("round"),Tl=Hi((function(t,e){return t-e}),0);return $n.after=function(t,e){if("function"!=typeof e)throw new At(o);return t=vs(t),function(){if(--t<1)return e.apply(this,arguments)}},$n.ary=Aa,$n.assign=ws,$n.assignIn=ks,$n.assignInWith=Ms,$n.assignWith=Cs,$n.at=Ss,$n.before=Da,$n.bind=Oa,$n.bindAll=nl,$n.bindKey=za,$n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wa(t)?t:[t]},$n.chain=ma,$n.chunk=function(t,e,n){e=(n?wo(t,e,n):e===i)?1:bn(vs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,l=r(me(o/e));a<o;)l[s++]=oi(t,a,a+=e);return l},$n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},$n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Pe(Wa(n)?Di(n):[n],yr(e,1))},$n.cond=function(t){var e=null==t?0:t.length,n=uo();return t=e?ze(t,(function(t){if("function"!=typeof t[1])throw new At(o);return[n(t[0]),t[1]]})):[],Kr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ce(i[0],this,n))return Ce(i[1],this,n)}}))},$n.conforms=function(t){return function(t){var e=Ps(t);return function(n){return dr(n,t,e)}}(ur(t,1))},$n.constant=rl,$n.countBy=ga,$n.create=function(t,e){var n=Zn(t);return null==e?n:ar(n,e)},$n.curry=function t(e,n,r){var o=Qi(e,8,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},$n.curryRight=function t(e,n,r){var o=Qi(e,l,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},$n.debounce=Pa,$n.defaults=Ts,$n.defaultsDeep=Ls,$n.defer=ja,$n.delay=Ia,$n.difference=Zo,$n.differenceBy=Ho,$n.differenceWith=Vo,$n.drop=function(t,e,n){var r=null==t?0:t.length;return r?oi(t,(e=n||e===i?1:vs(e))<0?0:e,r):[]},$n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?oi(t,0,(e=r-(e=n||e===i?1:vs(e)))<0?0:e):[]},$n.dropRightWhile=function(t,e){return t&&t.length?mi(t,uo(e,3),!0,!0):[]},$n.dropWhile=function(t,e){return t&&t.length?mi(t,uo(e,3),!0):[]},$n.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&wo(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=vs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:vs(r))<0&&(r+=o),r=n>r?0:gs(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},$n.filter=function(t,e){return(Wa(t)?Ae:gr)(t,uo(e,3))},$n.flatMap=function(t,e){return yr(Sa(t,e),1)},$n.flatMapDeep=function(t,e){return yr(Sa(t,e),f)},$n.flatMapDepth=function(t,e,n){return n=n===i?1:vs(n),yr(Sa(t,e),n)},$n.flatten=Go,$n.flattenDeep=function(t){return(null==t?0:t.length)?yr(t,f):[]},$n.flattenDepth=function(t,e){return(null==t?0:t.length)?yr(t,e=e===i?1:vs(e)):[]},$n.flip=function(t){return Qi(t,512)},$n.flow=il,$n.flowRight=ol,$n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},$n.functions=function(t){return null==t?[]:Mr(t,Ps(t))},$n.functionsIn=function(t){return null==t?[]:Mr(t,js(t))},$n.groupBy=ka,$n.initial=function(t){return(null==t?0:t.length)?oi(t,0,-1):[]},$n.intersection=Xo,$n.intersectionBy=Jo,$n.intersectionWith=Ko,$n.invert=Ds,$n.invertBy=Os,$n.invokeMap=Ma,$n.iteratee=sl,$n.keyBy=Ca,$n.keys=Ps,$n.keysIn=js,$n.map=Sa,$n.mapKeys=function(t,e){var n={};return e=uo(e,3),wr(t,(function(t,r,i){sr(n,e(t,r,i),t)})),n},$n.mapValues=function(t,e){var n={};return e=uo(e,3),wr(t,(function(t,r,i){sr(n,r,e(t,r,i))})),n},$n.matches=function(t){return $r(ur(t,1))},$n.matchesProperty=function(t,e){return Zr(t,ur(e,1))},$n.memoize=Ya,$n.merge=Is,$n.mergeWith=Ys,$n.method=ll,$n.methodOf=cl,$n.mixin=ul,$n.negate=Ra,$n.nthArg=function(t){return t=vs(t),Kr((function(e){return Vr(e,t)}))},$n.omit=Rs,$n.omitBy=function(t,e){return Bs(t,Ra(uo(e)))},$n.once=function(t){return Da(2,t)},$n.orderBy=function(t,e,n,r){return null==t?[]:(Wa(e)||(e=null==e?[]:[e]),Wa(n=r?i:n)||(n=null==n?[]:[n]),Ur(t,e,n))},$n.over=hl,$n.overArgs=Fa,$n.overEvery=fl,$n.overSome=pl,$n.partial=Ba,$n.partialRight=Na,$n.partition=Ta,$n.pick=Fs,$n.pickBy=Bs,$n.property=ml,$n.propertyOf=function(t){return function(e){return null==t?i:Cr(t,e)}},$n.pull=ta,$n.pullAll=ea,$n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Gr(t,e,uo(n,2)):t},$n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Gr(t,e,i,n):t},$n.pullAt=na,$n.range=_l,$n.rangeRight=vl,$n.rearg=$a,$n.reject=function(t,e){return(Wa(t)?Ae:gr)(t,Ra(uo(e,3)))},$n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=uo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return qr(t,i),n},$n.rest=function(t,e){if("function"!=typeof t)throw new At(o);return Kr(t,e=e===i?e:vs(e))},$n.reverse=ra,$n.sampleSize=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:vs(e),(Wa(t)?tr:ti)(t,e)},$n.set=function(t,e,n){return null==t?t:ei(t,e,n)},$n.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ei(t,e,n,r)},$n.shuffle=function(t){return(Wa(t)?er:ii)(t)},$n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&wo(t,e,n)?(e=0,n=r):(e=null==e?0:vs(e),n=n===i?r:vs(n)),oi(t,e,n)):[]},$n.sortBy=La,$n.sortedUniq=function(t){return t&&t.length?ci(t):[]},$n.sortedUniqBy=function(t,e){return t&&t.length?ci(t,uo(e,2)):[]},$n.split=function(t,e,n){return n&&"number"!=typeof n&&wo(t,e,n)&&(e=n=i),(n=n===i?_:n>>>0)?(t=xs(t))&&("string"==typeof e||null!=e&&!ls(e))&&!(e=di(e))&&sn(t)?ki(pn(t),0,n):t.split(e,n):[]},$n.spread=function(t,e){if("function"!=typeof t)throw new At(o);return e=null==e?0:bn(vs(e),0),Kr((function(n){var r=n[e],i=ki(n,0,e);return r&&Pe(i,r),Ce(t,this,i)}))},$n.tail=function(t){var e=null==t?0:t.length;return e?oi(t,1,e):[]},$n.take=function(t,e,n){return t&&t.length?oi(t,0,(e=n||e===i?1:vs(e))<0?0:e):[]},$n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?oi(t,(e=r-(e=n||e===i?1:vs(e)))<0?0:e,r):[]},$n.takeRightWhile=function(t,e){return t&&t.length?mi(t,uo(e,3),!1,!0):[]},$n.takeWhile=function(t,e){return t&&t.length?mi(t,uo(e,3)):[]},$n.tap=function(t,e){return e(t),t},$n.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new At(o);return rs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pa(t,e,{leading:r,maxWait:e,trailing:i})},$n.thru=_a,$n.toArray=ms,$n.toPairs=Ns,$n.toPairsIn=$s,$n.toPath=function(t){return Wa(t)?ze(t,Bo):ds(t)?[t]:Di(Fo(xs(t)))},$n.toPlainObject=bs,$n.transform=function(t,e,n){var r=Wa(t),i=r||Ja(t)||hs(t);if(e=uo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:rs(t)&&ts(o)?Zn(Wt(t)):{}}return(i?Te:wr)(t,(function(t,r,i){return e(n,t,r,i)})),n},$n.unary=function(t){return Aa(t,1)},$n.union=ia,$n.unionBy=oa,$n.unionWith=aa,$n.uniq=function(t){return t&&t.length?hi(t):[]},$n.uniqBy=function(t,e){return t&&t.length?hi(t,uo(e,2)):[]},$n.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?hi(t,i,e):[]},$n.unset=function(t,e){return null==t||fi(t,e)},$n.unzip=sa,$n.unzipWith=la,$n.update=function(t,e,n){return null==t?t:pi(t,e,bi(n))},$n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:pi(t,e,bi(n),r)},$n.values=Zs,$n.valuesIn=function(t){return null==t?[]:Ke(t,js(t))},$n.without=ca,$n.words=tl,$n.wrap=function(t,e){return Ba(bi(e),t)},$n.xor=ua,$n.xorBy=da,$n.xorWith=ha,$n.zip=fa,$n.zipObject=function(t,e){return gi(t||[],e||[],rr)},$n.zipObjectDeep=function(t,e){return gi(t||[],e||[],ei)},$n.zipWith=pa,$n.entries=Ns,$n.entriesIn=$s,$n.extend=ks,$n.extendWith=Ms,ul($n,$n),$n.add=bl,$n.attempt=el,$n.camelCase=Hs,$n.capitalize=Vs,$n.ceil=xl,$n.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=ys(n))==n?n:0),e!==i&&(e=(e=ys(e))==e?e:0),cr(ys(t),e,n)},$n.clone=function(t){return ur(t,4)},$n.cloneDeep=function(t){return ur(t,5)},$n.cloneDeepWith=function(t,e){return ur(t,5,e="function"==typeof e?e:i)},$n.cloneWith=function(t,e){return ur(t,4,e="function"==typeof e?e:i)},$n.conformsTo=function(t,e){return null==e||dr(t,e,Ps(e))},$n.deburr=Us,$n.defaultTo=function(t,e){return null==t||t!=t?e:t},$n.divide=wl,$n.endsWith=function(t,e,n){t=xs(t),e=di(e);var r=t.length,o=n=n===i?r:cr(vs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},$n.eq=Za,$n.escape=function(t){return(t=xs(t))&&J.test(t)?t.replace(q,on):t},$n.escapeRegExp=function(t){return(t=xs(t))&&ot.test(t)?t.replace(it,"\\$&"):t},$n.every=function(t,e,n){var r=Wa(t)?Ee:_r;return n&&wo(t,e,n)&&(e=i),r(t,uo(e,3))},$n.find=ya,$n.findIndex=Uo,$n.findKey=function(t,e){return Fe(t,uo(e,3),wr)},$n.findLast=ba,$n.findLastIndex=Wo,$n.findLastKey=function(t,e){return Fe(t,uo(e,3),kr)},$n.floor=kl,$n.forEach=xa,$n.forEachRight=wa,$n.forIn=function(t,e){return null==t?t:br(t,uo(e,3),js)},$n.forInRight=function(t,e){return null==t?t:xr(t,uo(e,3),js)},$n.forOwn=function(t,e){return t&&wr(t,uo(e,3))},$n.forOwnRight=function(t,e){return t&&kr(t,uo(e,3))},$n.get=Es,$n.gt=Ha,$n.gte=Va,$n.has=function(t,e){return null!=t&&go(t,e,Er)},$n.hasIn=As,$n.head=qo,$n.identity=al,$n.includes=function(t,e,n,r){t=qa(t)?t:Zs(t),n=n&&!r?vs(n):0;var i=t.length;return n<0&&(n=bn(i+n,0)),us(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ne(t,e,n)>-1},$n.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vs(n);return i<0&&(i=bn(r+i,0)),Ne(t,e,i)},$n.inRange=function(t,e,n){return e=_s(e),n===i?(n=e,e=0):n=_s(n),function(t,e,n){return t>=xn(e,n)&&t<bn(e,n)}(t=ys(t),e,n)},$n.invoke=zs,$n.isArguments=Ua,$n.isArray=Wa,$n.isArrayBuffer=Ga,$n.isArrayLike=qa,$n.isArrayLikeObject=Xa,$n.isBoolean=function(t){return!0===t||!1===t||is(t)&&Tr(t)==b},$n.isBuffer=Ja,$n.isDate=Ka,$n.isElement=function(t){return is(t)&&1===t.nodeType&&!ss(t)},$n.isEmpty=function(t){if(null==t)return!0;if(qa(t)&&(Wa(t)||"string"==typeof t||"function"==typeof t.splice||Ja(t)||hs(t)||Ua(t)))return!t.length;var e=vo(t);if(e==C||e==A)return!t.size;if(So(t))return!Rr(t).length;for(var n in t)if(It.call(t,n))return!1;return!0},$n.isEqual=function(t,e){return Pr(t,e)},$n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?Pr(t,e,i,n):!!r},$n.isError=Qa,$n.isFinite=function(t){return"number"==typeof t&&Ue(t)},$n.isFunction=ts,$n.isInteger=es,$n.isLength=ns,$n.isMap=os,$n.isMatch=function(t,e){return t===e||jr(t,e,fo(e))},$n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,jr(t,e,fo(e),n)},$n.isNaN=function(t){return as(t)&&t!=+t},$n.isNative=function(t){if(Co(t))throw new Mt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(t)},$n.isNil=function(t){return null==t},$n.isNull=function(t){return null===t},$n.isNumber=as,$n.isObject=rs,$n.isObjectLike=is,$n.isPlainObject=ss,$n.isRegExp=ls,$n.isSafeInteger=function(t){return es(t)&&t>=-9007199254740991&&t<=p},$n.isSet=cs,$n.isString=us,$n.isSymbol=ds,$n.isTypedArray=hs,$n.isUndefined=function(t){return t===i},$n.isWeakMap=function(t){return is(t)&&vo(t)==z},$n.isWeakSet=function(t){return is(t)&&"[object WeakSet]"==Tr(t)},$n.join=function(t,e){return null==t?"":gn.call(t,e)},$n.kebabCase=Ws,$n.last=Qo,$n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=vs(n))<0?bn(r+o,0):xn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Be(t,Ze,o,!0)},$n.lowerCase=Gs,$n.lowerFirst=qs,$n.lt=fs,$n.lte=ps,$n.max=function(t){return t&&t.length?vr(t,al,Lr):i},$n.maxBy=function(t,e){return t&&t.length?vr(t,uo(e,2),Lr):i},$n.mean=function(t){return He(t,al)},$n.meanBy=function(t,e){return He(t,uo(e,2))},$n.min=function(t){return t&&t.length?vr(t,al,Br):i},$n.minBy=function(t,e){return t&&t.length?vr(t,uo(e,2),Br):i},$n.stubArray=gl,$n.stubFalse=yl,$n.stubObject=function(){return{}},$n.stubString=function(){return""},$n.stubTrue=function(){return!0},$n.multiply=Cl,$n.nth=function(t,e){return t&&t.length?Vr(t,vs(e)):i},$n.noConflict=function(){return fe._===this&&(fe._=Nt),this},$n.noop=dl,$n.now=Ea,$n.pad=function(t,e,n){t=xs(t);var r=(e=vs(e))?fn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ui(ve(i),n)+t+Ui(me(i),n)},$n.padEnd=function(t,e,n){t=xs(t);var r=(e=vs(e))?fn(t):0;return e&&r<e?t+Ui(e-r,n):t},$n.padStart=function(t,e,n){t=xs(t);var r=(e=vs(e))?fn(t):0;return e&&r<e?Ui(e-r,n)+t:t},$n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),kn(xs(t).replace(at,""),e||0)},$n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&wo(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=_s(t),e===i?(e=t,t=0):e=_s(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Mn();return xn(t+o*(e-t+ce("1e-"+((o+"").length-1))),e)}return Xr(t,e)},$n.reduce=function(t,e,n){var r=Wa(t)?je:We,i=arguments.length<3;return r(t,uo(e,4),n,i,pr)},$n.reduceRight=function(t,e,n){var r=Wa(t)?Ie:We,i=arguments.length<3;return r(t,uo(e,4),n,i,mr)},$n.repeat=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:vs(e),Jr(xs(t),e)},$n.replace=function(){var t=arguments,e=xs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},$n.result=function(t,e,n){var r=-1,o=(e=xi(e,t)).length;for(o||(o=1,t=i);++r<o;){var a=null==t?i:t[Bo(e[r])];a===i&&(r=o,a=n),t=ts(a)?a.call(t):a}return t},$n.round=Sl,$n.runInContext=t,$n.sample=function(t){return(Wa(t)?Qn:Qr)(t)},$n.size=function(t){if(null==t)return 0;if(qa(t))return us(t)?fn(t):t.length;var e=vo(t);return e==C||e==A?t.size:Rr(t).length},$n.snakeCase=Xs,$n.some=function(t,e,n){var r=Wa(t)?Ye:ai;return n&&wo(t,e,n)&&(e=i),r(t,uo(e,3))},$n.sortedIndex=function(t,e){return si(t,e)},$n.sortedIndexBy=function(t,e,n){return li(t,e,uo(n,2))},$n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=si(t,e);if(r<n&&Za(t[r],e))return r}return-1},$n.sortedLastIndex=function(t,e){return si(t,e,!0)},$n.sortedLastIndexBy=function(t,e,n){return li(t,e,uo(n,2),!0)},$n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=si(t,e,!0)-1;if(Za(t[n],e))return n}return-1},$n.startCase=Js,$n.startsWith=function(t,e,n){return t=xs(t),n=null==n?0:cr(vs(n),0,t.length),e=di(e),t.slice(n,n+e.length)==e},$n.subtract=Tl,$n.sum=function(t){return t&&t.length?Ge(t,al):0},$n.sumBy=function(t,e){return t&&t.length?Ge(t,uo(e,2)):0},$n.template=function(t,e,n){var r=$n.templateSettings;n&&wo(t,e,n)&&(e=i),t=xs(t),e=Ms({},e,r,to);var o,a,s=Ms({},e.imports,r.imports,to),l=Ps(s),c=Ke(s,l),u=0,d=e.interpolate||wt,h="__p += '",f=Lt((e.escape||wt).source+"|"+d.source+"|"+(d===tt?pt:wt).source+"|"+(e.evaluate||wt).source+"|$","g"),p="//# sourceURL="+(It.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++oe+"]")+"\n";t.replace(f,(function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(u,l).replace(kt,an),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),h+="';\n";var m=It.call(e,"variable")&&e.variable;if(m){if(ht.test(m))throw new Mt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(V,""):h).replace(U,"$1").replace(W,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+h+"return __p\n}";var _=el((function(){return Ct(l,p+"return "+h).apply(i,c)}));if(_.source=h,Qa(_))throw _;return _},$n.times=function(t,e){if((t=vs(t))<1||t>p)return[];var n=_,r=xn(t,_);e=uo(e),t-=_;for(var i=qe(r,e);++n<t;)e(n);return i},$n.toFinite=_s,$n.toInteger=vs,$n.toLength=gs,$n.toLower=function(t){return xs(t).toLowerCase()},$n.toNumber=ys,$n.toSafeInteger=function(t){return t?cr(vs(t),-9007199254740991,p):0===t?t:0},$n.toString=xs,$n.toUpper=function(t){return xs(t).toUpperCase()},$n.trim=function(t,e,n){if((t=xs(t))&&(n||e===i))return Xe(t);if(!t||!(e=di(e)))return t;var r=pn(t),o=pn(e);return ki(r,tn(r,o),en(r,o)+1).join("")},$n.trimEnd=function(t,e,n){if((t=xs(t))&&(n||e===i))return t.slice(0,mn(t)+1);if(!t||!(e=di(e)))return t;var r=pn(t);return ki(r,0,en(r,pn(e))+1).join("")},$n.trimStart=function(t,e,n){if((t=xs(t))&&(n||e===i))return t.replace(at,"");if(!t||!(e=di(e)))return t;var r=pn(t);return ki(r,tn(r,pn(e))).join("")},$n.truncate=function(t,e){var n=30,r="...";if(rs(e)){var o="separator"in e?e.separator:o;n="length"in e?vs(e.length):n,r="omission"in e?di(e.omission):r}var a=(t=xs(t)).length;if(sn(t)){var s=pn(t);a=s.length}if(n>=a)return t;var l=n-fn(r);if(l<1)return r;var c=s?ki(s,0,l).join(""):t.slice(0,l);if(o===i)return c+r;if(s&&(l+=c.length-l),ls(o)){if(t.slice(l).search(o)){var u,d=c;for(o.global||(o=Lt(o.source,xs(mt.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var h=u.index;c=c.slice(0,h===i?l:h)}}else if(t.indexOf(di(o),l)!=l){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},$n.unescape=function(t){return(t=xs(t))&&X.test(t)?t.replace(G,_n):t},$n.uniqueId=function(t){var e=++Yt;return xs(t)+e},$n.upperCase=Ks,$n.upperFirst=Qs,$n.each=xa,$n.eachRight=wa,$n.first=qo,ul($n,(Ml={},wr($n,(function(t,e){It.call($n.prototype,e)||(Ml[e]=t)})),Ml),{chain:!1}),$n.VERSION="4.17.21",Te(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){$n[t].placeholder=$n})),Te(["drop","take"],(function(t,e){Un.prototype[t]=function(n){n=n===i?1:bn(vs(n),0);var r=this.__filtered__&&!e?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,_),type:t+(r.__dir__<0?"Right":"")}),r},Un.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Te(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Un.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:uo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Te(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Un.prototype[t]=function(){return this[n](1).value()[0]}})),Te(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Un.prototype[t]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(al)},Un.prototype.find=function(t){return this.filter(t).head()},Un.prototype.findLast=function(t){return this.reverse().find(t)},Un.prototype.invokeMap=Kr((function(t,e){return"function"==typeof t?new Un(this):this.map((function(n){return Or(n,t,e)}))})),Un.prototype.reject=function(t){return this.filter(Ra(uo(t)))},Un.prototype.slice=function(t,e){t=vs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Un(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=vs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Un.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Un.prototype.toArray=function(){return this.take(_)},wr(Un.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=$n[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&($n.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,l=e instanceof Un,c=s[0],u=l||Wa(e),d=function(t){var e=o.apply($n,Pe([t],s));return r&&h?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=l&&!f;if(!a&&u){e=m?e:new Un(this);var _=t.apply(e,s);return _.__actions__.push({func:_a,args:[d],thisArg:i}),new Vn(_,h)}return p&&m?t.apply(this,s):(_=this.thru(d),p?r?_.value()[0]:_.value():_)})})),Te(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Dt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);$n.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Wa(i)?i:[],t)}return this[n]((function(n){return e.apply(Wa(n)?n:[],t)}))}})),wr(Un.prototype,(function(t,e){var n=$n[e];if(n){var r=n.name+"";It.call(zn,r)||(zn[r]=[]),zn[r].push({name:e,func:n})}})),zn[$i(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var t=new Un(this.__wrapped__);return t.__actions__=Di(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Di(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Di(this.__views__),t},Un.prototype.reverse=function(){if(this.__filtered__){var t=new Un(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Un.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Wa(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=xn(e,t+a);break;case"takeRight":t=bn(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,h=0,f=xn(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return _i(t,this.__actions__);var p=[];t:for(;l--&&h<f;){for(var m=-1,_=t[c+=e];++m<d;){var v=u[m],g=v.iteratee,y=v.type,b=g(_);
2if(2==y)_=b;else if(!b){if(1==y)continue t;break t}}p[h++]=_}return p},$n.prototype.at=va,$n.prototype.chain=function(){return ma(this)},$n.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},$n.prototype.next=function(){this.__values__===i&&(this.__values__=ms(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},$n.prototype.plant=function(t){for(var e,n=this;n instanceof Hn;){var r=$o(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},$n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Un){var e=t;return this.__actions__.length&&(e=new Un(this)),(e=e.reverse()).__actions__.push({func:_a,args:[ra],thisArg:i}),new Vn(e,this.__chain__)}return this.thru(ra)},$n.prototype.toJSON=$n.prototype.valueOf=$n.prototype.value=function(){return _i(this.__wrapped__,this.__actions__)},$n.prototype.first=$n.prototype.head,te&&($n.prototype[te]=function(){return this}),$n}();fe._=vn,(r=function(){return vn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},82492:(t,e,n)=>{var r=n(42980),i=n(21463)((function(t,e,n){r(t,e,n)}));t.exports=i},70479:t=>{t.exports=function(){return[]}},95062:t=>{t.exports=function(){return!1}},59881:(t,e,n)=>{var r=n(98363),i=n(81704);t.exports=function(t){return r(t,i(t))}},70755:t=>{window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";n.r(e);var r=[{name:"moveend",check:function(t,e){return e.center&&t.isMoving()}},{name:"zoomend",check:function(t,e){return void 0!==e.zoom&&null!==e.zoom&&t.isZooming()}},{name:"rotateend",check:function(t,e){return void 0!==e.bearing&&null!==e.bearing&&t.isRotating()}},{name:"pitchend",check:function(t,e){return void 0!==e.pitch&&null!==e.bearing&&t.isMoving()}}],i=function(t){return{center:t.getCenter(),zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch()}},o={events:r,getter:i},a={events:[{name:"moveend",check:function(t){return t.isMoving()}}],getter:function(t){return{center:t.getCenter()}}},s={events:[{name:"zoomend",check:function(t){return t.isZooming()}}],getter:function(t){return{zoom:t.getZoom()}}},l={events:[{name:"rotateend",check:function(t){return t.isRotating()}}],getter:function(t){return{bearing:t.getBearing()}}},c={setCenter:a,panBy:a,panTo:a,setZoom:s,zoomTo:s,zoomIn:s,zoomOut:s,setBearing:l,rotateTo:l,resetNorth:l,snapToNorth:l,setPitch:{events:[{name:"pitchend",check:function(t){return!0}}],getter:function(t){return{pitch:t.getPitch()}}},fitBounds:{events:[{name:"zoomend",check:function(t){return t.isZooming()}},{name:"moveend",check:function(t){return t.isMoving()}},{name:"rotateend",check:function(t){return t.isRotating()}}],getter:function(t){return{zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch(),center:t.getCenter()}}},fitScreenCoordinates:{events:[{name:"zoomend",check:function(t,e){return t.isZooming()}},{name:"moveend",check:function(t,e){return t.isMoving()}},{name:"rotateend",check:function(t,e){return e.bearing&&t.isRotating()}}],getter:function(t){return{zoom:t.getZoom(),center:t.getCenter(),bearing:t.getBearing(),pitch:t.getPitch()}}},jumpTo:o,easeTo:o,flyTo:o};function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){h(t,e,n[e])}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){return"".concat(t,"-").concat((""+Math.random()).split(".")[1])}function p(t,e,n,r){var i=function i(o){o.type===e&&o.eventId===n&&(t.off(e,i),r(o))};return i}function m(t,e){var n=t[e],r=n.length;return function(){for(var i=[],o={eventId:f(e)},a=c[e].events.map((function(e,n){return{event:e,func:new Promise((function(r,a){
2i[n]={event:e,func:p(t,e.name,o.eventId,r)},t.on(e.name,i[n].func)}))}})),s=[],l=0;l<r;l++)l===r-1?s.push(d({},o,(l<0||arguments.length<=l?void 0:arguments[l])||{})):s.push((l<0||arguments.length<=l?void 0:arguments[l])||null);var h=[],m=(arguments.length<=0?void 0:arguments[0])||{};try{n.apply(t,s),"fitBounds"===e&&(m={}),"fitScreenCoordinates"===e&&((m={bearing:null}).bearing=null,"number"==typeof(arguments.length<=2?void 0:arguments[2])&&(m.bearing=arguments.length<=2?void 0:arguments[2]),(arguments.length<=3?void 0:arguments[3])&&"object"===u(arguments.length<=3?void 0:arguments[3])&&(m=d({},m,arguments.length<=3?void 0:arguments[3]))),h=a.map((function(e){var n=e.event,r=e.func;return n.check(t,m)?r:(t.off(n.name,r),Promise.resolve())}))}catch(e){throw i.forEach((function(e){var n=e.event,r=e.func;t.off(n.name,r)})),e}return Promise.all(h).then((function(){return c[e].getter(t)}))}}var _=m,v=function(t){var e=Object.keys(c),n={};return e.forEach((function(r){-1!==e.indexOf(r)&&(n[r]=_(t,r))})),n};function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?_(t,e):v(t)}n.d(e,"default",(function(){return g}))}]).default},6158:function(t,e,n){var r=n(34155);t.exports=function(){"use strict";var t,e,n;function i(r,i){if(t)if(e){var o="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk); self.onerror = null;",a={};t(a),n=i(a),"undefined"!=typeof window&&window&&window.URL&&window.URL.createObjectURL&&(n.workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"})))}else e=i;else t=i}return i(["exports"],(function(t){var e="undefined"!=typeof self?self:{},n="2.11.0";let i;const o={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(null==i){const t=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{i=null!=r.env.API_URL_REGEX?new RegExp(r.env.API_URL_REGEX):t}catch(e){i=t}}return i},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get EVENTS_URL(){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},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},a={supported:!1,testSupport:function(t){!c&&l&&(u?d(t):s=t)}};let s,l,c=!1,u=!1;function d(t){const e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,l),t.isContextLost())return;a.supported=!0}
vendor: 12,423 bytes, line 2
2catch(t){}t.deleteTexture(e),c=!0}e.document&&(l=e.document.createElement("img"),l.onload=function(){s&&d(s),s=null,u=!0},l.onerror=function(){c=!0,s=null},l.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const h="01";var f=p;function p(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r}p.prototype={sampleCurveX:function(t){return((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)<e)return n;var o=this.sampleCurveDerivativeX(n);if(Math.abs(o)<1e-6)break;n-=i/o}var a=0,s=1;for(n=t,r=0;r<20&&(i=this.sampleCurveX(n),!(Math.abs(i-t)<e));r++)t>i?a=n:s=n,n=.5*(s-a)+a;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}};var m=_;function _(t,e){this.x=t,this.y=e}_.prototype={clone:function(){return new _(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),n=Math.sin(t),r=n*this.x+e*this.y;return this.x=e*this.x-n*this.y,this.y=r,this},_rotateAround:function(t,e){var n=Math.cos(t),r=Math.sin(t),i=e.y+r*(this.x-e.x)+n*(this.y-e.y);return this.x=e.x+n*(this.x-e.x)-r*(this.y-e.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},_.convert=function(t){return t instanceof _?t:Array.isArray(t)?new _(t[0],t[1]):t};const v=Math.PI/180,g=180/Math.PI;function y(t){return t*v}function b(t){return t*g}const x=[[0,0],[1,0],[1,1],[0,1]];function w(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function k(t,e,n,r){const i=new f(t,e,n,r);return function(t){return i.solve(t)}}const M=k(.25,.1,.25,1);function C(t,e,n){return Math.min(n,Math.max(e,t))}function S(t,e,n){return(n=C((n-t)/(e-t),0,1))*n*(3-2*n)}function T(t,e,n){const r=n-e,i=((t-e)%r+r)%r+e;return i===e?n:i}function L(t,e,n){if(!t.length)return n(null,[]);let r=t.length;const i=new Array(t.length);let o=null;t.forEach(((t,a)=>{e(t,((t,e)=>{t&&(o=t),i[a]=e,0==--r&&n(o,i)}))}))}function E(t){const e=[];for(const n in t)e.push(t[n]);return e}function A(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}let D=1;function O(){return D++}function z(){return function t(e){return e?(e^Math.random()*(16>>e/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function P(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function j(t){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)}function I(t,e){t.forEach((t=>{e[t]&&(e[t]=e[t].bind(e))}))}function Y(t,e){return-1!==t.indexOf(e,t.length-e.length)}function R(t,e,n){const r={};for(const i in t)r[i]=e.call(n||this,t[i],i,t);return r}function F(t,e,n){const r={};for(const i in t)e.call(n||this,t[i],i,t)&&(r[i]=t[i]);return r}function B(t){return Array.isArray(t)?t.map(B):"object"==typeof t&&t?R(t,B):t}const N={};function $(t){N[t]||("undefined"!=typeof console&&console.warn(t),N[t]=!0)}function Z(t,e,n){return(n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function H(t){let e=0;for(let n,r,i=0,o=t.length,a=o-1;i<o;a=i++)n=t[i],r=t[a],e+=(r.x-n.x)*(n.y+r.y);return e}function V(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function U(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,((t,n,r,i)=>{const o=r||i;return e[n]=!o||o.toLowerCase(),""})),e["max-age"]){const t=parseInt(e["max-age"],10);isNaN(t)?delete e["max-age"]:e["max-age"]=t}return e}let W=null;function G(t){if(null==W){const e=t.navigator?t.navigator.userAgent:null;W=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return W}function q(t){try{const n=e[t];return n.setItem("_mapbox_test_",1),n.removeItem("_mapbox_test_"),!0}catch(t){return!1}}function X(t,e){return[t[4*e],t[4*e+1],t[4*e+2],t[4*e+3]]}const J="mapbox-tiles";let K,Q,tt=500,et=50;function nt(){try{return e.caches}catch(t){}}function rt(){nt()&&!K&&(K=e.caches.open(J))}function it(t){const e=t.indexOf("?");if(e<0)return t;const n=function(t){const e=t.indexOf("?");return e>0?t.slice(e+1).split("&"):[]}(t),r=n.filter((t=>{const e=t.split("=");return"language"===e[0]||"worldview"===e[0]}));return r.length?`${t.slice(0,e)}?${r.join("&")}`:t.slice(0,e)}let ot=1/0;const at={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(at);class st extends Error{constructor(t,e,n){401===e&&gt(n)&&(t+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),super(t),this.status=e,this.url=n}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const lt=V()?()=>self.worker&&self.worker.referrer:()=>("blob:"===e.location.protocol?e.parent:e).location.href,ct=function(t,n){if(!(/^file:/.test(r=t.url)||/^file:/.test(lt())&&!/^\w+:/.test(r))){if(e.fetch&&e.Request&&e.AbortController&&e.Request.prototype.hasOwnProperty("signal"))return function(t,n){const r=new e.AbortController,i=new e.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:lt(),signal:r.signal});let o=!1,a=!1;const s=(l=i.url).indexOf("sku=")>0&&gt(l);var l;"json"===t.type&&i.headers.set("Accept","application/json");const c=(r,o,l)=>{if(a)return;if(r&&"SecurityError"!==r.message&&$(r),o&&l)return u(o);const c=Date.now();e.fetch(i).then((e=>{if(e.ok){const t=s?e.clone():null;return u(e,t,c)}return n(new st(e.statusText,e.status,t.url))})).catch((t=>{20!==t.code&&n(new Error(t.message))}))},u=(r,s,l)=>{("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((t=>{a||(s&&l&&function(t,n,r){if(rt(),!K)return;const i={status:n.status,statusText:n.statusText,headers:new e.Headers};n.headers.forEach(((t,e)=>i.headers.set(e,t)));const o=U(n.headers.get("Cache-Control")||"");if(o["no-store"])return;o["max-age"]&&i.headers.set("Expires",new Date(r+1e3*o["max-age"]).toUTCString());const a=i.headers.get("Expires");a&&(new Date(a).getTime()-r<42e4||function(t,e){if(void 0===Q)try{new Response(new ReadableStream),Q=!0}catch(t){Q=!1}Q?e(t.body):t.blob().then(e)}(n,(n=>{const r=new e.Response(n,i);rt(),K&&K.then((e=>e.put(it(t.url),r))).catch((t=>$(t.message)))})))}(i,s,l),o=!0,n(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((t=>{a||n(new Error(t.message))}))};return s?function(t,e){if(rt(),!K)return e(null);const n=it(t.url);K.then((t=>{t.match(n).then((r=>{const i=function(t){if(!t)return!1;const e=new Date(t.headers.get("Expires")||0),n=U(t.headers.get("Cache-Control")||"");return e>Date.now()&&!n["no-cache"]}(r);t.delete(n),i&&t.put(n,r.clone()),e(null,r,i)})).catch(e)})).catch(e)}(i,c):c(null,null),{cancel:()=>{a=!0,o||r.abort()}}}(t,n);if(V()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,n,void 0,!0)}var r;return function(t,n){const r=new e.XMLHttpRequest;r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer");for(const e in t.headers)r.setRequestHeader(e,t.headers[e]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=()=>{n(new Error(r.statusText))},r.onload=()=>{if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){let e=r.response;if("json"===t.type)try{e=JSON.parse(r.response)}catch(t){return n(t)}n(null,e,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else n(new st(r.statusText,r.status,t.url))},r.send(t.body),{cancel:()=>r.abort()}}(t,n)},ut=function(t,e){return ct(A(t,{type:"arrayBuffer"}),e)};function dt(t){const n=e.document.createElement("a");return n.href=t,n.protocol===e.document.location.protocol&&n.host===e.document.location.host}const ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let ft,pt;ft=[],pt=0;const mt=function(t,n){if(a.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),pt>=o.MAX_PARALLEL_IMAGE_REQUESTS){const e={requestParameters:t,callback:n,cancelled:!1,cancel(){this.cancelled=!0}};return ft.push(e),e}pt++;let r=!1;const i=()=>{if(!r)for(r=!0,pt--;ft.length&&pt<o.MAX_PARALLEL_IMAGE_REQUESTS;){const t=ft.shift(),{requestParameters:e,callback:n,cancelled:r}=t;r||(t.cancel=mt(e,n).cancel)}},s=ut(t,((t,r,o,a)=>{i(),t?n(t):r&&(e.createImageBitmap?function(t,n){const r=new e.Blob([new Uint8Array(t)],{type:"image/png"});e.createImageBitmap(r).then((t=>{n(null,t)})).catch((t=>{n(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.`))}))}(r,((t,e)=>n(t,e,o,a))):function(t,n){const r=new e.Image,i=e.URL;r.onload=()=>{n(null,r),i.revokeObjectURL(r.src),r.onload=null,e.requestAnimationFrame((()=>{r.src=ht}))},r.onerror=()=>n(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."));const o=new e.Blob([new Uint8Array(t)],{type:"image/png"});r.src=t.byteLength?i.createObjectURL(o):ht}(r,((t,e)=>n(t,e,o,a))))}));return{cancel:()=>{s.cancel(),i()}}},_t="NO_ACCESS_TOKEN";function vt(t){return 0===t.indexOf("mapbox:")}function gt(t){return o.API_URL_REGEX.test(t)}function yt(t){return o.API_STYLE_REGEX.test(t)&&!bt(t)}function bt(t){return o.API_SPRITE_REGEX.test(t)}const xt=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function wt(t){const e=t.match(xt);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function kt(t){const e=t.params.length?`?${t.params.join("&")}`:"";return`${t.protocol}://${t.authority}${t.path}${e}`}function Mt(t){if(!t)return null;const n=t.split(".");if(!n||3!==n.length)return null;try{return JSON.parse(decodeURIComponent(e.atob(n[1]).split("").map((t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2))).join("")))}catch(t){return null}}class Ct{constructor(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(t){const n=Mt(o.ACCESS_TOKEN);let r="";return r=n&&n.u?e.btoa(encodeURIComponent(n.u).replace(/%([0-9A-F]{2})/g,((t,e)=>
2String.fromCharCode(Number("0x"+e))))):o.ACCESS_TOKEN||"",t?`mapbox.eventData.${t}:${r}`:`mapbox.eventData:${r}`}fetchEventData(){const t=q("localStorage"),n=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{const t=e.localStorage.getItem(n);t&&(this.eventData=JSON.parse(t));const i=e.localStorage.getItem(r);i&&(this.anonId=i)}catch(t){$("Unable to read from LocalStorage")}}saveEventData(){const t=q("localStorage"),n=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{e.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&e.localStorage.setItem(n,JSON.stringify(this.eventData))}catch(t){$("Unable to write to LocalStorage")}}processRequests(t){}postEvent(t,e,n,r){if(!o.EVENTS_URL)return;const i=wt(o.EVENTS_URL);i.params.push(`access_token=${r||o.ACCESS_TOKEN||""}`);const a={event:this.type,created:new Date(t).toISOString()},s=e?A(a,e):a,l={url:kt(i),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=function(t,e){return ct(A(t,{method:"POST"}),e)}(l,(t=>{this.pendingRequest=null,n(t),this.saveEventData(),this.processRequests(r)}))}queueRequest(t,e){this.queue.push(t),this.processRequests(e)}}const St=new class extends Ct{constructor(t){super("appUserTurnstile"),this._customAccessToken=t}postTurnstileEvent(t,e){o.EVENTS_URL&&o.ACCESS_TOKEN&&Array.isArray(t)&&t.some((t=>vt(t)||gt(t)))&&this.queueRequest(Date.now(),e)}processRequests(t){if(this.pendingRequest||0===this.queue.length)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const e=Mt(o.ACCESS_TOKEN),r=e?e.u:o.ACCESS_TOKEN;let i=r!==this.eventData.tokenU;j(this.anonId)||(this.anonId=z(),i=!0);const a=this.queue.shift();if(this.eventData.lastSuccess){const t=new Date(this.eventData.lastSuccess),e=new Date(a),n=(a-this.eventData.lastSuccess)/864e5;i=i||n>=1||n<-1||t.getDate()!==e.getDate()}else i=!0;i?this.postEvent(a,{sdkIdentifier:"mapbox-gl-js",sdkVersion:n,skuId:h,"enabled.telemetry":!1,userId:this.anonId},(t=>{t||(this.eventData.lastSuccess=a,this.eventData.tokenU=r)}),t):this.processRequests()}},Tt=St.postTurnstileEvent.bind(St),Lt=new class extends Ct{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(t,e,n,r){this.skuToken=e,this.errorCb=r,o.EVENTS_URL&&(n||o.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},n):this.errorCb(new Error(_t)))}processRequests(t){if(this.pendingRequest||0===this.queue.length)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||(this.anonId||this.fetchEventData(),j(this.anonId)||(this.anonId=z()),this.postEvent(r,{sdkIdentifier:"mapbox-gl-js",sdkVersion:n,skuId:h,skuToken:this.skuToken,userId:this.anonId},(t=>{t?this.errorCb(t):e&&(this.success[e]=!0)}),t))}},Et=Lt.postMapLoadEvent.bind(Lt),At=new class extends Ct{constructor(){super("gljs.performance")}postPerformanceEvent(t,e){o.EVENTS_URL&&(t||o.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:e},t)}processRequests(t){if(this.pendingRequest||0===this.queue.length)return;const{timestamp:r,performanceData:i}=this.queue.shift(),o=function(t){const r=e.performance.getEntriesByType("resource"),i=e.performance.getEntriesByType("mark"),o=function(t){const e={};if(t)for(const n in t)if("other"!==n)for(const r of t[n]){const t=`${n}RequestCount`,i=`${n}ResolveRangeMin`,o=`${n}ResolveRangeMax`;e[i]=Math.min(e[i]||1/0,r.startTime),e[o]=Math.max(e[o]||-1/0,r.responseEnd),void 0===e[t]&&(e[t]=0),++e[t]}return e}(function(t,e){const n={};if(t)for(const r of t){const t=e(r);void 0===n[t]&&(n[t]=[]),n[t].push(r)}return n}(r,Yt)),a=e.devicePixelRatio,s=e.navigator.connection||e.navigator.mozConnection||e.navigator.webkitConnection,l={counters:[],metadata:[],attributes:[]},c=(t,e,n)=>{null!=n&&t.push({name:e,value:n.toString()})};for(const t in o)c(l.counters,t,o[t]);if(t.interactionRange[0]!==1/0&&t.interactionRange[1]!==-1/0&&(c(l.counters,"interactionRangeMin",t.interactionRange[0]),c(l.counters,"interactionRangeMax",t.interactionRange[1])),i)for(const t of Object.keys(jt)){const e=jt[t],n=i.find((t=>t.name===e));n&&c(l.counters,e,n.startTime)}return c(l.attributes,"style",function(t){if(t)for(const e of t){const t=e.name.split("?")[0];if(yt(t)){const e=t.split("/").slice(-2);if(2===e.length)return`mapbox://styles/${e[0]}/${e[1]}`}}}(r)),c(l.attributes,"terrainEnabled",t.terrainEnabled?"true":"false"),c(l.attributes,"fogEnabled",t.fogEnabled?"true":"false"),c(l.attributes,"projection",t.projection.name),c(l.attributes,"zoom",t.zoom),c(l.metadata,"devicePixelRatio",a),c(l.metadata,"connectionEffectiveType",s?s.effectiveType:void 0),c(l.metadata,"navigatorUserAgent",e.navigator.userAgent),c(l.metadata,"screenWidth",e.screen.width),c(l.metadata,"screenHeight",e.screen.height),c(l.metadata,"windowWidth",e.innerWidth),c(l.metadata,"windowHeight",e.innerHe
vendor: 6,898 bytes, line 2
2ight),c(l.metadata,"mapWidth",t.width/a),c(l.metadata,"mapHeight",t.height/a),c(l.metadata,"webglRenderer",t.renderer),c(l.metadata,"webglVendor",t.vendor),c(l.metadata,"sdkVersion",n),c(l.metadata,"sdkIdentifier","mapbox-gl-js"),l}(i);for(const t of o.metadata);for(const t of o.counters);for(const t of o.attributes);this.postEvent(r,o,(()=>{}),t)}},Dt=At.postPerformanceEvent.bind(At),Ot=new class extends Ct{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(t,e,n,r){if(!o.API_URL||!o.SESSION_PATH)return;const i=wt(o.API_URL+o.SESSION_PATH);i.params.push(`sku=${e||""}`),i.params.push(`access_token=${r||o.ACCESS_TOKEN||""}`);const a={url:kt(i),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(t,e){return ct(A(t,{method:"GET"}),e)}(a,(t=>{this.pendingRequest=null,n(t),this.saveEventData(),this.processRequests(r)}))}getSessionAPI(t,e,n,r){this.skuToken=e,this.errorCb=r,o.SESSION_PATH&&o.API_URL&&(n||o.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},n):this.errorCb(new Error(_t)))}processRequests(t){if(this.pendingRequest||0===this.queue.length)return;const{id:e,timestamp:n}=this.queue.shift();e&&this.success[e]||this.getSession(n,this.skuToken,(t=>{t?this.errorCb(t):e&&(this.success[e]=!0)}),t)}},zt=Ot.getSessionAPI.bind(Ot),Pt=new Set,jt={create:"create",load:"load",fullLoad:"fullLoad"},It={mark(t){e.performance.mark(t)},measure(t,n,r){e.performance.measure(t,n,r)}};function Yt(t){const e=t.name.split("?")[0];return e.includes("mapbox-gl.js")?"javascript":e.includes("mapbox-gl.css")?"css":function(t){return o.API_FONTS_REGEX.test(t)}(e)?"fontRange":bt(e)?"sprite":yt(e)?"style":function(t){return o.API_TILEJSON_REGEX.test(t)}(e)?"tilejson":"other"}const Rt=e.performance;function Ft(t){const e=t?t.url.toString():void 0;return Rt.getEntriesByName(e)}let Bt,Nt,$t,Zt;const Ht={now:()=>void 0!==$t?$t:e.performance.now(),setNow(t){$t=t},restoreNow(){$t=void 0},frame(t){const n=e.requestAnimationFrame(t);return{cancel:()=>e.cancelAnimationFrame(n)}},getImageData(t,n=0){const{width:r,height:i}=t;Zt||(Zt=e.document.createElement("canvas"));const o=Zt.getContext("2d");if(!o)throw new Error("failed to create canvas 2d context");return(r>Zt.width||i>Zt.height)&&(Zt.width=r,Zt.height=i),o.clearRect(-n,-n,r+2*n,i+2*n),o.drawImage(t,0,0,r,i),o.getImageData(-n,-n,r+2*n,i+2*n)},resolveURL:t=>(Bt||(Bt=e.document.createElement("a")),Bt.href=t,Bt.href),get devicePixelRatio(){return e.devicePixelRatio},get prefersReducedMotion(){return!!e.matchMedia&&(null==Nt&&(Nt=e.matchMedia("(prefers-reduced-motion: reduce)")),Nt.matches)}};function Vt(t,e,n){n[t]&&-1!==n[t].indexOf(e)||(n[t]=n[t]||[],n[t].push(e))}function Ut(t,e,n){if(n&&n[t]){const r=n[t].indexOf(e);-1!==r&&n[t].splice(r,1)}}class Wt{constructor(t,e={}){A(this,e),this.type=t}}class Gt extends Wt{constructor(t,e={}){super("error",A({error:t},e))}}class qt{on(t,e){return this._listeners=this._listeners||{},Vt(t,e,this._listeners),this}off(t,e){return Ut(t,e,this._listeners),Ut(t,e,this._oneTimeListeners),this}once(t,e){return e?(this._oneTimeListeners=this._oneTimeListeners||{},Vt(t,e,this._oneTimeListeners),this):new Promise((e=>this.once(t,e)))}fire(t,e){"string"==typeof t&&(t=new Wt(t,e||{}));const n=t.type;if(this.listens(n)){t.target=this;const e=this._listeners&&this._listeners[n]?this._listeners[n].slice():[];for(const n of e)n.call(this,t);const r=this._oneTimeListeners&&this._oneTimeListeners[n]?this._oneTimeListeners[n].slice():[];for(const e of r)Ut(n,e,this._oneTimeListeners),e.call(this,t);const i=this._eventedParent;i&&(A(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),i.fire(t))}else t instanceof Gt&&console.error(t.error);return this}listens(t){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))}setEventedParent(t,e){return this._eventedParent=t,this._eventedParentData=e,this}}var Xt=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360,"units":"degrees"},"pitch":{"type":"number","default":0,"units":"degrees"},"light":{"type":"light"},"terrain":{"type":"terrain"},"fog":{"type":"fog"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"scheme":{"type":"enum","values":{"xyz":{},"tms":{}},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"scheme":{"type":"enum","values":{"xyz":{},"tms":{}},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":{},"mapbox":{}},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":{}}},"data":{"type":"*"},"maxzoom":{"type":"number","default":18},"attribution":{"type":"string"},"buffer":{"type":"number","default":128,"maximum":512,"minimum":0},"filter":{"type":"*"},"tolerance":{"type":"number","default":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0}
2,"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":{}}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":{}}},"url":{"required":true,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"hillshade":{},"background":{},"sky":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":24},"maxzoom":{"type":"number","minimum":0,"maximum":24},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],"layout_background":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1
vendor: 17,950 bytes, line 2
2,"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":{},"round":{},"square":{}},"default":"butt","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":{},"round":{},"miter":{}},"default":"miter","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"requires":[{"line-join":"miter"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"requires":[{"line-join":"round"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":{},"line":{},"line-center":{}},"default":"point","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"units":"pixels","requires":[{"symbol-placement":"line"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":{},"viewport-y":{},"source":{}},"default":"auto","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"requires":["icon-image","text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"units":"factor of the original icon size","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":{},"width":{},"height":{},"both":{}},"default":"none","requires":["icon-image","text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"units":"pixels","requires":["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"units":"degrees","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"requires":["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"default":"center","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"units":"ems","requires":["text-field",{"symbol-placement":["point"]}],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"units":"ems","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"units":"ems","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":{},"left":{},"center":{},"right":{}},"default":"center","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","units":"ems","default":0,"requires":["text-field"],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"requires":["text-field",{"symbol-placement":["point"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"default":"center","requires":["text-field",{"!":"text-variable-anchor"}],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"units":"degrees","requires":["text-field",{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":{},"vertical":{}},"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"units":"degrees","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"requires":["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":{},"uppercase":{},"lowercase":{}},"default":"none","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","units":"ems","length":2,"default":[0,0],"requires":["text-field",{"!":"text-radial-offset"}],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"requires":["text-field","icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},"in":{},"!in":{},"all":{},"any":{},"none":{},"has":{},"!has":{},"within":{}}},"geometry_type":{"type":"enum","values":{"Point":{},"LineString":{},"Polygon":{}}},"function":{"expression":{"type":"expression"},"stops":{"type":"array","value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":{"identity":{},"exponential":{},"interval":{},"categorical":{}},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":{},"lab":{},"hcl":{}},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":{},"viewport":{}},"property-type":"data-constant","transition":false,"expression":{"interpolated":false,"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":{},"equalEarth":{},"equirectangular":{},"lambertConformalConic":{},"mercator":{},"naturalEarth":{},"winkelTripel":{},"globe":{}},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90],"transition":false,"requires":[{"name":["albers","lambertConformalConic"]}]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90],"transition":false,"requires":[{"name":["albers","lambertConformalConic"]}]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true,"requires":["source"]}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"fill-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"requires":[{"!":"fill-pattern"},{"fill-antialias":true}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["fill-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","transition":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"fill-extrusion-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["fill-extrusion-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","transition":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"units":"meters","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"units":"meters","transition":true,"requires":["fill-extrusion-height"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"}
vendor: 15,297 bytes, line 2
2,"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true,"requires":["fill-extrusion-edge-radius"]}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"line-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["line-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"transition":true,"units":"line widths","requires":[{"!":"line-pattern"}],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{"type":"resolvedImage","transition":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{"type":"color","transition":false,"requires":[{"!":"line-pattern"},{"source":"geojson","has":{"lineMetrics":true}}],"expression":{"interpolated":true,"parameters":["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{"type":"array","value":"number","length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"transition":false,"requires":[{"source":"geojson","has":{"lineMetrics":true}}],"property-type":"constant"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["circle-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{}},"default":"viewport","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"transition":false,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"transition":false,"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["icon-image","icon-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["text-field","text-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"units":"degrees","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":{},"nearest":{}},"default":"linear","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"transition":false,"units":"milliseconds","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"transition":false,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"viewport","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"background-pattern"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","transition":true,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"cross-faded"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":{},"atmosphere":{}},"default":"atmosphere","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"units":"degrees","minimum":[0,0],"maximum":[360,180],"transition":false,"requires":[{"sky-type":"atmosphere"}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","requires":[{"sky-type":"atmosphere"}],"default":10,"minimum":0,"maximum":100,"transition":false,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","requires":[{"sky-type":"gradient"}],"value":"number","default":[0,0],"length":2,"units":"degrees","minimum":[0,0],"maximum":[360,180],"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","requires":[{"sky-type":"gradient"}],"default":90,"minimum":0,"maximum":180,"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"transition":false,"requires":[{"sky-type":"gradient"}],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","transition":false,"requires":[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","transition":false,"requires":[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0,"units":"milliseconds"},"delay":{"type":"number","default":0,"minimum":0,"units":"milliseconds"}},"property-type":{"data-driven":{"type":"property-type"},"cross-faded":{"type":"property-type"},"cross-faded-data-driven":{"type":"property-type"},"color-ramp":{"type":"property-type"},"data-constant":{"type":"property-type"},"constant":{"type":"property-type"}},"promoteId":{"*":{"type":"string"}}}');function Jt(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}function Kt(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function Qt(t){if(Array.isArray(t))return t.map(Qt);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){const e={};for(const n in t)e[n]=Qt(t[n]);return e}return Kt(t)}
vendor: 11,592 bytes, line 2
2class te extends Error{constructor(t,e){super(e),this.message=e,this.key=t}}var ee=te;class ne{constructor(t,e=[]){this.parent=t,this.bindings={};for(const[t,n]of e)this.bindings[t]=n}concat(t){return new ne(this,t)}get(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(`${t} not found in scope.`)}has(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)}}var re=ne;const ie={kind:"null"},oe={kind:"number"},ae={kind:"string"},se={kind:"boolean"},le={kind:"color"},ce={kind:"object"},ue={kind:"value"},de={kind:"collator"},he={kind:"formatted"},fe={kind:"resolvedImage"};function pe(t,e){return{kind:"array",itemType:t,N:e}}function me(t){if("array"===t.kind){const e=me(t.itemType);return"number"==typeof t.N?`array<${e}, ${t.N}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const _e=[ie,oe,ae,se,le,he,ce,pe(ue),fe];function ve(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!ve(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of _e)if(!ve(t,e))return null}return`Expected ${me(t)} but found ${me(e)} instead.`}function ge(t,e){return e.some((e=>e.kind===t.kind))}function ye(t,e){return e.some((e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t))}var be,xe={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function we(t){return(t=Math.round(t))<0?0:t>255?255:t}function ke(t){return we("%"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function Me(t){return(e="%"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function Ce(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}try{be={}.parseCSSColor=function(t){var e,n=t.replace(/ /g,"").toLowerCase();if(n in xe)return xe[n].slice();if("#"===n[0])return 4===n.length?(e=parseInt(n.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===n.length&&(e=parseInt(n.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var r=n.indexOf("("),i=n.indexOf(")");if(-1!==r&&i+1===n.length){var o=n.substr(0,r),a=n.substr(r+1,i-(r+1)).split(","),s=1;switch(o){case"rgba":if(4!==a.length)return null;s=Me(a.pop());case"rgb":return 3!==a.length?null:[ke(a[0]),ke(a[1]),ke(a[2]),s];case"hsla":if(4!==a.length)return null;s=Me(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,c=Me(a[1]),u=Me(a[2]),d=u<=.5?u*(c+1):u+c-u*c,h=2*u-d;return[we(255*Ce(h,d,l+1/3)),we(255*Ce(h,d,l)),we(255*Ce(h,d,l-1/3)),s];default:return null}}return null}}catch(t){}class Se{constructor(t,e,n,r=1){this.r=t,this.g=e,this.b=n,this.a=r}static parse(t){if(!t)return;if(t instanceof Se)return t;if("string"!=typeof t)return;const e=be(t);return e?new Se(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3]):void 0}toString(){const[t,e,n,r]=this.toArray();return`rgba(${Math.round(t)},${Math.round(e)},${Math.round(n)},${r})`}toArray(){const{r:t,g:e,b:n,a:r}=this;return 0===r?[0,0,0,0]:[255*t/r,255*e/r,255*n/r,r]}toArray01(){const{r:t,g:e,b:n,a:r}=this;return 0===r?[0,0,0,0]:[t/r,e/r,n/r,r]}toArray01PremultipliedAlpha(){const{r:t,g:e,b:n,a:r}=this;return[t,e,n,r]}}Se.black=new Se(0,0,0,1),Se.white=new Se(1,1,1,1),Se.transparent=new Se(0,0,0,0),Se.red=new Se(1,0,0,1),Se.blue=new Se(0,0,1,1);var Te=Se;class Le{constructor(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Ee{constructor(t,e,n,r,i){this.text=t.normalize?t.normalize():t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i}}class Ae{constructor(t){this.sections=t}static fromString(t){return new Ae([new Ee(t,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((t=>0!==t.text.length||t.image&&0!==t.image.name.length))}static factory(t){return t instanceof Ae?t:Ae.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map((t=>t.text)).join("")}serialize(){const t=["format"];for(const e of this.sections){if(e.image){t.push(["image",e.image.name]);continue}t.push(e.text);const n={};e.fontStack&&(n["text-font"]=["literal",e.fontStack.split(",")]),e.scale&&(n["font-scale"]=e.scale),e.textColor&&(n["text-color"]=["rgba"].concat(e.textColor.toArray())),t.push(n)}return t}}class De{constructor(t){this.name=t.name,this.available=t.available}toString(){return this.name}static fromString(t){return t?new De({name:t,available:!1}):null}serialize(){return["image",this.name]}}function Oe(t,e,n,r){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[t,e,n,r].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof r?[t,e,n,r]:[t,e,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ze(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof Te)return!0;if(t instanceof Le)return!0;if(t instanceof Ae)return!0;if(t instanceof De)return!0;if(Array.isArray(t)){for(const e of t)if(!ze(e))return!1;return!0}if("object"==typeof t){for(const e in t)if(!ze(t[e]))return!1;return!0}return!1}function Pe(t){if(null===t)return ie;if("string"==typeof t)return ae;if("boolean"==typeof t)return se;if("number"==typeof t)return oe;if(t instanceof Te)return le;if(t instanceof Le)return de;if(t instanceof Ae)return he;if(t instanceof De)return fe;if(Array.isArray(t)){const e=t.length;let n;for(const e of t){const t=Pe(e);if(n){if(n===t)continue;n=ue;break}n=t}return pe(n||ue,e)}return ce}function je(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Te||t instanceof Ae||t instanceof De?t.toString():JSON.stringify(t)}class Ie{constructor(t,e){this.type=t,this.value=e}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!ze(t[1]))return e.error("invalid value");const n=t[1];let r=Pe(n);const i=e.expectedType;return"array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new Ie(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Te?["rgba"].concat(this.value.toArray()):this.value instanceof Ae?this.value.serialize():this.value}}var Ye=Ie,Re=class{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}};const Fe={string:ae,number:oe,boolean:se,object:ce};class Be{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n,r=1;const i=t[0];if("array"===i){let i,o;if(t.length>2){const n=t[1];if("string"!=typeof n||!(n in Fe)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=Fe[n],r++}else i=ue;if(t.length>3){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);o=t[2],r++}n=pe(i,o)}else n=Fe[i];const o=[];for(;r<t.length;r++){const n=e.parse(t[r],r,ue);if(!n)return null;o.push(n)}return new Be(n,o)}evaluate(t){for(let e=0;e<this.args.length;e++){const n=this.args[e].evaluate(t);if(!ve(this.type,Pe(n)))return n;if(e===this.args.length-1)throw new Re(`Expected value to be of type ${me(this.t
2ype)}, but found ${me(Pe(n))} instead.`)}return null}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}serialize(){const t=this.type,e=[t.kind];if("array"===t.kind){const n=t.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){e.push(n.kind);const r=t.N;("number"==typeof r||this.args.length>1)&&e.push(r)}}return e.concat(this.args.map((t=>t.serialize())))}}var Ne=Be;class $e{constructor(t){this.type=he,this.sections=t}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");const r=[];let i=!1;for(let n=1;n<=t.length-1;++n){const o=t[n];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;let t=null;if(o["font-scale"]&&(t=e.parse(o["font-scale"],1,oe),!t))return null;let n=null;if(o["text-font"]&&(n=e.parse(o["text-font"],1,pe(ae)),!n))return null;let a=null;if(o["text-color"]&&(a=e.parse(o["text-color"],1,le),!a))return null;const s=r[r.length-1];s.scale=t,s.font=n,s.textColor=a}else{const o=e.parse(t[n],1,ue);if(!o)return null;const a=o.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:o,scale:null,font:null,textColor:null})}}return new $e(r)}evaluate(t){return new Ae(this.sections.map((e=>{const n=e.content.evaluate(t);return Pe(n)===fe?new Ee("",n,null,null,null):new Ee(je(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor)}outputDefined(){return!1}serialize(){const t=["format"];for(const e of this.sections){t.push(e.content.serialize());const n={};e.scale&&(n["font-scale"]=e.scale.serialize()),e.font&&(n["text-font"]=e.font.serialize()),e.textColor&&(n["text-color"]=e.textColor.serialize()),t.push(n)}return t}}class Ze{constructor(t){this.type=fe,this.input=t}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,ae);return n?new Ze(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=De.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n}eachChild(t){t(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const He={"to-boolean":se,"to-color":le,"to-number":oe,"to-string":ae};class Ve{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[0];if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");const r=He[n],i=[];for(let n=1;n<t.length;n++){const r=e.parse(t[n],n,ue);if(!r)return null;i.push(r)}return new Ve(r,i)}evaluate(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){let e,n;for(const r of this.args){if(e=r.evaluate(t),n=null,e instanceof Te)return e;if("string"==typeof e){const n=t.parseColor(e);if(n)return n}else if(Array.isArray(e)&&(n=e.length<3||e.length>4?`Invalid rbga value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Oe(e[0],e[1],e[2],e[3]),!n))return new Te(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Re(n||`Could not parse color from value '${"string"==typeof e?e:String(JSON.stringify(e))}'`)}if("number"===this.type.kind){let e=null;for(const n of this.args){if(e=n.evaluate(t),null===e)return 0;const r=Number(e);if(!isNaN(r))return r}throw new Re(`Could not convert ${JSON.stringify(e)} to number.`)}return"formatted"===this.type.kind?Ae.fromString(je(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?De.fromString(je(this.args[0].evaluate(t))):je(this.args[0].evaluate(t))}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}serialize(){if("formatted"===this.type.kind)return new $e([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Ze(this.args[0]).serialize();const t=[`to-${this.type.kind}`];return this.eachChild((e=>{t.push(e.serialize())})),t}}
vendor: 117,160 bytes, line 2
2var Ue=Ve;const We=["Unknown","Point","LineString","Polygon"];var Ge=class{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null}id(){return this.feature&&void 0!==this.feature.id?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?We[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const t=this.featureDistanceData.center,e=this.featureDistanceData.scale,{x:n,y:r}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(n*e-t[0])+this.featureDistanceData.bearing[1]*(r*e-t[1])}return 0}parseColor(t){let e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Te.parse(t)),e}};class qe{constructor(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map((t=>t.serialize())))}static parse(t,e){const n=t[0],r=qe.definitions[n];if(!r)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,o=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,a=o.filter((([e])=>!Array.isArray(e)||e.length===t.length-1));let s=null;for(const[r,o]of a){s=new kn(e.registry,e.path,null,e.scope);const a=[];let l=!1;for(let e=1;e<t.length;e++){const n=t[e],i=Array.isArray(r)?r[e-1]:r.type,o=s.parse(n,1+a.length,i);if(!o){l=!0;break}a.push(o)}if(!l)if(Array.isArray(r)&&r.length!==a.length)s.error(`Expected ${r.length} arguments, but found ${a.length} instead.`);else{for(let t=0;t<a.length;t++){const e=Array.isArray(r)?r[t]:r.type,n=a[t];s.concat(t+1).checkSubtype(e,n.type)}if(0===s.errors.length)return new qe(n,i,o,a)}}if(1===a.length)e.errors.push(...s.errors);else{const n=(a.length?a:o).map((([t])=>{return e=t,Array.isArray(e)?`(${e.map(me).join(", ")})`:`(${me(e.type)}...)`;var e})).join(" | "),r=[];for(let n=1;n<t.length;n++){const i=e.parse(t[n],1+r.length);if(!i)return null;r.push(me(i.type))}e.error(`Expected arguments of type ${n}, but found (${r.join(", ")}) instead.`)}return null}static register(t,e){qe.definitions=e;for(const n in e)t[n]=qe}}var Xe=qe;class Je{constructor(t,e,n){this.type=de,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e}static parse(t,e){if(2!==t.length)return e.error("Expected one argument.");const n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");const r=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,se);if(!r)return null;const i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,se);if(!i)return null;let o=null;return n.locale&&(o=e.parse(n.locale,1,ae),!o)?null:new Je(r,i,o)}evaluate(t){return new Le(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)}eachChild(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)}outputDefined(){return!1}serialize(){const t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]}}const Ke=8192;function Qe(t,e){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])}function tn(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function en(t,e){const n=(180+t[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return[Math.round(n*i*Ke),Math.round(r*i*Ke)]}function nn(t,e,n){const r=t[0]-e[0],i=t[1]-e[1],o=t[0]-n[0],a=t[1]-n[1];return r*a-o*i==0&&r*o<=0&&i*a<=0}function rn(t,e){let n=!1;for(let a=0,s=e.length;a<s;a++){const s=e[a];for(let e=0,a=s.length;e<a-1;e++){if(nn(t,s[e],s[e+1]))return!1;(i=s[e])[1]>(r=t)[1]!=(o=s[e+1])[1]>r[1]&&r[0]<(o[0]-i[0])*(r[1]-i[1])/(o[1]-i[1])+i[0]&&(n=!n)}}var r,i,o;return n}function on(t,e){for(let n=0;n<e.length;n++)if(rn(t,e[n]))return!0;return!1}function an(t,e,n,r){const i=r[0]-n[0],o=r[1]-n[1],a=(t[0]-n[0])*o-i*(t[1]-n[1]),s=(e[0]-n[0])*o-i*(e[1]-n[1]);return a>0&&s<0||a<0&&s>0}function sn(t,e,n){for(const c of n)for(let n=0;n<c.length-1;++n)if(0!=(s=[(a=c[n+1])[0]-(o=c[n])[0],a[1]-o[1]])[0]*(l=[(i=e)[0]-(r=t)[0],i[1]-r[1]])[1]-s[1]*l[0]&&an(r,i,o,a)&&an(o,a,r,i))return!0;var r,i,o,a,s,l;return!1}function ln(t,e){for(let n=0;n<t.length;++n)if(!rn(t[n],e))return!1;for(let n=0;n<t.length-1;++n)if(sn(t[n],t[n+1],e))return!1;return!0}function cn(t,e){for(let n=0;n<e.length;n++)if(ln(t,e[n]))return!0;return!1}function un(t,e,n){const r=[];for(let i=0;i<t.length;i++){const o=[];for(let r=0;r<t[i].length;r++){const a=en(t[i][r],n);Qe(e,a),o.push(a)}r.push(o)}return r}function dn(t,e,n){const r=[];for(let i=0;i<t.length;i++){const o=un(t[i],e,n);r.push(o)}return r}function hn(t,e,n,r){if(t[0]<n[0]||t[0]>n[2]){const e=.5*r;let i=t[0]-n[0]>e?-r:n[0]-t[0]>e?r:0;0===i&&(i=t[0]-n[2]>e?-r:n[2]-t[0]>e?r:0),t[0]+=i}Qe(e,t)}function fn(t,e,n,r){const i=Math.pow(2,r.z)*Ke,o=[r.x*Ke,r.y*Ke],a=[];if(!t)return a;for(const r of t)for(const t of r){const r=[t.x+o[0],t.y+o[1]];hn(r,e,n,i),a.push(r)}return a}function pn(t,e,n,r){const i=Math.pow(2,r.z)*Ke,o=[r.x*Ke,r.y*Ke],a=[];if(!t)return a;for(const n of t){const t=[];for(const r of n){const n=[r.x+o[0],r.y+o[1]];Qe(e,n),t.push(n)}a.push(t)}if(e[2]-e[0]<=i/2){(s=e)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const t of a)for(const r of t)hn(r,e,n,i)}var s;return a}class mn{constructor(t,e){this.type=se,this.geojson=t,this.geometries=e}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(ze(t[1])){const e=t[1];if("FeatureCollection"===e.type)for(let t=0;t<e.features.length;++t){const n=e.features[t].geometry.type;if("Polygon"===n||"MultiPolygon"===n)return new mn(e,e.features[t].geometry)}else if("Feature"===e.type){const t=e.geometry.type;if("Polygon"===t||"MultiPolygon"===t)return new mn(e,e.geometry)}else if("Polygon"===e.type||"MultiPolygon"===e.type)return new mn(e,e)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if(!i)return!1;if("Polygon"===e.type){const o=un(e.coordinates,r,i),a=fn(t.geometry(),n,r,i);if(!tn(n,r))return!1;for(const t of a)if(!rn(t,o))return!1}if("MultiPolygon"===e.type){const o=dn(e.coordinates,r,i),a=fn(t.geometry(),n,r,i);if(!tn(n,r))return!1;for(const t of a)if(!on(t,o))return!1}return!0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if(!i)return!1;if("Polygon"===e.type){const o=un(e.coordinates,r,i),a=pn(t.geometry(),n,r,i);if(!tn(n,r))return!1;for(const t of a)if(!ln(t,o))return!1}if("MultiPolygon"===e.type){const o=dn(e.coordinates,r,i),a=pn(t.geometry(),n,r,i);if(!tn(n,r))return!1;for(const t of a)if(!cn(t,o))return!1}return!0}(t,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var _n=mn;function vn(t){if(t instanceof Xe){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof _n)return!1;let e=!0;return t.eachChild((t=>{e&&!vn(t)&&(e=!1)})),e}function gn(t){if(t instanceof Xe&&"feature-state"===t.name)return!1;let e=!0;return t.eachChild((t=>{e&&!gn(t)&&(e=!1)})),e}function yn(t,e){if(t instanceof Xe&&e.indexOf(t.name)>=0)return!1;let n=!0;return t.eachChild((t=>{n&&!yn(t,e)&&(n=!1)})),n}class bn{constructor(t,e){this.type=e.type,this.name=t,this.boundExpression=e}static parse(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");const n=t[1];return e.scope.has(n)?new bn(n,e.scope.get(n)):e.error(`Unknown variable "${n}". Make sure "${n}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(t){return this.boundExpression.evaluate(t)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var xn=bn;class wn{constructor(t,e=[],n,r=new re,i=[]){this.registry=t,this.path=e,this.key=e.map((t=>`[${t}]`)).join(""),this.scope=r,this.errors=i,this.expectedType=n}parse(t,e,n,r,i={}){return e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)}_parse(t,e){function n(t,e,n){return"assert"===n?new Ne(e,[t]):"coerce"===n?new Ue(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=t[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(t,this);if(!r)return null;if(this.expectedType){const t=this.expectedType,i=r.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind)if("color"!==t.kind&&"formatted"!==t.kind&&"resolvedImage"!==t.kind||"value"!==i.kind&&"string"!==i.kind){if(this.checkSubtype(t,i))return null}else r=n(r,t,e.typeAnnotation||"coerce");else r=n(r,t,e.typeAnnotation||"assert")}if(!(r instanceof Ye)&&"resolvedImage"!==r.type.kind&&Mn(r)){const e=new Ge;try{r=new Ye(r.type,r.evaluate(e))}catch(t){return this.error(t.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}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.`)}concat(t,e,n){const r="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new wn(this.registry,r,e||null,i,this.errors)}error(t,...e){const n=`${this.key}${e.map((t=>`[${t}]`)).join("")}`;this.errors.push(new ee(n,t))}checkSubtype(t,e){const n=ve(t,e);return n&&this.error(n),n}}var kn=wn;function Mn(t){if(t instanceof xn)return Mn(t.boundExpression);if(t instanceof Xe&&"error"===t.name)return!1;if(t instanceof Je)return!1;if(t instanceof _n)return!1;const e=t instanceof Ue||t instanceof Ne;let n=!0;return t.eachChild((t=>{n=e?n&&Mn(t):n&&t instanceof Ye})),!!n&&vn(t)&&yn(t,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center"])}function Cn(t,e){const n=t.length-1;let r,i,o=0,a=n,s=0;for(;o<=a;)if(s=Math.floor((o+a)/2),r=t[s],i=t[s+1],r<=e){if(s===n||e<i)return s;o=s+1}else{if(!(r>e))throw new Re("Input is not a number.");a=s-1}return 0}class Sn{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of n)this.labels.push(t),this.outputs.push(e)}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");const n=e.parse(t[1],1,oe);if(!n)return null;const r=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let n=1;n<t.length;n+=2){const o=1===n?-1/0:t[n],a=t[n+1],s=n,l=n+1;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.',s);if(r.length&&r[r.length-1][0]>=o)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=e.parse(a,l,i);if(!c)return null;i=i||c.type,r.push([o,c])}return new Sn(i,n,r)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[Cn(e,r)].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}serialize(){const t=["step",this.input.serialize()];for(let e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t}}var Tn=Sn;function Ln(t,e,n){return t*(1-n)+e*n}var En=Object.freeze({__proto__:null,number:Ln,color:function(t,e,n){return new Te(Ln(t.r,e.r,n),Ln(t.g,e.g,n),Ln(t.b,e.b,n),Ln(t.a,e.a,n))},array:function(t,e,n){return t.map(((t,r)=>Ln(t,e[r],n)))}});const An=.95047,Dn=1.08883,On=4/29,zn=6/29,Pn=3*zn*zn,jn=Math.PI/180,In=180/Math.PI;function Yn(t){return t>.008856451679035631?Math.pow(t,1/3):t/Pn+On}function Rn(t){return t>zn?t*t*t:Pn*(t-On)}function Fn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Bn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Nn(t){const e=Bn(t.r),n=Bn(t.g),r=Bn(t.b),i=Yn((.4124564*e+.3575761*n+.1804375*r)/An),o=Yn((.2126729*e+.7151522*n+.072175*r)/1);return{l:116*o-16,a:500*(i-o),b:200*(o-Yn((.0193339*e+.119192*n+.9503041*r)/Dn)),alpha:t.a}}function $n(t){let e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,r=isNaN(t.b)?e:e-t.b/200;return e=1*Rn(e),n=An*Rn(n),r=Dn*Rn(r),new Te(Fn(3.2404542*n-1.5371385*e-.4985314*r),Fn(-.969266*n+1.8760108*e+.041556*r),Fn(.0556434*n-.2040259*e+1.0572252*r),t.alpha)}function Zn(t,e,n){const r=e-t;return t+n*(r>180||r<-180?r-360*Math.round(r/360):r)}const Hn={forward:Nn,reverse:$n,interpolate:function(t,e,n){return{l:Ln(t.l,e.l,n),a:Ln(t.a,e.a,n),b:Ln(t.b,e.b,n),alpha:Ln(t.alpha,e.alpha,n)}}},Vn={forward:function(t){const{l:e,a:n,b:r}=Nn(t),i=Math.atan2(r,n)*In;return{h:i<0?i+360:i,c:Math.sqrt(n*n+r*r),l:e,alpha:t.a}},reverse:function(t){const e=t.h*jn,n=t.c;return $n({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:Zn(t.h,e.h,n),c:Ln(t.c,e.c,n),l:Ln(t.l,e.l,n),alpha:Ln(t.alpha,e.alpha,n)}}};var Un=Object.freeze({__proto__:null,lab:Hn,hcl:Vn});class Wn{constructor(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e)}static interpolationFactor(t,e,n,r){let i=0;if("exponential"===t.name)i=Gn(e,t.base,n,r);else if("linear"===t.name)i=Gn(e,1,n,r);else if("cubic-bezier"===t.name){const o=t.controlPoints;i=new f(o[0],o[1],o[2],o[3]).solve(Gn(e,1,n,r))}return i}static parse(t,e){let[n,r,i,...o]=t;if(!Array.isArray(r)||0===r.length)return e.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const t=r[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:t}}else{if("cubic-bezier"!==r[0])return e.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const t=r.slice(1);if(4!==t.length||t.some((t=>"number"!=typeof t||t<0||t>1)))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:t}}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(i=e.parse(i,2,oe),!i)return null;const a=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=le:e.expectedType&&"value"!==e.expectedType.kind&&(s=e.expectedType);for(let t=0;t<o.length;t+=2){const n=o[t],r=o[t+1],i=t+3,l=t+4;if("number"!=typeof n)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',i);if(a.length&&a[a.length-1][0]>=n)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const c=e.parse(r,l,s);if(!c)return null;s=s||c.type,a.push([n,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"==typeof s.N?new Wn(s,n,r,i,a):e.error(`Type ${me(s)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);const o=Cn(e,r),a=Wn.interpolationFactor(this.interpolation,r,e[o],e[o+1]),s=n[o].evaluate(t),l=n[o+1].evaluate(t);return"interpolate"===this.operator?En[this.type.kind.toLowerCase()](s,l,a):"interpolate-hcl"===this.operator?Vn.reverse(Vn.interpolate(Vn.forward(s),Vn.forward(l),a)):Hn.reverse(Hn.interpolate(Hn.forward(s),Hn.forward(l),a))}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}serialize(){let t;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);const e=[this.operator,t,this.input.serialize()];for(let t=0;t<this.labels.length;t++)e.push(this.labels[t],this.outputs[t].serialize());return e}}function Gn(t,e,n,r){const i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}var qn=Wn;class Xn{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expectected at least one argument.");let n=null;const r=e.expectedType;r&&"value"!==r.kind&&(n=r);const i=[];for(const r of t.slice(1)){const t=e.parse(r,1+i.length,n,void 0,{typeAnnotation:"omit"});if(!t)return null;n=n||t.type,i.push(t)}const o=r&&i.some((t=>ve(r,t.type)));return new Xn(o?ue:n,i)}evaluate(t){let e,n=null,r=0;for(const i of this.args){if(r++,n=i.evaluate(t),n&&n instanceof De&&!n.available&&(e||(e=n),n=null,r===this.args.length))return e;if(null!==n)break}return n}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}serialize(){const t=["coalesce"];return this.eachChild((e=>{t.push(e.serialize())})),t}}var Jn=Xn;class Kn{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result)}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const n=[];for(let r=1;r<t.length-1;r+=2){const i=t[r];if("string"!=typeof i)return e.error(`Expected string, but found ${typeof i} instead.`,r);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",r);const o=e.parse(t[r+1],r+1);if(!o)return null;n.push([i,o])}const r=e.parse(t[t.length-1],t.length-1,e.expectedType,n);return r?new Kn(n,r):null}outputDefined(){return this.result.outputDefined()}serialize(){const t=["let"];for(const[e,n]of this.bindings)t.push(e,n.serialize());return t.push(this.result.serialize()),t}}var Qn=Kn;class tr{constructor(t,e,n){this.type=t,this.index=e,this.input=n}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,oe),r=e.parse(t[2],2,pe(e.expectedType||ue));return n&&r?new tr(r.type.itemType,n,r):null}evaluate(t){const e=this.index.evaluate(t),n=this.input.evaluate(t);if(e<0)throw new Re(`Array index out of bounds: ${e} < 0.`);if(e>=n.length)throw new Re(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new Re(`Array index must be an integer, but found ${e} instead.`);return n[e]}eachChild(t){t(this.index),t(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var er=tr;class nr{constructor(t,e){this.type=se,this.needle=t,this.haystack=e}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,ue),r=e.parse(t[2],2,ue);return n&&r?ge(n.type,[se,ae,oe,ie,ue])?new nr(n,r):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${me(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(null==n)return!1;if(!ye(e,["boolean","string","number","null"]))throw new Re(`Expected first argument to be of type boolean, string, number or null, but found ${me(Pe(e))} instead.`);if(!ye(n,["string","array"]))throw new Re(`Expected second argument to be of type array or string, but found ${me(Pe(n))} instead.`);return n.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var rr=nr;class ir{constructor(t,e,n){this.type=oe,this.needle=t,this.haystack=e,this.fromIndex=n}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,ue),r=e.parse(t[2],2,ue);if(!n||!r)return null;if(!ge(n.type,[se,ae,oe,ie,ue]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${me(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,oe);return i?new ir(n,r,i):null}return new ir(n,r)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!ye(e,["boolean","string","number","null"]))throw new Re(`Expected first argument to be of type boolean, string, number or null, but found ${me(Pe(e))} instead.`);if(!ye(n,["string","array"]))throw new Re(`Expected second argument to be of type array or string, but found ${me(Pe(n))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(t);return n.indexOf(e,r)}return n.indexOf(e)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const t=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),t]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var or=ir;class ar{constructor(t,e,n,r,i,o){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=o}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let n,r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const i={},o=[];for(let a=2;a<t.length-1;a+=2){let s=t[a];const l=t[a+1];Array.isArray(s)||(s=[s]);const c=e.concat(a);if(0===s.length)return c.error("Expected at least one branch label.");for(const t of s){if("number"!=typeof t&&"string"!=typeof t)return c.error("Branch labels must be numbers or strings.");if("number"==typeof t&&Math.abs(t)>Number.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof t&&Math.floor(t)!==t)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,Pe(t)))return null}else n=Pe(t);if(void 0!==i[String(t)])return c.error("Branch labels must be unique.");i[String(t)]=o.length}const u=e.parse(l,a,r);if(!u)return null;r=r||u.type,o.push(u)}const a=e.parse(t[1],1,ue);if(!a)return null;const s=e.parse(t[t.length-1],t.length-1,r);return s?"value"!==a.type.kind&&e.concat(1).checkSubtype(n,a.type)?null:new ar(n,r,a,i,o,s):null}evaluate(t){const e=this.input.evaluate(t);return(Pe(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const t=["match",this.input.serialize()],e=Object.keys(this.cases).sort(),n=[],r={};for(const t of e){const e=r[this.cases[t]];void 0===e?(r[this.cases[t]]=n.length,n.push([this.cases[t],[t]])):n[e][1].push(t)}const i=t=>"number"===this.inputType.kind?Number(t):t;for(const[e,r]of n)t.push(1===r.length?i(r[0]):r.map(i)),t.push(this.outputs[e].serialize());return t.push(this.otherwise.serialize()),t}}var sr=ar;class lr{constructor(t,e,n){this.type=t,this.branches=e,this.otherwise=n}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!=0)return e.error("Expected an odd number of arguments.");let n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const r=[];for(let i=1;i<t.length-1;i+=2){const o=e.parse(t[i],i,se);if(!o)return null;const a=e.parse(t[i+1],i+1,n);if(!a)return null;r.push([o,a]),n=n||a.type}const i=e.parse(t[t.length-1],t.length-1,n);return i?new lr(n,r,i):null}evaluate(t){for(const[e,n]of this.branches)if(e.evaluate(t))return n.evaluate(t);return this.otherwise.evaluate(t)}eachChild(t){for(const[e,n]of this.branches)t(e),t(n);t(this.otherwise)}outputDefined(){return this.branches.every((([t,e])=>e.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const t=["case"];return this.eachChild((e=>{t.push(e.serialize())})),t}}var cr=lr;class ur{constructor(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,ue),r=e.parse(t[2],2,oe);if(!n||!r)return null;if(!ge(n.type,[pe(ue),ae,ue]))return e.error(`Expected first argument to be of type array or string, but found ${me(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,oe);return i?new ur(n.type,n,r,i):null}return new ur(n.type,n,r)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);if(!ye(e,["string","array"]))throw new Re(`Expected first argument to be of type array or string, but found ${me(Pe(e))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(t);return e.slice(n,r)}return e.slice(n)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const t=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),t]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var dr=ur;function hr(t,e){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}function fr(t,e,n,r){return 0===r.compare(e,n)}function pr(t,e,n){const r="=="!==t&&"!="!==t;return class i{constructor(t,e,n){this.type=se,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const n=t[0];let o=e.parse(t[1],1,ue);if(!o)return null;if(!hr(n,o.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${me(o.type)}'.`);let a=e.parse(t[2],2,ue);if(!a)return null;if(!hr(n,a.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${me(a.type)}'.`);if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error(`Cannot compare types '${me(o.type)}' and '${me(a.type)}'.`);r&&("value"===o.type.kind&&"value"!==a.type.kind?o=new Ne(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new Ne(o.type,[a])));let s=null;if(4===t.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(s=e.parse(t[3],3,de),!s)return null}return new i(o,a,s)}evaluate(i){const o=this.lhs.evaluate(i),a=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const e=Pe(o),n=Pe(a);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new Re(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const t=Pe(o),n=Pe(a);if("string"!==t.kind||"string"!==n.kind)return e(i,o,a)}return this.collator?n(i,o,a,this.collator.evaluate(i)):e(i,o,a)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)}outputDefined(){return!0}serialize(){const e=[t];return this.eachChild((t=>{e.push(t.serialize())})),e}}}const mr=pr("==",(function(t,e,n){return e===n}),fr),_r=pr("!=",(function(t,e,n){return e!==n}),(function(t,e,n,r){return!fr(0,e,n,r)})),vr=pr("<",(function(t,e,n){return e<n}),(function(t,e,n,r){return r.compare(e,n)<0})),gr=pr(">",(function(t,e,n){return e>n}),(function(t,e,n,r){return r.compare(e,n)>0})),yr=pr("<=",(function(t,e,n){return e<=n}),(function(t,e,n,r){return r.compare(e,n)<=0})),br=pr(">=",(function(t,e,n){return e>=n}),(function(t,e,n,r){return r.compare(e,n)>=0}));class xr{constructor(t,e,n,r,i,o){this.type=ae,this.number=t,this.locale=e,this.currency=n,this.unit=r,this.minFractionDigits=i,this.maxFractionDigits=o}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,oe);if(!n)return null;const r=t[2];if("object"!=typeof r||Array.isArray(r))return e.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&(i=e.parse(r.locale,1,ae),!i))return null;let o=null;if(r.currency&&(o=e.parse(r.currency,1,ae),!o))return null;let a=null;if(r.unit&&(a=e.parse(r.unit,1,ae),!a))return null;let s=null;if(r["min-fraction-digits"]&&(s=e.parse(r["min-fraction-digits"],1,oe),!s))return null;let l=null;return r["max-fraction-digits"]&&(l=e.parse(r["max-fraction-digits"],1,oe),!l)?null:new xr(n,i,o,a,s,l)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(t):void 0,unit:this.unit?this.unit.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.unit&&t(this.unit),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.unit&&(t.unit=this.unit.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]}}class wr{constructor(t){this.type=oe,this.input=t}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error(`Expected argument of type string or array, but found ${me(n.type)} instead.`):new wr(n):null}evaluate(t){const e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Re(`Expected value to be of type string or array, but found ${me(Pe(e))} instead.`)}eachChild(t){t(this.input)}outputDefined(){return!1}serialize(){const t=["length"];return this.eachChild((e=>{t.push(e.serialize())})),t}}const kr={"==":mr,"!=":_r,">":gr,"<":vr,">=":br,"<=":yr,array:Ne,at:er,boolean:Ne,case:cr,coalesce:Jn,collator:Je,format:$e,image:Ze,in:rr,"index-of":or,interpolate:qn,"interpolate-hcl":qn,"interpolate-lab":qn,length:wr,let:Qn,literal:Ye,match:sr,number:Ne,"number-format":xr,object:Ne,slice:dr,step:Tn,string:Ne,"to-boolean":Ue,"to-color":Ue,"to-number":Ue,"to-string":Ue,var:xn,within:_n};function Mr(t,[e,n,r,i]){e=e.evaluate(t),n=n.evaluate(t),r=r.evaluate(t);const o=i?i.evaluate(t):1,a=Oe(e,n,r,o);if(a)throw new Re(a);return new Te(e/255*o,n/255*o,r/255*o,o)}function Cr(t,e){return t in e}function Sr(t,e){const n=e[t];return void 0===n?null:n}function Tr(t){return{type:t}}Xe.register(kr,{error:[{kind:"error"},[ae],(t,[e])=>{throw new Re(e.evaluate(t))}],typeof:[ae,[ue],(t,[e])=>me(Pe(e.evaluate(t)))],"to-rgba":[pe(oe,4),[le],(t,[e])=>e.evaluate(t).toArray()],rgb:[le,[oe,oe,oe],Mr],rgba:[le,[oe,oe,oe,oe],Mr],has:{type:se,overloads:[[[ae],(t,[e])=>Cr(e.evaluate(t),t.properties())],[[ae,ce],(t,[e,n])=>Cr(e.evaluate(t),n.evaluate(t))]]},get:{type:ue,overloads:[[[ae],(t,[e])=>Sr(e.evaluate(t),t.properties())],[[ae,ce],(t,[e,n])=>Sr(e.evaluate(t),n.evaluate(t))]]},"feature-state":[ue,[ae],(t,[e])=>Sr(e.evaluate(t),t.featureState||{})],properties:[ce,[],t=>t.properties()],"geometry-type":[ae,[],t=>t.geometryType()],id:[ue,[],t=>t.id()],zoom:[oe,[],t=>t.globals.zoom],pitch:[oe,[],t=>t.globals.pitch||0],"distance-from-center":[oe,[],t=>t.distanceFromCenter()],"heatmap-density":[oe,[],t=>t.globals.heatmapDensity||0],"line-progress":[oe,[],t=>t.globals.lineProgress||0],"sky-radial-progress":[oe,[],t=>t.globals.skyRadialProgress||0],accumulated:[ue,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[oe,Tr(oe),(t,e)=>{let n=0;for(const r of e)n+=r.evaluate(t);return n}],"*":[oe,Tr(oe),(t,e)=>{let n=1;for(const r of e)n*=r.evaluate(t);return n}],"-":{type:oe,overloads:[[[oe,oe],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[oe],(t,[e])=>-e.evaluate(t)]]},"/":[oe,[oe,oe],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[oe,[oe,oe],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[oe,[],()=>Math.LN2],pi:[oe,[],()=>Math.PI],e:[oe,[],()=>Math.E],"^":[oe,[oe,oe],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[oe,[oe],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[oe,[oe],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[oe,[oe],(t,[e])=>Math.log(e.evaluate(t))],log2:[oe,[oe],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[oe,[oe],(t,[e])=>Math.sin(e.evaluate(t))],cos:[oe,[oe],(t,[e])=>Math.cos(e.evaluate(t))],tan:[oe,[oe],(t,[e])=>Math.tan(e.evaluate(t))],asin:[oe,[oe],(t,[e])=>Math.asin(e.evaluate(t))],acos:[oe,[oe],(t,[e])=>Math.acos(e.evaluate(t))],atan:[oe,[oe],(t,[e])=>Math.atan(e.evaluate(t))],min:[oe,Tr(oe),(t,e)=>Math.min(...e.map((e=>e.evaluate(t))))],max:[oe,Tr(oe),(t,e)=>Math.max(...e.map((e=>e.evaluate(t))))],abs:[oe,[oe],(t,[e])=>Math.abs(e.evaluate(t))],round:[oe,[oe],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[oe,[oe],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[oe,[oe],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[se,[ae,ue],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[se,[ue],(t,[e])=>t.id()===e.value],"filter-type-==":[se,[ae],(t,[e])=>t.geometryType()===e.value],"filter-<":[se,[ae,ue],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<i}],"filter-id-<":[se,[ue],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<r}],"filter->":[se,[ae,ue],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[se,[ue],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>r}],"filter-<=":[se,[ae,ue],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[se,[ue],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<=r}],"filter->=":[se,[ae,ue],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[se,[ue],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>=r}],"filter-has":[se,[ue],(t,[e])=>e.value in t.properties()],"filter-has-id":[se,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[se,[pe(ae)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[se,[pe(ue)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[se,[ae,pe(ue)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[se,[ae,pe(ue)],(t,[e,n])=>function(t,e,n,r){for(;n<=r;){const i=n+r>>1;if(e[i]===t)return!0;e[i]>t?r=i-1:n=i+1}return!1}(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:se,overloads:[[[se,se],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[Tr(se),(t,e)=>{for(const n of e)if(!n.evaluate(t))return!1;return!0}]]},any:{type:se,overloads:[[[se,se],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[Tr(se),(t,e)=>{for(const n of e)if(n.evaluate(t))return!0;return!1}]]},"!":[se,[se],(t,[e])=>!e.evaluate(t)],"is-supported-script":[se,[ae],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return!n||n(e.evaluate(t))}],upcase:[ae,[ae],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[ae,[ae],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[ae,Tr(ue),(t,e)=>e.map((e=>je(e.evaluate(t)))).join("")],"resolved-locale":[ae,[de],(t,[e])=>e.evaluate(t).resolvedLocale()]});var Lr=kr;function Er(t){return{result:"success",value:t}}function Ar(t){return{result:"error",value:t}}function Dr(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Or(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function zr(t){return!!t.expression&&t.expression.interpolated}function Pr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function jr(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function Ir(t){return t}function Yr(t,e){const n="color"===e.type,r=t.stops&&"object"==typeof t.stops[0][0],i=r||!(r||void 0!==t.property),o=t.type||(zr(e)?"exponential":"interval");if(n&&((t=Jt({},t)).stops&&(t.stops=t.stops.map((t=>[t[0],Te.parse(t[1])]))),t.default=Te.parse(t.default?t.default:e.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!Un[t.colorSpace])throw new Error(`Unknown color space: ${t.colorSpace}`);let a,s,l;if("exponential"===o)a=Nr;else if("interval"===o)a=Br;else if("categorical"===o){a=Fr,s=Object.create(null);for(const e of t.stops)s[e[0]]=e[1];l=typeof t.stops[0][0]}else{if("identity"!==o)throw new Error(`Unknown function type "${o}"`);a=$r}if(r){const n={},r=[];for(let e=0;e<t.stops.length;e++){const i=t.stops[e],o=i[0].zoom;void 0===n[o]&&(n[o]={zoom:o,type:t.type,property:t.property,default:t.default,stops:[]},r.push(o)),n[o].stops.push([i[0].value,i[1]])}const i=[];for(const t of r)i.push([n[t].zoom,Yr(n[t],e)]);const o={name:"linear"};return{kind:"composite",interpolationType:o,interpolationFactor:qn.interpolationFactor.bind(void 0,o),zoomStops:i.map((t=>t[0])),evaluate:({zoom:n},r)=>Nr({stops:i,base:t.base},e,n).evaluate(n,r)}}if(i){const n="exponential"===o?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:n,interpolationFactor:qn.interpolationFactor.bind(void 0,n),zoomStops:t.stops.map((t=>t[0])),evaluate:({zoom:n})=>a(t,e,n,s,l)}}return{kind:"source",evaluate(n,r){const i=r&&r.properties?r.properties[t.property]:void 0;return void 0===i?Rr(t.default,e.default):a(t,e,i,s,l)}}}function Rr(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Fr(t,e,n,r,i){return Rr(typeof n===i?r[n]:void 0,t.default,e.default)}function Br(t,e,n){if("number"!==Pr(n))return Rr(t.default,e.default);const r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];const i=Cn(t.stops.map((t=>t[0])),n);return t.stops[i][1]}function Nr(t,e,n){const r=void 0!==t.base?t.base:1;if("number"!==Pr(n))return Rr(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];const o=Cn(t.stops.map((t=>t[0])),n),a=function(t,e,n,r){const i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],l=t.stops[o+1][1];let c=En[e.type]||Ir;if(t.colorSpace&&"rgb"!==t.colorSpace){const e=Un[t.colorSpace];c=(t,n)=>e.reverse(e.interpolate(e.forward(t),e.forward(n),a))}return"function"==typeof s.evaluate?{evaluate(...t){const e=s.evaluate.apply(void 0,t),n=l.evaluate.apply(void 0,t);if(void 0!==e&&void 0!==n)return c(e,n,a)}}:c(s,l,a)}function $r(t,e,n){return"color"===e.type?n=Te.parse(n):"formatted"===e.type?n=Ae.fromString(n.toString()):"resolvedImage"===e.type?n=De.fromString(n.toString()):Pr(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),Rr(n,t.default,e.default)}class Zr{constructor(t,e){this.expression=t,this._warningHistory={},this._evaluator=new Ge,this._defaultValue=e?function(t){return"color"===t.type&&(jr(t.default)||Array.isArray(t.default))?new Te(0,0,0,0):"color"===t.type?Te.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null}evaluateWithoutErrorHandling(t,e,n,r,i,o,a,s){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,r,i,o,a,s){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null;try{const t=this.expression.evaluate(this._evaluator);if(null==t||"number"==typeof t&&t!=t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Re(`Expected value to be one of ${Object.keys(this._enumValues).map((t=>JSON.stringify(t))).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function Hr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in Lr}function Vr(t,e){const n=new kn(Lr,[],e?function(t){const e={color:le,string:ae,number:oe,enum:ae,boolean:se,formatted:he,resolvedImage:fe};return"array"===t.type?pe(e[t.value]||ue,t.length):e[t.type]}(e):void 0),r=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return r?Er(new Zr(r,e)):Ar(n.errors)}class Ur{constructor(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!gn(e.expression)}evaluateWithoutErrorHandling(t,e,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,o)}evaluate(t,e,n,r,i,o){return this._styleExpression.evaluate(t,e,n,r,i,o)}}class Wr{constructor(t,e,n,r){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!gn(e.expression),this.interpolationType=r}evaluateWithoutErrorHandling(t,e,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,o)}evaluate(t,e,n,r,i,o){return this._styleExpression.evaluate(t,e,n,r,i,o)}interpolationFactor(t,e,n){return this.interpolationType?qn.interpolationFactor(this.interpolationType,t,e,n):0}}function Gr(t,e){if("error"===(t=Vr(t,e)).result)return t;const n=t.value.expression,r=vn(n);if(!r&&!Dr(e))return Ar([new ee("","data expressions not supported")]);const i=yn(n,["zoom","pitch","distance-from-center"]);if(!i&&!Or(e))return Ar([new ee("","zoom expressions not supported")]);const o=Xr(n);return o||i?o instanceof ee?Ar([o]):o instanceof qn&&!zr(e)?Ar([new ee("",'"interpolate" expressions cannot be used with this property')]):Er(o?new Wr(r?"camera":"composite",t.value,o.labels,o instanceof qn?o.interpolation:void 0):new Ur(r?"constant":"source",t.value)):Ar([new ee("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class qr{constructor(t,e){this._parameters=t,this._specification=e,Jt(this,Yr(this._parameters,this._specification))}static deserialize(t){return new qr(t._parameters,t._specification)}static serialize(t){return{_parameters:t._parameters,_specification:t._specification}}}function Xr(t){let e=null;if(t instanceof Qn)e=Xr(t.result);else if(t instanceof Jn){for(const n of t.args)if(e=Xr(n),e)break}else(t instanceof Tn||t instanceof qn)&&t.input instanceof Xe&&"zoom"===t.input.name&&(e=t);return e instanceof ee||t.eachChild((t=>{const n=Xr(t);n instanceof ee?e=n:!e&&n?e=new ee("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&n&&e!==n&&(e=new ee("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),e}class Jr{constructor(t,e,n,r){this.message=(t?`${t}: `:"")+n,r&&(this.identifier=r),null!=e&&e.__line__&&(this.line=e.__line__)}}function Kr(t){const e=t.key,n=t.value,r=t.valueSpec||{},i=t.objectElementValidators||{},o=t.style,a=t.styleSpec;let s=[];const l=Pr(n);if("object"!==l)return[new Jr(e,n,`object expected, ${l} found`)];for(const t in n){const l=t.split(".")[0],c=r[l]||r["*"];let u;i[l]?u=i[l]:r[l]?u=Di:i["*"]?u=i["*"]:r["*"]&&(u=Di),u?s=s.concat(u({key:(e?`${e}.`:e)+t,value:n[t],valueSpec:c,style:o,styleSpec:a,object:n,objectKey:t},n)):s.push(new Jr(e,n[t],`unknown property "${t}"`))}for(const t in r)i[t]||r[t].required&&void 0===r[t].default&&void 0===n[t]&&s.push(new Jr(e,n,`missing required property "${t}"`));return s}function Qr(t){const e=t.value,n=t.valueSpec,r=t.style,i=t.styleSpec,o=t.key,a=t.arrayElementValidator||Di;if("array"!==Pr(e))return[new Jr(o,e,`array expected, ${Pr(e)} found`)];if(n.length&&e.length!==n.length)return[new Jr(o,e,`array length ${n.length} expected, length ${e.length} found`)];if(n["min-length"]&&e.length<n["min-length"])return[new Jr(o,e,`array length at least ${n["min-length"]} expected, length ${e.length} found`)];let s={type:n.value,values:n.values,minimum:n.minimum,maximum:n.maximum,function:void 0};i.$version<7&&(s.function=n.function),"object"===Pr(n.value)&&(s=n.value);let l=[];for(let t=0;t<e.length;t++)l=l.concat(a({array:e,arrayIndex:t,value:e[t],valueSpec:s,style:r,styleSpec:i,key:`${o}[${t}]`}));return l}function ti(t){const e=t.key,n=t.value,r=t.valueSpec;let i=Pr(n);if("number"===i&&n!=n&&(i="NaN"),"number"!==i)return[new Jr(e,n,`number expected, ${i} found`)];if("minimum"in r){let i=r.minimum;if("array"===Pr(r.minimum)&&(i=r.minimum[t.arrayIndex]),n<i)return[new Jr(e,n,`${n} is less than the minimum value ${i}`)]}if("maximum"in r){let i=r.maximum;if("array"===Pr(r.maximum)&&(i=r.maximum[t.arrayIndex]),n>i)return[new Jr(e,n,`${n} is greater than the maximum value ${i}`)]}return[]}function ei(t){const e=t.valueSpec,n=Kt(t.value.type);let r,i,o,a={};const s="categorical"!==n&&void 0===t.value.property,l=!s,c="array"===Pr(t.value.stops)&&"array"===Pr(t.value.stops[0])&&"object"===Pr(t.value.stops[0][0]),u=Kr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===n)return[new Jr(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const r=t.value;return e=e.concat(Qr({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:d})),"array"===Pr(r)&&0===r.length&&e.push(new Jr(t.key,r,"array must have at least one stop")),e},default:function(t){return Di({key:t.key,value:t.value,valueSpec:e,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===n&&s&&u.push(new Jr(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||u.push(new Jr(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!zr(t.valueSpec)&&u.push(new Jr(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Dr(t.valueSpec)?u.push(new Jr(t.key,t.value,"property functions not supported")):s&&!Or(t.valueSpec)&&u.push(new Jr(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!c||void 0!==t.value.property||u.push(new Jr(t.key,t.value,'"property" property is required')),u;function d(t){let n=[];const r=t.value,s=t.key;if("array"!==Pr(r))return[new Jr(s,r,`array expected, ${Pr(r)} found`)];if(2!==r.length)return[new Jr(s,r,`array length 2 expected, length ${r.length} found`)];if(c){if("object"!==Pr(r[0]))return[new Jr(s,r,`object expected, ${Pr(r[0])} found`)];if(void 0===r[0].zoom)return[new Jr(s,r,"object stop key must have zoom")];if(void 0===r[0].value)return[new Jr(s,r,"object stop key must have value")];const e=Kt(r[0].zoom);if("number"!=typeof e)return[new Jr(s,r[0].zoom,"stop zoom values must be numbers")];if(o&&o>e)return[new Jr(s,r[0].zoom,"stop zoom values must appear in ascending order")];e!==o&&(o=e,i=void 0,a={}),n=n.concat(Kr({key:`${s}[0]`,value:r[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:ti,value:h}}))}else n=n.concat(h({key:`${s}[0]`,value:r[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},r));return Hr(Qt(r[1]))?n.concat([new Jr(`${s}[1]`,r[1],"expressions are not allowed in function stops.")]):n.concat(Di({key:`${s}[1]`,value:r[1],valueSpec:e,style:t.style,styleSpec:t.styleSpec}))}function h(t,o){const s=Pr(t.value),l=Kt(t.value),c=null!==t.value?t.value:o;if(r){if(s!==r)return[new Jr(t.key,c,`${s} stop domain type must match previous stop domain type ${r}`)]}else r=s;if("number"!==s&&"string"!==s&&"boolean"!==s&&"number"!=typeof l&&"string"!=typeof l&&"boolean"!=typeof l)return[new Jr(t.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==n){let r=`number expected, ${s} found`;return Dr(e)&&void 0===n&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Jr(t.key,c,r)]}return"categorical"!==n||"number"!==s||"number"==typeof l&&isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===s&&"number"==typeof l&&"number"==typeof i&&void 0!==i&&l<i?[new Jr(t.key,c,"stop domain values must appear in ascending order")]:(i=l,"categorical"===n&&l in a?[new Jr(t.key,c,"stop domain values must be unique")]:(a[l]=!0,[])):[new Jr(t.key,c,`integer expected, found ${String(l)}`)]}}function ni(t){const e=("property"===t.expressionContext?Gr:Vr)(Qt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((e=>new Jr(`${t.key}${e.key}`,t.value,e.message)));const n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return[new Jr(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!gn(n))return[new Jr(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext)return ri(n,t);if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!yn(n,["zoom","feature-state"]))return[new Jr(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!vn(n))return[new Jr(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function ri(t,e){const n=new Set(["zoom","feature-state","pitch","distance-from-center"]);if(e.valueSpec&&e.valueSpec.expression)for(const t of e.valueSpec.expression.parameters)n.delete(t);if(0===n.size)return[];const r=[];return t instanceof Xe&&n.has(t.name)?[new Jr(e.key,e.value,`["${t.name}"] expression is not supported in a filter for a ${e.object.type} layer with id: ${e.object.id}`)]:(t.eachChild((t=>{r.push(...ri(t,e))})),r)}function ii(t){const e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(Kt(n))&&i.push(new Jr(e,n,`expected one of [${r.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(r.values).indexOf(Kt(n))&&i.push(new Jr(e,n,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(n)} found`)),i}function oi(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(const e of t.slice(1))if(!oi(e)&&"boolean"!=typeof e)return!1;return!0;default:return!0}}function ai(t,e="fill"){if(null==t)return{filter:()=>!0,needGeometry:!1,needFeature:!1};oi(t)||(t=fi(t));const n=t;let r=!0;try{r=function(t){if(!ci(t))return t;let e=Qt(t);return li(e),e=si(e),e}(n)}catch(t){console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.\nThis is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md\nand paste the contents of this message in the report.\nThank you!\nFilter Expression:\n${JSON.stringify(n,null,2)}\n        `)}const i=Xt[`filter_${e}`],o=Vr(r,i);let a=null;if("error"===o.result)throw new Error(o.value.map((t=>`${t.key}: ${t.message}`)).join(", "));a=(t,e,n)=>o.value.evaluate(t,e,{},n);let s=null,l=null;if(r!==n){const t=Vr(n,i);if("error"===t.result)throw new Error(t.value.map((t=>`${t.key}: ${t.message}`)).join(", "));s=(e,n,r,i,o)=>t.value.evaluate(e,n,{},r,void 0,void 0,i,o),l=!vn(t.value.expression)}return{filter:a,dynamicFilter:s||void 0,needGeometry:hi(r),needFeature:!!l}}function si(t){if(!Array.isArray(t))return t;const e=function(t){if(ui.has(t[0]))for(let e=1;e<t.length;e++)if(ci(t[e]))return!0;return t}(t);return!0===e?e:e.map((t=>si(t)))}function li(t){let e=!1;const n=[];if("case"===t[0]){for(let r=1;r<t.length-1;r+=2)e=e||ci(t[r]),n.push(t[r+1]);n.push(t[t.length-1])}else if("match"===t[0]){e=e||ci(t[1]);for(let e=2;e<t.length-1;e+=2)n.push(t[e+1]);n.push(t[t.length-1])}else if("step"===t[0]){e=e||ci(t[1]);for(let e=1;e<t.length-1;e+=2)n.push(t[e+1])}e&&(t.length=0,t.push("any",...n));for(let e=1;e<t.length;e++)li(t[e])}function ci(t){if(!Array.isArray(t))return!1;if("pitch"===(e=t[0])||"distance-from-center"===e)return!0;var e;for(let e=1;e<t.length;e++)if(ci(t[e]))return!0;return!1}const ui=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function di(t,e){return t<e?-1:t>e?1:0}function hi(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(let e=1;e<t.length;e++)if(hi(t[e]))return!0;return!1}function fi(t){if(!t)return!0;const e=t[0];return t.length<=1?"any"!==e:"=="===e?pi(t[1],t[2],"=="):"!="===e?vi(pi(t[1],t[2],"==")):"<"===e||">"===e||"<="===e||">="===e?pi(t[1],t[2],e):"any"===e?(n=t.slice(1),["any"].concat(n.map(fi))):"all"===e?["all"].concat(t.slice(1).map(fi)):"none"===e?["all"].concat(t.slice(1).map(fi).map(vi)):"in"===e?mi(t[1],t.slice(2)):"!in"===e?vi(mi(t[1],t.slice(2))):"has"===e?_i(t[1]):"!has"===e?vi(_i(t[1])):"within"!==e||t;var n}function pi(t,e,n){switch(t){case"$type":return[`filter-type-${n}`,e];case"$id":return[`filter-id-${n}`,e];default:return[`filter-${n}`,t,e]}}function mi(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((t=>typeof t!=typeof e[0]))?["filter-in-large",t,["literal",e.sort(di)]]:["filter-in-small",t,["literal",e]]}}function _i(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function vi(t){return["!",t]}function gi(t){return oi(Qt(t.value))?ni(Jt({},t,{expressionContext:"filter",valueSpec:t.styleSpec[`filter_${t.layerType||"fill"}`]})):yi(t)}function yi(t){const e=t.value,n=t.key;if("array"!==Pr(e))return[new Jr(n,e,`array expected, ${Pr(e)} found`)];const r=t.styleSpec;let i,o=[];if(e.length<1)return[new Jr(n,e,"filter array must have at least 1 element")];switch(o=o.concat(ii({key:`${n}[0]`,value:e[0],valueSpec:r.filter_operator,style:t.style,styleSpec:t.styleSpec})),Kt(e[0])){case"<":case"<=":case">":case">=":e.length>=2&&"$type"===Kt(e[1])&&o.push(new Jr(n,e,`"$type" cannot be use with operator "${e[0]}"`));case"==":case"!=":3!==e.length&&o.push(new Jr(n,e,`filter array for operator "${e[0]}" must have 3 elements`));case"in":case"!in":e.length>=2&&(i=Pr(e[1]),"string"!==i&&o.push(new Jr(`${n}[1]`,e[1],`string expected, ${i} found`)));for(let a=2;a<e.length;a++)i=Pr(e[a]),"$type"===Kt(e[1])?o=o.concat(ii({key:`${n}[${a}]`,value:e[a],valueSpec:r.geometry_type,style:t.style,styleSpec:t.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&o.push(new Jr(`${n}[${a}]`,e[a],`string, number, or boolean expected, ${i} found`));break;case"any":case"all":case"none":for(let r=1;r<e.length;r++)o=o.concat(yi({key:`${n}[${r}]`,value:e[r],style:t.style,styleSpec:t.styleSpec}));break;case"has":case"!has":i=Pr(e[1]),2!==e.length?o.push(new Jr(n,e,`filter array for "${e[0]}" operator must have 2 elements`)):"string"!==i&&o.push(new Jr(`${n}[1]`,e[1],`string expected, ${i} found`));break;case"within":i=Pr(e[1]),2!==e.length?o.push(new Jr(n,e,`filter array for "${e[0]}" operator must have 2 elements`)):"object"!==i&&o.push(new Jr(`${n}[1]`,e[1],`object expected, ${i} found`))}return o}function bi(t,e){const n=t.key,r=t.style,i=t.styleSpec,o=t.value,a=t.objectKey,s=i[`${e}_${t.layerType}`];if(!s)return[];const l=a.match(/^(.*)-transition$/);if("paint"===e&&l&&s[l[1]]&&s[l[1]].transition)return Di({key:n,value:o,valueSpec:i.transition,style:r,styleSpec:i});const c=t.valueSpec||s[a];if(!c)return[new Jr(n,o,`unknown property "${a}"`)];let u;if("string"===Pr(o)&&Dr(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o)))return[new Jr(n,o,`"${a}" does not support interpolation syntax\nUse an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(u[1])} }\`.`)];const d=[];return"symbol"===t.layerType&&("text-field"===a&&r&&!r.glyphs&&d.push(new Jr(n,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&jr(Qt(o))&&"identity"===Kt(o.type)&&d.push(new Jr(n,o,'"text-font" does not support identity functions'))),d.concat(Di({key:t.key,value:o,valueSpec:c,style:r,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:a}))}function xi(t){return bi(t,"paint")}function wi(t){return bi(t,"layout")}function ki(t){let e=[];const n=t.value,r=t.key,i=t.style,o=t.styleSpec;n.type||n.ref||e.push(new Jr(r,n,'either "type" or "ref" is required'));let a=Kt(n.type);const s=Kt(n.ref);if(n.id){const o=Kt(n.id);for(let a=0;a<t.arrayIndex;a++){const t=i.layers[a];Kt(t.id)===o&&e.push(new Jr(r,n.id,`duplicate layer id "${n.id}", previously used at line ${t.id.__line__}`))}}if("ref"in n){let t;["type","source","source-layer","filter","layout"].forEach((t=>{t in n&&e.push(new Jr(r,n[t],`"${t}" is prohibited for ref layers`))})),i.layers.forEach((e=>{Kt(e.id)===s&&(t=e)})),t?t.ref?e.push(new Jr(r,n.ref,"ref cannot reference another ref layer")):a=Kt(t.type):"string"==typeof s&&e.push(new Jr(r,n.ref,`ref layer "${s}" not found`))}else if("background"!==a&&"sky"!==a)if(n.source){const t=i.sources&&i.sources[n.source],o=t&&Kt(t.type);t?"vector"===o&&"raster"===a?e.push(new Jr(r,n.source,`layer "${n.id}" requires a raster source`)):"raster"===o&&"raster"!==a?e.push(new Jr(r,n.source,`layer "${n.id}" requires a vector source`)):"vector"!==o||n["source-layer"]?"raster-dem"===o&&"hillshade"!==a?e.push(new Jr(r,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==a||!n.paint||!n.paint["line-gradient"]&&!n.paint["line-trim-offset"]||"geojson"===o&&t.lineMetrics||e.push(new Jr(r,n,`layer "${n.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new Jr(r,n,`layer "${n.id}" must specify a "source-layer"`)):e.push(new Jr(r,n.source,`source "${n.source}" not found`))}else e.push(new Jr(r,n,'missing required property "source"'));return e=e.concat(Kr({key:r,value:n,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":()=>[],type:()=>Di({key:`${r}.type`,value:n.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:"type"}),filter:t=>gi(Jt({layerType:a},t)),layout:t=>Kr({layer:n,key:t.key,value:t.value,valueSpec:{},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>wi(Jt({layerType:a},t))}}),paint:t=>Kr({layer:n,key:t.key,value:t.value,valueSpec:{},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>xi(Jt({layerType:a},t))}})}})),e}function Mi(t){const e=t.value,n=t.key,r=Pr(e);return"string"!==r?[new Jr(n,e,`string expected, ${r} found`)]:[]}const Ci={promoteId:function({key:t,value:e}){if("string"===Pr(e))return Mi({key:t,value:e});{const n=[];for(const r in e)n.push(...Mi({key:`${t}.${r}`,value:e[r]}));return n}}};function Si(t){const e=t.value,n=t.key,r=t.styleSpec,i=t.style;if(!e.type)return[new Jr(n,e,'"type" is required')];const o=Kt(e.type);let a;switch(o){case"vector":case"raster":case"raster-dem":return a=Kr({key:n,value:e,valueSpec:r[`source_${o.replace("-","_")}`],style:t.style,styleSpec:r,objectElementValidators:Ci}),a;case"geojson":if(a=Kr({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,objectElementValidators:Ci}),e.cluster)for(const t in e.clusterProperties){const[r,i]=e.clusterProperties[t],o="string"==typeof r?[r,["accumulated"],["get",t]]:r;a.push(...ni({key:`${n}.${t}.map`,value:i,expressionContext:"cluster-map"})),a.push(...ni({key:`${n}.${t}.reduce`,value:o,expressionContext:"cluster-reduce"}))}return a;case"video":return Kr({key:n,value:e,valueSpec:r.source_video,style:i,styleSpec:r});case"image":return Kr({key:n,value:e,valueSpec:r.source_image,style:i,styleSpec:r});case"canvas":return[new Jr(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return ii({key:`${n}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:r})}}function Ti(t){const e=t.value,n=t.styleSpec,r=n.light,i=t.style;let o=[];const a=Pr(e);if(void 0===e)return o;if("object"!==a)return o=o.concat([new Jr("light",e,`object expected, ${a} found`)]),o;for(const t in e){const a=t.match(/^(.*)-transition$/);o=o.concat(a&&r[a[1]]&&r[a[1]].transition?Di({key:t,value:e[t],valueSpec:n.transition,style:i,styleSpec:n}):r[t]?Di({key:t,value:e[t],valueSpec:r[t],style:i,styleSpec:n}):[new Jr(t,e[t],`unknown property "${t}"`)])}return o}function Li(t){const e=t.value,n=t.key,r=t.style,i=t.styleSpec,o=i.terrain;let a=[];const s=Pr(e);if(void 0===e)return a;if("object"!==s)return a=a.concat([new Jr("terrain",e,`object expected, ${s} found`)]),a;for(const t in e){const n=t.match(/^(.*)-transition$/);a=a.concat(n&&o[n[1]]&&o[n[1]].transition?Di({key:t,value:e[t],valueSpec:i.transition,style:r,styleSpec:i}):o[t]?Di({key:t,value:e[t],valueSpec:o[t],style:r,styleSpec:i}):[new Jr(t,e[t],`unknown property "${t}"`)])}if(e.source){const t=r.sources&&r.sources[e.source],i=t&&Kt(t.type);t?"raster-dem"!==i&&a.push(new Jr(n,e.source,`terrain cannot be used with a source of type ${String(i)}, it only be used with a "raster-dem" source type`)):a.push(new Jr(n,e.source,`source "${e.source}" not found`))}else a.push(new Jr(n,e,'terrain is missing required property "source"'));return a}function Ei(t){const e=t.value,n=t.style,r=t.styleSpec,i=r.fog;let o=[];const a=Pr(e);if(void 0===e)return o;if("object"!==a)return o=o.concat([new Jr("fog",e,`object expected, ${a} found`)]),o;for(const t in e){const a=t.match(/^(.*)-transition$/);o=o.concat(a&&i[a[1]]&&i[a[1]].transition?Di({key:t,value:e[t],valueSpec:r.transition,style:n,styleSpec:r}):i[t]?Di({key:t,value:e[t],valueSpec:i[t],style:n,styleSpec:r}):[new Jr(t,e[t],`unknown property "${t}"`)])}return o}const Ai={"*":()=>[],array:Qr,boolean:function(t){const e=t.value,n=t.key,r=Pr(e);return"boolean"!==r?[new Jr(n,e,`boolean expected, ${r} found`)]:[]},number:ti,color:function(t){const e=t.key,n=t.value,r=Pr(n);return"string"!==r?[new Jr(e,n,`color expected, ${r} found`)]:null===be(n)?[new Jr(e,n,`color expected, "${n}" found`)]:[]},enum:ii,filter:gi,function:ei,layer:ki,object:Kr,source:Si,light:Ti,terrain:Li,fog:Ei,string:Mi,formatted:function(t){return 0===Mi(t).length?[]:ni(t)},resolvedImage:function(t){return 0===Mi(t).length?[]:ni(t)},projection:function(t){const e=t.value,n=t.styleSpec,r=n.projection,i=t.style;let o=[];const a=Pr(e);if("object"===a)for(const t in e)o=o.concat(Di({key:t,value:e[t],valueSpec:r[t],style:i,styleSpec:n}));else"string"!==a&&(o=o.concat([new Jr("projection",e,`object or string expected, ${a} found`)]));return o}};function Di(t){const e=t.value,n=t.valueSpec,r=t.styleSpec;return n.expression&&jr(Kt(e))?ei(t):n.expression&&Hr(Qt(e))?ni(t):n.type&&Ai[n.type]?Ai[n.type](t):Kr(Jt({},t,{valueSpec:n.type?r[n.type]:n}))}function Oi(t){const e=t.value,n=t.key,r=Mi(t);return r.length||(-1===e.indexOf("{fontstack}")&&r.push(new Jr(n,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&r.push(new Jr(n,e,'"glyphs" url must include a "{range}" token'))),r}function zi(t,e=Xt){return Ii(Di({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:Oi,"*":()=>[]}}))}const Pi=t=>Ii(xi(t)),ji=t=>Ii(wi(t));function Ii(t){return t.slice().sort(((t,e)=>t.line&&e.line?t.line-e.line:0))}function Yi(t,e){let n=!1;if(e&&e.length)for(const r of e)t.fire(new Gt(new Error(r.message))),n=!0;return n}var Ri=Fi;function Fi(t,e,n){var r=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(n=i[2]);for(var o=0;o<this.d*this.d;o++){var a=i[3+o],s=i[3+o+1];r.push(a===s?null:i.subarray(a,s))}var l=i[3+r.length+1];this.keys=i.subarray(i[3+r.length],l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly}else{this.d=e+2*n;for(var c=0;c<this.d*this.d;c++)r.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=n,this.scale=e/t,this.uid=0;var u=n/e*t;this.min=-u,this.max=t+u}Fi.prototype.insert=function(t,e,n,r,i){this._forEachCell(e,n,r,i,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)},Fi.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},Fi.prototype._insertCell=function(t,e,n,r,i,o){this.cells[i].push(o)},Fi.prototype.query=function(t,e,n,r,i){var o=this.min,a=this.max;if(t<=o&&e<=o&&a<=n&&a<=r&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,n,r,this._queryCell,s,{},i),s},Fi.prototype._queryCell=function(t,e,n,r,i,o,a,s){var l=this.cells[i];if(null!==l)for(var c=this.keys,u=this.bboxes,d=0;d<l.length;d++){var h=l[d];if(void 0===a[h]){var f=4*h;(s?s(u[f+0],u[f+1],u[f+2],u[f+3]):t<=u[f+2]&&e<=u[f+3]&&n>=u[f+0]&&r>=u[f+1])?(a[h]=!0,o.push(c[h])):a[h]=!1}}},Fi.prototype._forEachCell=function(t,e,n,r,i,o,a,s){for(var l=this._convertToCellCoord(t),c=this._convertToCellCoord(e),u=this._convertToCellCoord(n),d=this._convertToCellCoord(r),h=l;h<=u;h++)for(var f=c;f<=d;f++){var p=this.d*f+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(f),this._convertFromCellCoord(h+1),this._convertFromCellCoord(f+1)))&&i.call(this,t,e,n,r,p,o,a,s))return}},Fi.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},Fi.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},Fi.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=3+this.cells.length+1+1,n=0,r=0;r<this.cells.length;r++)n+=this.cells[r].length;var i=new Int32Array(e+n+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];i[3+a]=o,i.set(s,o),o+=s.length}return i[3+t.length]=o,i.set(this.keys,o),i[3+t.length+1]=o+=this.keys.length,i.set(this.bboxes,o),o+=this.bboxes.length,i.buffer};const Bi={};function Ni(t,e,n={}){Object.defineProperty(t,"_classRegistryKey",{value:e,writeable:!1}),Bi[e]={klass:t,omit:n.omit||[]}}Ni(Object,"Object"),Ri.serialize=function(t,e){const n=t.toArrayBuffer();return e&&e.push(n),{buffer:n}},Ri.deserialize=function(t){return new Ri(t.buffer)},Object.defineProperty(Ri,"name",{value:"Grid"}),Ni(Ri,"Grid"),Ni(Te,"Color"),Ni(Error,"Error"),Ni(st,"AJAXError"),Ni(De,"ResolvedImage"),Ni(qr,"StylePropertyFunction"),Ni(Zr,"StyleExpression",{omit:["_evaluator"]}),Ni(Wr,"ZoomDependentExpression"),Ni(Ur,"ZoomConstantExpression"),Ni(Xe,"CompoundExpression",{omit:["_evaluate"]});for(const t in Lr)Bi[Lr[t]._classRegistryKey]||Ni(Lr[t],`Expression${t}`);function $i(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function Zi(t){return e.ImageBitmap&&t instanceof e.ImageBitmap}function Hi(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)return t;if($i(t)||Zi(t))return n&&n.push(t),t;if(ArrayBuffer.isView(t)){const e=t;return n&&n.push(e.buffer),e}if(t instanceof e.ImageData)return n&&n.push(t.data.buffer),t;if(Array.isArray(t)){const e=[];for(const r of t)e.push(Hi(r,n));return e}if("object"==typeof t){const e=t.constructor,r=e._classRegistryKey;if(!r)throw new Error(`can't serialize object of unregistered class ${r}`);const i=e.serialize?e.serialize(t,n):{};if(!e.serialize){for(const e in t)t.hasOwnProperty(e)&&(Bi[r].omit.indexOf(e)>=0||(i[e]=Hi(t[e],n)));t instanceof Error&&(i.message=t.message)}if(i.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==r&&(i.$name=r),i}throw new Error("can't serialize object of type "+typeof t)}function Vi(t){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||$i(t)||Zi(t)||ArrayBuffer.isView(t)||t instanceof e.ImageData)return t;if(Array.isArray(t))return t.map(Vi);if("object"==typeof t){const e=t.$name||"Object",{klass:n}=Bi[e];if(!n)throw new Error(`can't deserialize unregistered class ${e}`);if(n.deserialize)return n.deserialize(t);const r=Object.create(n.prototype);for(const e of Object.keys(t))"$name"!==e&&(r[e]=Vi(t[e]));return r}throw new Error("can't deserialize object of type "+typeof t)}class Ui{constructor(){this.first=!0}update(t,e){const n=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=n,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=n,!0):(this.lastFloorZoom>n?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<n&&(this.lastIntegerZoom=n,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=n,!0))}}const Wi=t=>t>=1536&&t<=1791,Gi=t=>t>=1872&&t<=1919,qi=t=>t>=2208&&t<=2303,Xi=t=>t>=11904&&t<=12031,Ji=t=>t>=12032&&t<=12255,Ki=t=>t>=12272&&t<=12287,Qi=t=>t>=12288&&t<=12351,to=t=>t>=12352&&t<=12447,eo=t=>t>=12448&&t<=12543,no=t=>t>=12544&&t<=12591,ro=t=>t>=12704&&t<=12735,io=t=>t>=12736&&t<=12783,oo=t=>t>=12784&&t<=12799,ao=t=>t>=12800&&t<=13055,so=t=>t>=13056&&t<=13311,lo=t=>t>=13312&&t<=19903,co=t=>t>=19968&&t<=40959,uo=t=>t>=40960&&t<=42127,ho=t=>t>=42128&&t<=42191,fo=t=>t>=44032&&t<=55215,po=t=>t>=63744&&t<=64255,mo=t=>t>=64336&&t<=65023,_o=t=>t>=65040&&t<=65055,vo=t=>t>=65072&&t<=65103,go=t=>t>=65104&&t<=65135,yo=t=>t>=65136&&t<=65279,bo=t=>t>=65280&&t<=65519;function xo(t){for(const e of t)if(Mo(e.charCodeAt(0)))return!0;return!1}function wo(t){for(const e of t)if(!ko(e.charCodeAt(0)))return!1;return!0}function ko(t){return!(Wi(t)||Gi(t)||qi(t)||mo(t)||yo(t))}function Mo(t){return!(746!==t&&747!==t&&(t<4352||!(ro(t)||no(t)||vo(t)&&!(t>=65097&&t<=65103)||po(t)||so(t)||Xi(t)||io(t)||!(!Qi(t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||lo(t)||co(t)||ao(t)||(t=>t>=12592&&t<=12687)(t)||(t=>t>=43360&&t<=43391)(t)||(t=>t>=55216&&t<=55295)(t)||(t=>t>=4352&&t<=4607)(t)||fo(t)||to(t)||Ki(t)||(t=>t>=12688&&t<=12703)(t)||Ji(t)||oo(t)||eo(t)&&12540!==t||!(!bo(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)||!(!go(t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||(t=>t>=5120&&t<=5759)(t)||(t=>t>=6320&&t<=6399)(t)||_o(t)||(t=>t>=19904&&t<=19967)(t)||uo(t)||ho(t))))}function Co(t){return!(Mo(t)||function(t){return!!((t=>t>=128&&t<=255)(t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||(t=>t>=8192&&t<=8303)(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)||(t=>t>=8448&&t<=8527)(t)||(t=>t>=8528&&t<=8591)(t)||(t=>t>=8960&&t<=9215)(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)||(t=>t>=9216&&t<=9279)(t)&&9251!==t||(t=>t>=9280&&t<=9311)(t)||(t=>t>=9312&&t<=9471)(t)||(t=>t>=9632&&t<=9727)(t)||(t=>t>=9728&&t<=9983)(t)&&!(t>=9754&&t<=9759)||(t=>t>=11008&&t<=11263)(t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||Qi(t)||eo(t)||(t=>t>=57344&&t<=63743)(t)||vo(t)||go(t)||bo(t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function So(t){return t>=1424&&t<=2303||mo(t)||yo(t)}function To(t,e){return!(!e&&So(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||(t=>t>=6016&&t<=6143)(t))}function Lo(t){for(const e of t)if(So(e.charCodeAt(0)))return!0;return!1}const Eo="deferred",Ao="loading",Do="loaded";let Oo=null,zo="unavailable",Po=null;const jo=function(t){t&&"string"==typeof t&&t.indexOf("NetworkError")>-1&&(zo="error"),Oo&&Oo(t)};function Io(){Yo.fire(new Wt("pluginStateChange",{pluginStatus:zo,pluginURL:Po}))}const Yo=new qt,Ro=function(){return zo},Fo=function(){if(zo!==Eo||!Po)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");zo=Ao,Io(),Po&&ut({url:Po},(t=>{t?jo(t):(zo=Do,Io())}))},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>zo===Do||null!=Bo.applyArabicShaping,isLoading:()=>zo===Ao,setState(t){zo=t.pluginStatus,Po=t.pluginURL},isParsed:()=>null!=Bo.applyArabicShaping&&null!=Bo.processBidirectionalText&&null!=Bo.processStyledBidirectionalText,getPluginURL:()=>Po};class No{constructor(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition,this.pitch=e.pitch):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Ui,this.transition={},this.pitch=0)}isSupportedScript(t){return function(t,e){for(const n of t)if(!To(n.charCodeAt(0),e))return!1;return!0}(t,Bo.isLoaded())}crossFadingFactor(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const t=this.zoom,e=t-Math.floor(t),n=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}}}class $o{constructor(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(jr(t))return new qr(t,e);if(Hr(t)){const n=Gr(t,e);if("error"===n.result)throw new Error(n.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return n.value}{let n=t;return"string"==typeof t&&"color"===e.type&&(n=Te.parse(t)),{kind:"constant",evaluate:()=>n}}}(void 0===e?t.specification.default:e,t.specification)}isDataDriven(){return"source"===this.expression.kind||"composite"===this.expression.kind}possiblyEvaluate(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)}}class Zo{constructor(t){this.property=t,this.value=new $o(t,void 0)}transitioned(t,e){return new Vo(this.property,this.value,e,A({},t.transition,this.transition),t.now)}untransitioned(){return new Vo(this.property,this.value,null,{},0)}}class Ho{constructor(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)}getValue(t){return B(this._values[t].value.value)}setValue(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Zo(this._values[t].property)),this._values[t].value=new $o(this._values[t].property,null===e?void 0:B(e))}getTransition(t){return B(this._values[t].transition)}setTransition(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Zo(this._values[t].property)),this._values[t].transition=B(e)||void 0}serialize(){const t={};for(const e of Object.keys(this._values)){const n=this.getValue(e);void 0!==n&&(t[e]=n);const r=this.getTransition(e);void 0!==r&&(t[`${e}-transition`]=r)}return t}transitioned(t,e){const n=new Uo(this._properties);for(const r of Object.keys(this._values))n._values[r]=this._values[r].transitioned(t,e._values[r]);return n}untransitioned(){const t=new Uo(this._properties);for(const e of Object.keys(this._values))t._values[e]=this._values[e].untransitioned();return t}}class Vo{constructor(t,e,n,r,i){const o=r.delay||0,a=r.duration||0;i=i||0,this.property=t,this.value=e,this.begin=i+o,this.end=this.begin+a,t.specification.transition&&(r.delay||r.duration)&&(this.prior=n)}possiblyEvaluate(t,e,n){const r=t.now||0,i=this.value.possiblyEvaluate(t,e,n),o=this.prior;if(o){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r<this.begin)return o.possiblyEvaluate(t,e,n);{const a=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(o.possiblyEvaluate(t,e,n),i,w(a))}}return i}}class Uo{constructor(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)}possiblyEvaluate(t,e,n){const r=new qo(this._properties);for(const i of Object.keys(this._values))r._values[i]=this._values[i].possiblyEvaluate(t,e,n);return r}hasTransition(){for(const t of Object.keys(this._values))if(this._values[t].prior)return!0;return!1}}class Wo{constructor(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)}getValue(t){return B(this._values[t].value)}setValue(t,e){this._values[t]=new $o(this._values[t].property,null===e?void 0:B(e))}serialize(){const t={};for(const e of Object.keys(this._values)){const n=this.getValue(e);void 0!==n&&(t[e]=n)}return t}possiblyEvaluate(t,e,n){const r=new qo(this._properties);for(const i of Object.keys(this._values))r._values[i]=this._values[i].possiblyEvaluate(t,e,n);return r}}class Go{constructor(t,e,n){this.property=t,this.value=e,this.parameters=n}isConstant(){return"constant"===this.value.kind}constantOr(t){return"constant"===this.value.kind?this.value.value:t}evaluate(t,e,n,r){return this.property.evaluate(this.value,this.parameters,t,e,n,r)}}class qo{constructor(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)}get(t){return this._values[t]}}class Xo{constructor(t){this.specification=t}possiblyEvaluate(t,e){return t.expression.evaluate(e)}interpolate(t,e,n){const r=En[this.specification.type];return r?r(t,e,n):t}}class Jo{constructor(t,e){this.specification=t,this.overrides=e}possiblyEvaluate(t,e,n,r){return new Go(this,"constant"===t.expression.kind||"camera"===t.expression.kind?{kind:"constant",value:t.expression.evaluate(e,null,{},n,r)}:t.expression,e)}interpolate(t,e,n){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new Go(this,{kind:"constant",value:void 0},t.parameters);const r=En[this.specification.type];return r?new Go(this,{kind:"constant",value:r(t.value.value,e.value.value,n)},t.parameters):t}evaluate(t,e,n,r,i,o){return"constant"===t.kind?t.value:t.evaluate(e,n,r,i,o)}}class Ko extends Jo{possiblyEvaluate(t,e,n,r){if(void 0===t.value)return new Go(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},n,r),o="resolvedImage"===t.property.specification.type&&"string"!=typeof i?i.name:i,a=this._calculate(o,o,o,e);return new Go(this,{kind:"constant",value:a},e)}if("camera"===t.expression.kind){const n=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new Go(this,{kind:"constant",value:n},e)}return new Go(this,t.expression,e)}evaluate(t,e,n,r,i,o){if("source"===t.kind){const a=t.evaluate(e,n,r,i,o);return this._calculate(a,a,a,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},n,r),t.evaluate({zoom:Math.floor(e.zoom)},n,r),t.evaluate({zoom:Math.floor(e.zoom)+1},n,r),e):t.value}_calculate(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e,other:n}:{from:n,to:e,other:t}}interpolate(t){return t}}class Qo{constructor(t){this.specification=t}possiblyEvaluate(t,e,n,r){if(void 0!==t.value){if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},n,r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new No(Math.floor(e.zoom-1),e)),t.expression.evaluate(new No(Math.floor(e.zoom),e)),t.expression.evaluate(new No(Math.floor(e.zoom+1),e)),e)}}_calculate(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class ta{constructor(t){this.specification=t}possiblyEvaluate(t,e,n,r){return!!t.expression.evaluate(e,null,{},n,r)}interpolate(){return!1}}class ea{constructor(t){this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];const e=new No(0,{});for(const n in t){const r=t[n];r.specification.overridable&&this.overridableProperties.push(n);const i=this.defaultPropertyValues[n]=new $o(r,void 0),o=this.defaultTransitionablePropertyValues[n]=new Zo(r);this.defaultTransitioningPropertyValues[n]=o.untransitioned(),this.defaultPossiblyEvaluatedValues[n]=i.possiblyEvaluate(e)}}}function na(t,e){return 256*(t=C(Math.floor(t),0,255))+C(Math.floor(e),0,255)}Ni(Jo,"DataDrivenProperty"),Ni(Xo,"DataConstantProperty"),Ni(Ko,"CrossFadedDataDrivenProperty"),Ni(Qo,"CrossFadedProperty"),Ni(ta,"ColorRampProperty");const ra={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class ia{constructor(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class oa{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}}static deserialize(t){const e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(t){this.reserve(t),this.length=t}reserve(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}destroy(){this.int8=this.uint8=this.int16=this.uint16=this.int32=this.uint32=this.float32=null,this.arrayBuffer=null}}function aa(t,e=1){let n=0,r=0;return{members:t.map((t=>{const i=ra[t.type].BYTES_PER_ELEMENT,o=n=sa(n,Math.max(e,i)),a=t.components||1;return r=Math.max(r,i),n+=i*a,{name:t.name,type:t.type,components:a,offset:o}})),size:sa(n,Math.max(r,e)),alignment:e}}function sa(t,e){return Math.ceil(t/e)*e}class la extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.int16[r+0]=e,this.int16[r+1]=n,t}}la.prototype.bytesPerElement=4,Ni(la,"StructArrayLayout2i4");class ca extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.int16[i+0]=e,this.int16[i+1]=n,this.int16[i+2]=r,t}}ca.prototype.bytesPerElement=6,Ni(ca,"StructArrayLayout3i6");class ua extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const o=4*t;return this.int16[o+0]=e,this.int16[o+1]=n,this.int16[o+2]=r,this.int16[o+3]=i,t}}ua.prototype.bytesPerElement=8,Ni(ua,"StructArrayLayout4i8");class da extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,n,r,i,o,a)}emplace(t,e,n,r,i,o,a,s){const l=6*t,c=12*t,u=3*t;return this.int16[l+0]=e,this.int16[l+1]=n,this.uint8[c+4]=r,this.uint8[c+5]=i,this.uint8[c+6]=o,this.uint8[c+7]=a,this.float32[u+2]=s,t}}da.prototype.bytesPerElement=12,Ni(da,"StructArrayLayout2i4ub1f12");class ha extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const o=4*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=r,this.float32[o+3]=i,t}}ha.prototype.bytesPerElement=16,Ni(ha,"StructArrayLayout4f16");class fa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s,l,c){const u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,r,i,o,a,s,l,c)}emplace(t,e,n,r,i,o,a,s,l,c,u){const d=10*t;return this.uint16[d+0]=e,this.uint16[d+1]=n,this.uint16[d+2]=r,this.uint16[d+3]=i,this.uint16[d+4]=o,this.uint16[d+5]=a,this.uint16[d+6]=s,this.uint16[d+7]=l,this.uint16[d+8]=c,this.uint16[d+9]=u,t}}fa.prototype.bytesPerElement=20,Ni(fa,"StructArrayLayout10ui20");class pa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s){const l=this.length;return this.resize(l+1),this.emplace(l,t,e,n,r,i,o,a,s)}emplace(t,e,n,r,i,o,a,s,l){const c=8*t;return this.uint16[c+0]=e,this.uint16[c+1]=n,this.uint16[c+2]=r,this.uint16[c+3]=i,this.uint16[c+4]=o,this.uint16[c+5]=a,this.uint16[c+6]=s,this.uint16[c+7]=l,t}}pa.prototype.bytesPerElement=16,Ni(pa,"StructArrayLayout8ui16");class ma extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o){const a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,r,i,o)}emplace(t,e,n,r,i,o,a){const s=6*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,t}}ma.prototype.bytesPerElement=12,Ni(ma,"StructArrayLayout6i12");class _a extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s,l,c,u,d){const h=this.length;return this.resize(h+1),this.emplace(h,t,e,n,r,i,o,a,s,l,c,u,d)}emplace(t,e,n,r,i,o,a,s,l,c,u,d,h){const f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=i,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=c,this.int16[f+9]=u,this.int16[f+10]=d,this.int16[f+11]=h,t}}_a.prototype.bytesPerElement=24,Ni(_a,"StructArrayLayout4i4ui4i24");class va extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o){const a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,r,i,o)}emplace(t,e,n,r,i,o,a){const s=10*t,l=5*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.float32[l+2]=i,this.float32[l+3]=o,this.float32[l+4]=a,t}}va.prototype.bytesPerElement=20,Ni(va,"StructArrayLayout3i3f20");class ga extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint32[1*t+0]=e,t}}ga.prototype.bytesPerElement=4,Ni(ga,"StructArrayLayout1ul4");class ya extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s,l,c,u,d,h){const f=this.length;return this.resize(f+1),this.emplace(f,t,e,n,r,i,o,a,s,l,c,u,d,h)}emplace(t,e,n,r,i,o,a,s,l,c,u,d,h,f){const p=20*t,m=10*t;return this.int16[p+0]=e,this.int16[p+1]=n,this.int16[p+2]=r,this.int16[p+3]=i,this.int16[p+4]=o,this.float32[m+3]=a,this.float32[m+4]=s,this.float32[m+5]=l,this.float32[m+6]=c,this.int16[p+14]=u,this.uint32[m+8]=d,this.uint16[p+18]=h,this.uint16[p+19]=f,t}}ya.prototype.bytesPerElement=40,Ni(ya,"StructArrayLayout5i4f1i1ul2ui40");class ba extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,n,r,i,o,a)}emplace(t,e,n,r,i,o,a,s){const l=8*t;return this.int16[l+0]=e,this.int16[l+1]=n,this.int16[l+2]=r,this.int16[l+4]=i,this.int16[l+5]=o,this.int16[l+6]=a,this.int16[l+7]=s,t}}ba.prototype.bytesPerElement=16,Ni(ba,"StructArrayLayout3i2i2i16");class xa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i)}emplace(t,e,n,r,i,o){const a=4*t,s=8*t;return this.float32[a+0]=e,this.float32[a+1]=n,this.float32[a+2]=r,this.int16[s+6]=i,this.int16[s+7]=o,t}}xa.prototype.bytesPerElement=16,Ni(xa,"StructArrayLayout2f1f2i16");class wa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=n,this.float32[a+1]=r,this.float32[a+2]=i,t}}wa.prototype.bytesPerElement=12,Ni(wa,"StructArrayLayout2ub2f12");class ka extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.float32[i+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}ka.prototype.bytesPerElement=12,Ni(ka,"StructArrayLayout3f12");class Ma extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,this.uint16[i+2]=r,t}}Ma.prototype.bytesPerElement=6,Ni(Ma,"StructArrayLayout3ui6");class Ca extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b){const x=this.length;return this.resize(x+1),this.emplace(x,t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b)}emplace(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x){const w=30*t,k=15*t,M=60*t;return this.int16[w+0]=e,this.int16[w+1]=n,this.int16[w+2]=r,this.float32[k+2]=i,this.float32[k+3]=o,this.uint16[w+8]=a,this.uint16[w+9]=s,this.uint32[k+5]=l,this.uint32[k+6]=c,this.uint32[k+7]=u,this.uint16[w+16]=d,this.uint16[w+17]=h,this.uint16[w+18]=f,this.float32[k+10]=p,this.float32[k+11]=m,this.uint8[M+48]=_,this.uint8[M+49]=v,this.uint8[M+50]=g,this.uint32[k+13]=y,this.int16[w+28]=b,this.uint8[M+58]=x,t}}Ca.prototype.bytesPerElement=60,Ni(Ca,"StructArrayLayout3i2f2ui3ul3ui2f3ub1ul1i1ub60");class Sa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x,w,k,M,C,S,T,L,E){const A=this.length;return this.resize(A+1),this.emplace(A,t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x,w,k,M,C,S,T,L,E)}emplace(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x,w,k,M,C,S,T,L,E,A){const D=38*t,O=19*t;return this.int16[D+0]=e,this.int16[D+1]=n,this.int16[D+2]=r,this.float32[O+2]=i,this.float32[O+3]=o,this.int16[D+8]=a,this.int16[D+9]=s,this.int16[D+10]=l,this.int16[D+11]=c,this.int16[D+12]=u,this.int16[D+13]=d,this.uint16[D+14]=h,this.uint16[D+15]=f,this.uint16[D+16]=p,this.uint16[D+17]=m,this.uint16[D+18]=_,this.uint16[D+19]=v,this.uint16[D+20]=g,this.uint16[D+21]=y,this.uint16[D+22]=b,this.uint16[D+23]=x,this.uint16[D+24]=w,this.uint16[D+25]=k,this.uint16[D+26]=M,this.uint16[D+27]=C,this.uint16[D+28]=S,this.uint32[O+15]=T,this.float32[O+16]=L,this.float32[O+17]=E,this.float32[O+18]=A,t}}Sa.prototype.bytesPerElement=76,Ni(Sa,"StructArrayLayout3i2f6i15ui1ul3f76");class Ta extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.float32[1*t+0]=e,t}}Ta.prototype.bytesPerElement=4,Ni(Ta,"StructArrayLayout1f4");class La extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,n,r,i){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i)}emplace(t,e,n,r,i,o){const a=5*t;return this.float32[a+0]=e,this.float32[a+1]=n,this.float32[a+2]=r,this.float32[a+3]=i,this.float32[a+4]=o,t}}La.prototype.bytesPerElement=20,Ni(La,"StructArrayLayout5f20");class Ea extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const o=6*t;return this.uint32[3*t+0]=e,this.uint16[o+2]=n,this.uint16[o+3]=r,this.uint16[o+4]=i,t}}Ea.prototype.bytesPerElement=12,Ni(Ea,"StructArrayLayout1ul3ui12");class Aa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,t}}Aa.prototype.bytesPerElement=4,Ni(Aa,"StructArrayLayout2ui4");class Da extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint16[1*t+0]=e,t}}Da.prototype.bytesPerElement=2,Ni(Da,"StructArrayLayout1ui2");class Oa extends oa{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.float32[r+0]=e,this.float32[r+1]=n,t}}Oa.prototype.bytesPerElement=8,Ni(Oa,"StructArrayLayout2f8");class za extends ia{get a_pos_30(){return this._structArray.int16[this._pos2+0]}get a_pos_31(){return this._structArray.int16[this._pos2+1]}get a_pos_32(){return this._structArray.int16[this._pos2+2]}get a_pos_normal_30(){return this._structArray.int16[this._pos2+3]}get a_pos_normal_31(){return this._structArray.int16[this._pos2+4]}get a_pos_normal_32(){return this._structArray.int16[this._pos2+5]}}za.prototype.size=12;class Pa extends ma{get(t){return new za(this,t)}}Ni(Pa,"FillExtrusionExtArray");class ja extends ia{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.int16[this._pos2+3]}get tileAnchorY(){return this._structArray.int16[this._pos2+4]}get x1(){return this._structArray.float32[this._pos4+3]}get y1(){return this._structArray.float32[this._pos4+4]}get x2(){return this._structArray.float32[this._pos4+5]}get y2(){return this._structArray.float32[this._pos4+6]}get padding(){return this._structArray.int16[this._pos2+14]}get featureIndex(){return this._structArray.uint32[this._pos4+8]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+18]}get bucketIndex(){return this._structArray.uint16[this._pos2+19]}}ja.prototype.size=40;class Ia extends ya{get(t){return new ja(this,t)}}Ni(Ia,"CollisionBoxArray");class Ya extends ia{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.float32[this._pos4+2]}get tileAnchorY(){return this._structArray.float32[this._pos4+3]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+8]}get numGlyphs(){return this._structArray.uint16[this._pos2+9]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+5]}get lineStartIndex(){return this._structArray.uint32[this._pos4+6]}get lineLength(){return this._structArray.uint32[this._pos4+7]}get segment(){return this._structArray.uint16[this._pos2+16]}get lowerSize(){return this._structArray.uint16[this._pos2+17]}get upperSize(){return this._structArray.uint16[this._pos2+18]}get lineOffsetX(){return this._structArray.float32[this._pos4+10]}get lineOffsetY(){return this._structArray.float32[this._pos4+11]}get writingMode(){return this._structArray.uint8[this._pos1+48]}get placedOrientation(){return this._structArray.uint8[this._pos1+49]}set placedOrientation(t){this._structArray.uint8[this._pos1+49]=t}get hidden(){return this._structArray.uint8[this._pos1+50]}set hidden(t){this._structArray.uint8[this._pos1+50]=t}get crossTileID(){return this._structArray.uint32[this._pos4+13]}set crossTileID(t){this._structArray.uint32[this._pos4+13]=t}get associatedIconIndex(){return this._structArray.int16[this._pos2+28]}get flipState(){return this._structArray.uint8[this._pos1+58]}set flipState(t){this._structArray.uint8[this._pos1+58]=t}}Ya.prototype.size=60;class Ra extends Ca{get(t){return new Ya(this,t)}}Ni(Ra,"PlacedSymbolArray");class Fa extends ia{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.float32[this._pos4+2]}get tileAnchorY(){return this._structArray.float32[this._pos4+3]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+8]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+9]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+10]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+11]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+12]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+13]}get key(){return this._structArray.uint16[this._pos2+14]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+17]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+18]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+19]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+20]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+21]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+22]}get featureIndex(){return this._structArray.uint16[this._pos2+23]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+24]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+25]}get numIconVertices(){return this._structArray.uint16[this._pos2+26]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+27]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+28]}get crossTileID(){return this._structArray.uint32[this._pos4+15]}set crossTileID(t){this._structArray.uint32[this._pos4+15]=t}get textOffset0(){return this._structArray.float32[this._pos4+16]}get textOffset1(){return this._structArray.float32[this._pos4+17]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+18]}}Fa.prototype.size=76;class Ba extends Sa{get(t){return new Fa(this,t)}}Ni(Ba,"SymbolInstanceArray");class Na extends Ta{getoffsetX(t){return this.float32[1*t+0]}}Ni(Na,"GlyphOffsetArray");class $a extends ca{getx(t){return this.int16[3*t+0]}gety(t){return this.int16[3*t+1]}gettileUnitDistanceFromAnchor(t){return this.int16[3*t+2]}}Ni($a,"SymbolLineVertexArray");class Za extends ia{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}get layoutVertexArrayOffset(){return this._structArray.uint16[this._pos2+4]}}Za.prototype.size=12;class Ha extends Ea{get(t){return new Za(this,t)}}Ni(Ha,"FeatureIndexArray");class Va extends ia{get a_centroid_pos0(){return this._structArray.uint16[this._pos2+0]}get a_centroid_pos1(){return this._structArray.uint16[this._pos2+1]}}Va.prototype.size=4;class Ua extends Aa{get(t){return new Va(this,t)}}Ni(Ua,"FillExtrusionCentroidArray");class Wa extends ia{get a_pos_30(){return this._structArray.int16[this._pos2+0]}get a_pos_31(){return this._structArray.int16[this._pos2+1]}get a_pos_32(){return this._structArray.int16[this._pos2+2]}get a_pos_normal_30(){return this._structArray.int16[this._pos2+3]}get a_pos_normal_31(){return this._structArray.int16[this._pos2+4]}get a_pos_normal_32(){return this._structArray.int16[this._pos2+5]}}Wa.prototype.size=12;class Ga extends ma{get(t){return new Wa(this,t)}}Ni(Ga,"CircleGlobeExtArray");const qa=aa([{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"}]),Xa=aa([{name:"a_dash_to",components:4,type:"Uint16"},{name:"a_dash_from",components:4,type:"Uint16"}]);var Ja={exports:{}},Ka={exports:function(t,e){var n,r,i,o,a,s,l,c;for(r=t.length-(n=3&t.length),i=e,a=3432918353,s=461845907,c=0;c<r;)l=255&t.charCodeAt(c)|(255&t.charCodeAt(++c))<<8|(255&t.charCodeAt(++c))<<16|(255&t.charCodeAt(++c))<<24,++c,i=27492+(65535&(o=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(c+2))<<16;case 2:l^=(255&t.charCodeAt(c+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(c)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}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}},Qa={exports:function(t,e){for(var n,r=t.length,i=e^r,o=0;r>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:i^=(255&t.charCodeAt(o+2))<<16;case 2:i^=(255&t.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}},ts=Ka.exports,es=Qa.exports;Ja.exports=ts,Ja.exports.murmur3=ts,Ja.exports.murmur2=es;class ns{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(t,e,n,r){this.ids.push(rs(t)),this.positions.push(e,n,r)}getPositions(t){const e=rs(t);let n=0,r=this.ids.length-1;for(;n<r;){const t=n+r>>1;this.ids[t]>=e?r=t:n=t+1}const i=[];for(;this.ids[n]===e;)i.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return i}static serialize(t,e){const n=new Float64Array(t.ids),r=new Uint32Array(t.positions);return is(n,r,0,n.length-1),e&&e.push(n.buffer,r.buffer),{ids:n,positions:r}}static deserialize(t){const e=new ns;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e}}function rs(t){const e=+t;return!isNaN(e)&&Number.MIN_SAFE_INTEGER<=e&&e<=Number.MAX_SAFE_INTEGER?e:Ja.exports(String(t))}function is(t,e,n,r){for(;n<r;){const i=t[n+r>>1];let o=n-1,a=r+1;for(;;){do{o++}while(t[o]<i);do{a--}while(t[a]>i);if(o>=a)break;os(t,o,a),os(e,3*o,3*a),os(e,3*o+1,3*a+1),os(e,3*o+2,3*a+2)}a-n<r-a?(is(t,e,n,a),n=a+1):(is(t,e,a+1,r),r=a)}}function os(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}Ni(ns,"FeaturePositionMap");class as{constructor(t){this.gl=t.gl,this.initialized=!1}fetchUniformLocation(t,e){return this.location||this.initialized||(this.location=this.gl.getUniformLocation(t,e),this.initialized=!0),!!this.location}}class ss extends as{constructor(t){super(t),this.current=0}set(t,e,n){this.fetchUniformLocation(t,e)&&this.current!==n&&(this.current=n,this.gl.uniform1f(this.location,n))}}class ls extends as{constructor(t){super(t),this.current=[0,0,0,0]}set(t,e,n){this.fetchUniformLocation(t,e)&&(n[0]===this.current[0]&&n[1]===this.current[1]&&n[2]===this.current[2]&&n[3]===this.current[3]||(this.current=n,this.gl.uniform4f(this.location,n[0],n[1],n[2],n[3])))}}class cs extends as{constructor(t){super(t),this.current=Te.transparent}set(t,e,n){this.fetchUniformLocation(t,e)&&(n.r===this.current.r&&n.g===this.current.g&&n.b===this.current.b&&n.a===this.current.a||(this.current=n,this.gl.uniform4f(this.location,n.r,n.g,n.b,n.a)))}}const us=new Float32Array(16),ds=new Float32Array(9),hs=new Float32Array(4);function fs(t){return[na(255*t.r,255*t.g),na(255*t.b,255*t.a)]}class ps{constructor(t,e,n){this.value=t,this.uniformNames=e.map((t=>`u_${t}`)),this.type=n}setUniform(t,e,n,r,i){e.set(t,i,r.constantOr(this.value))}getBinding(t,e){return"color"===this.type?new cs(t):new ss(t)}}class ms{constructor(t,e){this.uniformNames=e.map((t=>`u_${t}`)),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(t,e){this.pixelRatioFrom=e.pixelRatio||1,this.pixelRatioTo=t.pixelRatio||1,this.patternFrom=e.tl.concat(e.br),this.patternTo=t.tl.concat(t.br)}setUniform(t,e,n,r,i){const o="u_pattern_to"===i||"u_dash_to"===i?this.patternTo:"u_pattern_from"===i||"u_dash_from"===i?this.patternFrom:"u_pixel_ratio_to"===i?this.pixelRatioTo:"u_pixel_ratio_from"===i?this.pixelRatioFrom:null;o&&e.set(t,i,o)}getBinding(t,e){return"u_pattern_from"===e||"u_pattern_to"===e||"u_dash_from"===e||"u_dash_to"===e?new ls(t):new ss(t)}}class _s{constructor(t,e,n,r){this.expression=t,this.type=n,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?2:1,offset:0}))),this.paintVertexArray=new r}populatePaintArray(t,e,n,r,i,o){const a=this.paintVertexArray.length,s=this.expression.evaluate(new No(0),e,{},i,r,o);this.paintVertexArray.resize(t),this._setPaintValue(a,t,s)}updatePaintArray(t,e,n,r,i){const o=this.expression.evaluate({zoom:0},n,r,void 0,i);this._setPaintValue(t,e,o)}_setPaintValue(t,e,n){if("color"===this.type){const r=fs(n);for(let n=t;n<e;n++)this.paintVertexArray.emplace(n,r[0],r[1])}else{for(let r=t;r<e;r++)this.paintVertexArray.emplace(r,n);this.maxValue=Math.max(this.maxValue,Math.abs(n))}}upload(t){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))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}}class vs{constructor(t,e,n,r,i,o){this.expression=t,this.uniformNames=e.map((t=>`u_${t}_t`)),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?4:2,offset:0}))),this.paintVertexArray=new o}populatePaintArray(t,e,n,r,i,o){const a=this.expression.evaluate(new No(this.zoom),e,{},i,r,o),s=this.expression.evaluate(new No(this.zoom+1),e,{},i,r,o),l=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(l,t,a,s)}updatePaintArray(t,e,n,r,i){const o=this.expression.evaluate({zoom:this.zoom},n,r,void 0,i),a=this.expression.evaluate({zoom:this.zoom+1},n,r,void 0,i);this._setPaintValue(t,e,o,a)}_setPaintValue(t,e,n,r){if("color"===this.type){const i=fs(n),o=fs(r);for(let n=t;n<e;n++)this.paintVertexArray.emplace(n,i[0],i[1],o[0],o[1])}else{for(let i=t;i<e;i++)this.paintVertexArray.emplace(i,n,r);this.maxValue=Math.max(this.maxValue,Math.abs(n),Math.abs(r))}}upload(t){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))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}setUniform(t,e,n,r,i){const o=this.useIntegerZoom?Math.floor(n.zoom):n.zoom,a=C(this.expression.interpolationFactor(o,this.zoom,this.zoom+1),0,1);e.set(t,i,a)}getBinding(t,e){return new ss(t)}}class gs{constructor(t,e,n,r,i,o,a){this.expression=t,this.type=n,this.useIntegerZoom=r,this.zoom=i,this.layerId=a,this.paintVertexAttributes=("array"===n?Xa:qa).members;for(let t=0;t<e.length;++t);this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o}populatePaintArray(t,e,n){const r=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(t),this.zoomOutPaintVertexArray.resize(t),this._setPaintValues(r,t,e.patterns&&e.patterns[this.layerId],n)}updatePaintArray(t,e,n,r,i,o){this._setPaintValues(t,e,n.patterns&&n.patterns[this.layerId],o)}_setPaintValues(t,e,n,r){if(!r||!n)return;const{min:i,mid:o,max:a}=n,s=r[i],l=r[o],c=r[a];if(s&&l&&c)for(let n=t;n<e;n++)this._setPaintValue(this.zoomInPaintVertexArray,n,l,s),this._setPaintValue(this.zoomOutPaintVertexArray,n,l,c)}_setPaintValue(t,e,n,r){t.emplace(e,n.tl[0],n.tl[1],n.br[0],n.br[1],r.tl[0],r.tl[1],r.br[0],r.br[1],n.pixelRatio,r.pixelRatio)}upload(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()}}class ys{constructor(t,e,n=(()=>!0)){this.binders={},this._buffers=[];const r=[];for(const i in t.paint._values){if(!n(i))continue;const o=t.paint.get(i);if(!(o instanceof Go&&Dr(o.property.specification)))continue;const a=ws(i,t.type),s=o.value,l=o.property.specification.type,c=o.property.useIntegerZoom,u=o.property.specification["property-type"],d="cross-faded"===u||"cross-faded-data-driven"===u,h="line-dasharray"===String(i)&&"constant"!==t.layout.get("line-cap").value.kind;if("constant"!==s.kind||h)if("source"===s.kind||h||d){const n=Cs(i,l,"source");this.binders[i]=d?new gs(s,a,l,c,e,n,t.id):new _s(s,a,l,n),r.push(`/a_${i}`)}else{const t=Cs(i,l,"composite");this.binders[i]=new vs(s,a,l,c,e,t),r.push(`/z_${i}`)}else this.binders[i]=d?new ms(s.value,a):new ps(s.value,a,l),r.push(`/u_${i}`)}this.cacheKey=r.sort().join("")}getMaxValue(t){const e=this.binders[t];return e instanceof _s||e instanceof vs?e.maxValue:0}populatePaintArrays(t,e,n,r,i,o){for(const a in this.binders){const s=this.binders[a];(s instanceof _s||s instanceof vs||s instanceof gs)&&s.populatePaintArray(t,e,n,r,i,o)}}setConstantPatternPositions(t,e){for(const n in this.binders){const r=this.binders[n];r instanceof ms&&r.setConstantPatternPositions(t,e)}}updatePaintArrays(t,e,n,r,i,o){let a=!1;for(const s in t){const l=e.getPositions(s);for(const e of l){const l=n.feature(e.index);for(const n in this.binders){const c=this.binders[n];if((c instanceof _s||c instanceof vs||c instanceof gs)&&!0===c.expression.isStateDependent){const u=r.paint.get(n);c.expression=u.value,c.updatePaintArray(e.start,e.end,l,t[s],i,o),a=!0}}}}return a}defines(){const t=[];for(const e in this.binders){const n=this.binders[e];(n instanceof ps||n instanceof ms)&&t.push(...n.uniformNames.map((t=>`#define HAS_UNIFORM_${t}`)))}return t}getBinderAttributes(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof _s||n instanceof vs||n instanceof gs)for(let e=0;e<n.paintVertexAttributes.length;e++)t.push(n.paintVertexAttributes[e].name)}return t}getBinderUniforms(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof ps||n instanceof ms||n instanceof vs)for(const e of n.uniformNames)t.push(e)}return t}getPaintVertexBuffers(){return this._buffers}getUniforms(t){const e=[];for(const n in this.binders){const r=this.binders[n];if(r instanceof ps||r instanceof ms||r instanceof vs)for(const i of r.uniformNames)e.push({name:i,property:n,binding:r.getBinding(t,i)})}return e}setUniforms(t,e,n,r,i){for(const{name:e,property:o,binding:a}of n)this.binders[o].setUniform(t,a,i,r.get(o),e)}updatePaintBuffers(t){this._buffers=[];for(const e in this.binders){const n=this.binders[e];if(t&&n instanceof gs){const e=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;e&&this._buffers.push(e)}else(n instanceof _s||n instanceof vs)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer)}}upload(t){for(const e in this.binders){const n=this.binders[e];(n instanceof _s||n instanceof vs||n instanceof gs)&&n.upload(t)}this.updatePaintBuffers()}destroy(){for(const t in this.binders){const e=this.binders[t];(e instanceof _s||e instanceof vs||e instanceof gs)&&e.destroy()}}}class bs{constructor(t,e,n=(()=>!0)){this.programConfigurations={};for(const r of t)this.programConfigurations[r.id]=new ys(r,e,n);this.needsUpload=!1,this._featureMap=new ns,this._bufferOffset=0}populatePaintArrays(t,e,n,r,i,o,a){for(const n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r,i,o,a);void 0!==e.id&&this._featureMap.add(e.id,n,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0}updatePaintArrays(t,e,n,r,i){for(const o of n)this.needsUpload=this.programConfigurations[o.id].updatePaintArrays(t,this._featureMap,e,o,r,i)||this.needsUpload}get(t){return this.programConfigurations[t]}upload(t){if(this.needsUpload){for(const e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}}destroy(){for(const t in this.programConfigurations)this.programConfigurations[t].destroy()}}const xs={"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["ga
2pwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"line-dasharray":["dash_to","dash_from"]};function ws(t,e){return xs[t]||[t.replace(`${e}-`,"").replace(/-/g,"_")]}const ks={"line-pattern":{source:fa,composite:fa},"fill-pattern":{source:fa,composite:fa},"fill-extrusion-pattern":{source:fa,composite:fa},"line-dasharray":{source:pa,composite:pa}},Ms={color:{source:Oa,composite:ha},number:{source:Ta,composite:Oa}};function Cs(t,e,n){const r=ks[t];return r&&r[n]||Ms[e][n]}Ni(ps,"ConstantBinder"),Ni(ms,"CrossFadedConstantBinder"),Ni(_s,"SourceExpressionBinder"),Ni(gs,"CrossFadedCompositeBinder"),Ni(vs,"CompositeExpressionBinder"),Ni(ys,"ProgramConfiguration",{omit:["_buffers"]}),Ni(bs,"ProgramConfigurationSet");const Ss="-transition";class Ts extends qt{constructor(t,e){if(super(),this.id=t.id,this.type=t.type,this._featureFilter={filter:()=>!0,needGeometry:!1,needFeature:!1},this._filterCompiled=!1,"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&"sky"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter),e.layout&&(this._unevaluatedLayout=new Wo(e.layout)),e.paint)){this._transitionablePaint=new Ho(e.paint);for(const e in t.paint)this.setPaintProperty(e,t.paint[e],{validate:!1});for(const e in t.layout)this.setLayoutProperty(e,t.layout[e],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new qo(e.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)}setLayoutProperty(t,e,n={}){null!=e&&this._validate(ji,`layers.${this.id}.layout.${t}`,t,e,n)||("visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e)}getPaintProperty(t){return Y(t,Ss)?this._transitionablePaint.getTransition(t.slice(0,-Ss.length)):this._transitionablePaint.getValue(t)}setPaintProperty(t,e,n={}){if(null!=e&&this._validate(Pi,`layers.${this.id}.paint.${t}`,t,e,n))return!1;if(Y(t,Ss))return this._transitionablePaint.setTransition(t.slice(0,-Ss.length),e||void 0),!1;{const n=this._transitionablePaint._values[t],r="cross-faded-data-driven"===n.property.specification["property-type"],i=n.value.isDataDriven(),o=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);const a=this._transitionablePaint._values[t].value;return a.isDataDriven()||i||r||this._handleOverridablePaintPropertyUpdate(t,o,a)}}_handleSpecialPaintPropertyUpdate(t){}getProgramIds(){return null}getProgramConfiguration(t){return null}_handleOverridablePaintPropertyUpdate(t,e,n){return!1}isHidden(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility}updateTransitions(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(t,e){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)}
vendor: 28,407 bytes, line 2
2serialize(){const t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),F(t,((t,e)=>!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)))}_validate(t,e,n,r,i={}){return(!i||!1!==i.validate)&&Yi(this,t.call(zi,{key:e,layerType:this.type,objectKey:n,value:r,styleSpec:Xt,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isSky(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(const t in this.paint._values){const e=this.paint.get(t);if(e instanceof Go&&Dr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1}compileFilter(){this._filterCompiled||(this._featureFilter=ai(this.filter),this._filterCompiled=!0)}invalidateCompiledFilter(){this._filterCompiled=!1}dynamicFilter(){return this._featureFilter.dynamicFilter}dynamicFilterNeedsFeature(){return this._featureFilter.needFeature}}const Ls=aa([{name:"a_pos",components:2,type:"Int16"}],4),Es=aa([{name:"a_pos_3",components:3,type:"Int16"},{name:"a_pos_normal_3",components:3,type:"Int16"}]);class As{constructor(t=[]){this.segments=t}prepareSegment(t,e,n,r){let i=this.segments[this.segments.length-1];return t>As.MAX_VERTEX_ARRAY_LENGTH&&$(`Max vertices per segment is ${As.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}`),(!i||i.vertexLength+t>As.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r)&&(i={vertexOffset:e.length,primitiveOffset:n.length,vertexLength:0,primitiveLength:0},void 0!==r&&(i.sortKey=r),this.segments.push(i)),i}get(){return this.segments}destroy(){for(const t of this.segments)for(const e in t.vaos)t.vaos[e].destroy()}static simpleSegment(t,e,n,r){return new As([{vertexOffset:t,primitiveOffset:e,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])}}As.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Ni(As,"SegmentVector");var Ds=8192;class Os{constructor(t,e){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]))}setNorthEast(t){return this._ne=t instanceof Ps?new Ps(t.lng,t.lat):Ps.convert(t),this}setSouthWest(t){return this._sw=t instanceof Ps?new Ps(t.lng,t.lat):Ps.convert(t),this}extend(t){const e=this._sw,n=this._ne;let r,i;if(t instanceof Ps)r=t,i=t;else{if(!(t instanceof Os))return Array.isArray(t)?4===t.length||t.every(Array.isArray)?this.extend(Os.convert(t)):this.extend(Ps.convert(t)):"object"==typeof t&&null!==t&&t.hasOwnProperty("lat")&&t.hasOwnProperty("lon")?this.extend(Ps.convert(t)):this;if(r=t._sw,i=t._ne,!r||!i)return this}return e||n?(e.lng=Math.min(r.lng,e.lng),e.lat=Math.min(r.lat,e.lat),n.lng=Math.max(i.lng,n.lng),n.lat=Math.max(i.lat,n.lat)):(this._sw=new Ps(r.lng,r.lat),this._ne=new Ps(i.lng,i.lat)),this}getCenter(){return new Ps((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new Ps(this.getWest(),this.getNorth())}getSouthEast(){return new Ps(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(t){const{lng:e,lat:n}=Ps.convert(t);let r=this._sw.lng<=e&&e<=this._ne.lng;return this._sw.lng>this._ne.lng&&(r=this._sw.lng>=e&&e>=this._ne.lng),this._sw.lat<=n&&n<=this._ne.lat&&r}static convert(t){return!t||t instanceof Os?t:new Os(t)}}const zs=6371008.8;class Ps{constructor(t,e){if(isNaN(t)||isNaN(e))throw new Error(`Invalid LngLat object: (${t}, ${e})`);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")}wrap(){return new Ps(T(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(t){const e=Math.PI/180,n=this.lat*e,r=t.lat*e,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((t.lng-this.lng)*e);return zs*Math.acos(Math.min(i,1))}toBounds(t=0){const e=360*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return new Os(new Ps(this.lng-n,this.lat-e),new Ps(this.lng+n,this.lat+e))}static convert(t){if(t instanceof Ps)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Ps(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Ps(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")}}const js=2*Math.PI*zs;function Is(t){return js*Math.cos(t*Math.PI/180)}function Ys(t){return(180+t)/360}function Rs(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function Fs(t,e){return t/Is(e)}function Bs(t){return 360*t-180}function Ns(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}function $s(t,e){return t*Is(Ns(e))}const Zs=85.051129;function Hs(t){return 1/Math.cos(t*Math.PI/180)}class Vs{constructor(t,e,n=0){this.x=+t,this.y=+e,this.z=+n}static fromLngLat(t,e=0){const n=Ps.convert(t);return new Vs(Ys(n.lng),Rs(n.lat),Fs(e,n.lat))}toLngLat(){return new Ps(Bs(this.x),Ns(this.y))}toAltitude(){return $s(this.z,this.y)}meterInMercatorCoordinateUnits(){return 1/js*Hs(Ns(this.y))}}function Us(t,e,n,r,i,o,a,s,l){const c=(e+r)/2,u=(n+i)/2,d=new m(c,u);s(d),function(t,e,n,r,i,o){const a=n-i,s=r-o;return Math.abs((r-e)*a-(n-t)*s)/Math.hypot(a,s)}(d.x,d.y,o.x,o.y,a.x,a.y)>=l?(Us(t,e,n,c,u,o,d,s,l),Us(t,c,u,r,i,d,a,s,l)):t.push(a)}function Ws(t,e,n){let r=t[0],i=r.x,o=r.y;e(r);const a=[r];for(let s=1;s<t.length;s++){const l=t[s],{x:c,y:u}=l;e(l),Us(a,i,o,c,u,r,l,e,n),i=c,o=u,r=l}return a}function Gs(t,e,n,r){if(r(e,n)){const i=e.add(n)._mult(.5);Gs(t,e,i,r),Gs(t,i,n,r)}else t.push(n)}function qs(t,e){let n=t[0];const r=[n];for(let i=1;i<t.length;i++){const o=t[i];Gs(r,n,o,e),n=o}return r}const Xs=Math.pow(2,14)-1,Js=-Xs-1;function Ks(t,e){const n=Math.round(t.x*e),r=Math.round(t.y*e);return t.x=C(n,Js,Xs),t.y=C(r,Js,Xs),(n<t.x||n>t.x+1||r<t.y||r>t.y+1)&&$("Geometry exceeds allowed extent, reduce your vector tile buffer size"),t}function Qs(t,e,n){const r=t.loadGeometry(),i=t.extent,o=Ds/i;if(e&&n&&n.projection.isReprojectedInTileSpace){const o=1<<e.z,{scale:a,x:s,y:l,projection:c}=n,u=t=>{const n=Bs((e.x+t.x/i)/o),r=Ns((e.y+t.y/i)/o),u=c.project(n,r);t.x=(u.x*a-s)*i,t.y=(u.y*a-l)*i};for(let e=0;e<r.length;e++)if(1!==t.type)r[e]=Ws(r[e],u,1);else{const t=[];for(const n of r[e])n.x<0||n.x>=i||n.y<0||n.y>=i||(u(n),t.push(n));r[e]=t}}for(const t of r)for(const e of t)Ks(e,o);return r}function tl(t,e){return{type:t.type,id:t.id,properties:t.properties,geometry:e?Qs(t):[]}}function el(t,e,n,r,i){t.emplaceBack(2*e+(r+1)/2,2*n+(i+1)/2)}function nl(t,e,n){const r=16384;t.emplaceBack(e.x,e.y,e.z,n[0]*r,n[1]*r,n[2]*r)}class rl{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.projection=t.projection,this.layoutVertexArray=new la,this.indexArray=new Ma,this.segments=new As,this.programConfigurations=new bs(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,n,r){const i=this.layers[0],o=[];let a=null;"circle"===i.type&&(a=i.layout.get("circle-sort-key"));for(const{feature:e,id:i,index:s,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,c=tl(e,t);if(!this.layers[0]._featureFilter.filter(new No(this.zoom),c,n))continue;const u=a?a.evaluate(c,{},n):void 0,d={id:i,properties:e.properties,type:e.type,sourceLayerIndex:l,index:s,geometry:t?c.geometry:Qs(e,n,r),patterns:{},sortKey:u};o.push(d)}a&&o.sort(((t,e)=>t.sortKey-e.sortKey));let s=null;"globe"===r.projection.name&&(this.globeExtVertexArray=new Ga,s=r.projection);for(const r of o){const{geometry:i,index:o,sourceLayerIndex:a}=r,l=t[o].feature;this.addFeature(r,i,o,e.availableImages,n,s),e.featureIndex.insert(l,i,o,a,this.index)}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ls.members),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.globeExtVertexArray&&(this.globeExtVertexBuffer=t.createVertexBuffer(this.globeExtVertexArray,Es.members))),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.globeExtVertexBuffer&&this.globeExtVertexBuffer.destroy())}addFeature(t,e,n,r,i,o){for(const n of e)for(const e of n){const n=e.x,r=e.y;if(n<0||n>=Ds||r<0||r>=Ds)continue;if(o){const t=o.projectTilePoint(n,r,i),e=o.upVector(i,n,r),a=this.globeExtVertexArray;nl(a,t,e),nl(a,t,e),nl(a,t,e),nl(a,t,e)}const a=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),s=a.vertexLength;el(this.layoutVertexArray,n,r,-1,-1),el(this.layoutVertexArray,n,r,1,-1),el(this.layoutVertexArray,n,r,1,1),el(this.layoutVertexArray,n,r,-1,1),this.indexArray.emplaceBack(s,s+1,s+2),this.indexArray.emplaceBack(s,s+2,s+3),a.vertexLength+=4,a.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{},r,i)}}function il(t,e){for(let n=0;n<t.length;n++)if(fl(e,t[n]))return!0;for(let n=0;n<e.length;n++)if(fl(t,e[n]))return!0;return!!ll(t,e)}function ol(t,e,n){return!!fl(t,e)||!!ul(e,t,n)}function al(t,e){if(1===t.length)return hl(e,t[0]);for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.length;e++)if(fl(t,r[e]))return!0}for(let n=0;n<t.length;n++)if(hl(e,t[n]))return!0;for(let n=0;n<e.length;n++)if(ll(t,e[n]))return!0;return!1}function sl(t,e,n){if(t.length>1){if(ll(t,e))return!0;for(let r=0;r<e.length;r++)if(ul(e[r],t,n))return!0}for(let r=0;r<t.length;r++)if(ul(t[r],e,n))return!0;return!1}function ll(t,e){if(0===t.length||0===e.length)return!1;for(let n=0;n<t.length-1;n++){const r=t[n],i=t[n+1];for(let t=0;t<e.length-1;t++)if(cl(r,i,e[t],e[t+1]))return!0}return!1}function cl(t,e,n,r){return Z(t,n,r)!==Z(e,n,r)&&Z(t,e,n)!==Z(t,e,r)}function ul(t,e,n){const r=n*n;if(1===e.length)return t.distSqr(e[0])<r;for(let n=1;n<e.length;n++)if(dl(t,e[n-1],e[n])<r)return!0;return!1}function dl(t,e,n){const r=e.distSqr(n);if(0===r)return t.distSqr(e);const i=((t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y))/r;return t.distSqr(i<0?e:i>1?n:n.sub(e)._mult(i)._add(e))}function hl(t,e){let n,r,i,o=!1;for(let a=0;a<t.length;a++){n=t[a];for(let t=0,a=n.length-1;t<n.length;a=t++)r=n[t],i=n[a],r.y>e.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(o=!o)}return o}function fl(t,e){let n=!1;for(let r=0,i=t.length-1;r<t.length;i=r++){const o=t[r],a=t[i];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(n=!n)}return n}function pl(t,e,n,r,i){for(const o of t)if(e<=o.x&&n<=o.y&&r>=o.x&&i>=o.y)return!0;const o=[new m(e,n),new m(e,i),new m(r,i),new m(r,n)];if(t.length>2)for(const e of o)if(fl(t,e))return!0;for(let e=0;e<t.length-1;e++)if(ml(t[e],t[e+1],o))return!0;return!1}function ml(t,e,n){const r=n[0],i=n[2];if(t.x<r.x&&e.x<r.x||t.x>i.x&&e.x>i.x||t.y<r.y&&e.y<r.y||t.y>i.y&&e.y>i.y)return!1;const o=Z(t,e,n[0]);return o!==Z(t,e,n[1])||o!==Z(t,e,n[2])||o!==Z(t,e,n[3])}function _l(t,e,n){const r=e.paint.get(t).value;return"constant"===r.kind?r.value:n.programConfigurations.get(e.id).getMaxValue(t)}function vl(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function gl(t,e,n,r,i){if(!e[0]&&!e[1])return t;const o=m.convert(e)._mult(i);"viewport"===n&&o._rotate(-r);const a=[];for(let e=0;e<t.length;e++)a.push(t[e].sub(o));return a}function yl(t,e,n,r){const i=m.convert(t)._mult(r);return"viewport"===e&&i._rotate(-n),i}Ni(rl,"CircleBucket",{omit:["layers"]});const bl=new ea({"circle-sort-key":new Jo(Xt.layout_circle["circle-sort-key"])});var xl={paint:new ea({"circle-radius":new Jo(Xt.paint_circle["circle-radius"]),"circle-color":new Jo(Xt.paint_circle["circle-color"]),"circle-blur":new Jo(Xt.paint_circle["circle-blur"]),"circle-opacity":new Jo(Xt.paint_circle["circle-opacity"]),"circle-translate":new Xo(Xt.paint_circle["circle-translate"]),"circle-translate-anchor":new Xo(Xt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Xo(Xt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Xo(Xt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Jo(Xt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Jo(Xt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Jo(Xt.paint_circle["circle-stroke-opacity"])}),layout:bl},wl=1e-6,kl="undefined"!=typeof Float32Array?Float32Array:Array;function Ml(){var t=new kl(9);return kl!=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}function Cl(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=n[0],f=n[1],p=n[2],m=n[3],_=n[4],v=n[5],g=n[6],y=n[7],b=n[8];return t[0]=h*r+f*a+p*c,t[1]=h*i+f*s+p*u,t[2]=h*o+f*l+p*d,t[3]=m*r+_*a+v*c,t[4]=m*i+_*s+v*u,t[5]=m*o+_*l+v*d,t[6]=g*r+y*a+b*c,t[7]=g*i+y*s+b*u,t[8]=g*o+y*l+b*d,t}function Sl(t){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}function Tl(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],d=e[9],h=e[10],f=e[11],p=e[12],m=e[13],_=e[14],v=e[15],g=n*s-r*a,y=n*l-i*a,b=n*c-o*a,x=r*l-i*s,w=r*c-o*s,k=i*c-o*l,M=u*m-d*p,C=u*_-h*p,S=u*v-f*p,T=d*_-h*m,L=d*v-f*m,E=h*v-f*_,A=g*E-y*L+b*T+x*S-w*C+k*M;return A?(t[0]=(s*E-l*L+c*T)*(A=1/A),t[1]=(i*L-r*E-o*T)*A,t[2]=(m*k-_*w+v*x)*A,t[3]=(h*w-d*k-f*x)*A,t[4]=(l*S-a*E-c*C)*A,t[5]=(n*E-i*S+o*C)*A,t[6]=(_*b-p*k-v*y)*A,t[7]=(u*k-h*b+f*y)*A,t[8]=(a*L-s*S+c*M)*A,t[9]=(r*S-n*L-o*M)*A,t[10]=(p*w-m*b+v*g)*A,t[11]=(d*b-u*w-f*g)*A,t[12]=(s*C-a*T-l*M)*A,t[13]=(n*T-r*C+i*M)*A,t[14]=(m*y-p*x-_*g)*A,t[15]=(u*x-d*y+h*g)*A,t):null}function Ll(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=e[9],f=e[10],p=e[11],m=e[12],_=e[13],v=e[14],g=e[15],y=n[0],b=n[1],x=n[2],w=n[3];return t[0]=y*r+b*s+x*d+w*m,t[1]=y*i+b*l+x*h+w*_,t[2]=y*o+b*c+x*f+w*v,t[3]=y*a+b*u+x*p+w*g,t[4]=(y=n[4])*r+(b=n[5])*s+(x=n[6])*d+(w=n[7])*m,t[5]=y*i+b*l+x*h+w*_,t[6]=y*o+b*c+x*f+w*v,t[7]=y*a+b*u+x*p+w*g,t[8]=(y=n[8])*r+(b=n[9])*s+(x=n[10])*d+(w=n[11])*m,t[9]=y*i+b*l+x*h+w*_,t[10]=y*o+b*c+x*f+w*v,t[11]=y*a+b*u+x*p+w*g,t[12]=(y=n[12])*r+(b=n[13])*s+(x=n[14])*d+(w=n[15])*m,t[13]=y*i+b*l+x*h+w*_,t[14]=y*o+b*c+x*f+w*v,t[15]=y*a+b*u+x*p+w*g,t}function El(t,e,n){var r,i,o,a,s,l,c,u,d,h,f,p,m=n[0],_=n[1],v=n[2];return e===t?(t[12]=e[0]*m+e[4]*_+e[8]*v+e[12],t[13]=e[1]*m+e[5]*_+e[9]*v+e[13],t[14]=e[2]*m+e[6]*_+e[10]*v+e[14],t[15]=e[3]*m+e[7]*_+e[11]*v+e[15]):(i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=e[9],f=e[10],p=e[11],t[0]=r=e[0],t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=c,t[7]=u,t[8]=d,t[9]=h,t[10]=f,t[11]=p,t[12]=r*m+s*_+d*v+e[12],t[13]=i*m+l*_+h*v+e[13],t[14]=o*m+c*_+f*v+e[14],t[15]=a*m+u*_+p*v+e[15]),t}function Al(t,e,n){var r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Dl(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[4],a=e[5],s=e[6],l=e[7],c=e[8],u=e[9],d=e[10],h=e[11];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]=o*i+c*r,t[5]=a*i+u*r,t[6]=s*i+d*r,t[7]=l*i+h*r,t[8]=c*i-o*r,t[9]=u*i-a*r,t[10]=d*i-s*r,t[11]=h*i-l*r,t}function Ol(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],c=e[8],u=e[9],d=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i-c*r,t[1]=a*i-u*r,t[2]=s*i-d*r,t[3]=l*i-h*r,t[8]=o*r+c*i,t[9]=a*r+u*i,t[10]=s*r+d*i,t[11]=l*r+h*i,t}function zl(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function Pl(t,e,n){var r,i,o,a=n[0],s=n[1],l=n[2],c=Math.hypot(a,s,l);return c<wl?null:(a*=c=1/c,s*=c,l*=c,r=Math.sin(e),i=Math.cos(e),t[0]=a*a*(o=1-i)+i,t[1]=s*a*o+l*r,t[2]=l*a*o-s*r,t[3]=0,t[4]=a*s*o-l*r,t[5]=s*s*o+i,t[6]=l*s*o+a*r,t[7]=0,t[8]=a*l*o+s*r,t[9]=s*l*o-a*r,t[10]=l*l*o+i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});var jl=Ll;function Il(){var t=new kl(3);return kl!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function Yl(t){var e=new kl(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function Rl(t){return Math.hypot(t[0],t[1],t[2])}function Fl(t,e,n){var r=new kl(3);return r[0]=t,r[1]=e,r[2]=n,r}function Bl(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function Nl(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function $l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function Zl(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function Hl(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function Vl(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function Ul(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function Wl(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t}function Gl(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function ql(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=i*l-o*s,t[1]=o*a-r*l,t[2]=r*s-i*a,t}function Xl(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/(a=a||1),t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t}function Jl(t,e,n){var r=n[0],i=n[1],o=n[2],a=e[0],s=e[1],l=e[2],c=i*l-o*s,u=o*a-r*l,d=r*s-i*a,h=i*d-o*u,f=o*c-r*d,p=r*u-i*c,m=2*n[3];return u*=m,d*=m,f*=2,p*=2,t[0]=a+(c*=m)+(h*=2),t[1]=s+u+f,t[2]=l+d+p,t}var Kl,Ql=Nl,tc=$l,ec=Rl;function nc(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function rc(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a)),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=o*a,t}function ic(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,t}function oc(){var t=new kl(4);return kl!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function ac(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t}function sc(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+a*s,t[1]=i*l+o*s,t[2]=o*l-i*s,t[3]=a*l-r*s,t}function lc(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-o*s,t[1]=i*l+a*s,t[2]=o*l+r*s,t[3]=a*l-i*s,t}Il(),Kl=new kl(4),kl!=Float32Array&&(Kl[0]=0,Kl[1]=0,Kl[2]=0,Kl[3]=0);var cc=rc;Il(),Fl(1,0,0),Fl(0,1,0),oc(),oc(),Ml();class uc{constructor(t,e){this.pos=t,this.dir=e}intersectsPlane(t,e,n){const r=Gl(e,this.dir);if(Math.abs(r)<1e-6)return!1;const i=((t[0]-this.pos[0])*e[0]+(t[1]-this.pos[1])*e[1]+(t[2]-this.pos[2])*e[2])/r;return n[0]=this.pos[0]+this.dir[0]*i,n[1]=this.pos[1]+this.dir[1]*i,n[2]=this.pos[2]+this.dir[2]*i,!0}closestPointOnSphere(t,e,n){if(function(t,e){var n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],s=e[2];return Math.abs(n-o)<=wl*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=wl*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=wl*Math.max(1,Math.abs(i),Math.abs(s))}(this.pos,t)||0===e)return n[0]=n[1]=n[2]=0,!1;const[r,i,o]=this.dir,a=this.pos[0]-t[0],s=this.pos[1]-t[1],l=this.pos[2]-t[2],c=r*r+i*i+o*o,u=2*(a*r+s*i+l*o),d=u*u-4*c*(a*a+s*s+l*l-e*e);if(d<0){const t=Math.max(-u/2,0),c=a+r*t,d=s+i*t,h=l+o*t,f=Math.hypot(c,d,h);return n[0]=c*e/f,n[1]=d*e/f,n[2]=h*e/f,!1}{const t=(-u-Math.sqrt(d))/(2*c);if(t<0){const t=Math.hypot(a,s,l);return n[0]=a*e/t,n[1]=s*e/t,n[2]=l*e/t,!1}return n[0]=a+r*t,n[1]=s+i*t,n[2]=l+o*t,!0}}}class dc{constructor(t,e,n,r,i){this.TL=t,this.TR=e,this.BR=n,this.BL=r,this.horizon=i}static fromInvProjectionMatrix(t,e,n){const r=[-1,1,1],i=[1,1,1],o=[1,-1,1],a=[-1,-1,1],s=Xl(r,r,t),l=Xl(i,i,t),c=Xl(o,o,t),u=Xl(a,a,t);return new dc(s,l,c,u,e/n)}}class hc{constructor(t,e){this.points=t,this.planes=e}static fromInvProjectionMatrix(t,e,n,r){const i=Math.pow(2,n),o=[[-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((n=>{const o=ic([],n,t),a=1/o[3]/e*i;return function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}(o,o,[a,a,r?1/o[3]:a,a])})),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((t=>{const e=Wl([],ql([],Ql([],o[t[0]],o[t[1]]),Ql([],o[t[2]],o[t[1]]))),n=-Gl(e,o[t[1]]);return e.concat(n)}));return new hc(o,a)}}class fc{static fromPoints(t){const e=[1/0,1/0,1/0],n=[-1/0,-1/0,-1/0];for(const r of t)Zl(e,e,r),Hl(n,n,r);return new fc(e,n)}static applyTransform(t,e){const n=t.getCorners();for(let t=0;t<n.length;++t)Xl(n[t],n[t],e);return fc.fromPoints(n)}constructor(t,e){this.min=t,this.max=e,this.center=Vl([],Bl([],this.min,this.max),.5)}quadrant(t){const e=[t%2==0,t<2],n=Yl(this.min),r=Yl(this.max);for(let t=0;t<e.length;t++)n[t]=e[t]?this.min[t]:this.center[t],r[t]=e[t]?this.center[t]:this.max[t];return r[2]=this.max[2],new fc(n,r)}distanceX(t){return Math.max(Math.min(this.max[0],t[0]),this.min[0])-t[0]}distanceY(t){return Math.max(Math.min(this.max[1],t[1]),this.min[1])-t[1]}distanceZ(t){return Math.max(Math.min(this.max[2],t[2]),this.min[2])-t[2]}getCorners(){const t=this.min,e=this.max;return[[t[0],t[1],t[2]],[e[0],t[1],t[2]],[e[0],e[1],t[2]],[t[0],e[1],t[2]],[t[0],t[1],e[2]],[e[0],t[1],e[2]],[e[0],e[1],e[2]],[t[0],e[1],e[2]]]}intersects(t){const e=this.getCorners();let n=!0;for(let r=0;r<t.planes.length;r++){const i=t.planes[r];let o=0;for(let t=0;t<e.length;t++)o+=Gl(i,e[t])+i[3]>=0;if(0===o)return 0;o!==e.length&&(n=!1)}if(n)return 2;for(let e=0;e<3;e++){let n=Number.MAX_VALUE,r=-Number.MAX_VALUE;for(let i=0;i<t.points.length;i++){const o=t.points[i][e]-this.min[e];n=Math.min(n,o),r=Math.max(r,o)}if(r<0||n>this.max[e]-this.min[e])return 0}return 1}}function pc(t,e,n,r,i,o,a,s,l){if(o&&t.queryGeometry.isAboveHorizon)return!1;o&&(l*=t.pixelToTileUnitsFactor);const c=t.tileID.canonical,u=n.projection.upVectorScale(c,n.center.lat,n.worldSize).metersToTile;for(const d of e)for(const e of d){const d=e.add(s),h=i&&n.elevation?n.elevation.exaggeration()*i.getElevationAt(d.x,d.y,!0):0,f=n.projection.projectTilePoint(d.x,d.y,c);if(h>0){const t=n.projection.upVector(c,d.x,d.y);f.x+=t[0]*u*h,f.y+=t[1]*u*h,f.z+=t[2]*u*h}const p=o?d:mc(f.x,f.y,f.z,r),m=o?t.tilespaceRays.map((t=>gc(t,h))):t.queryGeometry.screenGeometry,_=ic([],[f.x,f.y,f.z,1],r);if(!a&&o?l*=_[3]/n.cameraToCenterDistance:a&&!o&&(l*=n.cameraToCenterDistance/_[3]),o){const t=Ns((e.y/Ds+c.y)/(1<<c.z));l/=n.projection.pixelsPerMeter(t,1)/Fs(1,t)}if(ol(m,p,l))return!0}return!1}function mc(t,e,n,r){const i=ic([],[t,e,n,1],r);return new m(i[0]/i[3],i[1]/i[3])}const _c=Fl(0,0,0),vc=Fl(0,0,1);function gc(t,e){const n=Il();return _c[2]=e,t.intersectsPlane(_c,vc,n),new m(n[0],n[1])}class yc extends rl{}function bc(t,{width:e,height:n},r,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==e*n*r)throw new RangeError("mismatched image size")}else i=new Uint8Array(e*n*r);return t.width=e,t.height=n,t.data=i,t}function xc(t,e,n){const{width:r,height:i}=e;r===t.width&&i===t.height||(wc(t,e,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,r),height:Math.min(t.height,i)},n),t.width=r,t.height=i,t.data=e.data)}function wc(t,e,n,r,i,o){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const a=t.data,s=e.data;for(let l=0;l<i.height;l++){const c=((n.y+l)*t.width+n.x)*o,u=((r.y+l)*e.width+r.x)*o;for(let t=0;t<i.width*o;t++)s[u+t]=a[c+t]}return e}Ni(yc,"HeatmapBucket",{omit:["layers"]});class kc{constructor(t,e){bc(this,t,1,e)}resize(t){xc(this,new kc(t),1)}clone(){return new kc({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(t,e,n,r,i){wc(t,e,n,r,i,1)}}class Mc{constructor(t,e){bc(this,t,4,e)}resize(t){xc(this,new Mc(t),4)}replace(t,e){e?this.data.set(t):this.data=t instanceof Uint8ClampedArray?new Uint8Array(t.buffer):t}clone(){return new Mc({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(t,e,n,r,i){wc(t,e,n,r,i,4)}}Ni(kc,"AlphaImage"),Ni(Mc,"RGBAImage");var Cc={paint:new ea({"heatmap-radius":new Jo(Xt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Jo(Xt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Xo(Xt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new ta(Xt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Xo(Xt.paint_heatmap["heatmap-opacity"])})};function Sc(t){const e={},n=t.resolution||256,r=t.clips?t.clips.length:1,i=t.image||new Mc({width:n,height:r}),o=(n,r,o)=>{e[t.evaluationKey]=o;const a=t.expression.evaluate(e);i.data[n+r+0]=Math.floor(255*a.r/a.a),i.data[n+r+1]=Math.floor(255*a.g/a.a),i.data[n+r+2]=Math.floor(255*a.b/a.a),i.data[n+r+3]=Math.floor(255*a.a)};if(t.clips)for(let e=0,i=0;e<r;++e,i+=4*n)for(let r=0,a=0;r<n;r++,a+=4){const s=r/(n-1),{start:l,end:c}=t.clips[e];o(i,a,l*(1-s)+c*s)}else for(let t=0,e=0;t<n;t++,e+=4)o(0,e,t/(n-1));return i}var Tc={paint:new ea({"hillshade-illumination-direction":new Xo(Xt.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Xo(Xt.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Xo(Xt.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Xo(Xt.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Xo(Xt.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Xo(Xt.paint_hillshade["hillshade-accent-color"])})};const Lc=aa([{name:"a_pos",components:2,type:"Int16"}],4),{members:Ec}=Lc;var Ac={exports:{}};function Dc(t,e,n){n=n||2;var r,i,o,a,s,l,c,u=e&&e.length,d=u?e[0]*n:t.length,h=Oc(t,0,d,n,!0),f=[];if(!h||h.next===h.prev)return f;if(u&&(h=function(t,e,n,r){var i,o,a,s=[];for(i=0,o=e.length;i<o;i++)(a=Oc(t,e[i]*r,i<o-1?e[i+1]*r:t.length,r,!1))===a.next&&(a.steiner=!0),s.push(Zc(a));for(s.sort(Fc),i=0;i<s.length;i++)n=Bc(s[i],n);return n}(t,e,h,n)),t.length>80*n){r=o=t[0],i=a=t[1];for(var p=n;p<d;p+=n)(s=t[p])<r&&(r=s),(l=t[p+1])<i&&(i=l),s>o&&(o=s),l>a&&(a=l);c=0!==(c=Math.max(o-r,a-i))?32767/c:0}return Pc(h,f,n,r,i,c,0),f}function Oc(t,e,n,r,i){var o,a;if(i===nu(t,e,n,r)>0)for(o=e;o<n;o+=r)a=Qc(o,t[o],t[o+1],a);else for(o=n-r;o>=e;o-=r)a=Qc(o,t[o],t[o+1],a);return a&&Wc(a,a.next)&&(tu(a),a=a.next),a}function zc(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!Wc(r,r.next)&&0!==Uc(r.prev,r,r.next))r=r.next;else{if(tu(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function Pc(t,e,n,r,i,o,a){if(t){!a&&o&&function(t,e,n,r){var i=t;do{0===i.z&&(i.z=$c(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,a,s,l,c=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,r=n,s=0,e=0;e<c&&(s++,r=r.nextZ);e++);for(l=c;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,c*=2}while(a>1)}(i)}(t,r,i,o);for(var s,l,c=t;t.prev!==t.next;
vendor: 1,952 bytes, line 2
2)if(s=t.prev,l=t.next,o?Ic(t,r,i,o):jc(t))e.push(s.i/n|0),e.push(t.i/n|0),e.push(l.i/n|0),tu(t),t=l.next,c=l.next;else if((t=l)===c){a?1===a?Pc(t=Yc(zc(t),e,n),e,n,r,i,o,2):2===a&&Rc(t,e,n,r,i,o):Pc(zc(t),e,n,r,i,o,1);break}}}function jc(t){var e=t.prev,n=t,r=t.next;if(Uc(e,n,r)>=0)return!1;for(var i=e.x,o=n.x,a=r.x,s=e.y,l=n.y,c=r.y,u=i<o?i<a?i:a:o<a?o:a,d=s<l?s<c?s:c:l<c?l:c,h=i>o?i>a?i:a:o>a?o:a,f=s>l?s>c?s:c:l>c?l:c,p=r.next;p!==e;){if(p.x>=u&&p.x<=h&&p.y>=d&&p.y<=f&&Hc(i,s,o,l,a,c,p.x,p.y)&&Uc(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}function Ic(t,e,n,r){var i=t.prev,o=t,a=t.next;if(Uc(i,o,a)>=0)return!1;for(var s=i.x,l=o.x,c=a.x,u=i.y,d=o.y,h=a.y,f=s<l?s<c?s:c:l<c?l:c,p=u<d?u<h?u:h:d<h?d:h,m=s>l?s>c?s:c:l>c?l:c,_=u>d?u>h?u:h:d>h?d:h,v=$c(f,p,e,n,r),g=$c(m,_,e,n,r),y=t.prevZ,b=t.nextZ;y&&y.z>=v&&b&&b.z<=g;){if(y.x>=f&&y.x<=m&&y.y>=p&&y.y<=_&&y!==i&&y!==a&&Hc(s,u,l,d,c,h,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;if(y=y.prevZ,b.x>=f&&b.x<=m&&b.y>=p&&b.y<=_&&b!==i&&b!==a&&Hc(s,u,l,d,c,h,b.x,b.y)&&Uc(b.prev,b,b.next)>=0)return!1;b=b.nextZ}for(;y&&y.z>=v;){if(y.x>=f&&y.x<=m&&y.y>=p&&y.y<=_&&y!==i&&y!==a&&Hc(s,u,l,d,c,h,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;y=y.prevZ}for(;b&&b.z<=g;){if(b.x>=f&&b.x<=m&&b.y>=p&&b.y<=_&&b!==i&&b!==a&&Hc(s,u,l,d,c,h,b.x,b.y)&&Uc(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function Yc(t,e,n){var r=t;do{var i=r.prev,o=r.next.next;!Wc(i,o)&&Gc(i,r,r.next,o)&&Jc(i,o)&&Jc(o,i)&&(e.push(i.i/n|0),e.push(r.i/n|0),e.push(o.i/n|0),tu(r),tu(r.next),r=t=o),r=r.next}while(r!==t);return zc(r)}function Rc(t,e,n,r,i,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Vc(a,s)){var l=Kc(a,s);return a=zc(a,a.next),l=zc(l,l.next),Pc(a,e,n,r,i,o,0),void Pc(l,e,n,r,i,o,0)}s=s.next}a=a.next}while(a!==t)}function Fc(t,e){return t.x-e.x}function Bc(t,e){var n=function(t,e){var n,r=e,i=t.x,o=t.y,a=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var s=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y
vendor: 14,122 bytes, line 2
2);if(s<=i&&s>a&&(a=s,n=r.x<r.next.x?r:r.next,s===i))return n}r=r.next}while(r!==e);if(!n)return null;var l,c=n,u=n.x,d=n.y,h=1/0;r=n;do{i>=r.x&&r.x>=u&&i!==r.x&&Hc(o<d?i:a,o,u,d,o<d?a:i,o,r.x,r.y)&&(l=Math.abs(o-r.y)/(i-r.x),Jc(r,t)&&(l<h||l===h&&(r.x>n.x||r.x===n.x&&Nc(n,r)))&&(n=r,h=l)),r=r.next}while(r!==c);return n}(t,e);if(!n)return e;var r=Kc(n,t);return zc(r,r.next),zc(n,n.next)}function Nc(t,e){return Uc(t.prev,t,e.prev)<0&&Uc(e.next,t,t.next)<0}function $c(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Zc(t){var e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function Hc(t,e,n,r,i,o,a,s){return(i-a)*(e-s)>=(t-a)*(o-s)&&(t-a)*(r-s)>=(n-a)*(e-s)&&(n-a)*(o-s)>=(i-a)*(r-s)}function Vc(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Gc(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(Jc(t,e)&&Jc(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(Uc(t.prev,t,e.prev)||Uc(t,e.prev,e))||Wc(t,e)&&Uc(t.prev,t,t.next)>0&&Uc(e.prev,e,e.next)>0)}function Uc(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function Wc(t,e){return t.x===e.x&&t.y===e.y}function Gc(t,e,n,r){var i=Xc(Uc(t,e,n)),o=Xc(Uc(t,e,r)),a=Xc(Uc(n,r,t)),s=Xc(Uc(n,r,e));return i!==o&&a!==s||!(0!==i||!qc(t,n,e))||!(0!==o||!qc(t,r,e))||!(0!==a||!qc(n,t,r))||!(0!==s||!qc(n,e,r))}function qc(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function Xc(t){return t>0?1:t<0?-1:0}function Jc(t,e){return Uc(t.prev,t,t.next)<0?Uc(t,e,t.next)>=0&&Uc(t,t.prev,e)>=0:Uc(t,e,t.prev)<0||Uc(t,t.next,e)<0}function Kc(t,e){var n=new eu(t.i,t.x,t.y),r=new eu(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function Qc(t,e,n,r){var i=new eu(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function tu(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function eu(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function nu(t,e,n,r){for(var i=0,o=e,a=n-r;o<n;o+=r)i+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return i}function ru(t,e,n,r,i){iu(t,e,n||0,r||t.length-1,i||au)}function iu(t,e,n,r,i){for(;r>n;){if(r-n>600){var o=r-n+1,a=e-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1);iu(t,e,Math.max(n,Math.floor(e-a*l/o+c)),Math.min(r,Math.floor(e+(o-a)*l/o+c)),i)}var u=t[e],d=n,h=r;for(ou(t,n,e),i(t[r],u)>0&&ou(t,n,r);d<h;){for(ou(t,d,h),d++,h--;i(t[d],u)<0;)d++;for(;i(t[h],u)>0;)h--}0===i(t[n],u)?ou(t,n,h):ou(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}}function ou(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function au(t,e){return t<e?-1:t>e?1:0}function su(t,e){const n=t.length;if(n<=1)return[t];const r=[];let i,o;for(let e=0;e<n;e++){const n=H(t[e]);0!==n&&(t[e].area=Math.abs(n),void 0===o&&(o=n<0),o===n<0?(i&&r.push(i),i=[t[e]]):i.push(t[e]))}if(i&&r.push(i),e>1)for(let t=0;t<r.length;t++)r[t].length<=e||(ru(r[t],e,1,r[t].length-1,lu),r[t]=r[t].slice(0,e));return r}function lu(t,e){return e.area-t.area}function cu(t,e,n){const r=n.patternDependencies;let i=!1;for(const n of e){const e=n.paint.get(`${t}-pattern`);e.isConstant()||(i=!0);const o=e.constantOr(null);o&&(i=!0,r[o.to]=!0,r[o.from]=!0)}return i}function uu(t,e,n,r,i){const o=i.patternDependencies;for(const a of e){const e=a.paint.get(`${t}-pattern`).value;if("constant"!==e.kind){let t=e.evaluate({zoom:r-1},n,{},i.availableImages),s=e.evaluate({zoom:r},n,{},i.availableImages),l=e.evaluate({zoom:r+1},n,{},i.availableImages);t=t&&t.name?t.name:t,s=s&&s.name?s.name:s,l=l&&l.name?l.name:l,o[t]=!0,o[s]=!0,o[l]=!0,n.patterns[a.id]={min:t,mid:s,max:l}}}return n}Ac.exports=Dc,Ac.exports.default=Dc,Dc.deviation=function(t,e,n,r){var i=e&&e.length,o=Math.abs(nu(t,0,i?e[0]*n:t.length,n));if(i)for(var a=0,s=e.length;a<s;a++)o-=Math.abs(nu(t,e[a]*n,a<s-1?e[a+1]*n:t.length,n));var l=0;for(a=0;a<r.length;a+=3){var c=r[a]*n,u=r[a+1]*n,d=r[a+2]*n;l+=Math.abs((t[c]-t[d])*(t[u+1]-t[c+1])-(t[c]-t[u])*(t[d+1]-t[c+1]))}return 0===o&&0===l?0:Math.abs((l-o)/o)},Dc.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},r=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var a=0;a<e;a++)n.vertices.push(t[i][o][a]);i>0&&n.holes.push(r+=t[i-1].length)}return n};class du{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new la,this.indexArray=new Ma,this.indexArray2=new Aa,this.programConfigurations=new bs(t.layers,t.zoom),this.segments=new As,this.segments2=new As,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.projection=t.projection}populate(t,e,n,r){this.hasPattern=cu("fill",this.layers,e);const i=this.layers[0].layout.get("fill-sort-key"),o=[];for(const{feature:a,id:s,index:l,sourceLayerIndex:c}of t){const t=this.layers[0]._featureFilter.needGeometry,u=tl(a,t);if(!this.layers[0]._featureFilter.filter(new No(this.zoom),u,n))continue;const d=i?i.evaluate(u,{},n,e.availableImages):void 0,h={id:s,properties:a.properties,type:a.type,sourceLayerIndex:c,index:l,geometry:t?u.geometry:Qs(a,n,r),patterns:{},sortKey:d};o.push(h)}i&&o.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of o){const{geometry:i,index:o,sourceLayerIndex:a}=r;if(this.hasPattern){const t=uu("fill",this.layers,r,this.zoom,e);this.patternFeatures.push(t)}else this.addFeature(r,i,o,n,{},e.availableImages);e.featureIndex.insert(t[o].feature,i,o,a,this.index)}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n,r)}addFeatures(t,e,n,r,i){for(const t of this.patternFeatures)this.addFeature(t,t.geometry,t.index,e,n,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ec),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(t,e,n,r,i,o=[]){for(const t of su(e,500)){let e=0;for(const n of t)e+=n.length;const n=this.segments.prepareSegment(e,this.layoutVertexArray,this.indexArray),r=n.vertexLength,i=[],o=[];for(const e of t){if(0===e.length)continue;e!==t[0]&&o.push(i.length/2);const n=this.segments2.prepareSegment(e.length,this.layoutVertexArray,this.indexArray2),r=n.vertexLength;this.layoutVertexArray.emplaceBack(e[0].x,e[0].y),this.indexArray2.emplaceBack(r+e.length-1,r),i.push(e[0].x),i.push(e[0].y);for(let t=1;t<e.length;t++)this.layoutVertexArray.emplaceBack(e[t].x,e[t].y),this.indexArray2.emplaceBack(r+t-1,r+t),i.push(e[t].x),i.push(e[t].y);n.vertexLength+=e.length,n.primitiveLength+=e.length}const a=Ac.exports(i,o);for(let t=0;t<a.length;t+=3)this.indexArray.emplaceBack(r+a[t],r+a[t+1],r+a[t+2]);n.vertexLength+=e,n.primitiveLength+=a.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,o,r)}}Ni(du,"FillBucket",{omit:["layers","patternFeatures"]});const hu=new ea({"fill-sort-key":new Jo(Xt.layout_fill["fill-sort-key"])});var fu={paint:new ea({"fill-antialias":new Xo(Xt.paint_fill["fill-antialias"]),"fill-opacity":new Jo(Xt.paint_fill["fill-opacity"]),"fill-color":new Jo(Xt.paint_fill["fill-color"]),"fill-outline-color":new Jo(Xt.paint_fill["fill-outline-color"]),"fill-translate":new Xo(Xt.paint_fill["fill-translate"]),"fill-translate-anchor":new Xo(Xt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ko(Xt.paint_fill["fill-pattern"])}),layout:hu};const pu=aa([{name:"a_pos_normal_ed",components:4,type:"Int16"}]),mu=aa([{name:"a_centroid_pos",components:2,type:"Uint16"}]),_u=aa([{name:"a_pos_3",components:3,type:"Int16"},{name:"a_pos_normal_3",components:3,type:"Int16"}]),{members:vu}=pu;var gu={},yu=m,bu=xu;function xu(t,e,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=t,this._geometry=-1,this._keys=r,this._values=i,t.readFields(wu,this,e)}function wu(t,e,n){1==t?e.id=n.readVarint():2==t?function(t,e){for(var n=t.readVarint()+t.pos;t.pos<n;){var r=e._keys[t.readVarint()],i=e._values[t.readVarint()];e.properties[r]=i}}(n,e):3==t?e.type=n.readVarint():4==t&&(e._geometry=n.pos)}function ku(t){for(var e,n,r=0,i=0,o=t.length,a=o-1;i<o;a=i++)r+=((n=t[a]).x-(e=t[i]).x)*(e.y+n.y);return r}xu.types=["Unknown","Point","LineString","Polygon"],xu.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,n=t.readVarint()+t.pos,r=1,i=0,o=0,a=0,s=[];t.pos<n;){if(i<=0){var l=t.readVarint();r=7&l,i=l>>3}if(i--,1===r||2===r)o+=t.readSVarint(),a+=t.readSVarint(),1===r&&(e&&s.push(e),e=[]),e.push(new yu(o,a));else{if(7!==r)throw new Error("unknown command "+r);e&&e.push(e[0].clone())}}return e&&s.push(e),s},xu.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,c=-1/0;t.pos<e;){if(r<=0){var u=t.readVarint();n=7&u,r=u>>3}if(r--,1===n||2===n)(i+=t.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=t.readSVarint())<l&&(l=o),o>c&&(c=o);else if(7!==n)throw new Error("unknown command "+n)}return[a,l,s,c]},xu.prototype.toGeoJSON=function(t,e,n){var r,i,o=this.extent*Math.pow(2,n),a=this.extent*t,s=this.extent*e,l=this.loadGeometry(),c=xu.types[this.type];function u(t){for(var e=0;e<t.length;e++){var n=t[e];t[e]=[360*(n.x+a)/o-180,360/Math.PI*Math.atan(Math.exp((180-360*(n.y+s)/o)*Math.PI/180))-90]}}switch(this.type){case 1:var d=[];for(r=0;r<l.length;r++)d[r]=l[r][0];u(l=d);break;case 2:for(r=0;r<l.length;r++)u(l[r]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var n,r,i=[],o=0;o<e;o++){var a=ku(t[o]);0!==a&&(void 0===r&&(r=a<0),r===a<0?(n&&i.push(n),n=[t[o]]):n.push(t[o]))}return n&&i.push(n),i}(l),r=0;r<l.length;r++)for(i=0;i<l[r].length;i++)u(l[r][i])}1===l.length?l=l[0]:c="Multi"+c;var h={type:"Feature",geometry:{type:c,coordinates:l},properties:this.properties};return"id"in this&&(h.id=this.id),h};var Mu=bu,Cu=Su;function Su(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Tu,this,e),this.length=this._features.length}function Tu(t,e,n){15===t?e.version=n.readVarint():1===t?e.name=n.readString():5===t?e.extent=n.readVarint():2===t?e._features.push(n.pos):3===t?e._keys.push(n.readString()):4===t&&e._values.push(function(t){for(var e=null,n=t.readVarint()+t.pos;t.pos<n;){var r=t.readVarint()>>3;e=1===r?t.readString():2===r?t.readFloat():3===r?t.readDouble():4===r?t.readVarint64():5===r?t.readVarint():6===r?t.readSVarint():7===r?t.readBoolean():null}return e}(n))}Su.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Mu(this._pbf,e,this.extent,this._keys,this._values)};var Lu=Cu;function Eu(t,e,n){if(3===t){var r=new Lu(n,n.readVarint()+n.pos);r.length&&(e[r.name]=r)}}var Au=gu.VectorTile=function(t,e){this.layers=t.readFields(Eu,{},e)},Du=gu.VectorTileFeature=bu;function Ou(t,e,n,r){const i=[],o=0===r?(t,e,n,r,i,o)=>{t.push(new m(o,n+(o-e)/(r-e)*(i-n)))}:(t,e,n,r,i,o)=>{t.push(new m(e+(o-n)/(i-n)*(r-e),o))};for(const a of t){const t=[];for(const i of a){if(i.length<=2)continue;const a=[];for(let t=0;t<i.length-1;t++){const s=i[t].x,l=i[t].y,c=i[t+1].x,u=i[t+1].y,d=0===r?s:l,h=0===r?c:u;d<e?h>e&&o(a,s,l,c,u,e):d>n?h<n&&o(a,s,l,c,u,n):a.push(i[t]),h<e&&d>=e&&o(a,s,l,c,u,e),h>n&&d<=n&&o(a,s,l,c,u,n)}let s=i[i.length-1];const l=0===r?s.x:s.y;l>=e&&l<=n&&a.push(s),a.length&&(s=a[a.length-1],a[0].x===s.x&&a[0].y===s.y||a.push(a[0]),t.push(a))}t.length&&i.push(t)}return i}gu.VectorTileLayer=Cu;const zu=Du.types,Pu=Math.pow(2,13);function ju(t,e,n,r,i,o,a,s){t.emplaceBack((e<<1)+a,(n<<1)+o,(Math.floor(r*Pu)<<1)+i,Math.round(s))}function Iu(t,e,n){const r=16384;t.emplaceBack(e.x,e.y,e.z,n[0]*r,n[1]*r,n[2]*r)}class Yu{constructor(){this.acc=new m(0,0),this.polyCount=[]}startRing(t){this.currentPolyCount={edges:0,top:0},this.polyCount.push(this.currentPolyCount),this.min||(this.min=new m(t.x,t.y),this.max=new m(t.x,t.y))}append(t,e){this.currentPolyCount.edges++,this.acc._add(t);const n=this.min,r=this.max;t.x<n.x?n.x=t.x:t.x>r.x&&(r.x=t.x),t.y<n.y?n.y=t.y:t.y>r.y&&(r.y=t.y),((0===t.x||t.x===Ds)&&t.x===e.x)!=((0===t.y||t.y===Ds)&&t.y===e.y)&&this.processBorderOverlap(t,e),e.x<0!=t.x<0&&this.addBorderIntersection(0,Ln(e.y,t.y,(0-e.x)/(t.x-e.x))),e.x>Ds!=t.x>Ds&&this.addBorderIntersection(1,Ln(e.y,t.y,(Ds-e.x)/(t.x-e.x))),e.y<0!=t.y<0&&this.addBorderIntersection(2,Ln(e.x,t.x,(0-e.y)/(t.y-e.y))),e.y>Ds!=t.y>Ds&&this.addBorderIntersection(3,Ln(e.x,t.x,(Ds-e.y)/(t.y-e.y)))}addBorderIntersection(t,e){this.borders||(this.borders=[[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE]]);const n=this.borders[t];e<n[0]&&(n[0]=e),e>n[1]&&(n[1]=e)}processBorderOverlap(t,e){if(t.x===e.x){if(t.y===e.y)return;const n=0===t.x?0:1;this.addBorderIntersection(n,e.y),this.addBorderIntersection(n,t.y)}else{const n=0===t.y?2:3;this.addBorderIntersection(n,e.x),this.addBorderIntersection(n,t.x)}}centroid(){const t=this.polyCount.reduce(((t,e)=>t+e.edges),0);
2return 0!==t?this.acc.div(t)._round():new m(0,0)}span(){return new m(this.max.x-this.min.x,this.max.y-this.min.y)}intersectsCount(){return this.borders.reduce(((t,e)=>t+ +(e[0]!==Number.MAX_VALUE)),0)}}class Ru{constructor(t){this.zoom=t.zoom,this.canonical=t.canonical,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.edgeRadius=0,this.projection=t.projection,this.layoutVertexArray=new ua,this.centroidVertexArray=new Ua,this.indexArray=new Ma,this.programConfigurations=new bs(t.layers,t.zoom),this.segments=new As,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.enableTerrain=t.enableTerrain}populate(t,e,n,r){this.features=[],this.hasPattern=cu("fill-extrusion",this.layers,e),this.featuresOnBorder=[],this.borders=[[],[],[],[]],this.borderDoneWithNeighborZ=[-1,-1,-1,-1],this.tileToMeter=function(t){const e=Math.exp(Math.PI*(1-t.y/(1<<t.z)*2));return 80150034*e/(e*e+1)/Ds/(1<<t.z)}(n),this.edgeRadius=this.layers[0].layout.get("fill-extrusion-edge-radius")/this.tileToMeter;for(const{feature:i,id:o,index:a,sourceLayerIndex:s}of t){const t=this.layers[0]._featureFilter.needGeometry,l=tl(i,t);if(!this.layers[0]._featureFilter.filter(new No(this.zoom),l,n))continue;const c={id:o,sourceLayerIndex:s,index:a,geometry:t?l.geometry:Qs(i,n,r),properties:i.properties,type:i.type,patterns:{}},u=this.layoutVertexArray.length;this.hasPattern?this.features.push(uu("fill-extrusion",this.layers,c,this.zoom,e)):this.addFeature(c,c.geometry,a,n,{},e.availableImages,r),e.featureIndex.insert(i,c.geometry,a,s,this.index,u)}this.sortBorders()}addFeatures(t,e,n,r,i){for(const t of this.features){const{geometry:o}=t;this.addFeature(t,o,t.index,e,n,r,i)}this.sortBorders()}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,vu),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.layoutVertexExtArray&&(this.layoutVertexExtBuffer=t.createVertexBuffer(this.layoutVertexExtArray,_u.members,!0))),this.programConfigurations.upload(t),this.uploaded=!0}uploadCentroid(t){0!==this.centroidVertexArray.length&&(this.centroidVertexBuffer?this.needsCentroidUpdate&&this.centroidVertexBuffer.updateData(this.centroidVertexArray):this.centroidVertexBuffer=t.createVertexBuffer(this.centroidVertexArray,mu.members,!0),this.needsCentroidUpdate=!1)}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.centroidVertexBuffer&&this.centroidVertexBuffer.destroy(),this.layoutVertexExtBuffer&&this.layoutVertexExtBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(t,e,n,r,i,o,a){const s=[new m(0,0),new m(Ds,Ds)],l=a.projection,c="globe"===l.name,u=this.enableTerrain&&!c?new Yu:null,d="Polygon"===zu[t.type];c&&!this.layoutVertexExtArray&&(this.layoutVertexExtArray=new Pa);const h=su(e,500);for(let t=h.length-1;t>=0;t--){const e=h[t];(0===e.length||(f=e[0]).every((t=>t.x<=0))||f.every((t=>t.x>=Ds))||f.every((t=>t.y<=0))||f.every((t=>t.y>=Ds)))&&h.splice(t,1)}var f;let p;if(c)p=Uu(h,s,r);else{p=[];for(const t of h)p.push({polygon:t,bounds:s})}const _=d?this.edgeRadius:0;for(const{polygon:t,bounds:e}of p){let n=0,i=0;for(const e of t)d&&!e[0].equals(e[e.length-1])&&e.push(e[0]),i+=d?e.length-1:e.length;const o=this.segments.prepareSegment((d?5:4)*i,this.layoutVertexArray,this.indexArray);if(d){const e=[],i=[];n=o.vertexLength;for(const n of t){let a,s;n.length&&n!==t[0]&&i.push(e.length/2),a=n[1].sub(n[0])._perp()._unit();for(let t=1;t<n.length;t++){const i=n[t],u=n[t===n.length-1?1:t+1];let{x:d,y:h}=i;if(_){s=u.sub(i)._perp()._unit();const t=a.add(s)._unit(),e=_*Math.min(4,1/(a.x*t.x+a.y*t.y));d+=e*t.x,h+=e*t.y,a=s}ju(this.layoutVertexArray,d,h,0,0,1,1,0),o.vertexLength++,e.push(i.x,i.y),c&&Iu(this.layoutVertexExtArray,l.projectTilePoint(d,h,r),l.upVector(r,d,h))}}const a=Ac.exports(e,i);for(let t=0;t<a.length;t+=3)this.indexArray.emplaceBack(n+a[t],n+a[t+2],n+a[t+1]),o.primitiveLength++}for(const i of t){u&&i.length&&u.startRing(i[0]);let t,a,s,h=i.length>4&&Zu(i[i.length-2],i[0],i[1]),f=_?Bu(i[i.length-2],i[0],i[1],_):0;a=i[1].sub(i[0])._perp()._unit();let p=!0;for(let m=1,v=0;m<i.length;m++){let g=i[m-1],y=i[m];
2const b=i[m===i.length-1?1:m+1];if(u&&d&&u.currentPolyCount.top++,$u(y,g,e)){_&&(a=b.sub(y)._perp()._unit(),p=!p);continue}u&&u.append(y,g);const x=y.sub(g)._perp(),w=x.x/(Math.abs(x.x)+Math.abs(x.y)),k=x.y>0?1:0,M=g.dist(y);if(v+M>32768&&(v=0),_){s=b.sub(y)._perp()._unit();let t=Nu(g,y,b,Fu(a,s),_);isNaN(t)&&(t=0);const e=y.sub(g)._unit();g=g.add(e.mult(f))._round(),y=y.add(e.mult(-t))._round(),f=t,a=s}const C=o.vertexLength,S=i.length>4&&Zu(g,y,b);let T=Hu(v,h,p);if(ju(this.layoutVertexArray,g.x,g.y,w,k,0,0,T),ju(this.layoutVertexArray,g.x,g.y,w,k,0,1,T),v+=M,T=Hu(v,S,!p),h=S,ju(this.layoutVertexArray,y.x,y.y,w,k,0,0,T),ju(this.layoutVertexArray,y.x,y.y,w,k,0,1,T),o.vertexLength+=4,this.indexArray.emplaceBack(C+0,C+1,C+2),this.indexArray.emplaceBack(C+1,C+3,C+2),o.primitiveLength+=2,_){const r=n+(1===m?i.length-2:m-2),a=1===m?n:r+1;if(this.indexArray.emplaceBack(C+1,r,C+3),this.indexArray.emplaceBack(r,a,C+3),o.primitiveLength+=2,void 0===t&&(t=C),!$u(b,i[m],e)){const e=m===i.length-1?t:o.vertexLength;this.indexArray.emplaceBack(C+2,C+3,e),this.indexArray.emplaceBack(C+3,e+1,e),this.indexArray.emplaceBack(C+3,a,e+1),o.primitiveLength+=3}p=!p}if(c){const t=this.layoutVertexExtArray,e=l.projectTilePoint(g.x,g.y,r),n=l.projectTilePoint(y.x,y.y,r),i=l.upVector(r,g.x,g.y),o=l.upVector(r,y.x,y.y);Iu(t,e,i),Iu(t,e,i),Iu(t,n,o),Iu(t,n,o)}}d&&(n+=i.length-1)}}if(u&&u.polyCount.length>0){if(u.borders){u.vertexArrayOffset=this.centroidVertexArray.length;const t=u.borders,e=this.featuresOnBorder.push(u)-1;for(let n=0;n<4;n++)t[n][0]!==Number.MAX_VALUE&&this.borders[n].push(e)}this.encodeCentroid(u.borders?void 0:u.centroid(),u)}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,o,r)}sortBorders(){for(let t=0;t<4;t++)this.borders[t].sort(((e,n)=>this.featuresOnBorder[e].borders[t][0]-this.featuresOnBorder[n].borders[t][0]))}encodeCentroid(t,e,n=!0){let r,i;if(t)if(0!==t.y){const n=e.span()._mult(this.tileToMeter);r=(Math.max(t.x,1)<<3)+Math.min(7,Math.round(n.x/10)),i=(Math.max(t.y,1)<<3)+Math.min(7,Math.round(n.y/10))}else r=Math.ceil(7*(t.x+450)),i=0;else r=0,i=+n;let o=n?this.centroidVertexArray.length:e.vertexArrayOffset;for(const t of e.polyCount){n&&this.centroidVertexArray.resize(this.centroidVertexArray.length+4*t.edges+t.top);for(let e=0;e<t.top;e++)this.centroidVertexArray.emplace(o++,r,i);for(let e=0;e<2*t.edges;e++)this.centroidVertexArray.emplace(o++,0,i),this.centroidVertexArray.emplace(o++,r,i)}}}function Fu(t,e){const n=t.add(e)._unit();return t.x*n.x+t.y*n.y}function Bu(t,e,n,r){const i=e.sub(t)._perp()._unit(),o=n.sub(e)._perp()._unit();return Nu(t,e,n,Fu(i,o),r)}function Nu(t,e,n,r,i){const o=Math.sqrt(1-r*r);return Math.min(t.dist(e)/3,e.dist(n)/3,i*o/r)}function $u(t,e,n){return t.x<n[0].x&&e.x<n[0].x||t.x>n[1].x&&e.x>n[1].x||t.y<n[0].y&&e.y<n[0].y||t.y>n[1].y&&e.y>n[1].y}function Zu(t,e,n){if(t.x<0||t.x>=Ds||e.x<0||e.x>=Ds||n.x<0||n.x>=Ds)return!1;const r=n.sub(e),i=r.perp(),o=t.sub(e);return(r.x*o.x+r.y*o.y)/Math.sqrt((r.x*r.x+r.y*r.y)*(o.x*o.x+o.y*o.y))>-.866&&i.x*o.x+i.y*o.y<0}function Hu(t,e,n){const r=e?2|t:-3&t;return n?1|r:-2&r}function Vu(){const t=Math.PI/32,e=Math.tan(t),n=zs;return n*Math.sqrt(1+2*e*e)-n}function Uu(t,e,n){const r=1<<n.z,i=Bs(n.x/r),o=Bs((n.x+1)/r),a=Ns(n.y/r),s=Ns((n.y+1)/r);return function(t,e,n,r,i=0,o){const a=[];if(!t.length||!n||!r)return a;const s=(t,e)=>{for(const n of t)a.push({polygon:n,bounds:e})},l=Math.ceil(Math.log2(n)),c=Math.ceil(Math.log2(r)),u=l-c,d=[];for(let t=0;t<Math.abs(u);t++)d.push(u>0?0:1);for(let t=0;t<Math.min(l,c);t++)d.push(0),d.push(1);let h=t;if(h=Ou(h,e[0].y-i,e[1].y+i,1),h=Ou(h,e[0].x-i,e[1].x+i,0),!h.length)return a;const f=[];for(d.length?f.push({polygons:h,bounds:e,depth:0}):s(h,e);f.length;){const t=f.pop(),e=t.depth,n=d[e],r=t.bounds[0],a=t.bounds[1],l=0===n?r.x:r.y,c=0===n?a.x:a.y,u=o?o(n,l,c):.5*(l+c),h=Ou(t.polygons,l-i,u+i,n),p=Ou(t.polygons,u-i,c+i,n);if(h.length){const t=[r,new m(0===n?u:a.x,1===n?u:a.y)];d.length>e+1?f.push({polygons:h,bounds:t,depth:e+1}):s(h,t)}if(p.length){const t=[new m(0===n?u:r.x,1===n?u:r.y),a];d.length>e+1?f.push({polygons:p,bounds:t,depth:e+1}):s(p,t)}}return a}(t,e,Math.ceil((o-i)/11.25),Math.ceil((a-s)/11.25),1,((t,e,i)=>{if(0===t)return.5*(e+i);{const t=Ns((n.y+e/Ds)/r);return(Rs(.5*(Ns((n.y+i/Ds)/r)+t))*r-n.y)*Ds}}))}Ni(Ru,"FillExtrusionBucket",{omit:["layers","features"]}),Ni(Yu,"PartMetadata");const Wu=new ea({"fill-extrusion-edge-radius":new Xo(Xt["layout_fill-extrusion"]["fill-extrusion-edge-radius"])});var Gu={paint:new ea({"fill-extrusion-opacity":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Jo(Xt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ko(Xt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Jo(Xt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Jo(Xt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]),"fill-extrusion-ambient-occlusion-intensity":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]),"fill-extrusion-ambient-occlusion-radius":new Xo(Xt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"])}),layout:Wu};function qu(t,e,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return[t*r-2*Math.PI*6378137/2,e*r-2*Math.PI*6378137/2]}class Xu{constructor(t,e,n){this.z=t,this.x=e,this.y=n,this.key=Qu(0,t,t,e,n)}equals(t){return this.z===t.z&&this.x===t.x&&this.y===t.y}url(t,e){const n=function(t,e,n){var r=qu(256*t,256*(e=Math.pow(2,n)-e-1),n),i=qu(256*(t+1),256*(e+1),n);return r[0]+","+r[1]+","+i[0]+","+i[1]}(this.x,this.y,this.z),r=function(t,e,n){let r,i="";for(let o=t;o>0;o--)r=1<<o-1,i+=(e&r?1:0)+(n&r?2:0);return i}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace(/{z}/g,String(this.z)).replace(/{x}/g,String(this.x)).replace(/{y}/g,String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",r).replace("{bbox-epsg-3857}",n)}toString(){return`${this.z}/${this.x}/${this.y}`}}class Ju{constructor(t,e){this.wrap=t,this.canonical=e,this.key=Qu(t,e.z,e.z,e.x,e.y)}}class Ku{constructor(t,e,n,r,i){this.overscaledZ=t,this.wrap=e,this.canonical=new Xu(n,+r,+i),this.key=0===e&&t===n?this.canonical.key:Qu(e,t,n,r,i)}equals(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)}scaledTo(t){const e=this.canonical.z-t;return t>this.canonical.z?new Ku(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Ku(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)}calculateScaledKey(t,e=!0){if(this.overscaledZ===t&&e)return this.key;if(t>this.canonical.z)return Qu(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y);{const n=this.canonical.z-t;return Qu(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)}}isChildOf(t){if(t.wrap!==this.wrap)return!1;const e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e}children(t){if(this.overscaledZ>
vendor: 61,679 bytes, line 2
2=t)return[new Ku(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const e=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return[new Ku(e,this.wrap,e,n,r),new Ku(e,this.wrap,e,n+1,r),new Ku(e,this.wrap,e,n,r+1),new Ku(e,this.wrap,e,n+1,r+1)]}isLessThan(t){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))}wrapped(){return new Ku(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)}unwrapTo(t){return new Ku(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)}overscaleFactor(){return Math.pow(2,this.overscaledZ-this.canonical.z)}toUnwrapped(){return new Ju(this.wrap,this.canonical)}toString(){return`${this.overscaledZ}/${this.canonical.x}/${this.canonical.y}`}}function Qu(t,e,n,r,i){const o=1<<Math.min(n,22);let a=o*(i%o)+r%o;return t&&n<22&&(a+=o*o*((t<0?-2*t-1:2*t)%(1<<2*(22-n)))),16*(32*a+n)+(e-n)}Ni(Xu,"CanonicalTileID"),Ni(Ku,"OverscaledTileID",{omit:["projMatrix"]});class td extends m{constructor(t,e,n){super(t,e),this.z=n}}function ed(t,e){return t.x*e.x+t.y*e.y}function nd(t,e){if(1===t.length){let n=0;const r=e[n++];let i;for(;!i||r.equals(i);)if(i=e[n++],!i)return 1/0;for(;n<e.length;n++){const o=e[n],a=t[0],s=i.sub(r),l=o.sub(r),c=a.sub(r),u=ed(s,s),d=ed(s,l),h=ed(l,l),f=ed(c,s),p=ed(c,l),m=u*h-d*d,_=(h*f-d*p)/m,v=(u*p-d*f)/m,g=r.z*(1-_-v)+i.z*_+o.z*v;if(isFinite(g))return g}return 1/0}{let t=1/0;for(const n of e)t=Math.min(t,n.z);return t}}function rd(t,e,n,r,i,o,a,s){const l=a*i.getElevationAt(t,e,!0,!0),c=0!==o[0],u=c?0===o[1]?a*(o[0]/7-450):a*function(t,e,n){const r=Math.floor(e[0]/8),i=Math.floor(e[1]/8),o=10*(e[0]-8*r),a=10*(e[1]-8*i),s=t.getElevationAt(r,i,!0,!0),l=t.getMeterToDEM(n),c=Math.floor(.5*(o*l-1)),u=Math.floor(.5*(a*l-1)),d=t.tileCoordToPixel(r,i),h=2*c+1,f=2*u+1,p=function(t,e,n,r,i){return[t.getElevationAtPixel(e,n,!0),t.getElevationAtPixel(e+i,n,!0),t.getElevationAtPixel(e,n+i,!0),t.getElevationAtPixel(e+r,n+i,!0)]}(t,d.x-c,d.y-u,h,f),m=Math.abs(p[0]-p[1]),_=Math.abs(p[2]-p[3]),v=Math.abs(p[0]-p[2])+Math.abs(p[1]-p[3]),g=Math.min(.25,.5*l*(m+_)/h),y=Math.min(.25,.5*l*v/f);return s+Math.max(g*o,y*a)}(i,o,s):l;return{base:l+(0===n)?-1:n,top:c?Math.max(u+r,l+n+2):l+r}}const id=aa([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"},{name:"a_linesofar",components:1,type:"Float32"}],4),{members:od}=id,ad=aa([{name:"a_packed",components:4,type:"Float32"}]),{members:sd}=ad,ld=Du.types,cd=Math.cos(Math.PI/180*37.5);class ud{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.projection=t.projection,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach((t=>{this.gradients[t.id]={}})),this.layoutVertexArray=new da,this.layoutVertexArray2=new ha,this.indexArray=new Ma,this.programConfigurations=new bs(t.layers,t.zoom),this.segments=new As,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,n,r){this.hasPattern=cu("line",this.layers,e);const i=this.layers[0].layout.get("line-sort-key"),o=[];for(const{feature:e,id:a,index:s,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,c=tl(e,t);if(!this.layers[0]._featureFilter.filter(new No(this.zoom),c,n))continue;const u=i?i.evaluate(c,{},n):void 0,d={id:a,properties:e.properties,type:e.type,sourceLayerIndex:l,index:s,geometry:t?c.geometry:Qs(e,n,r),patterns:{},sortKey:u};o.push(d)}i&&o.sort(((t,e)=>t.sortKey-e.sortKey));const{lineAtlas:a,featureIndex:s}=e,l=this.addConstantDashes(a);for(const r of o){const{geometry:i,index:o,sourceLayerIndex:c}=r;if(l&&this.addFeatureDashes(r,a),this.hasPattern){const t=uu("line",this.layers,r,this.zoom,e);this.patternFeatures.push(t)}else this.addFeature(r,i,o,n,a.positions,e.availableImages);s.insert(t[o].feature,i,o,c,this.index)}}addConstantDashes(t){let e=!1;for(const n of this.layers){const r=n.paint.get("line-dasharray").value,i=n.layout.get("line-cap").value;if("constant"!==r.kind||"constant"!==i.kind)e=!0;else{const e=i.value,n=r.value;if(!n)continue;t.addDash(n.from,e),t.addDash(n.to,e),n.other&&t.addDash(n.other,e)}}return e}addFeatureDashes(t,e){const n=this.zoom;for(const r of this.layers){const i=r.paint.get("line-dasharray").value,o=r.layout.get("line-cap").value;if("constant"===i.kind&&"constant"===o.kind)continue;let a,s,l,c,u,d;if("constant"===i.kind){const t=i.value;if(!t)continue;a=t.other||t.to,s=t.to,l=t.from}else a=i.evaluate({zoom:n-1},t),s=i.evaluate({zoom:n},t),l=i.evaluate({zoom:n+1},t);"constant"===o.kind?c=u=d=o.value:(c=o.evaluate({zoom:n-1},t),u=o.evaluate({zoom:n},t),d=o.evaluate({zoom:n+1},t)),e.addDash(a,c),e.addDash(s,u),e.addDash(l,d);const h=e.getKey(a,c),f=e.getKey(s,u),p=e.getKey(l,d);t.patterns[r.id]={min:h,mid:f,max:p}}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n,r)}addFeatures(t,e,n,r,i){for(const t of this.patternFeatures)this.addFeature(t,t.geometry,t.index,e,n,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=t.createVertexBuffer(this.layoutVertexArray2,sd)),this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,od),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(t){if(t.properties&&t.properties.hasOwnProperty("mapbox_clip_start")&&t.properties.hasOwnProperty("mapbox_clip_end"))return{start:+t.properties.mapbox_clip_start,end:+t.properties.mapbox_clip_end}}addFeature(t,e,n,r,i,o){const a=this.layers[0].layout,s=a.get("line-join").evaluate(t,{}),l=a.get("line-cap").evaluate(t,{}),c=a.get("line-miter-limit"),u=a.get("line-round-limit");this.lineClips=this.lineFeatureClips(t);for(const n of e)this.addLine(n,t,s,l,c,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,o,r)}addLine(t,e,n,r,i,o){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineSoFar=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let e=0;e<t.length-1;e++)this.totalDistance+=t[e].dist(t[e+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}const a="Polygon"===ld[e.type];let s=t.length;for(;s>=2&&t[s-1].equals(t[s-2]);)s--;let l=0;for(;l<s-1&&t[l].equals(t[l+1]);)l++;if(s<(a?3:2))return;"bevel"===n&&(i=1.05);const c=this.overscaling<=16?122880/(512*this.overscaling):0,u=this.segments.prepareSegment(10*s,this.layoutVertexArray,this.indexArray);let d,h,f,p,m;this.e1=this.e2=-1,a&&(d=t[s-2],m=t[l].sub(d)._unit()._perp());for(let e=l;e<s;e++){if(f=e===s-1?a?t[l+1]:void 0:t[e+1],f&&t[e].equals(f))continue;m&&(p=m),d&&(h=d),d=t[e],m=f?f.sub(d)._unit()._perp():p,p=p||m;let _=p.add(m);0===_.x&&0===_.y||_._unit();const v=p.x*m.x+p.y*m.y,g=_.x*m.x+_.y*m.y,y=0!==g?1/g:1/0,b=2*Math.sqrt(2-2*g),x=g<cd&&h&&f,w=p.x*m.y-p.y*m.x>0;if(x&&e>l){const t=d.dist(h);if(t>2*c){const e=d.sub(d.sub(h)._mult(c/t)._round());this.updateDistance(h,e),this.addCurrentVertex(e,p,0,0,u),h=e}}const k=h&&f;let M=k?n:a?"butt":r;if(k&&"round"===M&&(y<o?M="miter":y<=2&&(M="fakeround")),"miter"===M&&y>i&&(M="bevel"),"bevel"===M&&(y>2&&(M="flipbevel"),y<i&&(M="miter")),h&&this.updateDistance(h,d),"miter"===M)_._mult(y),this.addCurrentVertex(d,_,0,0,u);else if("flipbevel"===M){if(y>100)_=m.mult(-1);else{const t=y*p.add(m).mag()/p.sub(m).mag();_._perp()._mult(t*(w?-1:1))}this.addCurrentVertex(d,_,0,0,u),this.addCurrentVertex(d,_.mult(-1),0,0,u)}else if("bevel"===M||"fakeround"===M){const t=-Math.sqrt(y*y-1),e=w?t:0,n=w?0:t;if(h&&this.addCurrentVertex(d,p,e,n,u),"fakeround"===M){const t=Math.round(180*b/Math.PI/20);for(let e=1;e<t;e++){let n=e/t;if(.5!==n){const t=n-.5;n+=n*t*(n-1)*((1.0904+v*(v*(3.55645-1.43519*v)-3.2452))*t*t+(.848013+v*(.215638*v-1.06021)))}const r=m.sub(p)._mult(n)._add(p)._unit()._mult(w?-1:1);this.addHalfVertex(d,r.x,r.y,!1,w,0,u)}}f&&this.addCurrentVertex(d,m,-e,-n,u)}else if("butt"===M)this.addCurrentVertex(d,_,0,0,u);else if("square"===M){const t=h?1:-1;h||this.addCurrentVertex(d,_,t,t,u),this.addCurrentVertex(d,_,0,0,u),h&&this.addCurrentVertex(d,_,t,t,u)}else"round"===M&&(h&&(this.addCurrentVertex(d,p,0,0,u),this.addCurrentVertex(d,p,1,1,u,!0)),f&&(this.addCurrentVertex(d,m,-1,-1,u,!0),this.addCurrentVertex(d,m,0,0,u)));if(x&&e<s-1){const t=d.dist(f);if(t>2*c){const e=d.add(f.sub(d)._mult(c/t)._round());this.updateDistance(d,e),this.addCurrentVertex(e,m,0,0,u),d=e}}}}addCurrentVertex(t,e,n,r,i,o=!1){const a=e.y*r-e.x,s=-e.y-e.x*r;this.addHalfVertex(t,e.x+e.y*n,e.y-e.x*n,o,!1,n,i),this.addHalfVertex(t,a,s,o,!0,-r,i)}addHalfVertex({x:t,y:e},n,r,i,o,a,s){this.layoutVertexArray.emplaceBack((t<<1)+(i?1:0),(e<<1)+(o?1:0),Math.round(63*n)+128,Math.round(63*r)+128,1+(0===a?0:a<0?-1:1),0,this.lineSoFar),this.lineClips&&this.layoutVertexArray2.emplaceBack(this.scaledDistance,this.lineClipsArray.length,this.lineClips.start,this.lineClips.end);const l=s.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),s.primitiveLength++),o?this.e2=l:this.e1=l}updateScaledDistance(){if(this.lineClips){const t=this.totalDistance/(this.lineClips.end-this.lineClips.start);this.scaledDistance=this.distance/this.totalDistance,this.lineSoFar=t*this.lineClips.start+this.distance}else this.lineSoFar=this.distance}updateDistance(t,e){this.distance+=t.dist(e),this.updateScaledDistance()}}Ni(ud,"LineBucket",{omit:["layers","patternFeatures"]});const dd=new ea({"line-cap":new Jo(Xt.layout_line["line-cap"]),"line-join":new Jo(Xt.layout_line["line-join"]),"line-miter-limit":new Xo(Xt.layout_line["line-miter-limit"]),"line-round-limit":new Xo(Xt.layout_line["line-round-limit"]),"line-sort-key":new Jo(Xt.layout_line["line-sort-key"])});var hd={paint:new ea({"line-opacity":new Jo(Xt.paint_line["line-opacity"]),"line-color":new Jo(Xt.paint_line["line-color"]),"line-translate":new Xo(Xt.paint_line["line-translate"]),"line-translate-anchor":new Xo(Xt.paint_line["line-translate-anchor"]),"line-width":new Jo(Xt.paint_line["line-width"]),"line-gap-width":new Jo(Xt.paint_line["line-gap-width"]),"line-offset":new Jo(Xt.paint_line["line-offset"]),"line-blur":new Jo(Xt.paint_line["line-blur"]),"line-dasharray":new Ko(Xt.paint_line["line-dasharray"]),"line-pattern":new Ko(Xt.paint_line["line-pattern"]),"line-gradient":new ta(Xt.paint_line["line-gradient"]),"line-trim-offset":new Xo(Xt.paint_line["line-trim-offset"])}),layout:dd};const fd=new class extends Jo{possiblyEvaluate(t,e){return e=new No(Math.floor(e.zoom),{now:e.now,fadeDuration:e.fadeDuration,zoomHistory:e.zoomHistory,transition:e.transition}),super.possiblyEvaluate(t,e)}evaluate(t,e,n,r){return e=A({},e,{zoom:Math.floor(e.zoom)}),super.evaluate(t,e,n,r)}}(hd.paint.properties["line-width"].specification);function pd(t,e){return e>0?e+2*t:t}fd.useIntegerZoom=!0;const md=aa([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_tex_size",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),_d=aa([{name:"a_globe_anchor",components:3,type:"Int16"},{name:"a_globe_normal",components:3,type:"Float32"}],4),vd=aa([{name:"a_projected_pos",components:4,type:"Float32"}],4);aa([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const gd=aa([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}]),yd=aa([{name:"a_size_scale",components:1,type:"Float32"},{name:"a_padding",components:2,type:"Float32"}]);aa([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Int16",name:"tileAnchorX"},{type:"Int16",name:"tileAnchorY"},{type:"Float32",name:"x1"},{type:"Float32",name:"y1"},{type:"Float32",name:"x2"},{type:"Float32",name:"y2"},{type:"Int16",name:"padding"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const bd=aa([{name:"a_pos",components:3,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),xd=aa([{name:"a_pos_2f",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);aa([{name:"triangle",components:3,type:"Uint16"}]),aa([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Float32",name:"tileAnchorX"},{type:"Float32",name:"tileAnchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"},{type:"Uint8",name:"flipState"}]),aa([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Float32",name:"tileAnchorX"},{type:"Float32",name:"tileAnchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),aa([{type:"Float32",name:"offsetX"}]),aa([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var wd=24;const kd=128;function Md(t,e){const{expression:n}=e;if("constant"===n.kind)return{kind:"constant",layoutSize:n.evaluate(new No(t+1))};if("source"===n.kind)return{kind:"source"};{const{zoomStops:e,interpolationType:r}=n;let i=0;for(;i<e.length&&e[i]<=t;)i++;i=Math.max(0,i-1);let o=i;for(;o<e.length&&e[o]<t+1;)o++;o=Math.min(e.length-1,o);const a=e[i],s=e[o];return"composite"===n.kind?{kind:"composite",minZoom:a,maxZoom:s,interpolationType:r}:{kind:"camera",minZoom:a,maxZoom:s,minSize:n.evaluate(new No(a)),maxSize:n.evaluate(new No(s)),interpolationType:r}}}function Cd(t,{uSize:e,uSizeT:n},{lowerSize:r,upperSize:i}){return"source"===t.kind?r/kd:"composite"===t.kind?Ln(r/kd,i/kd,n):e}function Sd(t,e){let n=0,r=0;if("constant"===t.kind)r=t.layoutSize;else if("source"!==t.kind){const{interpolationType:i,minZoom:o,maxZoom:a}=t,s=i?C(qn.interpolationFactor(i,e,o,a),0,1):0;"camera"===t.kind?r=Ln(t.minSize,t.maxSize,s):n=s}return{uSizeT:n,uSize:r}}var Td=Object.freeze({__proto__:null,getSizeData:Md,evaluateSizeForFeature:Cd,evaluateSizeForZoom:Sd,SIZE_PACK_FACTOR:kd});function Ld(t,e,n){return t.sections.forEach((t=>{t.text=function(t,e,n){const r=e.layout.get("text-transform").evaluate(n,{});return"uppercase"===r?t=t.toLocaleUpperCase():"lowercase"===r&&(t=t.toLocaleLowerCase()),Bo.applyArabicShaping&&(t=Bo.applyArabicShaping(t)),t}(t.text,e,n)})),t}const Ed={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};function Ad(t){return"︶"===t||"﹈"===t||"︸"===t||"﹄"===t||"﹂"===t||"︾"===t||"︼"===t||"︺"===t||"︘"===t||"﹀"===t||"︐"===t||"︓"===t||"︔"===t||"`"===t||" ̄"===t||"︑"===t||"︒"===t}function Dd(t){return"︵"===t||"﹇"===t||"︷"===t||"﹃"===t||"﹁"===t||"︽"===t||"︻"===t||"︹"===t||"︗"===t||"︿"===t}var Od=jd,zd=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,f=t[e+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+t[e+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},Pd=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(e*l-1)*Math.pow(2,i),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m};function jd(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}jd.Varint=0,jd.Fixed64=1,jd.Bytes=2,jd.Fixed32=5;var Id=4294967296,Yd=1/Id,Rd="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function Fd(t){return t.type===jd.Bytes?t.readVarint()+t.pos:t.pos+1}function Bd(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Nd(t,e,n){var r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=t;i--)n.buf[i+r]=n.buf[i]}function $d(t,e){for(var n=0;n<t.length;n++)e.writeVarint(t[n])}function Zd(t,e){for(var n=0;n<t.length;n++)e.writeSVarint(t[n])}function Hd(t,e){for(var n=0;n<t.length;n++)e.writeFloat(t[n])}function Vd(t,e){for(var n=0;n<t.length;n++)e.writeDouble(t[n])}function Ud(t,e){for(var n=0;n<t.length;n++)e.writeBoolean(t[n])}function Wd(t,e){for(var n=0;n<t.length;n++)e.writeFixed32(t[n])}function Gd(t,e){for(var n=0;n<t.length;n++)e.writeSFixed32(t[n])}function qd(t,e){for(var n=0;n<t.length;n++)e.writeFixed64(t[n])}function Xd(t,e){for(var n=0;n<t.length;n++)e.writeSFixed64(t[n])}function Jd(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Kd(t,e,n){t[n]=e,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function Qd(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function th(t,e,n){e.glyphs=[],1===t&&n.readMessage(eh,e)}function eh(t,e,n){if(3===t){const{id:t,bitmap:r,width:i,height:o,left:a,top:s,advance:l}=n.readMessage(nh,{});e.glyphs.push({id:t,bitmap:new kc({width:i+6,height:o+6},r),metrics:{width:i,height:o,left:a,top:s,advance:l}})}else 4===t?e.ascender=n.readSVarint():5===t&&(e.descender=n.readSVarint())}function nh(t,e,n){1===t?e.id=n.readVarint():2===t?e.bitmap=n.readBytes():3===t?e.width=n.readVarint():4===t?e.height=n.readVarint():5===t?e.left=n.readSVarint():6===t?e.top=n.readSVarint():7===t&&(e.advance=n.readVarint())}function rh(t){let e=0,n=0;for(const r of t)e+=r.w*r.h,n=Math.max(n,r.w);t.sort(((t,e)=>e.h-t.h));const r=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),n),h:1/0}];let i=0,o=0;for(const e of t)for(let t=r.length-1;t>=0;t--){const n=r[t];if(!(e.w>n.w||e.h>n.h)){if(e.x=n.x,e.y=n.y,o=Math.max(o,e.y+e.h),i=Math.max(i,e.x+e.w),e.w===n.w&&e.h===n.h){const e=r.pop();t<r.length&&(r[t]=e)}else e.h===n.h?(n.x+=e.w,n.w-=e.w):e.w===n.w?(n.y+=e.h,n.h-=e.h):(r.push({x:n.x+e.w,y:n.y,w:n.w-e.w,h:e.h}),n.y+=e.h,n.h-=e.h);break}}return{w:i,h:o,fill:e/(i*o)||0}}jd.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos<n;){var r=this.readVarint(),i=r>>3,o=this.pos;this.type=7&r,t(i,e,this),this.pos===o&&this.skip(r)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Jd(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Qd(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Jd(this.buf,this.pos)+Jd(this.buf,this.pos+4)*Id;return this.pos+=8,t},readSFixed64:function(){var t=Jd(this.buf,this.pos)+Qd(this.buf,this.pos+4)*Id;return this.pos+=8,t},readFloat:function(){var t=zd(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=zd(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,r=this.buf;return e=127&(n=r[this.pos++]),n<128?e:(e|=(127&(n=r[this.pos++]))<<7,n<128?e:(e|=(127&(n=r[this.pos++]))<<14,n<128?e:(e|=(127&(n=r[this.pos++]))<<21,n<128?e:function(t,e,n){var r,i,o=n.buf;if(r=(112&(i=o[n.pos++]))>>4,i<128)return Bd(t,r,e);if(r|=(127&(i=o[n.pos++]))<<3,i<128)return Bd(t,r,e);if(r|=(127&(i=o[n.pos++]))<<10,i<128)return Bd(t,r,e);if(r|=(127&(i=o[n.pos++]))<<17,i<128)return Bd(t,r,e);if(r|=(127&(i=o[n.pos++]))<<24,i<128)return Bd(t,r,e);if(r|=(1&(i=o[n.pos++]))<<31,i<128)return Bd(t,r,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=r[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&Rd?function(t,e,n){return Rd.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var r="",i=e;i<n;){var o,a,s,l=t[i],c=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u>n)break;1===u?l<128&&(c=l):2===u?128==(192&(o=t[i+1]))&&(c=(31&l)<<6|63&o)<=127&&(c=null):3===u?(a=t[i+2],128==(192&(o=t[i+1]))&&128==(192&a)&&((c=(15&l)<<12|(63&o)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=t[i+2],s=t[i+3],128==(192&(o=t[i+1]))&&128==(192&a)&&128==(192&s)&&((c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),i+=u}return r}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==jd.Bytes)return t.push(this.readVarint(e));var n=Fd(this);for(t=t||[];this.pos<n;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==jd.Bytes)return t.push(this.readSVarint());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==jd.Bytes)return t.push(this.readBoolean());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==jd.Bytes)return t.push(this.readFloat());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==jd.Bytes)return t.push(this.readDouble());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==jd.Bytes)return t.push(this.readFixed32());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==jd.Bytes)return t.push(this.readSFixed32());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==jd.Bytes)return t.push(this.readFixed64());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==jd.Bytes)return t.push(this.readSFixed64());var e=Fd(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===jd.Varint)for(;this.buf[this.pos++]>127;);else if(e===jd.Bytes)this.pos=this.readVarint()+this.pos;else if(e===jd.Fixed32)this.pos+=4;else{if(e!==jd.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var n=new Uint8Array(e);n.set(this.buf),this.buf=n,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Kd(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Kd(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Kd(this.buf,-1&t,this.pos),Kd(this.buf,Math.floor(t*Yd),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Kd(this.buf,-1&t,this.pos),Kd(this.buf,Math.floor(t*Yd),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var n,r;if(t>=0?(n=t%4294967296|0,r=t/4294967296|0):(r=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,r=r+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7)}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((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)))))}(r,e)}(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))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var r,i,o=0;o<e.length;o++){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){r>56319||o+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&Nd(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),Pd(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),Pd(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n<e;n++)this.buf[this.pos++]=t[n]},writeRawMessage:function(t,e){this.pos++;var n=this.pos;t(e,this);var r=this.pos-n;r>=128&&Nd(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(t,e,n){this.writeTag(t,jd.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,$d,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,Zd,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,Ud,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,Hd,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,Vd,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,Wd,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Gd,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,qd,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,Xd,e)},writeBytesField:function(t,e){this.writeTag(t,jd.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,jd.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,jd.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,jd.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,jd.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,jd.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,jd.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,jd.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,jd.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,jd.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};class ih{constructor(t,{pixelRatio:e,version:n,stretchX:r,stretchY:i,content:o}){this.paddedRect=t,this.pixelRatio=e,this.stretchX=r,this.stretchY=i,this.content=o,this.version=n}get tl(){return[this.paddedRect.x+1,this.paddedRect.y+1]}get br(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]}get displaySize(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]}}class oh{constructor(t,e){const n={},r={};this.haveRenderCallbacks=[];const i=[];this.addImages(t,n,i),this.addImages(e,r,i);const{w:o,h:a}=rh(i),s=new Mc({width:o||1,height:a||1});for(const e in t){const r=t[e],i=n[e].paddedRect;Mc.copy(r.data,s,{x:0,y:0},{x:i.x+1,y:i.y+1},r.data)}for(const t in e){const n=e[t],i=r[t].paddedRect,o=i.x+1,a=i.y+1,l=n.data.width,c=n.data.height;Mc.copy(n.data,s,{x:0,y:0},{x:o,y:a},n.data),Mc.copy(n.data,s,{x:0,y:c-1},{x:o,y:a-1},{width:l,height:1}),Mc.copy(n.data,s,{x:0,y:0},{x:o,y:a+c},{width:l,height:1}),Mc.copy(n.data,s,{x:l-1,y:0},{x:o-1,y:a},{width:1,height:c}),Mc.copy(n.data,s,{x:0,y:0},{x:o+l,y:a},{width:1,height:c})}this.image=s,this.iconPositions=n,this.patternPositions=r}addImages(t,e,n){for(const r in t){const i=t[r],o={x:0,y:0,w:i.data.width+2,h:i.data.height+2};n.push(o),e[r]=new ih(o,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(r)}}patchUpdatedImages(t,e){this.haveRenderCallbacks=this.haveRenderCallbacks.filter((e=>t.hasImage(e))),t.dispatchRenderCallbacks(this.haveRenderCallbacks);for(const n in t.updatedImages)this.patchUpdatedImage(this.iconPositions[n],t.getImage(n),e),this.patchUpdatedImage(this.patternPositions[n],t.getImage(n),e)}patchUpdatedImage(t,e,n){if(!t||!e)return;if(t.version===e.version)return;t.version=e.version;const[r,i]=t.tl;n.update(e.data,void 0,{x:r,y:i})}}Ni(ih,"ImagePosition"),Ni(oh,"ImageAtlas");const ah={horizontal:1,vertical:2,horizontalOnly:3};class sh{constructor(){this.scale=1,this.fontStack="",this.imageName=null}static forText(t,e){const n=new sh;return n.scale=t||1,n.fontStack=e,n}static forImage(t){const e=new sh;return e.imageName=t,e}}class lh{constructor(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null}static fromFeature(t,e){const n=new lh;for(let r=0;r<t.sections.length;r++){const i=t.sections[r];i.image?n.addImageSection(i):n.addTextSection(i,e)}return n}length(){return this.text.length}getSection(t){return this.sections[this.sectionIndex[t]]}getSections(){return this.sections}getSectionIndex(t){return this.sectionIndex[t]}getCharCode(t){return this.text.charCodeAt(t)}verticalizePunctuation(t){this.text=function(t,e){let n="";for(let r=0;r<t.length;r++){const i=t.charCodeAt(r+1)||null,o=t.charCodeAt(r-1)||null;n+=!e&&(i&&Co(i)&&!Ed[t[r+1]]||o&&Co(o)&&!Ed[t[r-1]])||!Ed[t[r]]?t[r]:Ed[t[r]]}return n}(this.text,t)}trim(){let t=0;for(let e=0;e<this.text.length&&uh[this.text.charCodeAt(e)];e++)t++;let e=this.text.length;for(let n=this.text.length-1;n>=0&&n>=t&&uh[this.text.charCodeAt(n)];n--)e--;this.text=this.text.substring(t,e),this.sectionIndex=this.sectionIndex.slice(t,e)}substring(t,e){const n=new lh;return n.text=this.text.substring(t,e),n.sectionIndex=this.sectionIndex.slice(t,e),n.sections=this.sections,n}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce(((t,e)=>Math.max(t,this.sections[e].scale)),0)}addTextSection(t,e){this.text+=t.text,this.sections.push(sh.forText(t.scale,t.fontStack||e));const n=this.sections.length-1;for(let e=0;e<t.text.length;++e)this.sectionIndex.push(n)}addImageSection(t){const e=t.image?t.image.name:"";if(0===e.length)return void $("Can't add FormattedSection with an empty image.");const n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push(sh.forImage(e)),this.sectionIndex.push(this.sections.length-1)):$("Reached maximum number of images 6401")}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function ch(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m){const _=lh.fromFeature(t,i);let v;d===ah.vertical&&_.verticalizePunctuation(h);const{processBidirectionalText:g,processStyledBidirectionalText:y}=Bo;if(g&&1===_.sections.length){v=[];const t=g(_.toString(),vh(_,c,o,e,r,f,p));for(const e of t){const t=new lh;t.text=e,t.sections=_.sections;for(let n=0;n<e.length;n++)t.sectionIndex.push(0);v.push(t)}}else if(y){v=[];const t=y(_.text,_.sectionIndex,vh(_,c,o,e,r,f,p));for(const e of t){const t=new lh;t.text=e[0],t.sectionIndex=e[1],t.sections=_.sections,v.push(t)}}else v=function(t,e){const n=[],r=t.text;let i=0;for(const r of e)n.push(t.substring(i,r)),i=r;return i<r.length&&n.push(t.substring(i,r.length)),n}(_,vh(_,c,o,e,r,f,p));const b=[],x={positionedLines:b,text:_.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:d,iconsInText:!1,verticalizable:!1,hasBaseline:!1};return function(t,e,n,r,i,o,a,s,l,c,u,d){let h=0,f=0,p=0;const m="right"===s?1:"left"===s?0:.5;let _=!1;for(const t of i){const n=t.getSections();for(const t of n){if(t.imageName)continue;const n=e[t.fontStack];if(n&&(_=void 0!==n.ascender&&void 0!==n.descender,!_))break}if(!_)break}let v=0;for(const a of i){a.trim();const i=a.getMaxScale(),s=(i-1)*wd,y={positionedGlyphs:[],lineOffset:0};t.positionedLines[v]=y;const b=y.positionedGlyphs;let x=0;if(!a.length()){f+=o,++v;continue}let w=0,k=0;for(let o=0;o<a.length();o++){const s=a.getSection(o),p=a.getSectionIndex(o),m=a.getCharCode(o);let v=s.scale,y=null,M=null,C=null,S=wd,T=0;const L=!(l===ah.horizontal||!u&&!Mo(m)||u&&(uh[m]||(g=m,Wi(g)||Gi(g)||qi(g)||mo(g)||yo(g))));if(s.imageName){const e=r[s.imageName];if(!e)continue;C=s.imageName,t.iconsInText=t.iconsInText||!0,M=e.paddedRect;const n=e.displaySize;v=v*wd/d,y={width:n[0],height:n[1],left:1,top:-3,advance:L?n[1]:n[0],localGlyph:!1},T=_?-y.height*v:i*wd-17-n[1]*v,S=y.advance;const o=(L?n[0]:n[1])*v-wd*i;o>0&&o>x&&(x=o)}else{const t=n[s.fontStack];if(!t)continue;t[m]&&(M=t[m]);const r=e[s.fontStack];if(!r)continue;const o=r.glyphs[m];if(!o)continue;if(y=o.metrics,S=8203!==m?wd:0,_){const t=void 0!==r.ascender?Math.abs(r.ascender):0,e=void 0!==r.descender?Math.abs(r.descender):0,n=(t+e)*v;w<n&&(w=n,k=(t-e)/2*v),T=-t*v}else T=(i-v)*wd-17}L?(t.verticalizable=!0,b.push({glyph:m,imageName:C,x:h,y:f+T,vertical:L,scale:v,localGlyph:y.localGlyph,fontStack:s.fontStack,sectionIndex:p,metrics:y,rect:M}),h+=S*v+c):(b.push({glyph:m,imageName:C,x:h,y:f+T,vertical:L,scale:v,localGlyph:y.localGlyph,fontStack:s.fontStack,sectionIndex:p,metrics:y,rect:M}),h+=y.advance*v+c)}0!==b.length&&(p=Math.max(h-c,p),_?yh(b,m,x,k,o*i/2):yh(b,m,x,0,o/2)),h=0;const M=o*i+x;y.lineOffset=Math.max(x,s),f+=M,++v}var g;const y=f,{horizontalAlign:b,verticalAlign:x}=gh(a);(function(t,e,n,r,i,o){const a=(e-n)*i,s=-o*r;for(const e of t)for(const t of e.positionedGlyphs)t.x+=a,t.y+=s})(t.positionedLines,m,b,x,p,y),t.top+=-x*y,t.bottom=t.top+y,t.left+=-b*p,t.right=t.left+p,t.hasBaseline=_}(x,e,n,r,v,a,s,l,d,c,h,m),!function(t){for(const e of t)if(0!==e.positionedGlyphs.length)return!1;return!0}(b)&&x}const uh={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},dh={10:!0,32:!0,38:!0,40:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0};function hh(t,e,n,r,i,o){if(e.imageName){const t=r[e.imageName];return t?t.displaySize[0]*e.scale*wd/o+i:0}{const r=n[e.fontStack],o=r&&r.glyphs[t];return o?o.metrics.advance*e.scale+i:0}}function fh(t,e,n,r){const i=Math.pow(t-e,2);return r?t<e?i/2:2*i:i+Math.abs(n)*n}function ph(t,e,n){let r=0;return 10===t&&(r-=1e4),n&&(r+=150),40!==t&&65288!==t||(r+=50),41!==e&&65289!==e||(r+=50),r}function mh(t,e,n,r,i,o){let a=null,s=fh(e,n,i,o);for(const t of r){const r=fh(e-t.x,n,i,o)+t.badness;r<=s&&(a=t,s=r)}return{index:t,x:e,priorBreak:a,badness:s}}function _h(t){return t?_h(t.priorBreak).concat(t.index):[]}function vh(t,e,n,r,i,o,a){if("point"!==o)return[];if(!t)return[];const s=[],l=function(t,e,n,r,i,o){let a=0;for(let n=0;n<t.length();n++){const s=t.getSection(n);a+=hh(t.getCharCode(n),s,r,i,e,o)}return a/Math.max(1,Math.ceil(a/n))}(t,e,n,r,i,a),c=t.text.indexOf("​")>=0;let u=0;for(let n=0;n<t.length();n++){const o=t.getSection(n),h=t.getCharCode(n);if(uh[h]||(u+=hh(h,o,r,i,e,a)),n<t.length()-1){const e=!((d=h)<11904||!(ro(d)||no(d)||vo(d)||po(d)||so(d)||Xi(d)||io(d)||Qi(d)||lo(d)||co(d)||ao(d)||bo(d)||to(d)||Ki(d)||Ji(d)||oo(d)||eo(d)||_o(d)||ho(d)||uo(d)));(dh[h]||e||o.imageName)&&s.push(mh(n+1,u,l,s,ph(h,t.getCharCode(n+1),e&&c),!1))}}var d;return _h(mh(t.length(),u,l,s,0,!0))}function gh(t){let e=.5,n=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":n=1;break;case"top":case"top-right":case"top-left":n=0}return{horizontalAlign:e,verticalAlign:n}}function yh(t,e,n,r,i){if(!(e||n||r||i))return;const o=t.length-1,a=t[o],s=(a.x+a.metrics.advance*a.scale)*e;for(let e=0;e<=o;e++)t[e].x-=s,t[e].y+=n+r+i}function bh(t,e,n){const{horizontalAlign:r,verticalAlign:i}=gh(n),o=e[0]-t.displaySize[0]*r,a=e[1]-t.displaySize[1]*i;return{image:t,top:a,bottom:a+t.displaySize[1],left:o,right:o+t.displaySize[0]}}function xh(t,e,n,r,i,o){const a=t.image;let s;if(a.content){const t=a.content,e=a.pixelRatio||1;s=[t[0]/e,t[1]/e,a.displaySize[0]-t[2]/e,a.displaySize[1]-t[3]/e]}const l=e.left*o,c=e.right*o;let u,d,h,f;"width"===n||"both"===n?(f=i[0]+l-r[3],d=i[0]+c+r[1]):(f=i[0]+(l+c-a.displaySize[0])/2,d=f+a.displaySize[0]);const p=e.top*o,m=e.bottom*o;return"height"===n||"both"===n?(u=i[1]+p-r[0],h=i[1]+m+r[2]):(u=i[1]+(p+m-a.displaySize[1])/2,h=u+a.displaySize[1]),{image:a,top:u,right:d,bottom:h,left:f,collisionPadding:s}}class wh extends m{constructor(t,e,n,r,i){super(t,e),this.angle=r,this.z=n,void 0!==i&&(this.segment=i)}clone(){return new wh(this.x,this.y,this.z,this.angle,this.segment)}}function kh(t,e,n,r,i){if(void 0===e.segment)return!0;let o=e,a=e.segment+1,s=0;for(;s>-n/2;){if(a--,a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;const l=[];let c=0;for(;s<n/2;){const e=t[a],n=t[a+1];if(!n)return!1;let o=t[a-1].angleTo(e)-e.angleTo(n);for(o=Math.abs((o+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:o}),c+=o;s-l[0].distance>r;)c-=l.shift().angleDelta;if(c>i)return!1;a++,s+=e.dist(n)}return!0}function Mh(t){let e=0;for(let n=0;n<t.length-1;n++)e+=t[n].dist(t[n+1]);return e}function Ch(t,e,n){return t?.6*e*n:0}function Sh(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function Th(t,e,n,r,i,o){const a=Ch(n,i,o),s=Sh(n,r)*o;let l=0;const c=Mh(t)/2;for(let n=0;n<t.length-1;n++){const r=t[n],i=t[n+1],o=r.dist(i);if(l+o>c){const u=(c-l)/o,d=Ln(r.x,i.x,u),h=Ln(r.y,i.y,u),f=new wh(d,h,0,i.angleTo(r),n);return!a||kh(t,f,s,a,e)?f:void 0}l+=o}}function Lh(t,e,n,r,i,o,a,s,l){const c=Ch(r,o,a),u=Sh(r,i),d=u*a,h=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-d<e/4&&(e=d+e/4),Eh(t,h?e/2*s%e:(u/2+2*o)*a*s%e,e,c,n,d,h,!1,l)}function Eh(t,e,n,r,i,o,a,s,l){const c=o/2,u=Mh(t);let d=0,h=e-n,f=[];for(let e=0;e<t.length-1;e++){const a=t[e],s=t[e+1],p=a.dist(s),m=s.angleTo(a);for(;h+n<d+p;){h+=n;const _=(h-d)/p,v=Ln(a.x,s.x,_),g=Ln(a.y,s.y,_);if(v>=0&&v<l&&g>=0&&g<l&&h-c>=0&&h+c<=u){const n=new wh(v,g,0,m,e);n._round(),r&&!kh(t,n,o,r,i)||f.push(n)}}d+=p}return s||f.length||a||(f=Eh(t,d/2,n,r,i,o,a,!0,l)),f}function Ah(t,e,n,r,i){const o=[];for(let a=0;a<t.length;a++){const s=t[a];let l;for(let t=0;t<s.length-1;t++){let a=s[t],c=s[t+1];a.x<e&&c.x<e||(a.x<e?a=new m(e,a.y+(e-a.x)/(c.x-a.x)*(c.y-a.y))._round():c.x<e&&(c=new m(e,a.y+(e-a.x)/(c.x-a.x)*(c.y-a.y))._round()),a.y<n&&c.y<n||(a.y<n?a=new m(a.x+(n-a.y)/(c.y-a.y)*(c.x-a.x),n)._round():c.y<n&&(c=new m(a.x+(n-a.y)/(c.y-a.y)*(c.x-a.x),n)._round()),a.x>=r&&c.x>=r||(a.x>=r?a=new m(r,a.y+(r-a.x)/(c.x-a.x)*(c.y-a.y))._round():c.x>=r&&(c=new m(r,a.y+(r-a.x)/(c.x-a.x)*(c.y-a.y))._round()),a.y>=i&&c.y>=i||(a.y>=i?a=new m(a.x+(i-a.y)/(c.y-a.y)*(c.x-a.x),i)._round():c.y>=i&&(c=new m(a.x+(i-a.y)/(c.y-a.y)*(c.x-a.x),i)._round()),l&&a.equals(l[l.length-1])||(l=[a],o.push(l)),l.push(c)))))}}return o}Ni(wh,"Anchor");const Dh=1e20;function Oh(t,e,n,r,i,o,a,s,l){for(let c=e;c<e+r;c++)zh(t,n*o+c,o,i,a,s,l);for(let c=n;c<n+i;c++)zh(t,c*o+e,1,r,a,s,l)}function zh(t,e,n,r,i,o,a){o[0]=0,a[0]=-Dh,a[1]=Dh,i[0]=t[e];for(let s=1,l=0,c=0;s<r;s++){i[s]=t[e+s*n];const r=s*s;do{const t=o[l];c=(i[s]-i[t]+r-t*t)/(s-t)/2}while(c<=a[l]&&--l>-1);l++,o[l]=s,a[l]=c,a[l+1]=Dh}for(let s=0,l=0;s<r;s++){for(;a[l+1]<s;)l++;const r=o[l],c=s-r;t[e+s*n]=i[r]+c*c}}const Ph={none:0,ideographs:1,all:2};class jh{constructor(t,e,n){this.requestManager=t,this.localGlyphMode=e,this.localFontFamily=n,this.entries={},this.localGlyphs={200:{},400:{},500:{},900:{}}}setURL(t){this.url=t}getGlyphs(t,e){const n=[];for(const e in t)for(const r of t[e])n.push({stack:e,id:r});L(n,(({stack:t,id:e},n)=>{let r=this.entries[t];r||(r=this.entries[t]={glyphs:{},requests:{},ranges:{},ascender:void 0,descender:void 0});let i=r.glyphs[e];if(void 0!==i)return void n(null,{stack:t,id:e,glyph:i});if(i=this._tinySDF(r,t,e),i)return r.glyphs[e]=i,void n(null,{stack:t,id:e,glyph:i});const o=Math.floor(e/256);if(256*o>65535)return void n(new Error("glyphs > 65535 not supported"));if(r.ranges[o])return void n(null,{stack:t,id:e,glyph:i});let a=r.requests[o];a||(a=r.requests[o]=[],jh.loadGlyphRange(t,o,this.url,this.requestManager,((t,e)=>{if(e){r.ascender=e.ascender,r.descender=e.descender;for(const t in e.glyphs)this._doesCharSupportLocalGlyph(+t)||(r.glyphs[+t]=e.glyphs[+t]);r.ranges[o]=!0}for(const n of a)n(t,e);delete r.requests[o]}))),a.push(((r,i)=>{r?n(r):i&&n(null,{stack:t,id:e,glyph:i.glyphs[e]||null})}))}),((t,n)=>{if(t)e(t);else if(n){const t={};for(const{stack:e,id:r,glyph:i}of n)void 0===t[e]&&(t[e]={}),void 0===t[e].glyphs&&(t[e].glyphs={}),t[e].glyphs[r]=i&&{id:i.id,bitmap:i.bitmap.clone(),metrics:i.metrics},t[e].ascender=this.entries[e].ascender,t[e].descender=this.entries[e].descender;e(null,t)}}))}_doesCharSupportLocalGlyph(t){return this.localGlyphMode!==Ph.none&&(this.localGlyphMode===Ph.all?!!this.localFontFamily:!!this.localFontFamily&&(co(t)||fo(t)||to(t)||eo(t)||Qi(t)))}_tinySDF(t,e,n){const r=this.localFontFamily;if(!r||!this._doesCharSupportLocalGlyph(n))return;let i=t.tinySDF;if(!i){let n="400";/bold/i.test(e)?n="900":/medium/i.test(e)?n="500":/light/i.test(e)&&(n="200"),i=t.tinySDF=new jh.TinySDF({fontFamily:r,fontWeight:n,fontSize:48,buffer:6,radius:16}),i.fontWeight=n}if(this.localGlyphs[i.fontWeight][n])return this.localGlyphs[i.fontWeight][n];const o=String.fromCharCode(n),{data:a,width:s,height:l,glyphWidth:c,glyphHeight:u,glyphLeft:d,glyphTop:h,glyphAdvance:f}=i.draw(o);return this.localGlyphs[i.fontWeight][n]={id:n,bitmap:new kc({width:s,height:l},a),metrics:{width:c/2,height:u/2,left:d/2,top:h/2-27,advance:f/2,localGlyph:!0}}}}function Ih(t,e,n,r){const i=[],o=t.image,a=o.pixelRatio,s=o.paddedRect.w-2,l=o.paddedRect.h-2,c=t.right-t.left,u=t.bottom-t.top,d=o.stretchX||[[0,s]],h=o.stretchY||[[0,l]],f=(t,e)=>t+e[1]-e[0],p=d.reduce(f,0),_=h.reduce(f,0),v=s-p,g=l-_;let y=0,b=p,x=0,w=_,k=0,M=v,C=0,S=g;if(o.content&&r){const t=o.content;y=Yh(d,0,t[0]),x=Yh(h,0,t[1]),b=Yh(d,t[0],t[2]),w=Yh(h,t[1],t[3]),k=t[0]-y,C=t[1]-x,M=t[2]-t[0]-b,S=t[3]-t[1]-w}const T=(r,i,s,l)=>{const d=Fh(r.stretch-y,b,c,t.left),h=Bh(r.fixed-k,M,r.stretch,p),f=Fh(i.stretch-x,w,u,t.top),v=Bh(i.fixed-C,S,i.stretch,_),g=Fh(s.stretch-y,b,c,t.left),T=Bh(s.fixed-k,M,s.stretch,p),L=Fh(l.stretch-x,w,u,t.top),E=Bh(l.fixed-C,S,l.stretch,_),A=new m(d,f),D=new m(g,f),O=new m(g,L),z=new m(d,L),P=new m(h/a,v/a),j=new m(T/a,E/a),I=e*Math.PI/180;if(I){const t=Math.sin(I),e=Math.cos(I),n=[e,-t,t,e];A._matMult(n),D._matMult(n),z._matMult(n),O._matMult(n)}const Y=r.stretch+r.fixed,R=i.stretch+i.fixed;return{tl:A,tr:D,bl:z,br:O,tex:{x:o.paddedRect.x+1+Y,y:o.paddedRect.y+1+R,w:s.stretch+s.fixed-Y,h:l.stretch+l.fixed-R},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:P,pixelOffsetBR:j,minFontScaleX:M/a/c,minFontScaleY:S/a/u,isSDF:n}};if(r&&(o.stretchX||o.stretchY)){const t=Rh(d,v,p),e=Rh(h,g,_);for(let n=0;n<t.length-1;n++){const r=t[n],o=t[n+1];for(let t=0;t<e.length-1;t++)i.push(T(r,e[t],o,e[t+1]))}}else i.push(T({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:s+1},{fixed:0,stretch:l+1}));return i}function Yh(t,e,n){let r=0;for(const i of t)r+=Math.max(e,Math.min(n,i[1]))-Math.max(e,Math.min(n,i[0]));return r}function Rh(t,e,n){const r=[{fixed:-1,stretch:0}];for(const[e,n]of t){const t=r[r.length-1];r.push({fixed:e-t.stretch,stretch:t.stretch}),r.push({fixed:e-t.stretch,stretch:t.stretch+(n-e)})}return r.push({fixed:e+1,stretch:n}),r}function Fh(t,e,n,r){return t/e*n+r}function Bh(t,e,n,r){return t-e*n/r}function Nh(t,e,n,r){const i=e+t.positionedLines[r].lineOffset;return 0===r?n+i/2:n+(i+(e+t.positionedLines[r-1].lineOffset))/2}jh.loadGlyphRange=function(t,e,n,r,i){const o=256*e,a=o+255,s=r.transformRequest(r.normalizeGlyphsURL(n).replace("{fontstack}",t).replace("{range}",`${o}-${a}`),at.Glyphs);ut(s,((t,e)=>{if(t)i(t);else if(e){const t={},n=function(t){return new Od(t).readFields(th,{})}(e);for(const e of n.glyphs)t[e.id]=e;i(null,{glyphs:t,ascender:n.ascender,descender:n.descender})}}))},jh.TinySDF=class{constructor({fontSize:t=24,buffer:e=3,radius:n=8,cutoff:r=.25,fontFamily:i="sans-serif",fontWeight:o="normal",fontStyle:a="normal"}={}){this.buffer=e,this.cutoff=r,this.radius=n;const s=this.size=t+4*e,l=this._createCanvas(s),c=this.ctx=l.getContext("2d",{willReadFrequently:!0});c.font=`${a} ${o} ${t}px ${i}`,c.textBaseline="alphabetic",c.textAlign="left",c.fillStyle="black",this.gridOuter=new Float64Array(s*s),this.gridInner=new Float64Array(s*s),this.f=new Float64Array(s),this.z=new Float64Array(s+1),this.v=new Uint16Array(s)}_createCanvas(t){const e=document.createElement("canvas");return e.width=e.height=t,e}draw(t){const{width:e,actualBoundingBoxAscent:n,actualBoundingBoxDescent:r,actualBoundingBoxLeft:i,actualBoundingBoxRight:o}=this.ctx.measureText(t),a=Math.ceil(n),s=Math.min(this.size-this.buffer,Math.ceil(o-i)),l=Math.min(this.size-this.buffer,a+Math.ceil(r)),c=s+2*this.buffer,u=l+2*this.buffer,d=Math.max(c*u,0),h=new Uint8ClampedArray(d),f={data:h,width:c,height:u,glyphWidth:s,glyphHeight:l,glyphTop:a,glyphLeft:0,glyphAdvance:e};if(0===s||0===l)return f;const{ctx:p,buffer:m,gridInner:_,gridOuter:v}=this;p.clearRect(m,m,s,l),p.fillText(t,m,m+a);const g=p.getImageData(m,m,s,l);v.fill(Dh,0,d),_.fill(0,0,d);for(let t=0;t<l;t++)for(let e=0;e<s;e++){const n=g.data[4*(t*s+e)+3]/255;if(0===n)continue;const r=(t+m)*c+e+m;if(1===n)v[r]=0,_[r]=Dh;else{const t=.5-n;v[r]=t>0?t*t:0,_[r]=t<0?t*t:0}}Oh(v,0,0,c,u,c,this.f,this.v,this.z),Oh(_,m,m,s,l,c,this.f,this.v,this.z);for(let t=0;t<d;t++){const e=Math.sqrt(v[t])-Math.sqrt(_[t]);h[t]=Math.round(255-255*(e/this.radius+this.cutoff))}return f}};class $h{constructor(t=[],e=Zh){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t)}push(t){this.data.push(t),this.length++,this._up(this.length-1)}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,o=e[i];if(n(r,o)>=0)break;e[t]=o,t=i}e[t]=r}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t<r;){let r=1+(t<<1),o=e[r];const a=r+1;if(a<this.length&&n(e[a],o)<0&&(r=a,o=e[a]),n(o,i)>=0)break;e[t]=o,t=r}e[t]=i}}function Zh(t,e){return t<e?-1:t>e?1:0}function Hh(t,e=1,n=!1){let r=1/0,i=1/0,o=-1/0,a=-1/0;const s=t[0];for(let t=0;t<s.length;t++){const e=s[t];(!t||e.x<r)&&(r=e.x),(!t||e.y<i)&&(i=e.y),(!t||e.x>o)&&(o=e.x),(!t||e.y>a)&&(a=e.y)}const l=Math.min(o-r,a-i);let c=l/2;const u=new $h([],Vh);if(0===l)return new m(r,i);for(let e=r;e<o;e+=l)for(let n=i;n<a;n+=l)u.push(new Uh(e+c,n+c,c,t));let d=function(t){let e=0,n=0,r=0;const i=t[0];for(let t=0,o=i.length,a=o-1;t<o;a=t++){const o=i[t],s=i[a],l=o.x*s.y-s.x*o.y;n+=(o.x+s.x)*l,r+=(o.y+s.y)*l,e+=3*l}return new Uh(n/e,r/e,0,t)}(t),h=u.length;for(;u.length;){const r=u.pop();(r.d>d.d||!d.d)&&(d=r,n&&console.log("found best %d after %d probes",Math.round(1e4*r.d)/1e4,h)),r.max-d.d<=e||(c=r.h/2,u.push(new Uh(r.p.x-c,r.p.y-c,c,t)),u.push(new Uh(r.p.x+c,r.p.y-c,c,t)),u.push(new Uh(r.p.x-c,r.p.y+c,c,t)),u.push(new Uh(r.p.x+c,r.p.y+c,c,t)),h+=4)}return n&&(console.log(`num probes: ${h}`),console.log(`best distance: ${d.d}`)),d.p}function Vh(t,e){return e.max-t.max}function Uh(t,e,n,r){this.p=new m(t,e),this.h=n,this.d=function(t,e){let n=!1,r=1/0;for(let i=0;i<e.length;i++){const o=e[i];for(let e=0,i=o.length,a=i-1;e<i;a=e++){const i=o[e],s=o[a];i.y>t.y!=s.y>t.y&&t.x<(s.x-i.x)*(t.y-i.y)/(s.y-i.y)+i.x&&(n=!n),r=Math.min(r,dl(t,i,s))}}return(n?1:-1)*Math.sqrt(r)}(this.p,r),this.max=this.d+this.h*Math.SQRT2}const Wh=Number.POSITIVE_INFINITY,Gh=Math.sqrt(2);function qh(t,e){return e[1]!==Wh?function(t,e,n){let r=0,i=0;switch(e=Math.abs(e),n=Math.abs(n),t){case"top-right":case"top-left":case"top":i=n-7;break;case"bottom-right":case"bottom-left":case"bottom":i=7-n}switch(t){case"top-right":case"bottom-right":case"right":r=-e;break;case"top-left":case"bottom-left":case"left":r=e}return[r,i]}(t,e[0],e[1]):function(t,e){let n=0,r=0;e<0&&(e=0);const i=e/Gh;switch(t){case"top-right":case"top-left":r=i-7;break;case"bottom-right":case"bottom-left":r=7-i;break;case"bottom":r=7-e;break;case"top":r=e-7}switch(t){case"top-right":case"bottom-right":n=-i;break;case"top-left":case"bottom-left":n=i;break;case"left":n=e;break;case"right":n=-e}return[n,r]}(t,e[0])}function Xh(t,e,n,r,i,o,a,s,l,c){t.createArrays(),t.tilePixelRatio=Ds/(512*t.overscaling),t.compareText={},t.iconsNeedLinear=!1;const u=t.layers[0].layout,d=t.layers[0]._unevaluatedLayout._values,h={};if("composite"===t.textSizeData.kind){const{minZoom:e,maxZoom:n}=t.textSizeData;h.compositeTextSizes=[d["text-size"].possiblyEvaluate(new No(e),s),d["text-size"].possiblyEvaluate(new No(n),s)]}if("composite"===t.iconSizeData.kind){const{minZoom:e,maxZoom:n}=t.iconSizeData;h.compositeIconSizes=[d["icon-size"].possiblyEvaluate(new No(e),s),d["icon-size"].possiblyEvaluate(new No(n),s)]}h.layoutTextSize=d["text-size"].possiblyEvaluate(new No(l+1),s),h.layoutIconSize=d["icon-size"].possiblyEvaluate(new No(l+1),s),h.textMaxSize=d["text-size"].possiblyEvaluate(new No(18),s);const f="map"===u.get("text-rotation-alignment")&&"point"!==u.get("symbol-placement"),p=u.get("text-size");for(const o of t.features){const l=u.get("text-font").evaluate(o,{},s).join(","),d=p.evaluate(o,{},s),m=h.layoutTextSize.evaluate(o,{},s),_=(h.layoutIconSize.evaluate(o,{},s),{horizontal:{},vertical:void 0}),v=o.text;let g,y=[0,0];if(v){const r=v.toString(),a=u.get("text-letter-spacing").evaluate(o,{},s)*wd,c=u.get("text-line-height").evaluate(o,{},s)*wd,h=wo(r)?a:0,p=u.get("text-anchor").evaluate(o,{},s),g=u.get("text-variable-anchor");if(!g){const t=u.get("text-radial-offset").evaluate(o,{},s);y=t?qh(p,[t*wd,Wh]):u.get("text-offset").evaluate(o,{},s).map((t=>t*wd))}let b=f?"center":u.get("text-justify").evaluate(o,{},s);const x=u.get("symbol-placement"),w="point"===x,k="point"===x?u.get("text-max-width").evaluate(o,{},s)*wd:0,M=o=>{t.allowVerticalPlacement&&xo(r)&&(_.vertical=ch(v,e,n,i,l,k,c,p,o,h,y,ah.vertical,!0,x,m,d))};if(!f&&g){const t="auto"===b?g.map((t=>Jh(t))):[b];let r=!1;for(let o=0;o<t.length;o++){const a=t[o];if(!_.horizontal[a])if(r)_.horizontal[a]=_.horizontal[0];else{const t=ch(v,e,n,i,l,k,c,"center",a,h,y,ah.horizontal,!1,x,m,d);t&&(_.horizontal[a]=t,r=1===t.positionedLines.length)}}M("left")}else{if("auto"===b&&(b=Jh(p)),w||u.get("text-writing-mode").indexOf("horizontal")>=0||!xo(r)){const t=ch(v,e,n,i,l,k,c,p,b,h,y,ah.horizontal,!1,x,m,d);t&&(_.horizontal[b]=t)}M("point"===x?"left":b)}}let b=!1;if(o.icon&&o.icon.name){const e=r[o.icon.name];e&&(g=bh(i[o.icon.name],u.get("icon-offset").evaluate(o,{},s),u.get("icon-anchor").evaluate(o,{},s)),b=e.sdf,void 0===t.sdfIcons?t.sdfIcons=e.sdf:t.sdfIcons!==e.sdf&&$("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(e.pixelRatio!==t.pixelRatio||0!==u.get("icon-rotate").constantOr(1))&&(t.iconsNeedLinear=!0))}const x=ef(_.horizontal)||_.vertical;t.iconsInText||(t.iconsInText=!!x&&x.iconsInText),(x||g)&&Kh(t,o,_,g,r,h,m,0,y,b,a,s,c)}o&&t.generateCollisionDebugBuffers(l,t.collisionBoxArray)}function Jh(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function Kh(t,e,n,r,i,o,a,s,l,c,u,d,h){let f=o.textMaxSize.evaluate(e,{},d);void 0===f&&(f=a);const p=t.layers[0].layout,m=p.get("icon-offset").evaluate(e,{},d),_=ef(n.horizontal)||n.vertical,v="globe"===h.name,g=a/24,b=t.tilePixelRatio*f/24,x=(E=t.overscaling,t.zoom>18&&E>2&&(E>>=1),Math.max(Ds/(512*E),1)*p.get("symbol-spacing")),w=p.get("text-padding")*t.tilePixelRatio,k=p.get("icon-padding")*t.tilePixelRatio,M=y(p.get("text-max-angle")),C="map"===p.get("text-rotation-alignment")&&"point"!==p.get("symbol-placement"),S="map"===p.get("icon-rotation-alignment")&&"point"!==p.get("symbol-placement"),T=p.get("symbol-placement"),L=x/2;var E;const A=p.get("icon-text-fit");let D;r&&"none"!==A&&(t.allowVerticalPlacement&&n.vertical&&(D=xh(r,n.vertical,A,p.get("icon-text-fit-padding"),m,g)),_&&(r=xh(r,_,A,p.get("icon-text-fit-padding"),m,g)));const O=(a,s,f)=>{if(s.x<0||s.x>=Ds||s.y<0||s.y>=Ds)return;let p=null;if(v){const{x:t,y:e,z:n}=h.projectTilePoint(s.x,s.y,f);p={anchor:new wh(t,e,n,0,void 0),up:h.upVector(f,s.x,s.y)}}!function(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x,w,k,M){const C=t.addToLineVertexArray(e,r);let S,T,L,E,A,D,O,z=0,P=0,j=0,I=0,Y=-1,R=-1;const F={};let B=Ja.exports("");const N=n?n.anchor:e;let Z=0,H=0;if(void 0===l._unevaluatedLayout.getValue("text-radial-offset")?[Z,H]=l.layout.get("text-offset").evaluate(b,{},M).map((t=>t*wd)):(Z=l.layout.get("text-radial-offset").evaluate(b,{},M)*wd,H=Wh),t.allowVerticalPlacement&&i.vertical){const t=i.vertical;if(p)D=rf(t),s&&(O=rf(s));else{const n=l.layout.get("text-rotate").evaluate(b,{},M)+90;L=nf(c,N,e,u,d,h,t,f,n,m),s&&(E=nf(c,N,e,u,d,h,s,v,n))}}if(o){const r=l.layout.get("icon-rotate").evaluate(b,{},M),i="none"!==l.layout.get("icon-text-fit"),a=Ih(o,r,w,i),f=s?Ih(s,r,w,i):void 0;T=nf(c,N,e,u,d,h,o,v,r),z=4*a.length;const p=t.iconSizeData;let m=null;"source"===p.kind?(m=[kd*l.layout.get("icon-size").evaluate(b,{},M)],m[0]>Qh&&$(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)):"composite"===p.kind&&(m=[kd*x.compositeIconSizes[0].evaluate(b,{},M),kd*x.compositeIconSizes[1].evaluate(b,{},M)],(m[0]>Qh||m[1]>Qh)&&$(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)),t.addSymbols(t.icon,a,m,y,g,b,!1,n,e,C.lineStartIndex,C.lineLength,-1,k,M),Y=t.icon.placedSymbolArray.length-1,f&&(P=4*f.length,t.addSymbols(t.icon,f,m,y,g,b,ah.vertical,n,e,C.lineStartIndex,C.lineLength,-1,k,M),R=t.icon.placedSymbolArray.length-1)}for(const r in i.horizontal){const o=i.horizontal[r];S||(B=Ja.exports(o.text),p?A=rf(o):S=nf(c,N,e,u,d,h,o,f,l.layout.get("text-rotate").evaluate(b,{},M),m));const s=1===o.positionedLines.length;if(j+=tf(t,n,e,o,a,l,p,b,m,C,i.vertical?ah.horizontal:ah.horizontalOnly,s?Object.keys(i.horizontal):[r],F,Y,x,k,M),s)break}i.vertical&&(I+=tf(t,n,e,i.vertical,a,l,p,b,m,C,ah.vertical,["vertical"],F,R,x,k,M));let V=-1;const U=(t,e)=>t?Math.max(t,e):e;V=U(A,V),V=U(D,V),V=U(O,V);const W=V>-1?1:0;t.glyphOffsetArray.length>=vp.MAX_GLYPHS&&$("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(N.x,N.y,N.z,e.x,e.y,F.right>=0?F.right:-1,F.center>=0?F.center:-1,F.left>=0?F.left:-1,F.vertical>=0?F.vertical:-1,Y,R,B,void 0!==S?S:t.collisionBoxArray.length,void 0!==S?S+1:t.collisionBoxArray.length,void 0!==L?L:t.collisionBoxArray.length,void 0!==L?L+1:t.collisionBoxArray.length,void 0!==T?T:t.collisionBoxArray.length,void 0!==T?T+1:t.collisionBoxArray.length,E||t.collisionBoxArray.length,E?E+1:t.collisionBoxArray.length,u,j,I,z,P,W,0,Z,H,V)}(t,s,p,a,n,r,i,D,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,w,C,l,0,k,S,m,e,o,c,u,d)};if("line"===T)for(const i of Ah(e.geometry,0,0,Ds,Ds)){const e=Lh(i,x,M,n.vertical||_,r,24,b,t.overscaling,Ds);for(const n of e){const e=_;e&&of(t,e.text,L,n)||O(i,n,d)}}else if("line-center"===T){for(const t of e.geometry)if(t.length>1){const e=Th(t,M,n.vertical||_,r,24,b);e&&O(t,e,d)}}else if("Polygon"===e.type)for(const t of su(e.geometry,0)){const e=Hh(t,16);O(t[0],new wh(e.x,e.y,0,0,void 0),d)}else if("LineString"===e.type)for(const t of e.geometry)O(t,new wh(t[0].x,t[0].y,0,0,void 0),d);else if("Point"===e.type)for(const t of e.geometry)for(const e of t)O([e],new wh(e.x,e.y,0,0,void 0),d)}const Qh=32640;function tf(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,_,v){const g=function(t,e,n,r,i,o,a,s){const l=[];if(0===e.positionedLines.length)return l;const c=r.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,u=function(t){const e=t[0],n=t[1],r=e*n;return r>0?[e,-n]:r<0?[-e,n]:0===e?[n,e]:[n,-e]}(n);let d=Math.abs(e.top-e.bottom);for(const t of e.positionedLines)d-=t.lineOffset;const h=e.positionedLines.length,f=d/h;let p=e.top-n[1];for(let t=0;t<h;++t){const r=e.positionedLines[t];p=Nh(e,f,p,t);for(const t of r.positionedGlyphs){if(!t.rect)continue;const r=t.rect||{};let o=4,d=!0,h=1,f=0;if(t.imageName){const e=a[t.imageName];if(!e)continue;if(e.sdf){$("SDF images are not supported in formatted text and will be ignored.");continue}d=!1,h=e.pixelRatio,o=1/h}const _=(i||s)&&t.vertical,v=t.metrics.advance*t.scale/2,g=t.metrics,y=t.rect;if(null===y)continue;s&&e.verticalizable&&(f=t.imageName?v-t.metrics.width*t.scale/2:0);const b=i?[t.x+v,t.y]:[0,0];let x=[0,0],w=[0,0],k=!1;i||(_?(w=[t.x+v+u[0],t.y+u[1]-f],k=!0):x=[t.x+v+n[0],t.y+n[1]-f]);const M=y.w*t.scale/(h*(t.localGlyph?2:1)),C=y.h*t.scale/(h*(t.localGlyph?2:1));let S,T,L,E;if(_){const e=t.y-p,n=new m(-v,v-e),r=-Math.PI/2,i=new m(...w);S=new m(-v+x[0],x[1]),S._rotateAround(r,n)._add(i),S.x+=-e+v,S.y-=(g.left-o)*t.scale;const a=t.imageName?g.advance*t.scale:wd*t.scale,s=String.fromCharCode(t.glyph);Ad(s)?S.x+=(1-o)*t.scale:Dd(s)?S.x+=a-g.height*t.scale+(-o-1)*t.scale:S.x+=t.imageName||g.width+2*o===y.w&&g.height+2*o===y.h?(a-C)/2:(a-(g.height+2*o)*t.scale)/2,T=new m(S.x,S.y-M),L=new m(S.x+C,S.y),E=new m(S.x+C,S.y-M)}else{const e=(g.left-o)*t.scale-v+x[0],n=(-g.top-o)*t.scale+x[1],r=e+M,i=n+C;S=new m(e,n),T=new m(r,n),L=new m(e,i),E=new m(r,i)}if(c){let t;t=i?new m(0,0):k?new m(u[0],u[1]):new m(n[0],n[1]),S._rotateAround(c,t),T._rotateAround(c,t),L._rotateAround(c,t),E._rotateAround(c,t)}const A=new m(0,0),D=new m(0,0);l.push({tl:S,tr:T,bl:L,br:E,tex:r,writingMode:e.writingMode,glyphOffset:b,sectionIndex:t.sectionIndex,isSDF:d,pixelOffsetTL:A,pixelOffsetBR:D,minFontScaleX:0,minFontScaleY:0})}}return l}(0,r,l,o,a,s,i,t.allowVerticalPlacement),y=t.textSizeData;let b=null;"source"===y.kind?(b=[kd*o.layout.get("text-size").evaluate(s,{},v)],b[0]>Qh&&$(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)):"composite"===y.kind&&(b=[kd*p.compositeTextSizes[0].evaluate(s,{},v),kd*p.compositeTextSizes[1].evaluate(s,{},v)],(b[0]>Qh||b[1]>Qh)&&$(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)),t.addSymbols(t.text,g,b,l,a,s,u,e,n,c.lineStartIndex,c.lineLength,f,_,v);for(const e of d)h[e]=t.text.placedSymbolArray.length-1;return 4*g.length}function ef(t){for(const e in t)return t[e];return null}function nf(t,e,n,r,i,o,a,s,l,c){let u=a.top,d=a.bottom,h=a.left,f=a.right;const p=a.collisionPadding;if(p&&(h-=p[0],u-=p[1],f+=p[2],d+=p[3]),l){const t=new m(h,u),e=new m(f,u),n=new m(h,d),r=new m(f,d),i=y(l);let o=new m(0,0);
vendor: 8,933 bytes, line 2
2c&&(o=new m(c[0],c[1])),t._rotateAround(i,o),e._rotateAround(i,o),n._rotateAround(i,o),r._rotateAround(i,o),h=Math.min(t.x,e.x,n.x,r.x),f=Math.max(t.x,e.x,n.x,r.x),u=Math.min(t.y,e.y,n.y,r.y),d=Math.max(t.y,e.y,n.y,r.y)}return t.emplaceBack(e.x,e.y,e.z,n.x,n.y,h,u,f,d,s,r,i,o),t.length-1}function rf(t){t.collisionPadding&&(t.top-=t.collisionPadding[1],t.bottom+=t.collisionPadding[3]);const e=t.bottom-t.top;return e>0?Math.max(10,e):null}function of(t,e,n,r){const i=t.compareText;if(e in i){const t=i[e];for(let e=t.length-1;e>=0;e--)if(r.dist(t[e])<n)return!0}else i[e]=[];return i[e].push(r),!1}const af=aa([{type:"Float32",name:"a_globe_pos",components:3},{type:"Float32",name:"a_uv",components:2}]),{members:sf}=af,lf=aa([{name:"a_pos_3",components:3,type:"Int16"}]);var cf=aa([{name:"a_pos",type:"Int16",components:2}]);const uf=Ds/Math.PI/2,df=2*Fs(1,0)*uf*Math.PI,hf=64,ff=[hf,32,16],pf=-uf,mf=uf,_f=[new fc([pf,pf,pf],[mf,mf,mf]),new fc([pf,pf,pf],[0,0,mf]),new fc([0,pf,pf],[mf,0,mf]),new fc([pf,0,pf],[0,mf,mf]),new fc([0,0,pf],[mf,mf,mf])];function vf(t,e,n,r=!0){const i=Vl([],t._camera.position,t.worldSize),o=[e,n,1,1];ic(o,o,t.pixelMatrixInverse),nc(o,o,1/o[3]);const a=Wl([],Ql([],o,i)),s=t.globeMatrix,l=[s[12],s[13],s[14]],c=Ql([],l,i),u=Rl(c),d=Wl([],c),h=t.worldSize/(2*Math.PI),f=Gl(d,a),p=Math.asin(h/u);if(p<Math.acos(f)){if(!r)return null;const t=[],e=[];Vl(t,a,u/f),Wl(e,Ql(e,t,c)),Wl(a,Bl(a,c,Vl(a,e,Math.tan(p)*u)))}const m=[];new uc(i,a).closestPointOnSphere(l,h,m);const _=Wl([],X(s,0)),v=Wl([],X(s,1)),g=Wl([],X(s,2)),y=Gl(_,m),x=Gl(v,m),w=Gl(g,m),k=b(Math.asin(-x/h));let M=b(Math.atan2(y,w));M=t.center.lng+function(t,e){const n=(e-t+180)%360-180;return n<-180?n+360:n}(t.center.lng,M);const S=Ys(M),T=C(Rs(k),0,1);return new Vs(S,T)}class gf{constructor(t,e,n){this.a=Ql([],t,n),this.b=Ql([],e,n),this.center=n;const r=Wl([],this.a),i=Wl([],this.b);this.angle=Math.acos(Gl(r,i))}}function yf(t,e){if(0===t.angle)return null;let n;return n=0===t.a[e]?1/t.angle*.5*Math.PI:1/t.angle*Math.atan(t.b[e]/t.a[e]/Math.sin(t.angle)-1/Math.tan(t.angle)),n<0||n>1?null:function(t,e,n,r){const i=Math.sin(n);return t*(Math.sin((1-r)*n)/i)+e*(Math.sin(r*n)/i)}(t.a[e],t.b[e],t.angle,C(n,0,1))+t.center[e]}function bf(t){if(t.z<=1)return _f[t.z+2*t.y+t.x];const e=Sf(Cf(t));return fc.fromPoints(e)}function xf(t,e,n){return Vl(t,t,1-n),Ul(t,t,e,n)}function wf(t,e){const n=jf(e.zoom);if(0===n)return bf(t);const r=Cf(t),i=Sf(r),o=Ys(r.getWest())*e.worldSize,a=Ys(r.getEast())*e.worldSize,s=Rs(r.getNorth())*e.worldSize,l=Rs(r.getSouth())*e.worldSize,c=[o,s,0],u=[a,s,0],d=[o,l,0],h=[a,l,0],f=Tl([],e.globeMatrix);return Xl(c,c,f),Xl(u,u,f),Xl(d,d,f),Xl(h,h,f),i[0]=xf(i[0],d,n),i[1]=xf(i[1],h,n),i[2]=xf(i[2],u,n),i[3]=xf(i[3],c,n),fc.fromPoints(i)}function kf(t,e,n){for(const r of t)Xl(r,r,e),Vl(r,r,n)}function Mf(t,e,n){const r=e/t.worldSize,i=t.globeMatrix;if(n.z<=1){const t=bf(n).getCorners();return kf(t,i,r),fc.fromPoints(t)}const o=Cf(n),a=Sf(o);kf(a,i,r);const s=Number.MAX_VALUE,l=[-s,-s,-s],c=[s,s,s];if(o.contains(t.center)){for(const t of a)Zl(c,c,t),Hl(l,l,t);l[2]=0;const e=t.point,n=[e.x*r,e.y*r,0];return Zl(c,c,n),Hl(l,l,n),new fc(c,l)}const u=[i[12]*r,i[13]*r,i[14]*r],d=o.getCenter(),h=C(t.center.lat,-85.051129,Zs),f=C(d.lat,-85.051129,Zs),p=Ys(t.center.lng),m=Rs(h);let _=p-Ys(d.lng);const v=m-Rs(f);_>.5?_-=1:_<-.5&&(_+=1);let g=0;Math.abs(_)>Math.abs(v)?g=_>=0?1:3:(g=v>=0?0:2,Ul(u,u,[i[4]*r,i[5]*r,i[6]*r],-Math.sin(y(v>=0?o.getSouth():o.getNorth()))*uf));const b=a[g],x=a[(g+1)%4],w=new gf(b,x,u),k=[yf(w,0)||b[0],yf(w,1)||b[1],yf(w,2)||b[2]],M=jf(t.zoom);if(M>0){const r=function({x:t,y:e,z:n},r,i,o,a){const s=1/(1<<n);let l=t*s,c=l+s,u=e*s,d=u+s,h=0;const f=(l+c)/2-o;return f>.5?h=-1:f<-.5&&(h=1),l=((l+h)*r-(o*=r))*i+o,c=((c+h)*r-o)*i+o,u=(u*r-(a*=r))*i+a,d=(d*r-a)*i+a,[[l,d,0],[c,d,0],[c,u,0],[l,u,0]]}(n,e,t._pixelsPerMercatorPixel,p,m);for(let t=0;t<a.length;t++)xf(a[t],r[t],M);const i=Bl([],r[g],r[(g+1)%4]);Vl(i,i,.5),xf(k,i,M)}for(const t of a)Zl(c,c,t),Hl(l,l,t);return c[2]=Math.min(b[2],x[2]),Zl(c,c,k),Hl(l,l,k),new fc(c,l)}function Cf({x:t,y:e,z:n}){const r=1/(1<<n),i=new Ps(Bs(t*r),Ns((e+1)*r)),o=new Ps(Bs((t+1)*r),Ns(e*r));return new Os(i,o)}function Sf(t){const e=y(t.getNorth()),n=y(t.getSouth()),r=Math.cos(e),i=Math.cos(n),o=Math.sin(e),a=Math.sin(n),s=t.getWest(),l=t.getEast();return[Tf(i,a,s),Tf(i,a,l),Tf(r,o,l),Tf(r,o,s)]}function Tf(t,e,n,r=uf){return n=y(n),[t*Math.sin(n)*r,-e*r,t*Math.cos(n)*r]}function Lf(t,e,n){return Tf(Math.cos(y(t)),Math.sin(y(t)),e,n)}function Ef(t,e,n,r){const i=1<<n.z,o=(t/Ds+n.x)/i;return Lf(Ns((e/Ds+n.y)/i),Bs(o),r)}function Af({min:t,max:e}){return 16383/Math.max(e[0]-t[0],e[1]-t[1],e[2]-t[2])}const Df=new Float64Array(16);function Of(t){const e=Af(t),n=zl(Df,[e,e,e]);return El(n,n,((r=[])[0]=-(i=t.min)[0],r[1]=-i[1],r[2]=-i[2],r));var r,i}function zf(t){const e=(r=t.min,(n=Df)[0]=1,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=1,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=1,n[11]=0,n[12]=r[0],n[13]=r[1],n[14]=r[2],n[15]=1,n);var n,r;const i=1/Af(t);return Al(e,e,[i,i,i])}function Pf(t,e,n,r,i){const o=function(t){const e=Ds/(2*Math.PI);return t/(2*Math.PI)/e}(n),a=[t,e,-n/(2*Math.PI)],s=Sl(new Float64Array(16));return El(s,s,a),Al(s,s,[o,o,o]),Dl(s,s,y(-i)),Ol(s,s,y(-r)),s}function jf(t){return S(5,6,t)}function If(t,e){const n=Lf(e.lat,e.lng),r=function(t){const e=Lf(t._center.lat,t._center.lng);let n=ql([],Fl(0,1,0),e);const r=Pl([],-t.angle,e);n=Xl(n,n,r),Pl(r,-t._pitch,n);const i=Wl([],e);return Vl(i,i,t.cameraToCenterDistance/t.pixelsPerMeter*df),Xl(i,i,r),Bl([],e,i)}(t);return a=(i=Nl([],r,n))[0],s=i[1],l=i[2],c=(o=n)[0],u=o[1],d=o[2],f=(h=Math.sqrt(a*a+s*s+l*l)*Math.sqrt(c*c+u*u+d*d))&&Gl(i,o)/h,Math.acos(Math.min(Math.max(f,-1),1));var i,o,a,s,l,c,u,d,h,f}const Yf=y(85),Rf=Math.cos(Yf),Ff=Math.sin(Yf);function Bf(t,e){const n=t.fovAboveCenter,r=t.elevation?t.elevation.getMinElevationBelowMSL()*e:0,i=(t._camera.position[2]*t.worldSize-r)/Math.cos(t._pitch),o=Math.sin(n)*i/Math.sin(Math.max(Math.PI/2-t._pitch-n,.01)),a=Math.sin(t._pitch)*o+i;return Math.min(1.01*a,i*(1/t._horizonShift))}function Nf(t,e){if(!e.isReprojectedInTileSpace)return{scale:1<<t.z,x:t.x,y:t.y,x2:t.x+1,y2:t.y+1,projection:e};const n=Math.pow(2,-t.z),r=t.x*n,i=(t.x+1)*n,o=t.y*n,a=(t.y+1)*n,s=Bs(r),l=Bs(i),c=Ns(o),u=Ns(a),d=e.project(s,c),h=e.project(l,c),f=e.project(l,u),p=e.project(s,u);let m=Math.min(d.x,h.x,f.x,p.x),_=Math.min(d.y,h.y,f.y,p.y),v=Math.max(d.x,h.x,f.x,p.x),g=Math.max(d.y,h.y,f.y,p.y);const y=n/16;function b(t,n,r,i,o,a){const s=(r+o)/2,l=(i+a)/2,c=e.project(Bs(s),Ns(l)),u=Math.max(0,m-c.x,_-c.y,c.x-v,c.y-g);m=Math.min(m,c.x),v=Math.max(v,c.x),_=Math.min(_,c.y),g=Math.max(g,c.y),u>y&&(b(t,c,r,i,s,l),b(c,n,s,l,o,a))}b(d,h,r,o,i,o),b(h,f,i,o,i,a),b(f,p,i,a,r,a),b(p,d,r,a,r,o),m-=y,_-=y,v+=y,g+=y;const x=1/Math.max(v-m,g-_);return{scale:x,x:m*x,y:_*x,x2:v*x,y2:g*x,projection:e}}const $f=Sl(new Float32Array(16));class Zf{constructor(t){this.spec=t,this.name=t.name,this.wrap=!1,this.requiresDraping=!1,this.supportsWorldCopies=!1,this.supportsTerrain=!1,this.supportsFog=!1,this.supportsFreeCamera=!1,this.zAxisUnit="meters",this.isReprojectedInTileSpace=!0,this.unsupportedLayers=["custom"],this.center=[0,0],this.range=[3.5,7]}project(t,e){return{x:0,y:0,z:0}}unproject(t,e){return new Ps(0,0)}projectTilePoint(t,e,n){return{x:t,y:e,z:0}}locationPoint(t,e,n=!0){return t._coordinatePoint(t.locationCoordinate(e),n)}pixelsPerMeter(t,e){return Fs(1,t)*e}pixelSpaceConversion(t,e,n){return 1}farthestPixelDistance(t){return Bf(t,t.pixelsPerMeter)}pointCoordinate(t,e,n,r){const i=t.horizonLineFromTop(!1),o=new m(e,Math.max(i,n));return t.rayIntersectionCoordinate(t.pointRayIntersection(o,r))}pointCoordinate3D(t,e,n){const r=new m(e,n);if(t.elevation)return t.elevation.pointCoordinate(r);{const e=this.pointCoordinate(t,r.x,r.y,0);return[e.x,e.y,e.z]}}isPointAboveHorizon(t,e){if(t.elevation)return!this.pointCoordinate3D(t,e.x,e.y);const n=t.horizonLineFromTop();return e.y<n}createInversionMatrix(t,e){return $f}createTileMatrix(t,e,n){let r,i,o;const a=n.canonical,s=Sl(new Float64Array(16));if(this.isReprojectedInTileSpace){const l=Nf(a,this);r=1,i=l.x+n.wrap*l.scale,o=l.y,Al(s,s,[r/l.scale,r/l.scale,t.pixelsPerMeter/e])}else r=e/t.zoomScale(a.z),i=(a.x+Math.pow(2,a.z)*n.wrap)*r,o=a.y*r;return El(s,s,[i,o,0]),Al(s,s,[r/Ds,r/Ds,1]),s}upVector(t,e,n){return[0,0,1]}upVectorScale(t,e,n){return{metersToTile:1}}}class Hf extends Zf{constructor(t){super(t),this.range=[4,7],this.center=t.center||[-96,37.5];const[e,n]=this.parallels=t.parallels||[29.5,45.5],r=Math.sin(y(e));this.n=(r+Math.sin(y(n)))/2,this.c=1+r*(2*this.n-r),this.r0=Math.sqrt(this.c)/this.n}project(t,e){const{n,c:r,r0:i}=this,o=y(t-this.center[0]),a=y(e),s=Math.sqrt(r-2*n*Math.sin(a))/n;return{x:s*Math.sin(o*n),y:s*Math.cos(o*n)-i,z:0}}unproject(t,e){const{n,c:r,r0:i}=this,o=i+e;let a=Math.atan2(t,Math.abs(o))*Math.sign(o);
vendor: 5,219 bytes, line 2
2o*n<0&&(a-=Math.PI*Math.sign(t)*Math.sign(o));const s=y(this.center[0])*n;a=T(a,-Math.PI-s,Math.PI-s);const l=C(b(a/n)+this.center[0],-180,180),c=Math.asin(C((r-(t*t+o*o)*n*n)/(2*n),-1,1)),u=C(b(c),-85.051129,Zs);return new Ps(l,u)}}const Vf=1.340264,Uf=-.081106,Wf=893e-6,Gf=.003796,qf=Math.sqrt(3)/2;class Xf extends Zf{project(t,e){e=e/180*Math.PI,t=t/180*Math.PI;const n=Math.asin(qf*Math.sin(e)),r=n*n,i=r*r*r;return{x:.5*(t*Math.cos(n)/(qf*(Vf+3*Uf*r+i*(7*Wf+9*Gf*r)))/Math.PI+.5),y:1-.5*(n*(Vf+Uf*r+i*(Wf+Gf*r))/Math.PI+1),z:0}}unproject(t,e){t=(2*t-.5)*Math.PI;let n=e=(2*(1-e)-1)*Math.PI,r=n*n,i=r*r*r;for(let t,o,a,s=0;s<12&&(o=n*(Vf+Uf*r+i*(Wf+Gf*r))-e,a=Vf+3*Uf*r+i*(7*Wf+9*Gf*r),t=o/a,n=C(n-t,-Math.PI/3,Math.PI/3),r=n*n,i=r*r*r,!(Math.abs(t)<1e-12));++s);const o=qf*t*(Vf+3*Uf*r+i*(7*Wf+9*Gf*r))/Math.cos(n),a=Math.asin(Math.sin(n)/qf),s=C(180*o/Math.PI,-180,180),l=C(180*a/Math.PI,-85.051129,Zs);return new Ps(s,l)}}class Jf extends Zf{constructor(t){super(t),this.wrap=!0,this.supportsWorldCopies=!0}project(t,e){return{x:.5+t/360,y:.5-e/360,z:0}}unproject(t,e){const n=360*(t-.5),r=C(360*(.5-e),-85.051129,Zs);return new Ps(n,r)}}const Kf=Math.PI/2;function Qf(t){return Math.tan((Kf+t)/2)}class tp extends Zf{constructor(t){super(t),this.center=t.center||[0,30];const[e,n]=this.parallels=t.parallels||[30,30];let r=y(e),i=y(n);this.southernCenter=r+i<0,this.southernCenter&&(r=-r,i=-i);const o=Math.cos(r),a=Qf(r);this.n=r===i?Math.sin(r):Math.log(o/Math.cos(i))/Math.log(Qf(i)/a),this.f=o*Math.pow(Qf(r),this.n)/this.n}project(t,e){e=y(e),this.southernCenter&&(e=-e),t=y(t-this.center[0]);const n=1e-6,{n:r,f:i}=this;i>0?e<-Kf+n&&(e=-Kf+n):e>Kf-n&&(e=Kf-n);const o=i/Math.pow(Qf(e),r);let a=o*Math.sin(r*t),s=i-o*Math.cos(r*t);return a=.5*(a/Math.PI+.5),s=.5*(s/Math.PI+.5),{x:a,y:this.southernCenter?s:1-s,z:0}}unproject(t,e){t=(2*t-.5)*Math.PI,this.southernCenter&&(e=1-e),e=(2*(1-e)-.5)*Math.PI;const{n,f:r}=this,i=r-e,o=Math.sign(i),a=Math.sign(n)*Math.sqrt(t*t+i*i);let s=Math.atan2(t,Math.abs(i))*o;i*n<0&&(s-=Math.PI*Math.sign(t)*o);const l=C(b(s/n)+this.center[0],-180,180),c=C(b(2*Math.atan(Math.pow(r/a,1/n))-Kf),-85.051129,Zs);return new Ps(l,this.southernCenter?-c:c)}}class ep extends Zf{constructor(t){super(t),this.wrap=!0,this.supportsWorldCopies=!0,this.supportsTerrain=!0,this.supportsFog=!0,this.supportsFreeCamera=!0,this.isReprojectedInTileSpace=!1,this.unsupportedLayers=[],this.range=null}project(t,e){return{x:Ys(t),y:Rs(e),z:0}}unproject(t,e){const n=Bs(t),r=Ns(e);return new Ps(n,r)}}const np=y(Zs);class rp extends Zf{project(t,e){const n=(e=y(e))*e,r=n*n;return{x:.5*((t=y(t))*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791))/Math.PI+.5),y:1-.5*(e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))/Math.PI+1),z:0}}unproject(t,e){t=(2*t-.5)*Math.PI;let n=e=(2*(1-e)-1)*Math.PI,r=25,i=0,o=n*n;do{o=n*n;const t=o*o;i=(n*(1.007226+o*(.015085+t*(.028874*o-.044475-.005916*t)))-e)/(1.007226+o*(.045255+t*(.259866*o-.311325-.005916*11*t))),n=C(n-i,-np,np)}while(Math.abs(i)>1e-6&&--r>0);o=n*n;const a=C(b(t/(.8707+o*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979))),-180,180),s=b(n);return new Ps(a,s)}}const ip=y(Zs);class op extends Zf{project(t,e){e=y(e),t=y(t);const n=Math.cos(e),r=2/Math.PI,i=Math.acos(n*Math.cos(t/2)),o=Math.sin(i)/i,a=.5*(t*r+2*n*Math.sin(t/2)/o)||0,s=.5*(e+Math.sin(e)/o)||0;return{x:.5*(a/Math.PI+.5),y:1-.5*(s/Math.PI+1),z:0}}unproject(t,e){let n=t=(2*t-.5)*Math.PI,r=e=(2*(1-e)-1)*Math.PI,i=25;const o=1e-6;let a=0,s=0;do{const i=Math.cos(r),o=Math.sin(r),l=2*o*i,c=o*o,u=i*i,d=Math.cos(n/2),h=Math.sin(n/2),f=2*d*h,p=h*h,m=1-u*d*d,_=m?1/m:0,v=m?Math.acos(i*d)*Math.sqrt(1/m):0,g=.5*(2*v*i*h+2*n/Math.PI)-t,y=.5*(v*o+r)-e,b=.5*_*(u*p+v*i*d*c)+1/Math.PI,x=_*(f*l/4-v*o*h),w=.125*_*(l*h-v*o*u*f),k=.5*_*(c*d+v*p*i)+.5,M=x*w-k*b;a=(y*x-g*k)/M,s=(g*w-y*b)/M,n=C(n-a,-Math.PI,Math.PI),r=C(r-s,-ip,ip)}while((Math.abs(a)>o||Math.abs(s)>o)&&--i>0);return new Ps(b(n),b(r))}}class ap extends Zf{constructor(t){super(t),this.center=t.center||[0,0],this.parallels=t.parallels||[0,0],this.cosPhi=Math.max(.01,Math.cos(y(this.parallels[0]))),this.scale=1/(2*Math.max(Math.PI*this.cosPhi,1/this.cosPhi)),this.wrap=!0,this.supportsWorldCopies=!0}project(t,e){const{scale:n,cosPhi:r}=this;return{x:y(t)*r*n+.5,y:-Math.sin(y(e))/r*n+.5,z:0}}unproject(t,e){const{scale:n,cosPhi:r}=this,i=-(e-.5)/n,o=C(b((t-.5)/n)/r,-180,180),a=Math.asin(C(i*r,-1,1)),s=C(b(a),-85.051129,Zs);return new Ps(o,s)}}class sp extends ep{constructor(t){super(t),this.requiresDraping=!0,this.supportsWorldCopies=!1,this.supportsFog=!0,this.zAxisUnit="pixels",this.unsupportedLayers=["debug","custom"],this.range=[3,5]}projectTilePoint(t,e,n){const r=Ef(t,e,n);return Xl(r,r,Of(bf(n))),{x:r[0],y:r[1],z:r[2]}}locationPoint(t,e){const n=Lf(e.lat,e.lng),r=Wl([],n),i=t.elevation?t.elevation.getAtPointOrZero(t.locationCoordinate(e),t._centerAltitude):t._centerAltitude;Ul(n,n,r,Fs(1,0)*Ds*i);const o=Sl(new Float64Array(16));return Ll(o,t.pixelMatrix,t.globeMatrix),Xl(n,n,o),new m(n[0],n[1])}pixelsPerMeter(t,e){return Fs(1,0)*e}pixelSpaceConversion(t,e,n){const r=Fs(1,t)*e,i=Ln(Fs(1,45)*e,r,n);return this.pixelsPerMeter(t,e)/i}createTileMatrix(t,e,n){const r=zf(bf(n.canonical));
vendor: 146,724 bytes, line 2
2return Ll(new Float64Array(16),t.globeMatrix,r)}createInversionMatrix(t,e){const{center:n}=t,r=Of(bf(e));return Ol(r,r,y(n.lng)),Dl(r,r,y(n.lat)),Al(r,r,[t._pixelsPerMercatorPixel,t._pixelsPerMercatorPixel,1]),Float32Array.from(r)}pointCoordinate(t,e,n,r){return vf(t,e,n,!0)||new Vs(0,0)}pointCoordinate3D(t,e,n){const r=this.pointCoordinate(t,e,n,0);return[r.x,r.y,r.z]}isPointAboveHorizon(t,e){return!vf(t,e.x,e.y,!1)}farthestPixelDistance(t){const e=function(t,e){const n=t.cameraToCenterDistance,r=t._centerAltitude*e,i=t._camera,o=t._camera.forward(),a=Bl([],Vl([],o,-n),[0,0,r]),s=t.worldSize/(2*Math.PI),l=[0,0,-s],c=t.width/t.height,u=Math.tan(t.fovAboveCenter),d=Vl([],i.up(),u),h=Vl([],i.right(),u*c),f=Wl([],Bl([],Bl([],o,d),h)),p=[];let m;if(new uc(a,f).closestPointOnSphere(l,s,p)){const e=Bl([],p,l),n=Ql([],e,a);m=Math.cos(t.fovAboveCenter)*Rl(n)}else{const t=Ql([],a,l),e=Ql([],l,a);Wl(e,e);const n=Rl(t)-s;m=Math.sqrt(n*(n+2*s));const r=Math.acos(m/(s+n))-Math.acos(Gl(o,e));m*=Math.cos(r)}return 1.01*m}(t,this.pixelsPerMeter(t.center.lat,t.worldSize)),n=jf(t.zoom);if(n>0){const r=Bf(t,Fs(1,t.center.lat)*t.worldSize),i=t.worldSize/(2*Math.PI),o=Math.max(t.width,t.height)/t.worldSize*Math.PI;return Ln(e,r+i*(1-Math.cos(o)),Math.pow(n,10))}return e}upVector(t,e,n){return Ef(e,n,t,1)}upVectorScale(t){return{metersToTile:df*Af(bf(t))}}}function lp(t){const e=t.parallels,n=!!e&&Math.abs(e[0]+e[1])<.01;switch(t.name){case"mercator":return new ep(t);case"equirectangular":return new Jf(t);case"naturalEarth":return new rp(t);case"equalEarth":return new Xf(t);case"winkelTripel":return new op(t);case"albers":return n?new ap(t):new Hf(t);case"lambertConformalConic":return n?new ap(t):new tp(t);case"globe":return new sp(t)}throw new Error(`Invalid projection name: ${t.name}`)}const cp=Du.types,up=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function dp(t,e,n,r,i,o,a,s,l,c,u,d,h){const f=s?Math.min(Qh,Math.round(s[0])):0,p=s?Math.min(Qh,Math.round(s[1])):0;t.emplaceBack(e,n,Math.round(32*r),Math.round(32*i),o,a,(f<<1)+(l?1:0),p,16*c,16*u,256*d,256*h)}function hp(t,e,n,r,i,o,a){t.emplaceBack(e,n,r,i,o,a)}function fp(t,e,n,r,i){t.emplaceBack(e,n,r,i),t.emplaceBack(e,n,r,i),t.emplaceBack(e,n,r,i),t.emplaceBack(e,n,r,i)}function pp(t){for(const e of t.sections)if(Lo(e.text))return!0;return!1}class mp{constructor(t){this.layoutVertexArray=new _a,this.indexArray=new Ma,this.programConfigurations=t,this.segments=new As,this.dynamicLayoutVertexArray=new ha,this.opacityVertexArray=new ga,this.placedSymbolArray=new Ra,this.globeExtVertexArray=new va}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length}upload(t,e,n,r){this.isEmpty()||(n&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,md.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,vd.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,up,!0),this.globeExtVertexArray.length>0&&(this.globeExtVertexBuffer=t.createVertexBuffer(this.globeExtVertexArray,_d.members,!0)),this.opacityVertexBuffer.itemSize=1),(n||r)&&this.programConfigurations.upload(t))}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy(),this.globeExtVertexBuffer&&this.globeExtVertexBuffer.destroy())}}Ni(mp,"SymbolBuffers");class _p{constructor(t,e,n){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new n,this.segments=new As,this.collisionVertexArray=new wa,this.collisionVertexArrayExt=new ka}upload(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,gd.members,!0),this.collisionVertexBufferExt=t.createVertexBuffer(this.collisionVertexArrayExt,yd.members,!0)}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy(),this.collisionVertexBufferExt.destroy())}}Ni(_p,"CollisionBuffers");class vp{constructor(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.fullyClipped=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=Sl([]),this.placementViewportMatrix=Sl([]);const e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Md(this.zoom,e["text-size"]),this.iconSizeData=Md(this.zoom,e["icon-size"]);const n=this.layers[0].layout,r=n.get("symbol-sort-key"),i=n.get("symbol-z-order");this.canOverlap=n.get("text-allow-overlap")||n.get("icon-allow-overlap")||n.get("text-ignore-placement")||n.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==i&&void 0!==r.constantOr(1),this.sortFeaturesByY=("viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey)&&this.canOverlap,this.writingModes=n.get("text-writing-mode").map((t=>ah[t])),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.sourceID=t.sourceID,this.projection=t.projection}createArrays(){this.text=new mp(new bs(this.layers,this.zoom,(t=>/^text/.test(t)))),this.icon=new mp(new bs(this.layers,this.zoom,(t=>/^icon/.test(t)))),this.glyphOffsetArray=new Na,this.lineVertexArray=new $a,this.symbolInstances=new Ba}calculateGlyphDependencies(t,e,n,r,i){for(let n=0;n<t.length;n++)if(e[t.charCodeAt(n)]=!0,r&&i){const r=Ed[t.charAt(n)];r&&(e[r.charCodeAt(0)]=!0)}}populate(t,e,n,r){const i=this.layers[0],o=i.layout,a="globe"===this.projection.name,s=o.get("text-font"),l=o.get("text-field"),c=o.get("icon-image"),u=("constant"!==l.value.kind||l.value.value instanceof Ae&&!l.value.value.isEmpty()||l.value.value.toString().length>0)&&("constant"!==s.value.kind||s.value.value.length>0),d="constant"!==c.value.kind||!!c.value.value||Object.keys(c.parameters).length>0,h=o.get("symbol-sort-key");if(this.features=[],!u&&!d)return;const f=e.iconDependencies,p=e.glyphDependencies,m=e.availableImages,_=new No(this.zoom);for(const{feature:e,id:l,index:c,sourceLayerIndex:v}of t){const t=i._featureFilter.needGeometry,g=tl(e,t);if(!i._featureFilter.filter(_,g,n))continue;if(t||(g.geometry=Qs(e,n,r)),a&&1!==e.type&&n.z<=5){const t=g.geometry,e=.98078528056,r=(t,r)=>Gl(Ef(t.x,t.y,n,1),Ef(r.x,r.y,n,1))<e;for(let e=0;e<t.length;e++)t[e]=qs(t[e],r)}let y,b;if(u){const t=i.getValueAndResolveTokens("text-field",g,n,m),e=Ae.factory(t);pp(e)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===Ro()||this.hasRTLText&&Bo.isParsed())&&(y=Ld(e,i,g))}if(d){const t=i.getValueAndResolveTokens("icon-image",g,n,m);b=t instanceof De?t:De.fromString(t)}if(!y&&!b)continue;const x=this.sortFeaturesByKey?h.evaluate(g,{},n):void 0;if(this.features.push({id:l,text:y,icon:b,index:c,sourceLayerIndex:v,geometry:g.geometry,properties:e.properties,type:cp[e.type],sortKey:x}),b&&(f[b.name]=!0),y){const t=s.evaluate(g,{},n).join(","),e="map"===o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(ah.vertical)>=0;for(const n of y.sections)if(n.image)f[n.image.name]=!0;else{const r=xo(y.toString()),i=n.fontStack||t,o=p[i]=p[i]||{};this.calculateGlyphDependencies(n.text,o,e,this.allowVerticalPlacement,r)}}}"line"===o.get("symbol-placement")&&(this.features=function(t){const e={},n={},r=[];let i=0;function o(e){r.push(t[e]),i++}function a(t,e,i){const o=n[t];return delete n[t],n[e]=o,r[o].geometry[0].pop(),r[o].geometry[0]=r[o].geometry[0].concat(i[0]),o}function s(t,n,i){const o=e[n];return delete e[n],e[t]=o,r[o].geometry[0].shift(),r[o].geometry[0]=i[0].concat(r[o].geometry[0]),o}function l(t,e,n){const r=n?e[0][e[0].length-1]:e[0][0];return`${t}:${r.x}:${r.y}`}for(let c=0;c<t.length;c++){const u=t[c],d=u.geometry,h=u.text?u.text.toString():null;if(!h){o(c);continue}const f=l(h,d),p=l(h,d,!0);if(f in n&&p in e&&n[f]!==e[p]){const t=s(f,p,d),i=a(f,p,r[t].geometry);delete e[f],delete n[p],n[l(h,r[i].geometry,!0)]=i,r[t].geometry=null}else f in n?a(f,p,d):p in e?s(f,p,d):(o(c),e[f]=i-1,n[p]=i-1)}return r.filter((t=>t.geometry))}(this.features)),this.sortFeaturesByKey&&this.features.sort(((t,e)=>t.sortKey-e.sortKey))}update(t,e,n,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,n,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,n,r))}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(t){!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}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}getProjection(){return this.projectionInstance||(this.projectionInstance=lp(this.projection)),this.projectionInstance}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(t,e){const n=this.lineVertexArray.length,r=t.segment;if(void 0!==r){let n=t.dist(e[r+1]),i=t.dist(e[r]);const o={};for(let t=r+1;t<e.length;t++)o[t]={x:e[t].x,y:e[t].y,tileUnitDistanceFromAnchor:n},t<e.length-1&&(n+=e[t+1].dist(e[t]));for(let t=r||0;t>=0;t--)o[t]={x:e[t].x,y:e[t].y,tileUnitDistanceFromAnchor:i},t>0&&(i+=e[t-1].dist(e[t]));for(let t=0;t<e.length;t++){const e=o[t];this.lineVertexArray.emplaceBack(e.x,e.y,e.tileUnitDistanceFromAnchor)}}return{lineStartIndex:n,lineLength:this.lineVertexArray.length-n}}addSymbols(t,e,n,r,i,o,a,s,l,c,u,d,h,f){const p=t.indexArray,m=t.layoutVertexArray,_=t.globeExtVertexArray,v=t.segments.prepareSegment(4*e.length,m,p,this.canOverlap?o.sortKey:void 0),g=this.glyphOffsetArray.length,y=v.vertexLength,b=this.allowVerticalPlacement&&a===ah.vertical?Math.PI/2:0,x=o.text&&o.text.sections;for(let r=0;r<e.length;r++){const{tl:i,tr:a,bl:c,br:u,tex:d,pixelOffsetTL:g,pixelOffsetBR:y,minFontScaleX:w,minFontScaleY:k,glyphOffset:M,isSDF:C,sectionIndex:S}=e[r],T=v.vertexLength,L=M[1];if(dp(m,l.x,l.y,i.x,L+i.y,d.x,d.y,n,C,g.x,g.y,w,k),dp(m,l.x,l.y,a.x,L+a.y,d.x+d.w,d.y,n,C,y.x,g.y,w,k),dp(m,l.x,l.y,c.x,L+c.y,d.x,d.y+d.h,n,C,g.x,y.y,w,k),dp(m,l.x,l.y,u.x,L+u.y,d.x+d.w,d.y+d.h,n,C,y.x,y.y,w,k),s){const e=s.anchor,n=s.up;hp(_,e.x,e.y,e.z,n[0],n[1],n[2]),hp(_,e.x,e.y,e.z,n[0],n[1],n[2]),hp(_,e.x,e.y,e.z,n[0],n[1],n[2]),hp(_,e.x,e.y,e.z,n[0],n[1],n[2]),fp(t.dynamicLayoutVertexArray,e.x,e.y,e.z,b)}else fp(t.dynamicLayoutVertexArray,l.x,l.y,l.z,b);p.emplaceBack(T,T+1,T+2),p.emplaceBack(T+1,T+2,T+3),v.vertexLength+=4,v.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(M[0]),r!==e.length-1&&S===e[r+1].sectionIndex||t.programConfigurations.populatePaintArrays(m.length,o,o.index,{},h,f,x&&x[S])}const w=s?s.anchor:l;t.placedSymbolArray.emplaceBack(w.x,w.y,w.z,l.x,l.y,g,this.glyphOffsetArray.length-g,y,c,u,l.segment,n?n[0]:0,n?n[1]:0,r[0],r[1],a,0,!1,0,d,0)}_commitLayoutVertex(t,e,n,r,i,o,a){t.emplaceBack(e,n,r,i,o,Math.round(a.x),Math.round(a.y))}_addCollisionDebugVertices(t,e,n,r,i,o,a){const s=n.segments.prepareSegment(4,n.layoutVertexArray,n.indexArray),l=s.vertexLength,c=a.tileAnchorX,u=a.tileAnchorY;for(let t=0;t<4;t++)n.collisionVertexArray.emplaceBack(0,0,0,0);n.collisionVertexArrayExt.emplaceBack(e,-t.padding,-t.padding),n.collisionVertexArrayExt.emplaceBack(e,t.padding,-t.padding),n.collisionVertexArrayExt.emplaceBack(e,t.padding,t.padding),n.collisionVertexArrayExt.emplaceBack(e,-t.padding,t.padding),this._commitLayoutVertex(n.layoutVertexArray,r,i,o,c,u,new m(t.x1,t.y1)),this._commitLayoutVertex(n.layoutVertexArray,r,i,o,c,u,new m(t.x2,t.y1)),this._commitLayoutVertex(n.layoutVertexArray,r,i,o,c,u,new m(t.x2,t.y2)),this._commitLayoutVertex(n.layoutVertexArray,r,i,o,c,u,new m(t.x1,t.y2)),s.vertexLength+=4;const d=n.indexArray;d.emplaceBack(l,l+1),d.emplaceBack(l+1,l+2),d.emplaceBack(l+2,l+3),d.emplaceBack(l+3,l),s.primitiveLength+=4}_addTextDebugCollisionBoxes(t,e,n,r,i,o){for(let a=r;a<i;a++){const r=n.get(a),i=this.getSymbolInstanceTextSize(t,o,e,a);this._addCollisionDebugVertices(r,i,this.textCollisionBox,r.projectedAnchorX,r.projectedAnchorY,r.projectedAnchorZ,o)}}_addIconDebugCollisionBoxes(t,e,n,r,i,o){for(let a=r;a<i;a++){const r=n.get(a),i=this.getSymbolInstanceIconSize(t,e,o.placedIconSymbolIndex);this._addCollisionDebugVertices(r,i,this.iconCollisionBox,r.projectedAnchorX,r.projectedAnchorY,r.projectedAnchorZ,o)}}generateCollisionDebugBuffers(t,e){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new _p(ba,bd.members,Aa),this.iconCollisionBox=new _p(ba,bd.members,Aa);const n=Sd(this.iconSizeData,t),r=Sd(this.textSizeData,t);for(let i=0;i<this.symbolInstances.length;i++){const o=this.symbolInstances.get(i);this._addTextDebugCollisionBoxes(r,t,e,o.textBoxStartIndex,o.textBoxEndIndex,o),this._addTextDebugCollisionBoxes(r,t,e,o.verticalTextBoxStartIndex,o.verticalTextBoxEndIndex,o),this._addIconDebugCollisionBoxes(n,t,e,o.iconBoxStartIndex,o.iconBoxEndIndex,o),this._addIconDebugCollisionBoxes(n,t,e,o.verticalIconBoxStartIndex,o.verticalIconBoxEndIndex,o)}}getSymbolInstanceTextSize(t,e,n,r){const i=this.text.placedSymbolArray.get(e.rightJustifiedTextSymbolIndex>=0?e.rightJustifiedTextSymbolIndex:e.centerJustifiedTextSymbolIndex>=0?e.centerJustifiedTextSymbolIndex:e.leftJustifiedTextSymbolIndex>=0?e.leftJustifiedTextSymbolIndex:e.verticalPlacedTextSymbolIndex>=0?e.verticalPlacedTextSymbolIndex:r),o=Cd(this.textSizeData,t,i)/wd;return this.tilePixelRatio*o}getSymbolInstanceIconSize(t,e,n){const r=this.icon.placedSymbolArray.get(n),i=Cd(this.iconSizeData,t,r);return this.tilePixelRatio*i}_commitDebugCollisionVertexUpdate(t,e,n){t.emplaceBack(e,-n,-n),t.emplaceBack(e,n,-n),t.emplaceBack(e,n,n),t.emplaceBack(e,-n,n)}_updateTextDebugCollisionBoxes(t,e,n,r,i,o){for(let a=r;a<i;a++){const r=n.get(a),i=this.getSymbolInstanceTextSize(t,o,e,a);this._commitDebugCollisionVertexUpdate(this.textCollisionBox.collisionVertexArrayExt,i,r.padding)}}_updateIconDebugCollisionBoxes(t,e,n,r,i,o){for(let a=r;a<i;a++){const r=n.get(a),i=this.getSymbolInstanceIconSize(t,e,o);this._commitDebugCollisionVertexUpdate(this.iconCollisionBox.collisionVertexArrayExt,i,r.padding)}}updateCollisionDebugBuffers(t,e){if(!this.hasDebugData())return;this.hasTextCollisionBoxData()&&this.textCollisionBox.collisionVertexArrayExt.clear(),this.hasIconCollisionBoxData()&&this.iconCollisionBox.collisionVertexArrayExt.clear();const n=Sd(this.iconSizeData,t),r=Sd(this.textSizeData,t);for(let i=0;i<this.symbolInstances.length;i++){const o=this.symbolInstances.get(i);this._updateTextDebugCollisionBoxes(r,t,e,o.textBoxStartIndex,o.textBoxEndIndex,o),this._updateTextDebugCollisionBoxes(r,t,e,o.verticalTextBoxStartIndex,o.verticalTextBoxEndIndex,o),this._updateIconDebugCollisionBoxes(n,t,e,o.iconBoxStartIndex,o.iconBoxEndIndex,o.placedIconSymbolIndex),this._updateIconDebugCollisionBoxes(n,t,e,o.verticalIconBoxStartIndex,o.verticalIconBoxEndIndex,o.placedIconSymbolIndex)}this.hasTextCollisionBoxData()&&this.textCollisionBox.collisionVertexBufferExt&&this.textCollisionBox.collisionVertexBufferExt.updateData(this.textCollisionBox.collisionVertexArrayExt),this.hasIconCollisionBoxData()&&this.iconCollisionBox.collisionVertexBufferExt&&this.iconCollisionBox.collisionVertexBufferExt.updateData(this.iconCollisionBox.collisionVertexArrayExt)}_deserializeCollisionBoxesForSymbol(t,e,n,r,i,o,a,s,l){const c={};for(let r=e;r<n;r++){const e=t.get(r);c.textBox={x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,padding:e.padding,projectedAnchorX:e.projectedAnchorX,projectedAnchorY:e.projectedAnchorY,projectedAnchorZ:e.projectedAnchorZ,tileAnchorX:e.tileAnchorX,tileAnchorY:e.tileAnchorY},c.textFeatureIndex=e.featureIndex;break}for(let e=r;e<i;e++){const n=t.get(e);c.verticalTextBox={x1:n.x1,y1:n.y1,x2:n.x2,y2:n.y2,padding:n.padding,projectedAnchorX:n.projectedAnchorX,projectedAnchorY:n.projectedAnchorY,projectedAnchorZ:n.projectedAnchorZ,tileAnchorX:n.tileAnchorX,tileAnchorY:n.tileAnchorY},c.verticalTextFeatureIndex=n.featureIndex;break}for(let e=o;e<a;e++){const n=t.get(e);c.iconBox={x1:n.x1,y1:n.y1,x2:n.x2,y2:n.y2,padding:n.padding,projectedAnchorX:n.projectedAnchorX,projectedAnchorY:n.projectedAnchorY,projectedAnchorZ:n.projectedAnchorZ,tileAnchorX:n.tileAnchorX,tileAnchorY:n.tileAnchorY},c.iconFeatureIndex=n.featureIndex;break}for(let e=s;e<l;e++){const n=t.get(e);c.verticalIconBox={x1:n.x1,y1:n.y1,x2:n.x2,y2:n.y2,padding:n.padding,projectedAnchorX:n.projectedAnchorX,projectedAnchorY:n.projectedAnchorY,projectedAnchorZ:n.projectedAnchorZ,tileAnchorX:n.tileAnchorX,tileAnchorY:n.tileAnchorY},c.verticalIconFeatureIndex=n.featureIndex;break}return c}deserializeCollisionBoxes(t){this.collisionArrays=[];for(let e=0;e<this.symbolInstances.length;e++){const n=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,n.textBoxStartIndex,n.textBoxEndIndex,n.verticalTextBoxStartIndex,n.verticalTextBoxEndIndex,n.iconBoxStartIndex,n.iconBoxEndIndex,n.verticalIconBoxStartIndex,n.verticalIconBoxEndIndex))}}hasTextData(){return this.text.segments.get().length>0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(t,e){const n=t.placedSymbolArray.get(e),r=n.vertexStartIndex+4*n.numGlyphs;for(let e=n.vertexStartIndex;e<r;e+=4)t.indexArray.emplaceBack(e,e+1,e+2),t.indexArray.emplaceBack(e+1,e+2,e+3)}getSortedSymbolIndexes(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;const e=Math.sin(t),n=Math.cos(t),r=[],i=[],o=[];for(let t=0;t<this.symbolInstances.length;++t){o.push(t);const a=this.symbolInstances.get(t);r.push(0|Math.round(e*a.tileAnchorX+n*a.tileAnchorY)),i.push(a.featureIndex)}return o.sort(((t,e)=>r[t]-r[e]||i[e]-i[t])),o}addToSortKeyRanges(t,e){const n=this.sortKeyRanges[this.sortKeyRanges.length-1];n&&n.sortKey===e?n.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1})}sortFeatures(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const t of this.symbolInstanceIndexes){const e=this.symbolInstances.get(t);this.featureSortOrder.push(e.featureIndex),[e.rightJustifiedTextSymbolIndex,e.centerJustifiedTextSymbolIndex,e.leftJustifiedTextSymbolIndex].forEach(((t,e,n)=>{t>=0&&n.indexOf(t)===e&&this.addIndicesForPlacedSymbol(this.text,t)})),e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,e.verticalPlacedTextSymbolIndex),e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.placedIconSymbolIndex),e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}Ni(vp,"SymbolBucket",{omit:["layers","collisionBoxArray","features","compareText"]}),vp.MAX_GLYPHS=65535,vp.addDynamicAttributes=fp;const gp=new ea({"symbol-placement":new Xo(Xt.layout_symbol["symbol-placement"]),"symbol-spacing":new Xo(Xt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Xo(Xt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Jo(Xt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Xo(Xt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Xo(Xt.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Xo(Xt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Xo(Xt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Xo(Xt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Jo(Xt.layout_symbol["icon-size"]),"icon-text-fit":new Xo(Xt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Xo(Xt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Jo(Xt.layout_symbol["icon-image"]),"icon-rotate":new Jo(Xt.layout_symbol["icon-rotate"]),"icon-padding":new Xo(Xt.layout_symbol["icon-padding"]),"icon-keep-upright":new Xo(Xt.layout_symbol["icon-keep-upright"]),"icon-offset":new Jo(Xt.layout_symbol["icon-offset"]),"icon-anchor":new Jo(Xt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Xo(Xt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Xo(Xt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Xo(Xt.layout_symbol["text-rotation-alignment"]),"text-field":new Jo(Xt.layout_symbol["text-field"]),"text-font":new Jo(Xt.layout_symbol["text-font"]),"text-size":new Jo(Xt.layout_symbol["text-size"]),"text-max-width":new Jo(Xt.layout_symbol["text-max-width"]),"text-line-height":new Jo(Xt.layout_symbol["text-line-height"]),"text-letter-spacing":new Jo(Xt.layout_symbol["text-letter-spacing"]),"text-justify":new Jo(Xt.layout_symbol["text-justify"]),"text-radial-offset":new Jo(Xt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Xo(Xt.layout_symbol["text-variable-anchor"]),"text-anchor":new Jo(Xt.layout_symbol["text-anchor"]),"text-max-angle":new Xo(Xt.layout_symbol["text-max-angle"]),"text-writing-mode":new Xo(Xt.layout_symbol["text-writing-mode"]),"text-rotate":new Jo(Xt.layout_symbol["text-rotate"]),"text-padding":new Xo(Xt.layout_symbol["text-padding"]),"text-keep-upright":new Xo(Xt.layout_symbol["text-keep-upright"]),"text-transform":new Jo(Xt.layout_symbol["text-transform"]),"text-offset":new Jo(Xt.layout_symbol["text-offset"]),"text-allow-overlap":new Xo(Xt.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Xo(Xt.layout_symbol["text-ignore-placement"]),"text-optional":new Xo(Xt.layout_symbol["text-optional"])});var yp={paint:new ea({"icon-opacity":new Jo(Xt.paint_symbol["icon-opacity"]),"icon-color":new Jo(Xt.paint_symbol["icon-color"]),"icon-halo-color":new Jo(Xt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Jo(Xt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Jo(Xt.paint_symbol["icon-halo-blur"]),"icon-translate":new Xo(Xt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Xo(Xt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Jo(Xt.paint_symbol["text-opacity"]),"text-color":new Jo(Xt.paint_symbol["text-color"],{runtimeType:le,getOverride:t=>t.textColor,hasOverride:t=>!!t.textColor}),"text-halo-color":new Jo(Xt.paint_symbol["text-halo-color"]),"text-halo-width":new Jo(Xt.paint_symbol["text-halo-width"]),"text-halo-blur":new Jo(Xt.paint_symbol["text-halo-blur"]),"text-translate":new Xo(Xt.paint_symbol["text-translate"]),"text-translate-anchor":new Xo(Xt.paint_symbol["text-translate-anchor"])}),layout:gp};class bp{constructor(t){this.type=t.property.overrides?t.property.overrides.runtimeType:ie,this.defaultValue=t}evaluate(t){if(t.formattedSection){const e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default}eachChild(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}Ni(bp,"FormatSectionOverride",{omit:["defaultValue"]});class xp extends Ts{constructor(t){super(t,yp)}recalculate(t,e){super.recalculate(t,e),"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"));const n=this.layout.get("text-writing-mode");if(n){const t=[];for(const e of n)t.indexOf(e)<0&&t.push(e);this.layout._values["text-writing-mode"]=t}else this.layout._values["text-writing-mode"]="point"===this.layout.get("symbol-placement")?["horizontal"]:["horizontal","vertical"];this._setPaintOverrides()}getValueAndResolveTokens(t,e,n,r){const i=this.layout.get(t).evaluate(e,{},n,r),o=this._unevaluatedLayout._values[t];return o.isDataDriven()||Hr(o.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,((e,n)=>n in t?String(t[n]):""))}(e.properties,i)}createBucket(t){return new vp(t)}queryRadius(){return 0}queryIntersectsFeature(){return!1}_setPaintOverrides(){for(const t of yp.paint.overridableProperties){if(!xp.hasPaintOverride(this.layout,t))continue;const e=this.paint.get(t),n=new bp(e),r=new Zr(n,e.property.specification);let i=null;i="constant"===e.value.kind||"source"===e.value.kind?new Ur("source",r):new Wr("composite",r,e.value.zoomStops,e.value._interpolationType),this.paint._values[t]=new Go(e.property,i,e.parameters)}}_handleOverridablePaintPropertyUpdate(t,e,n){return!(!this.layout||e.isDataDriven()||n.isDataDriven())&&xp.hasPaintOverride(this.layout,t)}static hasPaintOverride(t,e){const n=t.get("text-field"),r=yp.paint.properties[e];let i=!1;const o=t=>{for(const e of t)if(r.overrides&&r.overrides.hasOverride(e))return void(i=!0)};if("constant"===n.value.kind&&n.value.value instanceof Ae)o(n.value.value.sections);else if("source"===n.value.kind){const t=e=>{i||(e instanceof Ye&&Pe(e.value)===he?o(e.value.sections):e instanceof $e?o(e.sections):e.eachChild(t))},e=n.value;e._styleExpression&&t(e._styleExpression.expression)}return i}getProgramConfiguration(t){return new ys(this,t)}}var wp={paint:new ea({"background-color":new Xo(Xt.paint_background["background-color"]),"background-pattern":new Qo(Xt.paint_background["background-pattern"]),"background-opacity":new Xo(Xt.paint_background["background-opacity"])})},kp={paint:new ea({"raster-opacity":new Xo(Xt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Xo(Xt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Xo(Xt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Xo(Xt.paint_raster["raster-brightness-max"]),"raster-saturation":new Xo(Xt.paint_raster["raster-saturation"]),"raster-contrast":new Xo(Xt.paint_raster["raster-contrast"]),"raster-resampling":new Xo(Xt.paint_raster["raster-resampling"]),"raster-fade-duration":new Xo(Xt.paint_raster["raster-fade-duration"])})};class Mp extends Ts{constructor(t){super(t,{}),this.implementation=t}is3D(){return"3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){}onAdd(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)}onRemove(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)}}var Cp={paint:new ea({"sky-type":new Xo(Xt.paint_sky["sky-type"]),"sky-atmosphere-sun":new Xo(Xt.paint_sky["sky-atmosphere-sun"]),"sky-atmosphere-sun-intensity":new Xo(Xt.paint_sky["sky-atmosphere-sun-intensity"]),"sky-gradient-center":new Xo(Xt.paint_sky["sky-gradient-center"]),"sky-gradient-radius":new Xo(Xt.paint_sky["sky-gradient-radius"]),"sky-gradient":new ta(Xt.paint_sky["sky-gradient"]),"sky-atmosphere-halo-color":new Xo(Xt.paint_sky["sky-atmosphere-halo-color"]),"sky-atmosphere-color":new Xo(Xt.paint_sky["sky-atmosphere-color"]),"sky-opacity":new Xo(Xt.paint_sky["sky-opacity"])})};function Sp(t,e,n){const r=[0,0,1],i=ac([]);return lc(i,i,n?-y(t)+Math.PI:y(t)),sc(i,i,-y(e)),Jl(r,r,i),Wl(r,r)}const Tp={circle:class extends Ts{constructor(t){super(t,xl)}createBucket(t){return new rl(t)}queryRadius(t){const e=t;return _l("circle-radius",this,e)+_l("circle-stroke-width",this,e)+vl(this.paint.get("circle-translate"))}queryIntersectsFeature(t,e,n,r,i,o,a,s){const l=yl(this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,t.pixelToTileUnitsFactor),c=this.paint.get("circle-radius").evaluate(e,n)+this.paint.get("circle-stroke-width").evaluate(e,n);return pc(t,r,o,a,s,"map"===this.paint.get("circle-pitch-alignment"),"map"===this.paint.get("circle-pitch-scale"),l,c)}getProgramIds(){return["circle"]}getProgramConfiguration(t){return new ys(this,t)}},heatmap:class extends Ts{createBucket(t){return new yc(t)}constructor(t){super(t,Cc),this._updateColorRamp()}_handleSpecialPaintPropertyUpdate(t){"heatmap-color"===t&&this._updateColorRamp()}_updateColorRamp(){this.colorRamp=Sc({expression:this._transitionablePaint._values["heatmap-color"].value.expression,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null}resize(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)}queryRadius(t){return _l("heatmap-radius",this,t)}queryIntersectsFeature(t,e,n,r,i,o,a,s){const l=this.paint.get("heatmap-radius").evaluate(e,n);return pc(t,r,o,a,s,!0,!0,new m(0,0),l)}hasOffscreenPass(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility}getProgramIds(){return["heatmap","heatmapTexture"]}getProgramConfiguration(t){return new ys(this,t)}},hillshade:class extends Ts{constructor(t){super(t,Tc)}hasOffscreenPass(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility}getProgramIds(){return["hillshade","hillshadePrepare"]}},fill:class extends Ts{constructor(t){super(t,fu)}getProgramIds(){const t=this.paint.get("fill-pattern"),e=t&&t.constantOr(1),n=[e?"fillPattern":"fill"];return this.paint.get("fill-antialias")&&n.push(e&&!this.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline"),n}getProgramConfiguration(t){return new ys(this,t)}recalculate(t,e){super.recalculate(t,e);const n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])}createBucket(t){return new du(t)}queryRadius(){return vl(this.paint.get("fill-translate"))}queryIntersectsFeature(t,e,n,r,i,o){return!t.queryGeometry.isAboveHorizon&&al(gl(t.tilespaceGeometry,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,t.pixelToTileUnitsFactor),r)}isTileClipped(){return!0}},"fill-extrusion":class extends Ts{constructor(t){super(t,Gu)}createBucket(t){return new Ru(t)}queryRadius(){return vl(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}getProgramIds(){return[this.paint.get("fill-extrusion-pattern").constantOr(1)?"fillExtrusionPattern":"fillExtrusion"]}getProgramConfiguration(t){return new ys(this,t)}queryIntersectsFeature(t,e,n,r,i,o,a,s,l){const c=yl(this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,t.pixelToTileUnitsFactor),u=this.paint.get("fill-extrusion-height").evaluate(e,n),d=this.paint.get("fill-extrusion-base").evaluate(e,n),h=[0,0],f=s&&o.elevation,p=o.elevation?o.elevation.exaggeration():1,_=t.tile.getBucket(this);if(f&&_ instanceof Ru){const t=_.centroidVertexArray,e=l+1;if(e<t.length){const n=t.get(e);h[0]=n.a_centroid_pos0,h[1]=n.a_centroid_pos1}}if(0===h[0]&&1===h[1])return!1;"globe"===o.projection.name&&(r=Uu([r],[new m(0,0),new m(Ds,Ds)],t.tileID.canonical).map((t=>t.polygon)).flat());const v=f?s:null,[g,y]=function(t,e,n,r,i,o,a,s,l,c,u){return"globe"===t.projection.name?function(t,e,n,r,i,o,a,s,l,c,u){const d=[],h=[],f=t.projection.upVectorScale(u,t.center.lat,t.worldSize).metersToTile,p=[0,0,0,1],m=[0,0,0,1],_=(t,e,n,r)=>{t[0]=e,t[1]=n,t[2]=r,t[3]=1},v=Vu();n>0&&(n+=v),r+=v;for(const v of e){const e=[],g=[];for(const d of v){const h=d.x+i.x,v=d.y+i.y,y=t.projection.projectTilePoint(h,v,u),b=t.projection.upVector(u,d.x,d.y);let x=n,w=r;if(a){const t=rd(h,v,n,r,a,s,l,c);x+=t.base,w+=t.top}0!==n?_(p,y.x+b[0]*f*x,y.y+b[1]*f*x,y.z+b[2]*f*x):_(p,y.x,y.y,y.z),_(m,y.x+b[0]*f*w,y.y+b[1]*f*w,y.z+b[2]*f*w),Xl(p,p,o),Xl(m,m,o),e.push(new td(p[0],p[1],p[2])),g.push(new td(m[0],m[1],m[2]))}d.push(e),h.push(g)}return[d,h]}(t,e,n,r,i,o,a,s,l,c,u):a?function(t,e,n,r,i,o,a,s,l){const c=[],u=[],d=[0,0,0,1];for(const h of t){const t=[],f=[];for(const c of h){const u=c.x+r.x,h=c.y+r.y,p=rd(u,h,e,n,o,a,s,l);d[0]=u,d[1]=h,d[2]=p.base,d[3]=1,ic(d,d,i),d[3]=Math.max(d[3],1e-5);const m=new td(d[0]/d[3],d[1]/d[3],d[2]/d[3]);d[0]=u,d[1]=h,d[2]=p.top,d[3]=1,ic(d,d,i),d[3]=Math.max(d[3],1e-5);const _=new td(d[0]/d[3],d[1]/d[3],d[2]/d[3]);t.push(m),f.push(_)}c.push(t),u.push(f)}return[c,u]}(e,n,r,i,o,a,s,l,c):function(t,e,n,r,i){const o=[],a=[],s=i[8]*e,l=i[9]*e,c=i[10]*e,u=i[11]*e,d=i[8]*n,h=i[9]*n,f=i[10]*n,p=i[11]*n;for(const e of t){const t=[],n=[];for(const o of e){const e=o.x+r.x,a=o.y+r.y,m=i[0]*e+i[4]*a+i[12],_=i[1]*e+i[5]*a+i[13],v=i[2]*e+i[6]*a+i[14],g=i[3]*e+i[7]*a+i[15],y=m+s,b=_+l,x=v+c,w=Math.max(g+u,1e-5),k=m+d,M=_+h,C=v+f,S=Math.max(g+p,1e-5);t.push(new td(y/w,b/w,x/w)),n.push(new td(k/S,M/S,C/S))}o.push(t),a.push(n)}return[o,a]}(e,n,r,i,o)}(o,r,d,u,c,a,v,h,p,o.center.lat,t.tileID.canonical),b=t.queryGeometry;return function(t,e,n){let r=1/0;al(n,e)&&(r=nd(n,e[0]));for(let i=0;i<e.length;i++){const o=e[i],a=t[i];for(let t=0;t<o.length-1;t++){const e=o[t],i=[e,o[t+1],a[t+1],a[t],e];il(n,i)&&(r=Math.min(r,nd(n,i)))}}return r!==1/0&&r}(g,y,b.isPointQuery()?b.screenBounds:b.screenGeometry)}},line:class extends Ts{constructor(t){super(t,hd),this.gradientVersion=0}_handleSpecialPaintPropertyUpdate(t){if("line-gradient"===t){const t=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=t._styleExpression&&t._styleExpression.expression instanceof Tn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(t,e){super.recalculate(t,e),this.paint._values["line-floorwidth"]=fd.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t)}createBucket(t){return new ud(t)}getProgramIds(){return[this.paint.get("line-pattern").constantOr(1)?"linePattern":"line"]}getProgramConfiguration(t){return new ys(this,t)}queryRadius(t){const e=t,n=pd(_l("line-width",this,e),_l("line-gap-width",this,e)),r=_l("line-offset",this,e);return n/2+Math.abs(r)+vl(this.paint.get("line-translate"))}queryIntersectsFeature(t,e,n,r,i,o){if(t.queryGeometry.isAboveHorizon)return!1;const a=gl(t.tilespaceGeometry,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),o.angle,t.pixelToTileUnitsFactor),s=t.pixelToTileUnitsFactor/2*pd(this.paint.get("line-width").evaluate(e,n),this.paint.get("line-gap-width").evaluate(e,n)),l=this.paint.get("line-offset").evaluate(e,n);return l&&(r=function(t,e){const n=[],r=new m(0,0);for(let i=0;i<t.length;i++){const o=t[i],a=[];for(let t=0;t<o.length;t++){const n=o[t-1],i=o[t],s=o[t+1],l=0===t?r:i.sub(n)._unit()._perp(),c=t===o.length-1?r:s.sub(i)._unit()._perp(),u=l._add(c)._unit();u._mult(1/(u.x*c.x+u.y*c.y)),a.push(u._mult(e)._add(i))}n.push(a)}return n}(r,l*t.pixelToTileUnitsFactor)),function(t,e,n){for(let r=0;r<e.length;r++){const i=e[r];if(t.length>=3)for(let e=0;e<i.length;e++)if(fl(t,i[e]))return!0;if(sl(t,i,n))return!0}return!1}(a,r,s)}isTileClipped(){return!0}},symbol:xp,background:class extends Ts{constructor(t){super(t,wp)}getProgramIds(){return[this.paint.get("background-pattern")?"backgroundPattern":"background"]}},raster:class extends Ts{constructor(t){super(t,kp)}getProgramIds(){return["raster"]}},sky:class extends Ts{constructor(t){super(t,Cp),this._updateColorRamp()}_handleSpecialPaintPropertyUpdate(t){"sky-gradient"===t?this._updateColorRamp():"sky-atmosphere-sun"!==t&&"sky-atmosphere-halo-color"!==t&&"sky-atmosphere-color"!==t&&"sky-atmosphere-sun-intensity"!==t||(this._skyboxInvalidated=!0)}_updateColorRamp(){this.colorRamp=Sc({expression:this._transitionablePaint._values["sky-gradient"].value.expression,evaluationKey:"skyRadialProgress"}),this.colorRampTexture&&(this.colorRampTexture.destroy(),this.colorRampTexture=null)}needsSkyboxCapture(t){if(this._skyboxInvalidated||!this.skyboxTexture||!this.skyboxGeometry)return!0;if(!this.paint.get("sky-atmosphere-sun")){const e=t.style.light.properties.get("position");return this._lightPosition.azimuthal!==e.azimuthal||this._lightPosition.polar!==e.polar}return!1}getCenter(t,e){if("atmosphere"===this.paint.get("sky-type")){const n=this.paint.get("sky-atmosphere-sun"),r=!n,i=t.style.light,o=i.properties.get("position");return r&&"viewport"===i.properties.get("anchor")&&$("The sun direction is attached to a light with viewport anchor, lighting may behave unexpectedly."),r?Sp(o.azimuthal,90-o.polar,e):Sp(n[0],90-n[1],e)}const n=this.paint.get("sky-gradient-center");return Sp(n[0],90-n[1],e)}is3D(){return!1}isSky(){return!0}markSkyboxValid(t){this._skyboxInvalidated=!1,this._lightPosition=t.style.light.properties.get("position")}hasOffscreenPass(){return!0}getProgramIds(){const t=this.paint.get("sky-type");return"atmosphere"===t?["skyboxCapture","skybox"]:"gradient"===t?["skyboxGradient"]:null}}};class Lp{constructor(t,e,n,r){this.context=t,this.format=n,this.texture=t.gl.createTexture(),this.update(e,r)}update(t,n,r){const{width:i,height:o}=t,{context:a}=this,{gl:s}=a,{HTMLImageElement:l,HTMLCanvasElement:c,HTMLVideoElement:u,ImageData:d,ImageBitmap:h}=e;if(s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!n||!1!==n.premultiply)),r||this.size&&this.size[0]===i&&this.size[1]===o){const{x:e,y:n}=r||{x:0,y:0};t instanceof l||t instanceof c||t instanceof u||t instanceof d||h&&t instanceof h?s.texSubImage2D(s.TEXTURE_2D,0,e,n,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,e,n,i,o,s.RGBA,s.UNSIGNED_BYTE,t.data)}else this.size=[i,o],t instanceof l||t instanceof c||t instanceof u||t instanceof d||h&&t instanceof h?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,i,o,0,this.format,s.UNSIGNED_BYTE,t.data);this.useMipmap=Boolean(n&&n.useMipmap&&this.isSizePowerOfTwo()),this.useMipmap&&s.generateMipmap(s.TEXTURE_2D)}bind(t,e){const{context:n}=this,{gl:r}=n;r.bindTexture(r.TEXTURE_2D,this.texture),t!==this.filter&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,t),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,this.useMipmap?t===r.NEAREST?r.NEAREST_MIPMAP_NEAREST:r.LINEAR_MIPMAP_NEAREST:t),this.filter=t),e!==this.wrap&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,e),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,e),this.wrap=e)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){const{gl:t}=this.context;t.deleteTexture(this.texture),this.texture=null}}class Ep{constructor(t){this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._callback()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((()=>{this._triggered=!1,this._callback()}),0))}remove(){this._channel=void 0,this._callback=()=>{}}}class Ap{constructor(){this.tasks={},this.taskQueue=[],I(["process"],this),this.invoker=new Ep(this.process),this.nextId=0}add(t,e){const n=this.nextId++,r=function({type:t,isSymbolTile:e,zoom:n}){return n=n||0,"message"===t?0:"maybePrepare"!==t||e?"parseTile"!==t||e?"parseTile"===t&&e?300-n:"maybePrepare"===t&&e?400-n:500:200-n:100-n}(e);if(0===r){V();try{t()}finally{}return{cancel:()=>{}}}return this.tasks[n]={fn:t,metadata:e,priority:r,id:n},this.taskQueue.push(n),this.invoker.trigger(),{cancel:()=>{delete this.tasks[n]}}}process(){V();try{if(this.taskQueue=this.taskQueue.filter((t=>!!this.tasks[t])),!this.taskQueue.length)return;const t=this.pick();if(null===t)return;const e=this.tasks[t];if(delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),!e)return;e.fn()}finally{}}pick(){let t=null,e=1/0;for(let n=0;n<this.taskQueue.length;n++){const r=this.tasks[this.taskQueue[n]];r.priority<e&&(e=r.priority,t=n)}if(null===t)return null;const n=this.taskQueue[t];return this.taskQueue.splice(t,1),n}remove(){this.invoker.remove()}}class Dp{constructor(t){this._stringToNumber={},this._numberToString=[];for(let e=0;e<t.length;e++){const n=t[e];this._stringToNumber[n]=e,this._numberToString[e]=n}}encode(t){return this._stringToNumber[t]}decode(t){return this._numberToString[t]}}const Op=["tile","layer","source","sourceLayer","state"];class zp{constructor(t,e,n,r,i){this.type="Feature",this._vectorTileFeature=t,this._z=e,this._x=n,this._y=r,this.properties=t.properties,this.id=i}get geometry(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._x,this._y,this._z).geometry),this._geometry}set geometry(t){this._geometry=t}toJSON(){const t={type:"Feature",geometry:this.geometry,properties:this.properties};void 0!==this.id&&(t.id=this.id);for(const e of Op)void 0!==this[e]&&(t[e]=this[e]);return t}}const Pp=32,jp=33,Ip=new Uint16Array(8184);for(let t=0;t<2046;t++){let e=t+2,n=0,r=0,i=0,o=0,a=0,s=0;for(1&e?i=o=a=Pp:n=r=s=Pp;(e>>=1)>1;){const t=n+i>>1,l=r+o>>1;1&e?(i=n,o=r,n=a,r=s):(n=i,r=o,i=a,o=s),a=t,s=l}const l=4*t;Ip[l+0]=n,Ip[l+1]=r,Ip[l+2]=i,Ip[l+3]=o}const Yp=new Uint16Array(2178),Rp=new Uint8Array(1089),Fp=new Uint16Array(1089);function Bp(t){return 0===t?-.03125:32===t?.03125:0}var Np=aa([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);const $p={type:2,extent:Ds,loadGeometry:()=>[[new m(0,0),new m(8193,0),new m(8193,8193),new m(0,8193),new m(0,0)]]};class Zp{constructor(t,e,n,r,i){this.tileID=t,this.uid=O(),this.uses=0,this.tileSize=e,this.tileZoom=n,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.isRaster=i,this.expiredRequestCount=0,this.state="loading",r&&r.transform&&(this.projection=r.transform.projection)}registerFadeDuration(t){const e=t+this.timeAdded;e<Ht.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)}wasRequested(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state}get tileTransform(){return this._tileTransform||(this._tileTransform=Nf(this.tileID.canonical,this.projection)),this._tileTransform}loadVectorData(t,e,n){if(this.unloadVectorData(),this.state="loaded",t){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){const n={};if(!e)return n;for(const r of t){const t=r.layerIds.map((t=>e.getLayer(t))).filter(Boolean);if(0!==t.length){r.layers=t,r.stateDependentLayerIds&&(r.stateDependentLayers=r.stateDependentLayerIds.map((e=>t.filter((t=>t.id===e))[0])));for(const e of t)n[e.id]=r}}return n}(t.buckets,e.style),this.hasSymbolBuckets=!1;for(const t in this.buckets){const e=this.buckets[t];if(e instanceof vp){if(this.hasSymbolBuckets=!0,!n)break;e.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const t in this.buckets){const e=this.buckets[t];if(e instanceof vp&&e.hasRTLText){this.hasRTLText=!0,Bo.isLoading()||Bo.isLoaded()||"deferred"!==Ro()||Fo();break}}this.queryPadding=0;for(const t in this.buckets){const n=this.buckets[t];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(t).queryRadius(n))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage),t.lineAtlas&&(this.lineAtlas=t.lineAtlas)}else this.collisionBoxArray=new Ia}unloadVectorData(){if(this.hasData()){for(const t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlas&&(this.imageAtlas=null),this.lineAtlas&&(this.lineAtlas=null),this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.lineAtlasTexture&&this.lineAtlasTexture.destroy(),this._tileBoundsBuffer&&(this._tileBoundsBuffer.destroy(),this._tileBoundsIndexBuffer.destroy(),this._tileBoundsSegments.destroy(),this._tileBoundsBuffer=null),this._tileDebugBuffer&&(this._tileDebugBuffer.destroy(),this._tileDebugSegments.destroy(),this._tileDebugBuffer=null),this._tileDebugIndexBuffer&&(this._tileDebugIndexBuffer.destroy(),this._tileDebugIndexBuffer=null),this._globeTileDebugBorderBuffer&&(this._globeTileDebugBorderBuffer.destroy(),this._globeTileDebugBorderBuffer=null),this._tileDebugTextBuffer&&(this._tileDebugTextBuffer.destroy(),this._tileDebugTextSegments.destroy(),this._tileDebugTextIndexBuffer.destroy(),this._tileDebugTextBuffer=null),this._globeTileDebugTextBuffer&&(this._globeTileDebugTextBuffer.destroy(),this._globeTileDebugTextBuffer=null),this.latestFeatureIndex=null,this.state="unloaded"}}getBucket(t){return this.buckets[t.id]}upload(t){for(const e in this.buckets){const n=this.buckets[e];n.uploadPending()&&n.upload(t)}const e=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Lp(t,this.imageAtlas.image,e.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Lp(t,this.glyphAtlasImage,e.ALPHA),this.glyphAtlasImage=null),this.lineAtlas&&!this.lineAtlas.uploaded&&(this.lineAtlasTexture=new Lp(t,this.lineAtlas.image,e.ALPHA),this.lineAtlas.uploaded=!0)}prepare(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)}queryRenderedFeatures(t,e,n,r,i,o,a,s){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({tileResult:r,pixelPosMatrix:a,transform:o,params:i,tileTransform:this.tileTransform},t,e,n):{}}querySourceFeatures(t,e){const n=this.latestFeatureIndex;if(!n||!n.rawTileData)return;const r=n.loadVTLayers(),i=e?e.sourceLayer:"",o=r._geojsonTileLayer||r[i];if(!o)return;const a=ai(e&&e.filter),{z:s,x:l,y:c}=this.tileID.canonical,u={z:s,x:l,y:c};for(let e=0;e<o.length;e++){const r=o.feature(e);if(a.needGeometry){const t=tl(r,!0);if(!a.filter(new No(this.tileID.overscaledZ),t,this.tileID.canonical))continue}else if(!a.filter(new No(this.tileID.overscaledZ),r))continue;const d=n.getId(r,i),h=new zp(r,s,l,c,d);h.tile=u,t.push(h)}}hasData(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state}patternsLoaded(){return!!this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length}setExpiryData(t){const e=this.expirationTime;if(t.cacheControl){const e=U(t.cacheControl);e["max-age"]&&(this.expirationTime=Date.now()+1e3*e["max-age"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){const t=Date.now();let n=!1;if(this.expirationTime>t)n=!1;else if(e)if(this.expirationTime<e)n=!0;else{const r=this.expirationTime-e;r?this.expirationTime=t+Math.max(r,3e4):n=!0}else n=!0;n?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}}getExpiryTimeout(){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)}setFeatureState(t,e){if(!this.latestFeatureIndex||!this.latestFeatureIndex.rawTileData||0===Object.keys(t).length||!e)return;const n=this.latestFeatureIndex.loadVTLayers(),r=e.style.listImages();for(const i in this.buckets){if(!e.style.hasLayer(i))continue;const o=this.buckets[i],a=o.layers[0].sourceLayer||"_geojsonTileLayer",s=n[a],l=t[a];if(!s||!l||0===Object.keys(l).length)continue;if(o.update(l,s,r,this.imageAtlas&&this.imageAtlas.patternPositions||{}),o instanceof ud||o instanceof du){const t=e.style._getSourceCache(o.layers[0].source);e._terrain&&e._terrain.enabled&&t&&o.programConfigurations.needsUpload&&e._terrain._clearRenderCacheForTile(t.id,this.tileID)}const c=e&&e.style&&e.style.getLayer(i);c&&(this.queryPadding=Math.max(this.queryPadding,c.queryRadius(o)))}}holdingForFade(){return void 0!==this.symbolFadeHoldUntil}symbolFadeFinished(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<Ht.now()}clearFadeHold(){this.symbolFadeHoldUntil=void 0}setHoldDuration(t){this.symbolFadeHoldUntil=Ht.now()+t}setTexture(t,e){const n=e.context,r=n.gl;this.texture=this.texture||e.getTileTexture(t.width),this.texture?this.texture.update(t,{useMipmap:!0}):(this.texture=new Lp(n,t,r.RGBA,{useMipmap:!0}),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),n.extTextureFilterAnisotropic&&r.texParameterf(r.TEXTURE_2D,n.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,n.extTextureFilterAnisotropicMax))}setDependencies(t,e){const n={};for(const t of e)n[t]=!0;this.dependencies[t]=n}hasDependency(t,e){for(const n of t){const t=this.dependencies[n];if(t)for(const n of e)if(t[n])return!0}return!1}clearQueryDebugViz(){}_makeDebugTileBoundsBuffers(t,e){if(!e||"mercator"===e.name||this._tileDebugBuffer)return;const n=Qs($p,this.tileID.canonical,this.tileTransform)[0],r=new la,i=new Da;for(let t=0;t<n.length;t++){const{x:e,y:o}=n[t];r.emplaceBack(e,o),i.emplaceBack(t)}i.emplaceBack(0),this._tileDebugIndexBuffer=t.createIndexBuffer(i),this._tileDebugBuffer=t.createVertexBuffer(r,cf.members),this._tileDebugSegments=As.simpleSegment(0,0,r.length,i.length)}_makeTileBoundsBuffers(t,e){if(this._tileBoundsBuffer||!e||"mercator"===e.name)return;const n=Qs($p,this.tileID.canonical,this.tileTransform)[0];let r,i;if(this.isRaster){const t=function(t,e){const n=Nf(t,e),r=Math.pow(2,t.z);for(let i=0;i<jp;i++)for(let o=0;o<jp;o++){const a=Bs((t.x+(o+Bp(o))/Pp)/r),s=Ns((t.y+(i+Bp(i))/Pp)/r),l=e.project(a,s),c=i*jp+o;Yp[2*c+0]=Math.round((l.x*n.scale-n.x)*Ds),Yp[2*c+1]=Math.round((l.y*n.scale-n.y)*Ds)}Rp.fill(0),Fp.fill(0);for(let t=2045;t>=0;t--){const e=4*t,n=Ip[e+0],r=Ip[e+1],i=Ip[e+2],o=Ip[e+3],a=n+i>>1,s=r+o>>1,l=a+s-r,c=s+n-a,u=r*jp+n,d=o*jp+i,h=s*jp+a,f=Math.hypot((Yp[2*u+0]+Yp[2*d+0])/2-Yp[2*h+0],(Yp[2*u+1]+Yp[2*d+1])/2-Yp[2*h+1])>=16;if(Rp[h]=Rp[h]||(f?1:0),t<1022){const t=(r+c>>1)*jp+(n+l>>1),e=(o+c>>1)*jp+(i+l>>1);Rp[h]=Rp[h]||Rp[t]||Rp[e]}}const i=new ua,o=new Ma;let a=0;function s(t,e){const n=e*jp+t;return 0===Fp[n]&&(i.emplaceBack(Yp[2*n+0],Yp[2*n+1],t*Ds/Pp,e*Ds/Pp),Fp[n]=++a),Fp[n]-1}function l(t,e,n,r,i,a){const c=t+n>>1,u=e+r>>1;if(Math.abs(t-i)+Math.abs(e-a)>1&&Rp[u*jp+c])l(i,a,t,e,c,u),l(n,r,i,a,c,u);else{const l=s(t,e),c=s(n,r),u=s(i,a);o.emplaceBack(l,c,u)}}return l(0,0,Pp,Pp,Pp,0),l(Pp,Pp,0,0,0,Pp),{vertices:i,indices:o}}(this.tileID.canonical,e);r=t.vertices,i=t.indices}else{r=new ua,i=new Ma;for(const{x:t,y:e}of n)r.emplaceBack(t,e,0,0);const t=Ac.exports(r.int16,void 0,4);for(let e=0;e<t.length;e+=3)i.emplaceBack(t[e],t[e+1],t[e+2])}this._tileBoundsBuffer=t.createVertexBuffer(r,Np.members),this._tileBoundsIndexBuffer=t.createIndexBuffer(i),this._tileBoundsSegments=As.simpleSegment(0,0,r.length,i.length)}_makeGlobeTileDebugBuffers(t,e){const n=e.projection;if(!n||"globe"!==n.name||e.freezeTileCoverage)return;const r=this.tileID.canonical,i=Of(wf(r,e)),o=jf(e.zoom);let a;o>0&&(a=Tl(new Float64Array(16),e.globeMatrix)),this._makeGlobeTileDebugBorderBuffer(t,r,e,i,a,o),this._makeGlobeTileDebugTextBuffer(t,r,e,i,a,o)}_globePoint(t,e,n,r,i,o,a){let s=Ef(t,e,n);if(o){const i=1<<n.z,l=Ys(r.center.lng),c=Rs(r.center.lat),u=(n.x+.5)/i-l;let d=0;u>.5?d=-1:u<-.5&&(d=1);let h=(t/Ds+n.x)/i+d,f=(e/Ds+n.y)/i;h=(h-l)*r._pixelsPerMercatorPixel+l,f=(f-c)*r._pixelsPerMercatorPixel+c;const p=[h*r.worldSize,f*r.worldSize,0];Xl(p,p,o),s=xf(s,p,a)}return Xl(s,s,i)}_makeGlobeTileDebugBorderBuffer(t,e,n,r,i,o){const a=new la,s=new Da,l=new ca,c=(t,c,u,d,h)=>{const f=(u-t)/(h-1),p=(d-c)/(h-1),m=a.length;for(let u=0;u<h;u++){const d=t+u*f,h=c+u*p;a.emplaceBack(d,h);const _=this._globePoint(d,h,e,n,r,i,o);l.emplaceBack(_[0],_[1],_[2]),s.emplaceBack(m+u)}},u=Ds;c(0,0,u,0,16),c(u,0,u,u,16),c(u,u,0,u,16),c(0,u,0,0,16),this._tileDebugIndexBuffer=t.createIndexBuffer(s),this._tileDebugBuffer=t.createVertexBuffer(a,cf.members),this._globeTileDebugBorderBuffer=t.createVertexBuffer(l,lf.members),this._tileDebugSegments=As.simpleSegment(0,0,a.length,s.length)}_makeGlobeTileDebugTextBuffer(t,e,n,r,i,o){const a=new la,s=new Ma,l=new ca,c=25;s.reserve(32),a.reserve(c),l.reserve(c);const u=(t,e)=>c*t+e;for(let t=0;t<c;t++){const s=2048*t;for(let t=0;t<c;t++){const c=2048*t;a.emplaceBack(c,s);const u=this._globePoint(c,s,e,n,r,i,o);l.emplaceBack(u[0],u[1],u[2])}}for(let t=0;t<4;t++)for(let e=0;e<4;e++){const n=u(t,e),r=u(t,e+1),i=u(t+1,e),o=u(t+1,e+1);s.emplaceBack(n,r,i),s.emplaceBack(i,r,o)}this._tileDebugTextIndexBuffer=t.createIndexBuffer(s),this._tileDebugTextBuffer=t.createVertexBuffer(a,cf.members),this._globeTileDebugTextBuffer=t.createVertexBuffer(l,lf.members),this._tileDebugTextSegments=As.simpleSegment(0,0,c,32)}}class Hp{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(t,e,n){const r=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][r]=this.stateChanges[t][r]||{},A(this.stateChanges[t][r],n),null===this.deletedStates[t]){this.deletedStates[t]={};for(const e in this.state[t])e!==r&&(this.deletedStates[t][e]=null)}else if(this.deletedStates[t]&&null===this.deletedStates[t][r]){this.deletedStates[t][r]={};for(const e in this.state[t][r])n[e]||(this.deletedStates[t][r][e]=null)}else for(const e in n)this.deletedStates[t]&&this.deletedStates[t][r]&&null===this.deletedStates[t][r][e]&&delete this.deletedStates[t][r][e]}removeFeatureState(t,e,n){if(null===this.deletedStates[t])return;const r=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},n&&void 0!==e)null!==this.deletedStates[t][r]&&(this.deletedStates[t][r]=this.deletedStates[t][r]||{},this.deletedStates[t][r][n]=null);else if(void 0!==e)if(this.stateChanges[t]&&this.stateChanges[t][r])for(n in this.deletedStates[t][r]={},this.stateChanges[t][r])this.deletedStates[t][r][n]=null;else this.deletedStates[t][r]=null;else this.deletedStates[t]=null}getState(t,e){const n=String(e),r=A({},(this.state[t]||{})[n],(this.stateChanges[t]||{})[n]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){const n=this.deletedStates[t][e];if(null===n)return{};for(const t in n)delete r[t]}return r}initializeTileState(t,e){t.setFeatureState(this.state,e)}coalesceChanges(t,e){const n={};for(const t in this.stateChanges){this.state[t]=this.state[t]||{};const e={};for(const n in this.stateChanges[t])this.state[t][n]||(this.state[t][n]={}),A(this.state[t][n],this.stateChanges[t][n]),e[n]=this.state[t][n];n[t]=e}for(const t in this.deletedStates){this.state[t]=this.state[t]||{};const e={};if(null===this.deletedStates[t])for(const n in this.state[t])e[n]={},this.state[t][n]={};else for(const n in this.deletedStates[t]){if(null===this.deletedStates[t][n])this.state[t][n]={};else for(const e of Object.keys(this.deletedStates[t][n]))delete this.state[t][n][e];e[n]=this.state[t][n]}n[t]=n[t]||{},A(n[t],e)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(n).length)for(const r in t)t[r].setFeatureState(n,e)}}class Vp{constructor(t){this.size=t,this.minimums=[],this.maximums=[],this.leaves=[]}getElevation(t,e){const n=this.toIdx(t,e);return{min:this.minimums[n],max:this.maximums[n]}}isLeaf(t,e){return this.leaves[this.toIdx(t,e)]}toIdx(t,e){return e*this.size+t}}function Up(t,e,n,r){let i=0,o=Number.MAX_VALUE;for(let a=0;a<3;a++)if(Math.abs(r[a])<1e-15){if(n[a]<t[a]||n[a]>e[a])return null}else{const s=1/r[a];let l=(t[a]-n[a])*s,c=(e[a]-n[a])*s;if(l>c){const t=l;l=c,c=t}if(l>i&&(i=l),c<o&&(o=c),i>o)return null}return i}function Wp(t,e,n,r,i,o,a,s,l,c,u){const d=r-t,h=i-e,f=o-n,p=a-t,m=s-e,_=l-n,v=u[1]*_-u[2]*m,g=u[2]*p-u[0]*_,y=u[0]*m-u[1]*p,b=d*v+h*g+f*y;if(Math.abs(b)<1e-15)return null;const x=1/b,w=c[0]-t,k=c[1]-e,M=c[2]-n,C=(w*v+k*g+M*y)*x;if(C<0||C>1)return null;const S=k*f-M*h,T=M*d-w*f,L=w*h-k*d,E=(u[0]*S+u[1]*T+u[2]*L)*x;return E<0||C+E>1?null:(p*S+m*T+_*L)*x}function Gp(t,e,n){return(t-e)/(n-e)}function qp(t,e,n,r,i,o,a,s,l){const c=1<<n,u=o-r,d=a-i,h=(t+1)/c*u+r,f=(e+0)/c*d+i,p=(e+1)/c*d+i;s[0]=(t+0)/c*u+r,s[1]=f,l[0]=h,l[1]=p}class Xp{constructor(t){if(this.maximums=[],this.minimums=[],this.leaves=[],this.childOffsets=[],this.nodeCount=0,this.dem=t,this._siblingOffset=[[0,0],[1,0],[0,1],[1,1]],!this.dem)return;const e=function(t){const e=Math.ceil(Math.log2(t.dim/8)),n=[];let r=Math.ceil(Math.pow(2,e));const i=1/r,o=(t,e,n,r,i)=>{const o=r?1:0,a=(t+1)*n-o,s=e*n,l=(e+1)*n-o;i[0]=t*n,i[1]=s,i[2]=a,i[3]=l};let a=new Vp(r);const s=[];for(let e=0;e<r*r;e++){o(e%r,Math.floor(e/r),i,!1,s);const n=Kp(s[0],s[1],t),l=Kp(s[2],s[1],t),c=Kp(s[2],s[3],t),u=Kp(s[0],s[3],t);a.minimums.push(Math.min(n,l,c,u)),a.maximums.push(Math.max(n,l,c,u)),a.leaves.push(1)}for(n.push(a),r/=2;r>=1;r/=2){const t=n[n.length-1];a=new Vp(r);for(let e=0;e<r*r;e++){o(e%r,Math.floor(e/r),2,!0,s);const n=t.getElevation(s[0],s[1]),i=t.getElevation(s[2],s[1]),l=t.getElevation(s[2],s[3]),c=t.getElevation(s[0],s[3]),u=t.isLeaf(s[0],s[1]),d=t.isLeaf(s[2],s[1]),h=t.isLeaf(s[2],s[3]),f=t.isLeaf(s[0],s[3]),p=Math.min(n.min,i.min,l.min,c.min),m=Math.max(n.max,i.max,l.max,c.max),_=u&&d&&h&&f;a.maximums.push(m),a.minimums.push(p),a.leaves.push(m-p<=5&&_?1:0)}n.push(a)}return n}(this.dem),n=e.length-1,r=e[n];this._addNode(r.minimums[0],r.maximums[0],r.leaves[0]),this._construct(e,0,0,n,0)}raycastRoot(t,e,n,r,i,o,a=1){return Up([t,e,-100],[n,r,this.maximums[0]*a],i,o)}raycast(t,e,n,r,i,o,a=1){if(!this.nodeCount)return null;const s=this.raycastRoot(t,e,n,r,i,o,a);if(null==s)return null;const l=[],c=[],u=[],d=[],h=[{idx:0,t:s,nodex:0,nodey:0,depth:0}];for(;h.length>0;){const{idx:s,t:f,nodex:p,nodey:m,depth:_}=h.pop();if(this.leaves[s]){qp(p,m,_,t,e,n,r,u,d);const s=1<<_,l=(p+0)/s,c=(p+1)/s,h=(m+0)/s,v=(m+1)/s,g=Kp(l,h,this.dem)*a,y=Kp(c,h,this.dem)*a,b=Kp(c,v,this.dem)*a,x=Kp(l,v,this.dem)*a,w=Wp(u[0],u[1],g,d[0],u[1],y,d[0],d[1],b,i,o),k=Wp(d[0],d[1],b,u[0],d[1],x,u[0],u[1],g,i,o),M=Math.min(null!==w?w:Number.MAX_VALUE,null!==k?k:Number.MAX_VALUE);if(M!==Number.MAX_VALUE)return M;{const t=Ul([],i,o,f);if(Jp(g,y,x,b,Gp(t[0],u[0],d[0]),Gp(t[1],u[1],d[1]))>=t[2])return f}continue}let v=0;for(let h=0;h<this._siblingOffset.length;h++){qp((p<<1)+this._siblingOffset[h][0],(m<<1)+this._siblingOffset[h][1],_+1,t,e,n,r,u,d),u[2]=-100,d[2]=this.maximums[this.childOffsets[s]+h]*a;const f=Up(u,d,i,o);if(null!=f){const t=f;l[h]=t;let e=!1;for(let n=0;n<v&&!e;n++)t>=l[c[n]]&&(c.splice(n,0,h),e=!0);e||(c[v]=h),v++}}for(let t=0;t<v;t++){const e=c[t];h.push({idx:this.childOffsets[s]+e,t:l[e],nodex:(p<<1)+this._siblingOffset[e][0],nodey:(m<<1)+this._siblingOffset[e][1],depth:_+1})}}return null}_addNode(t,e,n){return this.minimums.push(t),this.maximums.push(e),this.leaves.push(n),this.childOffsets.push(0),this.nodeCount++}_construct(t,e,n,r,i){if(1===t[r].isLeaf(e,n))return;this.childOffsets[i]||(this.childOffsets[i]=this.nodeCount);const o=r-1,a=t[o];let s=0,l=0;for(let t=0;t<this._siblingOffset.length;t++){const r=2*e+this._siblingOffset[t][0],i=2*n+this._siblingOffset[t][1],o=a.getElevation(r,i),c=a.isLeaf(r,i),u=this._addNode(o.min,o.max,c);c&&(s|=1<<t),l||(l=u)}for(let r=0;r<this._siblingOffset.length;r++)s&1<<r||this._construct(t,2*e+this._siblingOffset[r][0],2*n+this._siblingOffset[r][1],o,l+r)}}function Jp(t,e,n,r,i,o){return Ln(Ln(t,n,o),Ln(e,r,o),i)}function Kp(t,e,n){const r=n.dim,i=C(t*r-.5,0,r-1),o=C(e*r-.5,0,r-1),a=Math.floor(i),s=Math.floor(o),l=Math.min(a+1,r-1),c=Math.min(s+1,r-1);return Jp(n.get(a,s),n.get(l,s),n.get(a,c),n.get(l,c),i-a,o-s)}const Qp={mapbox:[6553.6,25.6,.1,1e4],terrarium:[256,1,1/256,32768]};class tm{get tree(){return this._tree||this._buildQuadTree(),this._tree}constructor(t,e,n,r=!1,i=!1){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(n&&"mapbox"!==n&&"terrarium"!==n)return $(`"${n}" is not a valid encoding type. Valid types include "mapbox" and "terrarium".`);this.stride=e.height;const o=this.dim=e.height-2,a=new Uint32Array(e.data.buffer);if(this.pixels=new Uint8Array(e.data.buffer),this.encoding=n||"mapbox",this.borderReady=r,!r){for(let t=0;t<o;t++)a[this._idx(-1,t)]=a[this._idx(0,t)],a[this._idx(o,t)]=a[this._idx(o-1,t)],a[this._idx(t,-1)]=a[this._idx(t,0)],a[this._idx(t,o)]=a[this._idx(t,o-1)];a[this._idx(-1,-1)]=a[this._idx(0,0)],a[this._idx(o,-1)]=a[this._idx(o-1,0)],a[this._idx(-1,o)]=a[this._idx(0,o-1)],a[this._idx(o,o)]=a[this._idx(o-1,o-1)],i&&this._buildQuadTree()}}_buildQuadTree(){this._tree=new Xp(this)}get(t,e,n=!1){n&&(t=C(t,-1,this.dim),e=C(e,-1,this.dim));const r=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(this.pixels[r],this.pixels[r+1],this.pixels[r+2])}static getUnpackVector(t){return Qp[t]}get unpackVector(){return Qp[this.encoding]}_idx(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)}_unpackMapbox(t,e,n){return(256*t*256+256*e+n)/10-1e4}_unpackTerrarium(t,e,n){return 256*t+e+n/256-32768}static pack(t,e){const n=[0,0,0,0],r=tm.getUnpackVector(e);let i=Math.floor((t+r[3])/r[2]);return n[2]=i%256,i=Math.floor(i/256),n[1]=i%256,i=Math.floor(i/256),n[0]=i,n}getPixels(){return new Mc({width:this.stride,height:this.stride},this.pixels)}backfillBorder(t,e,n){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");let r=e*this.dim,i=e*this.dim+this.dim,o=n*this.dim,a=n*this.dim+this.dim;switch(e){case-1:r=i-1;break;case 1:i=r+1}switch(n){case-1:o=a-1;break;case 1:a=o+1}const s=-e*this.dim,l=-n*this.dim;for(let e=o;e<a;e++)for(let n=r;n<i;n++){const r=4*this._idx(n,e),i=4*this._idx(n+s,e+l);this.pixels[r+0]=t.pixels[i+0],this.pixels[r+1]=t.pixels[i+1],this.pixels[r+2]=t.pixels[i+2],this.pixels[r+3]=t.pixels[i+3]}}onDeserialize(){this._tree&&(this._tree.dem=this)}}Ni(tm,"DEMData"),Ni(Xp,"DemMinMaxQuadTree",{omit:["dem"]});class em{constructor(t,e){this.max=t,this.onRemove=e,this.reset()}reset(){for(const t in this.data)for(const e of this.data[t])e.timeout&&clearTimeout(e.timeout),this.onRemove(e.value);return this.data={},this.order=[],this}add(t,e,n){const r=t.wrapped().key;void 0===this.data[r]&&(this.data[r]=[]);const i={value:e,timeout:void 0};if(void 0!==n&&(i.timeout=setTimeout((()=>{this.remove(t,i)}),n)),this.data[r].push(i),this.order.push(r),this.order.length>this.max){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this}has(t){return t.wrapped().key in this.data}getAndRemove(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null}_getAndRemoveByKey(t){const e=this.data[t].shift();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}getByKey(t){const e=this.data[t];return e?e[0].value:null}get(t){return this.has(t)?this.data[t.wrapped().key][0].value:null}remove(t,e){if(!this.has(t))return this;const n=t.wrapped().key,r=void 0===e?0:this.data[n].indexOf(e),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this}setMaxSize(t){for(this.max=t;this.order.length>this.max;){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this}filter(t){const e=[];for(const n in this.data)for(const r of this.data[n])t(r.value)||e.push(r);for(const t of e)this.remove(t.value.tileID,t)}}class nm{constructor(t,e,n){this.func=t,this.mask=e,this.range=n}}nm.ReadOnly=!1,nm.ReadWrite=!0,nm.disabled=new nm(519,nm.ReadOnly,[0,1]);const rm=7680;class im{constructor(t,e,n,r,i,o){this.test=t,this.ref=e,this.mask=n,this.fail=r,this.depthFail=i,this.pass=o}}im.disabled=new im({func:519,mask:0},0,0,rm,rm,rm);class om{constructor(t,e,n){this.blendFunction=t,this.blendColor=e,this.mask=n}}om.Replace=[1,0],om.disabled=new om(om.Replace,Te.transparent,[!1,!1,!1,!1]),om.unblended=new om(om.Replace,Te.transparent,[!0,!0,!0,!0]),om.alphaBlended=new om([1,771],Te.transparent,[!0,!0,!0,!0]);const am=1029,sm=2305;class lm{constructor(t,e,n){this.enable=t,this.mode=e,this.frontFace=n}}lm.disabled=new lm(!1,am,sm),lm.backCCW=new lm(!0,am,sm),lm.backCW=new lm(!0,am,2304),lm.frontCW=new lm(!0,1028,2304),lm.frontCCW=new lm(!0,1028,sm);class cm extends qt{constructor(t,e,n){super(),this.id=t,this._onlySymbols=n,e.on("data",(t=>{"source"===t.dataType&&"metadata"===t.sourceDataType&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(this.reload(),this.transform&&this.update(this.transform))})),e.on("error",(()=>{this._sourceErrored=!0})),this._source=e,this._tiles={},this._cache=new em(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._minTileCacheSize=e.minTileCacheSize,this._maxTileCacheSize=e.maxTileCacheSize,this._loadedParentTiles={},this._coveredTiles={},this._state=new Hp,this._isRaster="raster"===this._source.type||"raster-dem"===this._source.type||"custom"===this._source.type&&"raster"===this._source._dataType}onAdd(t){this.map=t,this._minTileCacheSize=void 0===this._minTileCacheSize&&t?t._minTileCacheSize:this._minTileCacheSize,this._maxTileCacheSize=void 0===this._maxTileCacheSize&&t?t._maxTileCacheSize:this._maxTileCacheSize}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(const t in this._tiles){const e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;const t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}_loadTile(t,e){return t.isSymbolTile=this._onlySymbols,this._source.loadTile(t,e)}_unloadTile(t){if(this._source.unloadTile)return this._source.unloadTile(t,(()=>{}))}_abortTile(t){if(this._source.abortTile)return this._source.abortTile(t,(()=>{}))}serialize(){return this._source.serialize()}prepare(t){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(const e in this._tiles){const n=this._tiles[e];n.upload(t),n.prepare(this.map.style.imageManager)}}getIds(){return E(this._tiles).map((t=>t.tileID)).sort(um).map((t=>t.key))}getRenderableIds(t){const e=[];for(const n in this._tiles)this._isIdRenderable(+n,t)&&e.push(this._tiles[n]);return t?e.sort(((t,e)=>{const n=t.tileID,r=e.tileID,i=new m(n.canonical.x,n.canonical.y)._rotate(this.transform.angle),o=new m(r.canonical.x,r.canonical.y)._rotate(this.transform.angle);return n.overscaledZ-r.overscaledZ||o.y-i.y||o.x-i.x})).map((t=>t.tileID.key)):e.map((t=>t.tileID)).sort(um).map((t=>t.key))}hasRenderableParent(t){const e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)}_isIdRenderable(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(const t in this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(+t,"reloading")}}_reloadTile(t,e){const n=this._tiles[t];n&&("loading"!==n.state&&(n.state=e),this._loadTile(n,this._tileLoaded.bind(this,n,t,e)))}_tileLoaded(t,e,n,r){if(r)if(t.state="errored",404!==r.status)this._source.fire(new Gt(r,{tile:t}));else if("raster-dem"===this._source.type&&this.usedForTerrain&&this.map.painter.terrain){const t=this.map.painter.terrain;this.update(this.transform,t.getScaledDemTileSize(),!0),t.resetTileLookupCache(this.id)}else this.update(this.transform);else t.timeAdded=Ht.now(),"expired"===n&&(t.refreshedUponExpiration=!0),this._setTileReloadTimer(e,t),"raster-dem"===this._source.type&&t.dem&&this._backfillDEM(t),this._state.initializeTileState(t,this.map?this.map.painter:null),this._source.fire(new Wt("data",{dataType:"source",tile:t,coord:t.tileID,sourceCacheId:this.id}))}_backfillDEM(t){const e=this.getRenderableIds();for(let r=0;r<e.length;r++){const i=e[r];if(t.neighboringTiles&&t.neighboringTiles[i]){const e=this.getTileByID(i);n(t,e),n(e,t)}}function n(t,e){if(!t.dem||t.dem.borderReady)return;t.needsHillshadePrepare=!0,t.needsDEMTextureUpload=!0;let n=e.tileID.canonical.x-t.tileID.canonical.x;const r=e.tileID.canonical.y-t.tileID.canonical.y,i=Math.pow(2,t.tileID.canonical.z),o=e.tileID.key;0===n&&0===r||Math.abs(r)>1||(Math.abs(n)>1&&(1===Math.abs(n+i)?n+=i:1===Math.abs(n-i)&&(n-=i)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,n,r),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}}getTile(t){return this.getTileByID(t.key)}getTileByID(t){return this._tiles[t]}_retainLoadedChildren(t,e,n,r){for(const i in this._tiles){let o=this._tiles[i];if(r[i]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>n)continue;let a=o.tileID;for(;o&&o.tileID.overscaledZ>e+1;){const t=o.tileID.scaledTo(o.tileID.overscaledZ-1);o=this._tiles[t.key],o&&o.hasData()&&(a=t)}let s=a;for(;s.overscaledZ>e;)if(s=s.scaledTo(s.overscaledZ-1),t[s.key]){r[a.key]=a;break}}}findLoadedParent(t,e){if(t.key in this._loadedParentTiles){const n=this._loadedParentTiles[t.key];return n&&n.tileID.overscaledZ>=e?n:null}for(let n=t.overscaledZ-1;n>=e;n--){const e=t.scaledTo(n),r=this._getLoadedTile(e);if(r)return r}}_getLoadedTile(t){const e=this._tiles[t.key];return e&&e.hasData()?e:this._cache.getByKey(this._source.reparseOverscaled?t.wrapped().key:t.canonical.key)}updateCacheSize(t,e){e=e||this._source.tileSize;const n=Math.ceil(t.width/e)+1,r=Math.ceil(t.height/e)+1,i=Math.floor(n*r*5),o="number"==typeof this._minTileCacheSize?Math.max(this._minTileCacheSize,i):i,a="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,o):o;this._cache.setMaxSize(a)}handleWrapJump(t){const e=Math.round((t-(void 0===this._prevLng?t:this._prevLng))/360);if(this._prevLng=t,e){const t={};for(const n in this._tiles){const r=this._tiles[n];r.tileID=r.tileID.unwrapTo(r.tileID.wrap+e),t[r.tileID.key]=r}this._tiles=t;for(const t in this._timers)clearTimeout(this._timers[t]),delete this._timers[t];for(const t in this._tiles)this._setTileReloadTimer(+t,this._tiles[t])}}update(t,e,n){if(this.transform=t,!this._sourceLoaded||this._paused||this.transform.freezeTileCoverage)return;if(this.usedForTerrain&&!n)return;let r;this.updateCacheSize(t,e),"globe"!==this.transform.projection.name&&this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?r=t.getVisibleUnwrappedCoordinates(this._source.tileID).map((t=>new Ku(t.canonical.z,t.wrap,t.canonical.z,t.canonical.x,t.canonical.y))):(r=t.coveringTiles({tileSize:e||this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom&&!n,reparseOverscaled:this._source.reparseOverscaled,isTerrainDEM:this.usedForTerrain}),this._source.hasTile&&(r=r.filter((t=>this._source.hasTile(t))))):r=[];const i=this._updateRetainedTiles(r);if(dm(this._source.type)&&0!==r.length){const t={},e={},n=Object.keys(i);for(const r of n){const n=i[r],o=this._tiles[r];if(!o||o.fadeEndTime&&o.fadeEndTime<=Ht.now())continue;const a=this.findLoadedParent(n,Math.max(n.overscaledZ-cm.maxOverzooming,this._source.minzoom));a&&(this._addTile(a.tileID),t[a.tileID.key]=a.tileID),e[r]=n}const o=r[r.length-1].overscaledZ;for(const t in this._tiles){const n=this._tiles[t];if(i[t]||!n.hasData())continue;let r=n.tileID;for(;r.overscaledZ>o;){r=r.scaledTo(r.overscaledZ-1);const o=this._tiles[r.key];if(o&&o.hasData()&&e[r.key]){i[t]=n.tileID;break}}}for(const e in t)i[e]||(this._coveredTiles[e]=!0,i[e]=t[e])}for(const t in i)this._tiles[t].clearFadeHold();const o=function(t,e){const n=[];for(const r in t)r in e||n.push(r);return n}(this._tiles,i);for(const t of o){const e=this._tiles[t];e.hasSymbolBuckets&&!e.holdingForFade()?e.setHoldDuration(this.map._fadeDuration):e.hasSymbolBuckets&&!e.symbolFadeFinished()||this._removeTile(+t)}this._updateLoadedParentTileCache(),this._onlySymbols&&this._source.afterUpdate&&this._source.afterUpdate()}releaseSymbolFadeTiles(){for(const t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(+t)}_updateRetainedTiles(t){const e={};if(0===t.length)return e;const n={},r=t.reduce(((t,e)=>Math.min(t,e.overscaledZ)),1/0),i=t[0].overscaledZ,o=Math.max(i-cm.maxOverzooming,this._source.minzoom),a=Math.max(i+cm.maxUnderzooming,this._source.minzoom),s={};for(const n of t){const t=this._addTile(n);e[n.key]=n,t.hasData()||r<this._source.maxzoom&&(s[n.key]=n)}this._retainLoadedChildren(s,r,a,e);for(const r of t){let t=this._tiles[r.key];if(t.hasData())continue;if(r.canonical.z>=this._source.maxzoom){const t=r.children(this._source.maxzoom)[0],n=this.getTile(t);if(n&&n.hasData()){e[t.key]=t;continue}}else{const t=r.children(this._source.maxzoom);if(e[t[0].key]&&e[t[1].key]&&e[t[2].key]&&e[t[3].key])continue}let i=t.wasRequested();for(let a=r.overscaledZ-1;a>=o;--a){const o=r.scaledTo(a);if(n[o.key])break;if(n[o.key]=!0,t=this.getTile(o),!t&&i&&(t=this._addTile(o)),t&&(e[o.key]=o,i=t.wasRequested(),t.hasData()))break}}return e}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(const t in this._tiles){const e=[];let n,r=this._tiles[t].tileID;for(;r.overscaledZ>0;){if(r.key in this._loadedParentTiles){n=this._loadedParentTiles[r.key];break}e.push(r.key);const t=r.scaledTo(r.overscaledZ-1);if(n=this._getLoadedTile(t),n)break;r=t}for(const t of e)this._loadedParentTiles[t]=n}}_addTile(t){let e=this._tiles[t.key];if(e)return e;e=this._cache.getAndRemove(t),e&&(this._setTileReloadTimer(t.key,e),e.tileID=t,this._state.initializeTileState(e,this.map?this.map.painter:null),this._cacheTimers[t.key]&&(clearTimeout(this._cacheTimers[t.key]),delete this._cacheTimers[t.key],this._setTileReloadTimer(t.key,e)));const n=Boolean(e);if(!n){const n=this.map?this.map.painter:null;e=new Zp(t,this._source.tileSize*t.overscaleFactor(),this.transform.tileZoom,n,this._isRaster),this._loadTile(e,this._tileLoaded.bind(this,e,t.key,e.state))}return e?(e.uses++,this._tiles[t.key]=e,n||this._source.fire(new Wt("dataloading",{tile:e,coord:e.tileID,dataType:"source"})),e):null}_setTileReloadTimer(t,e){t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);const n=e.getExpiryTimeout();n&&(this._timers[t]=setTimeout((()=>{this._reloadTile(t,"expired"),delete this._timers[t]}),n))}_removeTile(t){const e=this._tiles[t];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))))}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const t in this._tiles)this._removeTile(+t);this._source._clear&&this._source._clear(),this._cache.reset(),this.map&&this.usedForTerrain&&this.map.painter.terrain&&this.map.painter.terrain.resetTileLookupCache(this.id)}tilesIn(t,e,n){const r=[],i=this.transform;if(!i)return r;const o="globe"===i.projection.name,a=Ys(i.center.lng);for(const s in this._tiles){const l=this._tiles[s];if(n&&l.clearQueryDebugViz(),l.holdingForFade())continue;let c;if(o){const t=l.tileID.canonical;if(0===t.z){const e=[Math.abs(C(a,...hm(t,-1))-a),Math.abs(C(a,...hm(t,1))-a)];c=[0,2*e.indexOf(Math.min(...e))-1]}else{const e=[Math.abs(C(a,...hm(t,-1))-a),Math.abs(C(a,...hm(t,0))-a),Math.abs(C(a,...hm(t,1))-a)];c=[e.indexOf(Math.min(...e))-1]}}else c=[0];for(const n of c){const o=t.containsTile(l,i,e,n);o&&r.push(o)}}return r}getVisibleCoordinates(t){const e=this.getRenderableIds(t).map((t=>this._tiles[t].tileID));for(const t of e)t.projMatrix=this.transform.calculateProjMatrix(t.toUnwrapped());return e}hasTransition(){if(this._source.hasTransition())return!0;if(dm(this._source.type))for(const t in this._tiles){const e=this._tiles[t];if(void 0!==e.fadeEndTime&&e.fadeEndTime>=Ht.now())return!0}return!1}setFeatureState(t,e,n){this._state.updateState(t=t||"_geojsonTileLayer",e,n)}removeFeatureState(t,e,n){this._state.removeFeatureState(t=t||"_geojsonTileLayer",e,n)}getFeatureState(t,e){return this._state.getState(t=t||"_geojsonTileLayer",e)}setDependencies(t,e,n){const r=this._tiles[t];r&&r.setDependencies(e,n)}reloadTilesForDependencies(t,e){for(const n in this._tiles)this._tiles[n].hasDependency(t,e)&&this._reloadTile(+n,"reloading");this._cache.filter((n=>!n.hasDependency(t,e)))}_preloadTiles(t,e){const n=new Map,r=Array.isArray(t)?t:[t],i=this.map.painter.terrain,o=this.usedForTerrain&&i?i.getScaledDemTileSize():this._source.tileSize;for(const t of r){const e=t.coveringTiles({tileSize:o,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom&&!this.usedForTerrain,reparseOverscaled:this._source.reparseOverscaled,isTerrainDEM:this.usedForTerrain});for(const t of e)n.set(t.key,t);this.usedForTerrain&&t.updateElevation(!1)}L(Array.from(n.values()),((t,e)=>{const n=new Zp(t,this._source.tileSize*t.overscaleFactor(),this.transform.tileZoom,this.map.painter,this._isRaster);this._loadTile(n,(t=>{"raster-dem"===this._source.type&&n.dem&&this._backfillDEM(n),e(t,n)}))}),e)}}function um(t,e){const n=Math.abs(2*t.wrap)-+(t.wrap<0),r=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||r-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x}function dm(t){return"raster"===t||"image"===t||"video"===t||"custom"===t}function hm(t,e){const n=1<<t.z;return[t.x/n+e,(t.x+1)/n+e]}cm.maxOverzooming=10,cm.maxUnderzooming=3;class fm{constructor(t,e,n){this._demTile=t,this._dem=this._demTile.dem,this._scale=e,this._offset=n}static create(t,e,n){const r=n||t.findDEMTileFor(e);if(!r||!r.dem)return;const i=r.dem,o=r.tileID,a=1<<e.canonical.z-o.canonical.z;return new fm(r,r.tileSize/Ds/a,[(e.canonical.x/a-o.canonical.x)*i.dim,(e.canonical.y/a-o.canonical.y)*i.dim])}tileCoordToPixel(t,e){const n=e*this._scale+this._offset[1],r=Math.floor(t*this._scale+this._offset[0]),i=Math.floor(n);return new m(r,i)}getElevationAt(t,e,n,r){const i=t*this._scale+this._offset[0],o=e*this._scale+this._offset[1],a=Math.floor(i),s=Math.floor(o),l=this._dem;return r=!!r,n?Ln(Ln(l.get(a,s,r),l.get(a,s+1,r),o-s),Ln(l.get(a+1,s,r),l.get(a+1,s+1,r),o-s),i-a):l.get(a,s,r)}getElevationAtPixel(t,e,n){return this._dem.get(t,e,!!n)}getMeterToDEM(t){return(1<<this._demTile.tileID.canonical.z)*Fs(1,t)*this._dem.stride}}class pm{constructor(t,e){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=new Ri(Ds,16,0),this.featureIndexArray=new Ha,this.promoteId=e}insert(t,e,n,r,i,o=0){const a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(n,r,i,o);const s=this.grid;for(let t=0;t<e.length;t++){const n=e[t],r=[1/0,1/0,-1/0,-1/0];for(let t=0;t<n.length;t++){const e=n[t];r[0]=Math.min(r[0],e.x),r[1]=Math.min(r[1],e.y),r[2]=Math.max(r[2],e.x),r[3]=Math.max(r[3],e.y)}r[0]<Ds&&r[1]<Ds&&r[2]>=0&&r[3]>=0&&s.insert(a,r[0],r[1],r[2],r[3])}}loadVTLayers(){if(!this.vtLayers){this.vtLayers=new Au(new Od(this.rawTileData)).layers,this.sourceLayerCoder=new Dp(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"]),this.vtFeatures={};for(const t in this.vtLayers)this.vtFeatures[t]=[]}return this.vtLayers}query(t,e,n,r){this.loadVTLayers();const i=t.params||{},o=ai(i.filter),a=t.tileResult,s=t.transform,l=a.bufferedTilespaceBounds,c=this.grid.query(l.min.x,l.min.y,l.max.x,l.max.y,((t,e,n,r)=>pl(a.bufferedTilespaceGeometry,t,e,n,r)));c.sort(_m);let u=null;s.elevation&&c.length>0&&(u=fm.create(s.elevation,this.tileID));const d={};let h;for(let s=0;s<c.length;s++){const l=c[s];if(l===h)continue;h=l;const f=this.featureIndexArray.get(l);let p=null;this.loadMatchingFeature(d,f,o,i.layers,i.availableImages,e,n,r,((e,n,r,i=0)=>(p||(p=Qs(e,this.tileID.canonical,t.tileTransform)),n.queryIntersectsFeature(a,e,r,p,this.z,t.transform,t.pixelPosMatrix,u,i))))}return d}loadMatchingFeature(t,e,n,r,i,o,a,s,l){const{featureIndex:c,bucketIndex:u,sourceLayerIndex:d,layoutVertexArrayOffset:h}=e,f=this.bucketLayerIDs[u];if(r&&!function(t,e){for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>=0)return!0;return!1}(r,f))return;const p=this.sourceLayerCoder.decode(d),m=this.vtLayers[p].feature(c);if(n.needGeometry){const t=tl(m,!0);if(!n.filter(new No(this.tileID.overscaledZ),t,this.tileID.canonical))return}else if(!n.filter(new No(this.tileID.overscaledZ),m))return;const _=this.getId(m,p);for(let e=0;e<f.length;e++){const n=f[e];if(r&&r.indexOf(n)<0)continue;const u=o[n];if(!u)continue;let d={};void 0!==_&&s&&(d=s.getState(u.sourceLayer||"_geojsonTileLayer",_));const p=A({},a[n]);p.paint=mm(p.paint,u.paint,m,d,i),p.layout=mm(p.layout,u.layout,m,d,i);const v=!l||l(m,u,d,h);if(!v)continue;const g=new zp(m,this.z,this.x,this.y,_);g.layer=p;let y=t[n];void 0===y&&(y=t[n]=[]),y.push({featureIndex:c,feature:g,intersectionZ:v})}}lookupSymbolFeatures(t,e,n,r,i,o,a,s){const l={};this.loadVTLayers();const c=ai(i);for(const i of t)this.loadMatchingFeature(l,{bucketIndex:n,sourceLayerIndex:r,featureIndex:i,layoutVertexArrayOffset:0},c,o,a,s,e);return l}loadFeature(t){const{featureIndex:e,sourceLayerIndex:n}=t;this.loadVTLayers();const r=this.sourceLayerCoder.decode(n),i=this.vtFeatures[r];if(i[e])return i[e];const o=this.vtLayers[r].feature(e);return i[e]=o,o}hasLayer(t){for(const e of this.bucketLayerIDs)for(const n of e)if(t===n)return!0;return!1}getId(t,e){let n=t.id;if(this.promoteId){const r="string"==typeof this.promoteId?this.promoteId:this.promoteId[e];null!=r&&(n=t.properties[r]),"boolean"==typeof n&&(n=Number(n))}return n}}function mm(t,e,n,r,i){return R(t,((t,o)=>{const a=e instanceof qo?e.get(o):null;return a&&a.evaluate?a.evaluate(n,r,i):a}))}function _m(t,e){return e-t}Ni(pm,"FeatureIndex",{omit:["rawTileData","sourceLayerCoder"]});class vm{constructor(t,e){this.width=t,this.height=e,this.nextRow=0,this.image=new kc({width:t,height:e}),this.positions={},this.uploaded=!1}getDash(t,e){const n=this.getKey(t,e);return this.positions[n]}trim(){const t=this.width,e=this.height=P(this.nextRow);this.image.resize({width:t,height:e})}getKey(t,e){return t.join(",")+e}getDashRanges(t,e,n){const r=[];let i=t.length%2==1?-t[t.length-1]*n:0,o=t[0]*n,a=!0;r.push({left:i,right:o,isDash:a,zeroLength:0===t[0]});let s=t[0];for(let e=1;e<t.length;e++){a=!a;const l=t[e];i=s*n,s+=l,o=s*n,r.push({left:i,right:o,isDash:a,zeroLength:0===l})}return r}addRoundDash(t,e,n){const r=e/2;for(let e=-n;e<=n;e++){const i=this.width*(this.nextRow+n+e);let o=0,a=t[o];for(let s=0;s<this.width;s++){s/a.right>1&&(a=t[++o]);const l=Math.abs(s-a.left),c=Math.abs(s-a.right),u=Math.min(l,c);let d;const h=e/n*(r+1);if(a.isDash){const t=r-Math.abs(h);d=Math.sqrt(u*u+t*t)}else d=r-Math.sqrt(u*u+h*h);this.image.data[i+s]=Math.max(0,Math.min(255,d+128))}}}addRegularDash(t,e){for(let e=t.length-1;e>=0;--e){const n=t[e],r=t[e+1];n.zeroLength?t.splice(e,1):r&&r.isDash===n.isDash&&(r.left=n.left,t.splice(e,1))}const n=t[0],r=t[t.length-1];n.isDash===r.isDash&&(n.left=r.left-this.width,r.right=n.right+this.width);const i=this.width*this.nextRow;let o=0,a=t[o];for(let n=0;n<this.width;n++){n/a.right>1&&(a=t[++o]);const r=Math.abs(n-a.left),s=Math.abs(n-a.right),l=Math.min(r,s);this.image.data[i+n]=Math.max(0,Math.min(255,(a.isDash?l:-l)+e+128))}}addDash(t,e){const n=this.getKey(t,e);if(this.positions[n])return this.positions[n];const r="round"===e,i=r?7:0,o=2*i+1;if(this.nextRow+o>this.height)return $("LineAtlas out of space"),null;0===t.length&&t.push(1);let a=0;for(let e=0;e<t.length;e++)t[e]<0&&($("Negative value is found in line dasharray, replacing values with 0"),t[e]=0),a+=t[e];if(0!==a){const n=this.width/a,o=this.getDashRanges(t,this.width,n);r?this.addRoundDash(o,n,i):this.addRegularDash(o,"square"===e?.5*n:0)}const s=this.nextRow+i;this.nextRow+=o;const l={tl:[s,i],br:[a,0]};return this.positions[n]=l,l}}Ni(vm,"LineAtlas");class gm{constructor(t){const e={},n=[];for(const r in t){const i=t[r],o=e[r]={};for(const t in i.glyphs){const e=i.glyphs[+t];if(!e||0===e.bitmap.width||0===e.bitmap.height)continue;const r=e.metrics.localGlyph?2:1,a={x:0,y:0,w:e.bitmap.width+2*r,h:e.bitmap.height+2*r};n.push(a),o[t]=a}}const{w:r,h:i}=rh(n),o=new kc({width:r||1,height:i||1});for(const n in t){const r=t[n];for(const t in r.glyphs){const i=r.glyphs[+t];if(!i||0===i.bitmap.width||0===i.bitmap.height)continue;const a=e[n][t],s=i.metrics.localGlyph?2:1;kc.copy(i.bitmap,o,{x:0,y:0},{x:a.x+s,y:a.y+s},i.bitmap)}}this.image=o,this.positions=e}}Ni(gm,"GlyphAtlas");class ym{constructor(t){this.tileID=new Ku(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.tileZoom=t.tileZoom,this.uid=t.uid,this.zoom=t.zoom,this.canonical=t.tileID.canonical,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,this.enableTerrain=!!t.enableTerrain,this.isSymbolTile=t.isSymbolTile,this.tileTransform=Nf(t.tileID.canonical,t.projection),this.projection=t.projection}parse(t,e,n,r,i){this.status="parsing",this.data=t,this.collisionBoxArray=new Ia;const o=new Dp(Object.keys(t.layers).sort()),a=new pm(this.tileID,this.promoteId);a.bucketLayerIDs=[];const s={},l=new vm(256,256),c={featureIndex:a,iconDependencies:{},patternDependencies:{},glyphDependencies:{},lineAtlas:l,availableImages:n},u=e.familiesBySource[this.source];for(const e in u){const r=t.layers[e];if(!r)continue;let i=!1,l=!1;for(const t of u[e])"symbol"===t[0].type?i=!0:l=!0;if(!0===this.isSymbolTile&&!i)continue;if(!1===this.isSymbolTile&&!l)continue;1===r.version&&$(`Vector tile source "${this.source}" layer "${e}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const d=o.encode(e),h=[];for(let t=0;t<r.length;t++){const n=r.feature(t),i=a.getId(n,e);h.push({feature:n,id:i,index:t,sourceLayerIndex:d})}for(const t of u[e]){const e=t[0];void 0!==this.isSymbolTile&&"symbol"===e.type!==this.isSymbolTile||e.minzoom&&this.zoom<Math.floor(e.minzoom)||e.maxzoom&&this.zoom>=e.maxzoom||"none"!==e.visibility&&(bm(t,this.zoom,n),(s[e.id]=e.createBucket({index:a.bucketLayerIDs.length,layers:t,zoom:this.zoom,canonical:this.canonical,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:d,sourceID:this.source,enableTerrain:this.enableTerrain,projection:this.projection.spec,availableImages:n})).populate(h,c,this.tileID.canonical,this.tileTransform),a.bucketLayerIDs.push(t.map((t=>t.id))))}}let d,h,f,p;l.trim();const m={type:"maybePrepare",isSymbolTile:this.isSymbolTile,zoom:this.zoom},_=R(c.glyphDependencies,(t=>Object.keys(t).map(Number)));Object.keys(_).length?r.send("getGlyphs",{uid:this.uid,stacks:_},((t,e)=>{d||(d=t,h=e,y.call(this))}),void 0,!1,m):h={};const v=Object.keys(c.iconDependencies);v.length?r.send("getImages",{icons:v,source:this.source,tileID:this.tileID,type:"icons"},((t,e)=>{d||(d=t,f=e,y.call(this))}),void 0,!1,m):f={};const g=Object.keys(c.patternDependencies);function y(){if(d)return i(d);if(h&&f&&p){const t=new gm(h),e=new oh(f,p);for(const r in s){const i=s[r];i instanceof vp?(bm(i.layers,this.zoom,n),Xh(i,h,t.positions,f,e.iconPositions,this.showCollisionBoxes,n,this.tileID.canonical,this.tileZoom,this.projection)):i.hasPattern&&(i instanceof ud||i instanceof du||i instanceof Ru)&&(bm(i.layers,this.zoom,n),i.addFeatures(c,this.tileID.canonical,e.patternPositions,n,this.tileTransform))}this.status="done",i(null,{buckets:E(s).filter((t=>!t.isEmpty())),featureIndex:a,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:t.image,lineAtlas:l,imageAtlas:e,glyphMap:this.returnDependencies?h:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?t.positions:null})}}g.length?r.send("getImages",{icons:g,source:this.source,tileID:this.tileID,type:"patterns"},((t,e)=>{d||(d=t,p=e,y.call(this))}),void 0,!1,m):p={},y.call(this)}}function bm(t,e,n){const r=new No(e);for(const e of t)e.recalculate(r,n)}class xm{constructor(t){this.entries={},this.scheduler=t}request(t,e,n,r){const i=this.entries[t]=this.entries[t]||{callbacks:[]};if(i.result){const[t,n]=i.result;return this.scheduler?this.scheduler.add((()=>{r(t,n)}),e):r(t,n),()=>{}}return i.callbacks.push(r),i.cancel||(i.cancel=n(((n,r)=>{i.result=[n,r];for(const t of i.callbacks)this.scheduler?this.scheduler.add((()=>{t(n,r)}),e):t(n,r);setTimeout((()=>delete this.entries[t]),3e3)}))),()=>{i.result||(i.callbacks=i.callbacks.filter((t=>t!==r)),i.callbacks.length||(i.cancel(),delete this.entries[t]))}}}function wm(t,e,n){const r=JSON.stringify(t.request);return t.data&&(this.deduped.entries[r]={result:[null,t.data]}),this.deduped.request(r,{type:"parseTile",isSymbolTile:t.isSymbolTile,zoom:t.tileZoom},(e=>{const r=ut(t.request,((t,r,i,o)=>{t?e(t):r&&e(null,{vectorTile:n?void 0:new Au(new Od(r)),rawData:r,cacheControl:i,expires:o})}));return()=>{r.cancel(),e()}}),e)}t.ARRAY_TYPE=kl,t.AUTH_ERR_MSG=_t,t.Aabb=fc,t.Actor=class{constructor(t,n,r){this.target=t,this.parent=n,this.mapId=r,this.callbacks={},this.cancelCallbacks={},I(["receive"],this),this.target.addEventListener("message",this.receive,!1),this.globalScope=V()?t:e,this.scheduler=new Ap}send(t,e,n,r,i=!1,o){const a=Math.round(1e18*Math.random()).toString(36).substring(0,10);n&&(n.metadata=o,this.callbacks[a]=n);const s=G(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:t,hasCallback:!!n,targetMapId:r,mustQueue:i,sourceMapId:this.mapId,data:Hi(e,s)},s),{cancel:()=>{n&&delete this.callbacks[a],this.target.postMessage({id:a,type:"<cancel>",targetMapId:r,sourceMapId:this.mapId})}}}receive(t){const e=t.data,n=e.id;if(n&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){const t=this.cancelCallbacks[n];delete this.cancelCallbacks[n],t&&t.cancel()}else if(e.mustQueue||V()){const t=this.callbacks[n];this.cancelCallbacks[n]=this.scheduler.add((()=>this.processTask(n,e)),t&&t.metadata||{type:"message"})}else this.processTask(n,e)}processTask(t,e){if("<response>"===e.type){const n=this.callbacks[t];delete this.callbacks[t],n&&(e.error?n(Vi(e.error)):n(null,Vi(e.data)))}else{const n=G(this.globalScope)?void 0:[],r=e.hasCallback?(e,r)=>{delete this.cancelCallbacks[t],this.target.postMessage({id:t,type:"<response>",sourceMapId:this.mapId,error:e?Hi(e):null,data:Hi(r,n)},n)}:t=>{},i=Vi(e.data);if(this.parent[e.type])this.parent[e.type](e.sourceMapId,i,r);else if(this.parent.getWorkerSource){const t=e.type.split(".");this.parent.getWorkerSource(e.sourceMapId,t[0],i.source)[t[1]](i,r)}else r(new Error(`Could not find function ${e.type}`))}}remove(){this.scheduler.remove(),this.target.removeEventListener("message",this.receive,!1)}},t.CanonicalTileID=Xu,t.Color=Te,t.ColorMode=om,t.CullFaceMode=lm,t.DEMData=tm,t.DataConstantProperty=Xo,t.DedupedRequest=xm,t.DepthMode=nm,t.EXTENT=Ds,t.Elevation=class{isDataAvailableAtPoint(t){const e=this._source();if(this.isUsingMockSource()||!e||t.y<0||t.y>1)return!1;const n=e.getSource().maxzoom,r=1<<n,i=Math.floor(t.x),o=Math.floor((t.x-i)*r),a=Math.floor(t.y*r),s=this.findDEMTileFor(new Ku(n,i,n,o,a));return!(!s||!s.dem)}getAtPointOrZero(t,e=0){return this.getAtPoint(t,e)||0}getAtPoint(t,e,n=!0){if(this.isUsingMockSource())return null;null==e&&(e=null);const r=this._source();if(!r)return e;if(t.y<0||t.y>1)return e;const i=r.getSource().maxzoom,o=1<<i,a=Math.floor(t.x),s=t.x-a,l=new Ku(i,a,i,Math.floor(s*o),Math.floor(t.y*o)),c=this.findDEMTileFor(l);if(!c||!c.dem)return e;const u=c.dem,d=1<<c.tileID.canonical.z,h=(s*d-c.tileID.canonical.x)*u.dim,f=(t.y*d-c.tileID.canonical.y)*u.dim,p=Math.floor(h),m=Math.floor(f);return(n?this.exaggeration():1)*Ln(Ln(u.get(p,m),u.get(p,m+1),f-m),Ln(u.get(p+1,m),u.get(p+1,m+1),f-m),h-p)}getAtTileOffset(t,e,n){const r=1<<t.canonical.z;return this.getAtPointOrZero(new Vs(t.wrap+(t.canonical.x+e/Ds)/r,(t.canonical.y+n/Ds)/r))}getAtTileOffsetFunc(t,e,n,r){return i=>{const o=this.getAtTileOffset(t,i.x,i.y),a=r.upVector(t.canonical,i.x,i.y);return Vl(a,a,o*r.upVectorScale(t.canonical,e,n).metersToTile),a}}getForTilePoints(t,e,n,r){if(this.isUsingMockSource())return!1;const i=fm.create(this,t,r);return!!i&&(e.forEach((t=>{t[2]=this.exaggeration()*i.getElevationAt(t[0],t[1],n)})),!0)}getMinMaxForTile(t){if(this.isUsingMockSource())return null;const e=this.findDEMTileFor(t);if(!e||!e.dem)return null;const n=e.dem.tree,r=e.tileID,i=1<<t.canonical.z-r.canonical.z;let o=t.canonical.x/i-r.canonical.x,a=t.canonical.y/i-r.canonical.y,s=0;for(let e=0;e<t.canonical.z-r.canonical.z&&!n.leaves[s];e++){o*=2,a*=2;const t=2*Math.floor(a)+Math.floor(o);s=n.childOffsets[s]+t,o%=1,a%=1}return{min:this.exaggeration()*n.minimums[s],max:this.exaggeration()*n.maximums[s]}}getMinElevationBelowMSL(){throw new Error("Pure virtual method called.")}raycast(t,e,n){throw new Error("Pure virtual method called.")}pointCoordinate(t){throw new Error("Pure virtual method called.")}_source(){throw new Error("Pure virtual method called.")}isUsingMockSource(){throw new Error("Pure virtual method called.")}exaggeration(){throw new Error("Pure virtual method called.")}findDEMTileFor(t){throw new Error("Pure virtual method called.")}get visibleDemTiles(){throw new Error("Getter must be implemented in subclass.")}},t.ErrorEvent=Gt,t.EvaluationParameters=No,t.Event=Wt,t.Evented=qt,t.FillExtrusionBucket=Ru,t.Frustum=hc,t.FrustumCorners=dc,t.GLOBE_METERS_TO_ECEF=df,t.GLOBE_RADIUS=uf,t.GLOBE_SCALE_MATCH_LATITUDE=45,t.GLOBE_ZOOM_THRESHOLD_MAX=6,t.GLOBE_ZOOM_THRESHOLD_MIN=5,t.GlobeSharedBuffers=class{constructor(t){this._createGrid(t),this._createPoles(t)}destroy(){this._poleIndexBuffer.destroy(),this._gridBuffer.destroy(),this._gridIndexBuffer.destroy(),this._poleNorthVertexBuffer.destroy(),this._poleSouthVertexBuffer.destroy();for(const t of this._poleSegments)t.destroy();for(const t of this._gridSegments)t.destroy();if(this._wireframeIndexBuffer){this._wireframeIndexBuffer.destroy();for(const t of this._wireframeSegments)t.destroy()}}_createGrid(t){const e=new la,n=new Ma,r=65;for(let t=0;t<r;t++)for(let n=0;n<r;n++)e.emplaceBack(n,t);this._gridSegments=[];for(let t=0,e=0;t<ff.length;t++){const i=ff[t];for(let t=0;t<i;t++)for(let e=0;e<64;e++){const i=t*r+e;n.emplaceBack(i+1,i,i+r),n.emplaceBack(i+r,i+r+1,i+1)}const o=64*i*2;this._gridSegments.push(As.simpleSegment(0,e,(i+1)*r,o)),e+=o}this._gridBuffer=t.createVertexBuffer(e,cf.members),this._gridIndexBuffer=t.createIndexBuffer(n,!0)}_createPoles(t){const e=new Ma;for(let t=0;t<=hf;t++)e.emplaceBack(0,t+1,t+2);this._poleIndexBuffer=t.createIndexBuffer(e,!0);const n=new La,r=new La;this._poleSegments=[];for(let t=0,e=0;t<5;t++){const i=360/(1<<t);n.emplaceBack(0,-uf,0,.5,0),r.emplaceBack(0,-uf,0,.5,1);for(let t=0;t<=hf;t++){const e=t/hf,o=Ln(0,i,e),[a,s,l]=Tf(Rf,Ff,o,uf);n.emplaceBack(a,s,l,e,0),r.emplaceBack(a,s,l,e,1)}this._poleSegments.push(As.simpleSegment(e,0,66,64)),e+=66}this._poleNorthVertexBuffer=t.createVertexBuffer(n,sf,!1),this._poleSouthVertexBuffer=t.createVertexBuffer(r,sf,!1)}getGridBuffers(t){return[this._gridBuffer,this._gridIndexBuffer,this._gridSegments[t]]}getPoleBuffers(t){return[this._poleNorthVertexBuffer,this._poleSouthVertexBuffer,this._poleIndexBuffer,this._poleSegments[t]]}getWirefameBuffers(t,e){if(!this._wireframeSegments){const e=new Aa,n=hf,r=n+1;this._wireframeSegments=[];for(let t=0,i=0;t<ff.length;t++){const o=ff[t];for(let t=0;t<o;t++)for(let i=0;i<n;i++){const n=t*r+i;e.emplaceBack(n,n+1),e.emplaceBack(n,n+r),e.emplaceBack(n,n+r+1)}const a=o*n*3;this._wireframeSegments.push(As.simpleSegment(0,i,(o+1)*r,a)),i+=a}this._wireframeIndexBuffer=t.createIndexBuffer(e)}return[this._gridBuffer,this._wireframeIndexBuffer,this._wireframeSegments[e]]}},t.GlyphManager=jh,t.ImagePosition=ih,t.LivePerformanceUtils=It,t.LngLat=Ps,t.LngLatBounds=Os,t.LocalGlyphMode=Ph,t.MAX_MERCATOR_LATITUDE=Zs,t.MercatorCoordinate=Vs,t.ONE_EM=wd,t.OverscaledTileID=Ku,t.PerformanceMarkers=jt,t.Properties=ea,t.RGBAImage=Mc,t.Ray=uc,t.RequestManager=class{constructor(t,e,n){this._transformRequestFn=t,this._customAccessToken=e,this._silenceAuthErrors=!!n,this._createSkuToken()}_createSkuToken(){const t=function(){let t="";for(let e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",h,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt}_isSkuTokenExpired(){return Date.now()>this._skuTokenExpiresAt}transformRequest(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}}normalizeStyleURL(t,e){if(!vt(t))return t;const n=wt(t);return n.path=`/styles/v1${n.path}`,this._makeAPIURL(n,this._customAccessToken||e)}normalizeGlyphsURL(t,e){if(!vt(t))return t;const n=wt(t);return n.path=`/fonts/v1${n.path}`,this._makeAPIURL(n,this._customAccessToken||e)}normalizeSourceURL(t,e,n,r){if(!vt(t))return t;const i=wt(t);return i.path=`/v4/${i.authority}.json`,i.params.push("secure"),n&&i.params.push(`language=${n}`),r&&i.params.push(`worldview=${r}`),this._makeAPIURL(i,this._customAccessToken||e)}normalizeSpriteURL(t,e,n,r){const i=wt(t);return vt(t)?(i.path=`/styles/v1${i.path}/sprite${e}${n}`,this._makeAPIURL(i,this._customAccessToken||r)):(i.path+=`${e}${n}`,kt(i))}normalizeTileURL(t,e,n){if(this._isSkuTokenExpired()&&this._createSkuToken(),t&&!vt(t))return t;const r=wt(t);r.path=r.path.replace(/(\.(png|jpg)\d*)(?=$)/,`${e||n&&"raster"!==r.authority&&512===n?"@2x":""}${a.supported?".webp":"$1"}`),"raster"===r.authority?r.path=`/${o.RASTER_URL_PREFIX}${r.path}`:(r.path=r.path.replace(/^.+\/v4\//,"/"),r.path=`/${o.TILE_URL_VERSION}${r.path}`);const i=this._customAccessToken||function(t){for(const e of t){const t=e.match(/^access_token=(.*)$/);if(t)return t[1]}return null}(r.params)||o.ACCESS_TOKEN;return o.REQUIRE_ACCESS_TOKEN&&i&&this._skuToken&&r.params.push(`sku=${this._skuToken}`),this._makeAPIURL(r,i)}canonicalizeTileURL(t,e){const n=wt(t);if(!n.path.match(/^(\/v4\/|\/raster\/v1\/)/)||!n.path.match(/\.[\w]+$/))return t;let r="mapbox://";n.path.match(/^\/raster\/v1\//)?r+=`raster/${n.path.replace(`/${o.RASTER_URL_PREFIX}/`,"")}`:r+=`tiles/${n.path.replace(`/${o.TILE_URL_VERSION}/`,"")}`;let i=n.params;return e&&(i=i.filter((t=>!t.match(/^access_token=/)))),i.length&&(r+=`?${i.join("&")}`),r}canonicalizeTileset(t,e){const n=!!e&&vt(e),r=[];for(const e of t.tiles||[])gt(e)?r.push(this.canonicalizeTileURL(e,n)):r.push(e);return r}_makeAPIURL(t,e){const n="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",r=wt(o.API_URL);if(t.protocol=r.protocol,t.authority=r.authority,"http"===t.protocol){const e=t.params.indexOf("secure");e>=0&&t.params.splice(e,1)}if("/"!==r.path&&(t.path=`${r.path}${t.path}`),!o.REQUIRE_ACCESS_TOKEN)return kt(t);if(e=e||o.ACCESS_TOKEN,!this._silenceAuthErrors){if(!e)throw new Error(`An API access token is required to use Mapbox GL. ${n}`);if("s"===e[0])throw new Error(`Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). ${n}`)}return t.params=t.params.filter((t=>-1===t.indexOf("access_token"))),t.params.push(`access_token=${e||""}`),kt(t)}},t.ResourceType=at,t.SegmentVector=As,t.SourceCache=cm,t.StencilMode=im,t.StructArrayLayout1ui2=Da,t.StructArrayLayout2f1f2i16=xa,t.StructArrayLayout2i4=la,t.StructArrayLayout2ui4=Aa,t.StructArrayLayout3f12=ka,t.StructArrayLayout3ui6=Ma,t.StructArrayLayout4i8=ua,t.StructArrayLayout5f20=La,t.Texture=Lp,t.Tile=Zp,t.Transitionable=Ho,t.Uniform1f=ss,t.Uniform1i=class extends as{constructor(t){super(t),this.current=0}set(t,e,n){this.fetchUniformLocation(t,e)&&this.current!==n&&(this.current=n,this.gl.uniform1i(this.location,n))}},t.Uniform2f=class extends as{constructor(t){super(t),this.current=[0,0]}set(t,e,n){this.fetchUniformLocation(t,e)&&(n[0]===this.current[0]&&n[1]===this.current[1]||(this.current=n,this.gl.uniform2f(this.location,n[0],n[1])))}},t.Uniform3f=class extends as{constructor(t){super(t),this.current=[0,0,0]}set(t,e,n){this.fetchUniformLocation(t,e)&&(n[0]===this.current[0]&&n[1]===this.current[1]&&n[2]===this.current[2]||(this.current=n,this.gl.uniform3f(this.location,n[0],n[1],n[2])))}},t.Uniform4f=ls,t.UniformColor=cs,t.UniformMatrix2f=class extends as{constructor(t){super(t),this.current=hs}set(t,e,n){if(this.fetchUniformLocation(t,e))for(let t=0;t<4;t++)if(n[t]!==this.current[t]){this.current=n,this.gl.uniformMatrix2fv(this.location,!1,n);break}}},t.UniformMatrix3f=class extends as{constructor(t){super(t),this.current=ds}set(t,e,n){if(this.fetchUniformLocation(t,e))for(let t=0;t<9;t++)if(n[t]!==this.current[t]){this.current=n,this.gl.uniformMatrix3fv(this.location,!1,n);break}}},t.UniformMatrix4f=class extends as{constructor(t){super(t),this.current=us}set(t,e,n){if(this.fetchUniformLocation(t,e)){if(n[12]!==this.current[12]||n[0]!==this.current[0])return this.current=n,void this.gl.uniformMatrix4fv(this.location,!1,n);for(let t=1;t<16;t++)if(n[t]!==this.current[t]){this.current=n,this.gl.uniformMatrix4fv(this.location,!1,n);break}}}},t.UnwrappedTileID=Ju,t.ValidationError=Jr,t.VectorTileFeature=Du,t.VectorTileWorkerSource=class extends qt{constructor(t,e,n,r,i){super(),this.actor=t,this.layerIndex=e,this.availableImages=n,this.loadVectorData=i||wm,this.loading={},this.loaded={},this.deduped=new xm(t.scheduler),this.isSpriteLoaded=r,this.scheduler=t.scheduler}loadTile(t,e){const n=t.uid,r=t&&t.request,i=r&&r.collectResourceTiming,o=this.loading[n]=new ym(t);o.abort=this.loadVectorData(t,((a,s)=>{const l=!this.loading[n];if(delete this.loading[n],l||a||!s)return o.status="done",l||(this.loaded[n]=o),e(a);const c=s.rawData,u={};s.expires&&(u.expires=s.expires),s.cacheControl&&(u.cacheControl=s.cacheControl),o.vectorTile=s.vectorTile||new Au(new Od(c));const d=()=>{o.parse(o.vectorTile,this.layerIndex,this.availableImages,this.actor,((t,n)=>{if(t||!n)return e(t);const o={};if(i){const t=Ft(r);t.length>0&&(o.resourceTiming=JSON.parse(JSON.stringify(t)))}e(null,A({rawTileData:c.slice(0)},n,u,o))}))};this.isSpriteLoaded?d():this.once("isSpriteLoaded",(()=>{this.scheduler?this.scheduler.add(d,{type:"parseTile",isSymbolTile:t.isSymbolTile,zoom:t.tileZoom}):d()})),this.loaded=this.loaded||{},this.loaded[n]=o}))}reloadTile(t,e){const n=this.loaded,r=t.uid,i=this;if(n&&n[r]){const o=n[r];o.showCollisionBoxes=t.showCollisionBoxes,o.enableTerrain=!!t.enableTerrain,o.projection=t.projection,o.tileTransform=Nf(t.tileID.canonical,t.projection);const a=(t,n)=>{const r=o.reloadCallback;r&&(delete o.reloadCallback,o.parse(o.vectorTile,i.layerIndex,this.availableImages,i.actor,r)),e(t,n)};"parsing"===o.status?o.reloadCallback=a:"done"===o.status&&(o.vectorTile?o.parse(o.vectorTile,this.layerIndex,this.availableImages,this.actor,a):a())}}abortTile(t,e){const n=t.uid,r=this.loading[n];r&&(r.abort&&r.abort(),delete this.loading[n]),e()}removeTile(t,e){const n=this.loaded,r=t.uid;n&&n[r]&&delete n[r],e()}},t.WritingMode=ah,t.ZoomHistory=Ui,t.add=Bl,t.addDynamicAttributes=fp,t.adjoint=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return t[0]=a*u-s*c,t[1]=i*c-r*u,t[2]=r*s-i*a,t[3]=s*l-o*u,t[4]=n*u-i*l,t[5]=i*o-n*s,t[6]=o*c-a*l,t[7]=r*l-n*c,t[8]=n*a-r*o,t},t.asyncAll=L,t.bezier=k,t.bindAll=I,t.boundsAttributes=Np,t.bufferConvexPolygon=function(t,e){const n=[];for(let r=0;r<t.length;r++){const i=T(r-1,-1,t.length-1),o=T(r+1,-1,t.length-1),a=t[r],s=t[o],l=t[i].sub(a).unit(),c=s.sub(a).unit(),u=c.angleWithSep(l.x,l.y),d=l.add(c).unit().mult(-1*e/Math.sin(u/2));n.push(a.add(d))}return n},t.cacheEntryPossiblyAdded=function(t){ot++,ot>et&&(t.getActor().send("enforceCacheSizeLimit",tt),ot=0)},t.calculateGlobeLabelMatrix=function(t,e){const{x:n,y:r}=t.point,i=Pf(n,r,t.worldSize/t._pixelsPerMercatorPixel,0,0);return Ll(i,i,zf(bf(e)))},t.calculateGlobeMatrix=function(t){const{x:e,y:n}=t.point,{lng:r,lat:i}=t._center;return Pf(e,n,t.worldSize,r,i)},t.calculateGlobeMercatorMatrix=function(t){const e=t.pixelsPerMeter,n=e/Fs(1,t.center.lat),r=Sl(new Float64Array(16));return El(r,r,[t.point.x,t.point.y,0]),Al(r,r,[n,n,e]),Float32Array.from(r)},t.circumferenceAtLatitude=Is,t.clamp=C,t.clearTileCache=function(t){if(!nt())return;const n=e.caches.delete(J);t&&n.catch(t).then((()=>t()))},t.clipLine=Ah,t.clone=function(t){var e=new kl(16);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},t.clone$1=B,t.collisionCircleLayout=xd,t.config=o,t.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},t.create=function(){var t=new kl(16);return kl!=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},t.create$1=Ml,t.createExpression=Vr,t.createLayout=aa,t.createStyleLayer=function(t){return"custom"===t.type?new Mp(t):new Tp[t.type](t)},t.cross=ql,t.degToRad=y,t.distance=function(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])},t.div=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t},t.dot=Gl,t.earthRadius=zs,t.ease=M,t.easeCubicInOut=w,t.ecefToLatLng=function([t,e,n]){const r=Math.hypot(t,e,n),i=Math.atan2(t,n),o=.5*Math.PI-Math.acos(-e/r);return new Ps(b(i),b(o))},t.emitValidationErrors=Yi,t.endsWith=Y,t.enforceCacheSizeLimit=function(t){rt(),K&&K.then((e=>{e.keys().then((n=>{for(let r=0;r<n.length-t;r++)e.delete(n[r])}))}))},t.evaluateSizeForFeature=Cd,t.evaluateSizeForZoom=Sd,t.evaluateVariableOffset=qh,t.evented=Yo,t.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]},t.exactEquals$1=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]},t.exported=Ht,t.exported$1=a,t.extend=A,t.extend$1=Jt,t.fillExtrusionHeightLift=Vu,t.filterObject=F,t.fromMat4=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t},t.fromQuat=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,s=r+r,l=i+i,c=n*a,u=r*a,d=r*s,h=i*a,f=i*s,p=i*l,m=o*a,_=o*s,v=o*l;return t[0]=1-d-p,t[1]=u+v,t[2]=h-_,t[3]=0,t[4]=u-v,t[5]=1-c-p,t[6]=f+m,t[7]=0,t[8]=h+_,t[9]=f-m,t[10]=1-c-d,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.fromRotation=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.fromScaling=zl,t.furthestTileCorner=function(t){const e=Math.round((t+45+360)%360/90)%4;return x[e]},t.getAABBPointSquareDist=function(t,e,n){let r=0;for(let i=0;i<2;++i){const o=n?n[i]:0;t[i]>o&&(r+=(t[i]-o)*(t[i]-o)),e[i]<o&&(r+=(o-e[i])*(o-e[i]))}return r},t.getAnchorAlignment=gh,t.getAnchorJustification=Jh,t.getBounds=function(t){let e=1/0,n=1/0,r=-1/0,i=-1/0;for(const o of t)e=Math.min(e,o.x),n=Math.min(n,o.y),r=Math.max(r,o.x),i=Math.max(i,o.y);return{min:new m(e,n),max:new m(r,i)}},t.getColumn=X,t.getGridMatrix=function(t,e,n,r){const i=e.getNorth(),o=e.getSouth(),a=e.getWest(),s=e.getEast(),l=1<<t.z,c=s-a,u=i-o,d=c/hf,h=-u/ff[n],f=[0,d,0,h,0,0,i,a,0];if(t.z>0){const t=180/r;Cl(f,f,[t/c+1,0,0,0,t/u+1,0,-.5*t/d,.5*t/h,1])}return f[2]=l,f[5]=t.x,f[8]=t.y,f},t.getImage=mt,t.getJSON=function(t,e){return ct(A(t,{type:"json"}),e)},t.getLatitudinalLod=function(t){const e=80.051129;t=C(t,-80.051129,e)/e*90;const n=Math.pow(Math.abs(Math.sin(y(t))),3);return Math.round(n*(ff.length-1))},t.getMapSessionAPI=zt,t.getPerformanceMeasurement=Ft,t.getProjection=lp,t.getRTLTextPluginStatus=Ro,t.getReferrer=lt,t.getTilePoint=function(t,{x:e,y:n},r=0){return new m(((e-r)*t.scale-t.x)*Ds,(n*t.scale-t.y)*Ds)},t.getTileVec3=function(t,e,n=0){return Fl(((e.x-n)*t.scale-t.x)*Ds,(e.y*t.scale-t.y)*Ds,$s(e.z,e.y))},t.getVideo=function(t,n){const r=e.document.createElement("video");r.muted=!0,r.onloadstart=function(){n(null,r)};for(let n=0;n<t.length;n++){const i=e.document.createElement("source");dt(t[n])||(r.crossOrigin="Anonymous"),i.src=t[n],r.appendChild(i)}return{cancel:()=>{}}},t.globeCenterToScreenPoint=function(t){const e=[0,0,0],n=Sl(new Float64Array(16));return Ll(n,t.pixelMatrix,t.globeMatrix),Xl(e,e,n),new m(e[0],e[1])},t.globeDenormalizeECEF=zf,t.globeECEFOrigin=function(t,e){const n=[0,0,0];return Xl(n,n,Of(bf(e.canonical))),Xl(n,n,t),n},t.globeNormalizeECEF=Of,t.globePixelsToTileUnits=function(t,e){return Ds/(512*Math.pow(2,t))*Af(bf(e))},t.globePoleMatrixForTile=function(t,e,n){const r=Sl(new Float64Array(16)),i=(e/(1<<t)-.5)*Math.PI*2;return Ol(r,n.globeMatrix,i),Float32Array.from(r)},t.globeTileBounds=bf,t.globeTiltAtLngLat=If,t.globeToMercatorTransition=jf,t.globeUseCustomAntiAliasing=function(t,e,n){const r=jf(n.zoom),i=t.style.map._antialias,o=!!e.extStandardDerivatives,a=e.extStandardDerivativesForceOff||t.terrain&&t.terrain.exaggeration()>0;return 0===r&&!i&&!a&&o},t.identity=Sl,t.identity$1=ac,t.invert=Tl,t.isFullscreen=function(){return!!e.document.fullscreenElement||!!e.document.webkitFullscreenElement},t.isLngLatBehindGlobe=function(t,e){return If(t,e)>Math.PI/2*1.01},t.isMapAuthenticated=function(t){return Pt.has(t)},t.isMapboxURL=vt,t.isSafariWithAntialiasingBug=function(t){const e=t.navigator?t.navigator.userAgent:null;return!!G(t)&&e&&(e.match("Version/15.4")||e.match("Version/15.5")||e.match(/CPU (OS|iPhone OS) (15_4|15_5) like Mac OS X/))},t.latFromMercatorY=Ns,t.latLngToECEF=Lf,t.len=ec,t.length=Rl,t.length$1=function(t){return Math.hypot(t[0],t[1],t[2],t[3])},t.lngFromMercatorX=Bs,t.loadVectorTile=wm,t.makeRequest=ct,t.mapValue=function(t,e,n,r,i){return C((t-e)/(n-e)*(i-r)+r,r,i)},t.mercatorScale=Hs,t.mercatorXfromLng=Ys,t.mercatorYfromLat=Rs,t.mercatorZfromAltitude=Fs,t.mul=jl,t.mul$1=tc,t.multiply=Ll,t.multiply$1=Cl,t.multiply$2=$l,t.nextPowerOfTwo=P,t.normalize=Wl,t.normalize$1=cc,t.normalize$2=rc,t.number=Ln,t.ortho=function(t,e,n,r,i,o,a){var s=1/(e-n),l=1/(r-i),c=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(a+o)*c,t[15]=1,t},t.pbf=Od,t.perspective=function(t,e,n,r,i){var o,a=1/Math.tan(e/2);return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,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+r)*(o=1/(r-i)),t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t},t.pick=function(t,e){const n={};for(let r=0;r<e.length;r++){const i=e[r];i in t&&(n[i]=t[i])}return n},t.plugin=Bo,t.pointGeometry=m,t.polygonContainsPoint=fl,t.polygonIntersectsBox=pl,t.polygonIntersectsPolygon=il,t.polygonizeBounds=function(t,e,n=0,r=!0){const i=new m(n,n),o=t.sub(i),a=e.add(i),s=[o,new m(a.x,o.y),a,new m(o.x,a.y)];return r&&s.push(o.clone()),s},t.posAttributes=cf,t.postMapLoadEvent=Et,t.postPerformanceEvent=Dt,t.postTurnstileEvent=Tt,t.potpack=rh,t.prevPowerOfTwo=function(t){return t<=1?1:Math.pow(2,Math.floor(Math.log(t)/Math.LN2))},t.radToDeg=b,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.registerForPluginStateChange=function(t){return t({pluginStatus:zo,pluginURL:Po}),Yo.on("pluginStateChange",t),t},t.removeAuthState=function(t){Pt.delete(t)},t.renderColorRamp=Sc,t.resample=Ws,t.rotateX=Dl,t.rotateX$1=sc,t.rotateY=Ol,t.rotateY$1=lc,t.rotateZ=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],c=e[4],u=e[5],d=e[6],h=e[7];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]=o*i+c*r,t[1]=a*i+u*r,t[2]=s*i+d*r,t[3]=l*i+h*r,t[4]=c*i-o*r,t[5]=u*i-a*r,t[6]=d*i-s*r,t[7]=h*i-l*r,t},t.rotateZ$1=function(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=o*l+a*s,t[3]=a*l-o*s,t},t.scale=Al,t.scale$1=nc,t.scale$2=Vl,t.scaleAndAdd=Ul,t.set=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t},t.setCacheLimits=function(t,e){tt=t,et=e},t.setColumn=function(t,e,n){t[4*e+0]=n[0],t[4*e+1]=n[1],t[4*e+2]=n[2],t[4*e+3]=n[3]},t.setRTLTextPlugin=function(t,e,n=!1){if(zo===Eo||zo===Ao||zo===Do)throw new Error("setRTLTextPlugin cannot be called multiple times.");Po=Ht.resolveURL(t),zo=Eo,Oo=e,Io(),n||Fo()},t.smoothstep=S,t.spec=Xt,t.squaredLength=function(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r},t.storeAuthState=function(t,e){e?Pt.add(t):Pt.delete(t)},t.sub=Ql,t.subtract=Nl,t.symbolSize=Td,t.tileAABB=function(t,e,n,r,i,o,a,s,l){if("globe"===l.name)return Mf(t,e,new Xu(n,r,i));const c=Nf({z:n,x:r,y:i},l);return new fc([(o+c.x/c.scale)*e,e*(c.y/c.scale),a],[(o+c.x2/c.scale)*e,e*(c.y2/c.scale),s])},t.tileCornersToBounds=Cf,t.tileTransform=Nf,t.transformMat3=function(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t},t.transformMat4=Xl,t.transformMat4$1=ic,t.transformQuat=Jl,t.transitionTileAABBinECEF=wf,t.translate=El,t.transpose=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=i}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t},t.triggerPluginCompletionEvent=jo,t.uniqueId=O,t.updateGlobeVertexNormal=function(t,e,n,r,i){const o=5*e+2;t.float32[o+0]=n,t.float32[o+1]=r,t.float32[o+2]=i},t.validateCustomStyleLayer=function(t){const e=[],n=t.id;return void 0===n&&e.push({message:`layers.${n}: missing required property "id"`}),void 0===t.render&&e.push({message:`layers.${n}: missing required method "render"`}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:`layers.${n}: property "renderingMode" must be either "2d" or "3d"`}),e},t.validateFilter=t=>Ii(gi(t)),t.validateFog=t=>Ii(Ei(t)),t.validateLayer=t=>Ii(ki(t)),t.validateLight=t=>Ii(Ti(t)),t.validateSource=t=>Ii(Si(t)),t.validateStyle=zi,t.validateTerrain=t=>Ii(Li(t)),t.values=E,t.vectorTile=gu,t.version=n,t.warnOnce=$,t.window=e,t.wrap=T})),i(["./shared"],(function(t){function e(t){if("number"==typeof t||"boolean"==typeof t||"string"==typeof t||null==t)return JSON.stringify(t);if(Array.isArray(t)){let n="[";for(const r of t)n+=`${e(r)},`;return`${n}]`}let n="{";for(const r of Object.keys(t).sort())n+=`${r}:${e(t[r])},`;return`${n}}`}function n(n){let r="";for(const i of t.refProperties)r+=`/${e(n[i])}`;return r}class r{constructor(t){this.keyCache={},t&&this.replace(t)}replace(t){this._layerConfigs={},this._layers={},this.update(t,[])}update(e,r){for(const n of e)this._layerConfigs[n.id]=n,(this._layers[n.id]=t.createStyleLayer(n)).compileFilter(),this.keyCache[n.id]&&delete this.keyCache[n.id];for(const t of r)delete this.keyCache[t],delete this._layerConfigs[t],delete this._layers[t];this.familiesBySource={};const i=function(t,e){const r={};for(let i=0;i<t.length;i++){const o=e&&e[t[i].id]||n(t[i]);e&&(e[t[i].id]=o);let a=r[o];a||(a=r[o]=[]),a.push(t[i])}const i=[];for(const t in r)i.push(r[t]);return i}(t.values(this._layerConfigs),this.keyCache);for(const t of i){const e=t.map((t=>this._layers[t.id])),n=e[0];if("none"===n.visibility)continue;const r=n.source||"";let i=this.familiesBySource[r];i||(i=this.familiesBySource[r]={});const o=n.sourceLayer||"_geojsonTileLayer";let a=i[o];a||(a=i[o]=[]),a.push(e)}}}class i{loadTile(e,n){const{uid:r,encoding:i,rawImageData:o,padding:a,buildQuadTree:s}=e,l=t.window.ImageBitmap&&o instanceof t.window.ImageBitmap?this.getImageData(o,a):o;n(null,new t.DEMData(r,l,i,a<1,s))}getImageData(t,e){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);const n=this.offscreenCanvasContext.getImageData(-e,-e,t.width+2*e,t.height+2*e);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),n}}var o=function t(e,n){var r,i=e&&e.type;if("FeatureCollection"===i)for(r=0;r<e.features.length;r++)t(e.features[r],n);else if("GeometryCollection"===i)for(r=0;r<e.geometries.length;r++)t(e.geometries[r],n);else if("Feature"===i)t(e.geometry,n);else if("Polygon"===i)a(e.coordinates,n);else if("MultiPolygon"===i)for(r=0;r<e.coordinates.length;r++)a(e.coordinates[r],n);return e};function a(t,e){if(0!==t.length){s(t[0],e);for(var n=1;n<t.length;n++)s(t[n],!e)}}function s(t,e){for(var n=0,r=0,i=0,o=t.length,a=o-1;i<o;a=i++){var s=(t[i][0]-t[a][0])*(t[a][1]+t[i][1]),l=n+s;r+=Math.abs(n)>=Math.abs(s)?n-l+s:s-l+n,n=l}n+r>=0!=!!e&&t.reverse()}const l=t.VectorTileFeature.prototype.toGeoJSON;class c{constructor(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))}loadGeometry(){if(1===this._feature.type){const e=[];for(const n of this._feature.geometry)e.push([new t.pointGeometry(n[0],n[1])]);return e}{const e=[];for(const n of this._feature.geometry){const r=[];for(const e of n)r.push(new t.pointGeometry(e[0],e[1]));e.push(r)}return e}}toGeoJSON(t,e,n){return l.call(this,t,e,n)}}class u{constructor(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=t.EXTENT,this.length=e.length,this._features=e}feature(t){return new c(this._features[t])}}var d={exports:{}},h=t.pointGeometry,f=t.vectorTile.VectorTileFeature,p=m;function m(t,e){this.options=e||{},this.features=t,this.length=t.length}function _(t,e){this.id="number"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}m.prototype.feature=function(t){return new _(this.features[t],this.options.extent)},_.prototype.loadGeometry=function(){var t=this.rawGeometry;this.geometry=[];for(var e=0;e<t.length;e++){for(var n=t[e],r=[],i=0;i<n.length;i++)r.push(new h(n[i][0],n[i][1]));this.geometry.push(r)}return this.geometry},_.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,n=-1/0,r=1/0,i=-1/0,o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.length;s++){var l=a[s];e=Math.min(e,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),i=Math.max(i,l.y)}return[e,r,n,i]},_.prototype.toGeoJSON=f.prototype.toGeoJSON;var v=t.pbf,g=p;function y(t){var e=new v;return function(t,e){for(var n in t.layers)e.writeMessage(3,b,t.layers[n])}(t,e),e.finish()}function b(t,e){var n;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);var r={keys:[],values:[],keycache:{},valuecache:{}};for(n=0;n<t.length;n++)r.feature=t.feature(n),e.writeMessage(2,x,r);var i=r.keys;for(n=0;n<i.length;n++)e.writeStringField(3,i[n]);var o=r.values;for(n=0;n<o.length;n++)e.writeMessage(4,S,o[n])}function x(t,e){var n=t.feature;void 0!==n.id&&e.writeVarintField(1,n.id),e.writeMessage(2,w,t),e.writeVarintField(3,n.type),e.writeMessage(4,C,n)}function w(t,e){var n=t.feature,r=t.keys,i=t.values,o=t.keycache,a=t.valuecache;for(var s in n.properties){var l=n.properties[s],c=o[s];if(null!==l){void 0===c&&(r.push(s),o[s]=c=r.length-1),e.writeVarint(c);var u=typeof l;"string"!==u&&"boolean"!==u&&"number"!==u&&(l=JSON.stringify(l));var d=u+":"+l,h=a[d];void 0===h&&(i.push(l),a[d]=h=i.length-1),e.writeVarint(h)}}}function k(t,e){return(e<<3)+(7&t)}function M(t){return t<<1^t>>31}function C(t,e){for(var n=t.loadGeometry(),r=t.type,i=0,o=0,a=n.length,s=0;s<a;s++){var l=n[s],c=1;1===r&&(c=l.length),e.writeVarint(k(1,c));for(var u=3===r?l.length-1:l.length,d=0;d<u;d++){1===d&&1!==r&&e.writeVarint(k(2,u-1));var h=l[d].x-i,f=l[d].y-o;e.writeVarint(M(h)),e.writeVarint(M(f)),i+=h,o+=f}3===r&&e.writeVarint(k(7,1))}}function S(t,e){var n=typeof t;"string"===n?e.writeStringField(1,t):"boolean"===n?e.writeBooleanField(7,t):"number"===n&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function T(t,e,n,r,i,o){if(i-r<=n)return;const a=r+i>>1;L(t,e,a,r,i,o%2),T(t,e,n,r,a-1,o+1),T(t,e,n,a+1,i,o+1)}function L(t,e,n,r,i,o){for(;i>r;){if(i-r>600){const a=i-r+1,s=n-r+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(s-a/2<0?-1:1);L(t,e,n,Math.max(r,Math.floor(n-s*c/a+u)),Math.min(i,Math.floor(n+(a-s)*c/a+u)),o)}const a=e[2*n+o];let s=r,l=i;for(E(t,e,r,n),e[2*i+o]>a&&E(t,e,r,i);s<l;){for(E(t,e,s,l),s++,l--;e[2*s+o]<a;)s++;for(;e[2*l+o]>a;)l--}e[2*r+o]===a?E(t,e,r,l):(l++,E(t,e,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1)}}function E(t,e,n,r){A(t,n,r),A(e,2*n,2*r),A(e,2*n+1,2*r+1)}function A(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function D(t,e,n,r){const i=t-n,o=e-r;return i*i+o*o}d.exports=y,d.exports.fromVectorTileJs=y,d.exports.fromGeojsonVt=function(t,e){e=e||{};var n={};for(var r in t)n[r]=new g(t[r].features,e),n[r].name=r,n[r].version=e.version,n[r].extent=e.extent;return y({layers:n})},d.exports.GeoJSONWrapper=g;const O=t=>t[0],z=t=>t[1];class P{constructor(t,e=O,n=z,r=64,i=Float64Array){this.nodeSize=r,this.points=t;const o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new i(2*t.length);for(let r=0;r<t.length;r++)a[r]=r,s[2*r]=e(t[r]),s[2*r+1]=n(t[r]);T(a,s,r,0,a.length-1,0)}range(t,e,n,r){return function(t,e,n,r,i,o,a){const s=[0,t.length-1,0],l=[];let c,u;for(;s.length;){const d=s.pop(),h=s.pop(),f=s.pop();if(h-f<=a){for(let a=f;a<=h;a++)c=e[2*a],u=e[2*a+1],c>=n&&c<=i&&u>=r&&u<=o&&l.push(t[a]);continue}const p=Math.floor((f+h)/2);c=e[2*p],u=e[2*p+1],c>=n&&c<=i&&u>=r&&u<=o&&l.push(t[p]);const m=(d+1)%2;(0===d?n<=c:r<=u)&&(s.push(f),s.push(p-1),s.push(m)),(0===d?i>=c:o>=u)&&(s.push(p+1),s.push(h),s.push(m))}return l}(this.ids,this.coords,t,e,n,r,this.nodeSize)}within(t,e,n){return function(t,e,n,r,i,o){const a=[0,t.length-1,0],s=[],l=i*i;for(;a.length;){const c=a.pop(),u=a.pop(),d=a.pop();if(u-d<=o){for(let i=d;i<=u;i++)D(e[2*i],e[2*i+1],n,r)<=l&&s.push(t[i]);continue}const h=Math.floor((d+u)/2),f=e[2*h],p=e[2*h+1];D(f,p,n,r)<=l&&s.push(t[h]);const m=(c+1)%2;(0===c?n-i<=f:r-i<=p)&&(a.push(d),a.push(h-1),a.push(m)),(0===c?n+i>=f:r+i>=p)&&(a.push(h+1),a.push(u),a.push(m))}return s}(this.ids,this.coords,t,e,n,this.nodeSize)}}const j={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},I=Math.fround||(Y=new Float32Array(1),t=>(Y[0]=+t,Y[0]));var Y;class R{constructor(t){this.options=U(Object.create(j),t),this.trees=new Array(this.options.maxZoom+1)}load(t){const{log:e,minZoom:n,maxZoom:r,nodeSize:i}=this.options;e&&console.time("total time");const o=`prepare ${t.length} points`;e&&console.time(o),this.points=t;let a=[];for(let e=0;e<t.length;e++)t[e].geometry&&a.push(B(t[e],e));this.trees[r+1]=new P(a,W,G,i,Float32Array),e&&console.timeEnd(o);for(let t=r;t>=n;t--){const n=+Date.now();a=this._cluster(a,t),this.trees[t]=new P(a,W,G,i,Float32Array),e&&console.log("z%d: %d clusters in %dms",t,a.length,+Date.now()-n)}return e&&console.timeEnd("total time"),this}getClusters(t,e){let n=((t[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,t[1]));let i=180===t[2]?180:((t[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,i=180;else if(n>i){const t=this.getClusters([n,r,180,o],e),a=this.getClusters([-180,r,i,o],e);return t.concat(a)}const a=this.trees[this._limitZoom(e)],s=a.range(Z(n),H(o),Z(i),H(r)),l=[];for(const t of s){const e=a.points[t];l.push(e.numPoints?N(e):this.points[e.index])}return l}getChildren(t){const e=this._getOriginId(t),n=this._getOriginZoom(t),r="No cluster with the specified id.",i=this.trees[n];if(!i)throw new Error(r);const o=i.points[e];if(!o)throw new Error(r);const a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=i.within(o.x,o.y,a),l=[];for(const e of s){const n=i.points[e];n.parentId===t&&l.push(n.numPoints?N(n):this.points[n.index])}if(0===l.length)throw new Error(r);return l}getLeaves(t,e,n){const r=[];return this._appendLeaves(r,t,e=e||10,n=n||0,0),r}getTile(t,e,n){const r=this.trees[this._limitZoom(t)],i=Math.pow(2,t),{extent:o,radius:a}=this.options,s=a/o,l=(n-s)/i,c=(n+1+s)/i,u={features:[]};return this._addTileFeatures(r.range((e-s)/i,l,(e+1+s)/i,c),r.points,e,n,i,u),0===e&&this._addTileFeatures(r.range(1-s/i,l,1,c),r.points,i,n,i,u),e===i-1&&this._addTileFeatures(r.range(0,l,s/i,c),r.points,-1,n,i,u),u.features.length?u:null}getClusterExpansionZoom(t){let e=this._getOriginZoom(t)-1;for(;e<=this.options.maxZoom;){const n=this.getChildren(t);if(e++,1!==n.length)break;t=n[0].properties.cluster_id}return e}_appendLeaves(t,e,n,r,i){const o=this.getChildren(e);for(const e of o){const o=e.properties;if(o&&o.cluster?i+o.point_count<=r?i+=o.point_count:i=this._appendLeaves(t,o.cluster_id,n,r,i):i<r?i++:t.push(e),t.length===n)break}return i}_addTileFeatures(t,e,n,r,i,o){for(const a of t){const t=e[a],s=t.numPoints;let l,c,u;if(s)l=$(t),c=t.x,u=t.y;else{const e=this.points[t.index];l=e.properties,c=Z(e.geometry.coordinates[0]),u=H(e.geometry.coordinates[1])}const d={type:1,geometry:[[Math.round(this.options.extent*(c*i-n)),Math.round(this.options.extent*(u*i-r))]],tags:l};let h;s?h=t.id:this.options.generateId?h=t.index:this.points[t.index].id&&(h=this.points[t.index].id),void 0!==h&&(d.id=h),o.features.push(d)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,e){const n=[],{radius:r,extent:i,reduce:o,minPoints:a}=this.options,s=r/(i*Math.pow(2,e));for(let r=0;r<t.length;r++){const i=t[r];if(i.zoom<=e)continue;i.zoom=e;const l=this.trees[e+1],c=l.within(i.x,i.y,s),u=i.numPoints||1;let d=u;for(const t of c){const n=l.points[t];n.zoom>e&&(d+=n.numPoints||1)}if(d>u&&d>=a){let t=i.x*u,a=i.y*u,s=o&&u>1?this._map(i,!0):null;const h=(r<<5)+(e+1)+this.points.length;for(const n of c){const r=l.points[n];if(r.zoom<=e)continue;r.zoom=e;const c=r.numPoints||1;t+=r.x*c,a+=r.y*c,r.parentId=h,o&&(s||(s=this._map(i,!0)),o(s,this._map(r)))}i.parentId=h,n.push(F(t/d,a/d,h,d,s))}else if(n.push(i),d>1)for(const t of c){const r=l.points[t];r.zoom<=e||(r.zoom=e,n.push(r))}}return n}_getOriginId(t){return t-this.points.length>>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,e){if(t.numPoints)return e?U({},t.properties):t.properties;const n=this.points[t.index].properties,r=this.options.map(n);return e&&r===n?U({},r):r}}function F(t,e,n,r,i){return{x:I(t),y:I(e),zoom:1/0,id:n,parentId:-1,numPoints:r,properties:i}}function B(t,e){const[n,r]=t.geometry.coordinates;return{x:I(Z(n)),y:I(H(r)),zoom:1/0,index:e,parentId:-1}}function N(t){return{type:"Feature",id:t.id,properties:$(t),geometry:{type:"Point",coordinates:[(e=t.x,360*(e-.5)),V(t.y)]}};var e}function $(t){const e=t.numPoints,n=e>=1e4?`${Math.round(e/1e3)}k`:e>=1e3?Math.round(e/100)/10+"k":e;return U(U({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:n})}function Z(t){return t/360+.5}function H(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function V(t){const e=(180-360*t)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}function U(t,e){for(const n in e)t[n]=e[n];return t}function W(t){return t.x}function G(t){return t.y}function q(t,e,n,r){for(var i,o=r,a=n-e>>1,s=n-e,l=t[e],c=t[e+1],u=t[n],d=t[n+1],h=e+3;h<n;h+=3){var f=X(t[h],t[h+1],l,c,u,d);if(f>o)i=h,o=f;else if(f===o){var p=Math.abs(h-a);p<s&&(i=h,s=p)}}o>r&&(i-e>3&&q(t,e,i,r),t[i+2]=o,n-i>3&&q(t,i,n,r))}function X(t,e,n,r,i,o){var a=i-n,s=o-r;if(0!==a||0!==s){var l=((t-n)*a+(e-r)*s)/(a*a+s*s);l>1?(n=i,r=o):l>0&&(n+=a*l,r+=s*l)}return(a=t-n)*a+(s=e-r)*s}function J(t,e,n,r){var i={id:void 0===t?null:t,type:e,geometry:n,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,n=t.type;if("Point"===n||"MultiPoint"===n||"LineString"===n)K(t,e);else if("Polygon"===n||"MultiLineString"===n)for(var r=0;r<e.length;r++)K(t,e[r]);else if("MultiPolygon"===n)for(r=0;r<e.length;r++)for(var i=0;i<e[r].length;i++)K(t,e[r][i])}(i),i}function K(t,e){for(var n=0;n<e.length;n+=3)t.minX=Math.min(t.minX,e[n]),t.minY=Math.min(t.minY,e[n+1]),t.maxX=Math.max(t.maxX,e[n]),t.maxY=Math.max(t.maxY,e[n+1])}function Q(t,e,n,r){if(e.geometry){var i=e.geometry.coordinates,o=e.geometry.type,a=Math.pow(n.tolerance/((1<<n.maxZoom)*n.extent),2),s=[],l=e.id;if(n.promoteId?l=e.properties[n.promoteId]:n.generateId&&(l=r||0),"Point"===o)tt(i,s);else if("MultiPoint"===o)for(var c=0;c<i.length;c++)tt(i[c],s);else if("LineString"===o)et(i,s,a,!1);else if("MultiLineString"===o){if(n.lineMetrics){for(c=0;c<i.length;c++)et(i[c],s=[],a,!1),t.push(J(l,"LineString",s,e.properties));return}nt(i,s,a,!1)}else if("Polygon"===o)nt(i,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(c=0;c<e.geometry.geometries.length;c++)Q(t,{id:l,geometry:e.geometry.geometries[c],properties:e.properties},n,r);return}throw new Error("Input data is not a valid GeoJSON object.")}for(c=0;c<i.length;c++){var u=[];nt(i[c],u,a,!0),s.push(u)}}t.push(J(l,o,s,e.properties))}}function tt(t,e){e.push(rt(t[0])),e.push(it(t[1])),e.push(0)}function et(t,e,n,r){for(var i,o,a=0,s=0;s<t.length;s++){var l=rt(t[s][0]),c=it(t[s][1]);e.push(l),e.push(c),e.push(0),s>0&&(a+=r?(i*c-l*o)/2:Math.sqrt(Math.pow(l-i,2)+Math.pow(c-o,2))),i=l,o=c}var u=e.length-3;e[2]=1,q(e,0,u,n),e[u+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function nt(t,e,n,r){for(var i=0;i<t.length;i++){var o=[];et(t[i],o,n,r),e.push(o)}}function rt(t){return t/360+.5}function it(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function ot(t,e,n,r,i,o,a,s){if(r/=e,o>=(n/=e)&&a<r)return t;if(a<n||o>=r)return null;for(var l=[],c=0;c<t.length;c++){var u=t[c],d=u.geometry,h=u.type,f=0===i?u.minX:u.minY,p=0===i?u.maxX:u.maxY;if(f>=n&&p<r)l.push(u);else if(!(p<n||f>=r)){var m=[];if("Point"===h||"MultiPoint"===h)at(d,m,n,r,i);else if("LineString"===h)st(d,m,n,r,i,!1,s.lineMetrics);else if("MultiLineString"===h)ct(d,m,n,r,i,!1);else if("Polygon"===h)ct(d,m,n,r,i,!0);else if("MultiPolygon"===h)for(var _=0;_<d.length;_++){var v=[];ct(d[_],v,n,r,i,!0),v.length&&m.push(v)}if(m.length){if(s.lineMetrics&&"LineString"===h){for(_=0;_<m.length;_++)l.push(J(u.id,h,m[_],u.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===m.length?(h="LineString",m=m[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===m.length?"Point":"MultiPoint"),l.push(J(u.id,h,m,u.tags))}}}return l.length?l:null}function at(t,e,n,r,i){for(var o=0;o<t.length;o+=3){var a=t[o+i];a>=n&&a<=r&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function st(t,e,n,r,i,o,a){for(var s,l,c=lt(t),u=0===i?dt:ht,d=t.start,h=0;h<t.length-3;h+=3){var f=t[h],p=t[h+1],m=t[h+2],_=t[h+3],v=t[h+4],g=0===i?f:p,y=0===i?_:v,b=!1;a&&(s=Math.sqrt(Math.pow(f-_,2)+Math.pow(p-v,2))),g<n?y>n&&(l=u(c,f,p,_,v,n),a&&(c.start=d+s*l)):g>r?y<r&&(l=u(c,f,p,_,v,r),a&&(c.start=d+s*l)):ut(c,f,p,m),y<n&&g>=n&&(l=u(c,f,p,_,v,n),b=!0),y>r&&g<=r&&(l=u(c,f,p,_,v,r),b=!0),!o&&b&&(a&&(c.end=d+s*l),e.push(c),c=lt(t)),a&&(d+=s)}var x=t.length-3;f=t[x],p=t[x+1],m=t[x+2],(g=0===i?f:p)>=n&&g<=r&&ut(c,f,p,m),x=c.length-3,o&&x>=3&&(c[x]!==c[0]||c[x+1]!==c[1])&&ut(c,c[0],c[1],c[2]),c.length&&e.push(c)}function lt(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function ct(t,e,n,r,i,o){for(var a=0;a<t.length;a++)st(t[a],e,n,r,i,o,!1)}function ut(t,e,n,r){t.push(e),t.push(n),t.push(r)}function dt(t,e,n,r,i,o){var a=(o-e)/(r-e);return t.push(o),t.push(n+(i-n)*a),t.push(1),a}function ht(t,e,n,r,i,o){var a=(o-n)/(i-n);return t.push(e+(r-e)*a),t.push(o),t.push(1),a}function ft(t,e){for(var n=[],r=0;r<t.length;r++){var i,o=t[r],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)i=pt(o.geometry,e);else if("MultiLineString"===a||"Polygon"===a){i=[];for(var s=0;s<o.geometry.length;s++)i.push(pt(o.geometry[s],e))}else if("MultiPolygon"===a)for(i=[],s=0;s<o.geometry.length;s++){for(var l=[],c=0;c<o.geometry[s].length;c++)l.push(pt(o.geometry[s][c],e));i.push(l)}n.push(J(o.id,a,i,o.tags))}return n}function pt(t,e){var n=[];n.size=t.size,void 0!==t.start&&(n.start=t.start,n.end=t.end);for(var r=0;r<t.length;r+=3)n.push(t[r]+e,t[r+1],t[r+2]);return n}function mt(t,e){if(t.transformed)return t;var n,r,i,o=1<<t.z,a=t.x,s=t.y;for(n=0;n<t.features.length;n++){var l=t.features[n],c=l.geometry,u=l.type;if(l.geometry=[],1===u)for(r=0;r<c.length;r+=2)l.geometry.push(_t(c[r],c[r+1],e,o,a,s));else for(r=0;r<c.length;r++){var d=[];for(i=0;i<c[r].length;i+=2)d.push(_t(c[r][i],c[r][i+1],e,o,a,s));l.geometry.push(d)}}return t.transformed=!0,t}function _t(t,e,n,r,i,o){return[Math.round(n*(t*r-i)),Math.round(n*(e*r-o))]}function vt(t,e,n,r,i){for(var o=e===i.maxZoom?0:i.tolerance/((1<<e)*i.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:n,y:r,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){a.numFeatures++,gt(a,t[s],o,i);var l=t[s].minX,c=t[s].minY,u=t[s].maxX,d=t[s].maxY;l<a.minX&&(a.minX=l),c<a.minY&&(a.minY=c),u>a.maxX&&(a.maxX=u),d>a.maxY&&(a.maxY=d)}return a}function gt(t,e,n,r){var i=e.geometry,o=e.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<i.length;s+=3)a.push(i[s]),a.push(i[s+1]),t.numPoints++,t.numSimplified++;else if("LineString"===o)yt(a,i,t,n,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<i.length;s++)yt(a,i[s],t,n,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<i.length;l++){var c=i[l];for(s=0;s<c.length;s++)yt(a,c[s],t,n,!0,0===s)}if(a.length){var u=e.tags||null;if("LineString"===o&&r.lineMetrics){for(var d in u={},e.tags)u[d]=e.tags[d];u.mapbox_clip_start=i.start/i.size,u.mapbox_clip_end=i.end/i.size}var h={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:u};null!==e.id&&(h.id=e.id),t.features.push(h)}}function yt(t,e,n,r,i,o){var a=r*r;if(r>0&&e.size<(i?a:r))n.numPoints+=e.length/3;else{for(var s=[],l=0;l<e.length;l+=3)(0===r||e[l+2]>a)&&(n.numSimplified++,s.push(e[l]),s.push(e[l+1])),n.numPoints++;i&&function(t,e){for(var n=0,r=0,i=t.length,o=i-2;r<i;o=r,r+=2)n+=(t[r]-t[o])*(t[r+1]+t[o+1]);if(n>0===e)for(r=0,i=t.length;r<i/2;r+=2){var a=t[r],s=t[r+1];t[r]=t[i-2-r],t[r+1]=t[i-1-r],t[i-2-r]=a,t[i-1-r]=s}}(s,o),t.push(s)}}function bt(t,e){var n=(e=this.options=function(t,e){for(var n in e)t[n]=e[n];return t}(Object.create(this.options),e)).debug;if(n&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var r=function(t,e){var n=[];if("FeatureCollection"===t.type)for(var r=0;r<t.features.length;r++)Q(n,t.features[r],e,r);else Q(n,"Feature"===t.type?t:{geometry:t},e);return n}(t,e);this.tiles={},this.tileCoords=[],n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),r=function(t,e){var n=e.buffer/e.extent,r=t,i=ot(t,1,-1-n,n,0,-1,2,e),o=ot(t,1,1-n,2+n,0,-1,2,e);return(i||o)&&(r=ot(t,1,-n,1+n,0,-1,2,e)||[],i&&(r=ft(i,1).concat(r)),o&&(r=r.concat(ft(o,-1)))),r}(r,e),r.length&&this.splitTile(r,0,0,0),n&&(r.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)))}function xt(t,e,n){return 32*((1<<t)*n+e)+t}function wt(t,e){const n=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);const r=this._geoJSONIndex.getTile(n.z,n.x,n.y);if(!r)return e(null,null);const i=new u(r.features);let o=d.exports(i);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),e(null,{vectorTile:i,rawData:o.buffer})}bt.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},bt.prototype.splitTile=function(t,e,n,r,i,o,a){for(var s=[t,e,n,r],l=this.options,c=l.debug;s.length;){r=s.pop(),n=s.pop(),e=s.pop(),t=s.pop();var u=1<<e,d=xt(e,n,r),h=this.tiles[d];if(!h&&(c>1&&console.time("creation"),h=this.tiles[d]=vt(t,e,n,r,l),this.tileCoords.push({z:e,x:n,y:r}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,n,r,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var f="z"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(h.source=t,i){if(e===l.maxZoom||e===i)continue;var p=1<<i-e;if(n!==Math.floor(o/p)||r!==Math.floor(a/p))continue}else if(e===l.indexMaxZoom||h.numPoints<=l.indexMaxPoints)continue;if(h.source=null,0!==t.length){c>1&&console.time("clipping");var m,_,v,g,y,b,x=.5*l.buffer/l.extent,w=.5-x,k=.5+x,M=1+x;m=_=v=g=null,y=ot(t,u,n-x,n+k,0,h.minX,h.maxX,l),b=ot(t,u,n+w,n+M,0,h.minX,h.maxX,l),t=null,y&&(m=ot(y,u,r-x,r+k,1,h.minY,h.maxY,l),_=ot(y,u,r+w,r+M,1,h.minY,h.maxY,l),y=null),b&&(v=ot(b,u,r-x,r+k,1,h.minY,h.maxY,l),g=ot(b,u,r+w,r+M,1,h.minY,h.maxY,l),b=null),c>1&&console.timeEnd("clipping"),s.push(m||[],e+1,2*n,2*r),s.push(_||[],e+1,2*n,2*r+1),s.push(v||[],e+1,2*n+1,2*r),s.push(g||[],e+1,2*n+1,2*r+1)}}},bt.prototype.getTile=function(t,e,n){var r=this.options,i=r.extent,o=r.debug;if(t<0||t>24)return null;var a=1<<t,s=xt(t,e=(e%a+a)%a,n);if(this.tiles[s])return mt(this.tiles[s],i);o>1&&console.log("drilling down to z%d-%d-%d",t,e,n);for(var l,c=t,u=e,d=n;!l&&c>0;)c--,u=Math.floor(u/2),d=Math.floor(d/2),l=this.tiles[xt(c,u,d)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",c,u,d),o>1&&console.time("drilling down"),this.splitTile(l.source,c,u,d,t,e,n),o>1&&console.timeEnd("drilling down"),this.tiles[s]?mt(this.tiles[s],i):null):null};class kt extends t.VectorTileWorkerSource{constructor(t,e,n,r,i){super(t,e,n,r,wt),i&&(this.loadGeoJSON=i)}loadData(e,n){const r=e&&e.request,i=r&&r.collectResourceTiming;this.loadGeoJSON(e,((a,s)=>{if(a||!s)return n(a);if("object"!=typeof s)return n(new Error(`Input data given to '${e.source}' is not a valid GeoJSON object.`));{o(s,!0);try{if(e.filter){const n=t.createExpression(e.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===n.result)throw new Error(n.value.map((t=>`${t.key}: ${t.message}`)).join(", "));const r=s.features.filter((t=>n.value.evaluate({zoom:0},t)));s={type:"FeatureCollection",features:r}}this._geoJSONIndex=e.cluster?new R(function({superclusterOptions:e,clusterProperties:n}){if(!n||!e)return e;const r={},i={},o={accumulated:null,zoom:0},a={properties:null},s=Object.keys(n);for(const e of s){const[o,a]=n[e],s=t.createExpression(a),l=t.createExpression("string"==typeof o?[o,["accumulated"],["get",e]]:o);r[e]=s.value,i[e]=l.value}return e.map=t=>{a.properties=t;const e={};for(const t of s)e[t]=r[t].evaluate(o,a);return e},e.reduce=(t,e)=>{a.properties=e;for(const e of s)o.accumulated=t[e],t[e]=i[e].evaluate(o,a)},e}(e)).load(s.features):function(t,e){return new bt(t,e)}(s,e.geojsonVtOptions)}catch(a){return n(a)}this.loaded={};const l={};if(i){const n=t.getPerformanceMeasurement(r);n&&(l.resourceTiming={},l.resourceTiming[e.source]=JSON.parse(JSON.stringify(n)))}n(null,l)}}))}reloadTile(t,e){const n=this.loaded;return n&&n[t.uid]?super.reloadTile(t,e):this.loadTile(t,e)}loadGeoJSON(e,n){if(e.request)t.getJSON(e.request,n);else{if("string"!=typeof e.data)return n(new Error(`Input data given to '${e.source}' is not a valid GeoJSON object.`));try{return n(null,JSON.parse(e.data))}catch(t){return n(new Error(`Input data given to '${e.source}' is not a valid GeoJSON object.`))}}}getClusterExpansionZoom(t,e){try{e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))}catch(t){e(t)}}getClusterChildren(t,e){try{e(null,this._geoJSONIndex.getChildren(t.clusterId))}catch(t){e(t)}}getClusterLeaves(t,e){try{e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))}catch(t){e(t)}}}class Mt{constructor(e){this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.availableImages={},this.isSpriteLoaded={},this.projections={},this.defaultProjection=t.getProjection({name:"mercator"}),this.workerSourceTypes={vector:t.VectorTileWorkerSource,geojson:kt},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=(t,e)=>{if(this.workerSourceTypes[t])throw new Error(`Worker source with name "${t}" already registered.`);this.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=e=>{if(t.plugin.isParsed())throw new Error("RTL text plugin already registered.");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}}clearCaches(t,e,n){delete this.layerIndexes[t],delete this.availableImages[t],delete this.workerSources[t],delete this.demWorkerSources[t],n()}checkIfReady(t,e,n){n()}setReferrer(t,e){this.referrer=e}spriteLoaded(e,n){this.isSpriteLoaded[e]=n;for(const r in this.workerSources[e]){const i=this.workerSources[e][r];for(const e in i)i[e]instanceof t.VectorTileWorkerSource&&(i[e].isSpriteLoaded=n,i[e].fire(new t.Event("isSpriteLoaded")))}}setImages(t,e,n){this.availableImages[t]=e;for(const n in this.workerSources[t]){const r=this.workerSources[t][n];for(const t in r)r[t].availableImages=e}n()}enableTerrain(t,e,n){this.terrain=e,n()}setProjection(e,n){this.projections[e]=t.getProjection(n)}setLayers(t,e,n){this.getLayerIndex(t).replace(e),n()}updateLayers(t,e,n){this.getLayerIndex(t).update(e.layers,e.removedIds),n()}loadTile(e,n,r){const i=this.enableTerrain?t.extend({enableTerrain:this.terrain},n):n;i.projection=this.projections[e]||this.defaultProjection,this.getWorkerSource(e,n.type,n.source).loadTile(i,r)}loadDEMTile(e,n,r){const i=this.enableTerrain?t.extend({buildQuadTree:this.terrain},n):n;this.getDEMWorkerSource(e,n.source).loadTile(i,r)}reloadTile(e,n,r){const i=this.enableTerrain?t.extend({enableTerrain:this.terrain},n):n;i.projection=this.projections[e]||this.defaultProjection,this.getWorkerSource(e,n.type,n.source).reloadTile(i,r)}abortTile(t,e,n){this.getWorkerSource(t,e.type,e.source).abortTile(e,n)}removeTile(t,e,n){this.getWorkerSource(t,e.type,e.source).removeTile(e,n)}removeSource(t,e,n){if(!this.workerSources[t]||!this.workerSources[t][e.type]||!this.workerSources[t][e.type][e.source])return;const r=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==r.removeSource?r.removeSource(e,n):n()}loadWorkerSource(t,e,n){try{this.self.importScripts(e.url),n()}catch(t){n(t.toString())}}syncRTLPluginState(e,n,r){try{t.plugin.setState(n);const e=t.plugin.getPluginURL();if(t.plugin.isLoaded()&&!t.plugin.isParsed()&&null!=e){this.self.importScripts(e);const n=t.plugin.isParsed();r(n?void 0:new Error(`RTL Text Plugin failed to import scripts from ${e}`),n)}}catch(t){r(t.toString())}}getAvailableImages(t){let e=this.availableImages[t];return e||(e=[]),e}getLayerIndex(t){let e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new r),e}getWorkerSource(t,e,n){if(this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),!this.workerSources[t][e][n]){const r={send:(e,n,r,i,o,a)=>{this.actor.send(e,n,r,t,o,a)},scheduler:this.actor.scheduler};this.workerSources[t][e][n]=new this.workerSourceTypes[e](r,this.getLayerIndex(t),this.getAvailableImages(t),this.isSpriteLoaded[t])}return this.workerSources[t][e][n]}getDEMWorkerSource(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new i),this.demWorkerSources[t][e]}enforceCacheSizeLimit(e,n){t.enforceCacheSizeLimit(n)}getWorkerPerformanceMetrics(t,e,n){n(void 0,void 0)}}return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope&&(self.worker=new Mt(self)),Mt})),i(["./shared"],(function(t){function e(t,n){if(Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==n){if("object"!=typeof n)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(!e(t[r],n[r]))return!1;return!0}return t===n}var n=r;function r(t){return!function(t){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(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,n=new Blob([""],{type:"text/javascript"}),r=URL.createObjectURL(n);try{e=new Worker(r),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(r),t}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var t=document.createElement("canvas");t.width=t.height=1;var e=t.getContext("2d");if(!e)return!1;var n=e.getImageData(0,0,1,1);return n&&n.width===t.width}()?(void 0===i[e=t&&t.failIfMajorPerformanceCaveat]&&(i[e]=function(t){var e,n=function(t){var e=document.createElement("canvas"),n=Object.create(r.webGLContextAttributes);return n.failIfMajorPerformanceCaveat=t,e.getContext("webgl",n)||e.getContext("experimental-webgl",n)}(t);if(!n)return!1;try{e=n.createShader(n.VERTEX_SHADER)}catch(t){return!1}return!(!e||n.isContextLost())&&(n.shaderSource(e,"void main() {}
2"),n.compileShader(e),!0===n.getShaderParameter(e,n.COMPILE_STATUS))}(e)),i[e]?document.documentMode?"insufficient ECMAScript 6 support":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";var e}(t)}var i={};function o(e,n,r){const i=t.window.document.createElement(e);return void 0!==n&&(i.className=n),r&&r.appendChild(i),i}function a(e,n,r){const i=t.window.document.createElementNS("http://www.w3.org/2000/svg",e);for(const t of Object.keys(n))i.setAttributeNS(null,t,n[t]);return r&&r.appendChild(i),i}r.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};const s=t.window.document&&t.window.document.documentElement.style,l=s&&void 0!==s.userSelect?"userSelect":"WebkitUserSelect";let c;function u(){s&&l&&(c=s[l],s[l]="none")}function d(){s&&l&&(s[l]=c)}function h(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",h,!0)}function f(){t.window.addEventListener("click",h,!0),t.window.setTimeout((()=>{t.window.removeEventListener("click",h,!0)}),0)}function p(t,e){const n=t.getBoundingClientRect();return v(t,n,e)}function m(t,e){const n=t.getBoundingClientRect(),r=[];for(let i=0;i<e.length;i++)r.push(v(t,n,e[i]));return r}function _(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button}function v(e,n,r){const i=e.offsetWidth===n.width?1:e.offsetWidth/n.width;return new t.pointGeometry((r.clientX-n.left)*i,(r.clientY-n.top)*i)}function g(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*o-i*r;return a?(t[0]=o*(a=1/a),t[1]=-r*a,t[2]=-i*a,t[3]=n*a,t):null}function y(t){const{userImage:e}=t;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}class b extends t.Evented{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(t){if(this.loaded!==t&&(this.loaded=t,t)){for(const{ids:t,callback:e}of this.requestors)this._notify(t,e);this.requestors=[]}}hasImage(t){return!!this.getImage(t)}getImage(t){return this.images[t]}addImage(t,e){this._validate(t,e)&&(this.images[t]=e)}_validate(e,n){let r=!0;return this._validateStretch(n.stretchX,n.data&&n.data.width)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "stretchX" value`))),r=!1),this._validateStretch(n.stretchY,n.data&&n.data.height)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "stretchY" value`))),r=!1),this._validateContent(n.content,n)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "content" value`))),r=!1),r}_validateStretch(t,e){if(!t)return!0;let n=0;for(const r of t){if(r[0]<n||r[1]<r[0]||e<r[1])return!1;n=r[1]}return!0}_validateContent(t,e){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]))}updateImage(t,e){e.version=this.images[t].version+1,this.images[t]=e,this.updatedImages[t]=!0}removeImage(t){const e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()}listImages(){return Object.keys(this.images)}getImages(t,e){let n=!0;if(!this.isLoaded())for(const e of t)this.images[e]||(n=!1);this.isLoaded()||n?this._notify(t,e):this.requestors.push({ids:t,callback:e})}_notify(e,n){const r={};for(const n of e){this.images[n]||this.fire(new t.Event("styleimagemissing",{id:n}));const e=this.images[n];e?r[n]={data:e.data.clone(),pixelRatio:e.pixelRatio,sdf:e.sdf,version:e.version,stretchX:e.stretchX,stretchY:e.stretchY,content:e.content,hasRenderCallback:Boolean(e.userImage&&e.userImage.render)}: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(null,r)}getPixelSize(){const{width:t,height:e}=this.atlasImage;return{width:t,height:e}}getPattern(e){const n=this.patterns[e],r=this.getImage(e);if(!r)return null;if(n&&n.position.version===r.version)return n.position;if(n)n.position.version=r.version;else{const n={w:r.data.width+2,h:r.data.height+2,x:0,y:0},i=new t.ImagePosition(n,r);this.patterns[e]={bin:n,position:i}}return this._updatePatternAtlas(),this.patterns[e].position}bind(e){const n=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,n.RGBA),this.atlasTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)}_updatePatternAtlas(){const e=[];for(const t in this.patterns)e.push(this.patterns[t].bin);const{w:n,h:r}=t.potpack(e),i=this.atlasImage;i.resize({width:n||1,height:r||1});for(const e in this.patterns){const{bin:n}=this.patterns[e],r=n.x+1,o=n.y+1,a=this.images[e].data,s=a.width,l=a.height;t.RGBAImage.copy(a,i,{x:0,y:0},{x:r,y:o},{width:s,height:l}),t.RGBAImage.copy(a,i,{x:0,y:l-1},{x:r,y:o-1},{width:s,height:1}),t.RGBAImage.copy(a,i,{x:0,y:0},{x:r,y:o+l},{width:s,height:1}),t.RGBAImage.copy(a,i,{x:s-1,y:0},{x:r-1,y:o},{width:1,height:l}),t.RGBAImage.copy(a,i,{x:0,y:0},{x:r+s,y:o},{width:1,height:l})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}
vendor: 46,058 bytes, line 2
2dispatchRenderCallbacks(t){for(const e of t){if(this.callbackDispatchedThisFrame[e])continue;this.callbackDispatchedThisFrame[e]=!0;const t=this.images[e];y(t)&&this.updateImage(e,t)}}}const x=new t.Properties({anchor:new t.DataConstantProperty(t.spec.light.anchor),position:new class{constructor(){this.specification=t.spec.light.position}possiblyEvaluate(e,n){return function([e,n,r]){const i=t.degToRad(n+90),o=t.degToRad(r);return{x:e*Math.cos(i)*Math.sin(o),y:e*Math.sin(i)*Math.sin(o),z:e*Math.cos(o),azimuthal:n,polar:r}}(e.expression.evaluate(n))}interpolate(e,n,r){return{x:t.number(e.x,n.x,r),y:t.number(e.y,n.y,r),z:t.number(e.z,n.z,r),azimuthal:t.number(e.azimuthal,n.azimuthal,r),polar:t.number(e.polar,n.polar,r)}}},color:new t.DataConstantProperty(t.spec.light.color),intensity:new t.DataConstantProperty(t.spec.light.intensity)}),w="-transition";class k extends t.Evented{constructor(e){super(),this._transitionable=new t.Transitionable(x),this.setLight(e),this._transitioning=this._transitionable.untransitioned()}getLight(){return this._transitionable.serialize()}setLight(e,n={}){if(!this._validate(t.validateLight,e,n))for(const n in e){const r=e[n];t.endsWith(n,w)?this._transitionable.setTransition(n.slice(0,-w.length),r):this._transitionable.setValue(n,r)}}updateTransitions(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(t){this.properties=this._transitioning.possiblyEvaluate(t)}_validate(e,n,r){return(!r||!1!==r.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:n,style:{glyphs:!0,sprite:!0},styleSpec:t.spec})))}}const M=new t.Properties({source:new t.DataConstantProperty(t.spec.terrain.source),exaggeration:new t.DataConstantProperty(t.spec.terrain.exaggeration)}),C="-transition";class S extends t.Evented{constructor(e,n){super(),this._transitionable=new t.Transitionable(M),this.set(e),this._transitioning=this._transitionable.untransitioned(),this.drapeRenderMode=n}get(){return this._transitionable.serialize()}set(e){for(const n in e){const r=e[n];t.endsWith(n,C)?this._transitionable.setTransition(n.slice(0,-C.length),r):this._transitionable.setValue(n,r)}}updateTransitions(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(t){this.properties=this._transitioning.possiblyEvaluate(t)}}function T(e,n,r,i){const o=t.smoothstep(45,65,r),[a,s]=L(e,i),l=t.length(n);let c=1-Math.min(1,Math.exp((l-a)/(s-a)*-6));return c*=c*c,c=Math.min(1,1.00747*c),c*o*e.alpha}function L(t,e){const n=.5/Math.tan(.5*e);return[t.range[0]+n,t.range[1]+n]}const E=new t.Properties({range:new t.DataConstantProperty(t.spec.fog.range),color:new t.DataConstantProperty(t.spec.fog.color),"high-color":new t.DataConstantProperty(t.spec.fog["high-color"]),"space-color":new t.DataConstantProperty(t.spec.fog["space-color"]),"horizon-blend":new t.DataConstantProperty(t.spec.fog["horizon-blend"]),"star-intensity":new t.DataConstantProperty(t.spec.fog["star-intensity"])}),A="-transition";class D extends t.Evented{constructor(e,n){super(),this._transitionable=new t.Transitionable(E),this.set(e),this._transitioning=this._transitionable.untransitioned(),this._transform=n}get state(){const e=this._transform,n="globe"===e.projection.name,r=t.globeToMercatorTransition(e.zoom),i=this.properties.get("range"),o=[.5,3];return{range:n?[t.number(o[0],i[0],r),t.number(o[1],i[1],r)]:i,horizonBlend:this.properties.get("horizon-blend"),alpha:this.properties.get("color").a}}get(){return this._transitionable.serialize()}set(e,n={}){if(!this._validate(t.validateFog,e,n)){for(const n of Object.keys(t.spec.fog))e&&void 0===e[n]&&(e[n]=t.spec.fog[n].default);for(const n in e){const r=e[n];t.endsWith(n,A)?this._transitionable.setTransition(n.slice(0,-A.length),r):this._transitionable.setValue(n,r)}}}getOpacity(e){if(!this._transform.projection.supportsFog)return 0;const n=this.properties&&this.properties.get("color")||1;return("globe"===this._transform.projection.name?1:t.smoothstep(45,65,e))*n.a}getOpacityAtLatLng(e,n){return this._transform.projection.supportsFog?function(e,n,r){const i=t.MercatorCoordinate.fromLngLat(n),o=r.elevation?r.elevation.getAtPointOrZero(i):0,a=[i.x,i.y,o];return t.transformMat4(a,a,r.mercatorFogMatrix),T(e,a,r.pitch,r._fov)}(this.state,e,n):0}getFovAdjustedRange(t){return this._transform.projection.supportsFog?L(this.state,t):[0,1]}updateTransitions(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(t){this.properties=this._transitioning.possiblyEvaluate(t)}_validate(e,n,r){return(!r||!1!==r.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:n,style:{glyphs:!0,sprite:!0},styleSpec:t.spec})))}}class O{constructor(e,n){this.workerPool=e,this.actors=[],this.currentActor=0,this.id=t.uniqueId();const r=this.workerPool.acquire(this.id);for(let t=0;t<r.length;t++){const e=new O.Actor(r[t],n,this.id);e.name=`Worker ${t}`,this.actors.push(e)}this.ready=!1,this.broadcast("checkIfReady",null,(()=>{this.ready=!0}))}broadcast(e,n,r){t.asyncAll(this.actors,((t,r)=>{t.send(e,n,r)}),r=r||function(){})}getActor(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]}remove(){this.actors.forEach((t=>{t.remove()})),this.actors=[],this.workerPool.release(this.id)}}function z(e,n,r){return n*(t.EXTENT/(e.tileSize*Math.pow(2,r-e.tileID.overscaledZ)))}O.Actor=t.Actor;class P{constructor(t,e,n,r){this.screenBounds=t,this.cameraPoint=e,this._screenRaycastCache={},this._cameraRaycastCache={},this.isAboveHorizon=n,this.screenGeometry=this.bufferedScreenGeometry(0),this.screenGeometryMercator=this._bufferedScreenMercator(0,r)}static createFromScreenPoints(e,n){let r,i;if(e instanceof t.pointGeometry||"number"==typeof e[0]){const o=t.pointGeometry.convert(e);r=[o],i=n.isPointAboveHorizon(o)}else{const o=t.pointGeometry.convert(e[0]),a=t.pointGeometry.convert(e[1]);r=[o,a],i=t.polygonizeBounds(o,a).every((t=>n.isPointAboveHorizon(t)))}return new P(r,n.getCameraPoint(),i,n)}isPointQuery(){return 1===this.screenBounds.length}bufferedScreenGeometry(e){return t.polygonizeBounds(this.screenBounds[0],1===this.screenBounds.length?this.screenBounds[0]:this.screenBounds[1],e)}bufferedCameraGeometry(e){const n=this.screenBounds[0],r=1===this.screenBounds.length?this.screenBounds[0].add(new t.pointGeometry(1,1)):this.screenBounds[1],i=t.polygonizeBounds(n,r,0,!1);return this.cameraPoint.y>r.y&&(this.cameraPoint.x>n.x&&this.cameraPoint.x<r.x?i.splice(3,0,this.cameraPoint):this.cameraPoint.x>=r.x?i[2]=this.cameraPoint:this.cameraPoint.x<=n.x&&(i[3]=this.cameraPoint)),t.bufferConvexPolygon(i,e)}bufferedCameraGeometryGlobe(e){const n=this.screenBounds[0],r=1===this.screenBounds.length?this.screenBounds[0].add(new t.pointGeometry(1,1)):this.screenBounds[1],i=t.polygonizeBounds(n,r,e),o=this.cameraPoint.clone();switch(3*((o.y>n.y)+(o.y>r.y))+((o.x>n.x)+(o.x>r.x))){case 0:i[0]=o,i[4]=o.clone();break;case 1:i.splice(1,0,o);break;case 2:i[1]=o;break;case 3:i.splice(4,0,o);break;case 5:i.splice(2,0,o);break;case 6:i[3]=o;break;case 7:i.splice(3,0,o);break;case 8:i[2]=o}return i}containsTile(e,n,r,i=0){const o=e.queryPadding/n._pixelsPerMercatorPixel+1,a=r?this._bufferedCameraMercator(o,n):this._bufferedScreenMercator(o,n);let s=e.tileID.wrap+(a.unwrapped?i:0);const l=a.polygon.map((n=>t.getTilePoint(e.tileTransform,n,s)));if(!t.polygonIntersectsBox(l,0,0,t.EXTENT,t.EXTENT))return;s=e.tileID.wrap+(this.screenGeometryMercator.unwrapped?i:0);const c=this.screenGeometryMercator.polygon.map((n=>t.getTileVec3(e.tileTransform,n,s))),u=c.map((e=>new t.pointGeometry(e[0],e[1]))),d=n.getFreeCameraOptions().position||new t.MercatorCoordinate(0,0,0),h=t.getTileVec3(e.tileTransform,d,s),f=c.map((e=>{const n=t.sub(e,e,h);return t.normalize(n,n),new t.Ray(h,n)})),p=z(e,1,n.zoom)*n._pixelsPerMercatorPixel;return{queryGeometry:this,tilespaceGeometry:u,tilespaceRays:f,bufferedTilespaceGeometry:l,bufferedTilespaceBounds:(m=t.getBounds(l),m.min.x=t.clamp(m.min.x,0,t.EXTENT),m.min.y=t.clamp(m.min.y,0,t.EXTENT),m.max.x=t.clamp(m.max.x,0,t.EXTENT),m.max.y=t.clamp(m.max.y,0,t.EXTENT),m),tile:e,tileID:e.tileID,pixelToTileUnitsFactor:p};var m}_bufferedScreenMercator(t,e){const n=Y(t);if(this._screenRaycastCache[n])return this._screenRaycastCache[n];{let r;return r="globe"===e.projection.name?this._projectAndResample(this.bufferedScreenGeometry(t),e):{polygon:this.bufferedScreenGeometry(t).map((t=>e.pointCoordinate3D(t))),unwrapped:!0},this._screenRaycastCache[n]=r,r}}_bufferedCameraMercator(t,e){const n=Y(t);if(this._cameraRaycastCache[n])return this._cameraRaycastCache[n];{let r;return r="globe"===e.projection.name?this._projectAndResample(this.bufferedCameraGeometryGlobe(t),e):{polygon:this.bufferedCameraGeometry(t).map((t=>e.pointCoordinate3D(t))),unwrapped:!0},this._cameraRaycastCache[n]=r,r}}_projectAndResample(e,n){const r=function(e,n){const r=t.multiply([],n.pixelMatrix,n.globeMatrix),i=[0,-t.GLOBE_RADIUS,0,1],o=[0,t.GLOBE_RADIUS,0,1],a=[0,0,0,1];t.transformMat4$1(i,i,r),t.transformMat4$1(o,o,r),t.transformMat4$1(a,a,r);const s=new t.pointGeometry(i[0]/i[3],i[1]/i[3]),l=new t.pointGeometry(o[0]/o[3],o[1]/o[3]),c=t.polygonContainsPoint(e,s)&&i[3]<a[3],u=t.polygonContainsPoint(e,l)&&o[3]<a[3];if(!c&&!u)return null;const d=function(t,e,n){for(let r=1;r<t.length;r++){const i=I(e.pointCoordinate3D(t[r-1]).x),o=I(e.pointCoordinate3D(t[r]).x);if(n<0){if(i<o)return{idx:r,t:-i/(o-1-i)}}else if(o<i)return{idx:r,t:(1-i)/(o+1-i)}}return null}(e,n,c?-1:1);if(!d)return null;const{idx:h,t:f}=d;let p=h>1?j(e.slice(0,h),n):[],m=h<e.length?j(e.slice(h),n):[];p=p.map((e=>new t.pointGeometry(I(e.x),e.y))),m=m.map((e=>new t.pointGeometry(I(e.x),e.y)));const _=[...p];0===_.length&&_.push(m[m.length-1]);const v=t.number(_[_.length-1].y,(0===m.length?p[0]:m[0]).y,f);let g;return g=c?[new t.pointGeometry(0,v),new t.pointGeometry(0,0),new t.pointGeometry(1,0),new t.pointGeometry(1,v)]:[new t.pointGeometry(1,v),new t.pointGeometry(1,1),new t.pointGeometry(0,1),new t.pointGeometry(0,v)],_.push(...g),0===m.length?_.push(p[0]):_.push(...m),{polygon:_.map((e=>new t.MercatorCoordinate(e.x,e.y))),unwrapped:!1}}(e,n);if(r)return r;const i=function(e,n){let r=!1,i=-1/0,o=0;for(let t=0;t<e.length-1;t++)e[t].x>i&&(i=e[t].x,o=t);for(let t=0;t<e.length-1;t++){const n=(o+t)%(e.length-1),i=e[n],a=e[n+1];Math.abs(i.x-a.x)>.5&&(i.x<a.x?(i.x+=1,0===n&&(e[e.length-1].x+=1)):(a.x+=1,n+1===e.length-1&&(e[0].x+=1)),r=!0)}const a=t.mercatorXfromLng(n.center.lng);return r&&a<Math.abs(a-1)&&e.forEach((t=>{t.x-=1})),{polygon:e,unwrapped:r}}(j(e,n).map((e=>new t.pointGeometry(I(e.x),e.y))),n);return{polygon:i.polygon.map((e=>new t.MercatorCoordinate(e.x,e.y))),unwrapped:i.unwrapped}}}function j(e,n){return t.resample(e,(t=>{const e=n.pointCoordinate3D(t);t.x=e.x,t.y=e.y}),1/256)}function I(t){return t<0?1+t%1:t%1}function Y(t){return 100*t|0}function R(e,n,r,i,o){const a=function(r,i){if(r)return o(r);if(i){e.url&&i.tiles&&e.tiles&&delete e.tiles;const r=t.pick(t.extend(i,e),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);i.vector_layers&&(r.vectorLayers=i.vector_layers,r.vectorLayerIds=r.vectorLayers.map((t=>t.id))),r.tiles=n.canonicalizeTileset(r,e.url),o(null,r)}};return e.url?t.getJSON(n.transformRequest(n.normalizeSourceURL(e.url,null,r,i),t.ResourceType.Source),a):t.exported.frame((()=>a(null,e)))}class F{constructor(e,n,r){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=n||0,this.maxzoom=r||24}validateBounds(t){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]}contains(e){const n=Math.pow(2,e.z),r=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*n),i=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*n),o=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*n),a=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*n);return e.x>=r&&e.x<o&&e.y>=i&&e.y<a}}class B{constructor(t,e,n){this.context=t;const r=t.gl;this.buffer=r.createBuffer(),this.dynamicDraw=Boolean(n),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),r.bufferData(r.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?r.DYNAMIC_DRAW:r.STATIC_DRAW),this.dynamicDraw||e.destroy()}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(t){const e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}const N={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class ${constructor(t,e,n,r){this.length=e.length,this.attributes=n,this.itemSize=e.bytesPerElement,this.dynamicDraw=r,this.context=t;const i=t.gl;this.buffer=i.createBuffer(),t.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||e.destroy()}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(t){const e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)}enableAttributes(t,e){for(let n=0;n<this.attributes.length;n++){const r=e.attributes[this.attributes[n].name];void 0!==r&&t.enableVertexAttribArray(r)}}setVertexAttribPointers(t,e,n){for(let r=0;r<this.attributes.length;r++){const i=this.attributes[r],o=e.attributes[i.name];void 0!==o&&t.vertexAttribPointer(o,i.components,t[N[i.type]],!1,this.itemSize,i.offset+this.itemSize*(n||0))}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}class Z{constructor(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1}get(){return this.current}set(t){}getDefault(){return this.default}setDefault(){this.set(this.default)}}class H extends Z{getDefault(){return t.Color.transparent}set(t){const e=this.current;(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)}}class V extends Z{getDefault(){return 1}set(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)}}class U extends Z{getDefault(){return 0}set(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)}}class W extends Z{getDefault(){return[!0,!0,!0,!0]}set(t){const e=this.current;(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)}}class G extends Z{getDefault(){return!0}set(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)}}class q extends Z{getDefault(){return 255}set(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)}}class X extends Z{getDefault(){return{func:this.gl.ALWAYS,ref:0,mask:255}}set(t){const e=this.current;(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)}}class J extends Z{getDefault(){const t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]}set(t){const e=this.current;(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)}}class K extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}}class Q extends Z{getDefault(){return[0,1]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)}}class tt extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}}class et extends Z{getDefault(){return this.gl.LESS}set(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)}}class nt extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}}class rt extends Z{getDefault(){const t=this.gl;return[t.ONE,t.ZERO]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)}}class it extends Z{getDefault(){return t.Color.transparent}set(t){const e=this.current;(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)}}class ot extends Z{getDefault(){return this.gl.FUNC_ADD}set(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)}}class at extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}}class st extends Z{getDefault(){return this.gl.BACK}set(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)}}class lt extends Z{getDefault(){return this.gl.CCW}set(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)}}class ct extends Z{getDefault(){return null}set(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)}}class ut extends Z{getDefault(){return this.gl.TEXTURE0}set(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)}}class dt extends Z{getDefault(){const t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]}set(t){const e=this.current;(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)}}class ht extends Z{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}}class ft extends Z{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}}class pt extends Z{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}}class mt extends Z{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}}class _t extends Z{getDefault(){return null}set(t){const e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1}}class vt extends Z{constructor(t){super(t),this.vao=t.extVertexArrayObject}getDefault(){return null}set(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)}}class gt extends Z{getDefault(){return 4}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}}class yt extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}}class bt extends Z{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}}class xt extends Z{constructor(t,e){super(t),this.context=t,this.parent=e}getDefault(){return null}}class wt extends xt{setDirty(){this.dirty=!0}set(t){if(t===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}}class kt extends xt{attachment(){return this.gl.DEPTH_ATTACHMENT}set(t){if(t===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,this.attachment(),e.RENDERBUFFER,t),this.current=t,this.dirty=!1}}class Mt extends kt{attachment(){return this.gl.DEPTH_STENCIL_ATTACHMENT}}class Ct{constructor(t,e,n,r){this.context=t,this.width=e,this.height=n;const i=this.framebuffer=t.gl.createFramebuffer();this.colorAttachment=new wt(t,i),r&&(this.depthAttachment=new kt(t,i))}destroy(){const t=this.context.gl,e=this.colorAttachment.get();if(e&&t.deleteTexture(e),this.depthAttachment){const e=this.depthAttachment.get();e&&t.deleteRenderbuffer(e)}t.deleteFramebuffer(this.framebuffer)}}class St{constructor(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new H(this),this.clearDepth=new V(this),this.clearStencil=new U(this),this.colorMask=new W(this),this.depthMask=new G(this),this.stencilMask=new q(this),this.stencilFunc=new X(this),this.stencilOp=new J(this),this.stencilTest=new K(this),this.depthRange=new Q(this),this.depthTest=new tt(this),this.depthFunc=new et(this),this.blend=new nt(this),this.blendFunc=new rt(this),this.blendColor=new it(this),this.blendEquation=new ot(this),this.cullFace=new at(this),this.cullFaceSide=new st(this),this.frontFace=new lt(this),this.program=new ct(this),this.activeTexture=new ut(this),this.viewport=new dt(this),this.bindFramebuffer=new ht(this),this.bindRenderbuffer=new ft(this),this.bindTexture=new pt(this),this.bindVertexBuffer=new mt(this),this.bindElementBuffer=new _t(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new vt(this),this.pixelStoreUnpack=new gt(this),this.pixelStoreUnpackPremultiplyAlpha=new yt(this),this.pixelStoreUnpackFlipY=new bt(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.extTextureFilterAnisotropicForceOff=!1,this.extStandardDerivativesForceOff=!1,this.extDebugRendererInfo=t.getExtension("WEBGL_debug_renderer_info"),this.extDebugRendererInfo&&(this.renderer=t.getParameter(this.extDebugRendererInfo.UNMASKED_RENDERER_WEBGL),this.vendor=t.getParameter(this.extDebugRendererInfo.UNMASKED_VENDOR_WEBGL)),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.extStandardDerivatives=t.getExtension("OES_standard_derivatives"),this.extTimerQuery=t.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=t.getParameter(t.MAX_TEXTURE_SIZE)}setDefault(){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()}setDirty(){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}createIndexBuffer(t,e){return new B(this,t,e)}createVertexBuffer(t,e,n){return new $(this,t,e,n)}createRenderbuffer(t,e,n){const r=this.gl,i=r.createRenderbuffer();return this.bindRenderbuffer.set(i),r.renderbufferStorage(r.RENDERBUFFER,t,e,n),this.bindRenderbuffer.set(null),i}createFramebuffer(t,e,n){return new Ct(this,t,e,n)}clear({color:t,depth:e,stencil:n}){const r=this.gl;let i=0;t&&(i|=r.COLOR_BUFFER_BIT,this.clearColor.set(t),this.colorMask.set([!0,!0,!0,!0])),void 0!==e&&(i|=r.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(e),this.depthMask.set(!0)),void 0!==n&&(i|=r.STENCIL_BUFFER_BIT,this.clearStencil.set(n),this.stencilMask.set(255)),r.clear(i)}setCullFace(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))}setDepthMode(t){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)}setStencilMode(t){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({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)}setColorMode(n){e(n.blendFunction,t.ColorMode.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(n.blendFunction),this.blendColor.set(n.blendColor)),this.colorMask.set(n.mask)}unbindVAO(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)}}class Tt extends t.Evented{constructor(e,n,r,i){super(),this.id=e,this.dispatcher=r,this.setEventedParent(i),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({type:"raster"},n),t.extend(this,t.pick(n,["url","scheme","tileSize"]))}load(){this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=R(this._options,this.map._requestManager,null,null,((e,n)=>{this._tileJSONRequest=null,this._loaded=!0,e?this.fire(new t.ErrorEvent(e)):n&&(t.extend(this,n),n.bounds&&(this.tileBounds=new F(n.bounds,this.minzoom,this.maxzoom)),t.postTurnstileEvent(n.tiles),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))}loaded(){return this._loaded}onAdd(t){this.map=t,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}serialize(){return t.extend({},this._options)}hasTile(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)}loadTile(e,n){const r=t.exported.devicePixelRatio>=2,i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),r,this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(i,t.ResourceType.Tile),((r,i,o,a)=>(delete e.request,e.aborted?(e.state="unloaded",n(null)):r?(e.state="errored",n(r)):i?(this.map._refreshExpiredTiles&&e.setExpiryData({cacheControl:o,expires:a}),e.setTexture(i,this.map.painter),e.state="loaded",t.cacheEntryPossiblyAdded(this.dispatcher),void n(null)):n(null))))}static loadTileData(t,e,n){t.setTexture(e,n)}static unloadTileData(t,e){t.texture&&e.saveTileTexture(t.texture)}abortTile(t,e){t.request&&(t.request.cancel(),delete t.request),e()}unloadTile(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),e()}hasTransition(){return!1}}let Lt;function Et(e,n,r,i,o,a,s,l){const c=[e,r,o,n,i,a,1,1,1],u=[s,l,1],d=t.adjoint([],c),[h,f,p]=t.transformMat3(u,u,t.transpose(d,d));return t.multiply$1(c,[h,0,0,0,f,0,0,0,p],c)}class At extends t.Evented{constructor(t,e,n,r){super(),this.id=t,this.dispatcher=n,this.coordinates=e.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(r),this.options=e,this._dirty=!1}load(e,n){this._loaded=n||!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,this._imageRequest=t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),((n,r)=>{if(this._imageRequest=null,this._loaded=!0,n)this.fire(new t.ErrorEvent(n));else if(r){const{HTMLImageElement:n}=t.window;this.image=r instanceof n?t.exported.getImageData(r):r,this._dirty=!0,this.width=this.image.width,this.height=this.image.height,e&&(this.coordinates=e),this._finishLoading()}}))}loaded(){return this._loaded}updateImage(t){return this.image&&t.url?(this._imageRequest&&t.url!==this.options.url&&(this._imageRequest.cancel(),this._imageRequest=null),this.options.url=t.url,this.load(t.coordinates,this._loaded),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(t){this.map=t,this.load()}onRemove(){this._imageRequest&&(this._imageRequest.cancel(),this._imageRequest=null),this.texture&&this.texture.destroy()}setCoordinates(e){this.coordinates=e,this._boundsArray=void 0;const n=e.map(t.MercatorCoordinate.fromLngLat);return this.tileID=function(e){let n=1/0,r=1/0,i=-1/0,o=-1/0;for(const t of e)n=Math.min(n,t.x),r=Math.min(r,t.y),i=Math.max(i,t.x),o=Math.max(o,t.y);const a=Math.max(i-n,o-r),s=Math.max(0,Math.floor(-Math.log(a)/Math.LN2)),l=Math.pow(2,s);return new t.CanonicalTileID(s,Math.floor((n+i)/2*l),Math.floor((r+o)/2*l))}(n),this.minzoom=this.maxzoom=this.tileID.z,this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this}_clear(){this._boundsArray=void 0}_prepareData(e){for(const t in this.tiles){const e=this.tiles[t];"loaded"!==e.state&&(e.state="loaded",e.texture=this.texture)}if(this._boundsArray)return;const n=t.tileTransform(this.tileID,this.map.transform.projection),[r,i,o,a]=this.coordinates.map((e=>{const r=n.projection.project(e[0],e[1]);return t.getTilePoint(n,r)._round()}));this.perspectiveTransform=function(e,n,r,i,o,a,s,l,c,u){const d=Et(0,0,e,0,0,n,e,n),h=Et(r,i,o,a,s,l,c,u);return t.multiply$1(h,t.adjoint(d,d),h),[h[6]/h[8]*e/t.EXTENT,h[7]/h[8]*n/t.EXTENT]}(this.width,this.height,r.x,r.y,i.x,i.y,a.x,a.y,o.x,o.y);const s=this._boundsArray=new t.StructArrayLayout4i8;s.emplaceBack(r.x,r.y,0,0),s.emplaceBack(i.x,i.y,t.EXTENT,0),s.emplaceBack(a.x,a.y,0,t.EXTENT),s.emplaceBack(o.x,o.y,t.EXTENT,t.EXTENT),this.boundsBuffer&&this.boundsBuffer.destroy(),this.boundsBuffer=e.createVertexBuffer(s,t.boundsAttributes.members),this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const e=this.map.painter.context,n=e.gl;this._dirty&&(this.texture?this.texture.update(this.image):(this.texture=new t.Texture(e,this.image,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this._dirty=!1),this._prepareData(e)}loadTile(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}const Dt={vector:class extends t.Evented{constructor(e,n,r,i){if(super(),this.id=e,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(n,["url","scheme","tileSize","promoteId"])),this._options=t.extend({type:"vector"},n),this._collectResourceTiming=n.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(i),this._tileWorkers={},this._deduped=new t.DedupedRequest}load(e){this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"}));const n=Array.isArray(this.map._language)?this.map._language.join():this.map._language,r=this.map._worldview;this._tileJSONRequest=R(this._options,this.map._requestManager,n,r,((i,o)=>{this._tileJSONRequest=null,this._loaded=!0,i?(n&&console.warn(`Ensure that your requested language string is a valid BCP-47 code or list of codes. Found: ${n}`),r&&2!==r.length&&console.warn(`Requested worldview strings must be a valid ISO alpha-2 code. Found: ${r}`),this.fire(new t.ErrorEvent(i))):o&&(t.extend(this,o),o.bounds&&(this.tileBounds=new F(o.bounds,this.minzoom,this.maxzoom)),t.postTurnstileEvent(o.tiles,this.map._requestManager._customAccessToken),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"}))),e&&e(i)}))}loaded(){return this._loaded}hasTile(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)}onAdd(t){this.map=t,this.load()}reload(){this.cancelTileJSONRequest(),this.load((()=>{const t=this.map.style._getSourceCaches(this.id);for(const e of t)e.clearTiles()}))}setSourceProperty(t){t(),this.reload()}setTiles(t){return this._options.tiles=t,this.reload(),this}setUrl(t){return this.url=t,this._options.url=t,this.reload(),this}onRemove(){this.cancelTileJSONRequest()}serialize(){return t.extend({},this._options)}loadTile(e,n){const r=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme)),i={request:this.map._requestManager.transformRequest(r,t.ResourceType.Tile),data:void 0,uid:e.uid,tileID:e.tileID,tileZoom:e.tileZoom,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.exported.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,isSymbolTile:e.isSymbolTile};if(i.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state)"loading"===e.state?e.reloadCallback=n:e.request=e.actor.send("reloadTile",i,o.bind(this));else if(e.actor=this._tileWorkers[r]=this._tileWorkers[r]||this.dispatcher.getActor(),this.dispatcher.ready)e.request=e.actor.send("loadTile",i,o.bind(this),void 0,!0);else{const n=t.loadVectorTile.call({deduped:this._deduped},i,((t,n)=>{t||!n?o.call(this,t):(i.data={cacheControl:n.cacheControl,expires:n.expires,rawData:n.rawData.slice(0)},e.actor&&e.actor.send("loadTile",i,o.bind(this),void 0,!0))}),!0);e.request={cancel:n}}function o(r,i){return delete e.request,e.aborted?n(null):r&&404!==r.status?n(r):(i&&i.resourceTiming&&(e.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&e.setExpiryData(i),e.loadVectorData(i,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),n(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}}abortTile(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id})}unloadTile(t){t.unloadVectorData(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})}hasTransition(){return!1}afterUpdate(){this._tileWorkers={}}cancelTileJSONRequest(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}},raster:Tt,"raster-dem":class extends Tt{constructor(e,n,r,i){super(e,n,r,i),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},n),this.encoding=n.encoding||"mapbox"}loadTile(e,n){const r=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),!1,this.tileSize);function i(t,r){t&&(e.state="errored",n(t)),r&&(e.dem=r,e.dem.onDeserialize(),e.needsHillshadePrepare=!0,e.needsDEMTextureUpload=!0,e.state="loaded",n(null))}e.request=t.getImage(this.map._requestManager.transformRequest(r,t.ResourceType.Tile),function(r,o,a,s){if(delete e.request,e.aborted)e.state="unloaded",n(null);else if(r)e.state="errored",n(r);else if(o){this.map._refreshExpiredTiles&&e.setExpiryData({cacheControl:a,expires:s});const n=t.window.ImageBitmap&&o instanceof t.window.ImageBitmap&&(null==Lt&&(Lt=t.window.OffscreenCanvas&&new t.window.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof t.window.createImageBitmap),Lt),r=1-(o.width-t.prevPowerOfTwo(o.width))/2;r<1||e.neighboringTiles||(e.neighboringTiles=this._getNeighboringTiles(e.tileID));const l=n?o:t.exported.getImageData(o,r),c={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:l,encoding:this.encoding,padding:r};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",c,i.bind(this),void 0,!0))}}.bind(this))}_getNeighboringTiles(e){const n=e.canonical,r=Math.pow(2,n.z),i=(n.x-1+r)%r,o=0===n.x?e.wrap-1:e.wrap,a=(n.x+1+r)%r,s=n.x+1===r?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y).key]={backfilled:!1},n.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,n.z,n.x,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y-1).key]={backfilled:!1}),n.y+1<r&&(l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,n.z,n.x,n.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y+1).key]={backfilled:!1}),l}unloadTile(t){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"}},geojson:class extends t.Evented{constructor(e,n,r,i){super(),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._loaded=!1,this.actor=r.getActor(),this.setEventedParent(i),this._data=n.data,this._options=t.extend({},n),this._collectResourceTiming=n.collectResourceTiming,void 0!==n.maxzoom&&(this.maxzoom=n.maxzoom),n.type&&(this.type=n.type),n.attribution&&(this.attribution=n.attribution),this.promoteId=n.promoteId;const o=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:n.cluster||!1,geojsonVtOptions:{buffer:(void 0!==n.buffer?n.buffer:128)*o,tolerance:(void 0!==n.tolerance?n.tolerance:.375)*o,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:n.lineMetrics||!1,generateId:n.generateId||!1},superclusterOptions:{maxZoom:void 0!==n.clusterMaxZoom?n.clusterMaxZoom:this.maxzoom-1,minPoints:Math.max(2,n.clusterMinPoints||2),extent:t.EXTENT,radius:(void 0!==n.clusterRadius?n.clusterRadius:50)*o,log:!1,generateId:n.generateId||!1},clusterProperties:n.clusterProperties,filter:n.filter},n.workerOptions)}onAdd(t){this.map=t,this.setData(this._data)}setData(t){return this._data=t,this._updateWorkerData(),this}getClusterExpansionZoom(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this}getClusterChildren(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this}getClusterLeaves(t,e,n,r){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:n},r),this}_updateWorkerData(){if(this._pendingLoad)return void(this._coalesce=!0);this.fire(new t.Event("dataloading",{dataType:"source"})),this._loaded=!1;const e=t.extend({},this.workerOptions),n=this._data;"string"==typeof n?(e.request=this.map._requestManager.transformRequest(t.exported.resolveURL(n),t.ResourceType.Source),e.request.collectResourceTiming=this._collectResourceTiming):e.data=JSON.stringify(n),this._pendingLoad=this.actor.send(`${this.type}.loadData`,e,((e,n)=>{if(this._loaded=!0,this._pendingLoad=null,e)this.fire(new t.ErrorEvent(e));else{const e={dataType:"source",sourceDataType:this._metadataFired?"content":"metadata"};this._collectResourceTiming&&n&&n.resourceTiming&&n.resourceTiming[this.id]&&(e.resourceTiming=n.resourceTiming[this.id]),this.fire(new t.Event("data",e)),this._metadataFired=!0}this._coalesce&&(this._updateWorkerData(),this._coalesce=!1)}))}loaded(){return this._loaded}loadTile(e,n){const r=e.actor?"reloadTile":"loadTile";e.actor=this.actor,e.request=this.actor.send(r,{type:this.type,uid:e.uid,tileID:e.tileID,tileZoom:e.tileZoom,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.exported.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},((t,i)=>(delete e.request,e.unloadVectorData(),e.aborted?n(null):t?n(t):(e.loadVectorData(i,this.map.painter,"reloadTile"===r),n(null)))),void 0,"loadTile"===r)}abortTile(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0}unloadTile(t){t.unloadVectorData(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})}onRemove(){this._pendingLoad&&this._pendingLoad.cancel()}serialize(){return t.extend({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}},video:class extends At{constructor(t,e,n,r){super(t,e,n,r),this.roundZoom=!0,this.type="video",this.options=e}load(){this._loaded=!1;const e=this.options;this.urls=[];for(const n of e.urls)this.urls.push(this.map._requestManager.transformRequest(n,t.ResourceType.Source).url);t.getVideo(this.urls,((e,n)=>{this._loaded=!0,e?this.fire(new t.ErrorEvent(e)):n&&(this.video=n,this.video.loop=!0,this.video.setAttribute("playsinline",""),this.video.addEventListener("playing",(()=>{this.map.triggerRepaint()})),this.map&&this.video.play(),this._finishLoading())}))}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(e){if(this.video){const n=this.video.seekable;e<n.start(0)||e>n.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${this.id}`,null,`Playback for this video can be set only between the ${n.start(0)} and ${n.end(0)}-second mark.`))):this.video.currentTime=e}}getVideo(){return this.video}onAdd(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const e=this.map.painter.context,n=e.gl;this.texture?this.video.paused||(this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE),n.texSubImage2D(n.TEXTURE_2D,0,0,0,n.RGBA,n.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE),this.width=this.video.videoWidth,this.height=this.video.videoHeight),this._prepareData(e)}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}},image:At,canvas:class extends At{constructor(e,n,r,i){super(e,n,r,i),n.coordinates?Array.isArray(n.coordinates)&&4===n.coordinates.length&&!n.coordinates.some((t=>!Array.isArray(t)||2!==t.length||t.some((t=>"number"!=typeof t))))||this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'missing required property "coordinates"'))),n.animate&&"boolean"!=typeof n.animate&&this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'optional "animate" property must be a boolean value'))),n.canvas?"string"==typeof n.canvas||n.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,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.${e}`,null,'missing required property "canvas"'))),this.options=n,this.animate=void 0===n.animate||n.animate}load(){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(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())}getCanvas(){return this.canvas}onAdd(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let e=!1;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())return;if(0===Object.keys(this.tiles).length)return;const n=this.map.painter.context;this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(n,this.canvas,n.gl.RGBA,{premultiply:!0}),this._prepareData(n)}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const t of[this.canvas.width,this.canvas.height])if(isNaN(t)||t<=0)return!0;return!1}},custom:class extends t.Evented{constructor(e,n,r,i){super(),this.id=e,this.type="custom",this._dataType="raster",this._dispatcher=r,this._implementation=n,this.setEventedParent(i),this.scheme="xyz",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this._loaded=!1,this.roundZoom=!0,this._implementation||this.fire(new t.ErrorEvent(new Error(`Missing implementation for ${this.id} custom source`))),this._implementation.loadTile||this.fire(new t.ErrorEvent(new Error(`Missing loadTile implementation for ${this.id} custom source`))),this._implementation.bounds&&(this.tileBounds=new F(this._implementation.bounds,this.minzoom,this.maxzoom)),n.update=this._update.bind(this),n.clearTiles=this._clearTiles.bind(this),n.coveringTiles=this._coveringTiles.bind(this),t.extend(this,t.pick(n,["dataType","scheme","minzoom","maxzoom","tileSize","attribution","minTileCacheSize","maxTileC
2acheSize"]))}serialize(){return t.pick(this,["type","scheme","minzoom","maxzoom","tileSize","attribution"])}load(){this._loaded=!0,this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"}))}loaded(){return this._loaded}onAdd(e){this._map=e,this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._implementation.onAdd&&this._implementation.onAdd(e),this.load()}onRemove(t){this._implementation.onRemove&&this._implementation.onRemove(t)}hasTile(t){if(this._implementation.hasTile){const{x:e,y:n,z:r}=t.canonical;return this._implementation.hasTile({x:e,y:n,z:r})}return!this.tileBounds||this.tileBounds.contains(t.canonical)}loadTile(e,n){const{x:r,y:i,z:o}=e.tileID.canonical,a=new t.window.AbortController;e.request=Promise.resolve(this._implementation.loadTile({x:r,y:i,z:o},{signal:a.signal})).then(function(r){return delete e.request,e.aborted?(e.state="unloaded",n(null)):void 0===r?(e.state="errored",n(null)):null===r?(this.loadTileData(e,{width:this.tileSize,height:this.tileSize,data:null}),e.state="loaded",n(null)):function(e){return e instanceof t.window.ImageData||e instanceof t.window.HTMLCanvasElement||e instanceof t.window.ImageBitmap||e instanceof t.window.HTMLImageElement}(r)?(this.loadTileData(e,r),e.state="loaded",void n(null)):(e.state="errored",n(new Error(`Can't infer data type for ${this.id}, only raster data supported at the moment`)))}.bind(this)).catch((t=>{20!==t.code&&(e.state="errored",n(t))})),e.request.cancel=()=>a.abort()}loadTileData(t,e){Tt.loadTileData(t,e,this._map.painter)}unloadTileData(t){Tt.unloadTileData(t,this._map.painter)}unloadTile(t,e){if(this.unloadTileData(t),this._implementation.unloadTile){const{x:e,y:n,z:r}=t.tileID.canonical;this._implementation.unloadTile({x:e,y:n,z:r})}e()}abortTile(t,e){t.request&&t.request.cancel&&(t.request.cancel(),delete t.request),e()}hasTransition(){return!1}_coveringTiles(){return this._map.transform.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,roundZoom:this.roundZoom}).map((t=>({x:t.canonical.x,y:t.canonical.y,z:t.canonical.z})))}_clearTiles(){this._map.style._clearSource(this.id)}_update(){this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"}))}}},Ot=function(e,n,r,i){const o=new Dt[n.type](e,n,r,i);if(o.id!==e)throw new Error(`Expected Source id to be ${e} instead of ${o.id}`);return t.bindAll(["load","abort","unload","serialize","prepare"],o),o};function zt(e,n){const r=t.identity([]);return t.scale(r,r,[.5*e.width,.5*-e.height,1]),t.translate(r,r,[1,-1,0]),t.multiply(r,r,e.calculateProjMatrix(n.toUnwrapped())),Float32Array.from(r)}function Pt(t,e,n,r,i,o,a,s=!1){const l=t.tilesIn(r,a,s);l.sort(It);const c=[];for(const r of l)c.push({wrappedTileID:r.tile.tileID.wrapped().key,queryResults:r.tile.queryRenderedFeatures(e,n,t._state,r,i,o,zt(t.transform,r.tile.tileID),s)});const u=function(t){const e={},n={};for(const r of t){const t=r.queryResults,i=r.wrappedTileID,o=n[i]=n[i]||{};for(const n in t){const r=t[n],i=o[n]=o[n]||{},a=e[n]=e[n]||[];for(const t of r)i[t.featureIndex]||(i[t.featureIndex]=!0,a.push(t))}}return e}(c);for(const e in u)u[e].forEach((e=>{const n=e.feature,r=n.layer;r&&"background"!==r.type&&"sky"!==r.type&&(n.source=r.source,r["source-layer"]&&(n.sourceLayer=r["source-layer"]),n.state=void 0!==n.id?t.getFeatureState(r["source-layer"],n.id):{})}));return u}function jt(t,e){const n=t.getRenderableIds().map((e=>t.getTileByID(e))),r=[],i={};for(let t=0;t<n.length;t++){const o=n[t],a=o.tileID.canonical.key;i[a]||(i[a]=!0,o.querySourceFeatures(r,e))}return r}function It(t,e){const n=t.tileID,r=e.tileID;return n.overscaledZ-r.overscaledZ||n.canonical.y-r.canonical.y||n.wrap-r.wrap||n.canonical.x-r.canonical.x}function Yt(){return null!=vo.workerClass?new vo.workerClass:new t.window.Worker(vo.workerUrl)}const Rt="mapboxgl_preloaded_worker_pool";class Ft{constructor(){this.active={}}acquire(t){if(!this.workers)for(this.workers=[];this.workers.length<Ft.workerCount;)this.workers.push(new Yt);return this.active[t]=!0,this.workers.slice()}release(t){delete this.active[t],0===this.numActive()&&(this.workers.forEac
vendor: 73,943 bytes, line 2
2h((t=>{t.terminate()})),this.workers=null)}isPreloaded(){return!!this.active[Rt]}numActive(){return Object.keys(this.active).length}}let Bt;function Nt(){return Bt||(Bt=new Ft),Bt}function $t(e,n){const r={};for(const t in e)"ref"!==t&&(r[t]=e[t]);return t.refProperties.forEach((t=>{t in n&&(r[t]=n[t])})),r}function Zt(t){t=t.slice();const e=Object.create(null);for(let n=0;n<t.length;n++)e[t[n].id]=t[n];for(let n=0;n<t.length;n++)"ref"in t[n]&&(t[n]=$t(t[n],e[t[n].ref]));return t}Ft.workerCount=2;const Ht={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight",setTerrain:"setTerrain",setFog:"setFog",setProjection:"setProjection"};function Vt(t,e,n){n.push({command:Ht.addSource,args:[t,e[t]]})}function Ut(t,e,n){e.push({command:Ht.removeSource,args:[t]}),n[t]=!0}function Wt(t,e,n,r){Ut(t,n,r),Vt(t,e,n)}function Gt(t,n,r){let i;for(i in t[r])if(t[r].hasOwnProperty(i)&&"data"!==i&&!e(t[r][i],n[r][i]))return!1;for(i in n[r])if(n[r].hasOwnProperty(i)&&"data"!==i&&!e(t[r][i],n[r][i]))return!1;return!0}function qt(t,n,r,i,o,a){let s;for(s in n=n||{},t=t||{})t.hasOwnProperty(s)&&(e(t[s],n[s])||r.push({command:a,args:[i,s,n[s],o]}));for(s in n)n.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(e(t[s],n[s])||r.push({command:a,args:[i,s,n[s],o]}))}function Xt(t){return t.id}function Jt(t,e){return t[e.id]=e,t}class Kt{constructor(t,e){this.reset(t,e)}reset(t,e){this.points=t||[],this._distances=[0];for(let t=1;t<this.points.length;t++)this._distances[t]=this._distances[t-1]+this.points[t].dist(this.points[t-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(e||0,.5*this.length),this.paddedLength=this.length-2*this.padding}lerp(e){if(1===this.points.length)return this.points[0];e=t.clamp(e,0,1);let n=1,r=this._distances[n];const i=e*this.paddedLength+this.padding;for(;r<i&&n<this._distances.length;)r=this._distances[++n];const o=n-1,a=this._distances[o],s=r-a,l=s>0?(i-a)/s:0;return this.points[o].mult(1-l).add(this.points[n].mult(l))}}class Qt{constructor(t,e,n){const r=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(t/n),this.yCellCount=Math.ceil(e/n);for(let t=0;t<this.xCellCount*this.yCellCount;t++)r.push([]),i.push([]);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}keysLength(){return this.boxKeys.length+this.circleKeys.length}insert(t,e,n,r,i){this._forEachCell(e,n,r,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)}insertCircle(t,e,n,r){this._forEachCell(e-r,n-r,e+r,n+r,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(n),this.circles.push(r)}_insertBoxCell(t,e,n,r,i,o){this.boxCells[i].push(o)}_insertCircleCell(t,e,n,r,i,o){this.circleCells[i].push(o)}_query(t,e,n,r,i,o){if(n<0||t>this.width||r<0||e>this.height)return!i&&[];const a=[];if(t<=0&&e<=0&&this.width<=n&&this.height<=r){if(i)return!0;for(let t=0;t<this.boxKeys.length;t++)a.push({key:this.boxKeys[t],x1:this.bboxes[4*t],y1:this.bboxes[4*t+1],x2:this.bboxes[4*t+2],y2:this.bboxes[4*t+3]});for(let t=0;t<this.circleKeys.length;t++){const e=this.circles[3*t],n=this.circles[3*t+1],r=this.circles[3*t+2];a.push({key:this.circleKeys[t],x1:e-r,y1:n-r,x2:e+r,y2:n+r})}return o?a.filter(o):a}return this._forEachCell(t,e,n,r,this._queryCell,a,{hitTest:i,seenUids:{box:{},circle:{}}},o),i?a.length>0:a}_queryCircle(t,e,n,r,i){const o=t-n,a=t+n,s=e-n,l=e+n;if(a<0||o>this.width||l<0||s>this.height)return!r&&[];const c=[];return this._forEachCell(o,s,a,l,this._queryCellCircle,c,{hitTest:r,circle:{x:t,y:e,radius:n},seenUids:{box:{},circle:{}}},i),r?c.length>0:c}query(t,e,n,r,i){return this._query(t,e,n,r,!1,i)}hitTest(t,e,n,r,i){return this._query(t,e,n,r,!0,i)}hitTestCircle(t,e,n,r){return this._queryCircle(t,e,n,!0,r)}_queryCell(t,e,n,r,i,o,a,s){const l=a.seenUids,c=this.boxCells[i];if(null!==c){const i=this.bboxes;for(const u of c)if(!l.box[u]){l.box[u]=!0;const c=4*u;if(t<=i[c+2]&&e<=i[c+3]&&n>=i[c+0]&&r>=i[c+1]&&(!s||s(this.boxKeys[u]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[u],x1:i[c],y1:i[c+1],x2:i[c+2],y2:i[c+3]})}}}const u=this.circleCells[i];if(null!==u){const i=this.circles;for(const c of u)if(!l.circle[c]){l.circle[c]=!0;const u=3*c;if(this._circleAndRectCollide(i[u],i[u+1],i[u+2],t,e,n,r)&&(!s||s(this.circleKeys[c]))){if(a.hitTest)return o.push(!0),!0;{const t=i[u],e=i[u+1],n=i[u+2];o.push({key:this.circleKeys[c],x1:t-n,y1:e-n,x2:t+n,y2:e+n})}}}}}_queryCellCircle(t,e,n,r,i,o,a,s){const l=a.circle,c=a.seenUids,u=this.boxCells[i];if(null!==u){const t=this.bboxes;for(const e of u)if(!c.box[e]){c.box[e]=!0;const n=4*e;if(this._circleAndRectCollide(l.x,l.y,l.radius,t[n+0],t[n+1],t[n+2],t[n+3])&&(!s||s(this.boxKeys[e])))return o.push(!0),!0}}const d=this.circleCells[i];if(null!==d){const t=this.circles;for(const e of d)if(!c.circle[e]){c.circle[e]=!0;const n=3*e;if(this._circlesCollide(t[n],t[n+1],t[n+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[e])))return o.push(!0),!0}}}_forEachCell(t,e,n,r,i,o,a,s){const l=this._convertToXCellCoord(t),c=this._convertToYCellCoord(e),u=this._convertToXCellCoord(n),d=this._convertToYCellCoord(r);for(let h=l;h<=u;h++)for(let l=c;l<=d;l++)if(i.call(this,t,e,n,r,this.xCellCount*l+h,o,a,s))return}_convertToXCellCoord(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))}_convertToYCellCoord(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))}_circlesCollide(t,e,n,r,i,o){const a=r-t,s=i-e,l=n+o;return l*l>a*a+s*s}_circleAndRectCollide(t,e,n,r,i,o,a){const s=(o-r)/2,l=Math.abs(t-(r+s));if(l>s+n)return!1;const c=(a-i)/2,u=Math.abs(e-(i+c));if(u>c+n)return!1;if(l<=s||u<=c)return!0;const d=l-s,h=u-c;return d*d+h*h<=n*n}}const te=Math.tan(85*Math.PI/180);function ee(e,n,r,i,o,a,s){const l=t.create();if(r)if("globe"===a.name){const e=t.calculateGlobeLabelMatrix(o,n);t.multiply(l,l,e)}else{const e=g([],s);l[0]=e[0],l[1]=e[1],l[4]=e[2],l[5]=e[3],i||t.rotateZ(l,l,o.angle)}else t.multiply(l,o.labelPlaneMatrix,e);return l}function ne(t,e,n,r,i,o,a){const s=ee(t,e,n,r,i,o,a);return"globe"===o.name&&n||(s[2]=s[6]=s[10]=s[14]=0),s}function re(e,n,r,i,o,a,s){if(r){if("globe"===a.name){const l=ee(e,n,r,i,o,a,s);return t.invert(l,l),t.multiply(l,e,l),l}{const n=t.clone(e),r=t.identity([]);return r[0]=s[0],r[1]=s[1],r[4]=s[2],r[5]=s[3],t.multiply(n,n,r),i||t.rotateZ(n,n,-o.angle),n}}return o.glCoordMatrix}function ie(e,n,r=0){const i=[e.x,e.y,r,1];r?t.transformMat4$1(i,i,n):ve(i,i,n);const o=i[3];return{point:[i[0]/o,i[1]/o,i[2]/o],signedDistanceFromCamera:o}}function oe(e,n){const r=[e[0],e[1],e[2],1];t.transformMat4$1(r,r,n);const i=r[3];return{point:[r[0]/i,r[1]/i,r[2]/i],signedDistanceFromCamera:i}}function ae(t,e){return Math.min(.5+t/e*.5,1.5)}function se(t,e){const n=t[0]/t[3],r=t[1]/t[3];return n>=-e[0]&&n<=e[0]&&r>=-e[1]&&r<=e[1]}function le(e,n,r,i,o,a,s,l,c,u){const d=r.transform,h=i?e.textSizeData:e.iconSizeData,f=t.evaluateSizeForZoom(h,r.transform.zoom),p="globe"===d.projection.name,m=[256/r.width*2+1,256/r.height*2+1],_=i?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;_.clear();let v=null;p&&(v=i?e.text.globeExtVertexArray:e.icon.globeExtVertexArray);const g=e.lineVertexArray,y=i?e.text.placedSymbolArray:e.icon.placedSymbolArray,b=r.transform.width/r.transform.height;let x=!1;for(let i=0;i<y.length;i++){const p=y.get(i);if(p.writingMode!==t.WritingMode.vertical||x||0!==i&&y.get(i-1).writingMode===t.WritingMode.horizontal||(x=!0),(p.hidden||p.writingMode===t.WritingMode.vertical)&&!x){_e(p.numGlyphs,_);continue}x=!1;const w=new t.pointGeometry(p.tileAnchorX,p.tileAnchorY),k=c?c(w):[0,0,0],M=d.projection.projectTilePoint(w.x,w.y,u.canonical),C=[M.x+k[0],M.y+k[1],M.z+k[2]],S=[...C,1];if(t.transformMat4$1(S,S,n),!se(S,m)){_e(p.numGlyphs,_);continue}const T=ae(r.transform.cameraToCenterDistance,S[3]),L=t.evaluateSizeForFeature(h,f,p),E=s?L/T:L*T,A=ie(new t.pointGeometry(C[0],C[1]),o,C[2]);if(A.signedDistanceFromCamera<=0){_e(p.numGlyphs,_);continue}let D={};const O=s?null:c,z=de(p,E,!1,l,n,o,a,e.glyphOffsetArray,g,_,v,A.point,w,D,b,O,d.projection,u,s);x=z.useVertical,O&&z.needsFlipping&&(D={}),(z.notEnoughRoom||x||z.needsFlipping&&de(p,E,!0,l,n,o,a,e.glyphOffsetArray,g,_,v,A.point,w,D,b,O,d.projection,u,s).notEnoughRoom)&&_e(p.numGlyphs,_)}i?(e.text.dynamicLayoutVertexBuffer.updateData(_),v&&e.text.globeExtVertexBuffer.updateData(v)):(e.icon.dynamicLayoutVertexBuffer.updateData(_),v&&e.icon.globeExtVertexBuffer.updateData(v))}function ce(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m){const _=s.glyphStartIndex+s.numGlyphs,v=s.lineStartIndex,g=s.lineStartIndex+s.lineLength,y=e.getoffsetX(s.glyphStartIndex),b=e.getoffsetX(_-1),x=pe(t*y,n,r,i,o,a,s.segment,v,g,l,c,u,d,h,!0,f,p,m);if(!x)return null;const w=pe(t*b,n,r,i,o,a,s.segment,v,g,l,c,u,d,h,!0,f,p,m);return w?{first:x,last:w}:null}function ue(e,n,r,i){return e.writingMode===t.WritingMode.horizontal&&Math.abs(r.y-n.y)>Math.abs(r.x-n.x)*i?{useVertical:!0}:e.writingMode===t.WritingMode.vertical?n.y<r.y?{needsFlipping:!0}:null:0!==e.flipState&&function(t,e,n){const r=(e.x-t.x)*n;return 0===r||Math.abs((e.y-t.y)/r)>te}(n,r,i)?1===e.flipState?{needsFlipping:!0}:null:n.x>r.x?{needsFlipping:!0}:null}function de(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y){const b=n/24,x=e.lineOffsetX*b,w=e.lineOffsetY*b;let k=[];if(e.numGlyphs>1){const n=e.glyphStartIndex+e.numGlyphs,o=e.lineStartIndex,u=e.lineStartIndex+e.lineLength,d=ce(b,l,x,w,r,h,f,e,c,a,p,_,!1,v,g,y);if(!d)return{notEnoughRoom:!0};const M=oe(d.first.point,s).point,C=oe(d.last.point,s).point,S=new t.pointGeometry(M[0],M[1]),T=new t.pointGeometry(C[0],C[1]);if(i&&!r){const t=ue(e,S,T,m);if(e.flipState=t&&t.needsFlipping?1:2,t)return t}k=[d.first];for(let t=e.glyphStartIndex+1;t<n-1;t++){const n=pe(b*l.getoffsetX(t),x,w,r,h,f,e.segment,o,u,c,a,p,_,!1,!1,v,g,y);if(!n)return{notEnoughRoom:!0};k.push(n)}k.push(d.last)}else{if(i&&!r){const n=ie(f,o).point,r=e.lineStartIndex+e.segment+1,i=new t.pointGeometry(c.getx(r),c.gety(r)),a=ie(i,o),s=a.signedDistanceFromCamera>0?a.point:fe(f,i,n,1,o,void 0,v,g.canonical),l=ue(e,new t.pointGeometry(n[0],n[1]),new t.pointGeometry(s[0],s[1]),m);if(e.flipState=l&&l.needsFlipping?1:2,l)return l}const n=pe(b*l.getoffsetX(e.glyphStartIndex),x,w,r,h,f,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,c,a,p,_,!1,!1,v,g,y);if(!n)return{notEnoughRoom:!0};k=[n]}if(d)for(const e of k)t.updateGlobeVertexNormal(d,u.length+0,e.up[0],e.up[1],e.up[2]),t.updateGlobeVertexNormal(d,u.length+1,e.up[0],e.up[1],e.up[2]),t.updateGlobeVertexNormal(d,u.length+2,e.up[0],e.up[1],e.up[2]),t.updateGlobeVertexNormal(d,u.length+3,e.up[0],e.up[1],e.up[2]),t.addDynamicAttributes(u,e.point[0],e.point[1],e.point[2],e.angle);else for(const e of k)t.addDynamicAttributes(u,e.point[0],e.point[1],e.point[2],e.angle);return{}}function he(e,n,r,i,o){const a=i.projectTilePoint(e.x,e.y,n);if(!o)return ie(a,r,a.z);const s=o(e);return ie(new t.pointGeometry(a.x+s[0],a.y+s[1]),r,a.z+s[2])}function fe(e,n,r,i,o,a,s,l){const c=he(e.add(e.sub(n)._unit()),l,o,s,a).point,u=t.sub([],r,c);return t.scaleAndAdd([],r,u,i/t.length(u))}function pe(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g){const y=i?e-n:e+n;let b=y>0?1:-1,x=0;i&&(b*=-1,x=Math.PI),b<0&&(x+=Math.PI);let w=b>0?l+s:l+s+1,k=o,M=o,C=0,S=0;const T=Math.abs(y),L=[],E=[];let A=a;const D=()=>{const e=w-b;return 0===C?a:new t.pointGeometry(u.getx(e),u.gety(e))},O=()=>{const t=D();return fe(t,A||t,M,T-C+1,d,f,_,v.canonical)};for(;C+S<=T;){if(w+=b,w<l||w>=c)return null;if(M=k,L.push(k),p&&E.push(A||D()),k=h[w],void 0===k){A=new t.pointGeometry(u.getx(w),u.gety(w));const e=he(A,v.canonical,d,_,f);k=e.signedDistanceFromCamera>0?h[w]=e.point:O()}else A=null;C+=S,S=t.distance(M,k)}A=A||new t.pointGeometry(u.getx(w),u.gety(w));const z=D();m&&f&&(h[w]=k=void 0===h[w]?k:O(),S=t.distance(M,k));const P=(T-C)/S,j=A.sub(z).mult(P)._add(z),I=t.sub([],k,M),Y=t.scaleAndAdd([],M,I,P);let R=[0,0,1],F=I[0],B=I[1];if(g&&(R=_.upVector(v.canonical,j.x,j.y),0!==R[0]||0!==R[1]||1!==R[2])){const e=[1,0,0],n=[0,1,0];e[0]=R[2],e[1]=0,e[2]=-R[0],t.cross(n,R,e),t.normalize(e,e),t.normalize(n,n),F=t.dot(I,e),B=t.dot(I,n)}if(r){const e=t.cross([],R,I);t.normalize(e,e),t.scaleAndAdd(Y,Y,e,r*b)}const N=x+Math.atan2(B,F);return L.push(Y),p&&E.push(j),{point:Y,angle:N,path:L,tilePath:E,up:R}}const me=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function _e(t,e){for(let n=0;n<t;n++){const t=e.length;e.resize(t+4),e.float32.set(me,4*t)}}function ve(t,e,n){const r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t[3]=n[3]*r+n[7]*i+n[15],t}const ge=100;class ye{constructor(t,e,n=new Qt(t.width+200,t.height+200,25),r=new Qt(t.width+200,t.height+200,25)){this.transform=t,this.grid=n,this.ignoredGrid=r,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+ge,this.screenBottomBoundary=t.height+ge,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200,this.fogState=e}placeCollisionBox(t,e,n,r,i,o,a,s){let l=n.projectedAnchorX,c=n.projectedAnchorY,u=n.projectedAnchorZ;const d=n.elevation,h=n.tileID;if(d&&h){const e=t.getProjection().upVector(h.canonical,n.tileAnchorX,n.tileAnchorY),r=t.getProjection().upVectorScale(h.canonical,this.transform.center.lat,this.transform.worldSize).metersToTile;l+=e[0]*d*r,c+=e[1]*d*r,u+=e[2]*d*r}const f=this.projectAndGetPerspectiveRatio(a,[l,c,u],n.tileID,"globe"===t.projection.name||!!d||this.transform.pitch>0,t.getProjection()),p=o*f.perspectiveRatio,m=(n.x1*e+r.x-n.padding)*p+f.point.x,_=(n.y1*e+r.y-n.padding)*p+f.point.y,v=(n.x2*e+r.x+n.padding)*p+f.point.x,g=(n.y2*e+r.y+n.padding)*p+f.point.y,y=f.perspectiveRatio<=.55||f.occluded;return!this.isInsideGrid(m,_,v,g)||!i&&this.grid.hitTest(m,_,v,g,s)||y?{box:[],offscreen:!1,occluded:f.occluded}:{box:[m,_,v,g],offscreen:this.isOffscreen(m,_,v,g),occluded:!1}}placeCollisionCircles(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m){const _=[],v=this.transform.elevation,g=v?v.getAtTileOffsetFunc(m,this.transform.center.lat,this.transform.worldSize,e.getProjection()):t=>[0,0,0],y=new t.pointGeometry(r.tileAnchorX,r.tileAnchorY),b=e.getProjection().projectTilePoint(r.tileAnchorX,r.tileAnchorY,m.canonical),x=g(y),w=[b.x+x[0],b.y+x[1],b.z+x[2]],k="globe"===e.projection.name,M=this.projectAndGetPerspectiveRatio(s,[w[0],w[1],w[2]],m,k||!!v||this.transform.pitch>0,e.getProjection()),{perspectiveRatio:C}=M,S=(d?a/C:a*C)/t.ONE_EM,T=ie(new t.pointGeometry(w[0],w[1]),l,w[2]).point,L=M.signedDistanceFromCamera>0?ce(S,o,r.lineOffsetX*S,r.lineOffsetY*S,!1,T,y,r,i,l,{},v&&!d?g:null,d&&!!v,e.getProjection(),m,d):null;let E=!1,A=!1,D=!0;if(L&&!M.occluded){const e=.5*f*C+p,r=new t.pointGeometry(-100,-100),i=new t.pointGeometry(this.screenRightBoundary,this.screenBottomBoundary),o=new Kt,a=L.first,s=L.last;let l=[];for(let t=a.path.length-1;t>=1;t--)l.push(a.path[t]);for(let t=1;t<s.path.length;t++)l.push(s.path[t]);const d=2.5*e;if(c){const t=l.map(v&&!k?(t,e)=>{const n=g(e<a.path.length-1?a.tilePath[a.path.length-1-e]:s.tilePath[e-a.path.length+2]);return t[2]=n[2],oe(t,c)}:t=>oe(t,c));l=t.some((t=>t.signedDistanceFromCamera<=0))?[]:t.map((t=>t.point))}let m=[];if(l.length>0){const e=l.map((e=>new t.pointGeometry(e[0],e[1])));let n=1/0,o=-1/0,a=1/0,s=-1/0;for(let t=0;t<e.length;t++)n=Math.min(n,e[t].x),a=Math.min(a,e[t].y),o=Math.max(o,e[t].x),s=Math.max(s,e[t].y);m=n>=r.x&&o<=i.x&&a>=r.y&&s<=i.y?[e]:o<r.x||n>i.x||s<r.y||a>i.y?[]:t.clipLine([e],r.x,r.y,i.x,i.y)}for(const t of m){o.reset(t,.25*e);let r=0;r=o.length<=.5*e?1:Math.ceil(o.paddedLength/d)+1;for(let t=0;t<r;t++){const i=t/Math.max(r-1,1),a=o.lerp(i),s=a.x+ge,l=a.y+ge;_.push(s,l,e,0);const c=s-e,d=l-e,f=s+e,p=l+e;if(D=D&&this.isOffscreen(c,d,f,p),A=A||this.isInsideGrid(c,d,f,p),!n&&this.grid.hitTestCircle(s,l,e,h)&&(E=!0,!u))return{circles:[],offscreen:!1,collisionDetected:E,occluded:!1}}}}return{circles:!u&&E||!A?[]:_,offscreen:D,collisionDetected:E,occluded:M.occluded}}queryRenderedSymbols(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};const n=[];let r=1/0,i=1/0,o=-1/0,a=-1/0;for(const s of e){const e=new t.pointGeometry(s.x+ge,s.y+ge);r=Math.min(r,e.x),i=Math.min(i,e.y),o=Math.max(o,e.x),a=Math.max(a,e.y),n.push(e)}const s=this.grid.query(r,i,o,a).concat(this.ignoredGrid.query(r,i,o,a)),l={},c={};for(const e of s){const r=e.key;if(void 0===l[r.bucketInstanceId]&&(l[r.bucketInstanceId]={}),l[r.bucketInstanceId][r.featureIndex])continue;const i=[new t.pointGeometry(e.x1,e.y1),new t.pointGeometry(e.x2,e.y1),new t.pointGeometry(e.x2,e.y2),new t.pointGeometry(e.x1,e.y2)];t.polygonIntersectsPolygon(n,i)&&(l[r.bucketInstanceId][r.featureIndex]=!0,void 0===c[r.bucketInstanceId]&&(c[r.bucketInstanceId]=[]),c[r.bucketInstanceId].push(r.featureIndex))}return c}insertCollisionBox(t,e,n,r,i){(e?this.ignoredGrid:this.grid).insert({bucketInstanceId:n,featureIndex:r,collisionGroupID:i},t[0],t[1],t[2],t[3])}insertCollisionCircles(t,e,n,r,i){const o=e?this.ignoredGrid:this.grid,a={bucketInstanceId:n,featureIndex:r,collisionGroupID:i};for(let e=0;e<t.length;e+=4)o.insertCircle(a,t[e],t[e+1],t[e+2])}projectAndGetPerspectiveRatio(e,n,r,i,o){const a=[n[0],n[1],n[2],1];let s=!1;if(n[2]||this.transform.pitch>0){t.transformMat4$1(a,a,e);const i="globe"===o.name;this.fogState&&r&&!i&&(s=function(e,n,r,i,o,a){const s=a.calculateFogTileMatrix(o),l=[n,r,i];return t.transformMat4(l,l,s),T(e,l,a.pitch,a._fov)}(this.fogState,n[0],n[1],n[2],r.toUnwrapped(),this.transform)>.9)}else ve(a,a,e);return{point:new t.pointGeometry((a[0]/a[3]+1)/2*this.transform.width+ge,(-a[1]/a[3]+1)/2*this.transform.height+ge),perspectiveRatio:Math.min(.5+this.transform.getCameraToCenterDistance(o)/a[3]*.5,1.5),signedDistanceFromCamera:a[3],occluded:i&&a[2]>a[3]||s}}isOffscreen(t,e,n,r){return n<ge||t>=this.screenRightBoundary||r<ge||e>this.screenBottomBoundary}isInsideGrid(t,e,n,r){return n>=0&&t<this.gridRightBoundary&&r>=0&&e<this.gridBottomBoundary}getViewportMatrix(){const e=t.identity([]);return t.translate(e,e,[-100,-100,0]),e}}function be(e,n,r){const i=n.createTileMatrix(e,e.worldSize,r.toUnwrapped());return t.multiply(new Float32Array(16),e.projMatrix,i)}function xe(t,e,n){if(e.projection.name===n.projection.name)return t.projMatrix;const r=n.clone();return r.setProjection(e.projection),be(r,e.getProjection(),t)}function we(t,e,n){return e.name===n.projection.name?t.projMatrix:be(n,e,t)}class ke{constructor(t,e,n,r){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):r&&n?1:0,this.placed=n}isHidden(){return 0===this.opacity&&!this.placed}}class Me{constructor(t,e,n,r,i,o=!1){this.text=new ke(t?t.text:null,e,n,i),this.icon=new ke(t?t.icon:null,e,r,i),this.clipped=o}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class Ce{constructor(t,e,n,r=!1){this.text=t,this.icon=e,this.skipFade=n,this.clipped=r}}class Se{constructor(){this.invProjMatrix=t.create(),this.viewportMatrix=t.create(),this.circles=[]}}class Te{constructor(t,e,n,r,i){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=n,this.bucketIndex=r,this.tileID=i}}class Le{constructor(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}}get(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){const e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:t=>t.collisionGroupID===e}}return this.collisionGroups[t]}}function Ee(e,n,r,i,o){const{horizontalAlign:a,verticalAlign:s}=t.getAnchorAlignment(e),l=-(a-.5)*n,c=-(s-.5)*r,u=t.evaluateVariableOffset(e,i);return new t.pointGeometry(l+u[0]*o,c+u[1]*o)}function Ae(e,n,r,i,o){const a=new t.pointGeometry(e,n);return r&&a._rotate(i?o:-o),a}class De{constructor(t,e,n,r,i){this.transform=t.clone(),this.projection=t.projection.name,this.collisionIndex=new ye(this.transform,i),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new Le(n),this.collisionCircleArrays={},this.prevPlacement=r,r&&(r.prevPlacement=void 0),this.placedOrientations={}}getBucketParts(e,n,r,i){const o=r.getBucket(n),a=r.latestFeatureIndex;if(!o||!a||n.id!==o.layerIds[0])return;const s=o.layers[0].layout,l=r.collisionBoxArray,c=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),u=r.tileSize/t.EXTENT,d=r.tileID.toUnwrapped();this.transform.setProjection(o.projection);const h=(f=r.tileID,p=o.getProjection(),m=this.transform,p.name===this.projection?m.calculateProjMatrix(f.toUnwrapped()):be(m,p,f));var f,p,m;const _="map"===s.get("text-pitch-alignment"),v="map"===s.get("text-rotation-alignment");n.compileFilter();const g=n.dynamicFilter(),y=n.dynamicFilterNeedsFeature(),b=this.transform.calculatePixelsToTileUnitsMatrix(r),x=ne(h,r.tileID.canonical,_,v,this.transform,o.getProjection(),b);let w=null;if(_){const e=re(h,r.tileID.canonical,_,v,this.transform,o.getProjection(),b);w=t.multiply([],this.transform.labelPlaneMatrix,e)}let k=null;g&&r.latestFeatureIndex&&(k={unwrappedTileID:d,dynamicFilter:g,dynamicFilterNeedsFeature:y,featureIndex:r.latestFeatureIndex}),this.retainedQueryData[o.bucketInstanceId]=new Te(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,r.tileID);const M={bucket:o,layout:s,posMatrix:h,textLabelPlaneMatrix:x,labelToScreenMatrix:w,clippingData:k,scale:c,textPixelRatio:u,holdingForFade:r.holdingForFade(),collisionBoxArray:l,partiallyEvaluatedTextSize:t.evaluateSizeForZoom(o.textSizeData,this.transform.zoom),partiallyEvaluatedIconSize:t.evaluateSizeForZoom(o.iconSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(o.sourceID)};if(i)for(const t of o.sortKeyRanges){const{sortKey:n,symbolInstanceStart:r,symbolInstanceEnd:i}=t;e.push({sortKey:n,symbolInstanceStart:r,symbolInstanceEnd:i,parameters:M})}else e.push({symbolInstanceStart:0,symbolInstanceEnd:o.symbolInstances.length,parameters:M})}attemptAnchorPlacement(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v){const g=[d.textOffset0,d.textOffset1],y=Ee(t,n,r,g,i),b=this.collisionIndex.placeCollisionBox(f,i,e,Ae(y.x,y.y,o,a,this.transform.angle),u,s,l,c.predicate);if(m){const t=f.getSymbolInstanceIconSize(v,this.transform.zoom,d.placedIconSymbolIndex);if(0===this.collisionIndex.placeCollisionBox(f,t,m,Ae(y.x,y.y,o,a,this.transform.angle),u,s,l,c.predicate).box.length)return}if(b.box.length>0){let e;return this.prevPlacement&&this.prevPlacement.variableOffsets[d.crossTileID]&&this.prevPlacement.placements[d.crossTileID]&&this.prevPlacement.placements[d.crossTileID].text&&(e=this.prevPlacement.variableOffsets[d.crossTileID].anchor),this.variableOffsets[d.crossTileID]={textOffset:g,width:n,height:r,anchor:t,textScale:i,prevAnchor:e},this.markUsedJustification(f,t,d,p),f.allowVerticalPlacement&&(this.markUsedOrientation(f,p,d),this.placedOrientations[d.crossTileID]=p),{shift:y,placedGlyphBoxes:b}}}placeLayerBucketPart(e,n,r,i){const{bucket:o,layout:a,posMatrix:s,textLabelPlaneMatrix:l,labelToScreenMatrix:c,clippingData:u,textPixelRatio:d,holdingForFade:h,collisionBoxArray:f,partiallyEvaluatedTextSize:p,partiallyEvaluatedIconSize:m,collisionGroup:_}=e.parameters,v=a.get("text-optional"),g=a.get("icon-optional"),y=a.get("text-allow-overlap"),b=a.get("icon-allow-overlap"),x="map"===a.get("text-rotation-alignment"),w="map"===a.get("text-pitch-alignment"),k="none"!==a.get("icon-text-fit"),M="viewport-y"===a.get("symbol-z-order");this.transform.setProjection(o.projection);let C=y&&(b||!o.hasIconData()||g),S=b&&(y||!o.hasTextData()||v);!o.collisionArrays&&f&&o.deserializeCollisionBoxes(f),r&&i&&o.updateCollisionDebugBuffers(this.transform.zoom,f);const T=(e,i,f)=>{if(u){const r={zoom:this.transform.zoom,pitch:this.transform.pitch};let i=null;if(u.dynamicFilterNeedsFeature){const t=this.retainedQueryData[o.bucketInstanceId];i=u.featureIndex.loadFeature({featureIndex:e.featureIndex,bucketIndex:t.bucketIndex,sourceLayerIndex:t.sourceLayerIndex,layoutVertexArrayOffset:0})}if(!(0,u.dynamicFilter)(r,i,this.retainedQueryData[o.bucketInstanceId].tileID.canonical,new t.pointGeometry(e.tileAnchorX,e.tileAnchorY),this.transform.calculateDistanceTileData(u.unwrappedTileID)))return this.placements[e.crossTileID]=new Ce(!1,!1,!1,!0),void(n[e.crossTileID]=!0)}if(n[e.crossTileID])return;if(h)return void(this.placements[e.crossTileID]=new Ce(!1,!1,!1));let M=!1,T=!1,L=!0,E=!1,A=!1,D=null,O={box:null,offscreen:null,occluded:null},z={box:null,offscreen:null,occluded:null},P=null,j=null,I=null,Y=0,R=0,F=0;f.textFeatureIndex?Y=f.textFeatureIndex:e.useRuntimeCollisionCircles&&(Y=e.featureIndex),f.verticalTextFeatureIndex&&(R=f.verticalTextFeatureIndex);const B=t=>{t.tileID=this.retainedQueryData[o.bucketInstanceId].tileID,(this.transform.elevation||t.elevation)&&(t.elevation=this.transform.elevation?this.transform.elevation.getAtTileOffset(this.retainedQueryData[o.bucketInstanceId].tileID,t.tileAnchorX,t.tileAnchorY):0)},N=f.textBox;if(N){B(N);const n=n=>{let r=t.WritingMode.horizontal;if(o.allowVerticalPlacement&&!n&&this.prevPlacement){const t=this.prevPlacement.placedOrientations[e.crossTileID];t&&(this.placedOrientations[e.crossTileID]=t,r=t,this.markUsedOrientation(o,r,e))}return r},r=(n,r)=>{if(o.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&f.verticalTextBox){for(const e of o.writingModes)if(e===t.WritingMode.vertical?(O=r(),z=O):O=n(),O&&O.box&&O.box.length)break}else O=n()};if(a.get("text-variable-anchor")){let l=a.get("text-variable-anchor");if(this.prevPlacement&&this.prevPlacement.variableOffsets[e.crossTileID]){const t=this.prevPlacement.variableOffsets[e.crossTileID];l.indexOf(t.anchor)>0&&(l=l.filter((e=>e!==t.anchor)),l.unshift(t.anchor))}const c=(t,n,r)=>{const a=o.getSymbolInstanceTextSize(p,e,this.transform.zoom,i),c=(t.x2-t.x1)*a+2*t.padding,u=(t.y2-t.y1)*a+2*t.padding,h=k&&!b?n:null;h&&B(h);let f={box:[],offscreen:!1,occluded:!1};const v=y?2*l.length:l.length;for(let n=0;n<v;++n){const v=this.attemptAnchorPlacement(l[n%l.length],t,c,u,a,x,w,d,s,_,n>=l.length,e,i,o,r,h,p,m);if(v&&(f=v.placedGlyphBoxes,f&&f.box&&f.box.length)){M=!0,D=v.shift;break}}return f};r((()=>c(N,f.iconBox,t.WritingMode.horizontal)),(()=>{const n=f.verticalTextBox;return n&&B(n),o.allowVerticalPlacement&&!(O&&O.box&&O.box.length)&&e.numVerticalGlyphVertices>0&&n?c(n,f.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null,occluded:null}})),O&&(M=O.box,L=O.offscreen,E=O.occluded);const u=n(O&&O.box);if(!M&&this.prevPlacement){const t=this.prevPlacement.variableOffsets[e.crossTileID];t&&(this.variableOffsets[e.crossTileID]=t,this.markUsedJustification(o,t.anchor,e,u))}}else{const a=(n,r)=>{const a=o.getSymbolInstanceTextSize(p,e,this.transform.zoom,i),l=this.collisionIndex.placeCollisionBox(o,a,n,new t.pointGeometry(0,0),y,d,s,_.predicate);return l&&l.box&&l.box.length&&(this.markUsedOrientation(o,r,e),this.placedOrientations[e.crossTileID]=r),l};r((()=>a(N,t.WritingMode.horizontal)),(()=>{const n=f.verticalTextBox;return o.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&n?(B(n),a(n,t.WritingMode.vertical)):{box:null,offscreen:null,occluded:null}})),n(O&&O.box&&O.box.length)}}if(P=O,M=P&&P.box&&P.box.length>0,L=P&&P.offscreen,E=P&&P.occluded,e.useRuntimeCollisionCircles){const n=o.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex>=0?e.centerJustifiedTextSymbolIndex:e.verticalPlacedTextSymbolIndex),i=t.evaluateSizeForFeature(o.textSizeData,p,n),u=a.get("text-padding");j=this.collisionIndex.placeCollisionCircles(o,y,n,o.lineVertexArray,o.glyphOffsetArray,i,s,l,c,r,w,_.predicate,e.collisionCircleDiameter*i/t.ONE_EM,u,this.retainedQueryData[o.bucketInstanceId].tileID),M=y||j.circles.length>0&&!j.collisionDetected,L=L&&j.offscreen,E=j.occluded}if(f.iconFeatureIndex&&(F=f.iconFeatureIndex),f.iconBox){const n=n=>{B(n);const r=k&&D?Ae(D.x,D.y,x,w,this.transform.angle):new t.pointGeometry(0,0),i=o.getSymbolInstanceIconSize(m,this.transform.zoom,e.placedIconSymbolIndex);return this.collisionIndex.placeCollisionBox(o,i,n,r,b,d,s,_.predicate)};z&&z.box&&z.box.length&&f.verticalIconBox?(I=n(f.verticalIconBox),T=I.box.length>0):(I=n(f.iconBox),T=I.box.length>0),L=L&&I.offscreen,A=I.occluded}const $=v||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,Z=g||0===e.numIconVertices;if($||Z?Z?$||(T=T&&M):M=T&&M:T=M=T&&M,M&&P&&P.box&&this.collisionIndex.insertCollisionBox(P.box,a.get("text-ignore-placement"),o.bucketInstanceId,z&&z.box&&R?R:Y,_.ID),T&&I&&this.collisionIndex.insertCollisionBox(I.box,a.get("icon-ignore-placement"),o.bucketInstanceId,F,_.ID),j&&(M&&this.collisionIndex.insertCollisionCircles(j.circles,a.get("text-ignore-placement"),o.bucketInstanceId,Y,_.ID),r)){const t=o.bucketInstanceId;let e=this.collisionCircleArrays[t];void 0===e&&(e=this.collisionCircleArrays[t]=new Se);for(let t=0;t<j.circles.length;t+=4)e.circles.push(j.circles[t+0]),e.circles.push(j.circles[t+1]),e.circles.push(j.circles[t+2]),e.circles.push(j.collisionDetected?1:0)}const H="globe"!==o.projection.name;C=C&&(H||!E),S=S&&(H||!A),this.placements[e.crossTileID]=new Ce(M||C,T||S,L||o.justReloaded),n[e.crossTileID]=!0};if(M){const t=o.getSortedSymbolIndexes(this.transform.angle);for(let e=t.length-1;e>=0;--e){const n=t[e];T(o.symbolInstances.get(n),n,o.collisionArrays[n])}}else for(let t=e.symbolInstanceStart;t<e.symbolInstanceEnd;t++)T(o.symbolInstances.get(t),t,o.collisionArrays[t]);if(r&&o.bucketInstanceId in this.collisionCircleArrays){const e=this.collisionCircleArrays[o.bucketInstanceId];t.invert(e.invProjMatrix,s),e.viewportMatrix=this.collisionIndex.getViewportMatrix()}o.justReloaded=!1}markUsedJustification(e,n,r,i){let o;o=i===t.WritingMode.vertical?r.verticalPlacedTextSymbolIndex:{left:r.leftJustifiedTextSymbolIndex,center:r.centerJustifiedTextSymbolIndex,right:r.rightJustifiedTextSymbolIndex}[t.getAnchorJustification(n)];const a=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex,r.verticalPlacedTextSymbolIndex];for(const t of a)t>=0&&(e.text.placedSymbolArray.get(t).crossTileID=o>=0&&t!==o?0:r.crossTileID)}markUsedOrientation(e,n,r){const i=n===t.WritingMode.horizontal||n===t.WritingMode.horizontalOnly?n:0,o=n===t.WritingMode.vertical?n:0,a=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex].filter((t=>-1!==t));for(const t of a)e.text.placedSymbolArray.get(t).placedOrientation=i;-1!==r.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(r.verticalPlacedTextSymbolIndex).placedOrientation=o)}commit(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;const e=this.prevPlacement;let n=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;const r=e?e.symbolFadeChange(t):1,i=e?e.opacities:{},o=e?e.variableOffsets:{},a=e?e.placedOrientations:{};for(const t in this.placements){const e=this.placements[t],o=i[t];o?(this.opacities[t]=new Me(o,r,e.text,e.icon,null,e.clipped),n=n||e.text!==o.text.placed||e.icon!==o.icon.placed):(this.opacities[t]=new Me(null,r,e.text,e.icon,e.skipFade,e.clipped),n=n||e.text||e.icon)}for(const t in i){const e=i[t];if(!this.opacities[t]){const i=new Me(e,r,!1,!1);i.isHidden()||(this.opacities[t]=i,n=n||e.text.placed||e.icon.placed)}}for(const t in o)this.variableOffsets[t]||!this.opacities[t]||this.opacities[t].isHidden()||(this.variableOffsets[t]=o[t]);for(const t in a)this.placedOrientations[t]||!this.opacities[t]||this.opacities[t].isHidden()||(this.placedOrientations[t]=a[t]);n?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)}updateLayerOpacities(t,e){const n={};for(const r of e){const e=r.getBucket(t);e&&r.latestFeatureIndex&&t.id===e.layerIds[0]&&this.updateBucketOpacities(e,n,r.collisionBoxArray)}}updateBucketOpacities(e,n,r){e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();const i=e.layers[0].layout,o=!!e.layers[0].dynamicFilter(),a=new Me(null,0,!1,!1,!0),s=i.get("text-allow-overlap"),l=i.get("icon-allow-overlap"),c=i.get("text-variable-anchor"),u="map"===i.get("text-rotation-alignment"),d="map"===i.get("text-pitch-alignment"),h="none"!==i.get("icon-text-fit"),f=new Me(null,0,s&&(l||!e.hasIconData()||i.get("icon-optional")),l&&(s||!e.hasTextData()||i.get("text-optional")),!0);!e.collisionArrays&&r&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(r);const p=(t,e,n)=>{for(let r=0;r<e/4;r++)t.opacityVertexArray.emplaceBack(n)};let m=0;for(let r=0;r<e.symbolInstances.length;r++){const i=e.symbolInstances.get(r),{numHorizontalGlyphVertices:s,numVerticalGlyphVertices:l,crossTileID:_}=i;let v=this.opacities[_];n[_]?v=a:v||(v=f,this.opacities[_]=v),n[_]=!0;const g=s>0||l>0,y=i.numIconVertices>0,b=this.placedOrientations[i.crossTileID],x=b===t.WritingMode.vertical,w=b===t.WritingMode.horizontal||b===t.WritingMode.horizontalOnly;if(!g&&!y||v.isHidden()||m++,g){const t=Be(v.text);p(e.text,s,x?Ne:t),p(e.text,l,w?Ne:t);const n=v.text.isHidden();[i.rightJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.leftJustifiedTextSymbolIndex].forEach((t=>{t>=0&&(e.text.placedSymbolArray.get(t).hidden=n||x?1:0)})),i.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(i.verticalPlacedTextSymbolIndex).hidden=n||w?1:0);const r=this.variableOffsets[i.crossTileID];r&&this.markUsedJustification(e,r.anchor,i,b);const o=this.placedOrientations[i.crossTileID];o&&(this.markUsedJustification(e,"left",i,o),this.markUsedOrientation(e,o,i))}if(y){const t=Be(v.icon);i.placedIconSymbolIndex>=0&&(p(e.icon,i.numIconVertices,x?Ne:t),e.icon.placedSymbolArray.get(i.placedIconSymbolIndex).hidden=v.icon.isHidden()),i.verticalPlacedIconSymbolIndex>=0&&(p(e.icon,i.numVerticalIconVertices,w?Ne:t),e.icon.placedSymbolArray.get(i.verticalPlacedIconSymbolIndex).hidden=v.icon.isHidden())}if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){const n=e.collisionArrays[r];if(n){let r=new t.pointGeometry(0,0),i=!0;if(n.textBox||n.verticalTextBox){if(c){const t=this.variableOffsets[_];t?(r=Ee(t.anchor,t.width,t.height,t.textOffset,t.textScale),u&&r._rotate(d?this.transform.angle:-this.transform.angle)):i=!1}o&&(i=!v.clipped),n.textBox&&Oe(e.textCollisionBox.collisionVertexArray,v.text.placed,!i||x,r.x,r.y),n.verticalTextBox&&Oe(e.textCollisionBox.collisionVertexArray,v.text.placed,!i||w,r.x,r.y)}const a=i&&Boolean(!w&&n.verticalIconBox);n.iconBox&&Oe(e.iconCollisionBox.collisionVertexArray,v.icon.placed,a,h?r.x:0,h?r.y:0),n.verticalIconBox&&Oe(e.iconCollisionBox.collisionVertexArray,v.icon.placed,!a,h?r.x:0,h?r.y:0)}}}if(e.fullyClipped=0===m,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){const t=this.collisionCircleArrays[e.bucketInstanceId];e.placementInvProjMatrix=t.invProjMatrix,e.placementViewportMatrix=t.viewportMatrix,e.collisionCircleArray=t.circles,delete this.collisionCircleArrays[e.bucketInstanceId]}}symbolFadeChange(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(t){return Math.max(0,(this.transform.zoom-t)/1.5)}hasTransitions(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration}stillRecent(t,e){const n=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*n>t}setStale(){this.stale=!0}}function Oe(t,e,n,r,i){t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0)}const ze=Math.pow(2,25),Pe=Math.pow(2,24),je=Math.pow(2,17),Ie=Math.pow(2,16),Ye=Math.pow(2,9),Re=Math.pow(2,8),Fe=Math.pow(2,1);function Be(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;const e=t.placed?1:0,n=Math.floor(127*t.opacity);return n*ze+e*Pe+n*je+e*Ie+n*Ye+e*Re+n*Fe+e}const Ne=0;class $e{constructor(t){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=[]}continuePlacement(t,e,n,r,i){const o=this._bucketParts;for(;this._currentTileIndex<t.length;)if(e.getBucketParts(o,r,t[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,i())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,o.sort(((t,e)=>t.sortKey-e.sortKey)));this._currentPartIndex<o.length;){const t=o[this._currentPartIndex];if(e.placeLayerBucketPart(t,this._seenCrossTileIDs,n,0===t.symbolInstanceStart),this._currentPartIndex++,i())return!0}return!1}}class Ze{constructor(t,e,n,r,i,o,a,s){this.placement=new De(t,i,o,a,s),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=n,this._showCollisionBoxes=r,this._done=!1}isDone(){return this._done}continuePlacement(e,n,r){const i=t.exported.now(),o=()=>{const e=t.exported.now()-i;return!this._forceFullPlacement&&e>2};for(;this._currentPlacementIndex>=0;){const t=n[e[this._currentPlacementIndex]],i=this.placement.collisionIndex.transform.zoom;if("symbol"===t.type&&(!t.minzoom||t.minzoom<=i)&&(!t.maxzoom||t.maxzoom>i)){if(this._inProgressLayer||(this._inProgressLayer=new $e(t)),this._inProgressLayer.continuePlacement(r[t.source],this.placement,this._showCollisionBoxes,t,o))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(t){return this.placement.commit(t),this.placement}}const He=512/t.EXTENT/2;class Ve{constructor(t,e,n){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=n;for(let n=0;n<e.length;n++){const r=e.get(n),i=r.key;this.indexedSymbolInstances[i]||(this.indexedSymbolInstances[i]=[]),this.indexedSymbolInstances[i].push({crossTileID:r.crossTileID,coord:this.getScaledCoordinates(r,t)})}}getScaledCoordinates(e,n){const r=He/Math.pow(2,n.canonical.z-this.tileID.canonical.z);return{x:Math.floor((n.canonical.x*t.EXTENT+e.tileAnchorX)*r),y:Math.floor((n.canonical.y*t.EXTENT+e.tileAnchorY)*r)}}findMatches(t,e,n){const r=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z);for(let i=0;i<t.length;i++){const o=t.get(i);if(o.crossTileID)continue;const a=this.indexedSymbolInstances[o.key];if(!a)continue;const s=this.getScaledCoordinates(o,e);for(const t of a)if(Math.abs(t.coord.x-s.x)<=r&&Math.abs(t.coord.y-s.y)<=r&&!n[t.crossTileID]){n[t.crossTileID]=!0,o.crossTileID=t.crossTileID;break}}}}class Ue{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class We{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(t){const e=Math.round((t-this.lng)/360);if(0!==e)for(const t in this.indexes){const n=this.indexes[t],r={};for(const t in n){const i=n[t];i.tileID=i.tileID.unwrapTo(i.tileID.wrap+e),r[i.tileID.key]=i}this.indexes[t]=r}this.lng=t}addBucket(t,e,n){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(let t=0;t<e.symbolInstances.length;t++)e.symbolInstances.get(t).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});const r=this.usedCrossTileIDs[t.overscaledZ];for(const n in this.indexes){const i=this.indexes[n];if(Number(n)>t.overscaledZ)for(const n in i){const o=i[n];o.tileID.isChildOf(t)&&o.findMatches(e.symbolInstances,t,r)}else{const o=i[t.scaledTo(Number(n)).key];o&&o.findMatches(e.symbolInstances,t,r)}}for(let t=0;t<e.symbolInstances.length;t++){const i=e.symbolInstances.get(t);i.crossTileID||(i.crossTileID=n.generate(),r[i.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new Ve(t,e.symbolInstances,e.bucketInstanceId),!0}removeBucketCrossTileIDs(t,e){for(const n in e.indexedSymbolInstances)for(const r of e.indexedSymbolInstances[n])delete this.usedCrossTileIDs[t][r.crossTileID]}removeStaleBuckets(t){let e=!1;for(const n in this.indexes){const r=this.indexes[n];for(const i in r)t[r[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(n,r[i]),delete r[i],e=!0)}return e}}class Ge{constructor(){this.layerIndexes={},this.crossTileIDs=new Ue,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}}addLayer(t,e,n,r){let i=this.layerIndexes[t.id];void 0===i&&(i=this.layerIndexes[t.id]=new We);let o=!1;const a={};"globe"!==r.name&&i.handleWrapJump(n);for(const n of e){const e=n.getBucket(t);e&&t.id===e.layerIds[0]&&(e.bucketInstanceId||(e.bucketInstanceId=++this.maxBucketInstanceId),i.addBucket(n.tileID,e,this.crossTileIDs)&&(o=!0),a[e.bucketInstanceId]=!0)}return i.removeStaleBuckets(a)&&(o=!0),o}pruneUnusedLayers(t){const e={};t.forEach((t=>{e[t]=!0}));for(const t in this.layerIndexes)e[t]||delete this.layerIndexes[t]}}const qe=(e,n)=>t.emitValidationErrors(e,n&&n.filter((t=>"source.canvas"!==t.identifier))),Xe=t.pick(Ht,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData","setTerrain","setFog","setProjection"]),Je=t.pick(Ht,["setCenter","setZoom","setBearing","setPitch"]),Ke={version:8,layers:[],sources:{}},Qe={fill:!0,line:!0,background:!0,hillshade:!0,raster:!0};class tn extends t.Evented{constructor(e,n={}){super(),this.map=e,this.dispatcher=new O(Nt(),this),this.imageManager=new b,this.imageManager.setEventedParent(this),this.glyphManager=new t.GlyphManager(e._requestManager,n.localFontFamily?t.LocalGlyphMode.all:n.localIdeographFontFamily?t.LocalGlyphMode.ideographs:t.LocalGlyphMode.none,n.localFontFamily||n.localIdeographFontFamily),this.crossTileSymbolIndex=new Ge,this._layers={},this._num3DLayers=0,this._numSymbolLayers=0,this._numCircleLayers=0,this._serializedLayers={},this._sourceCaches={},this._otherSourceCaches={},this._symbolSourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._availableImages=[],this._order=[],this._drapedFirstOrder=[],this._markersNeedUpdate=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());const r=this;this._rtlTextPluginCallback=tn.registerForPluginStateChange((e=>{r.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:e.pluginStatus,pluginURL:e.pluginURL},((e,n)=>{if(t.triggerPluginCompletionEvent(e),n&&n.every((t=>t)))for(const t in r._sourceCaches){const e=r._sourceCaches[t],n=e.getSource().type;"vector"!==n&&"geojson"!==n||e.reload()}}))})),this.on("data",(t=>{if("source"!==t.dataType||"metadata"!==t.sourceDataType)return;const e=this.getSource(t.sourceId);if(e&&e.vectorLayerIds)for(const t in this._layers){const n=this._layers[t];n.source===e.id&&this._validateLayer(n)}}))}loadURL(e,n={}){this.fire(new t.Event("dataloading",{dataType:"style"}));const r="boolean"==typeof n.validate?n.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,n.accessToken);const i=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(i,((e,n)=>{this._request=null,e?this.fire(new t.ErrorEvent(e)):n&&this._load(n,r)}))}loadJSON(e,n={}){this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.exported.frame((()=>{this._request=null,this._load(e,!1!==n.validate)}))}loadEmpty(){this.fire(new t.Event("dataloading",{dataType:"style"})),this._load(Ke,!1)}_updateLayerCount(t,e){const n=e?1:-1;t.is3D()&&(this._num3DLayers+=n),"circle"===t.type&&(this._numCircleLayers+=n),"symbol"===t.type&&(this._numSymbolLayers+=n)}_load(e,n){if(n&&qe(this,t.validateStyle(e)))return;this._loaded=!0,this.stylesheet=t.clone$1(e),this._updateMapProjection();for(const t in e.sources)this.addSource(t,e.sources[t],{validate:!1});this._changed=!1,e.sprite?this._loadSprite(e.sprite):(this.imageManager.setLoaded(!0),this.dispatcher.broadcast("spriteLoaded",!0)),this.glyphManager.setURL(e.glyphs);const r=Zt(this.stylesheet.layers);this._order=r.map((t=>t.id)),this._layers={},this._serializedLayers={};for(let e of r)e=t.createStyleLayer(e),e.setEventedParent(this,{layer:{id:e.id}}),this._layers[e.id]=e,this._serializedLayers[e.id]=e.serialize(),this._updateLayerCount(e,!0);this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new k(this.stylesheet.light),this.stylesheet.terrain&&!this.terrainSetForDrapingOnly()&&this._createTerrain(this.stylesheet.terrain,1),this.stylesheet.fog&&this._createFog(this.stylesheet.fog),this._updateDrapeFirstLayers(),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}terrainSetForDrapingOnly(){return!!this.terrain&&0===this.terrain.drapeRenderMode}setProjection(t){t?this.stylesheet.projection=t:delete this.stylesheet.projection,this._updateMapProjection()}applyProjectionUpdate(){this._loaded&&(this.dispatcher.broadcast("setProjection",this.map.transform.projectionOptions),this.map.transform.projection.requiresDraping?this.getTerrain()||this.stylesheet.terrain||this.setTerrainForDraping():this.terrainSetForDrapingOnly()&&this.setTerrain(null))}_updateMapProjection(){this.map._useExplicitProjection?this.applyProjectionUpdate():this.map._prioritizeAndUpdateProjection(null,this.stylesheet.projection)}_loadSprite(e){this._spriteRequest=function(e,n,r){let i,o,a;const s=t.exported.devicePixelRatio>1?"@2x":"";let l=t.getJSON(n.transformRequest(n.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),((t,e)=>{l=null,a||(a=t,i=e,u())})),c=t.getImage(n.transformRequest(n.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),((t,e)=>{c=null,a||(a=t,o=e,u())}));function u(){if(a)r(a);else if(i&&o){const e=t.exported.getImageData(o),n={};for(const r in i){const{width:o,height:a,x:s,y:l,sdf:c,pixelRatio:u,stretchX:d,stretchY:h,content:f}=i[r],p=new t.RGBAImage({width:o,height:a});t.RGBAImage.copy(e,p,{x:s,y:l},{x:0,y:0},{width:o,height:a}),n[r]={data:p,pixelRatio:u,sdf:c,stretchX:d,stretchY:h,content:f}}r(null,n)}}return{cancel(){l&&(l.cancel(),l=null),c&&(c.cancel(),c=null)}}}(e,this.map._requestManager,((e,n)=>{if(this._spriteRequest=null,e)this.fire(new t.ErrorEvent(e));else if(n)for(const t in n)this.imageManager.addImage(t,n[t]);this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),this.dispatcher.broadcast("setImages",this._availableImages),this.dispatcher.broadcast("spriteLoaded",!0),this.fire(new t.Event("data",{dataType:"style"}))}))}_validateLayer(e){const n=this.getSource(e.source);if(!n)return;const r=e.sourceLayer;r&&("geojson"===n.type||n.vectorLayerIds&&-1===n.vectorLayerIds.indexOf(r))&&this.fire(new t.ErrorEvent(new Error(`Source layer "${r}" does not exist on source "${n.id}" as specified by style layer "${e.id}"`)))}loaded(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(const t in this._sourceCaches)if(!this._sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeLayers(t){const e=[];for(const n of t){const t=this._layers[n];"custom"!==t.type&&e.push(t.serialize())}return e}hasTransitions(){if(this.light&&this.light.hasTransition())return!0;if(this.fog&&this.fog.hasTransition())return!0;for(const t in this._sourceCaches)if(this._sourceCaches[t].hasTransition())return!0;for(const t in this._layers)if(this._layers[t].hasTransition())return!0;return!1}get order(){return this.map._optimizeForTerrain&&this.terrain?this._drapedFirstOrder:this._order}isLayerDraped(t){return!!this.terrain&&Qe[t.type]}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading")}update(e){if(!this._loaded)return;const n=this._changed;if(this._changed){const t=Object.keys(this._updatedLayers),n=Object.keys(this._removedLayers);(t.length||n.length)&&this._updateWorkerLayers(t,n);for(const t in this._updatedSources){const e=this._updatedSources[t];"reload"===e?this._reloadSource(t):"clear"===e&&this._clearSource(t)}this._updateTilesForChangedImages();for(const t in this._updatedPaintProps)this._layers[t].updateTransitions(e);this.light.updateTransitions(e),this.fog&&this.fog.updateTransitions(e),this._resetUpdates()}const r={};for(const t in this._sourceCaches){const e=this._sourceCaches[t];r[t]=e.used,e.used=!1}for(const t of this._order){const n=this._layers[t];if(n.recalculate(e,this._availableImages),!n.isHidden(e.zoom)){const t=this._getLayerSourceCache(n);t&&(t.used=!0)}const r=this.map.painter;if(r){const t=n.getProgramIds();if(!t)continue;const i=n.getProgramConfiguration(e.zoom);for(const e of t)r.useProgram(e,i)}}for(const e in r){const n=this._sourceCaches[e];r[e]!==n.used&&n.getSource().fire(new t.Event("data",{sourceDataType:"visibility",dataType:"source",sourceId:n.getSource().id}))}this.light.recalculate(e),this.terrain&&this.terrain.recalculate(e),this.fog&&this.fog.recalculate(e),this.z=e.zoom,this._markersNeedUpdate&&(this._updateMarkersOpacity(),this._markersNeedUpdate=!1),n&&this.fire(new t.Event("data",{dataType:"style"}))}_updateTilesForChangedImages(){const t=Object.keys(this._changedImages);if(t.length){for(const e in this._sourceCaches)this._sourceCaches[e].reloadTilesForDependencies(["icons","patterns"],t);this._changedImages={}}}_updateWorkerLayers(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}}setState(n){if(this._checkLoaded(),qe(this,t.validateStyle(n)))return!1;(n=t.clone$1(n)).layers=Zt(n.layers);const r=function(t,n){if(!t)return[{command:Ht.setStyle,args:[n]}];let r=[];try{if(!e(t.version,n.version))return[{command:Ht.setStyle,args:[n]}];e(t.center,n.center)||r.push({command:Ht.setCenter,args:[n.center]}),e(t.zoom,n.zoom)||r.push({command:Ht.setZoom,args:[n.zoom]}),e(t.bearing,n.bearing)||r.push({command:Ht.setBearing,args:[n.bearing]}),e(t.pitch,n.pitch)||r.push({command:Ht.setPitch,args:[n.pitch]}),e(t.sprite,n.sprite)||r.push({command:Ht.setSprite,args:[n.sprite]}),e(t.glyphs,n.glyphs)||r.push({command:Ht.setGlyphs,args:[n.glyphs]}),e(t.transition,n.transition)||r.push({command:Ht.setTransition,args:[n.transition]}),e(t.light,n.light)||r.push({command:Ht.setLight,args:[n.light]}),e(t.fog,n.fog)||r.push({command:Ht.setFog,args:[n.fog]}),e(t.projection,n.projection)||r.push({command:Ht.setProjection,args:[n.projection]});const i={},o=[];!function(t,n,r,i){let o;for(o in n=n||{},t=t||{})t.hasOwnProperty(o)&&(n.hasOwnProperty(o)||Ut(o,r,i));for(o in n)n.hasOwnProperty(o)&&(t.hasOwnProperty(o)?e(t[o],n[o])||("geojson"===t[o].type&&"geojson"===n[o].type&&Gt(t,n,o)?r.push({command:Ht.setGeoJSONSourceData,args:[o,n[o].data]}):Wt(o,n,r,i)):Vt(o,n,r))}(t.sources,n.sources,o,i);const a=[];t.layers&&t.layers.forEach((t=>{t.source&&i[t.source]?r.push({command:Ht.removeLayer,args:[t.id]}):a.push(t)}));let s=t.terrain;s&&i[s.source]&&(r.push({command:Ht.setTerrain,args:[void 0]}),s=void 0),r=r.concat(o),e(s,n.terrain)||r.push({command:Ht.setTerrain,args:[n.terrain]}),function(t,n,r){n=n||[];const i=(t=t||[]).map(Xt),o=n.map(Xt),a=t.reduce(Jt,{}),s=n.reduce(Jt,{}),l=i.slice(),c=Object.create(null);let u,d,h,f,p,m,_;for(u=0,d=0;u<i.length;u++)h=i[u],s.hasOwnProperty(h)?d++:(r.push({command:Ht.removeLayer,args:[h]}),l.splice(l.indexOf(h,d),1));for(u=0,d=0;u<o.length;u++)h=o[o.length-1-u],l[l.length-1-u]!==h&&(a.hasOwnProperty(h)?(r.push({command:Ht.removeLayer,args:[h]}),l.splice(l.lastIndexOf(h,l.length-d),1)):d++,m=l[l.length-u],r.push({command:Ht.addLayer,args:[s[h],m]}),l.splice(l.length-u,0,h),c[h]=!0);for(u=0;u<o.length;u++)if(h=o[u],f=a[h],p=s[h],!c[h]&&!e(f,p))if(e(f.source,p.source)&&e(f["source-layer"],p["source-layer"])&&e(f.type,p.type)){for(_ in qt(f.layout,p.layout,r,h,null,Ht.setLayoutProperty),qt(f.paint,p.paint,r,h,null,Ht.setPaintProperty),e(f.filter,p.filter)||r.push({command:Ht.setFilter,args:[h,p.filter]}),e(f.minzoom,p.minzoom)&&e(f.maxzoom,p.maxzoom)||r.push({command:Ht.setLayerZoomRange,args:[h,p.minzoom,p.maxzoom]}),f)f.hasOwnProperty(_)&&"layout"!==_&&"paint"!==_&&"filter"!==_&&"metadata"!==_&&"minzoom"!==_&&"maxzoom"!==_&&(0===_.indexOf("paint.")?qt(f[_],p[_],r,h,_.slice(6),Ht.setPaintProperty):e(f[_],p[_])||r.push({command:Ht.setLayerProperty,args:[h,_,p[_]]}));for(_ in p)p.hasOwnProperty(_)&&!f.hasOwnProperty(_)&&"layout"!==_&&"paint"!==_&&"filter"!==_&&"metadata"!==_&&"minzoom"!==_&&"maxzoom"!==_&&(0===_.indexOf("paint.")?qt(f[_],p[_],r,h,_.slice(6),Ht.setPaintProperty):e(f[_],p[_])||r.push({command:Ht.setLayerProperty,args:[h,_,p[_]]}))}else r.push({command:Ht.removeLayer,args:[h]}),m=l[l.lastIndexOf(h)+1],r.push({command:Ht.addLayer,args:[p,m]})}(a,n.layers,r)}catch(t){console.warn("Unable to compute style diff:",t),r=[{command:Ht.setStyle,args:[n]}]}return r}(this.serialize(),n).filter((t=>!(t.command in Je)));if(0===r.length)return!1;const i=r.filter((t=>!(t.command in Xe)));if(i.length>0)throw new Error(`Unimplemented: ${i.map((t=>t.command)).join(", ")}.`);return r.forEach((t=>{"setTransition"!==t.command&&"setProjection"!==t.command&&this[t.command].apply(this,t.args)})),this.stylesheet=n,this._updateMapProjection(),!0}addImage(e,n){return this.getImage(e)?this.fire(new t.ErrorEvent(new Error("An image with this name already exists."))):(this.imageManager.addImage(e,n),this._afterImageUpdated(e),this)}updateImage(t,e){this.imageManager.updateImage(t,e)}getImage(t){return this.imageManager.getImage(t)}removeImage(e){return this.getImage(e)?(this.imageManager.removeImage(e),this._afterImageUpdated(e),this):this.fire(new t.ErrorEvent(new Error("No image with this name exists.")))}_afterImageUpdated(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new t.Event("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this._availableImages.slice()}addSource(e,n,r={}){if(this._checkLoaded(),void 0!==this.getSource(e))throw new Error("There is already a source with this ID");if(!n.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(n).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(n.type)>=0&&this._validate(t.validateSource,`sources.${e}`,n,null,r))return;this.map&&this.map._collectResourceTiming&&(n.collectResourceTiming=!0);const i=Ot(e,n,this.dispatcher,this);i.setEventedParent(this,(()=>({isSourceLoaded:this._isSourceCacheLoaded(e),source:i.serialize(),sourceId:e})));const o=n=>{const r=(n?"symbol:":"other:")+e,o=this._sourceCaches[r]=new t.SourceCache(r,i,n);(n?this._symbolSourceCaches:this._otherSourceCaches)[e]=o,o.style=this,o.onAdd(this.map)};o(!1),"vector"!==n.type&&"geojson"!==n.type||o(!0),i.onAdd&&i.onAdd(this.map),this._changed=!0}removeSource(e){this._checkLoaded();const n=this.getSource(e);if(!n)throw new Error("There is no source with this ID");for(const n in this._layers)if(this._layers[n].source===e)return this.fire(new t.ErrorEvent(new Error(`Source "${e}" cannot be removed while layer "${n}" is using it.`)));if(this.terrain&&this.terrain.get().source===e)return this.fire(new t.ErrorEvent(new Error(`Source "${e}" cannot be removed while terrain is using it.`)));const r=this._getSourceCaches(e);for(const e of r)delete this._sourceCaches[e.id],delete this._updatedSources[e.id],e.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e.getSource().id})),e.setEventedParent(null),e.clearTiles();return delete this._otherSourceCaches[e],delete this._symbolSourceCaches[e],n.setEventedParent(null),n.onRemove&&n.onRemove(this.map),this._changed=!0,this}setGeoJSONSourceData(t,e){this._checkLoaded(),this.getSource(t).setData(e),this._changed=!0}getSource(t){const e=this._getSourceCache(t);return e&&e.getSource()}_getSources(){const t=[];for(const e in this._otherSourceCaches){const n=this._getSourceCache(e);n&&t.push(n.getSource())}return t}addLayer(e,n,r={}){this._checkLoaded();const i=e.id;if(this.getLayer(i))return void this.fire(new t.ErrorEvent(new Error(`Layer with id "${i}" already exists on this map`)));let o;if("custom"===e.type){if(qe(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(i,e.source),e=t.clone$1(e),e=t.extend(e,{source:i})),this._validate(t.validateLayer,`layers.${i}`,e,{arrayIndex:-1},r))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:i}}),this._serializedLayers[o.id]=o.serialize(),this._updateLayerCount(o,!0)}const a=n?this._order.indexOf(n):this._order.length;if(n&&-1===a)return void this.fire(new t.ErrorEvent(new Error(`Layer with id "${n}" does not exist on this map.`)));this._order.splice(a,0,i),this._layerOrderChanged=!0,this._layers[i]=o;const s=this._getLayerSourceCache(o);if(this._removedLayers[i]&&o.source&&s&&"custom"!==o.type){const t=this._removedLayers[i];delete this._removedLayers[i],t.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",s.pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map),this._updateDrapeFirstLayers()}moveLayer(e,n){if(this._checkLoaded(),this._changed=!0,!this._layers[e])return void this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot be moved.`)));if(e===n)return;const r=this._order.indexOf(e);this._order.splice(r,1);const i=n?this._order.indexOf(n):this._order.length;n&&-1===i?this.fire(new t.ErrorEvent(new Error(`Layer with id "${n}" does not exist on this map.`))):(this._order.splice(i,0,e),this._layerOrderChanged=!0,this._updateDrapeFirstLayers())}removeLayer(e){this._checkLoaded();const n=this._layers[e];if(!n)return void this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot be removed.`)));n.setEventedParent(null),this._updateLayerCount(n,!1);const r=this._order.indexOf(e);this._order.splice(r,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=n,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],n.onRemove&&n.onRemove(this.map),this._updateDrapeFirstLayers()}getLayer(t){return this._layers[t]}hasLayer(t){return t in this._layers}hasLayerType(t){for(const e in this._layers)if(this._layers[e].type===t)return!0;return!1}setLayerZoomRange(e,n,r){this._checkLoaded();const i=this.getLayer(e);i?i.minzoom===n&&i.maxzoom===r||(null!=n&&(i.minzoom=n),null!=r&&(i.maxzoom=r),this._updateLayer(i)):this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot have zoom extent.`)))}setFilter(n,r,i={}){this._checkLoaded();const o=this.getLayer(n);if(o){if(!e(o.filter,r))return null==r?(o.filter=void 0,void this._updateLayer(o)):void(this._validate(t.validateFilter,`layers.${o.id}.filter`,r,{layerType:o.type},i)||(o.filter=t.clone$1(r),this._updateLayer(o)))}else this.fire(new t.ErrorEvent(new Error(`The layer '${n}' does not exist in the map's style and cannot be filtered.`)))}getFilter(e){const n=this.getLayer(e);return n&&t.clone$1(n.filter)}setLayoutProperty(n,r,i,o={}){this._checkLoaded();const a=this.getLayer(n);a?e(a.getLayoutProperty(r),i)||(a.setLayoutProperty(r,i,o),this._updateLayer(a)):this.fire(new t.ErrorEvent(new Error(`The layer '${n}' does not exist in the map's style and cannot be styled.`)))}getLayoutProperty(e,n){const r=this.getLayer(e);if(r)return r.getLayoutProperty(n);this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style.`)))}setPaintProperty(n,r,i,o={}){this._checkLoaded();const a=this.getLayer(n);a?e(a.getPaintProperty(r),i)||(a.setPaintProperty(r,i,o)&&this._updateLayer(a),this._changed=!0,this._updatedPaintProps[n]=!0):this.fire(new t.ErrorEvent(new Error(`The layer '${n}' does not exist in the map's style and cannot be styled.`)))}getPaintProperty(t,e){const n=this.getLayer(t);return n&&n.getPaintProperty(e)}setFeatureState(e,n){this._checkLoaded();const r=e.source,i=e.sourceLayer,o=this.getSource(r);if(!o)return void this.fire(new t.ErrorEvent(new Error(`The source '${r}' does not exist in the map's style.`)));const a=o.type;if("geojson"===a&&i)return void this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));if("vector"===a&&!i)return void this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided.")));const s=this._getSourceCaches(r);for(const t of s)t.setFeatureState(i,e.id,n)}removeFeatureState(e,n){this._checkLoaded();const r=e.source,i=this.getSource(r);if(!i)return void this.fire(new t.ErrorEvent(new Error(`The source '${r}' does not exist in the map's style.`)));const o=i.type,a="vector"===o?e.sourceLayer:void 0;if("vector"===o&&!a)return void this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));if(n&&"string"!=typeof e.id&&"number"!=typeof e.id)return void this.fire(new t.ErrorEvent(new Error("A feature id is required to remove its specific state property.")));const s=this._getSourceCaches(r);for(const t of s)t.removeFeatureState(a,e.id,n)}getFeatureState(e){this._checkLoaded();const n=e.source,r=e.sourceLayer,i=this.getSource(n);if(i){if("vector"!==i.type||r)return void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),this._getSourceCaches(n)[0].getFeatureState(r,e.id);this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error(`The source '${n}' does not exist in the map's style.`)))}getTransition(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){const e={};for(const t in this._sourceCaches){const n=this._sourceCaches[t].getSource();e[n.id]||(e[n.id]=n.serialize())}return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,terrain:this.getTerrain()||void 0,fog:this.stylesheet.fog,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,projection:this.stylesheet.projection,sources:e,layers:this._serializeLayers(this._order)},(t=>void 0!==t))}_updateLayer(t){this._updatedLayers[t.id]=!0;const e=this._getLayerSourceCache(t);t.source&&!this._updatedSources[t.source]&&e&&"raster"!==e.getSource().type&&(this._updatedSources[t.source]="reload",e.pause()),this._changed=!0,t.invalidateCompiledFilter()}_flattenAndSortRenderedFeatures(t){const e=t=>"fill-extrusion"===this._layers[t].type,n={},r=[];for(let i=this._order.length-1;i>=0;i--){const o=this._order[i];if(e(o)){n[o]=i;for(const e of t){const t=e[o];if(t)for(const e of t)r.push(e)}}}r.sort(((t,e)=>e.intersectionZ-t.intersectionZ));const i=[];for(let o=this._order.length-1;o>=0;o--){const a=this._order[o];if(e(a))for(let t=r.length-1;t>=0;t--){const e=r[t].feature;if(n[e.layer.id]<o)break;i.push(e),r.pop()}else for(const e of t){const t=e[a];if(t)for(const e of t)i.push(e.feature)}}return i}queryRenderedFeatures(e,n,r){n&&n.filter&&this._validate(t.validateFilter,"queryRenderedFeatures.filter",n.filter,null,n);const i={};if(n&&n.layers){if(!Array.isArray(n.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(const e of n.layers){const n=this._layers[e];if(!n)return this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot be queried for features.`))),[];i[n.source]=!0}}const o=[];n.availableImages=this._availableImages;const a=n&&n.layers?n.layers.some((t=>{const e=this.getLayer(t);return e&&e.is3D()})):this.has3DLayers(),s=P.createFromScreenPoints(e,r);for(const t in this._sourceCaches){const e=this._sourceCaches[t].getSource().id;n.layers&&!i[e]||o.push(Pt(this._sourceCaches[t],this._layers,this._serializedLayers,s,n,r,a,!!this.map._showQueryGeometry))}return this.placement&&o.push(function(t,e,n,r,i,o,a){const s={},l=o.queryRenderedSymbols(r),c=[];for(const t of Object.keys(l).map(Number))c.push(a[t]);c.sort(It);for(const n of c){const r=n.featureIndex.lookupSymbolFeatures(l[n.bucketInstanceId],e,n.bucketIndex,n.sourceLayerIndex,i.filter,i.layers,i.availableImages,t);for(const t in r){const e=s[t]=s[t]||[],i=r[t];i.sort(((t,e)=>{const r=n.featureSortOrder;if(r){const n=r.indexOf(t.featureIndex);return r.indexOf(e.featureIndex)-n}return e.featureIndex-t.featureIndex}));for(const t of i)e.push(t)}}for(const e in s)s[e].forEach((r=>{const i=r.feature,o=n(t[e]).getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o}));return s}(this._layers,this._serializedLayers,this._getLayerSourceCache.bind(this),s.screenGeometry,n,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(o)}querySourceFeatures(e,n){n&&n.filter&&this._validate(t.validateFilter,"querySourceFeatures.filter",n.filter,null,n);const r=this._getSourceCaches(e);let i=[];for(const t of r)i=i.concat(jt(t,n));return i}addSourceType(t,e,n){return tn.getSourceType(t)?n(new Error(`A source type called "${t}" already exists.`)):(tn.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},n):n(null,null))}getLight(){return this.light.getLight()}setLight(t,n={}){this._checkLoaded();const r=this.light.getLight();let i=!1;for(const n in t)if(!e(t[n],r[n])){i=!0;break}if(!i)return;const o=this._setTransitionParameters({duration:300,delay:0});this.light.setLight(t,n),this.light.updateTransitions(o)}getTerrain(){return this.terrain&&1===this.terrain.drapeRenderMode?this.terrain.get():null}setTerrainForDraping(){this.setTerrain({source:"",exaggeration:0},0)}setTerrain(n,r=1){if(this._checkLoaded(),!n)return delete this.terrain,delete this.stylesheet.terrain,this.dispatcher.broadcast("enableTerrain",!1),this._force3DLayerUpdate(),void(this._markersNeedUpdate=!0);if(1===r){if("object"==typeof n.source){const e="terrain-dem-src";this.addSource(e,n.source),n=t.clone$1(n),n=t.extend(n,{source:e})}if(this._validate(t.validateTerrain,"terrain",n))return}if(!this.terrain||this.terrain&&r!==this.terrain.drapeRenderMode)this._createTerrain(n,r);else{const r=this.terrain,i=r.get();for(const e of Object.keys(t.spec.terrain))!n.hasOwnProperty(e)&&t.spec.terrain[e].default&&(n[e]=t.spec.terrain[e].default);for(const t in n)if(!e(n[t],i[t])){r.set(n),this.stylesheet.terrain=n;const t=this._setTransitionParameters({duration:0});r.updateTransitions(t);break}}this._updateDrapeFirstLayers(),this._markersNeedUpdate=!0}_createFog(t){const e=this.fog=new D(t,this.map.transform);this.stylesheet.fog=t;const n=this._setTransitionParameters({duration:0});e.updateTransitions(n)}_updateMarkersOpacity(){0!==this.map._markers.length&&this.map._requestDomTask((()=>{for(const t of this.map._markers)t._evaluateOpacity()}))}getFog(){return this.fog?this.fog.get():null}setFog(t){if(this._checkLoaded(),!t)return delete this.fog,delete this.stylesheet.fog,void(this._markersNeedUpdate=!0);if(this.fog){const n=this.fog,r=n.get();0===Object.keys(t).length&&n.set(t);for(const i in t)if(!e(t[i],r[i])){n.set(t),this.stylesheet.fog=t;const e=this._setTransitionParameters({duration:0});n.updateTransitions(e);break}}else this._createFog(t);this._markersNeedUpdate=!0}_setTransitionParameters(e){return{now:t.exported.now(),transition:t.extend(e,this.stylesheet.transition)}}_updateDrapeFirstLayers(){if(!this.map._optimizeForTerrain||!this.terrain)return;const t=this._order.filter((t=>this.isLayerDraped(this._layers[t]))),e=this._order.filter((t=>!this.isLayerDraped(this._layers[t])));this._drapedFirstOrder=[],this._drapedFirstOrder.push(...t),this._drapedFirstOrder.push(...e)}_createTerrain(t,e){const n=this.terrain=new S(t,e);this.stylesheet.terrain=t,this.dispatcher.broadcast("enableTerrain",!this.terrainSetForDrapingOnly()),this._force3DLayerUpdate();const r=this._setTransitionParameters({duration:0});n.updateTransitions(r)}_force3DLayerUpdate(){for(const t in this._layers){const e=this._layers[t];"fill-extrusion"===e.type&&this._updateLayer(e)}}_forceSymbolLayerUpdate(){for(const t in this._layers){const e=this._layers[t];"symbol"===e.type&&this._updateLayer(e)}}_validate(e,n,r,i,o={}){return(!o||!1!==o.validate)&&qe(this,e.call(t.validateStyle,t.extend({key:n,style:this.serialize(),value:r,styleSpec:t.spec},i)))}_remove(){this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginStateChange",this._rtlTextPluginCallback);for(const t in this._layers)this._layers[t].setEventedParent(null);for(const t in this._sourceCaches)this._sourceCaches[t].clearTiles(),this._sourceCaches[t].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()}_clearSource(t){const e=this._getSourceCaches(t);for(const t of e)t.clearTiles()}_reloadSource(t){const e=this._getSourceCaches(t);for(const t of e)t.resume(),t.reload()}_reloadSources(){for(const t of this._getSources())t.reload&&t.reload()}_updateSources(t){for(const e in this._sourceCaches)this._sourceCaches[e].update(t)}_generateCollisionBoxes(){for(const t in this._sourceCaches){const e=this._sourceCaches[t];e.resume(),e.reload()}}_updatePlacement(e,n,r,i,o=!1){let a=!1,s=!1;const l={};for(const t of this._order){const n=this._layers[t];if("symbol"!==n.type)continue;if(!l[n.source]){const t=this._getLayerSourceCache(n);if(!t)continue;l[n.source]=t.getRenderableIds(!0).map((e=>t.getTileByID(e))).sort(((t,e)=>e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)))}const r=this.crossTileSymbolIndex.addLayer(n,l[n.source],e.center.lng,e.projection);a=a||r}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),o=o||this._layerOrderChanged||0===r,this._layerOrderChanged&&this.fire(new t.Event("neworder")),(o||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.exported.now(),e.zoom))&&(this.pauseablePlacement=new Ze(e,this._order,o,n,r,i,this.placement,this.fog&&e.projection.supportsFog?this.fog.state:null),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.exported.now()),s=!0),a&&this.pauseablePlacement.placement.setStale()),s||a)for(const t of this._order){const e=this._layers[t];"symbol"===e.type&&this.placement.updateLayerOpacities(e,l[e.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.exported.now())}_releaseSymbolFadeTiles(){for(const t in this._sourceCaches)this._sourceCaches[t].releaseSymbolFadeTiles()}getImages(t,e,n){this.imageManager.getImages(e.icons,n),this._updateTilesForChangedImages();const r=t=>{t&&t.setDependencies(e.tileID.key,e.type,e.icons)};r(this._otherSourceCaches[e.source]),r(this._symbolSourceCaches[e.source])}getGlyphs(t,e,n){this.glyphManager.getGlyphs(e.stacks,n)}getResource(e,n,r){return t.makeRequest(n,r)}_getSourceCache(t){return this._otherSourceCaches[t]}_getLayerSourceCache(t){return"symbol"===t.type?this._symbolSourceCaches[t.source]:this._otherSourceCaches[t.source]}_getSourceCaches(t){const e=[];return this._otherSourceCaches[t]&&e.push(this._otherSourceCaches[t]),this._symbolSourceCaches[t]&&e.push(this._symbolSourceCaches[t]),e}_isSourceCacheLoaded(e){const n=this._getSourceCaches(e);return 0===n.length?(this.fire(new t.ErrorEvent(new Error(`There is no source with ID '${e}'`))),!1):n.every((t=>t.loaded()))}has3DLayers(){return this._num3DLayers>0}hasSymbolLayers(){return this._numSymbolLayers>0}hasCircleLayers(){return this._numCircleLayers>0}_clearWorkerCaches(){this.dispatcher.broadcast("clearCaches")}destroy(){this._clearWorkerCaches(),this.terrainSetForDrapingOnly()&&(delete this.terrain,delete this.stylesheet.terrain)}}tn.getSourceType=function(t){return Dt[t]},tn.setSourceType=function(t,e){Dt[t]=e},tn.registerForPluginStateChange=t.registerForPluginStateChange;
2var en="\n#define EPSILON 0.0000001\n#define PI 3.141592653589793\n#define EXTENT 8192.0\n#define HALF_PI PI/2.0\n#define QUARTER_PI PI/4.0\n#define RAD_TO_DEG 180.0/PI\n#define DEG_TO_RAD PI/180.0\n#define GLOBE_RADIUS EXTENT/PI/2.0",nn="attribute highp vec3 a_pos_3f;uniform lowp mat4 u_matrix;varying highp vec3 v_uv;void main() {const mat3 half_neg_pi_around_x=mat3(1.0,0.0, 0.0,0.0,0.0,-1.0,0.0,1.0, 0.0);v_uv=half_neg_pi_around_x*a_pos_3f;vec4 pos=u_matrix*vec4(a_pos_3f,1.0);gl_Position=pos.xyww;}",rn="\n#define ELEVATION_SCALE 7.0\n#define ELEVATION_OFFSET 450.0\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_tl_up;uniform vec3 u_tile_tr_up;uniform vec3 u_tile_br_up;uniform vec3 u_tile_bl_up;uniform float u_tile_up_scale;vec3 elevationVector(vec2 pos) {vec2 uv=pos/EXTENT;vec3 up=normalize(mix(\nmix(u_tile_tl_up,u_tile_tr_up,uv.xxx),mix(u_tile_bl_up,u_tile_br_up,uv.xxx),uv.yyy));return up*u_tile_up_scale;}\n#else\nvec3 elevationVector(vec2 pos) { return vec3(0,0,1); }\n#endif\n#ifdef TERRAIN\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nuniform highp sampler2D u_dem;uniform highp sampler2D u_dem_prev;\n#else\nuniform sampler2D u_dem;uniform sampler2D u_dem_prev;\n#endif\nuniform vec4 u_dem_unpack;uniform vec2 u_dem_tl;uniform vec2 u_dem_tl_prev;uniform float u_dem_scale;uniform float u_dem_scale_prev;uniform float u_dem_size;uniform float u_dem_lerp;uniform float u_exaggeration;uniform float u_meter_to_dem;uniform mat4 u_label_plane_matrix_inv;uniform sampler2D u_depth;uniform vec2 u_depth_size_inv;vec4 tileUvToDemSample(vec2 uv,float dem_size,float dem_scale,vec2 dem_tl) {vec2 pos=dem_size*(uv*dem_scale+dem_tl)+1.0;vec2 f=fract(pos);return vec4((pos-f+0.5)/(dem_size+2.0),f);}float decodeElevation(vec4 v) {return dot(vec4(v.xyz*255.0,-1.0),u_dem_unpack);}float currentElevation(vec2 apos) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nvec2 pos=(u_dem_size*(apos/8192.0*u_dem_scale+u_dem_tl)+1.5)/(u_dem_size+2.0);return u_exaggeration*texture2D(u_dem,pos).a;\n#else\nfloat dd=1.0/(u_dem_size+2.0);vec4 r=tileUvToDemSample(apos/8192.0,u_dem_size,u_dem_scale,u_dem_tl);vec2 pos=r.xy;vec2 f=r.zw;float tl=decodeElevation(texture2D(u_dem,pos));\n#ifdef TERRAIN_DEM_NEAREST_FILTER\nreturn u_exaggeration*tl;\n#endif\nfloat tr=decodeElevation(texture2D(u_dem,pos+vec2(dd,0.0)));float bl=decodeElevation(texture2D(u_dem,pos+vec2(0.0,dd)));float br=decodeElevation(texture2D(u_dem,pos+vec2(dd,dd)));return u_exaggeration*mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);\n#endif\n}float prevElevation(vec2 apos) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nvec2 pos=(u_dem_size*(apos/8192.0*u_dem_scale_prev+u_dem_tl_prev)+1.5)/(u_dem_size+2.0);return u_exaggeration*texture2D(u_dem_prev,pos).a;\n#else\nfloat dd=1.0/(u_dem_size+2.0);vec4 r=tileUvToDemSample(apos/8192.0,u_dem_size,u_dem_scale_prev,u_dem_tl_prev);vec2 pos=r.xy;vec2 f=r.zw;float tl=decodeElevation(texture2D(u_dem_prev,pos));float tr=decodeElevation(texture2D(u_dem_prev,pos+vec2(dd,0.0)));float bl=decodeElevation(texture2D(u_dem_prev,pos+vec2(0.0,dd)));float br=decodeElevation(texture2D(u_dem_prev,pos+vec2(dd,dd)));return u_exaggeration*mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);\n#endif\n}\n#ifdef TERRAIN_VERTEX_MORPHING\nfloat elevation(vec2 apos) {float nextElevation=currentElevation(apos);float prevElevation=prevElevation(apos);return mix(prevElevation,nextElevation,u_dem_lerp);}\n#else\nfloat elevation(vec2 apos) {return currentElevation(apos);}\n#endif\nhighp float unpack_depth(highp vec4 rgba_depth)\n{const highp vec4 bit_shift=vec4(1.0/(255.0*255.0*255.0),1.0/(255.0*255.0),1.0/255.0,1.0);return dot(rgba_depth,bit_shift)*2.0-1.0;}bool isOccluded(vec4 frag) {vec3 coord=frag.xyz/frag.w;float depth=unpack_depth(texture2D(u_depth,(coord.xy+1.0)*0.5));return coord.z > depth+0.0005;}float occlusionFade(vec4 frag) {vec3 coord=frag.xyz/frag.w;vec3 df=vec3(5.0*u_depth_size_inv,0.0);vec2 uv=0.5*coord.xy+0.5;vec4 depth=vec4(\nunpack_depth(texture2D(u_depth,uv-df.xz)),unpack_depth(texture2D(u_depth,uv+df.xz)),unpack_depth(texture2D(u_depth,uv-df.zy)),unpack_depth(texture2D(u_depth,uv+df.zy))\n);return dot(vec4(0.25),vec4(1.0)-clamp(300.0*(vec4(coord.z-0.001)-depth),0.0,1.0));}vec4 fourSample(vec2 pos,vec2 off) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nfloat tl=texture2D(u_dem,pos).a;float tr=texture2D(u_dem,pos+vec2(off.x,0.0)).a;float bl=texture2D(u_dem,pos+vec2(0.0,off.y)).a;float br=texture2D(u_dem,pos+off).a;\n#else\nvec4 demtl=vec4(texture2D(u_dem,pos).xyz*255.0,-1.0);float tl=dot(demtl,u_dem_unpack);
2vec4 demtr=vec4(texture2D(u_dem,pos+vec2(off.x,0.0)).xyz*255.0,-1.0);float tr=dot(demtr,u_dem_unpack);vec4 dembl=vec4(texture2D(u_dem,pos+vec2(0.0,off.y)).xyz*255.0,-1.0);float bl=dot(dembl,u_dem_unpack);vec4 dembr=vec4(texture2D(u_dem,pos+off).xyz*255.0,-1.0);float br=dot(dembr,u_dem_unpack);\n#endif\nreturn vec4(tl,tr,bl,br);}float flatElevation(vec2 pack) {vec2 apos=floor(pack/8.0);vec2 span=10.0*(pack-apos*8.0);vec2 uvTex=(apos-vec2(1.0,1.0))/8190.0;float size=u_dem_size+2.0;float dd=1.0/size;vec2 pos=u_dem_size*(uvTex*u_dem_scale+u_dem_tl)+1.0;vec2 f=fract(pos);pos=(pos-f+0.5)*dd;vec4 h=fourSample(pos,vec2(dd));float z=mix(mix(h.x,h.y,f.x),mix(h.z,h.w,f.x),f.y);vec2 w=floor(0.5*(span*u_meter_to_dem-1.0));vec2 d=dd*w;vec4 bounds=vec4(d,vec2(1.0)-d);h=fourSample(pos-d,2.0*d+vec2(dd));vec4 diff=abs(h.xzxy-h.ywzw);vec2 slope=min(vec2(0.25),u_meter_to_dem*0.5*(diff.xz+diff.yw)/(2.0*w+vec2(1.0)));vec2 fix=slope*span;float base=z+max(fix.x,fix.y);return u_exaggeration*base;}float elevationFromUint16(float word) {return u_exaggeration*(word/ELEVATION_SCALE-ELEVATION_OFFSET);}\n#else\nfloat elevation(vec2 pos) { return 0.0; }bool isOccluded(vec4 frag) { return false; }float occlusionFade(vec4 frag) { return 1.0; }\n#endif",on="#ifdef FOG\nuniform mediump vec4 u_fog_color;uniform mediump vec2 u_fog_range;uniform mediump float u_fog_horizon_blend;uniform mediump mat4 u_fog_matrix;varying vec3 v_fog_pos;float fog_range(float depth) {return (depth-u_fog_range[0])/(u_fog_range[1]-u_fog_range[0]);}float fog_horizon_blending(vec3 camera_dir) {float t=max(0.0,camera_dir.z/u_fog_horizon_blend);return u_fog_color.a*exp(-3.0*t*t);}float fog_opacity(float t) {const float decay=6.0;float falloff=1.0-min(1.0,exp(-decay*t));falloff*=falloff*falloff;return u_fog_color.a*min(1.0,1.00747*falloff);}vec3 fog_position(vec3 pos) {return (u_fog_matrix*vec4(pos,1.0)).xyz;}vec3 fog_position(vec2 pos) {return fog_position(vec3(pos,0.0));}float fog(vec3 pos) {float depth=length(pos);float opacity=fog_opacity(fog_range(depth));return opacity*fog_horizon_blending(pos/depth);}\n#endif",an="#ifdef FOG\nuniform mediump vec4 u_fog_color;uniform mediump vec2 u_fog_range;uniform mediump float u_fog_horizon_blend;uniform mediump float u_fog_temporal_offset;varying vec3 v_fog_pos;uniform highp vec3 u_frustum_tl;uniform highp vec3 u_frustum_tr;uniform highp vec3 u_frustum_br;uniform highp vec3 u_frustum_bl;uniform highp vec3 u_globe_pos;uniform highp float u_globe_radius;uniform highp vec2 u_viewport;uniform float u_globe_transition;uniform int u_is_globe;float fog_range(float depth) {return (depth-u_fog_range[0])/(u_fog_range[1]-u_fog_range[0]);}float fog_horizon_blending(vec3 camera_dir) {float t=max(0.0,camera_dir.z/u_fog_horizon_blend);return u_fog_color.a*exp(-3.0*t*t);}float fog_opacity(float t) {const float decay=6.0;float falloff=1.0-min(1.0,exp(-decay*t));falloff*=falloff*falloff;return u_fog_color.a*min(1.0,1.00747*falloff);}float globe_glow_progress() {highp vec2 uv=gl_FragCoord.xy/u_viewport;highp vec3 ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,uv.x),mix(u_frustum_bl,u_frustum_br,uv.x),1.0-uv.y);highp vec3 dir=normalize(ray_dir);highp vec3 closest_point=dot(u_globe_pos,dir)*dir;highp float sdf=length(closest_point-u_globe_pos)/u_globe_radius;return sdf+PI*0.5;}float fog_opacity(vec3 pos) {float depth=length(pos);return fog_opacity(fog_range(depth));}vec3 fog_apply(vec3 color,vec3 pos) {float depth=length(pos);float opacity;if (u_is_globe==1) {float glow_progress=globe_glow_progress();float t=mix(glow_progress,depth,u_globe_transition);opacity=fog_opacity(fog_range(t));} else {opacity=fog_opacity(fog_range(depth));opacity*=fog_horizon_blending(pos/depth);}return mix(color,u_fog_color.rgb,opacity);}vec4 fog_apply_from_vert(vec4 color,float fog_opac) {float alpha=EPSILON+color.a;color.rgb=mix(color.rgb/alpha,u_fog_color.rgb,fog_opac)*alpha;return color;}vec3 fog_apply_sky_gradient(vec3 camera_ray,vec3 sky_color) {float horizon_blend=fog_horizon_blending(normalize(camera_ray));return mix(sky_color,u_fog_color.rgb,horizon_blend);}vec4 fog_apply_premultiplied(vec4 color,vec3 pos) {float alpha=EPSILON+color.a;color.rgb=fog_apply(color.rgb/alpha,pos)*alpha;return color;}vec3 fog_dither(vec3 color) {vec2 dither_seed=gl_FragCoord.xy+u_fog_temporal_offset;return dither(color,dither_seed);}vec4 fog_dither(vec4 color) {return vec4(fog_dither(color.rgb),color.a);}\n#endif";let sn={},ln={};const cn=[];pn(en,cn),pn(rn,cn),pn(on,cn),pn(an,cn),sn=mn("",rn),ln=mn(an,on);const un=mn("\nhighp vec3 hash(highp vec2 p) {highp vec3 p3=fract(p.xyx*vec3(443.8975,397.2973,491.1871));p3+=dot(p3,p3.yxz+19.19);return fract((p3.xxy+p3.yzz)*p3.zyx);}
2vec3 dither(vec3 color,highp vec2 seed) {vec3 rnd=hash(seed)+hash(seed+0.59374)-0.5;return color+rnd/255.0;}highp float unpack_depth(highp vec4 rgba_depth)\n{const highp vec4 bit_shift=vec4(1.0/(255.0*255.0*255.0),1.0/(255.0*255.0),1.0/255.0,1.0);return dot(rgba_depth,bit_shift)*2.0-1.0;}highp vec4 pack_depth(highp float ndc_z) {highp float depth=ndc_z*0.5+0.5;const highp vec4 bit_shift=vec4(255.0*255.0*255.0,255.0*255.0,255.0,1.0);const highp vec4 bit_mask =vec4(0.0,1.0/255.0,1.0/255.0,1.0/255.0);highp vec4 res=fract(depth*bit_shift);res-=res.xxyz*bit_mask;return res;}","\nfloat wrap(float n,float min,float max) {float d=max-min;float w=mod(mod(n-min,d)+d,d)+min;return (w==min) ? max : w;}\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 mercator_tile_position(mat4 matrix,vec2 tile_anchor,vec3 tile_id,vec2 mercator_center) {\n#ifndef PROJECTED_POS_ON_VIEWPORT\nfloat tiles=tile_id.z;vec2 mercator=(tile_anchor/EXTENT+tile_id.xy)/tiles;mercator-=mercator_center;mercator.x=wrap(mercator.x,-0.5,0.5);vec4 mercator_tile=vec4(mercator.xy*EXTENT,EXTENT/(2.0*PI),1.0);mercator_tile=matrix*mercator_tile;return mercator_tile.xyz;\n#else\nreturn vec3(0.0);\n#endif\n}vec3 mix_globe_mercator(vec3 globe,vec3 mercator,float t) {return mix(globe,mercator,t);}mat3 globe_mercator_surface_vectors(vec3 pos_normal,vec3 up_dir,float zoom_transition) {vec3 normal=zoom_transition==0.0 ? pos_normal : normalize(mix(pos_normal,up_dir,zoom_transition));vec3 xAxis=normalize(vec3(normal.z,0.0,-normal.x));vec3 yAxis=normalize(cross(normal,xAxis));return mat3(xAxis,yAxis,normal);}\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(\nunpack_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;}const vec4 AWAY=vec4(-1000.0,-1000.0,-1000.0,1);//Normalized device coordinate that is not rendered."),dn=en,hn="\n#ifdef GL_ES\nprecision mediump float;\n#else\n\n#if !defined(lowp)\n#define lowp\n#endif\n\n#if !defined(mediump)\n#define mediump\n#endif\n\n#if !defined(highp)\n#define highp\n#endif\n\n#endif";var fn={background:mn("uniform vec4 u_color;uniform float u_opacity;void main() {vec4 out_color=u_color;\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),backgroundPattern:mn("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);vec4 out_color=mix(color1,color2,u_mix);\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),circle:mn("varying vec3 v_data;varying float v_visibility;\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(\nantialiased_blur,0.0,extrude_length-radius
2/(radius+stroke_width)\n);vec4 out_color=mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef FOG\nout_color=fog_apply_premultiplied(out_color,v_fog_pos);\n#endif\ngl_FragColor=out_color*(v_visibility*opacity_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","#define NUM_VISIBILITY_RINGS 2\n#define INV_SQRT2 0.70710678\n#define ELEVATION_BIAS 0.0001\n#define NUM_SAMPLES_PER_RING 16\nuniform mat4 u_matrix;uniform mat2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;\n#endif\nvarying vec3 v_data;varying float v_visibility;\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\nvec2 calc_offset(vec2 extrusion,float radius,float stroke_width, float view_scale) {return extrusion*(radius+stroke_width)*u_extrude_scale*view_scale;}float cantilevered_elevation(vec2 pos,float radius,float stroke_width,float view_scale) {vec2 c1=pos+calc_offset(vec2(-1,-1),radius,stroke_width,view_scale);vec2 c2=pos+calc_offset(vec2(1,-1),radius,stroke_width,view_scale);vec2 c3=pos+calc_offset(vec2(1,1),radius,stroke_width,view_scale);vec2 c4=pos+calc_offset(vec2(-1,1),radius,stroke_width,view_scale);float h1=elevation(c1)+ELEVATION_BIAS;float h2=elevation(c2)+ELEVATION_BIAS;float h3=elevation(c3)+ELEVATION_BIAS;float h4=elevation(c4)+ELEVATION_BIAS;return max(h4,max(h3,max(h1,h2)));}float circle_elevation(vec2 pos) {\n#if defined(TERRAIN)\nreturn elevation(pos)+ELEVATION_BIAS;\n#else\nreturn 0.0;\n#endif\n}vec4 project_vertex(vec2 extrusion,vec4 world_center,vec4 projected_center,float radius,float stroke_width, float view_scale,mat3 surface_vectors) {vec2 sample_offset=calc_offset(extrusion,radius,stroke_width,view_scale);\n#ifdef PITCH_WITH_MAP\n#ifdef PROJECTION_GLOBE_VIEW\nreturn u_matrix*( world_center+vec4(sample_offset.x*surface_vectors[0]+sample_offset.y*surface_vectors[1],0) );\n#else\nreturn u_matrix*( world_center+vec4(sample_offset,0,0) );\n#endif\n#else\nreturn projected_center+vec4(sample_offset,0,0);\n#endif\n}float get_sample_step() {\n#ifdef PITCH_WITH_MAP\nreturn 2.0*PI/float(NUM_SAMPLES_PER_RING);\n#else\nreturn PI/float(NUM_SAMPLES_PER_RING);\n#endif\n}void 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);vec4 world_center;mat3 surface_vectors;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 pos_normal_3=a_pos_normal_3/16384.0;surface_vectors=globe_mercator_surface_vectors(pos_normal_3,u_up_dir,u_zoom_transition);vec3 surface_extrusion=extrude.x*surface_vectors[0]+extrude.y*surface_vectors[1];vec3 globe_elevation=elevationVector(circle_center)*circle_elevation(circle_center);vec3 globe_pos=a_pos_3+surface_extrusion+globe_elevation;vec3 mercator_elevation=u_up_dir*u_tile_up_scale*circle_elevation(circle_center);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,circle_center,u_tile_id,u_merc_center)+surface_extrusion+mercator_elevation;vec3 pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);world_center=vec4(pos,1);\n#else \nsurface_vectors=mat3(1.0);float height=circle_elevation(circle_center);world_center=vec4(circle_center,height,1);\n#endif\nvec4 projected_center=u_matrix*world_center;float view_scale=0.0;\n#ifdef PITCH_WITH_MAP\n#ifdef SCALE_WITH_MAP\nview_scale=1.0;\n#else\nview_scale=projected_center.w/u_camera_to_center_distance;\n#endif\n#else\n#ifdef SCALE_WITH_MAP\nview_scale=u_camera_to_center_distance;\n#else\nview_scale=projected_center.w;\n#endif\n#endif\ngl_Position=project_vertex(extrude,world_center,projected_center,radiu
2s,stroke_width,view_scale,surface_vectors);float visibility=0.0;\n#ifdef TERRAIN\nfloat step=get_sample_step();vec4 occlusion_world_center;vec4 occlusion_projected_center;\n#ifdef PITCH_WITH_MAP\nfloat cantilevered_height=cantilevered_elevation(circle_center,radius,stroke_width,view_scale);occlusion_world_center=vec4(circle_center,cantilevered_height,1);occlusion_projected_center=u_matrix*occlusion_world_center;\n#else\nocclusion_world_center=world_center;occlusion_projected_center=projected_center;\n#endif\nfor(int ring=0; ring < NUM_VISIBILITY_RINGS; ring++) {float scale=(float(ring)+1.0)/float(NUM_VISIBILITY_RINGS);for(int i=0; i < NUM_SAMPLES_PER_RING; i++) {vec2 extrusion=vec2(cos(step*float(i)),-sin(step*float(i)))*scale;vec4 frag_pos=project_vertex(extrusion,occlusion_world_center,occlusion_projected_center,radius,stroke_width,view_scale,surface_vectors);visibility+=float(!isOccluded(frag_pos));}}visibility/=float(NUM_VISIBILITY_RINGS)*float(NUM_SAMPLES_PER_RING);\n#else\nvisibility=1.0;\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nvisibility=1.0;\n#endif\nv_visibility=visibility;lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);\n#ifdef FOG\nv_fog_pos=fog_position(world_center.xyz);\n#endif\n}"),clippingMask:mn("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);}"),heatmap:mn("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 FOG\nif (u_is_globe==0) {gl_FragColor.r*=pow(1.0-fog_opacity(v_fog_pos),2.0);}\n#endif\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;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;\n#endif\nvarying 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;vec2 tilePos=floor(a_pos*0.5);vec3 pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 pos_normal_3=a_pos_normal_3/16384.0;mat3 surface_vectors=globe_mercator_surface_vectors(pos_normal_3,u_up_dir,u_zoom_transition);vec3 surface_extrusion=extrude.x*surface_vectors[0]+extrude.y*surface_vectors[1];vec3 globe_elevation=elevationVector(tilePos)*elevation(tilePos);vec3 globe_pos=a_pos_3+surface_extrusion+globe_elevation;vec3 mercator_elevation=u_up_dir*u_tile_up_scale*elevation(tilePos);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,tilePos,u_tile_id,u_merc_center)+surface_extrusion+mercator_elevation;pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#else\npos=vec3(tilePos+extrude,elevation(tilePos));\n#endif\ngl_Position=u_matrix*vec4(pos,1);\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),heatmapTexture:mn("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}","attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=vec4(a_pos,0,1);v_pos=a_pos*0.5+0.5;}"),collisionBox:mn("varying float v_placed;varying float v_notUsed;void main() {vec4 red =vec4(1.0,0.0,0.0,1.0);vec4 blue=vec4(0.0,0.0,1.0,0.5);gl_FragColor =mix(red,blue,step(0.5,v_placed))*0.5;gl_FragColor*=mix(1.0,0.1,step(0.5,v_notUsed));}","attribute vec3 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;attribute float a_size_scale;attribute vec2 a_padding;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_pos+elevationVector(a_anchor_pos)*elevation(a_anchor_pos),1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(\n0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,1.5);gl_Position=projectedPoint;gl_Position.xy+=(a_extrude*a_size_scale+a_shift+a_padding)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:mn("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_2f;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_2f;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(\nmix(-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(\n0.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);}"),debug:mn("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;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;\n#endif\nvarying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {float h=elevation(a_pos);v_uv=a_pos/8192.0;\n#ifdef PROJECTION_GLOBE_VIEW\ngl_Position=u_matrix*vec4(a_pos_3+elevationVector(a_pos)*h,1
2);\n#else\ngl_Position=u_matrix*vec4(a_pos*u_overlay_scale,h,1);\n#endif\n}"),fill:mn("#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\nvec4 out_color=color;\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillOutline:mn("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);vec4 out_color=outline_color;\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillOutlinePattern:mn("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);vec4 out_color=mix(color1,color2,u_fade);\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*(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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}
2"),fillPattern:mn("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);vec4 out_color=mix(color1,color2,u_fade);\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillExtrusion:mn("varying vec4 v_color;\n#ifdef RENDER_SHADOWS\nvarying highp vec4 v_pos_light_view_0;varying highp vec4 v_pos_light_view_1;varying float v_depth;\n#endif\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\n#ifdef ZERO_ROOF_RADIUS\nvarying vec4 v_roof_color;\n#endif\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvarying highp vec3 v_normal;\n#endif\nvoid main() {\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvec3 normal=v_normal;\n#endif\nfloat z;vec4 color;\n#ifdef ZERO_ROOF_RADIUS\nz=float(normal.z > 0.00001);color=mix(v_color,v_roof_color,z);\n#else\ncolor=v_color;\n#endif\n#ifdef FAUX_AO\nfloat intensity=u_ao[0];float h=max(0.0,v_ao.z);float h_floors=h/u_ao[1];float y_shade=1.0-0.9*intensity*min(v_ao.y,1.0);float shade=(1.0-0.08*intensity)*(y_shade+(1.0-y_shade)*(1.0-pow(1.0-min(h_floors/16.0,1.0),16.0)))+0.08*intensity*min(h_floors/160.0,1.0);float concave=v_ao.x*v_ao.x;\n#ifdef ZERO_ROOF_RADIUS\nconcave*=(1.0-z);\n#endif\nfloat x_shade=mix(1.0,mix(0.6,0.75,min(h_floors/30.0,1.0)),intensity)+0.1*intensity*min(h,1.0);shade*=mix(1.0,x_shade*x_shade*x_shade,concave);color.rgb=color.rgb*shade;\n#endif\n#ifdef RENDER_SHADOWS\n#ifdef ZERO_ROOF_RADIUS\nnormal=mix(normal,vec3(0.0,0.0,1.0),z);\n#endif\ncolor.xyz=shadowed_color_normal(color.xyz,normalize(normal),v_pos_light_view_0,v_pos_light_view_1,v_depth);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_FragColor=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;uniform float u_edge_radius;attribute vec4 a_pos_normal_ed;attribute vec2 a_centroid_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;uniform float u_height_lift;\n#endif\nvarying vec4 v_color;\n#ifdef RENDER_SHADOWS\nuniform mat4 u_light_matrix_0;uniform mat4 u_light_matrix_1;varying highp vec4 v_pos_light_view_0;varying highp vec4 v_pos_light_view_1;varying float v_depth;\n#endif\n#ifdef ZERO_ROOF_RADIUS\nvarying vec4 v_roof_color;\n#endif\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvarying highp vec3 v_normal;\n#endif\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\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\nvec4 pos_nx=floor(a_pos_normal_ed*0.5);vec4 top_up_ny_start=a_pos_normal_ed-2.0*pos_nx;vec3 top_up_ny=top_up_ny_start.xyz;float x_normal=pos_nx.z/8192.0;vec3 normal=top_up_ny.y==1.0 ? vec3(0.0,0.0,1.0) : normalize(vec3(x_normal,(2.0*top_up_ny.z-1.0)*(1.0-abs(x_normal)),0.0));\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nv_normal=normal;\n#endif\nbase=max(0.0,base);height=max(0.0,top_up_ny.y==0.0 && top_up_ny.x==1.0 ? height-u_edge_radius : height);float t=top_up_ny.x;vec2 centroid_pos=vec2(0.0);\n#if defined(HAS_CENTROID) || defined(TERRAIN)\ncentroid_pos=a_centroid_pos;\n#endif\nfloat ele=0.0;float h=0.0;float c_ele;vec3 pos;\n#ifdef TERRAIN\nbool flat_roof=centroid_pos.x !=0.0 && t > 0.0;ele=elevation(pos_nx.xy);c_ele=flat_roof ? centroid_pos.y==0.0 ? elevationFromUint16(centroid_pos.x) : flatElevation(centroid_pos) : ele;h=flat_roof ? max(c_ele+height,ele+base+2.0) : ele+(t > 0.0 ? height : base==0.0 ?-5.0 : base);pos=vec3(pos_nx.xy,h);\n#else\nh=t > 0.0 ? height : base;pos=vec3(pos_nx.xy,h);\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nfloat lift=float((t+base) > 0.0)*u_height_lift;h+=lift;vec3 globe_normal=normalize(mix(a_pos_normal_3/16384.0,u_up_dir,u_zoom_transition));vec3 globe_pos=a_pos_3+globe_normal*(u_tile_up_scale*h);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,pos.xy,u_tile_id,u_merc_center)+u_up_dir*u_tile_up_scale*pos.z;pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#endif\nfloat hidden=float(centroid_pos.x==0.0 && centroid_pos.y==1.0);gl_Position=mix(u_matrix*vec4(pos,1),AWAY,hidden);\n#ifdef RENDER_SHADOWS\nv_pos_light_view_0=u_light_matrix_0*vec4(pos,1);v_pos_light_view_1=u_light_matrix_1*vec4(pos,1);v_depth=gl_Position.w;
2\n#endif\nfloat 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,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*=(\n(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)));}\n#ifdef FAUX_AO\nfloat concave=pos_nx.w-floor(pos_nx.w*0.5)*2.0;float start=top_up_ny_start.w;float y_ground=1.0-clamp(t+base,0.0,1.0);float top_height=height;\n#ifdef TERRAIN\ntop_height=mix(max(c_ele+height,ele+base+2.0),ele+height,float(centroid_pos.x==0.0))-ele;y_ground+=y_ground*5.0/max(3.0,top_height);\n#endif\nv_ao=vec3(mix(concave,-concave,start),y_ground,h-ele);directional*=(1.0+0.05*(1.0-top_up_ny.y)*u_ao[0]);\n#ifdef PROJECTION_GLOBE_VIEW\ntop_height+=u_height_lift;\n#endif\ngl_Position.z-=(0.0000006*(min(top_height,500.)+2.0*min(base,500.0)+60.0*concave+3.0*start))*gl_Position.w;\n#endif\nv_color.rgb+=clamp(color.rgb*directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_color*=u_opacity;\n#ifdef ZERO_ROOF_RADIUS\nv_roof_color=vec4(0.0,0.0,0.0,1.0);float roof_radiance=clamp(u_lightpos.z,0.0,1.0);roof_radiance=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),roof_radiance);v_roof_color.rgb+=clamp(color.rgb*roof_radiance*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_roof_color*=u_opacity;\n#endif\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),fillExtrusionPattern:mn("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\nvarying 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 out_color=mix(color1,color2,u_fade);out_color=out_color*v_lighting;\n#ifdef FAUX_AO\nfloat intensity=u_ao[0];float h=max(0.0,v_ao.z);float h_floors=h/u_ao[1];float y_shade=1.0-0.9*intensity*min(v_ao.y,1.0);float shade=(1.0-0.08*intensity)*(y_shade+(1.0-y_shade)*(1.0-pow(1.0-min(h_floors/16.0,1.0),16.0)))+0.08*intensity*min(h_floors/160.0,1.0);float concave=v_ao.x*v_ao.x;float x_shade=mix(1.0,mix(0.6,0.75,min(h_floors/30.0,1.0)),intensity)+0.1*intensity*min(h,1.0);shade*=mix(1.0,x_shade*x_shade*x_shade,concave);out_color.rgb=out_color.rgb*shade;\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color;\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 vec4 a_pos_normal_ed;attribute vec2 a_centroid_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;uniform float u_height_lift;\n#endif\nvarying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\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;vec4 pos_nx=floor(a_pos_normal_ed*0.5);mediump vec4 top_up_ny_start=a_pos_normal_ed-2.0*pos_nx;mediump vec3 top_up_ny=top_up_ny_start.xyz;float x_normal=pos_nx.z/8192.0;vec3 normal=top_up_ny.y==1.0 ? vec3(0.0,0.0,1.0) : normalize(vec3(x_normal,(2.0*top_up_ny.z-1.0)*(1.0-abs(x_normal)),0.0));float edgedistance=a_pos_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=top_up_ny.x;float z=t > 0.0 ? height : base;vec2 centroid_pos=vec2(0.0);\n#if defined(HAS_CENTROID) || defined(TERRAIN)\ncentroid_pos=a_centroid_pos;\n#endif\nfloat ele=0.0;float h=z;vec3 p;float c_ele;\n#ifdef TERRAIN\nbool flat_roof=centroid_pos.x !=0.0 && t > 0.0;ele=elevation(pos_nx.xy);c_ele=flat_roof ? centroid_pos.y==0.0 ? elevationFromUint16(centroid_pos.x) : flatElevation(centroid_pos) : ele;h=flat_roof ? max(c_ele+height,ele+base+2.0) : ele+(t > 0.0 ? height : base==0.0 ?-5.0 : base);p=vec3(pos_nx.xy,h);\n#else\np=vec3(pos_nx.xy,z);\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nfloat lift=float((t+base) > 0.0)*u_height_lift;h+=lift;vec3 globe_normal=normalize(mix(a_pos_normal_3/16384.0,u_up_dir,u_zoom_transition));vec3 globe_pos=a_pos_3+globe_normal*(u_tile_up_scale*(p.z+lift));vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,p.xy,u_tile_id,u_merc_center)+u_up_dir*u_tile_up_scale*p.z;p=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#endif\nfloat hidden=float(centroid_pos.x==0.0 && centroid_pos.y==1.0);gl_Position=mix(u_matrix*vec4(p,1),AWAY,hidden);vec2 pos=normal.z==1.0\n? pos_nx.xy\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,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*=(\n(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)));}
2\n#ifdef FAUX_AO\nfloat concave=pos_nx.w-floor(pos_nx.w*0.5)*2.0;float start=top_up_ny_start.w;float y_ground=1.0-clamp(t+base,0.0,1.0);float top_height=height;\n#ifdef TERRAIN\ntop_height=mix(max(c_ele+height,ele+base+2.0),ele+height,float(centroid_pos.x==0.0))-ele;y_ground+=y_ground*5.0/max(3.0,top_height);\n#endif\nv_ao=vec3(mix(concave,-concave,start),y_ground,h-ele);directional*=(1.0+0.05*(1.0-top_up_ny.y)*u_ao[0]);\n#ifdef PROJECTION_GLOBE_VIEW\ntop_height+=u_height_lift;\n#endif\ngl_Position.z-=(0.0000006*(min(top_height,500.)+2.0*min(base,500.0)+60.0*concave+3.0*start))*gl_Position.w;\n#endif\nv_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#ifdef FOG\nv_fog_pos=fog_position(p);\n#endif\n}"),hillshadePrepare:mn("#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) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nreturn texture2D(u_image,coord).a/4.0;\n#else\nvec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;\n#endif\n}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y));float b=getElevation(v_pos+vec2(0,-epsilon.y));float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y));float d=getElevation(v_pos+vec2(-epsilon.x,0));float e=getElevation(v_pos);float f=getElevation(v_pos+vec2(epsilon.x,0));float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y));float h=getElevation(v_pos+vec2(0,epsilon.y));float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y));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(\n(c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c)\n)/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(\nderiv.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;}"),hillshade:mn("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;void 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 FOG\ngl_FragColor=fog_dither(fog_apply_premultiplied(gl_FragColor,v_fog_pos));\n#endif\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#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),line:mn("uniform lowp float u_device_pixel_ratio;uniform float u_alpha_discard_threshold;uniform highp vec2 u_trim_offset;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec4 v_uv;\n#ifdef RENDER_LINE_DASH\nuniform sampler2D u_dash_image;uniform float u_mix;uniform vec3 u_scale;varying vec2 v_tex_a;varying vec2 v_tex_b;\n#endif\n#ifdef RENDER_LINE_GRADIENT\nuniform sampler2D u_gradient_image;\n#endif\nuniform float u_border_width;uniform vec4 u_border_color;float luminance(vec3 c) {return (c.r+c.r+c.b+c.g+c.g+c.g)*0.1667;}\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 dash_from\n#pragma mapbox: define lowp vec4 dash_to\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 floorwidth\n#pragma mapbox: initialize lowp vec4 dash_from\n#pragma mapbox: initialize lowp vec4 dash_to\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);\n#ifdef RENDER_LINE_DASH\nfloat sdfdist_a=texture2D(u_dash_image,v_tex_a).a;float sdfdist_b=texture2D(u_dash_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfwidth=min(dash_from.z*u_scale.y,dash_to.z*u_scale.z);
2float sdfgamma=1.0/(2.0*u_device_pixel_ratio)/sdfwidth;alpha*=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);\n#endif\n#ifdef RENDER_LINE_GRADIENT\nhighp vec4 out_color=texture2D(u_gradient_image,v_uv.xy);\n#else\nvec4 out_color=color;\n#endif\n#ifdef RENDER_LINE_TRIM_OFFSET\nhighp float start=v_uv[2];highp float end=v_uv[3];highp float trim_start=u_trim_offset[0];highp float trim_end=u_trim_offset[1];highp float line_progress=(start+(v_uv.x)*(end-start));if (trim_end > trim_start) {if (line_progress <=trim_end && line_progress >=trim_start) {out_color=vec4(0,0,0,0);}}\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\n#ifdef RENDER_LINE_ALPHA_DISCARD\nif (alpha < u_alpha_discard_threshold) {discard;}\n#endif\n#ifdef RENDER_LINE_BORDER\nfloat edgeBlur=(u_border_width+1.0/u_device_pixel_ratio);float alpha2=clamp(min(dist-(v_width2.t-edgeBlur),v_width2.s-dist)/edgeBlur,0.0,1.0);if (alpha2 < 1.) {float smoothAlpha=smoothstep(0.6,1.0,alpha2);\n#ifdef RENDER_LINE_BORDER_AUTO\nfloat Y=(out_color.a > 0.01) ? luminance(out_color.rgb/out_color.a) : 1.;float adjustment=(Y > 0.) ? 0.5/Y : 0.45;if (out_color.a > 0.25 && Y < 0.25) {vec3 borderColor=(Y > 0.) ? out_color.rgb : vec3(1,1,1)*out_color.a;out_color.rgb=out_color.rgb+borderColor*(adjustment*(1.0-smoothAlpha));} else {out_color.rgb*=(0.6 +0.4*smoothAlpha);}\n#else\nout_color.rgb=mix(u_border_color.rgb,out_color.rgb,smoothAlpha);\n#endif\n}\n#endif\ngl_FragColor=out_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define EXTRUDE_SCALE 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;\n#if defined(RENDER_LINE_GRADIENT) || defined(RENDER_LINE_TRIM_OFFSET)\nattribute highp vec4 a_packed;\n#endif\n#ifdef RENDER_LINE_DASH\nattribute float a_linesofar;\n#endif\nuniform mat4 u_matrix;uniform mat2 u_pixels_to_tile_units;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 vec4 v_uv;\n#ifdef RENDER_LINE_DASH\nuniform vec2 u_texsize;uniform mediump vec3 u_scale;varying vec2 v_tex_a;varying vec2 v_tex_b;\n#endif\n#ifdef RENDER_LINE_GRADIENT\nuniform float u_image_height;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 dash_from\n#pragma mapbox: define lowp vec4 dash_to\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 floorwidth\n#pragma mapbox: initialize lowp vec4 dash_from\n#pragma mapbox: initialize lowp vec4 dash_to\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;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*EXTRUDE_SCALE;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*EXTRUDE_SCALE*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist*u_pixels_to_tile_units,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2*u_pixels_to_tile_units,0.0,1.0)+projected_extrude;\n#ifndef RENDER_TO_TEXTURE\nfloat 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;\n#else\nv_gamma_scale=1.0;\n#endif\n#if defined(RENDER_LINE_GRADIENT) || defined(RENDER_LINE_TRIM_OFFSET)\nfloat a_uv_x=a_packed[0];float a_split_index=a_packed[1];highp float a_clip_start=a_packed[2];highp float a_clip_end=a_packed[3];\n#ifdef RENDER_LINE_GRADIENT\nhighp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec4(a_uv_x,a_split_index*texel_height-half_texel_height,a_clip_start,a_clip_end);\n#else\nv_uv=vec4(a_uv_x,0.0,a_clip_start,a_clip_end);\n#endif\n#endif\n#ifdef RENDER_LINE_DASH\nfloat tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;float scaleA=dash_from.z==0.0 ? 0.0 : tileZoomRatio/(dash_from.z*fromScale);float scaleB=dash_to.z==0.0 ? 0.0 : tileZoomRatio/(dash_to.z*toScale);float heightA=dash_from.y;float heightB=dash_to.y;v_tex_a=vec2(a_linesofar*scaleA/floorwidth,(-normal.y*heightA+dash_from.x+0.5)/u_texsize.y);v_tex_b=vec2(a_linesofar*scaleB/floorwidth,(-normal.y*heightB+dash_to.x+0.5)/u_texsize.y);\n#endif\nv_width2=vec2(outset,inset);\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}
2"),linePattern:mn("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);\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_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_linesofar;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mat2 u_pixels_to_tile_units;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;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_pixels_to_tile_units,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2*u_pixels_to_tile_units,0.0,1.0)+projected_extrude;\n#ifndef RENDER_TO_TEXTURE\nfloat 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;\n#else\nv_gamma_scale=1.0;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),raster:mn("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(\ndot(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);vec3 out_color=mix(u_high_vec,u_low_vec,rgb);\n#ifdef FOG\nout_color=fog_dither(fog_apply(out_color,v_fog_pos));\n#endif\ngl_FragColor=vec4(out_color*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 vec2 u_perspective_transform;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {float w=1.0+dot(a_texture_pos,u_perspective_transform);gl_Position=u_matrix*vec4(a_pos*w,0,w);v_pos0=a_texture_pos/8192.0;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),symbolIcon:mn("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}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_pixeloffset;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform 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 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;uniform vec3 u_up_vector;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying 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_tex_size.xy;vec2 a_size=a_tex_size.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_min_font_scale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[3];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;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.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(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float font_scale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjected_point;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 displacement=vec3(a_globe_normal.z,0,-a_globe_normal.x);offsetProjected_point=u_matrix*vec4(a_globe_anchor+displacement,1);\n#else\noffsetProjected_point=u_matrix*vec4(tile_anchor+vec2(1,0),0,1);\n#endif\nvec2 a=projected_point.xy/projected_point.w;vec2 b=offsetProjected_point.xy/offsetProjected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp 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);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*max(a_min_font_scale,font_scale)+a_pxoffset/16.0);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nv_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(occlusion_fade,fade_opacity[0]+fade_change))*projection_transition_fade;}"),symbolSDF:mn("#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}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_pixeloffset;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform 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 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 vec3 u_up_vector;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying 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_tex_size.xy;vec2 a_size=a_tex_size.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[3];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;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.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(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetprojected_point;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 displacement=vec3(a_globe_normal.z,0,-a_globe_normal.x);offsetprojected_point=u_matrix*vec4(a_globe_anchor+displacement,1);\n#else\noffsetprojected_point=u_matrix*vec4(tile_anchor+vec2(1,0),0,1);\n#endif\nvec2 a=projected_point.xy/projected_point.w;vec2 b=offsetprojected_point.xy/
2offsetprojected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp 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);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat gamma_scale=gl_Position.w;float projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nvec2 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(occlusion_fade,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity*projection_transition_fade);}"),symbolTextAndIcon:mn("#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}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform 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 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 vec3 u_up_vector;uniform vec2 u_texsize_icon;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying 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_tex_size.xy;vec2 a_size=a_tex_size.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[3];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;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.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(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float font_scale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offset_projected_point=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projected_point.xy/projected_point.w;vec2 b=offset_projected_point.xy/offset_projected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp 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);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*font_scale);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat 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(occlusion_fade,fade_opacity[0]+fade_change));float projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nv_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity*projection_transition_fade,is_s
2df);}"),terrainRaster:mn("uniform sampler2D u_image0;varying vec2 v_pos0;\n#ifdef FOG\nvarying float v_fog_opacity;\n#endif\n#ifdef RENDER_SHADOWS\nvarying vec4 v_pos_light_view_0;varying vec4 v_pos_light_view_1;varying float v_depth;\n#endif\nvoid main() {vec4 color=texture2D(u_image0,v_pos0);\n#ifdef RENDER_SHADOWS\ncolor.xyz=shadowed_color(color.xyz,v_pos_light_view_0,v_pos_light_view_1,v_depth);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_from_vert(color,v_fog_opacity));\n#endif\ngl_FragColor=color;\n#ifdef TERRAIN_WIREFRAME\ngl_FragColor=vec4(1.0,0.0,0.0,0.8);\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_skirt_height;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;\n#ifdef FOG\nvarying float v_fog_opacity;\n#endif\n#ifdef RENDER_SHADOWS\nuniform mat4 u_light_matrix_0;uniform mat4 u_light_matrix_1;varying vec4 v_pos_light_view_0;varying vec4 v_pos_light_view_1;varying float v_depth;\n#endif\nconst float skirtOffset=24575.0;const float wireframeOffset=0.00015;void main() {v_pos0=a_texture_pos/8192.0;float skirt=float(a_pos.x >=skirtOffset);float elevation=elevation(a_texture_pos)-skirt*u_skirt_height;\n#ifdef TERRAIN_WIREFRAME\nelevation+=u_skirt_height*u_skirt_height*wireframeOffset;\n#endif\nvec2 decodedPos=a_pos-vec2(skirt*skirtOffset,0.0);gl_Position=u_matrix*vec4(decodedPos,elevation,1.0);\n#ifdef FOG\nv_fog_opacity=fog(fog_position(vec3(decodedPos,elevation)));\n#endif\n#ifdef RENDER_SHADOWS\nvec3 pos=vec3(decodedPos,elevation);v_pos_light_view_0=u_light_matrix_0*vec4(pos,1.);v_pos_light_view_1=u_light_matrix_1*vec4(pos,1.);v_depth=gl_Position.w;\n#endif\n}"),terrainDepth:mn("#ifdef GL_ES\nprecision highp float;\n#endif\nvarying float v_depth;void main() {gl_FragColor=pack_depth(v_depth);}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying float v_depth;void main() {float elevation=elevation(a_texture_pos);gl_Position=u_matrix*vec4(a_pos,elevation,1.0);v_depth=gl_Position.z/gl_Position.w;}"),skybox:mn("\nvarying lowp vec3 v_uv;uniform lowp samplerCube u_cubemap;uniform lowp float u_opacity;uniform highp float u_temporal_offset;uniform highp vec3 u_sun_direction;float sun_disk(highp vec3 ray_direction,highp vec3 sun_direction) {highp float cos_angle=dot(normalize(ray_direction),sun_direction);const highp float cos_sun_angular_diameter=0.99996192306;const highp float smoothstep_delta=1e-5;return smoothstep(\ncos_sun_angular_diameter-smoothstep_delta,cos_sun_angular_diameter+smoothstep_delta,cos_angle);}float map(float value,float start,float end,float new_start,float new_end) {return ((value-start)*(new_end-new_start))/(e
2nd-start)+new_start;}void main() {vec3 uv=v_uv;const float y_bias=0.015;uv.y+=y_bias;uv.y=pow(abs(uv.y),1.0/5.0);uv.y=map(uv.y,0.0,1.0,-1.0,1.0);vec3 sky_color=textureCube(u_cubemap,uv).rgb;\n#ifdef FOG\nsky_color=fog_apply_sky_gradient(v_uv.xzy,sky_color);\n#endif\nsky_color.rgb=dither(sky_color.rgb,gl_FragCoord.xy+u_temporal_offset);sky_color+=0.1*sun_disk(v_uv,u_sun_direction);gl_FragColor=vec4(sky_color*u_opacity,u_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}",nn),skyboxGradient:mn("varying highp vec3 v_uv;uniform lowp sampler2D u_color_ramp;uniform highp vec3 u_center_direction;uniform lowp float u_radius;uniform lowp float u_opacity;uniform highp float u_temporal_offset;void main() {float progress=acos(dot(normalize(v_uv),u_center_direction))/u_radius;vec4 color=texture2D(u_color_ramp,vec2(progress,0.5));\n#ifdef FOG\ncolor.rgb=fog_apply_sky_gradient(v_uv.xzy,color.rgb/color.a)*color.a;\n#endif\ncolor*=u_opacity;color.rgb=dither(color.rgb,gl_FragCoord.xy+u_temporal_offset);gl_FragColor=color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}",nn),skyboxCapture:mn
vendor: 3,851 bytes, line 2
2("\nvarying highp vec3 v_position;uniform highp float u_sun_intensity;uniform highp float u_luminance;uniform lowp vec3 u_sun_direction;uniform highp vec4 u_color_tint_r;uniform highp vec4 u_color_tint_m;\n#ifdef GL_ES\nprecision highp float;\n#endif\n#define BETA_R                  vec3(5.5e-6,13.0e-6,22.4e-6)\n#define BETA_M                  vec3(21e-6,21e-6,21e-6)\n#define MIE_G                   0.76\n#define DENSITY_HEIGHT_SCALE_R  8000.0\n#define DENSITY_HEIGHT_SCALE_M  1200.0\n#define PLANET_RADIUS           6360e3\n#define ATMOSPHERE_RADIUS       6420e3\n#define SAMPLE_STEPS            10\n#define DENSITY_STEPS           4\nfloat ray_sphere_exit(vec3 orig,vec3 dir,float radius) {float a=dot(dir,dir);float b=2.0*dot(dir,orig);float c=dot(orig,orig)-radius*radius;float d=sqrt(b*b-4.0*a*c);return (-b+d)/(2.0*a);}vec3 extinction(vec2 density) {return exp(-vec3(BETA_R*u_color_tint_r.a*density.x+BETA_M*u_color_tint_m.a*density.y));}vec2 local_density(vec3 point) {float height=max(length(point)-PLANET_RADIUS,0.0);float exp_r=exp(-height/DENSITY_HEIGHT_SCALE_R);float exp_m=exp(-height/DENSITY_HEIGHT_SCALE_M);return vec2(exp_r,exp_m);}float phase_ray(float cos_angle) {return (3.0/(16.0*PI))*(1.0+cos_angle*cos_angle);}float phase_mie(float cos_angle) {return (3.0/(8.0*PI))*((1.0-MIE_G*MIE_G)*(1.0+cos_angle*cos_angle))/((2.0+MIE_G*MIE_G)*pow(1.0+MIE_G*MIE_G-2.0*MIE_G*cos_angle,1.5));}vec2 density_to_atmosphere(vec3 point,vec3 light_dir) {float ray_len=ray_sphere_exit(point,light_dir,ATMOSPHERE_RADIUS);float step_len=ray_len/float(DENSITY_STEPS);vec2 density_point_to_atmosphere=vec2(0.0);for (int i=0; i < DENSITY_STEPS;++i) {vec3 point_on_ray=point+light_dir*((float(i)+0.5)*step_len);density_point_to_atmosphere+=local_density(point_on_ray)*step_len;;}return density_point_to_atmosphere;}vec3 atmosphere(vec3 ray_dir,vec3 sun_direction,float sun_intensity) {vec2 density_orig_to_point=vec2(0.0);vec3 scatter_r=vec3(0.0);vec3 scatter_m=vec3(0.0);vec3 origin=vec3(0.0,PLANET_RADIUS,0.0);float ray_len=ray_sphere_exit(origin,ray_dir,ATMOSPHERE_RADIUS);float step_len=ray_len/float(SAMPLE_STEPS);for (int i=0; i < SAMPLE_STEPS;++i) {vec3 point_on_ray=origin+ray_dir*((float(i)+0.5)*step_len);vec2 density=local_density(point_on_ray)*step_len;density_orig_to_point+=density;vec2 density_point_to_atmosphere=density_to_atmosphere(point_on_ray,sun_direction);vec2 density_orig_to_atmosphere=density_orig_to_point+density_point_to_atmosphere;vec3 extinction=extinction(density_orig_to_atmosphere);scatter_r+=density.x*extinction;scatter_m+=density.y*extinction;}float cos_angle=dot(ray_dir,sun_direction);float phase_r=phase_ray(cos_angle);float phase_m=phase_mie(cos_angle);vec3 beta_r=BETA_R*u_color_tint_r.rgb*u_color_tint_r.a;vec3 beta_m=BETA_M*u_color_tint_m.rgb*u_color_tint_m.a;return (scatter_r*phase_r*beta_r+scatter_m*phase_m*beta_m)*sun_intensity;}const float A=0.15;const float B=0.50;const float C=0.10;const float D=0.20;const float E=0.02;const float F=0.30;vec3 uncharted2_tonemap(vec3 x) {return ((x*(A*x+C*B)+D*E)/(x*(A*x+B)+D*F))-E/F;}void main() {vec3 ray_direction=v_position;ray_direction.y=pow(ray_direction.y,5.0);const float y_bias=0.015;ray_direction.y+=y_bias;vec3 color=atmosphere(normalize(ray_direction),u_sun_direction,u_sun_intensity);float white_scale=1.0748724675633854;color=uncharted2_tonemap((log2(2.0/pow(u_luminance,4.0)))*color)*white_scale;gl_FragColor=vec4(color,1.0);}","attribute highp vec3 a_pos_3f;uniform mat3 u_matrix_3f;varying highp vec3 v_position;float map(float value,float start,float end,float new_start,float new_end) {return ((value-start)*(new_end-new_start))/(end-start)+new_start;}void main() {vec4 pos=vec4(u_matrix_3f*a_pos_3f,1.0);v_position=pos.xyz;v_position.y*=-1.0;v_position.y=map(v_position.y,-1.0,1.0,0.0,1.0);gl_Position=vec4(a_pos_3f.xy,0.0,1.0);}"),globeRaster:
2mn("uniform sampler2D u_image0;varying vec2 v_pos0;\n#ifndef FOG\nuniform highp vec3 u_frustum_tl;uniform highp vec3 u_frustum_tr;uniform highp vec3 u_frustum_br;uniform highp vec3 u_frustum_bl;uniform highp vec3 u_globe_pos;uniform highp float u_globe_radius;uniform vec2 u_viewport;\n#endif\nvoid main() {vec4 color;\n#ifdef CUSTOM_ANTIALIASING\nvec2 uv=gl_FragCoord.xy/u_viewport;highp vec3 ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,uv.x),mix(u_frustum_bl,u_frustum_br,uv.x),1.0-uv.y);vec3 dir=normalize(ray_dir);vec3 closest_point=dot(u_globe_pos,dir)*dir;float norm_dist_from_center=1.0-length(closest_point-u_globe_pos)/u_globe_radius;const float antialias_pixel=2.0;float antialias_factor=antialias_pixel*fwidth(norm_dist_from_center);float antialias=smoothstep(0.0,antialias_factor,norm_dist_from_center);vec4 raster=texture2D(u_image0,v_pos0);color=vec4(raster.rgb*antialias,raster.a*antialias);\n#else\ncolor=texture2D(u_image0,v_pos0);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_FragColor=color;\n#ifdef TERRAIN_WIREFRAME\ngl_FragColor=vec4(1.0,0.0,0.0,0.8);\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_proj_matrix;uniform mat4 u_normalize_matrix;uniform mat4 u_globe_matrix;uniform mat4 u_merc_matrix;uniform float u_zoom_transition;uniform vec2 u_merc_center;uniform mat3 u_grid_matrix;\n#ifdef GLOBE_POLES\nattribute vec3 a_globe_pos;attribute vec2 a_uv;\n#else\nattribute vec2 a_pos;\n#endif\nvarying vec2 v_pos0;const float wireframeOffset=1e3;float mercatorXfromLng(float lng) {return (180.0+lng)/360.0;}float mercatorYfromLat(float lat) {return (180.0-(RAD_TO_DEG*log(tan(QUARTER_PI+lat/2.0*DEG_TO_RAD))))/360.0;}vec3 latLngToECEF(vec2 latLng) {latLng=DEG_TO_RAD*latLng;float cosLat=cos(latLng[0]);float sinLat=sin(latLng[0]);float cosLng=cos(latLng[1]);float sinLng=sin(latLng[1]);float sx=cosLat*sinLng*GLOBE_RADIUS;float sy=-sinLat*GLOBE_RADIUS;float sz=cosLat*cosLng*GLOBE_RADIUS;return vec3(sx,sy,sz);}void main() {\n#ifdef GLOBE_POLES\nvec3 globe_pos=a_globe_pos;vec2 uv=a_uv;\n#else\nfloat tiles=u_grid_matrix[0][2];float idx=u_grid_matrix[1][2];float idy=u_grid_matrix[2][2];vec3 latLng=u_grid_matrix*vec3(a_pos,1.0);float mercatorY=mercatorYfromLat(latLng[0]);float uvY=mercatorY*tiles-idy;float mercatorX=mercatorXfromLng(latLng[1]);float uvX=mercatorX*tiles-idx;vec3 globe_pos=latLngToECEF(latLng.xy);vec2 merc_pos=vec2(mercatorX,mercatorY);vec2 uv=vec2(uvX,uvY);\n#endif\nv_pos0=uv;vec2 tile_pos=uv*EXTENT;\n#ifdef GLOBE_POLES\nvec3 up_vector=normalize(globe_pos)*u_tile_up_scale;\n#else\nvec3 up_vector=elevationVector(tile_pos);\n#endif\nfloat height=elevation(tile_pos);\n#ifdef TERRAIN_WIREFRAME\nheight+=wireframeOffset;\n#endif\nglobe_pos+=up_vector*height;\n#ifdef GLOBE_POLES\nvec4 interpolated_pos=u_globe_matrix*vec4(globe_pos,1.0);\n#else\nvec4 globe_world_pos=u_globe_matrix*vec4(globe_pos,1.0);vec4 merc_world_pos=vec4(0.0);if (u_zoom_transition > 0.0) {merc_world_pos=vec4(merc_pos,height,1.0);merc_world_pos.xy-=u_merc_center;merc_world_pos.x=wrap(merc_world_pos.x,-0.5,0.5);merc_world_pos=u_merc_matrix*merc_world_pos;}vec4 interpolated_pos=vec4(mix(globe_world_pos.xyz,merc_world_pos.xyz,u_zoom_transition),1.0);\n#endif\ngl_Position=u_proj_matrix*interpolated_pos;\n#ifdef FOG\nv_fog_pos=fog_position((u_normalize_matrix*vec4(globe_pos,1.0)).xyz);\n#endif\n}"),globeAtmosphere:mn("uniform float u_transition;uniform highp float u_fadeout_range;uniform highp float u_temporal_offset;uniform vec3 u_start_color;uniform vec4 u_color;uniform vec4 u_space_color;uniform vec4 u_high_color;uniform float u_star_intensity;uniform float u_star_size;uniform float u_star_density;uniform float u_horizon_angle;uniform mat4 u_rotation_matrix;varying highp vec3 v_ray_dir;varying highp vec3 v_horizon_dir;highp float random(highp vec3 p) {p=fract(p*vec3(23.2342,97.1231,91.2342));p+=dot(p.zxy,p.yxz+123.1234);return fract(p.x*p.y);}float stars(vec3 p,float scale,vec2 offset) {vec2 uv_scale=(u_viewport/u_star_size)*scale;vec3 position=vec3(p.xy*uv_scale+offset*u_viewport,p.z);vec3 q=fract(position)-0.5;vec3 id=floor(position);float random_visibility=step(random(id),u_star_density);float circle=smoothstep(0.5+u_star_intensity,0.5,length(q));
2return circle*random_visibility;}void main() {highp vec3 dir=normalize(v_ray_dir);float globe_pos_dot_dir;\n#ifdef PROJECTION_GLOBE_VIEW\nglobe_pos_dot_dir=dot(u_globe_pos,dir);highp vec3 closest_point_forward=abs(globe_pos_dot_dir)*dir;float norm_dist_from_center=length(closest_point_forward-u_globe_pos)/u_globe_radius;if (norm_dist_from_center < 0.98) {discard;return;}\n#endif\nhighp vec3 horizon_dir=normalize(v_horizon_dir);float horizon_angle_mercator=dir.y < horizon_dir.y ?\n0.0 : max(acos(dot(dir,horizon_dir)),0.0);float horizon_angle;\n#ifdef PROJECTION_GLOBE_VIEW\nhighp vec3 closest_point=globe_pos_dot_dir*dir;float closest_point_to_center=length(closest_point-u_globe_pos);float theta=asin(clamp(closest_point_to_center/length(u_globe_pos),-1.0,1.0));horizon_angle=globe_pos_dot_dir < 0.0 ?\nPI-theta-u_horizon_angle : theta-u_horizon_angle;float angle_t=pow(u_transition,10.0);horizon_angle=mix(horizon_angle,horizon_angle_mercator,angle_t);\n#else\nhorizon_angle=horizon_angle_mercator;\n#endif\nhorizon_angle/=PI;float t=exp(-horizon_angle/u_fadeout_range);float alpha_0=u_color.a;float alpha_1=u_high_color.a;float alpha_2=u_space_color.a;vec3 color_stop_0=u_color.rgb;vec3 color_stop_1=u_high_color.rgb;vec3 color_stop_2=u_space_color.rgb;vec3 c0=mix(color_stop_2,color_stop_1,alpha_1);vec3 c1=mix(c0,color_stop_0,alpha_0);vec3 c2=mix(c0,c1,t);vec3 c =mix(color_stop_2,c2,t);float a0=mix(alpha_2,1.0,alpha_1);float a1=mix(a0,1.0,alpha_0);float a2=mix(a0,a1,t);float a =mix(alpha_2,a2,t);vec2 uv=gl_FragCoord.xy/u_viewport-0.5;float aspect_ratio=u_viewport.x/u_viewport.y;vec4 uv_dir=vec4(normalize(vec3(uv.x*aspect_ratio,uv.y,1.0)),1.0);uv_dir=u_rotation_matrix*uv_dir;vec3 n=abs(uv_dir.xyz);vec2 uv_remap=(n.x > n.y && n.x > n.z) ? uv_dir.yz/uv_dir.x:\n(n.y > n.x && n.y > n.z) ? uv_dir.zx/uv_dir.y:\nuv_dir.xy/uv_dir.z;uv_remap.x/=aspect_ratio;vec3 D=vec3(uv_remap,1.0);highp float star_field=0.0;if (u_star_intensity > 0.0) {star_field+=stars(D,1.2,vec2(0.0,0.0));star_field+=stars(D,1.0,vec2(1.0,0.0));star_field+=stars(D,0.8,vec2(0.0,1.0));star_field+=stars(D,0.6,vec2(1.0,1.0));star_field*=(1.0-pow(t,0.25+(1.0-u_high_color.a)*0.75));c+=star_field*alpha_2;}c=dither(c,gl_FragCoord.xy+u_temporal_offset);gl_FragColor=vec4(c,a);}","attribute vec3 a_pos;attribute vec2 a_uv;uniform vec3 u_frustum_tl;uniform vec3 u_frustum_tr;uniform vec3 u_frustum_br;uniform vec3 u_frustum_bl;uniform float u_horizon;varying highp vec3 v_ray_dir;varying highp vec3 v_horizon_dir;void main() {v_ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,a_uv.x),mix(u_frustum_bl,u_frustum_br,a_uv.x),a_uv.y);v_horizon_dir=mix(\nmix(u_frustum_tl,u_frustum_bl,u_horizon),mix(u_frustum_tr,u_frustum_br,u_horizon),a_uv.x);gl_Position=vec4(a_pos,1.0);}")};function pn(t,e){const n=t.replace(/\s*\/\/[^\n]*\n/g,"\n").split("\n");for(let t of n)if(t=t.trim(),"#"===t[0]&&t.includes("if")&&!t.includes("endif")){t=t.replace("#","").replace(/ifdef|ifndef|elif|if/g,"").replace(/!|defined|\(|\)|\|\||&&/g,"").replace(/\s+/g," ").trim();const n=t.split(" ");for(const t of n)e.includes(t)||e.push(t)}}function mn(t,e){const n=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,r=e.match(/attribute (highp |mediump |lowp )?([\w]+) ([\w]+)/g),i={},o=[...cn];return pn(t,o),pn(e,o),{fragmentSource:t=t.replace(n,((t,e,n,r,o)=>(i[o]=!0,"define"===e?`\n#ifndef HAS_UNIFORM_u_${o}\nvarying ${n} ${r} ${o};\n#else\nuniform ${n} ${r} u_${o};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${o}\n    ${n} ${r} ${o} = u_${o};\n#endif\n`))),vertexSource:e=e.replace(n,((t,e,n,r,o)=>{const a="float"===r?"vec2":"vec4",s=o.match(/color/)?"color":a;return i[o]?"define"===e?`\n#ifndef HAS_UNIFORM_u_${o}\nuniform lowp float u_${o}_t;\nattribute ${n} ${a} a_${o};\nvarying ${n} ${r} ${o};\n#else\nuniform ${n} ${r} u_${o};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${o}\n    ${o} = a_${o};\n#else\n    ${n} ${r} ${o} = u_${o};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${o}\n    ${o} = unpack_mix_${s}(a_${o}, u_${o}_t);\n#else\n    ${n} ${r} ${o} = u_${o};\n#endif\n`:"define"===e?`\n#ifndef HAS_UNIFORM_u_${o}\nuniform lowp float u_${o}_t;\nattribute ${n} ${a} a_${o};\n#else\nuniform ${n} ${r} u_${o};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${o}\n    ${n} ${r} ${o} = a_${o};\n#else\n    ${n} ${r} ${o} = u_${o};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${o}\n    ${n} ${r} ${o} = unpack_mix_${s}(a_${o}, u_${o}_t);\n#else\n    ${n} ${r} ${o} = u_${o};\n#endif\n`})),staticAttributes:r,usedDefines:o}}class _n{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffers=[],this.vao=null}bind(t,e,n,r,i,o,a){this.context=t;let s=this.boundPaintVertexBuffers.length!==r.length;for(let t=0;!s&&t<r.length;t++)this.boundPaintVertexBuffers[t]!==r[t]&&(s=!0);let l=this.boundDynamicVertexBuffers.length!==a.length;for(let t=0;!l&&t<a.length;t++)this.boundDynamicVertexBuffers[t]!==a[t]&&(l=!0);if(!t.extVertexArrayObject||!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==n||s||l||this.boundIndexBuffer!==i||this.boundVertexOffset!==o)this.freshBind(e,n,r,i,o,a);else{t.bindVertexArrayOES.set(this.vao);for(const t of a)t&&t.bind();i&&i.dynamicDraw&&i.bind()}}freshBind(t,e,n,r,i,o){let a;const s=t.numAttributes,l=this.context,c=l.gl;if(l.extVertexArrayObject)this.vao&&this.destroy(),this.vao=l.extVertexArrayObject.createVertexArrayOES(),l.bindVertexArrayOES.set(this.vao),a=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=n,this.boundIndexBuffer=r,this.boundVertexOffset=i,this.boundDynamicVertexBuffers=o;else{a=l.currentNumAttributes||0;for(let t=s;t<a;t++)c.disableVertexAttribArray(t)}e.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,i
vendor: 15,356 bytes, line 2
2);for(const e of n)e.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,i);for(const e of o)e&&(e.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,i));r&&r.bind(),l.currentNumAttributes=s}destroy(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)}}function vn(e,n){const r=Math.pow(2,n.canonical.z),i=n.canonical.y;return[new t.MercatorCoordinate(0,i/r).toLngLat().lat,new t.MercatorCoordinate(0,(i+1)/r).toLngLat().lat]}function gn(e,n,r,i,o,a,s){const l=e.context,c=l.gl,u=r.fbo;if(!u)return;e.prepareDrawTile();const d=e.useProgram("hillshade");l.activeTexture.set(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D,u.colorAttachment.get());const h=((t,e,n,r)=>{const i=n.paint.get("hillshade-shadow-color"),o=n.paint.get("hillshade-highlight-color"),a=n.paint.get("hillshade-accent-color");let s=n.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===n.paint.get("hillshade-illumination-anchor")&&(s-=t.transform.angle);const l=!t.options.moving;return{u_matrix:r||t.transform.calculateProjMatrix(e.tileID.toUnwrapped(),l),u_image:0,u_latrange:vn(0,e.tileID),u_light:[n.paint.get("hillshade-exaggeration"),s],u_shadow:i,u_highlight:o,u_accent:a}})(e,r,i,e.terrain?n.projMatrix:null);e.prepareDrawProgram(l,d,n.toUnwrapped());const{tileBoundsBuffer:f,tileBoundsIndexBuffer:p,tileBoundsSegments:m}=e.getTileBoundsBuffers(r);d.draw(l,c.TRIANGLES,o,a,s,t.CullFaceMode.disabled,h,i.id,f,p,m)}function yn(e,n,r){if(!n.needsDEMTextureUpload)return;const i=e.context,o=i.gl;i.pixelStoreUnpackPremultiplyAlpha.set(!1),n.demTexture=n.demTexture||e.getTileTexture(r.stride);const a=r.getPixels();n.demTexture?n.demTexture.update(a,{premultiply:!1}):n.demTexture=new t.Texture(i,a,o.RGBA,{premultiply:!1}),n.needsDEMTextureUpload=!1}function bn(e,n,r,i,o,a){const s=e.context,l=s.gl;if(!n.dem)return;const c=n.dem;if(s.activeTexture.set(l.TEXTURE1),yn(e,n,c),!n.demTexture)return;n.demTexture.bind(l.NEAREST,l.CLAMP_TO_EDGE);const u=c.dim;s.activeTexture.set(l.TEXTURE0);let d=n.fbo;if(!d){const e=new t.Texture(s,{width:u,height:u,data:null},l.RGBA);e.bind(l.LINEAR,l.CLAMP_TO_EDGE),d=n.fbo=s.createFramebuffer(u,u,!0),d.colorAttachment.set(e.texture)}s.bindFramebuffer.set(d.framebuffer),s.viewport.set([0,0,u,u]);const{tileBoundsBuffer:h,tileBoundsIndexBuffer:f,tileBoundsSegments:p}=e.getMercatorTileBoundsBuffers();e.useProgram("hillshadePrepare").draw(s,l.TRIANGLES,i,o,a,t.CullFaceMode.disabled,((e,n)=>{const r=n.stride,i=t.create();return t.ortho(i,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(i,i,[0,-t.EXTENT,0]),{u_matrix:i,u_image:1,u_dimension:[r,r],u_zoom:e.overscaledZ,u_unpack:n.unpackVector}})(n.tileID,c),r.id,h,f,p),n.needsHillshadePrepare=!1}const xn=e=>({u_matrix:new t.UniformMatrix4f(e),u_image0:new t.Uniform1i(e),u_skirt_height:new t.Uniform1f(e)}),wn=(t,e)=>({u_matrix:t,u_image0:0,u_skirt_height:e}),kn=(t,e,n,r,i,o,a,s,l,c,u,d,h,f)=>({u_proj_matrix:Float32Array.from(t),u_globe_matrix:e,u_normalize_matrix:Float32Array.from(r),u_merc_matrix:n,u_zoom_transition:i,u_merc_center:o,u_image0:0,u_frustum_tl:a,u_frustum_tr:s,u_frustum_br:l,u_frustum_bl:c,u_globe_pos:u,u_globe_radius:d,u_viewport:h,u_grid_matrix:f?Float32Array.from(f):new Float32Array(9)});function Mn(t,e){return null!=t&&null!=e&&!(!t.hasData()||!e.hasData())&&null!=t.demTexture&&null!=e.demTexture&&t.tileID.key!==e.tileID.key}const Cn=new class{constructor(){this.operations={}}newMorphing(t,e,n,r,i){if(t in this.operations){const e=this.operations[t];e.to.tileID.key!==n.tileID.key&&(e.queued=n)}else this.operations[t]={startTime:r,phase:0,duration:i,from:e,to:n,queued:null}}getMorphValuesForProxy(t){if(!(t in this.operations))return null;const e=this.operations[t];return{from:e.from,to:e.to,phase:e.phase}}update(t){for(const e in this.operations){const n=this.operations[e];for(n.phase=(t-n.startTime)/n.duration;n.phase>=1||!this._validOp(n);)if(!this._nextOp(n,t)){delete this.operations[e];break}}}_nextOp(t,e){return!!t.queued&&(t.from=t.to,t.to=t.queued,t.queued=null,t.phase=0,t.startTime=e,!0)}_validOp(t){return t.from.hasData()&&t.to.hasData()}},Sn={0:null,1:"TERRAIN_VERTEX_MORPHING",2:"TERRAIN_WIREFRAME"};function Tn(t,e){const n=1<<t.z;return!e&&(0===t.x||t.x===n-1)||0===t.y||t.y===n-1}const Ln=t=>({u_matrix:t});function En(e,n,r,i,o){if(o>0){const a=t.exported.now(),s=(a-e.timeAdded)/o,l=n?(a-n.timeAdded)/o:-1,c=r.getSource(),u=i.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),d=!n||Math.abs(n.tileID.overscaledZ-u)>Math.abs(e.tileID.overscaledZ-u),h=d&&e.refreshedUponExpiration?1:t.clamp(d?s:1-l,0,1);return e.refreshedUponExpiration&&s>=1&&(e.refreshedUponExpiration=!1),n?{opacity:1,mix:1-h}:{opacity:h,mix:0}}return{opacity:1,mix:0}}class An extends t.SourceCache{constructor(t){const e={type:"raster-dem",maxzoom:t.transform.maxZoom},n=new O(Nt(),null),r=Ot("mock-dem",e,n,t.style);super("mock-dem",r,!1),r.setEventedParent(this),this._sourceLoaded=!0}_loadTile(t,e){t.state="loaded",e(null)}}class Dn extends t.SourceCache{constructor(t){const e=Ot("proxy",{type:"geojson",maxzoom:t.transform.maxZoom},new O(Nt(),null),t.style);super("proxy",e,!1),e.setEventedParent(this),this.map=this.getSource().map=t,this.used=this._sourceLoaded=!0,this.renderCache=[],this.renderCachePool=[],this.proxyCachedFBO={}}update(e,n,r){if(e.freezeTileCoverage)return;this.transform=e;const i=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}).reduce(((n,r)=>{if(n[r.key]="",!this._tiles[r.key]){const n=new t.Tile(r,this._source.tileSize*r.overscaleFactor(),e.tileZoom);n.state="loaded",this._tiles[r.key]=n}return n}),{});for(const t in this._tiles)t in i||(this.freeFBO(t),this._tiles[t].unloadVectorData(),delete this._tiles[t])}freeFBO(t){const e=this.proxyCachedFBO[t];if(void 0!==e){const n=Object.values(e);this.renderCachePool.push(...n),delete this.proxyCachedFBO[t]}}deallocRenderCache(){this.renderCache.forEach((t=>t.fb.destroy())),this.renderCache=[],this.renderCachePool=[],this.proxyCachedFBO={}}}class On extends t.OverscaledTileID{constructor(t,e,n){super(t.overscaledZ,t.wrap,t.canonical.z,t.canonical.x,t.canonical.y),this.proxyTileKey=e,this.projMatrix=n}}class zn extends t.Elevation{constructor(e,n){super(),this.painter=e,this.terrainTileForTile={},this.prevTerrainTileForTile={};const[r,i,o]=function(e){const n=new t.StructArrayLayout4i8,r=new t.StructArrayLayout3ui6,i=131;n.reserve(17161),r.reserve(33800);const o=t.EXTENT/128,a=t.EXTENT+o/2,s=a+o;for(let e=-o;e<s;e+=o)for(let r=-o;r<s;r+=o){const i=r<0||r>a||e<0||e>a?24575:0,o=t.clamp(Math.round(r),0,t.EXTENT),s=t.clamp(Math.round(e),0,t.EXTENT);n.emplaceBack(o+i,s,o,s)}const l=(t,e)=>{const n=e*i+t;r.emplaceBack(n+1,n,n+i),r.emplaceBack(n+i,n+i+1,n+1)};for(let t=1;t<129;t++)for(let e=1;e<129;e++)l(e,t);return[0,129].forEach((t=>{for(let e=0;e<130;e++)l(e,t),l(t,e)})),[n,r,32768]}(),a=e.context;this.gridBuffer=a.createVertexBuffer(r,t.boundsAttributes.members),this.gridIndexBuffer=a.createIndexBuffer(i),this.gridSegments=t.SegmentVector.simpleSegment(0,0,r.length,i.length),this.gridNoSkirtSegments=t.SegmentVector.simpleSegment(0,0,r.length,o),this.proxyCoords=[],this.proxiedCoords={},this._visibleDemTiles=[],this._drapedRenderBatches=[],this._sourceTilesOverlap={},this.proxySourceCache=new Dn(n.map),this.orthoMatrix=t.create(),t.ortho(this.orthoMatrix,"globe"===this.painter.transform.projection.name?.015:0,t.EXTENT,0,t.EXTENT,0,1);const s=a.gl;this._overlapStencilMode=new t.StencilMode({func:s.GEQUAL,mask:255},0,255,s.KEEP,s.KEEP,s.REPLACE),this._previousZoom=e.transform.zoom,this.pool=[],this._findCoveringTileCache={},this._tilesDirty={},this.style=n,this._useVertexMorphing=!0,this._exaggeration=1,this._mockSourceCache=new An(n.map)}set style(t){t.on("data",this._onStyleDataEvent.bind(this)),t.on("neworder",this._checkRenderCacheEfficiency.bind(this)),this._style=t,this._checkRenderCacheEfficiency()}update(e,n,r){if(e&&e.terrain){this._style!==e&&(this.style=e),this.enabled=!0;const i=e.terrain.properties;this.sourceCache=0===e.terrain.drapeRenderMode?this._mockSourceCache:e._getSourceCache(i.get("source")),this._exaggeration=i.get("exaggeration");const o=()=>{this.sourceCache.used&&t.warnOnce(`Raster DEM source '${this.sourceCache.id}' is used both for terrain and as layer source.\nThis leads to lower resolution of hillshade. For full hillshade resolution but higher memory consumption, define another raster DEM source.`);const e=this.getScaledDemTileSize();this.sourceCache.update(n,e,!0),this.resetTileLookupCache(this.sourceCache.id)};this.sourceCache.usedForTerrain||(this.resetTileLookupCache(this.sourceCache.id),this.sourceCache.usedForTerrain=!0,o(),this._initializing=!0),o(),n.updateElevation(!r),this.resetTileLookupCache(this.proxySourceCache.id),this.proxySourceCache.update(n),this._emptyDEMTextureDirty=!0}else this._disable()}resetTileLookupCache(t){this._findCoveringTileCache[t]={}}getScaledDemTileSize(){return this.sourceCache.getSource().tileSize/128*this.proxySourceCache.getSource().tileSize}_checkRenderCacheEfficiency(){const e=this.renderCacheEfficiency(this._style);this._style.map._optimizeForTerrain||100!==e.efficiency&&t.warnOnce(`Terrain render cache efficiency is not optimal (${e.efficiency}%) and performance\n                may be affected negatively, consider placing all background, fill and line layers before layer\n                with id '${e.firstUndrapedLayer}' or create a map using optimizeForTerrain: true option.`)}_onStyleDataEvent(t){t.coord&&"source"===t.dataType?this._clearRenderCacheForTile(t.sourceCacheId,t.coord):"style"===t.dataType&&(this._invalidateRenderCache=!0)}_disable(){if(this.enabled&&(this.enabled=!1,this._sharedDepthStencil=void 0,this.proxySourceCache.deallocRenderCache(),this._style))for(const t in this._style._sourceCaches)this._style._sourceCaches[t].usedForTerrain=!1}destroy(){this._disable(),this._emptyDEMTexture&&this._emptyDEMTexture.destroy(),this._emptyDepthBufferTexture&&this._emptyDepthBufferTexture.destroy(),this.pool.forEach((t=>t.fb.destroy())),this.pool=[],this._depthFBO&&(this._depthFBO.destroy(),this._depthFBO=void 0,this._depthTexture=void 0)}_source(){return this.enabled?this.sourceCache:null}isUsingMockSource(){return this.sourceCache===this._mockSourceCache}exaggeration(){return this._exaggeration}get visibleDemTiles(){return this._visibleDemTiles}get drapeBufferSize(){const t=2*this.proxySourceCache.getSource().tileSize;return[t,t]}set useVertexMorphing(t){this._useVertexMorphing=t}updateTileBinding(e){if(!this.enabled)return;this.prevTerrainTileForTile=this.terrainTileForTile;const n=this.proxySourceCache,r=this.painter.transform;this._initializing&&(this._initializing=0===r._centerAltitude&&-1===this.getAtPointOrZero(t.MercatorCoordinate.fromLngLat(r.center),-1),this._emptyDEMTextureDirty=!this._initializing);const i=this.proxyCoords=n.getIds().map((t=>{const e=n.getTileByID(t).tileID;return e.projMatrix=r.calculateProjMatrix(e.toUnwrapped()),e}));!function(e,n){const r=n.transform.pointCoordinate(n.transform.getCameraPoint()),i=new t.pointGeometry(r.x,r.y);e.sort(((e,n)=>{if(n.overscaledZ-e.overscaledZ)return n.overscaledZ-e.overscaledZ;const r=new t.pointGeometry(e.canonical.x+(1<<e.canonical.z)*e.wrap,e.canonical.y),o=new t.pointGeometry(n.canonical.x+(1<<n.canonical.z)*n.wrap,n.canonical.y),a=i.mult(1<<e.canonical.z);return a.x-=.5,a.y-=.5,a.distSqr(r)-a.distSqr(o)}))}(i,this.painter),this._previousZoom=r.zoom;const o=this.proxyToSource||{};this.proxyToSource={},i.forEach((t=>{this.proxyToSource[t.key]={}})),this.terrainTileForTile={};const a=this._style._sourceCaches;for(const t in a){const n=a[t];if(!n.used)continue;if(n!==this.sourceCache&&this.resetTileLookupCache(n.id),this._setupProxiedCoordsForOrtho(n,e[t],o),n.usedForTerrain)continue;const r=e[t];n.getSource().reparseOverscaled&&this._assignTerrainTiles(r)}this.proxiedCoords[n.id]=i.map((t=>new On(t,t.key,this.orthoMatrix))),this._assignTerrainTiles(i),this._prepareDEMTextures(),this._setupDrapedRenderBatches(),this._initFBOPool(),this._setupRenderCache(o),this.renderingToTexture=!1,this._updateTimestamp=t.exported.now();const s={};this._visibleDemTiles=[];for(const t of this.proxyCoords){const e=this.terrainTileForTile[t.key];if(!e)continue;const n=e.tileID.key;n in s||(this._visibleDemTiles.push(e),s[n]=n)}}_assignTerrainTiles(t){this._initializing||t.forEach((t=>{if(this.terrainTileForTile[t.key])return;const e=this._findTileCoveringTileID(t,this.sourceCache);e&&(this.terrainTileForTile[t.key]=e)}))}_prepareDEMTextures(){const t=this.painter.context,e=t.gl;for(const n in this.terrainTileForTile){const r=this.terrainTileForTile[n],i=r.dem;!i||r.demTexture&&!r.needsDEMTextureUpload||(t.activeTexture.set(e.TEXTURE1),yn(this.painter,r,i))}}_prepareDemTileUniforms(t,e,n,r){if(!e||null==e.demTexture)return!1;const i=t.tileID.canonical,o=Math.pow(2,e.tileID.canonical.z-i.z),a=r||"";return n[`u_dem_tl${a}`]=[i.x*o%1,i.y*o%1],n[`u_dem_scale${a}`]=o,!0}get emptyDEMTexture(){return!this._emptyDEMTextureDirty&&this._emptyDEMTexture?this._emptyDEMTexture:this._updateEmptyDEMTexture()}get emptyDepthBufferTexture(){const e=this.painter.context,n=e.gl;if(!this._emptyDepthBufferTexture){const r=new t.RGBAImage({width:1,height:1},Uint8Array.of(255,255,255,255));this._emptyDepthBufferTexture=new t.Texture(e,r,n.RGBA,{premultiply:!1})}return this._emptyDepthBufferTexture}_getLoadedAreaMinimum(){let t=0;const e=this._visibleDemTiles.reduce(((e,n)=>{if(!n.dem)return e;const r=n.dem.tree.minimums[0];return r>0&&t++,e+r}),0);return t?e/t:0}_updateEmptyDEMTexture(){const e=this.painter.context,n=e.gl;e.activeTexture.set(n.TEXTURE2);const r=this._getLoadedAreaMinimum(),i=new t.RGBAImage({width:1,height:1},new Uint8Array(t.DEMData.pack(r,this.sourceCache.getSource().encoding)));this._emptyDEMTextureDirty=!1;let o=this._emptyDEMTexture;return o?o.update(i,{premultiply:!1}):o=this._emptyDEMTexture=new t.Texture(e,i,n.RGBA,{premultiply:!1}),o}setupElevationDraw(e,n,r){const i=this.painter.context,o=i.gl,a=(s=this.sourceCache.getSource().encoding,{u_dem:2,u_dem_prev:4,u_dem_unpack:t.DEMData.getUnpackVector(s),u_dem_tl:[0,0],u_dem_tl_prev:[0,0],u_dem_scale:0,u_dem_scale_prev:0,u_dem_size:0,u_dem_lerp:1,u_depth:3,u_depth_size_inv:[0,0],u_exaggeration:0});var s;a.u_dem_size=this.sourceCache.getSource().tileSize,a.u_exaggeration=this.exaggeration();let l=null,c=null,u=1;if(r&&r.morphing&&this._useVertexMorphing){const t=r.morphing.srcDemTile,n=r.morphing.dstDemTile;u=r.morphing.phase,t&&n&&(this._prepareDemTileUniforms(e,t,a,"_prev")&&(c=t),this._prepareDemTileUniforms(e,n,a)&&(l=n))}if(c&&l?(i.activeTexture.set(o.TEXTURE2),l.demTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE,o.NEAREST),i.activeTexture.set(o.TEXTURE4),c.demTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE,o.NEAREST),a.u_dem_lerp=u):(l=this.terrainTileForTile[e.tileID.key],i.activeTexture.set(o.TEXTURE2),(this._prepareDemTileUniforms(e,l,a)?l.demTexture:this.emptyDEMTexture).bind(o.NEAREST,o.CLAMP_TO_EDGE)),i.activeTexture.set(o.TEXTURE3),r&&r.useDepthForOcclusion?(this._depthTexture&&this._depthTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE),this._depthFBO&&(a.u_depth_size_inv=[1/this._depthFBO.width,1/this._depthFBO.height])):(this.empty
2DepthBufferTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE),a.u_depth_size_inv=[1,1]),r&&r.useMeterToDem&&l){const e=(1<<l.tileID.canonical.z)*t.mercatorZfromAltitude(1,this.painter.transform.center.lat)*this.sourceCache.getSource().tileSize;a.u_meter_to_dem=e}if(r&&r.labelPlaneMatrixInv&&(a.u_label_plane_matrix_inv=r.labelPlaneMatrixInv),n.setTerrainUniformValues(i,a),"globe"===this.painter.transform.projection.name){const t=this.globeUniformValues(this.painter.transform,e.tileID.canonical,r&&r.useDenormalizedUpVectorScale);n.setGlobeUniformValues(i,t)}}globeUniformValues(e,n,r){const i=e.projection;return{u_tile_tl_up:i.upVector(n,0,0),u_tile_tr_up:i.upVector(n,t.EXTENT,0),u_tile_br_up:i.upVector(n,t.EXTENT,t.EXTENT),u_tile_bl_up:i.upVector(n,0,t.EXTENT),u_tile_up_scale:r?t.GLOBE_METERS_TO_ECEF:i.upVectorScale(n,e.center.lat,e.worldSize).metersToTile}}renderToBackBuffer(e){const n=this.painter,r=this.painter.context;0!==e.length&&(r.bindFramebuffer.set(null),r.viewport.set([0,0,n.width,n.height]),n.gpuTimingDeferredRenderStart(),this.renderingToTexture=!1,function(e,n,r,i,o){if("globe"===e.transform.projection.name)!function(e,n,r,i,o){const a=e.context,s=a.gl;let l,c;const u=e.options.showTerrainWireframe?2:0,d=e.transform,h=t.globeUseCustomAntiAliasing(e,a,d),f=(t,n)=>{if(c===t)return;const r=[Sn[t],"PROJECTION_GLOBE_VIEW"];h&&r.push("CUSTOM_ANTIALIASING"),n&&r.push(Sn[u]),l=e.useProgram("globeRaster",null,r),c=t},p=e.colorModeForRenderPass(),m=new t.DepthMode(s.LEQUAL,t.DepthMode.ReadWrite,e.depthRangeFor3D);Cn.update(o);const _=t.calculateGlobeMercatorMatrix(d),v=[t.mercatorXfromLng(d.center.lng),t.mercatorYfromLat(d.center.lat)],g=u?[!1,!0]:[!1],y=e.globeSharedBuffers,b=[d.width*t.exported.devicePixelRatio,d.height*t.exported.devicePixelRatio],x=Float32Array.from(d.globeMatrix),w={useDenormalizedUpVectorScale:!0};if(g.forEach((u=>{c=-1;const h=u?s.LINES:s.TRIANGLES;for(const c of i){const i=r.getTile(c),g=t.StencilMode.disabled,k=n.prevTerrainTileForTile[c.key],M=n.terrainTileForTile[c.key];Mn(k,M)&&Cn.newMorphing(c.key,k,M,o,250),a.activeTexture.set(s.TEXTURE0),i.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE);const C=Cn.getMorphValuesForProxy(c.key),S=C?1:0;C&&t.extend$1(w,{morphing:{srcDemTile:C.from,dstDemTile:C.to,phase:t.easeCubicInOut(C.phase)}});const T=t.tileCornersToBounds(c.canonical),L=t.getLatitudinalLod(T.getCenter().lat),E=t.getGridMatrix(c.canonical,T,L,d.worldSize/d._pixelsPerMercatorPixel),A=t.globeNormalizeECEF(t.globeTileBounds(c.canonical)),D=kn(d.projMatrix,x,_,A,t.globeToMercatorTransition(d.zoom),v,d.frustumCorners.TL,d.frustumCorners.TR,d.frustumCorners.BR,d.frustumCorners.BL,d.globeCenterInViewSpace,d.globeRadius,b,E);if(f(S,u),n.setupElevationDraw(i,l,w),e.prepareDrawProgram(a,l,c.toUnwrapped()),y){const[n,r,i]=u?y.getWirefameBuffers(e.context,L):y.getGridBuffers(L);l.draw(a,h,m,g,p,t.CullFaceMode.backCCW,D,"globe_raster",n,r,i)}}})),y){const o=["GLOBE_POLES","PROJECTION_GLOBE_VIEW"];h&&o.push("CUSTOM_ANTIALIASING"),l=e.useProgram("globeRaster",null,o);for(const o of i){const{x:i,y:c,z:u}=o.canonical,h=0===c,f=c===(1<<u)-1,[_,g,x,k]=y.getPoleBuffers(u);if(k&&(h||f)){const c=r.getTile(o);a.activeTexture.set(s.TEXTURE0),c.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE);let y=t.globePoleMatrixForTile(u,i,d);const M=t.globeNormalizeECEF(t.globeTileBounds(o.canonical)),C=(e,n)=>e.draw(a,s.TRIANGLES,m,t.StencilMode.disabled,p,t.CullFaceMode.disabled,kn(d.projMatrix,y,y,M,0,v,d.frustumCorners.TL,d.frustumCorners.TR,d.frustumCorners.BR,d.frustumCorners.BL,d.globeCenterInViewSpace,d.globeRadius,b),"globe_pole_raster",n,x,k);n.setupElevationDraw(c,l,w),e.prepareDrawProgram(a,l,o.toUnwrapped()),h&&C(l,_),f&&(y=t.scale(t.create(),y,[1,-1,1]),C(l,g))}}}}(e,n,r,i,o);else{const a=e.context,s=a.gl;let l,c;const u=e.options.showTerrainWireframe?2:0,d=(t,n)=>{if(c===t)return;const r=[Sn[t]];n&&r.push(Sn[u]),l=e.useProgram("terrainRaster",null,r),c=t},h=e.colorModeForRenderPass(),f=new t.DepthMode(s.LEQUAL,t.DepthMode.ReadWrite,e.depthRangeFor3D);Cn.update(o);const p=e.transform,m=6*Math.pow(1.5,22-p.zoom)*n.exaggeration();
vendor: 12,621 bytes, line 2
2(u?[!1,!0]:[!1]).forEach((u=>{c=-1;const _=u?s.LINES:s.TRIANGLES,[v,g]=u?n.getWirefameBuffer():[n.gridIndexBuffer,n.gridSegments];for(const c of i){const i=r.getTile(c),y=t.StencilMode.disabled,b=n.prevTerrainTileForTile[c.key],x=n.terrainTileForTile[c.key];Mn(b,x)&&Cn.newMorphing(c.key,b,x,o,250),a.activeTexture.set(s.TEXTURE0),i.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST);const w=Cn.getMorphValuesForProxy(c.key),k=w?1:0;let M;w&&(M={morphing:{srcDemTile:w.from,dstDemTile:w.to,phase:t.easeCubicInOut(w.phase)}});const C=wn(c.projMatrix,Tn(c.canonical,p.renderWorldCopies)?m/10:m);d(k,u),n.setupElevationDraw(i,l,M),e.prepareDrawProgram(a,l,c.toUnwrapped()),l.draw(a,_,f,y,h,t.CullFaceMode.backCCW,C,"terrain_raster",n.gridBuffer,v,g)}}))}}(n,this,this.proxySourceCache,e,this._updateTimestamp),this.renderingToTexture=!0,n.gpuTimingDeferredRenderEnd(),e.splice(0,e.length))}renderBatch(e){if(0===this._drapedRenderBatches.length)return e+1;this.renderingToTexture=!0;const n=this.painter,r=this.painter.context,i=this.proxySourceCache,o=this.proxiedCoords[i.id],a=this._drapedRenderBatches.shift(),s=[],l=n.style.order;let c=0;for(const u of o){const o=i.getTileByID(u.proxyTileKey),d=i.proxyCachedFBO[u.key]?i.proxyCachedFBO[u.key][e]:void 0,h=void 0!==d?i.renderCache[d]:this.pool[c++],f=void 0!==d;if(o.texture=h.tex,f&&!h.dirty){s.push(o.tileID);continue}let p;r.bindFramebuffer.set(h.fb.framebuffer),this.renderedToTile=!1,h.dirty&&(r.clear({color:t.Color.transparent,stencil:0}),h.dirty=!1);for(let t=a.start;t<=a.end;++t){const e=n.style._layers[l[t]];if(e.isHidden(n.transform.zoom))continue;const i=n.style._getLayerSourceCache(e),o=i?this.proxyToSource[u.key][i.id]:[u];if(!o)continue;const a=o;r.viewport.set([0,0,h.fb.width,h.fb.height]),p!==(i?i.id:null)&&(this._setupStencil(h,o,e,i),p=i?i.id:null),n.renderLayer(n,i,e,a)}this.renderedToTile?(h.dirty=!0,s.push(o.tileID)):f||--c,5===c&&(c=0,this.renderToBackBuffer(s))}return this.renderToBackBuffer(s),this.renderingToTexture=!1,r.bindFramebuffer.set(null),r.viewport.set([0,0,n.width,n.height]),a.end+1}postRender(){}renderCacheEfficiency(t){const e=t.order.length;if(0===e)return{efficiency:100};let n,r=0,i=0,o=!1;for(let a=0;a<e;++a){const e=t._layers[t.order[a]];this._style.isLayerDraped(e)?(o&&++r,++i):o||(o=!0,n=e.id)}return 0===i?{efficiency:100}:{efficiency:100*(1-r/i),firstUndrapedLayer:n}}getMinElevationBelowMSL(){let t=0;return this._visibleDemTiles.filter((t=>t.dem)).forEach((e=>{t=Math.min(t,e.dem.tree.minimums[0])})),0===t?t:(t-30)*this._exaggeration}raycast(t,e,n){if(!this._visibleDemTiles)return null;const r=this._visibleDemTiles.filter((t=>t.dem)).map((r=>{const i=r.tileID,o=1<<i.overscaledZ,{x:a,y:s}=i.canonical,l=a/o,c=(a+1)/o,u=s/o,d=(s+1)/o;return{minx:l,miny:u,maxx:c,maxy:d,t:r.dem.tree.raycastRoot(l,u,c,d,t,e,n),tile:r}}));r.sort(((t,e)=>(null!==t.t?t.t:Number.MAX_VALUE)-(null!==e.t?e.t:Number.MAX_VALUE)));for(const i of r){if(null==i.t)return null;const r=i.tile.dem.tree.raycast(i.minx,i.miny,i.maxx,i.maxy,t,e,n);if(null!=r)return r}return null}_createFBO(){const e=this.painter.context,n=e.gl,r=this.drapeBufferSize;e.activeTexture.set(n.TEXTURE0);const i=new t.Texture(e,{width:r[0],height:r[1],data:null},n.RGBA);i.bind(n.LINEAR,n.CLAMP_TO_EDGE);const o=e.createFramebuffer(r[0],r[1],!1);return o.colorAttachment.set(i.texture),o.depthAttachment=new Mt(e,o.framebuffer),void 0===this._sharedDepthStencil?(this._sharedDepthStencil=e.createRenderbuffer(e.gl.DEPTH_STENCIL,r[0],r[1]),this._stencilRef=0,o.depthAttachment.set(this._sharedDepthStencil),e.clear({stencil:0})):o.depthAttachment.set(this._sharedDepthStencil),e.extTextureFilterAnisotropic&&!e.extTextureFilterAnisotropicForceOff&&n.texParameterf(n.TEXTURE_2D,e.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,e.extTextureFilterAnisotropicMax),{fb:o,tex:i,dirty:!1}}_initFBOPool(){for(;this.pool.length<Math.min(5,this.proxyCoords.length);)this.pool.push(this._createFBO())}_shouldDisableRenderCache(){if(this._style.light&&this._style.light.hasTransition())return!0;for(const t in this._style._sourceCaches)if(this._style._sourceCaches[t].hasTransition())return!0;return this._style.order.some((t=>{const e=this._style._layers[t],n=e.isHidden(this.painter.transform.zoom),r=e.getCrossfadeParameters(),i=!!r&&1!==r.t,o=e.hasTransition();return"custom"!==e.type&&!n&&(i||o)}))}_clearRasterFadeFromRenderCache(){let t=!1;for(const e in this._style._sourceCaches)if(this._style._sourceCaches[e]._source instanceof Tt){t=!0;break}if(t)for(let t=0;t<this._style.order.length;++t){const e=this._style._layers[this._style.order[t]],n=e.isHidden(this.painter.transform.zoom),r=this._style._getLayerSourceCache(e);if("raster"!==e.type||n||!r)continue;const i=e.paint.get("raster-fade-duration");for(const t of this.proxyCoords){const e=this.proxyToSource[t.key][r.id];if(e)for(const t of e){const e=En(r.getTile(t),r.findLoadedParent(t,0),r,this.painter.transform,i);(1!==e.opacity||0!==e.mix)&&this._clearRenderCacheForTile(r.id,t)}}}}_setupDrapedRenderBatches(){const t=this._style.order,e=t.length;if(0===e)return;const n=[];let r,i=0,o=this._style._layers[t[i]];for(;!this._style.isLayerDraped(o)&&o.isHidden(this.painter.transform.zoom)&&++i<e;)o=this._style._layers[t[i]];for(;i<e;++i){const e=this._style._layers[t[i]];e.isHidden(this.painter.transform.zoom)||(this._style.isLayerDraped(e)?void 0===r&&(r=i):void 0!==r&&(n.push({start:r,end:i-1}),r=void 0))}void 0!==r&&n.push({start:r,end:i-1}),this._drapedRenderBatches=n}_setupRenderCache(t){const e=this.proxySourceCache;if(this._shouldDisableRenderCache()||this._invalidateRenderCache){if(this._invalidateRenderCache=!1,e.renderCache.length>e.renderCachePool.length){const t=Object.values(e.proxyCachedFBO);e.proxyCachedFBO={};for(let n=0;n<t.length;++n){const r=Object.values(t[n]);e.renderCachePool.push(...r)}}return}this._clearRasterFadeFromRenderCache();const n=this.proxyCoords,r=this._tilesDirty;for(let i=n.length-1;i>=0;i--){const o=n[i];if(e.getTileByID(o.key),void 0!==e.proxyCachedFBO[o.key]){const n=t[o.key],i=this.proxyToSource[o.key];let a=0;for(const t in i){const e=i[t],o=n[t];if(!o||o.length!==e.length||e.some(((e,n)=>e!==o[n]||r[t]&&r[t].hasOwnProperty(e.key)))){a=-1;break}++a}for(const t in e.proxyCachedFBO[o.key])e.renderCache[e.proxyCachedFBO[o.key][t]].dirty=a<0||a!==Object.values(n).length}}const i=[...this._drapedRenderBatches];i.sort(((t,e)=>e.end-e.start-(t.end-t.start)));for(const t of i)for(const r of n){if(e.proxyCachedFBO[r.key])continue;let n=e.renderCachePool.pop();void 0===n&&e.renderCache.length<50&&(n=e.renderCache.length,e.renderCache.push(this._createFBO())),void 0!==n&&(e.proxyCachedFBO[r.key]={},e.proxyCachedFBO[r.key][t.start]=n,e.renderCache[n].dirty=!0)}this._tilesDirty={}}_setupStencil(t,e,n,r){if(!r||!this._sourceTilesOverlap[r.id])return void(this._overlapStencilType&&(this._overlapStencilType=!1));const i=this.painter.context,o=i.gl;if(e.length<=1)return void(this._overlapStencilType=!1);let a;if(n.isTileClipped())a=e.length,this._overlapStencilMode.test={func:o.EQUAL,mask:255},this._overlapStencilType="Clip";else{if(!(e[0].overscaledZ>e[e.length-1].overscaledZ))return void(this._overlapStencilType=!1);a=1,this._overlapStencilMode.test={func:o.GREATER,mask:255},this._overlapStencilType="Mask"}this._stencilRef+a>255&&(i.clear({stencil:0}),this._stencilRef=0),this._stencilRef+=a,this._overlapStencilMode.ref=this._stencilRef,n.isTileClipped()&&this._renderTileClippingMasks(e,this._overlapStencilMode.ref)}clipOrMaskOverlapStencilType(){return"Clip"===this._overlapStencilType||"Mask"===this._overlapStencilType}stencilModeForRTTOverlap(e){return this.renderingToTexture&&this._overlapStencilType?("Clip"===this._overlapStencilType&&(this._overlapStencilMode.ref=this.painter._tileClippingMaskIDs[e.key]),this._overlapStencilMode):t.StencilMode.disabled}_renderTileClippingMasks(e,n){const r=this.painter,i=this.painter.context,o=i.gl;r._tileClippingMaskIDs={},i.setColorMode(t.ColorMode.disabled),i.setDepthMode(t.DepthMode.disabled);const a=r.useProgram("clippingMask");for(const s of e){const e=r._tileClippingMaskIDs[s.key]=--n;a.draw(i,o.TRIANGLES,t.DepthMode.disabled,new t.StencilMode({func:o.ALWAYS,mask:0},e,255,o.KEEP,o.KEEP,o.REPLACE),t.ColorMode.disabled,t.CullFaceMode.disabled,Ln(s.projMatrix),"$clipping",r.tileExtentBuffer,r.quadTriangleIndexBuffer,r.tileExtentSegments)}}pointCoordinate(e){const n=this.painter.transform;if(e.x<0||e.x>n.width||e.y<0||e.y>n.height)return null;const r=[e.x,e.y,1,1];t.transformMat4$1(r,r,n.pixelMatrixInverse),t.scale$1(r,r,1/r[3]),r[0]/=n.worldSize,r[1]/=n.worldSize;const i=n._camera.position,o=t.mercatorZfromAltitude(1,n.center.lat),a=[i[0],i[1],i[2]/o,0],s=t.subtract([],r.slice(0,3),a);t.normalize(s,s);const l=this.raycast(a,s,this._exaggeration);return null!==l&&l?(t.scaleAndAdd(a,a,s,l),a[3]=a[2],a[2]*=o,a):null}drawDepth(){const e=this.painter,n=e.context,r=this.proxySourceCache,i=Math.ceil(e.width),o=Math.ceil(e.height);if(!this._depthFBO||this._depthFBO.width===i&&this._depthFBO.height===o||(this._depthFBO.destroy(),this._depthFBO=void 0,this._depthTexture=void 0),!this._depthFBO){const e=n.gl,r=n.createFramebuffer(i,o,!0);n.activeTexture.set(e.TEXTURE0);const a=new t.Texture(n,{width:i,height:o,data:null},e.RGBA);a.bind(e.NEAREST,e.CLAMP_TO_EDGE),r.colorAttachment.set(a.texture);const s=n.createRenderbuffer(n.gl.DEPTH_COMPONENT16,i,o);r.depthAttachment.set(s),this._depthFBO=r,this._depthTexture=a}n.bindFramebuffer.set(this._depthFBO.framebuffer),n.viewport.set([0,0,i,o]),function(e,n,r,i){if("globe"===e.transform.projection.name)return;const o=e.context,a=o.gl;o.clear({depth:1});const s=e.useProgram("terrainDepth"),l=new t.DepthMode(a.LESS,t.DepthMode.ReadWrite,e.depthRangeFor3D);for(const e of i){const i=r.getTile(e),c=wn(e.projMatrix,0);n.setupElevationDraw(i,s),s.draw(o,a.TRIANGLES,l,t.StencilMode.disabled,t.ColorMode.unblended,t.CullFaceMode.backCCW,c,"terrain_depth",n.gridBuffer,n.gridIndexBuffer,n.gridNoSkirtSegments)}}(e,this,r,this.proxyCoords)}_setupProxiedCoordsForOrtho(t,e,n){if(t.getSource()instanceof At)return this._setupProxiedCoordsForImageSource(t,e,n);this._findCoveringTileCache[t.id]=this._findCoveringTileCache[t.id]||{};const r=this.proxiedCoords[t.id]=[],i=this.proxyCoords;for(let e=0;e<i.length;e++){const o=i[e],a=this._findTileCoveringTileID(o,t);if(a){const e=this._createProxiedId(o,a,n[o.key]&&n[o.key][t.id]);r.push(e),this.proxyToSource[o.key][t.id]=[e]}}let o=!1;for(let i=0;i<e.length;i++){const a=t.getTile(e[i]);if(!a||!a.hasData())continue;const s=this._findTileCoveringTileID(a.tileID,this.proxySourceCache);if(s&&s.tileID.canonical.z!==a.tileID.canonical.z){const e=this.proxyToSource[s.tileID.key][t.id],i=this._createProxiedId(s.tileID,a,n[s.tileID.key]&&n[s.tileID.key][t.id]);e?e.splice(e.length-1,0,i):this.proxyToSource[s.tileID.key][t.id]=[i],r.push(i),o=!0}}this._sourceTilesOverlap[t.id]=o}_setupProxiedCoordsForImageSource(e,n,r){if(!e.getSource().loaded())return;const i=this.proxiedCoords[e.id]=[],o=this.proxyCoords,a=e.getSource(),s=new t.pointGeometry(a.tileID.x,a.tileID.y)._div(1<<a.tileID.z),l=a.coordinates.map(t.MercatorCoordinate.fromLngLat).reduce(((t,e)=>(t.min.x=Math.min(t.min.x,e.x-s.x),t.min.y=Math.min(t.min.y,e.y-s.y),t.max.x=Math.max(t.max.x,e.x-s.x),t.max.y=Math.max(t.max.y,e.y-s.y),t)),{min:new t.pointGeometry(Number.MAX_VALUE,Number.MAX_VALUE),max:new t.pointGeometry(-Number.MAX_VALUE,-Number.MAX_VALUE)}),c=(e,n)=>{const r=e.wrap+e.canonical.x/(1<<e.canonical.z),i=e.canonical.y/(1<<e.canonical.z),o=t.EXTENT/(1<<e.canonical.z),a=n.wrap+n.canonical.x/(1<<n.canonical.z),s=n.canonical.y/(1<<n.canonical.z);return r+o<a+l.min.x||r>a+l.max.x||i+o<s+l.min.y||i>s+l.max.y};for(let t=0;t<o.length;t++){const a=o[t];for(let t=0;t<n.length;t++){const o=e.getTile(n[t]);if(!o||!o.hasData())continue;if(c(a,o.tileID))continue;const s=this._createProxiedId(a,o,r[a.key]&&r[a.key][e.id]),l=this.proxyToSource[a.key][e.id];l?l.push(s):this.proxyToSource[a.key][e.id]=[s],i.push(s)}}}_createProxiedId(e,n,r){let i=this.orthoMatrix;if(r){const t=r.find((t=>t.key===n.tileID.key));if(t)return t}if(n.tileID.key!==e.key){const r=e.canonical.z-n.tileID.canonical.z;let o,a,s;i=t.create();const l=n.tileID.wrap-e.wrap<<e.overscaledZ;r>0?(o=t.EXTENT>>r,a=o*((n.tileID.canonical.x<<r)-e.canonical.x+l),s=o*((n.tileID.canonical.y<<r)-e.canonical.y)):(o=t.EXTENT<<-r,a=t.EXTENT*(n.tileID.canonical.x-(e.canonical.x+l<<-r)),s=t.EXTENT*(n.tileID.canonical.y-(e.canonical.y<<-r))),t.ortho(i,0,o,0,o,0,1),t.translate(i,i,[a,s,0])}return new On(n.tileID,e.key,i)}
2_findTileCoveringTileID(e,n){let r=n.getTile(e);if(r&&r.hasData())return r;const i=this._findCoveringTileCache[n.id],o=i[e.key];if(r=o?n.getTileByID(o):null,r&&r.hasData()||null===o)return r;let a=r?r.tileID:e,s=a.overscaledZ;const l=n.getSource().minzoom,c=[];if(!o){const i=n.getSource().maxzoom;if(e.canonical.z>=i){const r=e.canonical.z-i;n.getSource().reparseOverscaled?(s=Math.max(e.canonical.z+2,n.transform.tileZoom),a=new t.OverscaledTileID(s,e.wrap,i,e.canonical.x>>r,e.canonical.y>>r)):0!==r&&(s=i,a=new t.OverscaledTileID(s,e.wrap,i,e.canonical.x>>r,e.canonical.y>>r))}a.key!==e.key&&(c.push(a.key),r=n.getTile(a))}const u=t=>{c.forEach((e=>{i[e]=t})),c.length=0};for(s-=1;s>=l&&(!r||!r.hasData());s--){r&&u(r.tileID.key);const t=a.calculateScaledKey(s);if(r=n.getTileByID(t),r&&r.hasData())break;const e=i[t];if(null===e)break;void 0===e?c.push(t):r=n.getTileByID(e)}return u(r?r.tileID.key:null),r&&r.hasData()?r:null}findDEMTileFor(t){return this.enabled?this._findTileCoveringTileID(t,this.sourceCache):null}prepareDrawTile(){this.renderedToTile=!0}_clearRenderCacheForTile(t,e){let n=this._tilesDirty[t];n||(n=this._tilesDirty[t]={}),n[e.key]=!0}getWirefameBuffer(){if(!this.wireframeSegments){const e=function(e){let n=0;const r=new t.StructArrayLayout2ui4,i=131;for(let t=1;t<129;t++){for(let e=1;e<129;e++)n=t*i+e,r.emplaceBack(n,n+1),r.emplaceBack(n,n+i),r.emplaceBack(n+1,n+i),128===t&&r.emplaceBack(n+i,n+i+1);r.emplaceBack(n+1,n+1+i)}return r}();this.wireframeIndexBuffer=this.painter.context.createIndexBuffer(e),this.wireframeSegments=t.SegmentVector.simpleSegment(0,0,this.gridBuffer.length,e.length)}return[this.wireframeIndexBuffer,this.wireframeSegments]}}class Pn{static cacheKey(t,e,n,r){let i=`${e}${r?r.cacheKey:""}`;for(const e of n)t.usedDefines.includes(e)&&(i+=`/${e}`);return i}constructor(e,n,r,i,o,a){const s=e.gl;this.program=s.createProgram();const l=function(t){const e=[];for(let n=0;n<t.length;n++){if(null===t[n])continue;const r=t[n].split(" ");e.push(r.pop())}return e}(r.staticAttributes),c=i?i.getBinderAttributes():[],u=l.concat(c);let d=i?i.defines():[];d=d.concat(a.map((t=>`#define ${t}`)));const h=d.concat(e.extStandardDerivatives?"#extension GL_OES_standard_derivatives : enable\n".concat(hn):hn,hn,dn,un.fragmentSource,ln.fragmentSource,r.fragmentSource).join("\n"),f=d.concat("\n#ifdef GL_ES\nprecision highp float;\n#else\n\n#if !defined(lowp)\n#define lowp\n#endif\n\n#if !defined(mediump)\n#define mediump\n#endif\n\n#if !defined(highp)\n#define highp\n#endif\n\n#endif",dn,un.vertexSource,ln.vertexSource,sn.vertexSource,r.vertexSource).join("\n"),p=s.createShader(s.FRAGMENT_SHADER);if(s.isContextLost())return void(this.failedToCreate=!0);s.shaderSource(p,h),s.compileShader(p),s.attachShader(this.program,p);const m=s.createShader(s.VERTEX_SHADER);if(s.isContextLost())this.failedToCreate=!0;else{s.shaderSource(m,f),s.compileShader(m),s.attachShader(this.program,m),this.attributes={},this.numAttributes=u.length;for(let t=0;t<this.numAttributes;t++)u[t]&&(s.bindAttribLocation(this.program,t,u[t]),this.attributes[u[t]]=t);s.linkProgram(this.program),s.deleteShader(m),s.deleteShader(p),this.fixedUniforms=o(e),this.binderUniforms=i?i.getUniforms(e):[],a.includes("TERRAIN")&&(this.terrainUniforms=(e=>({u_dem:new t.Uniform1i(e),u_dem_prev:new t.Uniform1i(e),u_dem_unpack:new t.Uniform4f(e),u_dem_tl:new t.Uniform2f(e),u_dem_scale:new t.Uniform1f(e),u_dem_tl_prev:new t.Uniform2f(e),u_dem_scale_prev:new t.Uniform1f(e),u_dem_size:new t.Uniform1f(e),u_dem_lerp:new t.Uniform1f(e),u_exaggeration:new t.Uniform1f(e),u_depth:new t.Uniform1i(e),u_depth_size_inv:new t.Uniform2f(e),u_meter_to_dem:new t.Uniform1f(e),u_label_plane_matrix_inv:new t.UniformMatrix4f(e)}))(e)),a.includes("GLOBE")&&(this.globeUniforms=(e=>({u_tile_tl_up:new t.Uniform3f(e),u_tile_tr_up:new t.Uniform3f(e),u_tile_br_up:new t.Uniform3f(e),u_tile_bl_up:new t.Uniform3f(e),u_tile_up_scale:new t.Uniform1f(e)}))(e)),a.includes("FOG")&&(this.fogUniforms=(e=>({u_fog_matrix:new t.UniformMatrix4f(e),u_fog_range:new t.Uniform2f(e),u_fog_color:new t.Uniform4f(e),u_fog_horizon_blend:new t.Uniform1f(e),u_fog_temporal_offset:new t.Uniform1f(e),u_frustum_tl:new t.Uniform3f(e),u_frustum_tr:new t.Uniform3f(e),u_frustum_br:new t.Uniform3f(e),u_frustum_bl:new t.Uniform3f(e),u_globe_pos:new t.Uniform3f(e),u_globe_radius:new t.Uniform1f(e),u_globe_transition:new t.Uniform1f(e),u_is_globe:new t.Uniform1i(e),u_viewport:new t.Uniform2f(e)}))(e))}}setTerrainUniformValues(t,e){if(!this.terrainUniforms)return;const n=this.terrainUniforms;if(!this.failedToCreate){t.program.set(this.program);for(const t in e)n[t]&&n[t].set(this.program,t,e[t])}}setGlobeUniformValues(t,e){if(!this.globeUniforms)return;const n=this.globeUniforms;if(!this.failedToCreate){t.program.set(this.program);for(const t in e)n[t]&&n[t].set(this.program,t,e[t])}}setFogUniformValues(t,e){if(!this.fogUniforms)return;const n=this.fogUniforms;if(!this.failedToCreate){t.program.set(this.program);for(const t in e)n[t].set(this.program,t,e[t])}}draw(t,e,n,r,i,o,a,s,l,c,u,d,h,f,p){const m=t.gl;if(this.failedToCreate)return;t.program.set(this.program),t.setDepthMode(n),t.setStencilMode(r),t.setColorMode(i),t.setCullFace(o);for(const t of Object.keys(this.fixedUniforms))this.fixedUniforms[t].set(this.program,t,a[t]);f&&f.setUniforms(this.program,t,this.binderUniforms,d,{zoom:h});const _={[m.LINES]:2,[m.TRIANGLES]:3,[m.LINE_STRIP]:1}[e];for(const n of u.get()){const r=n.vaos||(n.vaos={});(r[s]||(r[s]=new _n)).bind(t,this,l,f?f.getPaintVertexBuffers():[],c,n.vertexOffset,p||[]),m.drawElements(e,n.primitiveLength*_,m.UNSIGNED_SHORT,n.primitiveOffset*_*2)}}}function jn(t,e,n){const r=1/z(n,1,e.transform.tileZoom),i=Math.pow(2,n.tileID.overscaledZ
vendor: 78,259 bytes, line 2
2),o=n.tileSize*Math.pow(2,e.transform.tileZoom)/i,a=o*(n.tileID.canonical.x+n.tileID.wrap*i),s=o*n.tileID.canonical.y;return{u_image:0,u_texsize:n.imageAtlasTexture.size,u_scale:[r,t.fromScale,t.toScale],u_fade:t.t,u_pixel_coord_upper:[a>>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}const In=t.create(),Yn=(e,n,r,i,o,a,s,l,c,u,d)=>{const h=n.style.light,f=h.properties.get("position"),p=[f.x,f.y,f.z],m=t.create$1();"viewport"===h.properties.get("anchor")&&(t.fromRotation(m,-n.transform.angle),t.transformMat3(p,p,m));const _=h.properties.get("color"),v=n.transform,g={u_matrix:e,u_lightpos:p,u_lightintensity:h.properties.get("intensity"),u_lightcolor:[_.r,_.g,_.b],u_vertical_gradient:+r,u_opacity:i,u_tile_id:[0,0,0],u_zoom_transition:0,u_inv_rot_matrix:In,u_merc_center:[0,0],u_up_dir:[0,0,0],u_height_lift:0,u_ao:o,u_edge_radius:a};return"globe"===v.projection.name&&(g.u_tile_id=[s.canonical.x,s.canonical.y,1<<s.canonical.z],g.u_zoom_transition=c,g.u_inv_rot_matrix=d,g.u_merc_center=u,g.u_up_dir=v.projection.upVector(new t.CanonicalTileID(0,0,0),u[0]*t.EXTENT,u[1]*t.EXTENT),g.u_height_lift=l),g},Rn=(e,n,r,i,o,a,s,l,c,u,d,h,f)=>{const p=Yn(e,n,r,i,o,a,s,u,d,h,f),m={u_height_factor:-Math.pow(2,s.overscaledZ)/c.tileSize/8};return t.extend(p,jn(l,n,c),m)},Fn=t=>({u_matrix:t}),Bn=(e,n,r,i)=>t.extend(Fn(e),jn(r,n,i)),Nn=(t,e)=>({u_matrix:t,u_world:e}),$n=(e,n,r,i,o)=>t.extend(Bn(e,n,r,i),{u_world:o}),Zn=t.create(),Hn=(e,n,r,i,o,a)=>{const s=e.transform,l="globe"===s.projection.name;let c;if("map"===a.paint.get("circle-pitch-alignment"))if(l){const e=t.globePixelsToTileUnits(s.zoom,n.canonical)*s._pixelsPerMercatorPixel;c=Float32Array.from([e,0,0,e])}else c=s.calculatePixelsToTileUnitsMatrix(r);else c=new Float32Array([s.pixelsToGLUnits[0],0,0,s.pixelsToGLUnits[1]]);const u={u_camera_to_center_distance:s.cameraToCenterDistance,u_matrix:e.translatePosMatrix(n.projMatrix,r,a.paint.get("circle-translate"),a.paint.get("circle-translate-anchor")),u_device_pixel_ratio:t.exported.devicePixelRatio,u_extrude_scale:c,u_inv_rot_matrix:Zn,u_merc_center:[0,0],u_tile_id:[0,0,0],u_zoom_transition:0,u_up_dir:[0,0,0]};if(l){u.u_inv_rot_matrix=i,u.u_merc_center=o,u.u_tile_id=[n.canonical.x,n.canonical.y,1<<n.canonical.z],u.u_zoom_transition=t.globeToMercatorTransition(s.zoom);const e=o[0]*t.EXTENT,r=o[1]*t.EXTENT;u.u_up_dir=s.projection.upVector(new t.CanonicalTileID(0,0,0),e,r)}return u},Vn=t=>{const e=[];return"map"===t.paint.get("circle-pitch-alignment")&&e.push("PITCH_WITH_MAP"),"map"===t.paint.get("circle-pitch-scale")&&e.push("SCALE_WITH_MAP"),e},Un=(e,n,r,i)=>{const o=t.EXTENT/r.tileSize;return{u_matrix:e,u_camera_to_center_distance:n.getCameraToCenterDistance(i),u_extrude_scale:[n.pixelsToGLUnits[0]/o,n.pixelsToGLUnits[1]/o]}},Wn=(t,e,n=1)=>({u_matrix:t,u_color:e,u_overlay:0,u_overlay_scale:n}),Gn=t.create(),qn=(e,n,r,i,o,a,s)=>{const l=e.transform,c="globe"===l.projection.name,u=c?t.globePixelsToTileUnits(l.zoom,n.canonical)*l._pixelsPerMercatorPixel:z(r,1,a),d={u_matrix:n.projMatrix,u_extrude_scale:u,u_intensity:s,u_inv_rot_matrix:Gn,u_merc_center:[0,0],u_tile_id:[0,0,0],u_zoom_transition:0,u_up_dir:[0,0,0]};if(c){d.u_inv_rot_matrix=i,d.u_merc_center=o,d.u_tile_id=[n.canonical.x,n.canonical.y,1<<n.canonical.z],d.u_zoom_transition=t.globeToMercatorTransition(l.zoom);const e=o[0]*t.EXTENT,r=o[1]*t.EXTENT;d.u_up_dir=l.projection.upVector(new t.CanonicalTileID(0,0,0),e,r)}return d},Xn=(t,e,n,r,i,o,a,s)=>{const l=t.transform,c=l.calculatePixelsToTileUnitsMatrix(e),u={u_matrix:Qn(t,e,n,i),u_pixels_to_tile_units:c,u_device_pixel_ratio:a,u_units_to_pixels:[1/l.pixelsToGLUnits[0],1/l.pixelsToGLUnits[1]],u_dash_image:0,u_gradient_image:1,u_image_height:o,u_texsize:[0,0],u_scale:[0,0,0],u_mix:0,u_alpha_discard_threshold:0,u_trim_offset:s};if(tr(n)){const n=Kn(e,t.transform);u.u_texsize=e.lineAtlasTexture.size,u.u_scale=[n,r.fromScale,r.toScale],u.u_mix=r.t}return u},Jn=(t,e,n,r,i,o)=>{const a=t.transform,s=Kn(e,a);return{u_matrix:Qn(t,e,n,i),u_texsize:e.imageAtlasTexture.size,u_pixels_to_tile_units:a.calculatePixelsToTileUnitsMatrix(e),u_device_pixel_ratio:o,u_image:0,u_scale:[s,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/a.pixelsToGLUnits[0],1/a.pixelsToGLUnits[1]],u_alpha_discard_threshold:0}};function Kn(t,e){return 1/z(t,1,e.tileZoom)}function Qn(t,e,n,r){return t.translatePosMatrix(r||e.tileID.projMatrix,e,n.paint.get("line-translate"),n.paint.get("line-translate-anchor"))}function tr(t){const e=t.paint.get("line-dasharray").value;return e.value||"constant"!==e.kind}const er=(t,e,n,r,i,o)=>{return{u_matrix:t,u_tl_parent:e,u_scale_parent:n,u_fade_t:r.mix,u_opacity:r.opacity*i.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get("raster-brightness-min"),u_brightness_high:i.paint.get("raster-brightness-max"),u_saturation_factor:(s=i.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(a=i.paint.get("raster-contrast"),a>0?1/(1-a):1+a),u_spin_weights:nr(i.paint.get("raster-hue-rotate")),u_perspective_transform:o};var a,s};function nr(t){t*=Math.PI/180;const e=Math.sin(t),n=Math.cos(t);return[(2*n+1)/3,(-Math.sqrt(3)*e-n+1)/3,(Math.sqrt(3)*e-n+1)/3]}const rr=t.create(),ir=(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_)=>{const v=o.transform,g={u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:n?n.uSizeT:0,u_size:n?n.uSize:0,u_camera_to_center_distance:v.cameraToCenterDistance,u_rotate_symbol:+r,u_aspect_ratio:v.width/v.height,u_fade_change:o.options.fadeDuration?o.symbolFadeChange:1,u_matrix:a,u_label_plane_matrix:s,u_coord_matrix:l,u_is_text:+c,u_pitch_with_map:+i,u_texsize:u,u_texture:0,u_tile_id:[0,0,0],u_zoom_transition:0,u_inv_rot_matrix:rr,u_merc_center:[0,0],u_camera_forward:[0,0,0],u_ecef_origin:[0,0,0],u_tile_matrix:rr,u_up_vector:[0,-1,0]};return"globe"===_.name&&(g.u_tile_id=[d.canonical.x,d.canonical.y,1<<d.canonical.z],g.u_zoom_transition=h,g.u_inv_rot_matrix=p,g.u_merc_center=f,g.u_camera_forward=v._camera.forward(),g.u_ecef_origin=t.globeECEFOrigin(v.globeMatrix,d.toUnwrapped()),g.u_tile_matrix=Float32Array.from(v.globeMatrix),g.u_up_vector=m),g},or=(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_,v)=>t.extend(ir(e,n,r,i,o,a,s,l,c,u,h,f,p,m,_,v),{u_gamma_scale:i?o.transform.cameraToCenterDistance*Math.cos(o.terrain?0:o.transform._pitch):1,u_device_pixel_ratio:t.exported.devicePixelRatio,u_is_halo:+d}),ar=(e,n,r,i,o,a,s,l,c,u,d,h,f,p,m,_)=>t.extend(or(e,n,r,i,o,a,s,l,!0,c,!0,d,h,f,p,m,_),{u_texsize_icon:u,u_texture_icon:1}),sr=(t,e,n)=>({u_matrix:t,u_opacity:e,u_color:n}),lr=(e,n,r,i,o,a)=>t.extend(function(t,e,n,r){const i=n.imageManager.getPattern(t.from.toString()),o=n.imageManager.getPattern(t.to.toString()),{width:a,height:s}=n.imageManager.getPixelSize(),l=Math.pow(2,r.tileID.overscaledZ),c=r.tileSize*Math.pow(2,n.transform.tileZoom)/l,u=c*(r.tileID.canonical.x+r.tileID.wrap*l),d=c*r.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:i.tl,u_pattern_br_a:i.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[a,s],u_mix:e.t,u_pattern_size_a:i.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/z(r,1,n.transform.tileZoom),u_pixel_coord_upper:[u>>16,d>>16],u_pixel_coord_lower:[65535&u,65535&d]}}(i,a,r,o),{u_matrix:e,u_opacity:n}),cr={fillExtrusion:e=>({u_matrix:new t.UniformMatrix4f(e),u_lightpos:new t.Uniform3f(e),u_lightintensity:new t.Uniform1f(e),u_lightcolor:new t.Uniform3f(e),u_vertical_gradient:new t.Uniform1f(e),u_opacity:new t.Uniform1f(e),u_edge_radius:new t.Uniform1f(e),u_ao:new t.Uniform2f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_up_dir:new t.Uniform3f(e),u_height_lift:new t.Uniform1f(e)}),fillExtrusionPattern:e=>({u_matrix:new t.UniformMatrix4f(e),u_lightpos:new t.Uniform3f(e),u_lightintensity:new t.Uniform1f(e),u_lightcolor:new t.Uniform3f(e),u_vertical_gradient:new t.Uniform1f(e),u_height_factor:new t.Uniform1f(e),u_edge_radius:new t.Uniform1f(e),u_ao:new t.Uniform2f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_up_dir:new t.Uniform3f(e),u_height_lift:new t.Uniform1f(e),u_image:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_pixel_coord_upper:new t.Uniform2f(e),u_pixel_coord_lower:new t.Uniform2f(e),u_scale:new t.Uniform3f(e),u_fade:new t.Uniform1f(e),u_opacity:new t.Uniform1f(e)}),fill:e=>({u_matrix:new t.UniformMatrix4f(e)}),fillPattern:e=>({u_matrix:new t.UniformMatrix4f(e),u_image:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_pixel_coord_upper:new t.Uniform2f(e),u_pixel_coord_lower:new t.Uniform2f(e),u_scale:new t.Uniform3f(e),u_fade:new t.Uniform1f(e)}),fillOutline:e=>({u_matrix:new t.UniformMatrix4f(e),u_world:new t.Uniform2f(e)}),fillOutlinePattern:e=>({u_matrix:new t.UniformMatrix4f(e),u_world:new t.Uniform2f(e),u_image:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_pixel_coord_upper:new t.Uniform2f(e),u_pixel_coord_lower:new t.Uniform2f(e),u_scale:new t.Uniform3f(e),u_fade:new t.Uniform1f(e)}),circle:e=>({u_camera_to_center_distance:new t.Uniform1f(e),u_extrude_scale:new t.UniformMatrix2f(e),u_device_pixel_ratio:new t.Uniform1f(e),u_matrix:new t.UniformMatrix4f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_up_dir:new t.Uniform3f(e)}),collisionBox:e=>({u_matrix:new t.UniformMatrix4f(e),u_camera_to_center_distance:new t.Uniform1f(e),u_extrude_scale:new t.Uniform2f(e)}),collisionCircle:e=>({u_matrix:new t.UniformMatrix4f(e),u_inv_matrix:new t.UniformMatrix4f(e),u_camera_to_center_distance:new t.Uniform1f(e),u_viewport_size:new t.Uniform2f(e)}),debug:e=>({u_color:new t.UniformColor(e),u_matrix:new t.UniformMatrix4f(e),u_overlay:new t.Uniform1i(e),u_overlay_scale:new t.Uniform1f(e)}),clippingMask:e=>({u_matrix:new t.UniformMatrix4f(e)}),heatmap:e=>({u_extrude_scale:new t.Uniform1f(e),u_intensity:new t.Uniform1f(e),u_matrix:new t.UniformMatrix4f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_up_dir:new t.Uniform3f(e)}),heatmapTexture:e=>({u_image:new t.Uniform1i(e),u_color_ramp:new t.Uniform1i(e),u_opacity:new t.Uniform1f(e)}),hillshade:e=>({u_matrix:new t.UniformMatrix4f(e),u_image:new t.Uniform1i(e),u_latrange:new t.Uniform2f(e),u_light:new t.Uniform2f(e),u_shadow:new t.UniformColor(e),u_highlight:new t.UniformColor(e),u_accent:new t.UniformColor(e)}),hillshadePrepare:e=>({u_matrix:new t.UniformMatrix4f(e),u_image:new t.Uniform1i(e),u_dimension:new t.Uniform2f(e),u_zoom:new t.Uniform1f(e),u_unpack:new t.Uniform4f(e)}),line:e=>({u_matrix:new t.UniformMatrix4f(e),u_pixels_to_tile_units:new t.UniformMatrix2f(e),u_device_pixel_ratio:new t.Uniform1f(e),u_units_to_pixels:new t.Uniform2f(e),u_dash_image:new t.Uniform1i(e),u_gradient_image:new t.Uniform1i(e),u_image_height:new t.Uniform1f(e),u_texsize:new t.Uniform2f(e),u_scale:new t.Uniform3f(e),u_mix:new t.Uniform1f(e),u_alpha_discard_threshold:new t.Uniform1f(e),u_trim_offset:new t.Uniform2f(e)}),linePattern:e=>({u_matrix:new t.UniformMatrix4f(e),u_texsize:new t.Uniform2f(e),u_pixels_to_tile_units:new t.UniformMatrix2f(e),u_device_pixel_ratio:new t.Uniform1f(e),u_image:new t.Uniform1i(e),u_units_to_pixels:new t.Uniform2f(e),u_scale:new t.Uniform3f(e),u_fade:new t.Uniform1f(e),u_alpha_discard_threshold:new t.Uniform1f(e)}),raster:e=>({u_matrix:new t.UniformMatrix4f(e),u_tl_parent:new t.Uniform2f(e),u_scale_parent:new t.Uniform1f(e),u_fade_t:new t.Uniform1f(e),u_opacity:new t.Uniform1f(e),u_image0:new t.Uniform1i(e),u_image1:new t.Uniform1i(e),u_brightness_low:new t.Uniform1f(e),u_brightness_high:new t.Uniform1f(e),u_saturation_factor:new t.Uniform1f(e),u_contrast_factor:new t.Uniform1f(e),u_spin_weights:new t.Uniform3f(e),u_perspective_transform:new t.Uniform2f(e)}),symbolIcon:e=>({u_is_size_zoom_constant:new t.Uniform1i(e),u_is_size_feature_constant:new t.Uniform1i(e),u_size_t:new t.Uniform1f(e),u_size:new t.Uniform1f(e),u_camera_to_center_distance:new t.Uniform1f(e),u_rotate_symbol:new t.Uniform1i(e),u_aspect_ratio:new t.Uniform1f(e),u_fade_change:new t.Uniform1f(e),u_matrix:new t.UniformMatrix4f(e),u_label_plane_matrix:new t.UniformMatrix4f(e),u_coord_matrix:new t.UniformMatrix4f(e),u_is_text:new t.Uniform1i(e),u_pitch_with_map:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_camera_forward:new t.Uniform3f(e),u_tile_matrix:new t.UniformMatrix4f(e),u_up_vector:new t.Uniform3f(e),u_ecef_origin:new t.Uniform3f(e),u_texture:new t.Uniform1i(e)}),symbolSDF:e=>({u_is_size_zoom_constant:new t.Uniform1i(e),u_is_size_feature_constant:new t.Uniform1i(e),u_size_t:new t.Uniform1f(e),u_size:new t.Uniform1f(e),u_camera_to_center_distance:new t.Uniform1f(e),u_rotate_symbol:new t.Uniform1i(e),u_aspect_ratio:new t.Uniform1f(e),u_fade_change:new t.Uniform1f(e),u_matrix:new t.UniformMatrix4f(e),u_label_plane_matrix:new t.UniformMatrix4f(e),u_coord_matrix:new t.UniformMatrix4f(e),u_is_text:new t.Uniform1i(e),u_pitch_with_map:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_texture:new t.Uniform1i(e),u_gamma_scale:new t.Uniform1f(e),u_device_pixel_ratio:new t.Uniform1f(e),u_tile_id:new t.Uniform3f(e),u_zoom_transition:new t.Uniform1f(e),u_inv_rot_matrix:new t.UniformMatrix4f(e),u_merc_center:new t.Uniform2f(e),u_camera_forward:new t.Uniform3f(e),u_tile_matrix:new t.UniformMatrix4f(e),u_up_vector:new t.Uniform3f(e),u_ecef_origin:new t.Uniform3f(e),u_is_halo:new t.Uniform1i(e)}),symbolTextAndIcon:e=>({u_is_size_zoom_constant:new t.Uniform1i(e),u_is_size_feature_constant:new t.Uniform1i(e),u_size_t:new t.Uniform1f(e),u_size:new t.Uniform1f(e),u_camera_to_center_distance:new t.Uniform1f(e),u_rotate_symbol:new t.Uniform1i(e),u_aspect_ratio:new t.Uniform1f(e),u_fade_change:new t.Uniform1f(e),u_matrix:new t.UniformMatrix4f(e),u_label_plane_matrix:new t.UniformMatrix4f(e),u_coord_matrix:new t.UniformMatrix4f(e),u_is_text:new t.Uniform1i(e),u_pitch_with_map:new t.Uniform1i(e),u_texsize:new t.Uniform2f(e),u_texsize_icon:new t.Uniform2f(e),u_texture:new t.Uniform1i(e),u_texture_icon:new t.Uniform1i(e),u_gamma_scale:new t.Uniform1f(e),u_device_pixel_ratio:new t.Uniform1f(e),u_is_halo:new t.Uniform1i(e)}),background:e=>({u_matrix:new t.UniformMatrix4f(e),u_opacity:new t.Uniform1f(e),u_color:new t.UniformColor(e)}),backgroundPattern:e=>({u_matrix:new t.UniformMatrix4f(e),u_opacity:new t.Uniform1f(e),u_image:new t.Uniform1i(e),u_pattern_tl_a:new t.Uniform2f(e),u_pattern_br_a:new t.Uniform2f(e),u_pattern_tl_b:new t.Uniform2f(e),u_pattern_br_b:new t.Uniform2f(e),u_texsize:new t.Uniform2f(e),u_mix:new t.Uniform1f(e),u_pattern_size_a:new t.Uniform2f(e),u_pattern_size_b:new t.Uniform2f(e),u_scale_a:new t.Uniform1f(e),u_scale_b:new t.Uniform1f(e),u_pixel_coord_upper:new t.Uniform2f(e),u_pixel_coord_lower:new t.Uniform2f(e),u_tile_units_to_pixels:new t.Uniform1f(e)}),terrainRaster:xn,terrainDepth:xn,skybox:e=>({u_matrix:new t.UniformMatrix4f(e),u_sun_direction:new t.Uniform3f(e),u_cubemap:new t.Uniform1i(e),u_opacity:new t.Uniform1f(e),u_temporal_offset:new t.Uniform1f(e)}),skyboxGradient:e=>({u_matrix:new t.UniformMatrix4f(e),u_color_ramp:new t.Uniform1i(e),u_center_direction:new t.Uniform3f(e),u_radius:new t.Uniform1f(e),u_opacity:new t.Uniform1f(e),u_temporal_offset:new t.Uniform1f(e)}),skyboxCapture:e=>({u_matrix_3f:new t.UniformMatrix3f(e),u_sun_direction:new t.Uniform3f(e),u_sun_intensity:new t.Uniform1f(e),u_color_tint_r:new t.Uniform4f(e),u_color_tint_m:new t.Uniform4f(e),u_luminance:new t.Uniform1f(e)}),globeRaster:e=>({u_proj_matrix:new t.UniformMatrix4f(e),u_globe_matrix:new t.UniformMatrix4f(e),u_normalize_matrix:new t.UniformMatrix4f(e),u_merc_matrix:new t.UniformMatrix4f(e),u_zoom_transition:new t.Uniform1f(e),u_merc_center:new t.Uniform2f(e),u_image0:new t.Uniform1i(e),u_grid_matrix:new t.UniformMatrix3f(e),u_frustum_tl:new t.Uniform3f(e),u_frustum_tr:new t.Uniform3f(e),u_frustum_br:new t.Uniform3f(e),u_frustum_bl:new t.Uniform3f(e),u_globe_pos:new t.Uniform3f(e),u_globe_radius:new t.Uniform1f(e),u_viewport:new t.Uniform2f(e)}),globeAtmosphere:e=>({u_frustum_tl:new t.Uniform3f(e),u_frustum_tr:new t.Uniform3f(e),u_frustum_br:new t.Uniform3f(e),u_frustum_bl:new t.Uniform3f(e),u_horizon:new t.Uniform1f(e),u_transition:new t.Uniform1f(e),u_fadeout_range:new t.Uniform1f(e),u_color:new t.Uniform4f(e),u_high_color:new t.Uniform4f(e),u_space_color:new t.Uniform4f(e),u_star_intensity:new t.Uniform1f(e),u_star_density:new t.Uniform1f(e),u_star_size:new t.Uniform1f(e),u_temporal_offset:new t.Uniform1f(e),u_horizon_angle:new t.Uniform1f(e),u_rotation_matrix:new t.UniformMatrix4f(e)})};let ur;function dr(e,n,r,i,o,a,s){const l=e.context,c=l.gl,u=e.transform,d=e.useProgram("collisionBox"),h=[];let f=0,p=0;for(let m=0;m<i.length;m++){const _=i[m],v=n.getTile(_),g=v.getBucket(r);if(!g)continue;const y=xe(_,g,u);let b=y;0===o[0]&&0===o[1]||(b=e.translatePosMatrix(y,v,o,a));const x=s?g.textCollisionBox:g.iconCollisionBox,w=g.collisionCircleArray;if(w.length>0){const e=t.create(),n=b;t.mul(e,g.placementInvProjMatrix,u.glCoordMatrix),t.mul(e,e,g.placementViewportMatrix),h.push({circleArray:w,circleOffset:p,transform:n,invTransform:e,projection:g.getProjection()}),f+=w.length/4,p=f}x&&(e.terrain&&e.terrain.setupElevationDraw(v,d),d.draw(l,c.LINES,t.DepthMode.disabled,t.StencilMode.disabled,e.colorModeForRenderPass(),t.CullFaceMode.disabled,Un(b,u,v,g.getProjection()),r.id,x.layoutVertexBuffer,x.indexBuffer,x.segments,null,u.zoom,null,[x.collisionVertexBuffer,x.collisionVertexBufferExt]))}if(!s||!h.length)return;const m=e.useProgram("collisionCircle"),_=new t.StructArrayLayout2f1f2i16;_.resize(4*f),_._trim();let v=0;for(const t of h)for(let e=0;e<t.circleArray.length/4;e++){const n=4*e,r=t.circleArray[n+0],i=t.circleArray[n+1],o=t.circleArray[n+2],a=t.circleArray[n+3];_.emplace(v++,r,i,o,a,0),_.emplace(v++,r,i,o,a,1),_.emplace(v++,r,i,o,a,2),_.emplace(v++,r,i,o,a,3)}(!ur||ur.length<2*f)&&(ur=function(e){const n=2*e,r=new t.StructArrayLayout3ui6;r.resize(n),r._trim();for(let t=0;t<n;t++){const e=6*t;r.uint16[e+0]=4*t+0,r.uint16[e+1]=4*t+1,r.uint16[e+2]=4*t+2,r.uint16[e+3]=4*t+2,r.uint16[e+4]=4*t+3,r.uint16[e+5]=4*t+0}return r}(f));const g=l.createIndexBuffer(ur,!0),y=l.createVertexBuffer(_,t.collisionCircleLayout.members,!0);for(const n of h){const i={u_matrix:n.transform,u_inv_matrix:n.invTransform,u_camera_to_center_distance:(b=u).getCameraToCenterDistance(n.projection),u_viewport_size:[b.width,b.height]};m.draw(l,c.TRIANGLES,t.DepthMode.disabled,t.StencilMode.disabled,e.colorModeForRenderPass(),t.CullFaceMode.disabled,i,r.id,y,g,t.SegmentVector.simpleSegment(0,2*n.circleOffset,n.circleArray.length,n.circleArray.length/2),null,u.zoom)}var b;y.destroy(),g.destroy()}const hr=t.create();function fr(e,n,r,i,o,a){const{horizontalAlign:s,verticalAlign:l}=t.getAnchorAlignment(e),c=-(s-.5)*n,u=-(l-.5)*r,d=t.evaluateVariableOffset(e,i);return new t.pointGeometry((c/o+d[0])*a,(u/o+d[1])*a)}function pr(e,n,r,i,o,a,s,l,c,u,d){const h=e.text.placedSymbolArray,f=e.text.dynamicLayoutVertexArray,p=e.icon.dynamicLayoutVertexArray,m={},_=we(l,e.getProjection(),a),v=a.elevation,g=e.getProjection().upVectorScale(l.canonical,a.center.lat,a.worldSize);f.clear();for(let p=0;p<h.length;p++){const y=h.get(p),b=e.allowVerticalPlacement&&!y.placedOrientation,x=y.hidden||!y.crossTileID||b?null:i[y.crossTileID];if(x){const i=new t.pointGeometry(y.tileAnchorX,y.tileAnchorY),h=e.getProjection().upVector(l.canonical,i.x,i.y),p=v?v.getAtTileOffset(l,i.x,i.y):0,b=oe([y.projectedAnchorX+p*h[0]*g.metersToTile,y.projectedAnchorY+p*h[1]*g.metersToTile,y.projectedAnchorZ+p*h[2]*g.metersToTile],r?_:s),w=ae(a.getCameraToCenterDistance(e.getProjection()),b.signedDistanceFromCamera);let k=o.evaluateSizeForFeature(e.textSizeData,u,y)*w/t.ONE_EM;r&&(k*=e.tilePixelRatio/c);const{width:M,height:C,anchor:S,textOffset:T,textScale:L}=x,E=fr(S,M,C,T,L,k);let A;if(r){const t=i.add(E),{x:n,y:r,z:o}=e.getProjection().projectTilePoint(t.x,t.y,l.canonical);A=oe([n+p*h[0]*g.metersToTile,r+p*h[1]*g.metersToTile,o+p*h[2]*g.metersToTile],s).point}else{const t=n?E.rotate(-a.angle):E;A=[b.point[0]+t.x,b.point[1]+t.y,0]}const D=e.allowVerticalPlacement&&y.placedOrientation===t.WritingMode.vertical?Math.PI/2:0;for(let e=0;e<y.numGlyphs;e++)t.addDynamicAttributes(f,A[0],A[1],A[2],D);d&&y.associatedIconIndex>=0&&(m[y.associatedIconIndex]={shiftedAnchor:A,angle:D})}else _e(y.numGlyphs,f)}if(d){p.clear();const n=e.icon.placedSymbolArray;for(let e=0;e<n.length;e++){const r=n.get(e);if(r.hidden)_e(r.numGlyphs,p);else{const n=m[e];if(n)for(let e=0;e<r.numGlyphs;e++)t.addDynamicAttributes(p,n.shiftedAnchor[0],n.shiftedAnchor[1],n.shiftedAnchor[2],n.angle);else _e(r.numGlyphs,p)}}e.icon.dynamicLayoutVertexBuffer.updateData(p)}e.text.dynamicLayoutVertexBuffer.updateData(f)}function mr(t,e,n){return n.iconsInText&&e?"symbolTextAndIcon":t?"symbolSDF":"symbolIcon"}function _r(e,n,r,i,o,a,s,l,c,u,d,h){const f=e.context,p=f.gl,m=e.transform,_="map"===l,v="map"===c,g=_&&"point"!==r.layout.get("symbol-placement"),y=_&&!v&&!g,b=void 0!==r.layout.get("symbol-sort-key").constantOr(1);let x=!1;const w=e.depthModeForSublayer(0,t.DepthMode.ReadOnly),k=[t.mercatorXfromLng(m.center.lng),t.mercatorYfromLat(m.center.lat)],M=r.layout.get("text-variable-anchor"),C="globe"===m.projection.name,S=[],T=[0,-1,0];let L=T;!C&&!m.mercatorFromTransition||_||(L=function(e){const n=e._camera.getWorldToCamera(e.worldSize,1),r=t.multiply([],n,e.globeMatrix);t.invert(r,r);const i=[0,0,0],o=[0,1,0,0];return t.transformMat4$1(o,o,r),i[0]=o[0],i[1]=o[1],i[2]=o[2],t.normalize(i,i),i}(m));for(const l of i){const i=n.getTile(l),c=i.getBucket(r);if(!c)continue;if("mercator"===c.projection.name&&C)continue;const d=o?c.text:c.icon;if(!d||c.fullyClipped||!d.segments.get().length)continue;const h=d.programConfigurations.get(r.id),f=o||c.sdfIcons,w=o?c.textSizeData:c.iconSizeData,E=v||0!==m.pitch,A=t.evaluateSizeForZoom(w,m.zoom);let D,O,z,P,j=[0,0],I=null;if(o){if(O=i.glyphAtlasTexture,z=p.LINEAR,D=i.glyphAtlasTexture.size,c.iconsInText){j=i.imageAtlasTexture.size,I=i.imageAtlasTexture;const t="composite"===w.kind||"camera"===w.kind;P=E||e.options.rotating||e.options.zooming||t?p.LINEAR:p.NEAREST}}else{const t=1!==r.layout.get("icon-size").constantOr(0)||c.iconsNeedLinear;O=i.imageAtlasTexture,z=f||e.options.rotating||e.options.zooming||t||E?p.LINEAR:p.NEAREST,D=i.imageAtlasTexture.size}const Y="globe"===c.projection.name,R=Y?L:T,F=Y?t.globeToMercatorTransition(m.zoom):0,B=we(l,c.getProjection(),m),N=m.calculatePixelsToTileUnitsMatrix(i),$=ee(B,i.tileID.canonical,v,_,m,c.getProjection(),N),Z=e.terrain&&v&&g?t.invert(t.create(),$):hr,H=re(B,i.tileID.canonical,v,_,m,c.getProjection(),N),V=M&&c.hasTextData(),U="none"!==r.layout.get("icon-text-fit")&&V&&c.hasIconData();if(g){const t=m.elevation,n=t?t.getAtTileOffsetFunc(l,m.center.lat,m.worldSize,c.getProjection()):t=>[0,0,0],r=ne(B,i.tileID.canonical,v,_,m,c.getProjection(),N);le(c,B,e,o,r,H,v,u,n,l)}const W=g||o&&M||U,G=e.translatePosMatrix(B,i,a,s),q=W?hr:$,X=e.translatePosMatrix(H,i,a,s,!0),J=c.getProjection().createInversionMatrix(m,l.canonical),K=[];e.terrainRenderModeElevated()&&v&&K.push("PITCH_WITH_MAP_TERRAIN"),Y&&K.push("PROJECTION_GLOBE_VIEW"),W&&K.push("PROJECTED_POS_ON_VIEWPORT");const Q=f&&0!==r.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1);let tt;tt=f?c.iconsInText?ar(w.kind,A,y,v,e,G,q,X,D,j,l,F,k,J,R,c.getProjection()):or(w.kind,A,y,v,e,G,q,X,o,D,!0,l,F,k,J,R,c.getProjection()):ir(w.kind,A,y,v,e,G,q,X,o,D,l,F,k,J,R,c.getProjection());const et={program:e.useProgram(mr(f,o,c),h,K),buffers:d,uniformValues:tt,atlasTexture:O,atlasTextureIcon:I,atlasInterpolation:z,atlasInterpolationIcon:P,isSDF:f,hasHalo:Q,tile:i,labelPlaneMatrixInv:Z};if(b&&c.canOverlap){x=!0;const e=d.segments.get();for(const n of e)S.push({segments:new t.SegmentVector([n]),sortKey:n.sortKey,state:et})}else S.push({segments:d.segments,sortKey:0,state:et})}x&&S.sort(((t,e)=>t.sortKey-e.sortKey));for(const t of S){const n=t.state;if(e.terrain&&e.terrain.setupElevationDraw(n.tile,n.program,{useDepthForOcclusion:!C,labelPlaneMatrixInv:n.labelPlaneMatrixInv}),f.activeTexture.set(p.TEXTURE0),n.atlasTexture.bind(n.atlasInterpolation,p.CLAMP_TO_EDGE),n.atlasTextureIcon&&(f.activeTexture.set(p.TEXTURE1),n.atlasTextureIcon&&n.atlasTextureIcon.bind(n.atlasInterpolationIcon,p.CLAMP_TO_EDGE)),n.isSDF){const i=n.uniformValues;n.hasHalo&&(i.u_is_halo=1,vr(n.buffers,t.segments,r,e,n.program,w,d,h,i)),i.u_is_halo=0}vr(n.buffers,t.segments,r,e,n.program,w,d,h,n.uniformValues)}}function vr(e,n,r,i,o,a,s,l,c){const u=i.context,d=[e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer,e.globeExtVertexBuffer];o.draw(u,u.gl.TRIANGLES,a,s,l,t.CullFaceMode.disabled,c,r.id,e.layoutVertexBuffer,e.indexBuffer,n,r.paint,i.transform.zoom,e.programConfigurations.get(r.id),d)}function gr(e,n,r,i,o,a,s){const l=e.context.gl,c=r.paint.get("fill-pattern"),u=c&&c.constantOr(1),d=r.getCrossfadeParameters();let h,f,p,m,_;s?(f=u&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",h=l.LINES):(f=u?"fillPattern":"fill",h=l.TRIANGLES);for(const v of i){const i=n.getTile(v);if(u&&!i.patternsLoaded())continue;const g=i.getBucket(r);if(!g)continue;e.prepareDrawTile();const y=g.programConfigurations.get(r.id),b=e.useProgram(f,y);u&&(e.context.activeTexture.set(l.TEXTURE0),i.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),y.updatePaintBuffers(d));const x=c.constantOr(null);if(x&&i.imageAtlas){const t=i.imageAtlas,e=t.patternPositions[x.to.toString()],n=t.patternPositions[x.from.toString()];e&&n&&y.setConstantPatternPositions(e,n)}const w=e.translatePosMatrix(v.projMatrix,i,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(s){m=g.indexBuffer2,_=g.segments2;const t=e.terrain&&e.terrain.renderingToTexture?e.terrain.drapeBufferSize:[l.drawingBufferWidth,l.drawingBufferHeight];p="fillOutlinePattern"===f&&u?$n(w,e,d,i,t):Nn(w,t)}else m=g.indexBuffer,_=g.segments,p=u?Bn(w,e,d,i):Fn(w);e.prepareDrawProgram(e.context,b,v.toUnwrapped()),b.draw(e.context,h,o,e.stencilModeForClipping(v),a,t.CullFaceMode.disabled,p,r.id,g.layoutVertexBuffer,m,_,r.paint,e.transform.zoom,y)}}function yr(e,n,r,i,o,a,s){const l=e.context,c=l.gl,u=e.transform,d=r.paint.get("fill-extrusion-pattern"),h=d.constantOr(1),f=r.getCrossfadeParameters(),p=r.paint.get("fill-extrusion-opacity"),m=[r.paint.get("fill-extrusion-ambient-occlusion-intensity"),r.paint.get("fill-extrusion-ambient-occlusion-radius")],_=r.layout.get("fill-extrusion-edge-radius"),v="globe"===u.projection.name?t.fillExtrusionHeightLift():0,g="globe"===u.projection.name,y=g?t.globeToMercatorTransition(u.zoom):0,b=[t.mercatorXfromLng(u.center.lng),t.mercatorYfromLat(u.center.lat)],x=[];g&&(x.push("PROJECTION_GLOBE_VIEW"),e.style.terrainSetForDrapingOnly()&&x.push("TERRAIN")),m[0]>0&&x.push("FAUX_AO");for(const w of i){const i=n.getTile(w),k=i.getBucket(r);if(!k||k.projection.name!==u.projection.name)continue;const M=k.programConfigurations.get(r.id),C=e.useProgram(h?"fillExtrusionPattern":"fillExtrusion",M,x);if(e.terrain){const t=e.terrain;if(e.style.terrainSetForDrapingOnly())t.setupElevationDraw(i,C,{useMeterToDem:!0});else{if(!k.enableTerrain)continue;if(t.setupElevationDraw(i,C,{useMeterToDem:!0}),br(l,n,w,k,r,t),!k.centroidVertexBuffer){const t=C.attributes.a_centroid_pos;void 0!==t&&c.vertexAttrib2f(t,0,0)}}}h&&(e.context.activeTexture.set(c.TEXTURE0),i.imageAtlasTexture.bind(c.LINEAR,c.CLAMP_TO_EDGE),M.updatePaintBuffers(f));const S=d.constantOr(null);if(S&&i.imageAtlas){const t=i.imageAtlas,e=t.patternPositions[S.to.toString()],n=t.patternPositions[S.from.toString()];e&&n&&M.setConstantPatternPositions(e,n)}const T=e.translatePosMatrix(w.projMatrix,i,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),L=u.projection.createInversionMatrix(u,w.canonical),E=r.paint.get("fill-extrusion-vertical-gradient"),A=h?Rn(T,e,E,p,m,_,w,f,i,v,y,b,L):Yn(T,e,E,p,m,_,w,v,y,b,L);e.prepareDrawProgram(l,C,w.toUnwrapped());const D=[];e.terrain&&D.push(k.centroidVertexBuffer),g&&D.push(k.layoutVertexExtBuffer),C.draw(l,l.gl.TRIANGLES,o,a,s,t.CullFaceMode.backCCW,A,r.id,k.layoutVertexBuffer,k.indexBuffer,k.segments,r.paint,e.transform.zoom,M,D)}}function br(e,n,r,i,o,a){const s=[e=>{let n=e.canonical.x-1,r=e.wrap;return n<0&&(n=(1<<e.canonical.z)-1,r--),new t.OverscaledTileID(e.overscaledZ,r,e.canonical.z,n,e.canonical.y)},e=>{let n=e.canonical.x+1,r=e.wrap;return n===1<<e.canonical.z&&(n=0,r++),new t.OverscaledTileID(e.overscaledZ,r,e.canonical.z,n,e.canonical.y)},e=>new t.OverscaledTileID(e.overscaledZ,e.wrap,e.canonical.z,e.canonical.x,(0===e.canonical.y?1<<e.canonical.z:e.canonical.y)-1),e=>new t.OverscaledTileID(e.overscaledZ,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y===(1<<e.canonical.z)-1?0:e.canonical.y+1)],l=t=>{const e=n.getSource().minzoom,r=t=>{const e=n.getTileByID(t);if(e&&e.hasData())return e.getBucket(o)},i=[0,-1,1];for(const n of i){if(t.overscaledZ+n<e)continue;const i=r(t.calculateScaledKey(t.overscaledZ+n));if(i)return i}},c=[0,0,0],u=(e,n)=>(c[0]=Math.min(e.min.y,n.min.y),c[1]=Math.max(e.max.y,n.max.y),c[2]=t.EXTENT-n.min.x>e.max.x?n.min.x-t.EXTENT:e.max.x,c),d=(e,n)=>(c[0]=Math.min(e.min.x,n.min.x),c[1]=Math.max(e.max.x,n.max.x),c[2]=t.EXTENT-n.min.y>e.max.y?n.min.y-t.EXTENT:e.max.y,c),h=[(t,e)=>u(t,e),(t,e)=>u(e,t),(t,e)=>d(t,e),(t,e)=>d(e,t)],f=new t.pointGeometry(0,0);let p,m,_;const v=(e,n,i,o,s)=>{const l=[[o?i:e,o?e:i,0],[o?i:n,o?n:i,0]],c=s<0?t.EXTENT+s:s,u=[o?c:(e+n)/2,o?(e+n)/2:c,0];return 0===i&&s<0||0!==i&&s>0?a.getForTilePoints(_,[u],!0,m):l.push(u),a.getForTilePoints(r,l,!0,p),Math.max(l[0][2],l[1][2],u[2])/a.exaggeration()};for(let e=0;e<4;e++){const n=(e<2?1:5)-e,o=i.borders[e];if(0===o.length)continue;const c=_=s[e](r),u=l(c);if(!(u&&u instanceof t.FillExtrusionBucket&&u.enableTerrain))continue;if(i.borderDoneWithNeighborZ[e]===u.canonical.z&&u.borderDoneWithNeighborZ[n]===i.canonical.z)continue;if(m=a.findDEMTileFor(c),!m||!m.dem)continue;if(!p){const t=a.findDEMTileFor(r);if(!t||!t.dem)return;p=t}const d=u.borders[n];let g=0;const y=u.borderDoneWithNeighborZ[n]!==i.canonical.z;if(i.canonical.z===u.canonical.z){for(let r=0;r<o.length;r++){const a=i.featuresOnBorder[o[r]],s=a.borders[e];let l;for(;g<d.length&&(l=u.featuresOnBorder[d[g]],!(l.borders[n][1]>s[0]+3));)y&&u.encodeCentroid(void 0,l,!1),g++;if(l&&g<d.length){const r=g;let o=0;for(;!(l.borders[n][0]>s[1]-3)&&(o++,++g!==d.length);)l=u.featuresOnBorder[d[g]];if(l=u.featuresOnBorder[d[r]],a.intersectsCount()>1||l.intersectsCount()>1||1!==o){1!==o&&(g=r),i.encodeCentroid(void 0,a,!1),y&&u.encodeCentroid(void 0,l,!1);continue}const c=h[e](a,l),p=e%2?t.EXTENT-1:0;f.x=v(c[0],Math.min(t.EXTENT-1,c[1]),p,e<2,c[2]),f.y=0,i.encodeCentroid(f,a,!1),y&&u.encodeCentroid(f,l,!1)}else i.encodeCentroid(void 0,a,!1)}i.borderDoneWithNeighborZ[e]=u.canonical.z,i.needsCentroidUpdate=!0,y&&(u.borderDoneWithNeighborZ[n]=i.canonical.z,u.needsCentroidUpdate=!0)}else{for(const t of o)i.encodeCentroid(void 0,i.featuresOnBorder[t],!1);if(y){for(const t of d)u.encodeCentroid(void 0,u.featuresOnBorder[t],!1);u.borderDoneWithNeighborZ[n]=i.canonical.z,u.needsCentroidUpdate=!0}i.borderDoneWithNeighborZ[e]=u.canonical.z,i.needsCentroidUpdate=!0}}(i.needsCentroidUpdate||!i.centroidVertexBuffer&&0!==i.centroidVertexArray.length)&&i.uploadCentroid(e)}const xr=new t.Color(1,0,0,1),wr=new t.Color(0,1,0,1),kr=new t.Color(0,0,1,1),Mr=new t.Color(1,0,1,1),Cr=new t.Color(0,1,1,1);function Sr(e,n,r){const i=e.context,o=e.transform,a=i.gl,s="globe"===o.projection.name,l=s?["PROJECTION_GLOBE_VIEW"]:null;let c=r.projMatrix;if(s&&t.globeToMercatorTransition(o.zoom)>0){const e=t.transitionTileAABBinECEF(r.canonical,o),n=t.globeDenormalizeECEF(e);c=t.multiply(new Float32Array(16),o.globeMatrix,n),t.multiply(c,o.projMatrix,c)}const u=e.useProgram("debug",null,l),d=n.getTileByID(r.key);e.terrain&&e.terrain.setupElevationDraw(d,u);const h=t.DepthMode.disabled,f=t.StencilMode.disabled,p=e.colorModeForRenderPass(),m="$debug";i.activeTexture.set(a.TEXTURE0),e.emptyTexture.bind(a.LINEAR,a.CLAMP_TO_EDGE),s?d._makeGlobeTileDebugBuffers(e.context,o):d._makeDebugTileBoundsBuffers(e.context,o.projection);const _=d._tileDebugBuffer||e.debugBuffer,v=d._tileDebugIndexBuffer||e.debugIndexBuffer,g=d._tileDebugSegments||e.debugSegments;u.draw(i,a.LINE_STRIP,h,f,p,t.CullFaceMode.disabled,Wn(c,t.Color.red),m,_,v,g,null,null,null,[d._globeTileDebugBorderBuffer]);const y=d.latestRawTileData,b=Math.floor((y&&y.byteLength||0)/1024),x=n.getTile(r).tileSize,w=512/Math.min(x,512)*(r.overscaledZ/o.zoom)*.5;let k=r.canonical.toString();r.overscaledZ!==r.canonical.z&&(k+=` => ${r.overscaledZ}`),k+=` ${b}kb`,function(t,e){t.initDebugOverlayCanvas();const n=t.debugOverlayCanvas,r=t.context.gl,i=t.debugOverlayCanvas.getContext("2d");i.clearRect(0,0,n.width,n.height),i.shadowColor="white",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle="white",i.textBaseline="top",i.font="bold 36px Open Sans, sans-serif",i.fillText(e,5,5),i.strokeText(e,5,5),t.debugOverlayTexture.update(n),t.debugOverlayTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)}(e,k);const M=d._tileDebugTextBuffer||e.debugBuffer,C=d._tileDebugTextIndexBuffer||e.quadTriangleIndexBuffer,S=d._tileDebugTextSegments||e.debugSegments;u.draw(i,a.TRIANGLES,h,f,t.ColorMode.alphaBlended,t.CullFaceMode.disabled,Wn(c,t.Color.transparent,w),m,M,C,S,null,null,null,[d._globeTileDebugTextBuffer])}function Tr(t,e,n,r){Er(t,0,e+n/2,t.transform.width,n,r)}function Lr(t,e,n,r){Er(t,e-n/2,0,n,t.transform.height,r)}function Er(e,n,r,i,o,a){const s=e.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(n*t.exported.devicePixelRatio,r*t.exported.devicePixelRatio,i*t.exported.devicePixelRatio,o*t.exported.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}const Ar=t.createLayout([{name:"a_pos_3f",components:3,type:"Float32"}]),{members:Dr}=Ar;function Or(t,e,n,r){t.emplaceBack(e,n,r)}class zr{constructor(e){this.vertexArray=new t.StructArrayLayout3f12,this.indices=new t.StructArrayLayout3ui6,Or(this.vertexArray,-1,-1,1),Or(this.vertexArray,1,-1,1),Or(this.vertexArray,-1,1,1),Or(this.vertexArray,1,1,1),Or(this.vertexArray,-1,-1,-1),Or(this.vertexArray,1,-1,-1),Or(this.vertexArray,-1,1,-1),Or(this.vertexArray,1,1,-1),this.indices.emplaceBack(5,1,3),this.indices.emplaceBack(3,7,5),this.indices.emplaceBack(6,2,0),this.indices.emplaceBack(0,4,6),this.indices.emplaceBack(2,6,7),this.indices.emplaceBack(7,3,2),this.indices.emplaceBack(5,4,0),this.indices.emplaceBack(0,1,5),this.indices.emplaceBack(0,2,3),this.indices.emplaceBack(3,1,0),this.indices.emplaceBack(7,6,4),this.indices.emplaceBack(4,5,7),this.vertexBuffer=e.createVertexBuffer(this.vertexArray,Dr),this.indexBuffer=e.createIndexBuffer(this.indices),this.segment=t.SegmentVector.simpleSegment(0,0,36,12)}}function Pr(e,n,r,i,o,a){const s=e.gl,l=n.paint.get("sky-atmosphere-color"),c=n.paint.get("sky-atmosphere-halo-color"),u=n.paint.get("sky-atmosphere-sun-intensity"),d=((t,e,n,r,i)=>({u_matrix_3f:t,u_sun_direction:e,u_sun_intensity:n,u_color_tint_r:[r.r,r.g,r.b,r.a],u_color_tint_m:[i.r,i.g,i.b,i.a],u_luminance:5e-5}))(t.fromMat4(t.create$1(),i),o,u,l,c);s.framebufferTexture2D(s.FRAMEBUFFER,s.COLOR_ATTACHMENT0,s.TEXTURE_CUBE_MAP_POSITIVE_X+a,n.skyboxTexture,0),r.draw(e,s.TRIANGLES,t.DepthMode.disabled,t.StencilMode.disabled,t.ColorMode.unblended,t.CullFaceMode.frontCW,d,"skyboxCapture",n.skyboxGeometry.vertexBuffer,n.skyboxGeometry.indexBuffer,n.skyboxGeometry.segment)}const jr=t.createLayout([{type:"Float32",name:"a_pos",components:3},{type:"Float32",name:"a_uv",components:2}]);class Ir{constructor(e){const n=new t.StructArrayLayout5f20;n.emplaceBack(-1,1,1,0,0),n.emplaceBack(1,1,1,1,0),n.emplaceBack(1,-1,1,1,1),n.emplaceBack(-1,-1,1,0,1);const r=new t.StructArrayLayout3ui6;r.emplaceBack(0,1,2),r.emplaceBack(2,3,0),this.vertexBuffer=e.createVertexBuffer(n,jr.members),this.indexBuffer=e.createIndexBuffer(r),this.segments=t.SegmentVector.simpleSegment(0,0,4,2)}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy()}}const Yr={symbol:function(e,n,r,i,o){if("translucent"!==e.renderPass)return;const a=t.StencilMode.disabled,s=e.colorModeForRenderPass();r.layout.get("text-variable-anchor")&&function(e,n,r,i,o,a,s){const l=n.transform,c="map"===o,u="map"===a;for(const n of e){const e=i.getTile(n),o=e.getBucket(r);if(!o||!o.text||!o.text.segments.get().length)continue;const a=t.evaluateSizeForZoom(o.textSizeData,l.zoom),d=we(n,o.getProjection(),l),h=l.calculatePixelsToTileUnitsMatrix(e),f=ee(d,e.tileID.canonical,u,c,l,o.getProjection(),h),p="none"!==r.layout.get("icon-text-fit")&&o.hasIconData();if(a){const r=Math.pow(2,l.zoom-e.tileID.overscaledZ);pr(o,c,u,s,t.symbolSize,l,f,n,r,a,p)}}}(i,e,r,n,r.layout.get("text-rotation-alignment"),r.layout.get("text-pitch-alignment"),o),0!==r.paint.get("icon-opacity").constantOr(1)&&_r(e,n,r,i,!1,r.paint.get("icon-translate"),r.paint.get("icon-translate-anchor"),r.layout.get("icon-rotation-alignment"),r.layout.get("icon-pitch-alignment"),r.layout.get("icon-keep-upright"),a,s),0!==r.paint.get("text-opacity").constantOr(1)&&_r(e,n,r,i,!0,r.paint.get("text-translate"),r.paint.get("text-translate-anchor"),r.layout.get("text-rotation-alignment"),r.layout.get("text-pitch-alignment"),r.layout.get("text-keep-upright"),a,s),n.map.showCollisionBoxes&&(dr(e,n,r,i,r.paint.get("text-translate"),r.paint.get("text-translate-anchor"),!0),dr(e,n,r,i,r.paint.get("icon-translate"),r.paint.get("icon-translate-anchor"),!1))},circle:function(e,n,r,i){if("translucent"!==e.renderPass)return;const o=r.paint.get("circle-opacity"),a=r.paint.get("circle-stroke-width"),s=r.paint.get("circle-stroke-opacity"),l=void 0!==r.layout.get("circle-sort-key").constantOr(1);if(0===o.constantOr(1)&&(0===a.constantOr(1)||0===s.constantOr(1)))return;const c=e.context,u=c.gl,d=e.transform,h=e.depthModeForSublayer(0,t.DepthMode.ReadOnly),f=t.StencilMode.disabled,p=e.colorModeForRenderPass(),m="globe"===d.projection.name,_=[t.mercatorXfromLng(d.center.lng),t.mercatorYfromLat(d.center.lat)],v=[];for(let o=0;o<i.length;o++){const a=i[o],s=n.getTile(a),c=s.getBucket(r);if(!c||c.projection.name!==d.projection.name)continue;const u=c.programConfigurations.get(r.id),h=Vn(r);m&&h.push("PROJECTION_GLOBE_VIEW");const f=e.useProgram("circle",u,h),p=c.layoutVertexBuffer,g=c.globeExtVertexBuffer,y=c.indexBuffer,b=d.projection.createInversionMatrix(d,a.canonical),x={programConfiguration:u,program:f,layoutVertexBuffer:p,globeExtVertexBuffer:g,indexBuffer:y,uniformValues:Hn(e,a,s,b,_,r),tile:s};if(l){const e=c.segments.get();for(const n of e)v.push({segments:new t.SegmentVector([n]),sortKey:n.sortKey,state:x})}else v.push({segments:c.segments,sortKey:0,state:x})}l&&v.sort(((t,e)=>t.sortKey-e.sortKey));const g={useDepthForOcclusion:!m};for(const n of v){const{programConfiguration:i,program:o,layoutVertexBuffer:a,globeExtVertexBuffer:s,indexBuffer:l,uniformValues:m,tile:_}=n.state,v=n.segments;e.terrain&&e.terrain.setupElevationDraw(_,o,g),e.prepareDrawProgram(c,o,_.tileID.toUnwrapped()),o.draw(c,u.TRIANGLES,h,f,p,t.CullFaceMode.disabled,m,r.id,a,l,v,r.paint,d.zoom,i,[s])}},heatmap:function(e,n,r,i){if(0!==r.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){const o=e.context,a=o.gl,s=t.StencilMode.disabled,l=new t.ColorMode([a.ONE,a.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,n,r){const i=t.gl,o=e.width*r,a=e.height*r;t.activeTexture.set(i.TEXTURE1),t.viewport.set([0,0,o,a]);let s=n.heatmapFbo;if(!s||s&&(s.width!==o||s.height!==a)){s&&s.destroy();const e=i.createTexture();i.bindTexture(i.TEXTURE_2D,e),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),s=n.heatmapFbo=t.createFramebuffer(o,a,!1),function(t,e,n,r,i,o){const a=t.gl;a.texImage2D(a.TEXTURE_2D,0,a.RGBA,i,o,0,a.RGBA,t.extRenderToTextureHalfFloat?t.extTextureHalfFloat.HALF_FLOAT_OES:a.UNSIGNED_BYTE,null),r.colorAttachment.set(n)}(t,0,e,s,o,a)}else i.bindTexture(i.TEXTURE_2D,s.colorAttachment.get()),t.bindFramebuffer.set(s.framebuffer)}(o,e,r,"globe"===e.transform.projection.name?.5:.25),o.clear({color:t.Color.transparent});const c=e.transform,u="globe"===c.projection.name,d=u?["PROJECTION_GLOBE_VIEW"]:null,h=u?t.CullFaceMode.frontCCW:t.CullFaceMode.disabled,f=[t.mercatorXfromLng(c.center.lng),t.mercatorYfromLat(c.center.lat)];for(let p=0;p<i.length;p++){const m=i[p];if(n.hasRenderableParent(m))continue;const _=n.getTile(m),v=_.getBucket(r);if(!v||v.projection.name!==c.projection.name)continue;const g=v.programConfigurations.get(r.id),y=e.useProgram("heatmap",g,d),{zoom:b}=e.transform;e.terrain&&e.terrain.setupElevationDraw(_,y),e.prepareDrawProgram(o,y,m.toUnwrapped());const x=c.projection.createInversionMatrix(c,m.canonical);y.draw(o,a.TRIANGLES,t.DepthMode.disabled,s,l,h,qn(e,m,_,x,f,b,r.paint.get("heatmap-intensity")),r.id,v.layoutVertexBuffer,v.indexBuffer,v.segments,r.paint,e.transform.zoom,g,u?[v.globeExtVertexBuffer]:null)}o.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,n){const r=e.context,i=r.gl,o=n.heatmapFbo;if(!o)return;r.activeTexture.set(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,o.colorAttachment.get()),r.activeTexture.set(i.TEXTURE1);let a=n.colorRampTexture;a||(a=n.colorRampTexture=new t.Texture(r,n.colorRamp,i.RGBA)),a.bind(i.LINEAR,i.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(r,i.TRIANGLES,t.DepthMode.disabled,t.StencilMode.disabled,e.colorModeForRenderPass(),t.CullFaceMode.disabled,((t,e,n,r)=>({u_image:0,u_color_ramp:1,u_opacity:e.paint.get("heatmap-opacity")}))(0,n),n.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,n.paint,e.transform.zoom)}(e,r))},line:function(e,n,r,i){if("translucent"!==e.renderPass)return;const o=r.paint.get("line-opacity"),a=r.paint.get("line-width");if(0===o.constantOr(1)||0===a.constantOr(1))return;const s=e.depthModeForSublayer(0,t.DepthMode.ReadOnly),l=e.colorModeForRenderPass(),c=e.terrain&&e.terrain.renderingToTexture?1:t.exported.devicePixelRatio,u=r.paint.get("line-dasharray"),d=u.constantOr(1),h=r.layout.get("line-cap"),f=r.paint.get("line-pattern"),p=f.constantOr(1),m=r.paint.get("line-gradient"),_=r.getCrossfadeParameters(),v=p?"linePattern":"line",g=e.context,y=g.gl,b=(t=>{const e=[];tr(t)&&e.push("RENDER_LINE_DASH"),t.paint.get("line-gradient")&&e.push("RENDER_LINE_GRADIENT");const n=t.paint.get("line-trim-offset");0===n[0]&&0===n[1]||e.push("RENDER_LINE_TRIM_OFFSET");const r=t.paint.get("line-pattern").constantOr(1),i=1!==t.paint.get("line-opacity").constantOr(1);return!r&&i&&e.push("RENDER_LINE_ALPHA_DISCARD"),e})(r);let x=b.includes("RENDER_LINE_ALPHA_DISCARD");e.terrain&&e.terrain.clipOrMaskOverlapStencilType()&&(x=!1);for(const o of i){const i=n.getTile(o);if(p&&!i.patternsLoaded())continue;const a=i.getBucket(r);if(!a)continue;e.prepareDrawTile();const w=a.programConfigurations.get(r.id),k=e.useProgram(v,w,b),M=f.constantOr(null);if(M&&i.imageAtlas){const t=i.imageAtlas,e=t.patternPositions[M.to.toString()],n=t.patternPositions[M.from.toString()];e&&n&&w.setConstantPatternPositions(e,n)}const C=u.constantOr(null),S=h.constantOr(null);if(!p&&C&&S&&i.lineAtlas){const t=i.lineAtlas,e=t.getDash(C.to,S),n=t.getDash(C.from,S);e&&n&&w.setConstantPatternPositions(e,n)}let[T,L]=r.paint.get("line-trim-offset");if("round"===S||"square"===S){const t=1;T!==L&&(0===T&&(T-=t),1===L&&(L+=t))}const E=e.terrain?o.projMatrix:null,A=p?Jn(e,i,r,_,E,c):Xn(e,i,r,_,E,a.lineClipsArray.length,c,[T,L]);if(m){const i=a.gradients[r.id];let s=i.texture;if(r.gradientVersion!==i.version){let l=256;if(r.stepInterpolant){const r=n.getSource().maxzoom,i=o.canonical.z===r?Math.ceil(1<<e.transform.maxZoom-o.canonical.z):1;l=t.clamp(t.nextPowerOfTwo(a.maxLineLength/t.EXTENT*1024*i),256,g.maxTextureSize)}i.gradient=t.renderColorRamp({expression:r.gradientExpression(),evaluationKey:"lineProgress",resolution:l,image:i.gradient||void 0,clips:a.lineClipsArray}),i.texture?i.texture.update(i.gradient):i.texture=new t.Texture(g,i.gradient,y.RGBA),i.version=r.gradientVersion,s=i.texture}g.activeTexture.set(y.TEXTURE1),s.bind(r.stepInterpolant?y.NEAREST:y.LINEAR,y.CLAMP_TO_EDGE)}d&&(g.activeTexture.set(y.TEXTURE0),i.lineAtlasTexture.bind(y.LINEAR,y.REPEAT),w.updatePaintBuffers(_)),p&&(g.activeTexture.set(y.TEXTURE0),i.imageAtlasTexture.bind(y.LINEAR,y.CLAMP_TO_EDGE),w.updatePaintBuffers(_)),e.prepareDrawProgram(g,k,o.toUnwrapped());const D=n=>{k.draw(g,y.TRIANGLES,s,n,l,t.CullFaceMode.disabled,A,r.id,a.layoutVertexBuffer,a.indexBuffer,a.segments,r.paint,e.transform.zoom,w,[a.layoutVertexBuffer2])};if(x){const n=e.stencilModeForClipping(o).ref;0===n&&e.terrain&&g.clear({stencil:0});const r={func:y.EQUAL,mask:255};A.u_alpha_discard_threshold=.8,D(new t.StencilMode(r,n,255,y.KEEP,y.KEEP,y.INVERT)),A.u_alpha_discard_threshold=0,D(new t.StencilMode(r,n,255,y.KEEP,y.KEEP,y.KEEP))}else D(e.stencilModeForClipping(o))}x&&(e.resetStencilClippingMasks(),e.terrain&&g.clear({stencil:0}))},fill:function(e,n,r,i){const o=r.paint.get("fill-color"),a=r.paint.get("fill-opacity");if(0===a.constantOr(1))return;const s=e.colorModeForRenderPass(),l=r.paint.get("fill-pattern"),c=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(t.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(e.renderPass===c){const o=e.depthModeForSublayer(1,"opaque"===e.renderPass?t.DepthMode.ReadWrite:t.DepthMode.ReadOnly);gr(e,n,r,i,o,s,!1)}if("translucent"===e.renderPass&&r.paint.get("fill-antialias")){const o=e.depthModeForSublayer(r.getPaintProperty("fill-outline-color")?2:0,t.DepthMode.ReadOnly);gr(e,n,r,i,o,s,!0)}},"fill-extrusion":function(e,n,r,i){const o=r.paint.get("fill-extrusion-opacity");if(0!==o&&"translucent"===e.renderPass){const a=new t.DepthMode(e.context.gl.LEQUAL,t.DepthMode.ReadWrite,e.depthRangeFor3D);if(1!==o||r.paint.get("fill-extrusion-pattern").constantOr(1))yr(e,n,r,i,a,t.StencilMode.disabled,t.ColorMode.disabled),yr(e,n,r,i,a,e.stencilModeFor3D(),e.colorModeForRenderPass()),e.resetStencilClippingMasks();else{const o=e.colorModeForRenderPass();yr(e,n,r,i,a,t.StencilMode.disabled,o)}}},hillshade:function(e,n,r,i){if("offscreen"!==e.renderPass&&"translucent"!==e.renderPass)return;const o=e.context,a=e.depthModeForSublayer(0,t.DepthMode.ReadOnly),s=e.colorModeForRenderPass(),l=e.terrain&&e.terrain.renderingToTexture,[c,u]="translucent"!==e.renderPass||l?[{},i]:e.stencilConfigForOverlap(i);for(const i of u){const o=n.getTile(i);if(o.needsHillshadePrepare&&"offscreen"===e.renderPass)bn(e,o,r,a,t.StencilMode.disabled,s);else if("translucent"===e.renderPass){const t=l&&e.terrain?e.terrain.stencilModeForRTTOverlap(i):c[i.overscaledZ];gn(e,i,o,r,a,t,s)}}o.viewport.set([0,0,e.width,e.height]),e.resetStencilClippingMasks()},raster:function(e,n,r,i,o,a){if("translucent"!==e.renderPass)return;if(0===r.paint.get("raster-opacity"))return;if(!i.length)return;const s=e.context,l=s.gl,c=n.getSource(),u=e.useProgram("raster"),d=e.colorModeForRenderPass(),h=e.terrain&&e.terrain.renderingToTexture,[f,p]=c instanceof At||h?[{},i]:e.stencilConfigForOverlap(i),m=p[p.length-1].overscaledZ,_=!e.options.moving;for(const i of p){const o=h?t.DepthMode.disabled:e.depthModeForSublayer(i.overscaledZ-m,1===r.paint.get("raster-opacity")?t.DepthMode.ReadWrite:t.DepthMode.ReadOnly,l.LESS),p=i.toUnwrapped(),v=n.getTile(i);if(h&&(!v||!v.hasData()))continue;const g=h?i.projMatrix:e.transform.calculateProjMatrix(p,_),y=e.terrain&&h?e.terrain.stencilModeForRTTOverlap(i):f[i.overscaledZ],b=a?0:r.paint.get("raster-fade-duration");v.registerFadeDuration(b);const x=n.findLoadedParent(i,0),w=En(v,x,n,e.transform,b);let k,M;e.terrain&&e.terrain.prepareDrawTile();const C="nearest"===r.paint.get("raster-resampling")?l.NEAREST:l.LINEAR;s.activeTexture.set(l.TEXTURE0),v.texture.bind(C,l.CLAMP_TO_EDGE),s.activeTexture.set(l.TEXTURE1),x?(x.texture.bind(C,l.CLAMP_TO_EDGE),k=Math.pow(2,x.tileID.overscaledZ-v.tileID.overscaledZ),M=[v.tileID.canonical.x*k%1,v.tileID.canonical.y*k%1]):v.texture.bind(C,l.CLAMP_TO_EDGE);const S=er(g,M||[0,0],k||1,w,r,c instanceof At?c.perspectiveTransform:[0,0]);if(e.prepareDrawProgram(s,u,p),c instanceof At)c.boundsBuffer&&c.boundsSegments&&u.draw(s,l.TRIANGLES,o,t.StencilMode.disabled,d,t.CullFaceMode.disabled,S,r.id,c.boundsBuffer,e.quadTriangleIndexBuffer,c.boundsSegments);else{const{tileBoundsBuffer:n,tileBoundsIndexBuffer:i,tileBoundsSegments:a}=e.getTileBoundsBuffers(v);u.draw(s,l.TRIANGLES,o,y,d,t.CullFaceMode.disabled,S,r.id,n,i,a)}}e.resetStencilClippingMasks()},background:function(e,n,r,i){const o=r.paint.get("background-color"),a=r.paint.get("background-opacity");if(0===a)return;const s=e.context,l=s.gl,c=e.transform,u=c.tileSize,d=r.paint.get("background-pattern");if(e.isPatternMissing(d))return;const h=!d&&1===o.a&&1===a&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass!==h)return;const f=t.StencilMode.disabled,p=e.depthModeForSublayer(0,"opaque"===h?t.DepthMode.ReadWrite:t.DepthMode.ReadOnly),m=e.colorModeForRenderPass(),_=e.useProgram(d?"backgroundPattern":"background");let v,g=i;g||(v=e.getBackgroundTiles(),g=Object.values(v).map((t=>t.tileID))),d&&(s.activeTexture.set(l.TEXTURE0),e.imageManager.bind(e.context));const y=r.getCrossfadeParameters();for(const h of g){const g=h.toUnwrapped(),b=i?h.projMatrix:e.transform.calculateProjMatrix(g);e.prepareDrawTile();const x=n?n.getTile(h):v?v[h.key]:new t.Tile(h,u,c.zoom,e),w=d?lr(b,a,e,d,{tileID:h,tileSize:u},y):sr(b,a,o);e.prepareDrawProgram(s,_,g);const{tileBoundsBuffer:k,tileBoundsIndexBuffer:M,tileBoundsSegments:C}=e.getTileBoundsBuffers(x);_.draw(s,l.TRIANGLES,p,f,m,t.CullFaceMode.disabled,w,r.id,k,M,C)}},sky:function(e,n,r){const i=e.transform,o="mercator"===i.projection.name||"globe"===i.projection.name?1:t.smoothstep(7,8,i.zoom),a=r.paint.get("sky-opacity")*o;if(0===a)return;const s=e.context,l=r.paint.get("sky-type"),c=new t.DepthMode(s.gl.LEQUAL,t.DepthMode.ReadOnly,[0,1]),u=e.frameCounter/1e3%1;"atmosphere"===l?"offscreen"===e.renderPass?r.needsSkyboxCapture(e)&&(function(e,n,r,i){const o=e.context,a=o.gl;let s=n.skyboxFbo;if(!s){s=n.skyboxFbo=o.createFramebuffer(32,32,!1),n.skyboxGeometry=new zr(o),n.skyboxTexture=o.gl.createTexture(),a.bindTexture(a.TEXTURE_CUBE_MAP,n.skyboxTexture),a.texParameteri(a.TEXTURE_CUBE_MAP,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_CUBE_MAP,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_CUBE_MAP,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_CUBE_MAP,a.TEXTURE_MAG_FILTER,a.LINEAR);for(let t=0;t<6;++t)a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,a.RGBA,32,32,0,a.RGBA,a.UNSIGNED_BYTE,null)}o.bindFramebuffer.set(s.framebuffer),o.viewport.set([0,0,32,32]);const l=n.getCenter(e,!0),c=e.useProgram("skyboxCapture"),u=new Float64Array(16);t.identity(u),t.rotateY(u,u,.5*-Math.PI),Pr(o,n,c,u,l,0),t.identity(u),t.rotateY(u,u,.5*Math.PI),Pr(o,n,c,u,l,1),t.identity(u),t.rotateX(u,u,.5*-Math.PI),Pr(o,n,c,u,l,2),t.identity(u),t.rotateX(u,u,.5*Math.PI),Pr(o,n,c,u,l,3),t.identity(u),Pr(o,n,c,u,l,4),t.identity(u),t.rotateY(u,u,Math.PI),Pr(o,n,c,u,l,5),o.viewport.set([0,0,e.width,e.height])}(e,r),r.markSkyboxValid(e)):"sky"===e.renderPass&&function(e,n,r,i,o){const a=e.context,s=a.gl,l=e.transform,c=e.useProgram("skybox");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_CUBE_MAP,n.skyboxTexture);const u=((t,e,n,r,i)=>({u_matrix:t,u_sun_direction:e,u_cubemap:0,u_opacity:r,u_temporal_offset:i}))(l.skyboxMatrix,n.getCenter(e,!1),0,i,o);e.prepareDrawProgram(a,c),c.draw(a,s.TRIANGLES,r,t.StencilMode.disabled,e.colorModeForRenderPass(),t.CullFaceMode.backCW,u,"skybox",n.skyboxGeometry.vertexBuffer,n.skyboxGeometry.indexBuffer,n.skyboxGeometry.segment)}(e,r,c,a,u):"gradient"===l&&"sky"===e.renderPass&&function(e,n,r,i,o){const a=e.context,s=a.gl,l=e.transform,c=e.useProgram("skyboxGradient");n.skyboxGeometry||(n.skyboxGeometry=new zr(a)),a.activeTexture.set(s.TEXTURE0);let u=n.colorRampTexture;u||(u=n.colorRampTexture=new t.Texture(a,n.colorRamp,s.RGBA)),u.bind(s.LINEAR,s.CLAMP_TO_EDGE);const d=((e,n,r,i,o)=>({u_matrix:e,u_color_ramp:0,u_center_direction:n,u_radius:t.degToRad(r),u_opacity:i,u_temporal_offset:o}))(l.skyboxMatrix,n.getCenter(e,!1),n.paint.get("sky-gradient-radius"),i,o);e.prepareDrawProgram(a,c),c.draw(a,s.TRIANGLES,r,t.StencilMode.disabled,e.colorModeForRenderPass(),t.CullFaceMode.backCW,d,"skyboxGradient",n.skyboxGeometry.vertexBuffer,n.skyboxGeometry.indexBuffer,n.skyboxGeometry.segment)}(e,r,c,a,u)},debug:function(t,e,n){for(let r=0;r<n.length;r++)Sr(t,e,n[r])},custom:function(e,n,r){const i=e.context,o=r.implementation;if(e.transform.projection.unsupportedLayers&&e.transform.projection.unsupportedLayers.includes("custom"))t.warnOnce("Custom layers are not yet supported with non-mercator projections. Use mercator to enable custom layers.");else if("offscreen"===e.renderPass){const t=o.prerender;t&&(e.setCustomLayerDefaults(),i.setColorMode(e.colorModeForRenderPass()),t.call(o,i.gl,e.transform.customLayerMatrix()),i.setDirty(),e.setBaseState())}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),i.setColorMode(e.colorModeForRenderPass()),i.setStencilMode(t.StencilMode.disabled);const n="3d"===o.renderingMode?new t.DepthMode(e.context.gl.LEQUAL,t.DepthMode.ReadWrite,e.depthRangeFor3D):e.depthModeForSublayer(0,t.DepthMode.ReadOnly);i.setDepthMode(n),o.render(i.gl,e.transform.customLayerMatrix()),i.setDirty(),e.setBaseState(),i.bindFramebuffer.set(null)}}};class Rr{constructor(e,n){this.context=new St(e),this.transform=n,this._tileTextures={},this.frameCopies=[],this.loadTimeStamps=[],this.setup(),this.numSublayers=t.SourceCache.maxUnderzooming+t.SourceCache.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ge,this.deferredRenderGpuTimeQueries=[],this.gpuTimers={},this.frameCounter=0,this._backgroundTiles={}}updateTerrain(t,e){const n=!!t&&!!t.terrain&&this.transform.projection.supportsTerrain;if(!(n||this._terrain&&this._terrain.enabled))return;this._terrain||(this._terrain=new zn(this,t));const r=this._terrain;this.transform.elevation=n?r:null,r.update(t,this.transform,e)}_updateFog(t){const e=t.fog;if(!e||"globe"===this.transform.projection.name||e.getOpacity(this.transform.pitch)<1||e.properties.get("horizon-blend")<.03)return void(this.transform.fogCullDistSq=null);const[n,r]=e.getFovAdjustedRange(this.transform._fov);if(n>r)return void(this.transform.fogCullDistSq=null);const i=n+.78*(r-n);this.transform.fogCullDistSq=i*i}get terrain(){return this.transform._terrainEnabled()&&this._terrain&&this._terrain.enabled?this._terrain:null}resize(e,n){if(this.width=e*t.exported.devicePixelRatio,this.height=n*t.exported.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const t of this.style.order)this.style._layers[t].resize()}setup(){const e=this.context,n=new t.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(t.EXTENT,0),n.emplaceBack(0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(n,t.posAttributes.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);const r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(r,t.posAttributes.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);const i=new t.StructArrayLayout2i4;i.emplaceBack(-1,-1),i.emplaceBack(1,-1),i.emplaceBack(-1,1),i.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(i,t.posAttributes.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);const o=new t.StructArrayLayout4i8;o.emplaceBack(0,0,0,0),o.emplaceBack(t.EXTENT,0,t.EXTENT,0),o.emplaceBack(0,t.EXTENT,0,t.EXTENT),o.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.mercatorBoundsBuffer=e.createVertexBuffer(o,t.boundsAttributes.members),this.mercatorBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);const a=new t.StructArrayLayout3ui6;a.emplaceBack(0,1,2),a.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(a);const s=new t.StructArrayLayout1ui2;for(const t of[0,1,3,2,0])s.emplaceBack(t);this.debugIndexBuffer=e.createIndexBuffer(s),this.emptyTexture=new t.Texture(e,new t.RGBAImage({width:1,height:1},Uint8Array.of(0,0,0,0)),e.gl.RGBA),this.identityMat=t.create();const l=this.context.gl;this.stencilClearMode=new t.StencilMode({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO),this.loadTimeStamps.push(t.window.performance.now()),this.atmosphereBuffer=new Ir(this.context)}getMercatorTileBoundsBuffers(){return{tileBoundsBuffer:this.mercatorBoundsBuffer,tileBoundsIndexBuffer:this.quadTriangleIndexBuffer,tileBoundsSegments:this.mercatorBoundsSegments}}getTileBoundsBuffers(t){return t._makeTileBoundsBuffers(this.context,this.transform.projection),t._tileBoundsBuffer?{tileBoundsBuffer:t._tileBoundsBuffer,tileBoundsIndexBuffer:t._tileBoundsIndexBuffer,tileBoundsSegments:t._tileBoundsSegments}:this.getMercatorTileBoundsBuffers()}clearStencil(){const e=this.context,n=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0,this._tileClippingMaskIDs={},this.useProgram("clippingMask").draw(e,n.TRIANGLES,t.DepthMode.disabled,this.stencilClearMode,t.ColorMode.disabled,t.CullFaceMode.disabled,Ln(this.identityMat),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}resetStencilClippingMasks(){this.terrain||(this.currentStencilSource=void 0,this._tileClippingMaskIDs={})}_renderTileClippingMasks(e,n,r){if(!n||this.currentStencilSource===n.id||!e.isTileClipped()||!r||0===r.length)return;if(this._tileClippingMaskIDs&&!this.terrain){let t=!1;for(const e of r)if(void 0===this._tileClippingMaskIDs[e.key]){t=!0;break}if(!t)return}this.currentStencilSource=n.id;const i=this.context,o=i.gl;this.nextStencilID+r.length>256&&this.clearStencil(),i.setColorMode(t.ColorMode.disabled),i.setDepthMode(t.DepthMode.disabled);const a=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(const e of r){const r=n.getTile(e),s=this._tileClippingMaskIDs[e.key]=this.nextStencilID++,{tileBoundsBuffer:l,tileBoundsIndexBuffer:c,tileBoundsSegments:u}=this.getTileBoundsBuffers(r);a.draw(i,o.TRIANGLES,t.DepthMode.disabled,new t.StencilMode({func:o.ALWAYS,mask:0},s,255,o.KEEP,o.KEEP,o.REPLACE),t.ColorMode.disabled,t.CullFaceMode.disabled,Ln(e.projMatrix),"$clipping",l,c,u)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const e=this.nextStencilID++,n=this.context.gl;return new t.StencilMode({func:n.NOTEQUAL,mask:255},e,255,n.KEEP,n.KEEP,n.REPLACE)}stencilModeForClipping(e){if(this.terrain)return this.terrain.stencilModeForRTTOverlap(e);const n=this.context.gl;return new t.StencilMode({func:n.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,n.KEEP,n.KEEP,n.REPLACE)}stencilConfigForOverlap(e){const n=this.context.gl,r=e.sort(((t,e)=>e.overscaledZ-t.overscaledZ)),i=r[r.length-1].overscaledZ,o=r[0].overscaledZ-i+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();const e={};for(let r=0;r<o;r++)e[r+i]=new t.StencilMode({func:n.GEQUAL,mask:255},r+this.nextStencilID,255,n.KEEP,n.KEEP,n.REPLACE);return this.nextStencilID+=o,[e,r]}return[{[i]:t.StencilMode.disabled},r]}colorModeForRenderPass(){const e=this.context.gl;if(this._showOverdrawInspector){const n=1/8;return new t.ColorMode([e.CONSTANT_COLOR,e.ONE],new t.Color(n,n,n,0),[!0,!0,!0,!0])}return"opaque"===this.renderPass?t.ColorMode.unblended:t.ColorMode.alphaBlended}depthModeForSublayer(e,n,r){if(!this.opaquePassEnabledForLayer())return t.DepthMode.disabled;const i=1-((1+this.currentLayer)*this.numSublayers+e)*this.depthEpsilon;return new t.DepthMode(r||this.context.gl.LEQUAL,n,[i,i])}opaquePassEnabledForLayer(){return this.currentLayer<this.opaquePassCutoff}render(e,n){this.style=e,this.options=n,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.exported.now()),this.imageManager.beginFrame();const r=this.style.order,i=this.style._sourceCaches;for(const t in i){const e=i[t];e.used&&e.prepare(this.context)}const o={},a={},s={};for(const t in i){const e=i[t];o[t]=e.getVisibleCoordinates(),a[t]=o[t].slice().reverse(),s[t]=e.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(let t=0;t<r.length;t++)if(this.style._layers[r[t]].is3D()){this.opaquePassCutoff=t;break}if(this.terrain&&(this.terrain.updateTileBinding(s),this.opaquePassCutoff=0),"globe"!==this.transform.projection.name||this.globeSharedBuffers||(this.globeSharedBuffers=new t.GlobeSharedBuffers(this.context)),t.isMapAuthenticated(this.context.gl)){this.renderPass="offscreen";for(const t of r){const n=this.style._layers[t],r=e._getLayerSourceCache(n);if(!n.hasOffscreenPass()||n.isHidden(this.transform.zoom))continue;const i=r?a[r.id]:void 0;("custom"===n.type||n.isSky()||i&&i.length)&&this.renderLayer(this,r,n,i)}if(this.depthRangeFor3D=[0,1-(e.order.length+2)*this.numSublayers*this.depthEpsilon],this.terrain&&(this.style.hasSymbolLayers()||this.style.hasCircleLayers())&&this.terrain.drawDepth(),this.context.bindFramebuffer.set(null),this.context.viewport.set([0,0,this.width,this.height]),this.context.clear({color:n.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=n.showOverdrawInspector,this.renderPass="opaque",!this.terrain)for(this.currentLayer=r.length-1;this.currentLayer>=0;this.currentLayer--){const t=this.style._layers[r[this.currentLayer]],n=e._getLayerSourceCache(t);if(t.isSky())continue;const i=n?a[n.id]:void 0;this._renderTileClippingMasks(t,n,i),this.renderLayer(this,n,t,i)}if(this.style.fog&&this.transform.projection.supportsFog&&function(e,n){const r=e.context,i=r.gl,o=e.transform,a=new t.DepthMode(i.LEQUAL,t.DepthMode.ReadOnly,[0,1]),s=e.useProgram("globeAtmosphere",null,"globe"===o.projection.name?["PROJECTION_GLOBE_VIEW","FOG"]:["FOG"]),l=t.globeToMercatorTransition(o.zoom),c=n.properties.get("color").toArray01(),u=n.properties.get("high-color").toArray01(),d=n.properties.get("space-color").toArray01PremultipliedAlpha(),h=t.identity$1([]);t.rotateY$1(h,h,-t.degToRad(o._center.lng)),t.rotateX$1(h,h,t.degToRad(o._center.lat)),t.rotateZ$1(h,h,o.angle),t.rotateX$1(h,h,-o._pitch);const f=t.fromQuat(new Float32Array(16),h),p=t.mapValue(n.properties.get("star-intensity"),0,1,0,.25),m=5e-4,_=t.mapValue(n.properties.get("horizon-blend"),0,1,m,.25),v=t.globeUseCustomAntiAliasing(e,r,o)&&_===m?o.worldSize/(2*Math.PI*1.025)-1:o.globeRadius,g=e.frameCounter/1e3%1,y=t.length(o.globeCenterInViewSpace),b=Math.sqrt(Math.pow(y,2)-Math.pow(v,2)),x=Math.acos(b/y),w=((e,n,r,i,o,a,s,l,c,u,d,h,f,p)=>({u_frustum_tl:e,u_frustum_tr:n,u_frustum_br:r,u_frustum_bl:i,u_horizon:o,u_transition:a,u_fadeout_range:s,u_color:l,u_high_color:c,u_space_color:u,u_star_intensity:d,u_star_size:5*t.exported.devicePixelRatio,u_star_density:0,u_temporal_offset:h,u_horizon_angle:f,u_rotation_matrix:p}))(o.frustumCorners.TL,o.frustumCorners.TR,o.frustumCorners.BR,o.frustumCorners.BL,o.frustumCorners.horizon,l,_,c,u,d,p,g,x,f);e.prepareDrawProgram(r,s);const k=e.atmosphereBuffer;k&&s.draw(r,i.TRIANGLES,a,t.StencilMode.disabled,t.ColorMode.alphaBlended,t.CullFaceMode.backCW,w,"skybox",k.vertexBuffer,k.indexBuffer,k.segments)}(this,this.style.fog),this.renderPass="sky",(t.globeToMercatorTransition(this.transform.zoom)>0||"globe"!==this.transform.projection.name)&&this.transform.isHorizonVisible())for(this.currentLayer=0;this.currentLayer<r.length;this.currentLayer++){const t=this.style._layers[r[this.currentLayer]],n=e._getLayerSourceCache(t);t.isSky()&&this.renderLayer(this,n,t,n?a[n.id]:void 0)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<r.length;){const t=this.style._layers[r[this.currentLayer]],n=e._getLayerSourceCache(t);if(t.isSky()){++this.currentLayer;continue}if(this.terrain&&this.style.isLayerDraped(t)){if(t.isHidden(this.transform.zoom)){++this.currentLayer;continue}this.currentLayer=this.terrain.renderBatch(this.currentLayer);continue}const i=n?("symbol"===t.type?s:a)[n.id]:void 0;this._renderTileClippingMasks(t,n,n?o[n.id]:void 0),this.renderLayer(this,n,t,i),++this.currentLayer}if(this.terrain&&this.terrain.postRender(),this.options.showTileBoundaries||this.options.showQueryGeometry||this.options.showTileAABBs){let n=null;t.values(this.style._layers).forEach((t=>{const r=e._getLayerSourceCache(t);r&&!t.isHidden(this.transform.zoom)&&(!n||n.getSource().maxzoom<r.getSource().maxzoom)&&(n=r)})),n&&this.options.showTileBoundaries&&Yr.debug(this,n,n.getVisibleCoordinates())}this.options.showPadding&&function(t){const e=t.transform.padding;Tr(t,t.transform.height-(e.top||0),3,xr),Tr(t,e.bottom||0,3,wr),Lr(t,e.left||0,3,kr),Lr(t,t.transform.width-(e.right||0),3,Mr);const n=t.transform.centerPoint;!function(t,e,n,r){Er(t,e-1,n-10,2,20,r),Er(t,e-10,n-1,20,2,r)}(t,n.x,t.transform.height-n.y,Cr)}(this),this.context.setDefault(),this.frameCounter=(this.frameCounter+1)%Number.MAX_SAFE_INTEGER,this.tileLoaded&&this.options.speedIndexTiming&&(this.loadTimeStamps.push(t.window.performance.now()),this.saveCanvasCopy())}}renderLayer(t,e,n,r){n.isHidden(this.transform.zoom)||("background"===n.type||"sky"===n.type||"custom"===n.type||r&&r.length)&&(this.id=n.id,this.gpuTimingStart(n),t.transform.projection.unsupportedLayers&&t.transform.projection.unsupportedLayers.includes(n.type)||Yr[n.type](t,e,n,r,this.style.placement.variableOffsets,this.options.isInitialLoad),this.gpuTimingEnd())}gpuTimingStart(t){if(!this.options.gpuTiming)return;const e=this.context.extTimerQuery;let n=this.gpuTimers[t.id];n||(n=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),n.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,n.query)}gpuTimingDeferredRenderStart(){if(this.options.gpuTimingDeferredRender){const t=this.context.extTimerQuery,e=t.createQueryEXT();this.deferredRenderGpuTimeQueries.push(e),t.beginQueryEXT(t.TIME_ELAPSED_EXT,e)}}gpuTimingDeferredRenderEnd(){if(!this.options.gpuTimingDeferredRender)return;const t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}gpuTimingEnd(){if(!this.options.gpuTiming)return;const t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}collectGpuTimers(){const t=this.gpuTimers;return this.gpuTimers={},t}collectDeferredRenderGpuQueries(){const t=this.deferredRenderGpuTimeQueries;return this.deferredRenderGpuTimeQueries=[],t}queryGpuTimers(t){const e={};for(const n in t){const r=t[n],i=this.context.extTimerQuery,o=i.getQueryObjectEXT(r.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(r.query),e[n]=o}return e}queryGpuTimeDeferredRender(t){if(!this.options.gpuTimingDeferredRender)return 0;const e=this.context.extTimerQuery;let n=0;for(const r of t)n+=e.getQueryObjectEXT(r,e.QUERY_RESULT_EXT)/1e6,e.deleteQueryEXT(r);return n}translatePosMatrix(e,n,r,i,o){if(!r[0]&&!r[1])return e;const a=o?"map"===i?this.transform.angle:0:"viewport"===i?-this.transform.angle:0;if(a){const t=Math.sin(a),e=Math.cos(a);r=[r[0]*e-r[1]*t,r[0]*t+r[1]*e]}const s=[o?r[0]:z(n,r[0],this.transform.zoom),o?r[1]:z(n,r[1],this.transform.zoom),0],l=new Float32Array(16);return t.translate(l,e,s),l}saveTileTexture(t){const e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]}getTileTexture(t){const e=this._tileTextures[t];return e&&e.length>0?e.pop():null}isPatternMissing(t){if(!t)return!1;if(!t.from||!t.to)return!0;const e=this.imageManager.getPattern(t.from.toString()),n=this.imageManager.getPattern(t.to.toString());return!e||!n}terrainRenderModeElevated(){return this.style&&!!this.style.getTerrain()&&!!this.terrain&&!this.terrain.renderingToTexture}currentGlobalDefines(){const t=this.terrain&&this.terrain.renderingToTexture,e=this.style&&this.style.fog,n=[];return this.terrainRenderModeElevated()&&n.push("TERRAIN"),"globe"===this.transform.projection.name&&n.push("GLOBE"),e&&!t&&0!==e.getOpacity(this.transform.pitch)&&n.push("FOG"),t&&n.push("RENDER_TO_TEXTURE"),this._showOverdrawInspector&&n.push("OVERDRAW_INSPECTOR"),n}useProgram(t,e,n){this.cache=this.cache||{};const r=n||[],i=this.currentGlobalDefines().concat(r),o=Pn.cacheKey(fn[t],t,i,e);return this.cache[o]||(this.cache[o]=new Pn(this.context,t,fn[t],e,cr[t],i)),this.cache[o]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.frontFace.setDefault(),this.context.cullFaceSide.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)}initDebugOverlayCanvas(){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))}destroy(){this._terrain&&this._terrain.destroy(),this.globeSharedBuffers&&this.globeSharedBuffers.destroy(),this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy(),this.atmosphereBuffer&&this.atmosphereBuffer.destroy()}prepareDrawTile(){this.terrain&&this.terrain.prepareDrawTile()}prepareDrawProgram(e,n,r){if(this.terrain&&this.terrain.renderingToTexture)return;const i=this.style.fog;if(i){const o=i.getOpacity(this.transform.pitch),a=((e,n,r,i,o,a,s,l,c,u,d)=>{const h=e.transform,f=n.properties.get("color").toArray01();f[3]=i;const p=e.frameCounter/1e3%1;return{u_fog_matrix:r?h.calculateFogTileMatrix(r):e.identityMat,u_fog_range:n.getFovAdjustedRange(h._fov),u_fog_color:f,u_fog_horizon_blend:n.properties.get("horizon-blend"),u_fog_temporal_offset:p,u_frustum_tl:o,u_frustum_tr:a,u_frustum_br:s,u_frustum_bl:l,u_globe_pos:c,u_globe_radius:u,u_viewport:d,u_globe_transition:t.globeToMercatorTransition(h.zoom),u_is_globe:+("globe"===h.projection.name)}})(this,i,r,o,this.transform.frustumCorners.TL,this.transform.frustumCorners.TR,this.transform.frustumCorners.BR,this.transform.frustumCorners.BL,this.transform.globeCenterInViewSpace,this.transform.globeRadius,[this.transform.width*t.exported.devicePixelRatio,this.transform.height*t.exported.devicePixelRatio]);n.setFogUniformValues(e,a)}}setTileLoadedFlag(t){this.tileLoaded=t}saveCanvasCopy(){this.frameCopies.push(this.canvasCopy()),this.tileLoaded=!1}canvasCopy(){const t=this.context.gl,e=t.createTexture();return t.bindTexture(t.TEXTURE_2D,e),t.copyTexImage2D(t.TEXTURE_2D,0,t.RGBA,0,0,t.drawingBufferWidth,t.drawingBufferHeight,0),e}getCanvasCopiesAndTimestamps(){return{canvasCopies:this.frameCopies,timeStamps:this.loadTimeStamps}}averageElevationNeedsEasing(){if(!this.transform._elevation)return!1;const t=this.style&&this.style.fog;return!!t&&0!==t.getOpacity(this.transform.pitch)}getBackgroundTiles(){const e=this._backgroundTiles,n=this._backgroundTiles={},r=this.transform.coveringTiles({tileSize:512});for(const i of r)n[i.key]=e[i.key]||new t.Tile(i,512,this.transform.tileZoom,this);return n}clearBackgroundTiles(){this._backgroundTiles={}}}class Fr{constructor(t=0,e=0,n=0,r=0){if(isNaN(t)||t<0||isNaN(e)||e<0||isNaN(n)||n<0||isNaN(r)||r<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=t,this.bottom=e,this.left=n,this.right=r}interpolate(e,n,r){return null!=n.top&&null!=e.top&&(this.top=t.number(e.top,n.top,r)),null!=n.bottom&&null!=e.bottom&&(this.bottom=t.number(e.bottom,n.bottom,r)),null!=n.left&&null!=e.left&&(this.left=t.number(e.left,n.left,r)),null!=n.right&&null!=e.right&&(this.right=t.number(e.right,n.right,r)),this}getCenter(e,n){const r=t.clamp((this.left+e-this.right)/2,0,e),i=t.clamp((this.top+n-this.bottom)/2,0,n);return new t.pointGeometry(r,i)}equals(t){return this.top===t.top&&this.bottom===t.bottom&&this.left===t.left&&this.right===t.right}clone(){return new Fr(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function Br(e,n){const r=t.getColumn(e,3);t.fromQuat(e,n),t.setColumn(e,3,r)}function Nr(e,n){const r=t.identity$1([]);return t.rotateZ$1(r,r,-n),t.rotateX$1(r,r,-e),r}function $r(e,n){const r=[e[0],e[1],0],i=[n[0],n[1],0];if(t.length(r)>=1e-15){const e=t.normalize([],r);t.scale$2(i,e,t.dot(i,e)),n[0]=i[0],n[1]=i[1]}const o=t.cross([],n,e);if(t.len(o)<1e-15)return null;const a=Math.atan2(-o[1],o[0]);return Nr(Math.atan2(Math.sqrt(e[0]*e[0]+e[1]*e[1]),-e[2]),a)}class Zr{constructor(t,e){this.position=t,this.orientation=e}get position(){return this._position}set position(e){if(e){const n=e instanceof t.MercatorCoordinate?e:new t.MercatorCoordinate(e[0],e[1],e[2]);this._renderWorldCopies&&(n.x=t.wrap(n.x,0,1)),this._position=n}else this._position=null}lookAtPoint(e,n){if(this.orientation=null,!this.position)return;const r=this._elevation?this._elevation.getAtPointOrZero(t.MercatorCoordinate.fromLngLat(e)):0,i=this.position,o=t.MercatorCoordinate.fromLngLat(e,r),a=[o.x-i.x,o.y-i.y,o.z-i.z];n||(n=[0,0,1]),n[2]=Math.abs(n[2]),this.orientation=$r(a,n)}setPitchBearing(e,n){this.orientation=Nr(t.degToRad(e),t.degToRad(-n))}}class Hr{constructor(e,n){this._transform=t.identity([]),this.orientation=n,this.position=e}get mercatorPosition(){const e=this.position;return new t.MercatorCoordinate(e[0],e[1],e[2])}get position(){const e=t.getColumn(this._transform,3);return[e[0],e[1],e[2]]}set position(e){var n;e&&t.setColumn(this._transform,3,[(n=e)[0],n[1],n[2],1])}get orientation(){return this._orientation}set orientation(e){this._orientation=e||t.identity$1([]),e&&Br(this._transform,this._orientation)}getPitchBearing(){const t=this.forward(),e=this.right();return{bearing:Math.atan2(-e[1],e[0]),pitch:Math.atan2(Math.sqrt(t[0]*t[0]+t[1]*t[1]),-t[2])}}setPitchBearing(t,e){this._orientation=Nr(t,e),Br(this._transform,this._orientation)}forward(){const e=t.getColumn(this._transform,2);return[-e[0],-e[1],-e[2]]}up(){const e=t.getColumn(this._transform,1);return[-e[0],-e[1],-e[2]]}right(){const e=t.getColumn(this._transform,0);return[e[0],e[1],e[2]]}getCameraToWorld(e,n){const r=new Float64Array(16);return t.invert(r,this.getWorldToCamera(e,n)),r}getWorldToCameraPosition(e,n,r){const i=this.position;t.scale$2(i,i,-e);const o=new Float64Array(16);return t.fromScaling(o,[r,r,r]),t.translate(o,o,i),o[10]*=n,o}getWorldToCamera(e,n){const r=new Float64Array(16),i=new Float64Array(4),o=this.position;return t.conjugate(i,this._orientation),t.scale$2(o,o,-e),t.fromQuat(r,i),t.translate(r,r,o),r[1]*=-1,r[5]*=-1,r[9]*=-1,r[13]*=-1,r[8]*=n,r[9]*=n,r[10]*=n,r[11]*=n,r}getCameraToClipPerspective(e,n,r,i){const o=new Float64Array(16);return t.perspective(o,e,n,r,i),o}getDistanceToElevation(e){const n=0===e?0:t.mercatorZfromAltitude(e,this.position[1]),r=this.forward();return(n-this.position[2])/r[2]}clone(){return new Hr([...this.position],[...this.orientation])}}function Vr(e,n){const r=Wr(e.projection,e.zoom,e.width,e.height),i=function(e,n,r,i,o){const a=new t.LngLat(r.lng-180*Gr,r.lat),s=new t.LngLat(r.lng+180*Gr,r.lat),l=e.project(a.lng,a.lat),c=e.project(s.lng,s.lat),u=-Math.atan2(c.y-l.y,c.x-l.x),d=t.MercatorCoordinate.fromLngLat(r);d.y=t.clamp(d.y,-.999975,.999975);const h=d.toLngLat(),f=e.project(h.lng,h.lat),p=t.MercatorCoordinate.fromLngLat(h);p.x+=Gr;const m=p.toLngLat(),_=e.project(m.lng,m.lat),v=Xr(_.x-f.x,_.y-f.y,u),g=t.MercatorCoordinate.fromLngLat(h);g.y+=Gr;const y=g.toLngLat(),b=e.project(y.lng,y.lat),x=Xr(b.x-f.x,b.y-f.y,u),w=Math.abs(v.x)/Math.abs(x.y),k=t.identity([]);t.rotateZ(k,k,-u*(1-(o?0:i)));const M=t.identity([]);return t.scale(M,M,[1,1-(1-w)*i,1]),M[4]=-x.x/x.y*i,t.rotateZ(M,M,u),t.multiply(M,k,M),M}(e.projection,0,e.center,r,n),o=Ur(e);return t.scale(i,i,[o,o,1]),i}function Ur(e){const n=e.projection,r=Wr(e.projection,e.zoom,e.width,e.height),i=qr(n,e.center),o=qr(n,t.LngLat.convert(n.center));return Math.pow(2,i*r+(1-r)*o)}function Wr(e,n,r,i,o=1/0){const a=e.range;if(!a)return 0;const s=Math.min(o,Math.max(r,i)),l=Math.log(s/1024)/Math.LN2;return t.smoothstep(a[0]+l,a[1]+l,n)}const Gr=1/4e4;function qr(e,n){const r=t.clamp(n.lat,-t.MAX_MERCATOR_LATITUDE,t.MAX_MERCATOR_LATITUDE),i=new t.LngLat(n.lng-180*Gr,r),o=new t.LngLat(n.lng+180*Gr,r),a=e.project(i.lng,r),s=e.project(o.lng,r),l=t.MercatorCoordinate.fromLngLat(i),c=t.MercatorCoordinate.fromLngLat(o),u=s.x-a.x,d=s.y-a.y,h=c.x-l.x,f=c.y-l.y,p=Math.sqrt((h*h+f*f)/(u*u+d*d));return Math.log(p)/Math.LN2}function Xr(t,e,n){const r=Math.cos(n),i=Math.sin(n);return{x:t*r-e*i,y:t*i+e*r}}class Jr{constructor(e,n,r,i,o,a,s){this.tileSize=512,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=n||22,this._minPitch=null==r?0:r,this._maxPitch=null==i?60:i,this.setProjection(a),this.setMaxBounds(s),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._nearZ=0,this._farZ=0,this._unmodified=!0,this._edgeInsets=new Fr,this._projMatrixCache={},this._alignedProjMatrixCache={},this._fogTileMatrixCache={},this._distanceTileDataCache={},this._camera=new Hr,this._centerAltitude=0,this._averageElevation=0,this.cameraElevationReference="ground",this._pixelsPerMercatorPixel=1,this.globeRadius=0,this.globeCenterInViewSpace=[0,0,0],this._horizonShift=.1}clone(){const t=new Jr(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies,this.getProjection());return t._elevation=this._elevation,t._centerAltitude=this._centerAltitude,t._centerAltitudeValidForE
2xaggeration=this._centerAltitudeValidForExaggeration,t.tileSize=this.tileSize,t.mercatorFromTransition=this.mercatorFromTransition,t.width=this.width,t.height=this.height,t.cameraElevationReference=this.cameraElevationReference,t._center=this._center,t._setZoom(this.zoom),t._seaLevelZoom=this._seaLevelZoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._nearZ=this._nearZ,t._farZ=this._farZ,t._averageElevation=this._averageElevation,t._unmodified=this._unmodified,t._edgeInsets=this._edgeInsets.clone(),t._camera=this._camera.clone(),t._calcMatrices(),t.freezeTileCoverage=this.freezeTileCoverage,t.frustumCorners=this.frustumCorners,t}get elevation(){return this._elevation}set elevation(t){this._elevation!==t&&(this._elevation=t,this._updateCameraOnTerrain(),this._calcMatrices())}updateElevation(t){const e=this._elevation&&this._elevation.exaggeration()!==this._centerAltitudeValidForExaggeration;(null==this._seaLevelZoom||e)&&this._updateCameraOnTerrain(),(t||e)&&this._constrainCameraAltitude(),this._calcMatrices()}getProjection(){return t.pick(this.projection,["name","center","parallels"])}setProjection(n){this.projectionOptions=n||{name:"mercator"};const r=this.projection?this.getProjection():void 0;this.projection=t.getProjection(this.projectionOptions);const i=!e(r,this.getProjection());return i&&this._calcMatrices(),this.mercatorFromTransition=!1,i}setMercatorFromTransition(){const e=this.projection.name;this.mercatorFromTransition=!0,this.projectionOptions={name:"mercator"},this.projection=t.getProjection({name:"mercator"});const n=e!==this.projection.name;return n&&this._calcMatrices(),n}get minZoom(){return this._minZoom}set minZoom(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))}get maxZoom(){return this._maxZoom}set maxZoom(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))}get minPitch(){return this._minPitch}set minPitch(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))}get maxPitch(){return this._maxPitch}set maxPitch(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))}get renderWorldCopies(){return this._renderWorldCopies&&!0===this.projection.supportsWorldCopies}set renderWorldCopies(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t}get worldSize(){return this.tileSize*this.scale}get cameraWorldSize(){const t=Math.max(this._camera.getDistanceToElevation(this._averageElevation),Number.EPSILON);return this._worldSizeFromZoom(this._zoomFromMercatorZ(t))}get pixelsPerMeter(){return this.projection.pixelsPerMeter(this.center.lat,this.worldSize)}get cameraPixelsPerMeter(){return t.mercatorZfromAltitude(this.center.lat,this.cameraWorldSize)}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.pointGeometry(this.width,this.height)}get bearing(){return t.wrap(this.rotation,-180,180)}set bearing(t){this.rotation=t}get rotation(){return-this.angle/Math.PI*180}set rotation(e){const n=-e*Math.PI/180;var r;this.angle!==n&&(this._unmodified=!1,this.angle=n,this._calcMatrices(),this.rotationMatrix=(r=new t.ARRAY_TYPE(4),t.ARRAY_TYPE!=Float32Array&&(r[1]=0,r[2]=0),r[0]=1,r[3]=1,r),function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=r*-s+o*l,t[3]=i*-s+a*l}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(e){const n=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==n&&(this._unmodified=!1,this._pitch=n,this._calcMatrices())}get aspect(){return this.width/this.height}get fovX(){return this._fov}get fovY(){const t=1/Math.tan(.5*this.fovX);return 2*Math.atan(1/this.aspect/t)}set fov(e){e=Math.max(.01,Math.min(60,e)),this._fov!==e&&(this._unmodified=!1,this._fov=t.degToRad(e),this._calcMatrices())}get averageElevation(){return this._averageElevation}set averageElevation(t){this._averageElevation=t,this._calcFogMatrices(),this._distanceTileDataCache={}}get zoom(){return this._zoom}set zoom(t){const e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._setZoom(e),this._updateSeaLevelZoom(),this._constrain(),this._calcMatrices())}_setZoom(t){this._zoom=t,this.scale=this.zoomScale(t),this.tileZoom=Math.floor(t),this.zoomFraction=t-this.tileZoom}_updateCameraOnTerrain(){if(!this._elevation||!this._elevation.isDataAvailableAtPoint(this.locationCoordinate(this.center)))return this._centerAltitude=0,this._seaLevelZoom=null,void(this._centerAltitudeValidForE
vendor: 38,787 bytes, line 2
2xaggeration=void 0);const t=this._elevation;this._centerAltitude=t.getAtPointOrZero(this.locationCoordinate(this.center)),this._centerAltitudeValidForExaggeration=t.exaggeration(),this._updateSeaLevelZoom()}_updateSeaLevelZoom(){void 0!==this._centerAltitudeValidForExaggeration&&(this._seaLevelZoom=this._zoomFromMercatorZ((this.pixelsPerMeter*this._centerAltitude+this.cameraToCenterDistance)/this.worldSize))}sampleAverageElevation(){if(!this._elevation)return 0;const e=this._elevation,n=[[.5,.2],[.3,.5],[.5,.5],[.7,.5],[.5,.8]],r=this.horizonLineFromTop();let i=0,o=0;for(let a=0;a<n.length;a++){const s=new t.pointGeometry(n[a][0]*this.width,r+n[a][1]*(this.height-r)),l=e.pointCoordinate(s);if(!l)continue;const c=1/Math.hypot(l[0]-this._camera.position[0],l[1]-this._camera.position[1]);i+=l[3]*c,o+=c}return 0===o?NaN:i/o}get center(){return this._center}set center(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._terrainEnabled()&&("ground"===this.cameraElevationReference?this._updateCameraOnTerrain():this._updateZoomFromElevation()),this._constrain(),this._calcMatrices())}_updateZoomFromElevation(){if(null==this._seaLevelZoom||!this._elevation)return;const t=this._seaLevelZoom,e=this._elevation.getAtPointOrZero(this.locationCoordinate(this.center)),n=this.pixelsPerMeter/this.worldSize*e,r=this._mercatorZfromZoom(t),i=this._mercatorZfromZoom(this._maxZoom),o=Math.max(r-n,i);this._setZoom(this._zoomFromMercatorZ(o))}get padding(){return this._edgeInsets.toJSON()}set padding(t){this._edgeInsets.equals(t)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,t,1),this._calcMatrices())}computeZoomRelativeTo(e){const n=this.rayIntersectionCoordinate(this.pointRayIntersection(this.centerPoint,e.toAltitude()));let r;r=e.z<this._camera.position[2]?[n.x,n.y,n.z]:[e.x,e.y,e.z];const i=t.length(t.sub([],this._camera.position,r));return t.clamp(this._zoomFromMercatorZ(i),this._minZoom,this._maxZoom)}setFreeCameraOptions(e){if(!this.height)return;if(!e.position&&!e.orientation)return;this._updateCameraState();let n=!1;if(e.orientation&&!t.exactEquals(e.orientation,this._camera.orientation)&&(n=this._setCameraOrientation(e.orientation)),e.position){const r=[e.position.x,e.position.y,e.position.z];t.exactEquals$1(r,this._camera.position)||(this._setCameraPosition(r),n=!0)}n&&(this._updateStateFromCamera(),this.recenterOnTerrain())}getFreeCameraOptions(){this._updateCameraState();const e=this._camera.position,n=new Zr;return n.position=new t.MercatorCoordinate(e[0],e[1],e[2]),n.orientation=this._camera.orientation,n._elevation=this.elevation,n._renderWorldCopies=this.renderWorldCopies,n}_setCameraOrientation(e){if(!t.length$1(e))return!1;t.normalize$1(e,e);const n=t.transformQuat([],[0,0,-1],e),r=t.transformQuat([],[0,-1,0],e);if(r[2]<0)return!1;const i=$r(n,r);return!!i&&(this._camera.orientation=i,!0)}_setCameraPosition(e){const n=this.zoomScale(this.minZoom)*this.tileSize,r=this.zoomScale(this.maxZoom)*this.tileSize,i=this.cameraToCenterDistance;e[2]=t.clamp(e[2],i/r,i/n),this._camera.position=e}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}get fovAboveCenter(){return this._fov*(.5+this.centerOffset.y/this.height)}isPaddingEqual(t){return this._edgeInsets.equals(t)}interpolatePadding(t,e,n){this._unmodified=!1,this._edgeInsets.interpolate(t,e,n),this._constrain(),this._calcMatrices()}coveringZoomLevel(t){const e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)}getVisibleUnwrappedCoordinates(e){const n=[new t.UnwrappedTileID(0,e)];if(this.renderWorldCopies){const r=this.pointCoordinate(new t.pointGeometry(0,0)),i=this.pointCoordinate(new t.pointGeometry(this.width,0)),o=this.pointCoordinate(new t.pointGeometry(this.width,this.height)),a=this.pointCoordinate(new t.pointGeometry(0,this.height)),s=Math.floor(Math.min(r.x,i.x,o.x,a.x)),l=Math.floor(Math.max(r.x,i.x,o.x,a.x)),c=1;for(let r=s-c;r<=l+c;r++)0!==r&&n.push(new t.UnwrappedTileID(r,e))}return n}coveringTiles(e){let n=this.coveringZoomLevel(e);const r=n,i=this.elevation&&!e.isTerrainDEM,o="mercator"===this.projection.name;if(void 0!==e.minzoom&&n<e.minzoom)return[];void 0!==e.maxzoom&&n>e.maxzoom&&(n=e.maxzoom);const a=this.locationCoordinate(this.center),s=this.center.lat,l=1<<n,c=[l*a.x,l*a.y,0],u="globe"===this.projection.name,d=!u,h=t.Frustum.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,n,d),f=u?this._camera.mercatorPosition:this.pointCoordinate(this.getCameraPoint()),p=l*t.mercatorZfromAltitude(1,this.center.lat),m=this._camera.position[2]/t.mercatorZfromAltitude(1,this.center.lat),_=[l*f.x,l*f.y,m*(d?1:p)],v=this.cameraToCenterDistance/e.tileSize*(e.roundZoom?1:.502),g=this.pitch<=60&&this._edgeInsets.top<=this._edgeInsets.bottom&&!this._elevation&&!this.projection.isReprojectedInTileSpace?n:0,y=e.isTerrainDEM&&this._elevation?1e4*this._elevation.exaggeration():this._centerAltitude,b=e.isTerrainDEM?-y:this._elevation?this._elevation.getMinElevationBelowMSL():0,x=this.projection.isReprojectedInTileSpace?Ur(this):1,w=e=>{const n=1/4e4,r=new t.MercatorCoordinate(e.x+n,e.y,e.z),i=new t.MercatorCoordinate(e.x,e.y+n,e.z),o=e.toLngLat(),a=r.toLngLat(),s=i.toLngLat(),l=this.locationCoordinate(o),c=this.locationCoordinate(a),u=this.locationCoordinate(s),d=Math.hypot(c.x-l.x,c.y-l.y),h=Math.hypot(u.x-l.x,u.y-l.y);return Math.sqrt(d*h)*x/n},k=e=>{const n=y,r=b;return{aabb:t.tileAABB(this,l,0,0,0,e,r,n,this.projection),zoom:0,x:0,y:0,minZ:r,maxZ:n,wrap:e,fullyVisible:!1}},M=[];let C=[];const S=n,T=e.reparseOverscaled?r:n,L=t=>t*t,E=L((m-this._centerAltitude)*p),A=t=>{if(!this._elevation||!t.tileID||!o)return;const e=this._elevation.getMinMaxForTile(t.tileID),n=t.aabb;e?(n.min[2]=e.min,n.max[2]=e.max,n.center[2]=(n.min[2]+n.max[2])/2):(t.shouldSplit=D(t),t.shouldSplit||(n.min[2]=n.max[2]=n.center[2]=this._centerAltitude))},D=e=>{if(e.zoom<g)return!0;if(e.zoom===S)return!1;if(null!=e.shouldSplit)return e.shouldSplit;const n=e.aabb.distanceX(_),o=e.aabb.distanceY(_);let a=E,l=1;if(u){a=L(e.aabb.distanceZ(_));const n=Math.pow(2,e.zoom),r=t.latFromMercatorY((e.y+1)/n),i=t.latFromMercatorY(e.y/n),o=Math.min(Math.max(s,r),i),c=t.circumferenceAtLatitude(o)/t.circumferenceAtLatitude(s);if(l=o===s?1/Math.max(1,this._mercatorScaleRatio-.3):Math.min(1,c/this._mercatorScaleRatio),this.zoom<=t.GLOBE_ZOOM_THRESHOLD_MIN&&e.zoom===S-1&&c>=.9)return!0}else if(i&&(a=L(e.aabb.distanceZ(_)*p)),this.projection.isReprojectedInTileSpace&&r<=5){const n=Math.pow(2,e.zoom),r=w(new t.MercatorCoordinate((e.x+.5)/n,(e.y+.5)/n));l=r>.85?1:r}const c=n*n+o*o+a,d=L((1<<S-e.zoom)*v*l*((t,e)=>{if(e*L(.707)<t)return 1;const n=Math.sqrt(e/t);return n/(1.4144271570014144+(Math.pow(1.1,n-1.4144271570014144+1)-1)/(1.1-1)-1)})(Math.max(a,E),c));return c<d};if(this.renderWorldCopies)for(let t=1;t<=3;t++)M.push(k(-t)),M.push(k(t));for(M.push(k(0));M.length>0;){const r=M.pop(),a=r.x,s=r.y;let d=r.fullyVisible;if(!d){const t=r.aabb.intersects(h);if(0===t)continue;d=2===t}if(r.zoom!==S&&D(r))for(let e=0;e<4;e++){const n=(a<<1)+e%2,c=(s<<1)+(e>>1),h={aabb:o?r.aabb.quadrant(e):t.tileAABB(this,l,r.zoom+1,n,c,r.wrap,r.minZ,r.maxZ,this.projection),zoom:r.zoom+1,x:n,y:c,wrap:r.wrap,fullyVisible:d,tileID:void 0,shouldSplit:void 0,minZ:r.minZ,maxZ:r.maxZ};i&&!u&&(h.tileID=new t.OverscaledTileID(r.zoom+1===S?T:r.zoom+1,r.wrap,r.zoom+1,n,c),A(h)),M.push(h)}else{const i=r.zoom===S?T:r.zoom;if(e.minzoom&&e.minzoom>i)continue;const o=c[0]-(.5+a+(r.wrap<<r.zoom))*(1<<n-r.zoom),l=c[1]-.5-s,u=r.tileID?r.tileID:new t.OverscaledTileID(i,r.wrap,r.zoom,a,s);C.push({tileID:u,distanceSq:o*o+l*l})}}if(this.fogCullDistSq){const n=this.fogCullDistSq,r=this.horizonLineFromTop();C=C.filter((i=>{const o=[0,0,0,1],a=[t.EXTENT,t.EXTENT,0,1],s=this.calculateFogTileMatrix(i.tileID.toUnwrapped());t.transformMat4$1(o,o,s),t.transformMat4$1(a,a,s);const l=t.getAABBPointSquareDist(o,a);if(0===l)return!0;let c=!1;const u=this._elevation;if(u&&l>n&&0!==r){const n=this.calculateProjMatrix(i.tileID.toUnwrapped());let o;e.isTerrainDEM||(o=u.getMinMaxForTile(i.tileID)),o||(o={min:b,max:y});const a=t.furthestTileCorner(this.rotation),s=[a[0]*t.EXTENT,a[1]*t.EXTENT,o.max];t.transformMat4(s,s,n),c=(1-s[1])*this.height*.5<r}return l<n||c}))}return C.sort(((t,e)=>t.distanceSq-e.distanceSq)).map((t=>t.tileID))}resize(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(t){return Math.pow(2,t)}scaleZoom(t){return Math.log(t)/Math.LN2}project(e){const n=t.clamp(e.lat,-t.MAX_MERCATOR_LATITUDE,t.MAX_MERCATOR_LATITUDE),r=this.projection.project(e.lng,n);return new t.pointGeometry(r.x*this.worldSize,r.y*this.worldSize)}unproject(t){return this.projection.unproject(t.x/this.worldSize,t.y/this.worldSize)}get point(){return this.project(this.center)}setLocationAtPoint(e,n){let r,i;const o=this.centerPoint;if("globe"===this.projection.name){const t=this.worldSize;r=(n.x-o.x)/t,i=(n.y-o.y)/t}else{const t=this.pointCoordinate(n),e=this.pointCoordinate(o);r=t.x-e.x,i=t.y-e.y}const a=this.locationCoordinate(e);this.setLocation(new t.MercatorCoordinate(a.x-r,a.y-i))}setLocation(t){this.center=this.coordinateLocation(t),this.projection.wrap&&(this.center=this.center.wrap())}locationPoint(t){return this.projection.locationPoint(this,t)}locationPoint3D(t){return this.projection.locationPoint(this,t,!0)}pointLocation(t){return this.coordinateLocation(this.pointCoordinate(t))}pointLocation3D(t){return this.coordinateLocation(this.pointCoordinate3D(t))}locationCoordinate(e,n){const r=n?t.mercatorZfromAltitude(n,e.lat):void 0,i=this.projection.project(e.lng,e.lat);return new t.MercatorCoordinate(i.x,i.y,r)}coordinateLocation(t){return this.projection.unproject(t.x,t.y)}pointRayIntersection(e,n){const r=null!=n?n:this._centerAltitude,i=[e.x,e.y,0,1],o=[e.x,e.y,1,1];t.transformMat4$1(i,i,this.pixelMatrixInverse),t.transformMat4$1(o,o,this.pixelMatrixInverse);const a=o[3];t.scale$1(i,i,1/i[3]),t.scale$1(o,o,1/a);const s=i[2],l=o[2];return{p0:i,p1:o,t:s===l?0:(r-s)/(l-s)}}screenPointToMercatorRay(e){const n=[e.x,e.y,0,1],r=[e.x,e.y,1,1];return t.transformMat4$1(n,n,this.pixelMatrixInverse),t.transformMat4$1(r,r,this.pixelMatrixInverse),t.scale$1(n,n,1/n[3]),t.scale$1(r,r,1/r[3]),n[2]=t.mercatorZfromAltitude(n[2],this._center.lat)*this.worldSize,r[2]=t.mercatorZfromAltitude(r[2],this._center.lat)*this.worldSize,t.scale$1(n,n,1/this.worldSize),t.scale$1(r,r,1/this.worldSize),new t.Ray([n[0],n[1],n[2]],t.normalize([],t.sub([],r,n)))}rayIntersectionCoordinate(e){const{p0:n,p1:r,t:i}=e,o=t.mercatorZfromAltitude(n[2],this._center.lat),a=t.mercatorZfromAltitude(r[2],this._center.lat);return new t.MercatorCoordinate(t.number(n[0],r[0],i)/this.worldSize,t.number(n[1],r[1],i)/this.worldSize,t.number(o,a,i))}pointCoordinate(t,e=this._centerAltitude){return this.projection.pointCoordinate(this,t.x,t.y,e)}pointCoordinate3D(e){if(!this.elevation)return this.pointCoordinate(e);let n=this.projection.pointCoordinate3D(this,e.x,e.y);if(n)return new t.MercatorCoordinate(n[0],n[1],n[2]);let r=0,i=this.horizonLineFromTop();if(e.y>i)return this.pointCoordinate(e);const o=.02*i,a=e.clone();for(let e=0;e<10&&i-r>o;e++){a.y=t.number(r,i,.66);const e=this.projection.pointCoordinate3D(this,a.x,a.y);e?(i=a.y,n=e):r=a.y}return n?new t.MercatorCoordinate(n[0],n[1],n[2]):this.pointCoordinate(e)}isPointAboveHorizon(t){return this.projection.isPointAboveHorizon(this,t)}_coordinatePoint(e,n){const r=n&&this.elevation?this.elevation.getAtPointOrZero(e,this._centerAltitude):this._centerAltitude,i=[e.x*this.worldSize,e.y*this.worldSize,r+e.toAltitude(),1];return t.transformMat4$1(i,i,this.pixelMatrix),i[3]>0?new t.pointGeometry(i[0]/i[3],i[1]/i[3]):new t.pointGeometry(Number.MAX_VALUE,Number.MAX_VALUE)}_getGlobeBounds(){const{top:e,left:n}=this._edgeInsets,r=this.height-this._edgeInsets.bottom,i=this.width-this._edgeInsets.right,o=this.pointCoordinate3D(new t.pointGeometry(n,e)),a=this.pointCoordinate3D(new t.pointGeometry(i,e)),s=this.pointCoordinate3D(new t.pointGeometry(i,r)),l=this.pointCoordinate3D(new t.pointGeometry(n,r));let c=Math.min(o.x,l.x),u=Math.max(a.x,s.x),d=Math.min(o.y,a.y),h=Math.max(l.y,s.y);const f=Math.pow(2,-this.zoom)/16,p=(e,n,r,i)=>{const o=(e+r)/2,a=(n+i)/2,s=new t.pointGeometry(o,a),l=this.pointCoordinate3D(s),m=Math.max(0,c-l.x,d-l.y,l.x-u,l.y-h);c=Math.min(c,l.x),u=Math.max(u,l.x),d=Math.min(d,l.y),h=Math.max(h,l.y),m>f&&(p(e,n,o,a),p(o,a,r,i))};p(n,e,i,e),p(i,e,i,r),p(i,r,n,r),p(n,r,n,e);const m=new t.LngLat(t.lngFromMercatorX(u),t.latFromMercatorY(d)),_=new t.LngLat(t.lngFromMercatorX(c),t.latFromMercatorY(h));return new t.LngLatBounds(_,m)}_getBounds(e,n){if("globe"===this.projection.name)return this._getGlobeBounds();const r=new t.pointGeometry(this._edgeInsets.left,this._edgeInsets.top),i=new t.pointGeometry(this.width-this._edgeInsets.right,this._edgeInsets.top),o=new t.pointGeometry(this.width-this._edgeInsets.right,this.height-this._edgeInsets.bottom),a=new t.pointGeometry(this._edgeInsets.left,this.height-this._edgeInsets.bottom);let s=this.pointCoordinate(r,e),l=this.pointCoordinate(i,e);const c=this.pointCoordinate(o,n),u=this.pointCoordinate(a,n),d=(t,e)=>(e.y-t.y)/(e.x-t.x);return s.y>1&&l.y>=0?s=new t.MercatorCoordinate((1-u.y)/d(u,s)+u.x,1):s.y<0&&l.y<=1&&(s=new t.MercatorCoordinate(-u.y/d(u,s)+u.x,0)),l.y>1&&s.y>=0?l=new t.MercatorCoordinate((1-c.y)/d(c,l)+c.x,1):l.y<0&&s.y<=1&&(l=new t.MercatorCoordinate(-c.y/d(c,l)+c.x,0)),(new t.LngLatBounds).extend(this.coordinateLocation(s)).extend(this.coordinateLocation(l)).extend(this.coordinateLocation(u)).extend(this.coordinateLocation(c))}_getBounds3D(){const t=this.elevation;if(!t.visibleDemTiles.length||t.isUsingMockSource())return this._getBounds(0,0);const e=t.visibleDemTiles.reduce(((t,e)=>{if(e.dem){const n=e.dem.tree;t.min=Math.min(t.min,n.minimums[0]),t.max=Math.max(t.max,n.maximums[0])}return t}),{min:Number.MAX_VALUE,max:0});return this._getBounds(e.min*t.exaggeration(),e.max*t.exaggeration())}getBounds(){return this._terrainEnabled()?this._getBounds3D():this._getBounds(0,0)}horizonLineFromTop(t=!0){const e=this.height/2/Math.tan(this._fov/2)/Math.tan(Math.max(this._pitch,.1))+this.centerOffset.y,n=this.height/2-e*(1-this._horizonShift);return t?Math.max(0,n):n}getMaxBounds(){return this.maxBounds}setMaxBounds(e){this.maxBounds=e,this.minLat=-t.MAX_MERCATOR_LATITUDE,this.maxLat=t.MAX_MERCATOR_LATITUDE,this.minLng=-180,this.maxLng=180,e&&(this.minLat=e.getSouth(),this.maxLat=e.getNorth(),this.minLng=e.getWest(),this.maxLng=e.getEast(),this.maxLng<this.minLng&&(this.maxLng+=360)),this.worldMinX=t.mercatorXfromLng(this.minLng)*this.tileSize,this.worldMaxX=t.mercatorXfromLng(this.maxLng)*this.tileSize,this.worldMinY=t.mercatorYfromLat(this.maxLat)*this.tileSize,this.worldMaxY=t.mercatorYfromLat(this.minLat)*this.tileSize,this._constrain()}calculatePosMatrix(t,e){return this.projection.createTileMatrix(this,e,t)}calculateDistanceTileData(e){const n=e.key,r=this._distanceTileDataCache;if(r[n])return r[n];const i=e.canonical,o=1/this.height,a=this.cameraWorldSize/this.zoomScale(i.z),s=(i.x+Math.pow(2,i.z)*e.wrap)*a,l=i.y*a,c=this.point,u=this.angle,d=Math.sin(-u),h=-Math.cos(-u);return r[n]={bearing:[d,h],center:[(c.x-s)*o,(c.y-l)*o],scale:a/t.EXTENT*o},r[n]}calculateFogTileMatrix(e){const n=e.key,r=this._fogTileMatrixCache;if(r[n])return r[n];const i=this.projection.createTileMatrix(this,this.cameraWorldSize,e);return t.multiply(i,this.worldToFogMatrix,i),r[n]=new Float32Array(i),r[n]}calculateProjMatrix(e,n=!1){const r=e.key,i=n?this._alignedProjMatrixCache:this._projMatrixCache;if(i[r])return i[r];const o=this.calculatePosMatrix(e,this.worldSize);return t.multiply(o,this.projection.isReprojectedInTileSpace?this.mercatorMatrix:n?this.alignedProjMatrix:this.projMatrix,o),i[r]=new Float32Array(o),i[r]}calculatePixelsToTileUnitsMatrix(e){const n=e.tileID.key,r=this._pixelsToTileUnitsCache;if(r[n])return r[n];const i=function(e,n){const{scale:r}=e.tileTransform,i=r*t.EXTENT/(e.tileSize*Math.pow(2,n.zoom-e.tileID.overscaledZ+e.tileID.canonical.z));return o=new Float32Array(4),l=(a=n.inverseAdjustmentMatrix)[1],c=a[2],u=a[3],h=(s=[i,i])[1],o[0]=a[0]*(d=s[0]),o[1]=l*d,o[2]=c*h,o[3]=u*h,o;var o,a,s,l,c,u,d,h}(e,this);return r[n]=i,r[n]}customLayerMatrix(){return this.mercatorMatrix.slice()}recenterOnTerrain(){if(!this._elevation||"globe"===this.projection.name)return;const e=this._elevation;this._updateCameraState();const n=t.mercatorZfromAltitude(1,this._center.lat)*this.worldSize,r=this._computeCameraPosition(n),i=this._camera.forward(),o=t.mercatorZfromAltitude(1,this._center.lat);r[2]/=o,i[2]/=o,t.normalize(i,i);const a=e.raycast(r,i,e.exaggeration());if(a){const e=t.scaleAndAdd([],r,i,a),n=new t.MercatorCoordinate(e[0],e[1],t.mercatorZfromAltitude(e[2],t.latFromMercatorY(e[1]))),s=(n.z+t.length([n.x-r[0],n.y-r[1],n.z-r[2]*o]))*this._pixelsPerMercatorPixel;this._seaLevelZoom=this._zoomFromMercatorZ(s),this._centerAltitude=n.toAltitude(),this._center=this.coordinateLocation(n),this._updateZoomFromElevation(),this._constrain(),this._calcMatrices()}}_constrainCameraAltitude(){if(!this._elevation)return;const e=this._elevation;this._updateCameraState();const n=t.mercatorZfromAltitude(1,this._center.lat)*this.worldSize,r=this._computeCameraPosition(n),i=e.getAtPointOrZero(new t.MercatorCoordinate(...r)),o=this._minimumHeightOverTerrain()*Math.cos(t.degToRad(this._maxPitch)),a=this._camera.position[2]-this.pixelsPerMeter/this.worldSize*i;if(a<o){const e=this.locationCoordinate(this._center,this._centerAltitude),n=[e.x-r[0],e.y-r[1],e.z-r[2]],i=t.length(n);n[2]-=(o-a)/this._pixelsPerMercatorPixel;const s=t.length(n);if(0===s)return;t.scale$2(n,n,i/s*this._pixelsPerMercatorPixel),this._camera.position=[e.x-n[0],e.y-n[1],e.z*this._pixelsPerMercatorPixel-n[2]],this._camera.orientation=$r(n,this._camera.up()),this._updateStateFromCamera()}}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;const e="globe"===this.projection.name||this.mercatorFromTransition;if(this.projection.isReprojectedInTileSpace||e){const n=this.center;return n.lat=t.clamp(n.lat,this.minLat,this.maxLat),(this.maxBounds||!this.renderWorldCopies&&!e)&&(n.lng=t.clamp(n.lng,this.minLng,this.maxLng)),this.center=n,void(this._constraining=!1)}const n=this._unmodified,{x:r,y:i}=this.point;let o=0,a=r,s=i;const l=this.width/2,c=this.height/2,u=this.worldMinY*this.scale,d=this.worldMaxY*this.scale;if(i-c<u&&(s=u+c),i+c>d&&(s=d-c),d-u<this.height&&(o=Math.max(o,this.height/(d-u)),s=(d+u)/2),this.maxBounds||!this._renderWorldCopies||!this.projection.wrap){const t=this.worldMinX*this.scale,e=this.worldMaxX*this.scale,n=this.worldSize/2-(t+e)/2;a=(r+n+this.worldSize)%this.worldSize-n,a-l<t&&(a=t+l),a+l>e&&(a=e-l),e-t<this.width&&(o=Math.max(o,this.width/(e-t)),a=(e+t)/2)}a===r&&s===i||(this.center=this.unproject(new t.pointGeometry(a,s))),o&&(this.zoom+=this.scaleZoom(o)),this._constrainCameraAltitude(),this._unmodified=n,this._constraining=!1}_minZoomForBounds(){let t=Math.max(0,this.scaleZoom(this.height/(this.worldMaxY-this.worldMinY)));return this.maxBounds&&(t=Math.max(t,this.scaleZoom(this.width/(this.worldMaxX-this.worldMinX)))),t}_maxCameraBoundsDistance(){return this._mercatorZfromZoom(this._minZoomForBounds())}_calcMatrices(){if(!this.height)return;const e=this.centerOffset,n=this.pixelsPerMeter;"globe"===this.projection.name&&(this._mercatorScaleRatio=t.mercatorZfromAltitude(1,this.center.lat)/t.mercatorZfromAltitude(1,t.GLOBE_SCALE_MATCH_LATITUDE));const r=Wr(this.projection,this.zoom,this.width,this.height,1024);this._pixelsPerMercatorPixel=this.projection.pixelSpaceConversion(this.center.lat,this.worldSize,r),this.cameraToCenterDistance=.5/Math.tan(.5*this._fov)*this.height*this._pixelsPerMercatorPixel,this._updateCameraState(),this._farZ=this.projection.farthestPixelDistance(this),this._nearZ=this.height/50;const i=this._camera.getWorldToCamera(this.worldSize,"meters"===this.projection.zAxisUnit?n:1),o=this._camera.getCameraToClipPerspective(this._fov,this.width/this.height,this._nearZ,this._farZ);o[8]=2*-e.x/this.width,o[9]=2*e.y/this.height;let a=t.mul([],o,i);if(this.projection.isReprojectedInTileSpace){const e=this.locationCoordinate(this.center),n=t.identity([]);t.translate(n,n,[e.x*this.worldSize,e.y*this.worldSize,0]),t.multiply(n,n,Vr(this)),t.translate(n,n,[-e.x*this.worldSize,-e.y*this.worldSize,0]),t.multiply(a,a,n),this.inverseAdjustmentMatrix=function(t){const e=Vr(t,!0);return g([],[e[0],e[1],e[4],e[5]])}(this)}else this.inverseAdjustmentMatrix=[1,0,0,1];this.mercatorMatrix=t.scale([],a,[this.worldSize,this.worldSize,this.worldSize/n,1]),this.projMatrix=a,this.invProjMatrix=t.invert(new Float64Array(16),this.projMatrix);const s=t.invert([],o);this.frustumCorners=t.FrustumCorners.fromInvProjectionMatrix(s,this.horizonLineFromTop(),this.height);const l=new Float32Array(16);t.identity(l),t.scale(l,l,[1,-1,1]),t.rotateX(l,l,this._pitch),t.rotateZ(l,l,this.angle);const c=t.perspective(new Float32Array(16),this._fov,this.width/this.height,this._nearZ,this._farZ),u=(Math.PI/2-this._pitch)*(this.height/this._fov)*this._horizonShift;c[8]=2*-e.x/this.width,c[9]=2*(e.y+u)/this.height,this.skyboxMatrix=t.multiply(l,c,l);const d=this.point,h=d.x,f=d.y,p=this.width%2/2,m=this.height%2/2,_=Math.cos(this.angle),v=Math.sin(this.angle),y=h-Math.round(h)+_*p+v*m,b=f-Math.round(f)+_*m+v*p,x=new Float64Array(a);if(t.translate(x,x,[y>.5?y-1:y,b>.5?b-1:b,0]),this.alignedProjMatrix=x,a=t.create(),t.scale(a,a,[this.width/2,-this.height/2,1]),t.translate(a,a,[1,-1,0]),this.labelPlaneMatrix=a,a=t.create(),t.scale(a,a,[1,-1,1]),t.translate(a,a,[-1,-1,0]),t.scale(a,a,[2/this.width,2/this.height,1]),this.glCoordMatrix=a,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),this._calcFogMatrices(),this._distanceTileDataCache={},a=t.invert(new Float64Array(16),this.pixelMatrix),!a)throw new Error("failed to invert matrix");if(this.pixelMatrixInverse=a,"globe"===this.projection.name||this.mercatorFromTransition){this.globeMatrix=t.calculateGlobeMatrix(this);const e=[this.globeMatrix[12],this.globeMatrix[13],this.globeMatrix[14]];this.globeCenterInViewSpace=t.transformMat4(e,e,i),this.globeRadius=this.worldSize/2/Math.PI-1}else this.globeMatrix=a;this._projMatrixCache={},this._alignedProjMatrixCache={},this._pixelsToTileUnitsCache={}}_calcFogMatrices(){this._fogTileMatrixCache={};const e=this.cameraWorldSize,n=this.cameraPixelsPerMeter,r=this._camera.position,i=1/this.height/this._pixelsPerMercatorPixel,o=[e,e,n];t.scale$2(o,o,i),t.scale$2(r,r,-1),t.multiply$2(r,r,o);const a=t.create();t.translate(a,a,r),t.scale(a,a,o),this.mercatorFogMatrix=a,this.worldToFogMatrix=this._camera.getWorldToCameraPosition(e,n,i)}_computeCameraPosition(t){const e=(t=t||this.pixelsPerMeter)/this.pixelsPerMeter,n=this._camera.forward(),r=this.point,i=this._mercatorZfromZoom(this._seaLevelZoom?this._seaLevelZoom:this._zoom)*e-t/this.worldSize*this._centerAltitude;return[r.x/this.worldSize-n[0]*i,r.y/this.worldSize-n[1]*i,t/this.worldSize*this._centerAltitude-n[2]*i]}_updateCameraState(){this.height&&(this._camera.setPitchBearing(this._pitch,this.angle),this._camera.position=this._computeCameraPosition())}_translateCameraConstrained(e){const n=this._maxCameraBoundsDistance()*Math.cos(this._pitch),r=this._camera.position[2],i=e[2];let o=1;this.projection.wrap&&(this.center=this.center.wrap()),i>0&&(o=Math.min((n-r)/i,1)),this._camera.position=t.scaleAndAdd([],this._camera.position,e,o),this._updateStateFromCamera()}_updateStateFromCamera(){const e=this._camera.position,n=this._camera.forward(),{pitch:r,bearing:i}=this._camera.getPitchBearing(),o=t.mercatorZfromAltitude(this._centerAltitude,this.center.lat)*this._pixelsPerMercatorPixel,a=this._mercatorZfromZoom(this._maxZoom)*Math.cos(t.degToRad(this._maxPitch)),s=Math.max((e[2]-o)/Math.cos(r),a),l=this._zoomFromMercatorZ(s);t.scaleAndAdd(e,e,n,s),this._pitch=t.clamp(r,t.degToRad(this.minPitch),t.degToRad(this.maxPitch)),this.angle=t.wrap(i,-Math.PI,Math.PI),this._setZoom(t.clamp(l,this._minZoom,this._maxZoom)),this._updateSeaLevelZoom(),this._center=this.coordinateLocation(new t.MercatorCoordinate(e[0],e[1],e[2])),this._unmodified=!1,this._constrain(),this._calcMatrices()}_worldSizeFromZoom(t){return Math.pow(2,t)*this.tileSize}_mercatorZfromZoom(t){return this.cameraToCenterDistance/this._worldSizeFromZoom(t)}_minimumHeightOverTerrain(){const t=Math.min((null!=this._seaLevelZoom?this._seaLevelZoom:this._zoom)+2,this._maxZoom);return this._mercatorZfromZoom(t)}_zoomFromMercatorZ(t){return this.scaleZoom(this.cameraToCenterDistance/(t*this.tileSize))}zoomFromMercatorZAdjusted(t){const e=e=>{const n=this.getCameraToCenterDistance(this.projection,e);return this.scaleZoom(n/(t*this.tileSize))};let n,r=e(this.zoom),i=Math.abs(r-e(r));for(;n!==i;)r=e(r),n=i,i=Math.abs(r-e(r));return r}_terrainEnabled(){return!(!this._elevation||!this.projection.supportsTerrain&&(t.warnOnce("Terrain is not yet supported with alternate projections. Use mercator or globe to enable terrain."),1))}anyCornerOffEdge(e,n){const r=Math.min(e.x,n.x),i=Math.max(e.x,n.x),o=Math.min(e.y,n.y),a=Math.max(e.y,n.y);if(o<this.horizonLineFromTop(!1))return!0;if("mercator"!==this.projection.name)return!1;const s=[new t.pointGeometry(r,o),new t.pointGeometry(i,a),new t.pointGeometry(r,a),new t.pointGeometry(i,o)],l=this.renderWorldCopies?-3:0,c=this.renderWorldCopies?4:1;for(const t of s){const e=this.pointRayIntersection(t);if(e.t<0)return!0;const n=this.rayIntersectionCoordinate(e);if(n.x<l||n.y<0||n.x>c||n.y>1)return!0}return!1}isHorizonVisible(){return this.pitch+t.radToDeg(this.fovAboveCenter)>88||this.anyCornerOffEdge(new t.pointGeometry(0,0),new t.pointGeometry(this.width,this.height))}zoomDeltaToMovement(e,n){const r=t.length(t.sub([],this._camera.position,e)),i=this._zoomFromMercatorZ(r)+n;return r-this._mercatorZfromZoom(i)}getCameraPoint(){if("globe"===this.projection.name){const e=function(e,n){const r=[e[0],e[1],e[2],1];t.transformMat4$1(r,r,n);const i=Math.max(r[3],1e-6);return[r[0]/i,r[1]/i,r[2]/i,i]}([this.globeMatrix[12],this.globeMatrix[13],this.globeMatrix[14]],this.pixelMatrix);return new t.pointGeometry(e[0],e[1])}{const e=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.pointGeometry(0,e))}}getCameraToCenterDistance(t,e=this.zoom){const n=Wr(t,e,this.width,this.height,1024),r=t.pixelSpaceConversion(this.center.lat,this.worldSize,n);return.5/Math.tan(.5*this._fov)*this.height*r}getWorldToCameraMatrix(){const e=this._camera.getWorldToCamera(this.worldSize,"meters"===this.projection.zAxisUnit?this.pixelsPerMeter:1);return"globe"===this.projection.name&&t.multiply(e,e,this.globeMatrix),e}}function Kr(t,e){let n=!1,r=null;const i=()=>{r=null,n&&(t(),r=setTimeout(i,e),n=!1)};return()=>(n=!0,r||i(),r)}class Qr{constructor(e){this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=Kr(this._updateHashUnthrottled.bind(this),300)}addTo(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),e.on("moveend",this._updateHash),this}remove(){return this._map?(this._map.off("moveend",this._updateHash),t.window.removeEventListener("hashchange",this._onHashChange,!1),clearTimeout(this._updateHash()),this._map=void 0,this):this}getHashString(){const e=this._map;if(!e)return"";const n=ti(e);if(this._hashName){const e=this._hashName;let r=!1;const i=t.window.location.hash.slice(1).split("&").map((t=>{const i=t.split("=")[0];return i===e?(r=!0,`${i}=${n}`):t})).filter((t=>t));return r||i.push(`${e}=${n}`),`#${i.join("&")}`}return`#${n}`}_getCurrentHash(){const e=t.window.location.hash.replace("#","");if(this._hashName){let t;return e.split("&").map((t=>t.split("="))).forEach((e=>{e[0]===this._hashName&&(t=e)})),(t&&t[1]||"").split("/")}return e.split("/")}_onHashChange(){const t=this._map;if(!t)return!1;const e=this._getCurrentHash();if(e.length>=3&&!e.some((t=>isNaN(t)))){const n=t.dragRotate.isEnabled()&&t.touchZoomRotate.isEnabled()?+(e[3]||0):t.getBearing();return t.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:n,pitch:+(e[4]||0)}),!0}return!1}_updateHashUnthrottled(){const e=t.window.location.href.replace(/(#.+)?$/,this.getHashString());t.window.history.replaceState(t.window.history.state,null,e)}}function ti(t,e){const n=t.getCenter(),r=Math.round(100*t.getZoom())/100,i=Math.ceil((r*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,i),a=Math.round(n.lng*o)/o,s=Math.round(n.lat*o)/o,l=t.getBearing(),c=t.getPitch();let u=e?`/${a}/${s}/${r}`:`${r}/${s}/${a}`;return(l||c)&&(u+="/"+Math.round(10*l)/10),c&&(u+=`/${Math.round(c)}`),u}const ei={linearity:.3,easing:t.bezier(0,0,.3,1)},ni=t.extend({deceleration:2500,maxSpeed:1400},ei),ri=t.extend({deceleration:20,maxSpeed:1400},ei),ii=t.extend({deceleration:1e3,maxSpeed:360},ei),oi=t.extend({deceleration:1e3,maxSpeed:90},ei);class ai{constructor(t){this._map=t,this.clear()}clear(){this._inertiaBuffer=[]}record(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:t.exported.now(),settings:e})}_drainInertiaBuffer(){const e=this._inertiaBuffer,n=t.exported.now();for(;e.length>0&&n-e[0].time>160;)e.shift()}_onMoveEnd(e){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const n={zoom:0,bearing:0,pitch:0,pan:new t.pointGeometry(0,0),pinchAround:void 0,around:void 0};for(const{settings:t}of this._inertiaBuffer)n.zoom+=t.zoomDelta||0,n.bearing+=t.bearingDelta||0,n.pitch+=t.pitchDelta||0,t.panDelta&&n.pan._add(t.panDelta),t.around&&(n.around=t.around),t.pinchAround&&(n.pinchAround=t.pinchAround);const r=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,i={};if(n.pan.mag()){const o=li(n.pan.mag(),r,t.extend({},ni,e||{}));i.offset=n.pan.mult(o.amount/n.pan.mag()),i.center=this._map.transform.center,si(i,o)}if(n.zoom){const t=li(n.zoom,r,ri);i.zoom=this._map.transform.zoom+t.amount,si(i,t)}if(n.bearing){const e=li(n.bearing,r,ii);i.bearing=this._map.transform.bearing+t.clamp(e.amount,-179,179),si(i,e)}if(n.pitch){const t=li(n.pitch,r,oi);i.pitch=this._map.transform.pitch+t.amount,si(i,t)}if(i.zoom||i.bearing){const t=void 0===n.pinchAround?n.around:n.pinchAround;i.around=t?this._map.unproject(t):this._map.getCenter()}return this.clear(),i.noMoveStart=!0,i}}function si(t,e){(!t.duration||t.duration<e.duration)&&(t.duration=e.duration,t.easing=e.easing)}function li(e,n,r){const{maxSpeed:i,linearity:o,deceleration:a}=r,s=t.clamp(e*o/(n/1e3),-i,i),l=Math.abs(s)/(a*o);return{easing:r.easing,duration:1e3*l,amount:s*(l/2)}}class ci extends t.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(e,n,r,i={}){const o=p(n.getCanvasContainer(),r),a=n.unproject(o);super(e,t.extend({point:o,lngLat:a,originalEvent:r},i)),this._defaultPrevented=!1,this.target=n}}class ui extends t.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(e,n,r){const i="touchend"===e?r.changedTouches:r.touches,o=m(n.getCanvasContainer(),i),a=o.map((t=>n.unproject(t))),s=o.reduce(((t,e,n,r)=>t.add(e.div(r.length))),new t.pointGeometry(0,0));super(e,{points:o,point:s,lngLats:a,lngLat:n.unproject(s),originalEvent:r}),this._defaultPrevented=!1}}class di extends t.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(t,e,n){super(t,{originalEvent:n}),this._defaultPrevented=!1}}class hi{constructor(t,e){this._map=t,this._clickTolerance=e.clickTolerance}reset(){this._mousedownPos=void 0}wheel(t){return this._firePreventable(new di(t.type,this._map,t))}mousedown(t,e){return this._mousedownPos=e,this._firePreventable(new ci(t.type,this._map,t))}mouseup(t){this._map.fire(new ci(t.type,this._map,t))}preclick(e){const n=t.extend({},e);n.type="preclick",this._map.fire(new ci(n.type,this._map,n))}click(t,e){this._mousedownPos&&this._mousedownPos.dist(e)>=this._clickTolerance||(this.preclick(t),this._map.fire(new ci(t.type,this._map,t)))}dblclick(t){return this._firePreventable(new ci(t.type,this._map,t))}mouseover(t){this._map.fire(new ci(t.type,this._map,t))}mouseout(t){this._map.fire(new ci(t.type,this._map,t))}touchstart(t){return this._firePreventable(new ui(t.type,this._map,t))}touchmove(t){this._map.fire(new ui(t.type,this._map,t))}touchend(t){this._map.fire(new ui(t.type,this._map,t))}touchcancel(t){this._map.fire(new ui(t.type,this._map,t))}_firePreventable(t){if(this._map.fire(t),t.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class fi{constructor(t){this._map=t}reset(){this._delayContextMenu=!1,this._contextMenuEvent=void 0}mousemove(t){this._map.fire(new ci(t.type,this._map,t))}mousedown(){this._delayContextMenu=!0}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new ci("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(t){this._delayContextMenu?this._contextMenuEvent=t:this._map.fire(new ci(t.type,this._map,t)),this._map.listens("contextmenu")&&t.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class pi{constructor(t,e){this._map=t,this._el=t.getCanvasContainer(),this._container=t.getContainer(),this._clickTolerance=e.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(t,e){this.isEnabled()&&t.shiftKey&&0===t.button&&(u(),this._startPos=this._lastPos=e,this._active=!0)}mousemoveWindow(t,e){if(!this._active)return;const n=e,r=this._startPos,i=this._lastPos;if(!r||!i||i.equals(n)||!this._box&&n.dist(r)<this._clickTolerance)return;this._lastPos=n,this._box||(this._box=o("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));const a=Math.min(r.x,n.x),s=Math.max(r.x,n.x),l=Math.min(r.y,n.y),c=Math.max(r.y,n.y);this._map._requestDomTask((()=>{this._box&&(this._box.style.transform=`translate(${a}px,${l}px)`,this._box.style.width=s-a+"px",this._box.style.height=c-l+"px")}))}mouseupWindow(e,n){if(!this._active)return;const r=this._startPos,i=n;if(r&&0===e.button){if(this.reset(),f(),r.x!==i.x||r.y!==i.y)return this._map.fire(new t.Event("boxzoomend",{originalEvent:e})),{cameraAnimation:t=>t.fitScreenCoordinates(r,i,this._map.getBearing(),{linear:!1})};this._fireEvent("boxzoomcancel",e)}}keydown(t){this._active&&27===t.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",t))}blur(){this.reset()}reset(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(this._box.remove(),this._box=null),d(),delete this._startPos,delete this._lastPos}_fireEvent(e,n){return this._map.fire(new t.Event(e,{originalEvent:n}))}}function mi(t,e){const n={};for(let r=0;r<t.length;r++)n[t[r].identifier]=e[r];return n}class _i{constructor(t){this.reset(),this.numTouches=t.numTouches}reset(){this.centroid=void 0,this.startTime=0,this.touches={},this.aborted=!1}touchstart(e,n,r){(this.centroid||r.length>this.numTouches)&&(this.aborted=!0),this.aborted||(0===this.startTime&&(this.startTime=e.timeStamp),r.length===this.numTouches&&(this.centroid=function(e){const n=new t.pointGeometry(0,0);for(const t of e)n._add(t);return n.div(e.length)}(n),this.touches=mi(r,n)))}touchmove(t,e,n){if(this.aborted||!this.centroid)return;const r=mi(n,e);for(const t in this.touches){const e=this.touches[t],n=r[t];(!n||n.dist(e)>30)&&(this.aborted=!0)}}touchend(t,e,n){if((!this.centroid||t.timeStamp-this.startTime>500)&&(this.aborted=!0),0===n.length){const t=!this.aborted&&this.centroid;if(this.reset(),t)return t}}}class vi{constructor(t){this.singleTap=new _i(t),this.numTaps=t.numTaps,this.reset()}reset(){this.lastTime=1/0,this.lastTap=void 0,this.count=0,this.singleTap.reset()}touchstart(t,e,n){this.singleTap.touchstart(t,e,n)}touchmove(t,e,n){this.singleTap.touchmove(t,e,n)}touchend(t,e,n){const r=this.singleTap.touchend(t,e,n);if(r){const e=t.timeStamp-this.lastTime<500,n=!this.lastTap||this.lastTap.dist(r)<30;if(e&&n||this.reset(),this.count++,this.lastTime=t.timeStamp,this.lastTap=r,this.count===this.numTaps)return this.reset(),r}}}class gi{constructor(){this._zoomIn=new vi({numTouches:1,numTaps:2}),this._zoomOut=new vi({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(t,e,n){this._zoomIn.touchstart(t,e,n),this._zoomOut.touchstart(t,e,n)}touchmove(t,e,n){this._zoomIn.touchmove(t,e,n),this._zoomOut.touchmove(t,e,n)}touchend(t,e,n){const r=this._zoomIn.touchend(t,e,n),i=this._zoomOut.touchend(t,e,n);return r?(this._active=!0,t.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:e=>e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(r)},{originalEvent:t})}):i?(this._active=!0,t.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:e=>e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(i)},{originalEvent:t})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}const yi={0:1,2:2};class bi{constructor(t){this.reset(),this._clickTolerance=t.clickTolerance||1}blur(){this.reset()}reset(){this._active=!1,this._moved=!1,this._lastPoint=void 0,this._eventButton=void 0}_correctButton(t,e){return!1}_move(t,e){return{}}mousedown(t,e){if(this._lastPoint)return;const n=_(t);this._correctButton(t,n)&&(this._lastPoint=e,this._eventButton=n)}mousemoveWindow(t,e){const n=this._lastPoint;if(n)if(t.preventDefault(),null!=this._eventButton&&function(t,e){const n=yi[e];return void 0===t.buttons||(t.buttons&n)!==n}(t,this._eventButton))this.reset();else if(this._moved||!(e.dist(n)<this._clickTolerance))return this._moved=!0,this._lastPoint=e,this._move(n,e)}mouseupWindow(t){this._lastPoint&&_(t)===this._eventButton&&(this._moved&&f(),this.reset())}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class xi extends bi{mousedown(t,e){super.mousedown(t,e),this._lastPoint&&(this._active=!0)}_correctButton(t,e){return 0===e&&!t.ctrlKey}_move(t,e){return{around:e,panDelta:e.sub(t)}}}class wi extends bi{_correctButton(t,e){return 0===e&&t.ctrlKey||2===e}_move(t,e){const n=.8*(e.x-t.x);if(n)return this._active=!0,{bearingDelta:n}}contextmenu(t){t.preventDefault()}}class ki extends bi{_correctButton(t,e){return 0===e&&t.ctrlKey||2===e}
vendor: 4,603 bytes, line 2
2_move(t,e){const n=-.5*(e.y-t.y);if(n)return this._active=!0,{pitchDelta:n}}contextmenu(t){t.preventDefault()}}class Mi{constructor(e,n){this._map=e,this._el=e.getCanvasContainer(),this._minTouches=1,this._clickTolerance=n.clickTolerance||1,this.reset(),t.bindAll(["_addTouchPanBlocker","_showTouchPanBlockerAlert"],this)}reset(){this._active=!1,this._touches={},this._sum=new t.pointGeometry(0,0)}touchstart(t,e,n){return this._calculateTransform(t,e,n)}touchmove(e,n,r){if(this._active&&!(r.length<this._minTouches)){if(this._map._cooperativeGestures&&!this._map.isMoving()){if(1===r.length&&!t.isFullscreen())return void this._showTouchPanBlockerAlert();"hidden"!==this._alertContainer.style.visibility&&(this._alertContainer.style.visibility="hidden",clearTimeout(this._alertTimer))}return e.cancelable&&e.preventDefault(),this._calculateTransform(e,n,r)}}touchend(t,e,n){this._calculateTransform(t,e,n),this._active&&n.length<this._minTouches&&this.reset()}touchcancel(){this.reset()}_calculateTransform(e,n,r){r.length>0&&(this._active=!0);const i=mi(r,n),o=new t.pointGeometry(0,0),a=new t.pointGeometry(0,0);let s=0;for(const t in i){const e=i[t],n=this._touches[t];n&&(o._add(e),a._add(e.sub(n)),s++,i[t]=e)}if(this._touches=i,s<this._minTouches||!a.mag())return;const l=a.div(s);return this._sum._add(l),this._sum.mag()<this._clickTolerance?void 0:{around:o.div(s),panDelta:l}}enable(){this._enabled=!0,this._map._cooperativeGestures&&(this._addTouchPanBlocker(),this._el.classList.add("mapboxgl-touch-pan-blocker-override","mapboxgl-scrollable-page"))}disable(){this._enabled=!1,this._map._cooperativeGestures&&(clearTimeout(this._alertTimer),this._alertContainer.remove(),this._el.classList.remove("mapboxgl-touch-pan-blocker-override","mapboxgl-scrollable-page")),this.reset()}isEnabled(){return!!this._enabled}isActive(){return!!this._active}_addTouchPanBlocker(){this._map&&!this._alertContainer&&(this._alertContainer=o("div","mapboxgl-touch-pan-blocker",this._map._container),this._alertContainer.textContent=this._map._getUIString("TouchPanBlocker.Message"),this._alertContainer.style.fontSize=`${Math.max(10,Math.min(24,Math.floor(.05*this._el.clientWidth)))}px`)}_showTouchPanBlockerAlert(){this._alertContainer.style.visibility="visible",this._alertContainer.classList.add("mapboxgl-touch-pan-blocker-show"),this._alertContainer.setAttribute("role","alert"),clearTimeout(this._alertTimer),this._alertTimer=setTimeout((()=>{this._alertContainer.classList.remove("mapboxgl-touch-pan-blocker-show"),this._alertContainer.setAttribute("role","null")}),500)}}class Ci{constructor(){this.reset()}reset(){this._active=!1,this._firstTwoTouches=void 0}_start(t){}_move(t,e,n){return{}}touchstart(t,e,n){this._firstTwoTouches||n.length<2||(this._firstTwoTouches=[n[0].identifier,n[1].identifier],this._start([e[0],e[1]]))}touchmove(t,e,n){const r=this._firstTwoTouches;if(!r)return;t.preventDefault();const[i,o]=r,a=Si(n,e,i),s=Si(n,e,o);if(!a||!s)return;const l=this._aroundCenter?null:a.add(s).div(2);return this._move([a,s],l,t)}touchend(t,e,n){if(!this._firstTwoTouches)return;const[r,i]=this._firstTwoTouches,o=Si(n,e,r),a=Si(n,e,i);o&&a||(this._active&&f(),this.reset())}touchcancel(){this.reset()}enable(t){this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}function Si(t,e,n){for(let r=0;r<t.length;r++)if(t[r].identifier===n)return e[r]}function Ti(t,e){return Math.log(t/e)/Math.LN2}class Li extends Ci{reset(){super.reset(),this._distance=0,this._startDistance=0}_start(t){this._startDistance=this._distance=t[0].dist(t[1])}_move(t,e){const n=this._distance;if(this._distance=t[0].dist(t[1]),this._active||!(Math.abs(Ti(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Ti(this._distance,n),pinchAround:e}}}function Ei(t,e){return 180*t.angleWith(e)/Math.PI}class Ai extends Ci{reset(){super.reset(),this._minDiameter=0,this._startVector=void 0,this._vector=void 0}_start(t){this._startVector=this._vector=t[0].sub(t[1]),this._minDiameter=t[0].dist(t[1])}_move(t,e){const n=this._vector;if(this._vector=t[0].sub(t[1]),n&&(this._active||!this._isBelowThreshold(this._vector)))return this._active=!0,{bearingDelta:Ei(this._vector,n),pinchAround:e}}_isBelowThreshold(t){this._minDiameter=Math.min(this._minDiameter,t.mag());const e=25/(Math.PI*this._minDiameter)*360,n=this._startVector;if(!n)return!1;const r=Ei(t,n);return Math.abs(r)<e}}function Di(t){return Math.abs(t.y)>Math.abs(t.x)}class Oi extends Ci{constructor(t){super(),this._map=t}
vendor: 35,097 bytes, line 2
2reset(){super.reset(),this._valid=void 0,this._firstMove=void 0,this._lastPoints=void 0}_start(t){this._lastPoints=t,Di(t[0].sub(t[1]))&&(this._valid=!1)}_move(e,n,r){const i=this._lastPoints;if(!i)return;const o=e[0].sub(i[0]),a=e[1].sub(i[1]);return this._map._cooperativeGestures&&!t.isFullscreen()&&r.touches.length<3||(this._valid=this.gestureBeginsVertically(o,a,r.timeStamp),!this._valid)?void 0:(this._lastPoints=e,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5})}gestureBeginsVertically(t,e,n){if(void 0!==this._valid)return this._valid;const r=t.mag()>=2,i=e.mag()>=2;if(!r&&!i)return;if(!r||!i)return null==this._firstMove&&(this._firstMove=n),n-this._firstMove<100&&void 0;const o=t.y>0==e.y>0;return Di(t)&&Di(e)&&o}}const zi={panStep:100,bearingStep:15,pitchStep:10};class Pi{constructor(){const t=zi;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1}blur(){this.reset()}reset(){this._active=!1}keydown(t){if(t.altKey||t.ctrlKey||t.metaKey)return;let e=0,n=0,r=0,i=0,o=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?n=-1:(t.preventDefault(),i=-1);break;case 39:t.shiftKey?n=1:(t.preventDefault(),i=1);break;case 38:t.shiftKey?r=1:(t.preventDefault(),o=-1);break;case 40:t.shiftKey?r=-1:(t.preventDefault(),o=1);break;default:return}return this._rotationDisabled&&(n=0,r=0),{cameraAnimation:a=>{const s=a.getZoom();a.easeTo({duration:300,easeId:"keyboardHandler",easing:ji,zoom:e?Math.round(s)+e*(t.shiftKey?2:1):s,bearing:a.getBearing()+n*this._bearingStep,pitch:a.getPitch()+r*this._pitchStep,offset:[-i*this._panStep,-o*this._panStep],center:a.getCenter()},{originalEvent:t})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function ji(t){return t*(2-t)}const Ii=4.000244140625;class Yi{constructor(e,n){this._map=e,this._el=e.getCanvasContainer(),this._handler=n,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,t.bindAll(["_onTimeout","_addScrollZoomBlocker","_showBlockerAlert"],this)}setZoomRate(t){this._defaultZoomRate=t}setWheelZoomRate(t){this._wheelZoomRate=t}isEnabled(){return!!this._enabled}isActive(){return this._active||void 0!==this._finishTimeout}isZooming(){return!!this._zooming}enable(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around,this._map._cooperativeGestures&&this._addScrollZoomBlocker())}disable(){this.isEnabled()&&(this._enabled=!1,this._map._cooperativeGestures&&(clearTimeout(this._alertTimer),this._alertContainer.remove()))}wheel(e){if(!this.isEnabled())return;if(this._map._cooperativeGestures){if(!(e.ctrlKey||e.metaKey||this.isZooming()||t.isFullscreen()))return void this._showBlockerAlert();"hidden"!==this._alertContainer.style.visibility&&(this._alertContainer.style.visibility="hidden",clearTimeout(this._alertTimer))}let n=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY;const r=t.exported.now(),i=r-(this._lastWheelEventTime||0);this._lastWheelEventTime=r,0!==n&&n%Ii==0?this._type="wheel":0!==n&&Math.abs(n)<4?this._type="trackpad":i>400?(this._type=null,this._lastValue=n,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(i*n)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,n+=this._lastValue)),e.shiftKey&&n&&(n/=4),this._type&&(this._lastWheelEvent=e,this._delta-=n,this._active||this._start(e)),e.preventDefault()}_onTimeout(t){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(t)}_start(t){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const e=p(this._el,t);this._aroundPoint=this._aroundCenter?this._map.transform.centerPoint:e,this._aroundCoord=this._map.transform.pointCoordinate3D(this._aroundPoint),this._targetZoom=void 0,this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}renderFrame(){if(!this._frameId)return;if(this._frameId=null,!this.isActive())return;const e=this._map.transform;"wheel"===this._type&&e.projection.wrap&&(e._center.lng>=180||e._center.lng<=-180)&&(this._prevEase=null,this._easing=null,this._lastWheelEvent=null,this._lastWheelEventTime=0);const n=()=>e._terrainEnabled()&&this._aroundCoord?e.computeZoomRelativeTo(this._aroundCoord):e.zoom;if(0!==this._delta){const t="wheel"===this._type&&Math.abs(this._delta)>Ii?this._wheelZoomRate:this._defaultZoomRate;let r=2/(1+Math.exp(-Math.abs(this._delta*t)));this._delta<0&&0!==r&&(r=1/r);const i=n(),o=Math.pow(2,i),a="number"==typeof this._targetZoom?e.zoomScale(this._targetZoom):o;this._targetZoom=Math.min(e.maxZoom,Math.max(e.minZoom,e.scaleZoom(a*r))),"wheel"===this._type&&(this._startZoom=i,this._easing=this._smoothOutEasing(200)),this._delta=0}const r="number"==typeof this._targetZoom?this._targetZoom:n(),i=this._startZoom,o=this._easing;let a,s=!1;if("wheel"===this._type&&i&&o){const e=Math.min((t.exported.now()-this._lastWheelEventTime)/200,1),n=o(e);a=t.number(i,r,n),e<1?this._frameId||(this._frameId=!0):s=!0}else a=r,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout((()=>{this._zooming=!1,this._handler._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!s,zoomDelta:a-n(),around:this._aroundPoint,aroundCoord:this._aroundCoord,originalEvent:this._lastWheelEvent}}_smoothOutEasing(e){let n=t.ease;if(this._prevEase){const e=this._prevEase,r=(t.exported.now()-e.start)/e.duration,i=e.easing(r+.01)-e.easing(r),o=.27/Math.sqrt(i*i+1e-4)*.01,a=Math.sqrt(.0729-o*o);n=t.bezier(o,a,.25,1)}return this._prevEase={start:t.exported.now(),duration:e,easing:n},n}blur(){this.reset()}reset(){this._active=!1}_addScrollZoomBlocker(){this._map&&!this._alertContainer&&(this._alertContainer=o("div","mapboxgl-scroll-zoom-blocker",this._map._container),this._alertContainer.textContent=/(Mac|iPad)/i.test(t.window.navigator.userAgent)?this._map._getUIString("ScrollZoomBlocker.CmdMessage"):this._map._getUIString("ScrollZoomBlocker.CtrlMessage"),this._alertContainer.style.fontSize=`${Math.max(10,Math.min(24,Math.floor(.05*this._el.clientWidth)))}px`)}_showBlockerAlert(){this._alertContainer.style.visibility="visible",this._alertContainer.classList.add("mapboxgl-scroll-zoom-blocker-show"),this._alertContainer.setAttribute("role","alert"),clearTimeout(this._alertTimer),this._alertTimer=setTimeout((()=>{this._alertContainer.classList.remove("mapboxgl-scroll-zoom-blocker-show"),this._alertContainer.setAttribute("role","null")}),200)}}class Ri{constructor(t,e){this._clickZoom=t,this._tapZoom=e}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Fi{constructor(){this.reset()}reset(){this._active=!1}blur(){this.reset()}dblclick(t,e){return t.preventDefault(),{cameraAnimation:n=>{n.easeTo({duration:300,zoom:n.getZoom()+(t.shiftKey?-1:1),around:n.unproject(e)},{originalEvent:t})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Bi{constructor(){this._tap=new vi({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,this._swipePoint=void 0,this._swipeTouch=0,this._tapTime=0,this._tap.reset()}touchstart(t,e,n){this._swipePoint||(this._tapTime&&t.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?n.length>0&&(this._swipePoint=e[0],this._swipeTouch=n[0].identifier):this._tap.touchstart(t,e,n))}touchmove(t,e,n){if(this._tapTime){if(this._swipePoint){if(n[0].identifier!==this._swipeTouch)return;const r=e[0],i=r.y-this._swipePoint.y;return this._swipePoint=r,t.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(t,e,n)}touchend(t,e,n){this._tapTime?this._swipePoint&&0===n.length&&this.reset():this._tap.touchend(t,e,n)&&(this._tapTime=t.timeStamp)}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Ni{constructor(t,e,n){this._el=t,this._mousePan=e,this._touchPan=n}enable(t){this._inertiaOptions=t||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class $i{constructor(t,e,n){this._pitchWithRotate=t.pitchWithRotate,this._mouseRotate=e,this._mousePitch=n}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class Zi{constructor(t,e,n,r){this._el=t,this._touchZoom=e,this._touchRotate=n,this._tapDragZoom=r,this._rotationDisabled=!1,this._enabled=!0}enable(t){this._touchZoom.enable(t),this._rotationDisabled||this._touchRotate.enable(t),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}const Hi=t=>t.zoom||t.drag||t.pitch||t.rotate;class Vi extends t.Event{}class Ui{constructor(){this.constants=[1,1,.01],this.radius=0}setup(e,n){const r=t.sub([],n,e);this.radius=t.length(r[2]<0?t.div([],r,this.constants):[r[0],r[1],0])}projectRay(e){t.div(e,e,this.constants),t.normalize(e,e),t.mul$1(e,e,this.constants);const n=t.scale$2([],e,this.radius);if(n[2]>0){const e=t.scale$2([],[0,0,1],t.dot(n,[0,0,1])),r=t.scale$2([],t.normalize([],[n[0],n[1],0]),this.radius),i=t.add([],n,t.scale$2([],t.sub([],t.add([],r,e),n),2));n[0]=i[0],n[1]=i[1]}return n}}function Wi(t){return t.panDelta&&t.panDelta.mag()||t.zoomDelta||t.bearingDelta||t.pitchDelta}class Gi{constructor(e,n){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ai(e),this._bearingSnap=n.bearingSnap,this._previousActiveHandlers={},this._trackingEllipsoid=new Ui,this._dragOrigin=null,this._eventsInProgress={},this._addDefaultHandlers(n),t.bindAll(["handleEvent","handleWindowEvent"],this);const r=this._el;this._listeners=[[r,"touchstart",{passive:!0}],[r,"touchmove",{passive:!1}],[r,"touchend",void 0],[r,"touchcancel",void 0],[r,"mousedown",void 0],[r,"mousemove",void 0],[r,"mouseup",void 0],[t.window.document,"mousemove",{capture:!0}],[t.window.document,"mouseup",void 0],[r,"mouseover",void 0],[r,"mouseout",void 0],[r,"dblclick",void 0],[r,"click",void 0],[r,"keydown",{capture:!1}],[r,"keyup",void 0],[r,"wheel",{passive:!1}],[r,"contextmenu",void 0],[t.window,"blur",void 0]];for(const[e,n,r]of this._listeners)e.addEventListener(n,e===t.window.document?this.handleWindowEvent:this.handleEvent,r)}destroy(){for(const[e,n,r]of this._listeners)e.removeEventListener(n,e===t.window.document?this.handleWindowEvent:this.handleEvent,r)}_addDefaultHandlers(t){const e=this._map,n=e.getCanvasContainer();this._add("mapEvent",new hi(e,t));const r=e.boxZoom=new pi(e,t);this._add("boxZoom",r);const i=new gi,o=new Fi;e.doubleClickZoom=new Ri(o,i),this._add("tapZoom",i),this._add("clickZoom",o);const a=new Bi;this._add("tapDragZoom",a);const s=e.touchPitch=new Oi(e);this._add("touchPitch",s);const l=new wi(t),c=new ki(t);e.dragRotate=new $i(t,l,c),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",c,["mouseRotate"]);const u=new xi(t),d=new Mi(e,t);e.dragPan=new Ni(n,u,d),this._add("mousePan",u),this._add("touchPan",d,["touchZoom","touchRotate"]);const h=new Ai,f=new Li;e.touchZoomRotate=new Zi(n,f,h,a),this._add("touchRotate",h,["touchPan","touchZoom"]),this._add("touchZoom",f,["touchPan","touchRotate"]),this._add("blockableMapEvent",new fi(e));const p=e.scrollZoom=new Yi(e,this);this._add("scrollZoom",p,["mousePan"]);const m=e.keyboard=new Pi;this._add("keyboard",m);for(const n of["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"])t.interactive&&t[n]&&e[n].enable(t[n])}_add(t,e,n){this._handlers.push({handlerName:t,handler:e,allowed:n}),this._handlersById[t]=e}stop(t){if(!this._updatingCamera){for(const{handler:t}of this._handlers)t.reset();this._inertia.clear(),this._fireEvents({},{},t),this._changes=[]}}isActive(){for(const{handler:t}of this._handlers)if(t.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Hi(this._eventsInProgress)||this.isZooming()}_blockedByActive(t,e,n){for(const r in t)if(r!==n&&(!e||e.indexOf(r)<0))return!0;return!1}handleWindowEvent(t){this.handleEvent(t,`${t.type}Window`)}_getMapTouches(t){const e=[];for(const n of t)this._el.contains(n.target)&&e.push(n);return e}handleEvent(t,e){this._updatingCamera=!0;const n="renderFrame"===t.type,r=n?void 0:t,i={needsRenderFrame:!1},o={},a={},s=t.touches?this._getMapTouches(t.touches):void 0,l=s?m(this._el,s):n?void 0:p(this._el,t);for(const{handlerName:n,handler:c,allowed:u}of this._handlers){if(!c.isEnabled())continue;let d;this._blockedByActive(a,u,n)?c.reset():c[e||t.type]&&(d=c[e||t.type](t,l,s),this.mergeHandlerResult(i,o,d,n,r),d&&d.needsRenderFrame&&this._triggerRenderFrame()),(d||c.isActive())&&(a[n]=c)}const c={};for(const t in this._previousActiveHandlers)a[t]||(c[t]=r);this._previousActiveHandlers=a,(Object.keys(c).length||Wi(i))&&(this._changes.push([i,o,c]),this._triggerRenderFrame()),(Object.keys(a).length||Wi(i))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:u}=i;u&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],u(this._map))}mergeHandlerResult(e,n,r,i,o){if(!r)return;t.extend(e,r);const a={handlerName:i,originalEvent:r.originalEvent||o};void 0!==r.zoomDelta&&(n.zoom=a),void 0!==r.panDelta&&(n.drag=a),void 0!==r.pitchDelta&&(n.pitch=a),void 0!==r.bearingDelta&&(n.rotate=a)}_applyChanges(){const e={},n={},r={};for(const[i,o,a]of this._changes)i.panDelta&&(e.panDelta=(e.panDelta||new t.pointGeometry(0,0))._add(i.panDelta)),i.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+i.zoomDelta),i.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+i.bearingDelta),i.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+i.pitchDelta),void 0!==i.around&&(e.around=i.around),void 0!==i.aroundCoord&&(e.aroundCoord=i.aroundCoord),void 0!==i.pinchAround&&(e.pinchAround=i.pinchAround),i.noInertia&&(e.noInertia=i.noInertia),t.extend(n,o),t.extend(r,a);this._updateMapTransform(e,n,r),this._changes=[]}_updateMapTransform(e,n,r){const i=this._map,o=i.transform,a=t=>[t.x,t.y,t.z];if((t=>{const e=this._eventsInProgress.drag;return e&&!this._handlersById[e.handlerName].isActive()})()&&!Wi(e)){const t=o.zoom;o.cameraElevationReference="sea",o.recenterOnTerrain(),o.cameraElevationReference="ground",t!==o.zoom&&this._map._update(!0)}if(!Wi(e))return void this._fireEvents(n,r,!0);let{panDelta:s,zoomDelta:l,bearingDelta:c,pitchDelta:u,around:d,aroundCoord:h,pinchAround:f}=e;void 0!==f&&(d=f),(t=>n.drag&&!this._eventsInProgress.drag)()&&d&&(this._dragOrigin=a(o.pointCoordinate3D(d)),this._trackingEllipsoid.setup(o._camera.position,this._dragOrigin)),o.cameraElevationReference="sea",i._stop(!0),d=d||i.transform.centerPoint,c&&(o.bearing+=c),u&&(o.pitch+=u),o._updateCameraState();const p=[0,0,0];if(s)if("mercator"===o.projection.name){const t=this._trackingEllipsoid.projectRay(o.screenPointToMercatorRay(d).dir),e=this._trackingEllipsoid.projectRay(o.screenPointToMercatorRay(d.sub(s)).dir);p[0]=e[0]-t[0],p[1]=e[1]-t[1]}else{const e=o.pointCoordinate(d);if("globe"===o.projection.name){s=s.rotate(-o.angle);const n=o._pixelsPerMercatorPixel/o.worldSize;p[0]=-s.x*t.mercatorScale(t.latFromMercatorY(e.y))*n,p[1]=-s.y*t.mercatorScale(o.center.lat)*n}else{const t=o.pointCoordinate(d.sub(s));e&&t&&(p[0]=t.x-e.x,p[1]=t.y-e.y)}}const m=o.zoom,_=[0,0,0];if(l){const e=a(h||o.pointCoordinate3D(d)),n={dir:t.normalize([],t.sub([],e,o._camera.position))};if(n.dir[2]<0){const r=o.zoomDeltaToMovement(e,l);t.scale$2(_,n.dir,r)}}const v=t.add(p,p,_);o._translateCameraConstrained(v),l&&Math.abs(o.zoom-m)>1e-4&&o.recenterOnTerrain(),o.cameraElevationReference="ground",this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(n,r,!0)}_fireEvents(e,n,r){const i=Hi(this._eventsInProgress),o=Hi(e),a={};for(const t in e){const{originalEvent:n}=e[t];this._eventsInProgress[t]||(a[`${t}start`]=n),this._eventsInProgress[t]=e[t]}!i&&o&&this._fireEvent("movestart",o.originalEvent);for(const t in a)this._fireEvent(t,a[t]);o&&this._fireEvent("move",o.originalEvent);for(const t in e){const{originalEvent:n}=e[t];this._fireEvent(t,n)}const s={};let l;for(const t in this._eventsInProgress){const{handlerName:e,originalEvent:r}=this._eventsInProgress[t];this._handlersById[e].isActive()||(delete this._eventsInProgress[t],l=n[e]||r,s[`${t}end`]=l)}for(const t in s)this._fireEvent(t,s[t]);const c=Hi(this._eventsInProgress);if(r&&(i||o)&&!c){this._updatingCamera=!0;const e=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),n=t=>0!==t&&-this._bearingSnap<t&&t<this._bearingSnap;e?(n(e.bearing||this._map.getBearing())&&(e.bearing=0),this._map.easeTo(e,{originalEvent:l})):(this._map.fire(new t.Event("moveend",{originalEvent:l})),n(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}}_fireEvent(e,n){this._map.fire(new t.Event(e,n?{originalEvent:n}:{}))}_requestFrame(){return this._map.triggerRepaint(),this._map._renderTaskQueue.add((t=>{this._frameId=void 0,this.handleEvent(new Vi("renderFrame",{timeStamp:t})),this._applyChanges()}))}_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame())}}const qi="map.setFreeCameraOptions(...) and map.getFreeCameraOptions() are not yet supported for non-mercator projections.";class Xi extends t.Evented{constructor(e,n){super(),this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=n.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}getCenter(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)}setCenter(t,e){return this.jumpTo({center:t},e)}panBy(e,n,r){return e=t.pointGeometry.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},n),r)}panTo(e,n,r){return this.easeTo(t.extend({center:e},n),r)}getZoom(){return this.transform.zoom}setZoom(t,e){return this.jumpTo({zoom:t},e),this}zoomTo(e,n,r){return this.easeTo(t.extend({zoom:e},n),r)}zoomIn(t,e){return this.zoomTo(this.getZoom()+1,t,e),this}zoomOut(t,e){return this.zoomTo(this.getZoom()-1,t,e),this}getBearing(){return this.transform.bearing}setBearing(t,e){return this.jumpTo({bearing:t},e),this}getPadding(){return this.transform.padding}setPadding(t,e){return this.jumpTo({padding:t},e),this}rotateTo(e,n,r){return this.easeTo(t.extend({bearing:e},n),r)}resetNorth(e,n){return this.rotateTo(0,t.extend({duration:1e3},e),n),this}resetNorthPitch(e,n){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),n),this}snapToNorth(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this}getPitch(){return this.transform.pitch}setPitch(t,e){return this.jumpTo({pitch:t},e),this}cameraForBounds(e,n){e=t.LngLatBounds.convert(e);const r=n&&n.bearing||0,i=e.getNorthWest(),o=e.getSouthEast();return this._cameraForBounds(this.transform,i,o,r,n)}_extendCameraOptions(e){const n={top:0,bottom:0,right:0,left:0};if("number"==typeof(e=t.extend({padding:n,offset:[0,0],maxZoom:this.transform.maxZoom},e)).padding){const t=e.padding;e.padding={top:t,bottom:t,right:t,left:t}}return e.padding=t.extend(n,e.padding),e}_minimumAABBFrustumDistance(t,e){const n=e.max[0]-e.min[0],r=e.max[1]-e.min[1];return n/r>t.aspect?n/(2*Math.tan(.5*t.fovX)*t.aspect):r/(2*Math.tan(.5*t.fovY)*t.aspect)}_cameraForBoundsOnGlobe(e,n,r,i,o){const a=e.clone(),s=this._extendCameraOptions(o);a.bearing=i;const l=t.LngLat.convert(n),c=t.LngLat.convert(r),u=.5*(l.lat+c.lat),d=.5*(l.lng+c.lng),h=t.latLngToECEF(u,d),f=t.normalize([],h),p=t.normalize([],t.cross([],f,[0,1,0])),m=t.cross([],p,f),_=[p[0],p[1],p[2],0,m[0],m[1],m[2],0,f[0],f[1],f[2],0,0,0,0,1],v=[h,t.latLngToECEF(l.lat,l.lng),t.latLngToECEF(c.lat,l.lng),t.latLngToECEF(c.lat,c.lng),t.latLngToECEF(l.lat,c.lng),t.latLngToECEF(u,l.lng),t.latLngToECEF(u,c.lng),t.latLngToECEF(l.lat,d),t.latLngToECEF(c.lat,d)];let g=t.Aabb.fromPoints(v.map((e=>[t.dot(p,e),t.dot(m,e),t.dot(f,e)])));const y=t.transformMat4([],g.center,_);0===t.squaredLength(y)&&t.set(y,0,0,1),t.normalize(y,y),t.scale$2(y,y,t.GLOBE_RADIUS),a.center=t.ecefToLatLng(y);const b=a.getWorldToCameraMatrix(),x=t.invert(new Float64Array(16),b);g=t.Aabb.applyTransform(g,t.multiply([],b,_)),t.transformMat4(y,y,b);const w=.5*(g.max[2]-g.min[2]),k=this._minimumAABBFrustumDistance(a,g),M=t.scale$2([],[0,0,1],w),C=t.add(M,y,M),S=k+(0===a.pitch?0:t.distance(y,C)),T=a.globeCenterInViewSpace,L=t.sub([],y,[T[0],T[1],T[2]]);t.normalize(L,L),t.scale$2(L,L,S);const E=t.add([],y,L);t.transformMat4(E,E,x);const A=t.earthRadius/t.GLOBE_RADIUS,D=t.length(E),O=t.mercatorZfromAltitude(D*A-t.earthRadius,0),z=Math.min(a.zoomFromMercatorZAdjusted(O),s.maxZoom);return z>.5*(t.GLOBE_ZOOM_THRESHOLD_MIN+t.GLOBE_ZOOM_THRESHOLD_MAX)?(a.setProjection({name:"mercator"}),a.zoom=z,this._cameraForBounds(a,n,r,i,o)):{center:a.center,zoom:z,bearing:i}}queryTerrainElevation(e,n){const r=this.transform.elevation;return r?(n=t.extend({},{exaggerated:!0},n),r.getAtPoint(t.MercatorCoordinate.fromLngLat(e),null,n.exaggerated)):null}_cameraForBounds(e,n,r,i,o){if("globe"===e.projection.name)return this._cameraForBoundsOnGlobe(e,n,r,i,o);const a=e.clone(),s=this._extendCameraOptions(o),l=a.padding;a.bearing=i;const c=t.LngLat.convert(n),u=t.LngLat.convert(r),d=new t.LngLat(c.lng,u.lat),h=new t.LngLat(u.lng,c.lat),f=a.project(c),p=a.project(u),m=this.queryTerrainElevation(c),_=this.queryTerrainElevation(u),v=this.queryTerrainElevation(d),g=this.queryTerrainElevation(h),y=[[f.x,f.y,Math.min(m||0,_||0,v||0,g||0)],[p.x,p.y,Math.max(m||0,_||0,v||0,g||0)]];let b=t.Aabb.fromPoints(y);const x=a.getWorldToCameraMatrix(),w=t.invert(new Float64Array(16),x);b=t.Aabb.applyTransform(b,x);const k=t.sub([],b.max,b.min),M=l.left||0,C=l.right||0,S=l.bottom||0,T=l.top||0,{left:L,right:E,top:A,bottom:D}=s.padding,O=.5*(M+C),z=.5*(T+S),P=Math.min(a.scaleZoom(a.scale*Math.min((a.width-(M+C+L+E))/k[0],(a.height-(S+T+D+A))/k[1])),s.maxZoom),j=a.scale/a.zoomScale(P);b=new t.Aabb([b.min[0]-(L+O)*j,b.min[1]-(D+z)*j,b.min[2]],[b.max[0]+(E+O)*j,b.max[1]+(A+z)*j,b.max[2]]);const I=.5*k[2],Y=this._minimumAABBFrustumDistance(a,b),R=[0,0,1,0];t.transformMat4$1(R,R,x),t.normalize$2(R,R);const F=t.scale$2([],R,Y+I),B=t.add([],b.center,F),N=("number"==typeof s.offset.x&&"number"==typeof s.offset.y?new t.pointGeometry(s.offset.x,s.offset.y):t.pointGeometry.convert(s.offset)).rotate(-t.degToRad(i));b.center[0]-=N.x*j,b.center[1]+=N.y*j,t.transformMat4(b.center,b.center,w),t.transformMat4(B,B,w);const $=[b.center[0],b.center[1],B[2]*a.pixelsPerMeter];t.scale$2($,$,1/a.worldSize);const Z=t.lngFromMercatorX($[0]),H=t.latFromMercatorY($[1]),V=Math.min(a._zoomFromMercatorZ($[2]),s.maxZoom),U=new t.LngLat(Z,H);return a.mercatorFromTransition&&V<.5*(t.GLOBE_ZOOM_THRESHOLD_MIN+t.GLOBE_ZOOM_THRESHOLD_MAX)?(a.setProjection({name:"globe"}),a.zoom=V,this._cameraForBounds(a,n,r,i,o)):{center:U,zoom:V,bearing:i}}fitBounds(t,e,n){const r=this.cameraForBounds(t,e);return this._fitInternal(r,e,n)}fitScreenCoordinates(e,n,r,i,o){const a=t.pointGeometry.convert(e),s=t.pointGeometry.convert(n),l=new t.pointGeometry(Math.min(a.x,s.x),Math.min(a.y,s.y)),c=new t.pointGeometry(Math.max(a.x,s.x),Math.max(a.y,s.y));if("mercator"===this.transform.projection.name&&this.transform.anyCornerOffEdge(a,s))return this;const u=this.transform.pointLocation3D(l),d=this.transform.pointLocation3D(c),h=this.transform.pointLocation3D(new t.pointGeometry(l.x,c.y)),f=this.transform.pointLocation3D(new t.pointGeometry(c.x,l.y)),p=[Math.min(u.lng,d.lng,h.lng,f.lng),Math.min(u.lat,d.lat,h.lat,f.lat)],m=[Math.max(u.lng,d.lng,h.lng,f.lng),Math.max(u.lat,d.lat,h.lat,f.lat)],_=this._cameraForBounds(this.transform,p,m,r,i);return this._fitInternal(_,i,o)}_fitInternal(e,n,r){return e?(delete(n=t.extend(e,n)).padding,n.linear?this.easeTo(n,r):this.flyTo(n,r)):this}jumpTo(e,n){this.stop();const r=e.preloadOnly?this.transform.clone():this.transform;let i=!1,o=!1,a=!1;return"zoom"in e&&r.zoom!==+e.zoom&&(i=!0,r.zoom=+e.zoom),void 0!==e.center&&(r.center=t.LngLat.convert(e.center)),"bearing"in e&&r.bearing!==+e.bearing&&(o=!0,r.bearing=+e.bearing),"pitch"in e&&r.pitch!==+e.pitch&&(a=!0,r.pitch=+e.pitch),null==e.padding||r.isPaddingEqual(e.padding)||(r.padding=e.padding),e.preloadOnly?(this._preloadTiles(r),this):(this.fire(new t.Event("movestart",n)).fire(new t.Event("move",n)),i&&this.fire(new t.Event("zoomstart",n)).fire(new t.Event("zoom",n)).fire(new t.Event("zoomend",n)),o&&this.fire(new t.Event("rotatestart",n)).fire(new t.Event("rotate",n)).fire(new t.Event("rotateend",n)),a&&this.fire(new t.Event("pitchstart",n)).fire(new t.Event("pitch",n)).fire(new t.Event("pitchend",n)),this.fire(new t.Event("moveend",n)))}getFreeCameraOptions(){return this.transform.projection.supportsFreeCamera||t.warnOnce(qi),this.transform.getFreeCameraOptions()}setFreeCameraOptions(e,n){const r=this.transform;if(!r.projection.supportsFreeCamera)return t.warnOnce(qi),this;this.stop();const i=r.zoom,o=r.pitch,a=r.bearing;r.setFreeCameraOptions(e);const s=i!==r.zoom,l=o!==r.pitch,c=a!==r.bearing;return this.fire(new t.Event("movestart",n)).fire(new t.Event("move",n)),s&&this.fire(new t.Event("zoomstart",n)).fire(new t.Event("zoom",n)).fire(new t.Event("zoomend",n)),c&&this.fire(new t.Event("rotatestart",n)).fire(new t.Event("rotate",n)).fire(new t.Event("rotateend",n)),l&&this.fire(new t.Event("pitchstart",n)).fire(new t.Event("pitch",n)).fire(new t.Event("pitchend",n)),this.fire(new t.Event("moveend",n)),this}easeTo(e,n){this._stop(!1,e.easeId),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.exported.prefersReducedMotion)&&(e.duration=0);const r=this.transform,i=this.getZoom(),o=this.getBearing(),a=this.getPitch(),s=this.getPadding(),l="zoom"in e?+e.zoom:i,c="bearing"in e?this._normalizeBearing(e.bearing,o):o,u="pitch"in e?+e.pitch:a,d="padding"in e?e.padding:r.padding,h=t.pointGeometry.convert(e.offset);let f,p,m;if("globe"===r.projection.name){const n=t.MercatorCoordinate.fromLngLat(r.center),i=h.rotate(-r.angle);n.x+=i.x/r.worldSize,n.y+=i.y/r.worldSize;const o=n.toLngLat(),a=t.LngLat.convert(e.center||o);this._normalizeCenter(a),f=r.centerPoint.add(i),p=new t.pointGeometry(n.x,n.y).mult(r.worldSize),m=new t.pointGeometry(t.mercatorXfromLng(a.lng),t.mercatorYfromLat(a.lat)).mult(r.worldSize).sub(p)}else{f=r.centerPoint.add(h);const n=r.pointLocation(f),i=t.LngLat.convert(e.center||n);this._normalizeCenter(i),p=r.project(n),m=r.project(i).sub(p)}const _=r.zoomScale(l-i);let v,g;e.around&&(v=t.LngLat.convert(e.around),g=r.locationPoint(v));const y=this._zooming||l!==i,b=this._rotating||o!==c,x=this._pitching||u!==a,w=!r.isPaddingEqual(d),k=r=>k=>{if(y&&(r.zoom=t.number(i,l,k)),b&&(r.bearing=t.number(o,c,k)),x&&(r.pitch=t.number(a,u,k)),w&&(r.interpolatePadding(s,d,k),f=r.centerPoint.add(h)),v)r.setLocationAtPoint(v,g);else{const t=r.zoomScale(r.zoom-i),e=l>i?Math.min(2,_):Math.max(.5,_),n=Math.pow(e,1-k),o=r.unproject(p.add(m.mult(k*n)).mult(t));r.setLocationAtPoint(r.renderWorldCopies?o.wrap():o,f)}return e.preloadOnly||this._fireMoveEvents(n),r};if(e.preloadOnly){const t=this._emulate(k,e.duration,r);return this._preloadTiles(t),this}const M={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=y,this._rotating=b,this._pitching=x,this._padding=w,this._easeId=e.easeId,this._prepareEase(n,e.noMoveStart,M),this._ease(k(r),(t=>{r.recenterOnTerrain(),this._afterEase(n,t)}),e),this}_prepareEase(e,n,r={}){this._moving=!0,this.transform.cameraElevationReference="sea",n||r.moving||this.fire(new t.Event("movestart",e)),this._zooming&&!r.zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&!r.rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&!r.pitching&&this.fire(new t.Event("pitchstart",e))}_fireMoveEvents(e){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))}_afterEase(e,n){if(this._easeId&&n&&this._easeId===n)return;this._easeId=void 0,this.transform.cameraElevationReference="ground";const r=this._zooming,i=this._rotating,o=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,r&&this.fire(new t.Event("zoomend",e)),i&&this.fire(new t.Event("rotateend",e)),o&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))}flyTo(e,n){if(!e.essential&&t.exported.prefersReducedMotion){const r=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(r,n)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);const r=this.transform,i=this.getZoom(),o=this.getBearing(),a=this.getPitch(),s=this.getPadding(),l="zoom"in e?t.clamp(+e.zoom,r.minZoom,r.maxZoom):i,c="bearing"in e?this._normalizeBearing(e.bearing,o):o,u="pitch"in e?+e.pitch:a,d="padding"in e?e.padding:r.padding,h=r.zoomScale(l-i),f=t.pointGeometry.convert(e.offset);let p=r.centerPoint.add(f);const m=r.pointLocation(p),_=t.LngLat.convert(e.center||m);this._normalizeCenter(_);const v=r.project(m),g=r.project(_).sub(v);let y=e.curve;const b=Math.max(r.width,r.height),x=b/h,w=g.mag();if("minZoom"in e){const n=t.clamp(Math.min(e.minZoom,i,l),r.minZoom,r.maxZoom),o=b/r.zoomScale(n-i);y=Math.sqrt(o/w*2)}const k=y*y;function M(t){const e=(x*x-b*b+(t?-1:1)*k*k*w*w)/(2*(t?x:b)*k*w);return Math.log(Math.sqrt(e*e+1)-e)}function C(t){return(Math.exp(t)-Math.exp(-t))/2}function S(t){return(Math.exp(t)+Math.exp(-t))/2}const T=M(0);let L=function(t){return S(T)/S(T+y*t)},E=function(t){return b*((S(T)*(C(e=T+y*t)/S(e))-C(T))/k)/w;var e},A=(M(1)-T)/y;if(Math.abs(w)<1e-6||!isFinite(A)){if(Math.abs(b-x)<1e-6)return this.easeTo(e,n);const t=x<b?-1:1;A=Math.abs(Math.log(x/b))/y,E=function(){return 0},L=function(e){return Math.exp(t*y*e)}}e.duration="duration"in e?+e.duration:1e3*A/("screenSpeed"in e?+e.screenSpeed/y:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0);const D=o!==c,O=u!==a,z=!r.isPaddingEqual(d),P=r=>h=>{const m=h*A,y=1/L(m);r.zoom=1===h?l:i+r.scaleZoom(y),D&&(r.bearing=t.number(o,c,h)),O&&(r.pitch=t.number(a,u,h)),z&&(r.interpolatePadding(s,d,h),p=r.centerPoint.add(f));const b=1===h?_:r.unproject(v.add(g.mult(E(m))).mult(y));return r.setLocationAtPoint(r.renderWorldCopies?b.wrap():b,p),r._updateCameraOnTerrain(),e.preloadOnly||this._fireMoveEvents(n),r};if(e.preloadOnly){const t=this._emulate(P,e.duration,r);return this._preloadTiles(t),this}return this._zooming=!0,this._rotating=D,this._pitching=O,this._padding=z,this._prepareEase(n,!1),this._ease(P(r),(()=>this._afterEase(n)),e),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(t,e){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),this._easeFrameId=void 0,this._onEaseFrame=void 0),this._onEaseEnd){const t=this._onEaseEnd;this._onEaseEnd=void 0,t.call(this,e)}if(!t){const t=this.handlers;t&&t.stop(!1)}return this}_ease(e,n,r){!1===r.animate||0===r.duration?(e(1),n()):(this._easeStart=t.exported.now(),this._easeOptions=r,this._onEaseFrame=e,this._onEaseEnd=n,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_renderFrameCallback(){const e=Math.min((t.exported.now()-this._easeStart)/this._easeOptions.duration,1),n=this._onEaseFrame;n&&n(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()}_normalizeBearing(e,n){e=t.wrap(e,-180,180);const r=Math.abs(e-n);return Math.abs(e-360-n)<r&&(e-=360),Math.abs(e+360-n)<r&&(e+=360),e}_normalizeCenter(t){const e=this.transform;if(!e.renderWorldCopies||e.maxBounds)return;const n=t.lng-e.center.lng;t.lng+=n>180?-360:n<-180?360:0}_emulate(t,e,n){const r=Math.ceil(15*e/1e3),i=[],o=t(n.clone());for(let t=0;t<=r;t++){const e=o(t/r);i.push(e.clone())}return i}}class Ji{constructor(e={}){this.options=e,t.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)}getDefaultPosition(){return"bottom-right"}onAdd(t){const e=this.options&&this.options.compact;return this._map=t,this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=o("button","mapboxgl-ctrl-attrib-button",this._container),o("span","mapboxgl-ctrl-icon",this._compactButton).setAttribute("aria-hidden","true"),this._compactButton.type="button",this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=o("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}onRemove(){this._container.remove(),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}_setElementTitle(t,e){const n=this._map._getUIString(`AttributionControl.${e}`);t.setAttribute("aria-label",n),t.removeAttribute("title"),t.firstElementChild&&t.firstElementChild.setAttribute("title",n)}_toggleAttribution(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-com
2pact-show"),this._compactButton.setAttribute("aria-expanded","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-expanded","true"))}_updateEditLink(){let e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));const n=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){const r=n.reduce(((t,e,r)=>(e.value&&(t+=`${e.key}=${e.value}${r<n.length-1?"&":""}`),t)),"?");e.href=`${t.config.FEEDBACK_URL}/${r}#${ti(this._map,!0)}`,e.rel="noopener nofollow",this._setElementTitle(e,"MapFeedback")}}_updateData(t){!t||"metadata"!==t.sourceDataType&&"visibility"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink())}_updateAttributions(){if(!this._map.style)return;let t=[];if(this._map.style.stylesheet){const t=this._map.style.stylesheet;this.styleOwner=t.owner,this.styleId=t.id}const e=this._map.style._sourceCaches;for(const n in e){const r=e[n];if(r.used){const e=r.getSource();e.attribution&&t.indexOf(e.attribution)<0&&t.push(e.attribution)}}t.sort(((t,e)=>t.length-e.length)),t=t.filter(((e,n)=>{for(let r=n+1;r<t.length;r++)if(t[r].indexOf(e)>=0)return!1;return!0})),this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=[...this.options.customAttribution,...t]:t.unshift(this.options.customAttribution));const n=t.join(" | ");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)}_updateCompact(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")}}class Ki{constructor(){t.bindAll(["_updateLogo","_updateCompact"],this)}onAdd(t){this._map=t,this._container=o("div","mapboxgl-ctrl");const e=o("a","mapboxgl-ctrl-logo");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}onRemove(){this._container.remove(),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)}getDefaultPosition(){return"bottom-left"}_updateLogo(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")}_logoRequired(){if(!this._map.style)return!0;const t=this._map.style._sourceCaches;if(0===Object.entries(t).length)return!0;for(const e in t){const n=t[e].getSource();if(n.hasOwnProperty("mapbox_logo")&&!n.mapbox_logo)return!1}return!0}_updateCompact(){const t=this._container.children;if(t.length){const e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}}}class Qi{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(t){const e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e}remove(t){const e=this._currentlyRunning,n=e?this._queue.concat(e):this._queue;for(const e of n)if(e.id===t)return void(e.cancelled=!0)}run(t=0){const e=this._currentlyRunning=this._queue;this._queue=[];for(const n of e)if(!n.cancelled&&(n.callback(t),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}function to(e,n,r){if(e=new t.LngLat(e.lng,e.lat),n){const i=new t.LngLat(e.lng-360,e.lat),o=new t.LngLat(e.lng+360,e.lat),a=360*Math.ceil(Math.abs(e.lng-r.center.lng)/360),s=r.locationPoint(e).distSqr(n),l=n.x<0||n.y<0||n.x>r.width||n.y>r.height;r.locationPoint(i).distSqr(n)<s&&(l||Math.abs(i.lng-r.center.lng)<a)?e=i:r.locationPoint(o).distSqr(n)<s&&(l||Math.abs(o.lng-r.center.lng)<a)&&(e=o)}for(;Math.abs(e.lng-r.center.lng)>180;){const t=r.locationPoint(e);if(t.x>=0&&t.y>=0&&t.x<=r.width&&t.y<=r.height)break;e.lng>r.center.lng?e.lng-=360:e.lng+=360}return e}
vendor: 4,521 bytes, line 2
2const eo={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};class no extends t.Evented{constructor(e,n){if(super(),(e instanceof t.window.HTMLElement||n)&&(e=t.extend({element:e},n)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress","_clearFadeTimer"],this),this._anchor=e&&e.anchor||"center",this._color=e&&e.color||"#3FB1CE",this._scale=e&&e.scale||1,this._draggable=e&&e.draggable||!1,this._clickTolerance=e&&e.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=e&&e.rotation||0,this._rotationAlignment=e&&e.rotationAlignment||"auto",this._pitchAlignment=e&&e.pitchAlignment&&e.pitchAlignment||"auto",this._updateMoving=()=>this._update(!0),this._occludedOpacity=e&&e.occludedOpacity||.2,e&&e.element)this._element=e.element,this._offset=t.pointGeometry.convert(e&&e.offset||[0,0]);else{this._defaultMarker=!0,this._element=o("div");const n=41,r=27,i=a("svg",{display:"block",height:n*this._scale+"px",width:r*this._scale+"px",viewBox:`0 0 ${r} ${n}`},this._element),s=a("radialGradient",{id:"shadowGradient"},a("defs",{},i));a("stop",{offset:"10%","stop-opacity":.4},s),a("stop",{offset:"100%","stop-opacity":.05},s),a("ellipse",{cx:13.5,cy:34.8,rx:10.5,ry:5.25,fill:"url(#shadowGradient)"},i),a("path",{fill:this._color,d:"M27,13.5C27,19.07 20.25,27 14.75,34.5C14.02,35.5 12.98,35.5 12.25,34.5C6.75,27 0,19.22 0,13.5C0,6.04 6.04,0 13.5,0C20.96,0 27,6.04 27,13.5Z"},i),a("path",{opacity:.25,d:"M13.5,0C6.04,0 0,6.04 0,13.5C0,19.22 6.75,27 12.25,34.5C13,35.52 14.02,35.5 14.75,34.5C20.25,27 27,19.07 27,13.5C27,6.04 20.96,0 13.5,0ZM13.5,1C20.42,1 26,6.58 26,13.5C26,15.9 24.5,19.18 22.22,22.74C19.95,26.3 16.71,30.14 13.94,33.91C13.74,34.18 13.61,34.32 13.5,34.44C13.39,34.32 13.26,34.18 13.06,33.91C10.28,30.13 7.41,26.31 5.02,22.77C2.62,19.23 1,15.95 1,13.5C1,6.58 6.58,1 13.5,1Z"},i),a("circle",{fill:"white",cx:13.5,cy:13.5,r:5.5},i),this._offset=t.pointGeometry.convert(e&&e.offset||[0,-14])}this._element.hasAttribute("aria-label")||this._element.setAttribute("aria-label","Map marker"),this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(t=>{t.preventDefault()})),this._element.addEventListener("mousedown",(t=>{t.preventDefault()}));const r=this._element.classList;for(const t in eo)r.remove(`mapboxgl-marker-anchor-${t}`);r.add(`mapboxgl-marker-anchor-${this._anchor}`),this._popup=null}addTo(t){return t===this._map||(this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._updateMoving),t.on("moveend",this._update),t.on("remove",this._clearFadeTimer),t._addMarker(this),this.setDraggable(this._draggable),this._update(),t.on("click",this._onMapClick)),this}remove(){const t=this._map;return t&&(t.off("click",this._onMapClick),t.off("move",this._updateMoving),t.off("moveend",this._update),t.off("mousedown",this._addDragHandler),t.off("touchstart",this._addDragHandler),t.off("mouseup",this._onUp),t.off("touchend",this._onUp),t.off("mousemove",this._onMove),t.off("touchmove",this._onMove),t.off("remove",this._clearFadeTimer),t._removeMarker(this),this._map=void 0),this._clearFadeTimer(),this._element.remove(),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(!0),this}getElement(){return this._element}setPopup(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeAttribute("role"),this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),t){if(!("offset"in t.options)){const e=38.1,n=13.5,r=Math.sqrt(Math.pow(n,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-e],"bottom-left":[r,-1*(e-n+r)],"bottom-right":[-r,-1*(e-n+r)],left:[n,-1*(e-n)],right:[-n,-1*(e-n)]}:this._offset}this._popup=t,t._marker=this,this._lngLat&&this._popup.setLngLat(this._lngLat),this._element.setAttribute("role","button"),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress),this._element.setAttribute("aria-expanded","fal
2se")}return this}_onKeyPress(t){const e=t.code,n=t.charCode||t.keyCode;"Space"!==e&&"Enter"!==e&&32!==n&&13!==n||this.togglePopup()}_onMapClick(t){const e=t.originalEvent.target,n=this._element;this._popup&&(e===n||n.contains(e))&&this.togglePopup()}getPopup(){return this._popup}togglePopup(){const t=this._popup;return t?(t.isOpen()?(t.remove(),this._element.setAttribute("aria-expanded","false")):this._map&&(t.addTo(this._map),this._element.setAttribute("aria-expanded","true")),this):this}_behindTerrain(){const t=this._map,e=this._pos;if(!t||!e)return!1;const n=t.unproject(e),r=t.getFreeCameraOptions();if(!r.position)return!1;const i=r.position.toLngLat();return i.distanceTo(n)<.9*i.distanceTo(this._lngLat)}_evaluateOpacity(){const e=this._map;if(!e)return;const n=this._pos;if(!n||n.x<0||n.x>e.transform.width||n.y<0||n.y>e.transform.height)return void this._clearFadeTimer();const r=e.unproject(n);let i;e._showingGlobe()&&t.isLngLatBehindGlobe(e.transform,this._lngLat)?i=0:(i=1-e._queryFogOpacity(r),e.transform._terrainEnabled()&&e.getTerrain()&&this._behindTerrain()&&(i*=this._occludedOpacity)),this._element.style.opacity=`${i}`,this._element.style.pointerEvents=i>0?"auto":"none",this._popup&&this._popup._setOpacity(i),this._fadeTimer=null}_clearFadeTimer(){this._fadeTimer&&(clearTimeout(this._fadeTimer),this._fadeTimer=null)}_updateDOM(){const t=this._pos;if(!t||!this._map)return;const e=this._offset.mult(this._scale);this._element.style.transform=`\n            translate(${t.x}px,${t.y}px)\n            ${eo[this._anchor]}\n            ${this._calculateXYTransform()} ${this._calculateZTransform()}\n            translate(${e.x}px,${e.y}px)\n        `}_calculateXYTransform(){const e=this._pos,n=this._map,r=this.getPitchAlignment();if(!n||!e||"map"!==r)return"";if(!n._showingGlobe()){const t=n.getPitch();return t?`rotateX(${t}deg)`:""}const i=t.radToDeg(t.globeTiltAtLngLat(n.transform,this._lngLat)),o=e.sub(t.globeCenterToScreenPoint(n.transform)),a=Math.abs(o.x)+Math.abs(o.y);if(0===a)return"";const s=i/a;return`rotateX(${-o.y*s}deg) rotateY(${o.x*s}deg)`}_calculateZTransform(){const e=this._pos,n=this._map;if(!n||!e)return"";let r=0;const i=this.getRotationAlignment();if("map"===i)if(n._showingGlobe()){const e=n.project(new t.LngLat(this._lngLat.lng,this._lngLat.lat+.001)),i=n.project(new t.LngLat(this._lngLat.lng,this._lngLat.lat-.001)).sub(e);r=t.radToDeg(Math.atan2(i.y,i.x))-90}else r=-n.getBearing();else if("horizon"===i){const i=t.smoothstep(4,6,n.getZoom()),o=t.globeCenterToScreenPoint(n.transform);o.y+=i*n.transform.height;
vendor: 5,536 bytes, line 2
2const a=e.sub(o),s=t.radToDeg(Math.atan2(a.y,a.x));r=(s>90?s-270:s+90)*(1-i)}return r+=this._rotation,r?`rotateZ(${r}deg)`:""}_update(e){t.window.cancelAnimationFrame(this._updateFrameId);const n=this._map;n&&(n.transform.renderWorldCopies&&(this._lngLat=to(this._lngLat,this._pos,n.transform)),this._pos=n.project(this._lngLat),!0===e?this._updateFrameId=t.window.requestAnimationFrame((()=>{this._element&&this._pos&&this._anchor&&(this._pos=this._pos.round(),this._updateDOM())})):this._pos=this._pos.round(),n._requestDomTask((()=>{this._map&&(this._element&&this._pos&&this._anchor&&this._updateDOM(),(n._showingGlobe()||n.getTerrain()||n.getFog())&&!this._fadeTimer&&(this._fadeTimer=setTimeout(this._evaluateOpacity.bind(this),60)))})))}getOffset(){return this._offset}setOffset(e){return this._offset=t.pointGeometry.convert(e),this._update(),this}_onMove(e){const n=this._map;if(!n)return;const r=this._pointerdownPos,i=this._positionDelta;if(r&&i){if(!this._isDragging){const t=this._clickTolerance||n._clickTolerance;if(e.point.dist(r)<t)return;this._isDragging=!0}this._pos=e.point.sub(i),this._lngLat=n.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"))}}_onUp(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1;const e=this._map;e&&(e.off("mousemove",this._onMove),e.off("touchmove",this._onMove)),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"}_addDragHandler(t){const e=this._map,n=this._pos;e&&n&&this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(n),this._pointerdownPos=t.point,this._state="pending",e.on("mousemove",this._onMove),e.on("touchmove",this._onMove),e.once("mouseup",this._onUp),e.once("touchend",this._onUp))}setDraggable(t){this._draggable=!!t;const e=this._map;return e&&(t?(e.on("mousedown",this._addDragHandler),e.on("touchstart",this._addDragHandler)):(e.off("mousedown",this._addDragHandler),e.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(t){return this._rotation=t||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(t){return this._rotationAlignment=t||"auto",this._update(),this}getRotationAlignment(){return"auto"===this._rotationAlignment||"horizon"===this._rotationAlignment&&this._map&&!this._map._showingGlobe()?"viewport":this._rotationAlignment}setPitchAlignment(t){return this._pitchAlignment=t||"auto",this._update(),this}getPitchAlignment(){return"auto"===this._pitchAlignment?this.getRotationAlignment():this._pitchAlignment}setOccludedOpacity(t){return this._occludedOpacity=t||.2,this._update(),this}getOccludedOpacity(){return this._occludedOpacity}}const ro={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},io=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function oo(e=new t.pointGeometry(0,0),n="bottom"){if("number"==typeof e){const r=Math.round(Math.sqrt(.5*Math.pow(e,2)));switch(n){case"top":return new t.pointGeometry(0,e);case"top-left":return new t.pointGeometry(r,r);case"top-right":return new t.pointGeometry(-r,r);case"bottom":return new t.pointGeometry(0,-e);case"bottom-left":return new t.pointGeometry(r,-r);case"bottom-right":return new t.pointGeometry(-r,-r);case"left":return new t.pointGeometry(e,0);case"right":return new t.pointGeometry(-e,0)}return new t.pointGeometry(0,0)}return e instanceof t.pointGeometry||Array.isArray(e)?t.pointGeometry.convert(e):t.pointGeometry.convert(e[n]||[0,0])}class ao{constructor(t){this.jumpTo(t)}getValue(e){if(e<=this._startTime)return this._start;if(e>=this._endTime)return this._end;const n=t.easeCubicInOut((e-this._startTime)/(this._endTime-this._startTime));return this._start*(1-n)+this._end*n}isEasing(t){return t>=this._startTime&&t<=this._endTime}jumpTo(t){this._startTime=-1/0,this._endTime=-1/0,this._start=t,this._end=t}easeTo(t,e,n){this._start=this.getValue(e),this._end=t,this._startTime=e,this._endTime=e+n}}const so={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","Map.Title":"Map","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScrollZoomBlocker.CtrlMessage":"Use ctrl + scroll to zoom the map","ScrollZoomBlocker.CmdMessage":"Use ⌘ + scroll to zoom the map","TouchPanBlocker.Message":"Use two fingers to move the map"},lo={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:85,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,performanceMetricsCollection:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,optimizeForTerrain:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,minTileCacheSize:null,maxTileC
vendor: 9,566 bytes, line 2
2acheSize:null,localIdeographFontFamily:"sans-serif",localFontFamily:null,transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0};function co(t){t.parentNode&&t.parentNode.removeChild(t)}const uo={showCompass:!0,showZoom:!0,visualizePitch:!1};class ho{constructor(e,n,r=!1){this._clickTolerance=10,this.element=n,this.mouseRotate=new wi({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,r&&(this.mousePitch=new ki({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),t.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),n.addEventListener("mousedown",this.mousedown),n.addEventListener("touchstart",this.touchstart,{passive:!1}),n.addEventListener("touchmove",this.touchmove),n.addEventListener("touchend",this.touchend),n.addEventListener("touchcancel",this.reset)}down(t,e){this.mouseRotate.mousedown(t,e),this.mousePitch&&this.mousePitch.mousedown(t,e),u()}move(t,e){const n=this.map,r=this.mouseRotate.mousemoveWindow(t,e),i=r&&r.bearingDelta;if(i&&n.setBearing(n.getBearing()+i),this.mousePitch){const r=this.mousePitch.mousemoveWindow(t,e),i=r&&r.pitchDelta;i&&n.setPitch(n.getPitch()+i)}}off(){const t=this.element;t.removeEventListener("mousedown",this.mousedown),t.removeEventListener("touchstart",this.touchstart,{passive:!1}),t.removeEventListener("touchmove",this.touchmove),t.removeEventListener("touchend",this.touchend),t.removeEventListener("touchcancel",this.reset),this.offTemp()}offTemp(){d(),t.window.removeEventListener("mousemove",this.mousemove),t.window.removeEventListener("mouseup",this.mouseup)}mousedown(e){this.down(t.extend({},e,{ctrlKey:!0,preventDefault:()=>e.preventDefault()}),p(this.element,e)),t.window.addEventListener("mousemove",this.mousemove),t.window.addEventListener("mouseup",this.mouseup)}mousemove(t){this.move(t,p(this.element,t))}mouseup(t){this.mouseRotate.mouseupWindow(t),this.mousePitch&&this.mousePitch.mouseupWindow(t),this.offTemp()}touchstart(t){1!==t.targetTouches.length?this.reset():(this._startPos=this._lastPos=m(this.element,t.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:()=>t.preventDefault()},this._startPos))}touchmove(t){1!==t.targetTouches.length?this.reset():(this._lastPos=m(this.element,t.targetTouches)[0],this.move({preventDefault:()=>t.preventDefault()},this._lastPos))}touchend(t){0===t.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()}reset(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()}}const fo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0,showUserHeading:!1},po={maxWidth:100,unit:"metric"};function mo(t,e,n){const r=_o(e),i=r/e,o={kilometer:"km",meter:"m",mile:"mi",foot:"ft","nautical-mile":"nm"}[n];this._map._requestDomTask((()=>{this._container.style.width=t*i+"px",this._container.innerHTML=`${r}&nbsp;${o}`}))}function _o(t){const e=Math.pow(10,`${Math.floor(t)}`.length-1);let n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:n>=1?1:function(t){const e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(n),e*n}const vo={version:t.version,supported:n,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:class extends Xi{constructor(e){if(t.LivePerformanceUtils.mark(t.PerformanceMarkers.create),null!=(e=t.extend({},lo,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(e.antialias&&t.isSafariWithAntialiasingBug(t.window)&&(e.antialias=!1,t.warnOnce("Antialiasing is disabled for this WebGL context to avoid browser bug: https://github.com/mapbox/mapbox-gl-js/issues/11609")),super(new Jr(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies),e),this._interactive=e.interactive,this._minTileCacheSize=e.minTileCacheSize,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._isInitialLoad=!0,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._optimizeForTerrain=e.optimizeForTerrain,this._language=this._parseLanguage(e.language),this._worldview=e.worldview,this._renderTaskQueue=new Qi,this._domRenderTaskQueue=new Qi,this._controls=[],this._markers=[],this._popups=[],this._mapId=t.uniqueId(),this._locale=t.extend({},so,e.locale),this._clickTolerance=e.clickTolerance,this._cooperativeGestures=e.cooperativeGestures,this._performanceMetricsCollection=e.performanceMetricsCollection,this._containerWidth=0,this._containerHeight=0,this._averageElevationLastSampledAt=-1/0,this._averageElevationExaggeration=0,this._averageElevation=new ao(0),this._interactionRange=[1/0,-1/0],this._useExplicitProjection=!1,this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken,e.testMode),this._silenceAuthErrors=!!e.testMode,"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error(`Container '${e.container}' not found.`)}else{if(!(e.container instanceof t.window.HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(this._container.childNodes.length>0&&t.warnOnce("The map container element should be empty, otherwise the map's interactivity will be negatively impacted. If you want to display a message when WebGL is not supported, use the Mapbox GL Supported plugin instead."),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.");this.on("move",(()=>this._update(!1))),this.on("moveend",(()=>this._update(!1))),this.on("zoom",(()=>this._update(!0))),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),t.window.addEventListener("webkitfullscreenchange",this._onWindowResize,!1)),this.handlers=new Gi(this,e),this._localFontFamily=e.localFontFamily,this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localFontFamily:this._localFontFamily,localIdeographFontFamily:this._localIdeographFontFamily}),e.projection&&this.setProjection(e.projection),this._hash=e.hash&&new Qr("string"==typeof e.hash&&e.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),e.attributionControl&&this.addControl(new Ji({customAttribution:e.customAttribution})),this._logoControl=new Ki,this.addControl(this._logoControl,e.logoPosition),this.on("style.load",(()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)})),this.on("data",(e=>{this._update("style"===e.dataType),this.fire(new t.Event(`${e.dataType}data`,e))})),this.on("dataloading",(e=>{this.fire(new t.Event(`${e.dataType}dataloading`,e))}))}_getMapId(){return this._mapId}addControl(e,n){if(void 0===n&&(n=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.")));const r=e.onAdd(this);this._controls.push(e);const i=this._controlPositions[n];return-1!==n.indexOf("bottom")?i.insertBefore(r,i.firstChild):i.appendChild(r),this}removeControl(e){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.")));const n=this._controls.indexOf(e);return n>-1&&this._controls.splice(n,1),e.onRemove(this),this}hasControl(t){return this._controls.indexOf(t)>-1}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}resize(e){if(this._updateContainerDimensions(),this._containerWidth===this.transform.width&&this._containerHeight===this.transform.height)return this;this._resizeCanvas(this._containerWidth,this._containerHeight),this.transform.resize(this._containerWidth,this._containerHeight),this.painter.resize(Math.ceil(this._containerWidth),Math.ceil(this._containerHeight));const n=!this._moving;return n&&this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e)),this.fire(new t.Event("resize",e)),n&&this.fire(new t.Event("moveend",e)),this}getBounds(){return"globe"===this.transform.projection.name&&t.warnOnce('Globe projection does not support getBounds API, this API may behave unex
2pectedly when viewing the poles."'),this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()||null}setMaxBounds(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()}setMinZoom(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom)return this.transform.minZoom=e,this._update(),this.getZoom()<e?this.setZoom(e):this.fire(new t.Event("zoomstart")).fire(new t.Event("zoom")).fire(new t.Event("zoomend")),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(e){if((e=null==e?22:e)>=this.transform.minZoom)return this.transform.maxZoom=e,this._update(),this.getZoom()>e?this.setZoom(e):this.fire(new t.Event("zoomstart")).fire(new t.Event("zoom")).fire(new t.Event("zoomend")),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch)return this.transform.minPitch=e,this._update(),this.getPitch()<e?this.setPitch(e):this.fire(new t.Event("pitchstart")).fire(new t.Event("pitch")).fire(new t.Event("pitchend")),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(e){if((e=null==e?85:e)>85)throw new Error("maxPitch must be less than or equal to 85");if(e>=this.transform.minPitch)return this.transform.maxPitch=e,this._update(),this.getPitch()>e?this.setPitch(e):this.fire(new t.Event("pitchstart")).fire(new t.Event("pitch")).fire(new t.Event("pitchend")),this;throw new Error("maxPitch must be greater than or equal to minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(t){return this.transform.renderWorldCopies=t,this.transform.renderWorldCopies||this._forceMarkerAndPopupUpdate(!0),this._update()}getLanguage(){return this._language}_parseLanguage(e){return"auto"===e?t.window.navigator.language:Array.isArray(e)?0===e.length?void 0:e.map((e=>"auto"===e?t.window.navigator.language:e)):e}setLanguage(t){const e=this._parseLanguage(t);if(!this.style||e===this._language)return this;this._language=e,this.style._reloadSources();for(const t of this._controls)t._setLanguage&&t._setLanguage(this._language);return this}getWorldview(){return this._worldview}setWorldview(t){return this.style&&t!==this._worldview?(this._worldview=t,this.style._reloadSources(),this):this}getProjection(){return this.transform.mercatorFromTransition?{name:"globe",center:[0,0]}:this.transform.getProjection()}_showingGlobe(){return"globe"===this.transform.projection.name}setProjection(t){return this._lazyInitEmptyStyle(),t?"string"==typeof t&&(t={name:t}):t=null,this._useExplicitProjection=!!t,this._prioritizeAndUpdateProjection(t,this.style.stylesheet?this.style.stylesheet.projection:null)}_updateProjectionTransition(){if("globe"!==this.getProjection().name)return;const e=this.transform,n=e.projection.name;let r;"globe"===n&&e.zoom>=t.GLOBE_ZOOM_THRESHOLD_MAX?(e.setMercatorFromTransition(),r=!0):"mercator"===n&&e.zoom<t.GLOBE_ZOOM_THRESHOLD_MAX&&(e.setProjection({name:"globe"}),r=!0),r&&(this.style.applyProjectionUpdate(),this.style._forceSymbolLayerUpdate())}_prioritizeAndUpdateProjection(t,e){return this._updateProjection(t||e||{name:"mercator"})}_updateProjection(e){let n;if(n="globe"===e.name&&this.transform.zoom>=t.GLOBE_ZOOM_THRESHOLD_MAX?this.transform.setMercatorFromTransition():this.transform.setProjection(e),this.style.applyProjectionUpdate(),n){this.painter.clearBackgroundTiles();for(const t in this.style._sourceCaches)this.style._sourceCaches[t].clearTiles();this._update(!0),this._forceMarkerAndPopupUpdate(!0)}return this}project(e){return this.transform.locationPoint3D(t.LngLat.convert(e))}unproject(e){return this.transform.pointLocation3D(t.pointGeometry.convert(e))}isMoving(){return this._moving||this.handlers&&this.handlers.isMoving()||!1}isZooming(){return this._zooming||this.handlers&&this.handlers.isZooming()||!1}isRotating(){return this._rotating||this.handlers&&this.handlers.isRotating()||!1}
vendor: 9,164 bytes, line 2
2_createDelegatedListener(t,e,n){if("mouseenter"===t||"mouseover"===t){let r=!1;const i=i=>{const o=e.filter((t=>this.getLayer(t))),a=o.length?this.queryRenderedFeatures(i.point,{layers:o}):[];a.length?r||(r=!0,n.call(this,new ci(t,this,i.originalEvent,{features:a}))):r=!1},o=()=>{r=!1};return{layers:new Set(e),listener:n,delegates:{mousemove:i,mouseout:o}}}if("mouseleave"===t||"mouseout"===t){let r=!1;const i=i=>{const o=e.filter((t=>this.getLayer(t)));(o.length?this.queryRenderedFeatures(i.point,{layers:o}):[]).length?r=!0:r&&(r=!1,n.call(this,new ci(t,this,i.originalEvent)))},o=e=>{r&&(r=!1,n.call(this,new ci(t,this,e.originalEvent)))};return{layers:new Set(e),listener:n,delegates:{mousemove:i,mouseout:o}}}{const r=t=>{const r=e.filter((t=>this.getLayer(t))),i=r.length?this.queryRenderedFeatures(t.point,{layers:r}):[];i.length&&(t.features=i,n.call(this,t),delete t.features)};return{layers:new Set(e),listener:n,delegates:{[t]:r}}}}on(t,e,n){if(void 0===n)return super.on(t,e);Array.isArray(e)||(e=[e]);const r=this._createDelegatedListener(t,e,n);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(r);for(const t in r.delegates)this.on(t,r.delegates[t]);return this}once(t,e,n){if(void 0===n)return super.once(t,e);Array.isArray(e)||(e=[e]);const r=this._createDelegatedListener(t,e,n);for(const t in r.delegates)this.once(t,r.delegates[t]);return this}off(t,e,n){if(void 0===n)return super.off(t,e);e=new Set(Array.isArray(e)?e:[e]);const r=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0},i=this._delegatedListeners?this._delegatedListeners[t]:void 0;return i&&(t=>{for(let i=0;i<t.length;i++){const o=t[i];if(o.listener===n&&r(o.layers,e)){for(const t in o.delegates)this.off(t,o.delegates[t]);return t.splice(i,1),this}}})(i),this}queryRenderedFeatures(e,n){return this.style?(void 0!==n||void 0===e||e instanceof t.pointGeometry||Array.isArray(e)||(n=e,e=void 0),this.style.queryRenderedFeatures(e=e||[[0,0],[this.transform.width,this.transform.height]],n=n||{},this.transform)):[]}querySourceFeatures(t,e){return this.style.querySourceFeatures(t,e)}setStyle(e,n){return!1!==(n=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily,localFontFamily:this._localFontFamily},n)).diff&&n.localIdeographFontFamily===this._localIdeographFontFamily&&n.localFontFamily===this._localFontFamily&&this.style&&e?(this._diffStyle(e,n),this):(this._localIdeographFontFamily=n.localIdeographFontFamily,this._localFontFamily=n.localFontFamily,this._updateStyle(e,n))}_getUIString(t){const e=this._locale[t];if(null==e)throw new Error(`Missing UI string '${t}'`);return e}_updateStyle(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove(),this.style=void 0),t&&(this.style=new tn(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t)),this._updateTerrain(),this}_lazyInitEmptyStyle(){this.style||(this.style=new tn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(e,n){if("string"==typeof e){const r=this._requestManager.normalizeStyleURL(e),i=this._requestManager.transformRequest(r,t.ResourceType.Style);t.getJSON(i,((e,r)=>{e?this.fire(new t.ErrorEvent(e)):r&&this._updateDiff(r,n)}))}else"object"==typeof e&&this._updateDiff(e,n)}_updateDiff(e,n){try{this.style.setState(e)&&this._update(!0)}catch(r){t.warnOnce(`Unable to perform style diff: ${r.message||r.error||r}.  Rebuilding the style from scratch.`),this._updateStyle(e,n)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():(t.warnOnce("There is no style added to the map."),!1)}addSource(t,e){return this._lazyInitEmptyStyle(),this.style.addSource(t,e),this._update(!0)}isSourceLoaded(t){return!!this.style&&this.style._isSourceCacheLoaded(t)}areTilesLoaded(){const t=this.style&&this.style._sourceCaches;for(const e in t){const n=t[e]._tiles;for(const t in n){const e=n[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}}return!0}addSourceType(t,e,n){this._lazyInitEmptyStyle(),this.style.addSourceType(t,e,n)}removeSource(t){return this.style.removeSource(t),this._updateTerrain(),this._update(!0)}getSource(t){return this.style.getSource(t)}addImage(e,n,{pixelRatio:r=1,sdf:i=!1,stretchX:o,stretchY:a,content:s}={}){if(this._lazyInitEmptyStyle(),n instanceof t.window.HTMLImageElement||t.window.ImageBitmap&&n instanceof t.window.ImageBitmap){const{width:l,height:c,data:u}=t.exported.getImageData(n);this.style.addImage(e,{data:new t.RGBAImage({width:l,height:c},u),pixelRatio:r,stretchX:o,stretchY:a,content:s,sdf:i,version:0})}else if(void 0===n.width||void 0===n.height)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`")));else{const{width:l,height:c}=n,u=n;this.style.addImage(e,{data:new t.RGBAImage({width:l,height:c},new Uint8Array(u.data)),pixelRatio:r,stretchX:o,stretchY:a,content:s,sdf:i,version:0,userImage:u}),u.onAdd&&u.onAdd(this,e)}}updateImage(e,n){const r=this.style.getImage(e);if(!r)return void 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.")));const i=n instanceof t.window.HTMLImageElement||t.window.ImageBitmap&&n instanceof t.window.ImageBitmap?t.exported.getImageData(n):n,{width:o,height:a}=i;void 0!==o&&void 0!==a?o===r.data.width&&a===r.data.height?(r.data.replace(i.data,!(n instanceof t.window.HTMLImageElement||t.window.ImageBitmap&&n instanceof t.window.ImageBitmap)),this.style.updateImage(e,r)):this.fire(new t.ErrorEvent(new Error(`The width and height of the updated image (${o}, ${a})\n                must be that same as the previous version of the image\n                (${r.data.width}, ${r.data.height})`))):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`")))}hasImage(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)}removeImage(t){this.style.removeImage(t)}loadImage(e,n){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),((e,r)=>{n(e,r instanceof t.window.HTMLImageElement?t.exported.getImageData(r):r)}))}listImages(){return this.style.listImages()}addLayer(t,e){return this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)}moveLayer(t,e){return this.style.moveLayer(t,e),this._update(!0)}removeLayer(t){return this.style.removeLayer(t),this._update(!0)}getLayer(t){return this.style.getLayer(t)}setLayerZoomRange(t,e,n){return this.style.setLayerZoomRange(t,e,n),this._update(!0)}setFilter(t,e,n={}){return this.style.setFilter(t,e,n),this._update(!0)}getFilter(t){return this.style.getFilter(t)}setPaintProperty(t,e,n,r={}){return this.style.setPaintProperty(t,e,n,r),this._update(!0)}getPaintProperty(t,e){return this.style.getPaintProperty(t,e)}setLayoutProperty(t,e,n,r={}){return this.style.setLayoutProperty(t,e,n,r),this._update(!0)}getLayoutProperty(t,e){return this.style.getLayoutProperty(t,e)}setLight(t,e={}){return this._lazyInitEmptyStyle(),this.style.setLight(t,e),this._update(!0)}getLight(){return this.style.getLight()}setTerrain(t){return this._lazyInitEmptyStyle(),!t&&this.transform.projection.requiresDraping?this.style.setTerrainForDraping():this.style.setTerrain(t),this._averageElevationLastSampledAt=-1/0,this._update(!0)}getTerrain(){return this.style?this.style.getTerrain():null}setFog(t){return this._lazyInitEmptyStyle(),this.style.setFog(t),this._update(!0)}getFog(){return this.style?this.style.getFog():null}_queryFogOpacity(e){return this.style&&this.style.fog?this.style.fog.getOpacityAtLatLng(t.LngLat.convert(e),this.transform):0}setFeatureState(t,e){return this.style.setFeatureState(t,e),this._update()}removeFeatureState(t,e){return this.style.removeFeatureState(t,e),this._update()}getFeatureState(t){return this.style.getFeatureState(t)}_updateContainerDimensions(){if(!this._container)return;const e=this._container.getBoundingClientRect().width||400,n=this._container.getBoundingClientRect().height||300;let r,i,o,a=this._container;for(;a&&(!i||!o);){const e=t.window.getComputedStyle(a).transform;e&&"none"!==e&&(r=e.match(/matrix.*\((.+)\)/)[1].split(", "),r[0]&&"0"!==r[0]&&"1"!==r[0]&&(i=r[0]),r[3]&&"0"!==r[3]&&"1"!==r[3]&&(o=r[3])),a=a.parentElement}this._containerWidth=i?Math.abs(e/i):e,this._containerHeight=o?Math.abs(n/o):n}_detectMissingCSS(){"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 
2in https://www.mapbox.com/mapbox-gl-js/api/.")}_setupContainer(){const t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=o("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();const e=this._canvasContainer=o("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=o("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",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region"),this._updateContainerDimensions(),this._resizeCanvas(this._containerWidth,this._containerHeight);const n=this._controlContainer=o("div","mapboxgl-control-container",t),r=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((t=>{r[t]=o("div",`mapboxgl-ctrl-${t}`,n)})),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(e,n){const r=t.exported.devicePixelRatio||1;this._canvas.width=r*Math.ceil(e),this._canvas.height=r*Math.ceil(n),this._canvas.style.width=`${e}px`,this._canvas.style.height=`${n}px`}_addMarker(t){this._markers.push(t)}_removeMarker(t){const e=this._markers.indexOf(t);-1!==e&&this._markers.splice(e,1)}_addPopup(t){this._popups.push(t)}_removePopup(t){const e=this._popups.indexOf(t);-1!==e&&this._popups.splice(e,1)}_setupPainter(){const e=t.extend({},n.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),r=this._canvas.getContext("webgl",e)||this._canvas.getContext("experimental-webgl",e);r?(t.storeAuthState(r,!0),this.painter=new Rr(r,this.transform),this.on("data",(t=>{"source"===t.dataType&&this.painter.setTileLoadedFlag(!0)})),t.exported$1.testSupport(r)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))}_contextLost(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))}_contextRestored(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))}_onMapScroll(t){if(t.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(t){return this._update(),this._renderTaskQueue.add(t)}_cancelRenderFrame(t){this._renderTaskQueue.remove(t)}_requestDomTask(t){!this.loaded()||this.loaded()&&!this.isMoving()?t():this._domRenderTaskQueue.add(t)}_render(e){let n;const r=this.painter.context.extTimerQuery,i=t.exported.now();if(this.listens("gpu-timing-frame")&&(n=r.createQueryEXT(),r.beginQueryEXT(r.TIME_ELAPSED_EXT,n)),this.painter.context.setDirty(),this.painter.setBaseState(),(this.isMoving()||this.isRotating()||this.isZooming())&&(this._interactionRange[0]=Math.min(this._interactionRange[0],t.window.performance.now()),this._interactionRange[1]=Math.max(this._interactionRange[1],t.window.performance.now())),this._renderTaskQueue.run(e),this._domRenderTaskQueue.run(e),this._removed)return;this._updateProjectionTransition();let o=!1;const a=this._isInitialLoad?0:this._fadeDuration;if(this.style&&this._styleDirty){this._styleDirty=!1;const e=this.transform.zoom,n=this.transform.pitch,r=t.exported.now();this.style.zoomHistory.update(e,r);const i=new t.EvaluationParameters(e,{now:r,fadeDuration:a,pitch:n,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),s=i.crossFadingFactor();1===s&&s===this._crossFadingFactor||(o=!0,this._crossFadingFactor=s),this.style.update(i)}this.style&&this.style.fog&&this.style.fog.hasTransition()&&(this.style._markersNeedUpdate=!0,this._sourcesDirty=!0);let s=!1;if(this.style&&this._sourcesDirty?(this._sourcesDirty=!1,this.painter._updateFog(this.style),this._updateTerrain(),s=this._updateAverageElevation(i),this.style._updateSources(this.transform),this._forceMar
vendor: 10,277 bytes, line 2
2kerAndPopupUpdate()):s=this._updateAverageElevation(i),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,a,this._crossSourceCollisions),this.style&&this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showTerrainWireframe:this.showTerrainWireframe,showOverdrawInspector:this._showOverdrawInspector,showQueryGeometry:!!this._showQueryGeometry,showTileAABBs:this.showTileAABBs,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:a,isInitialLoad:this._isInitialLoad,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer"),gpuTimingDeferredRender:!!this.listens("gpu-timing-deferred-render"),speedIndexTiming:this.speedIndexTiming}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||o)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),n){const e=t.exported.now()-i;r.endQueryEXT(r.TIME_ELAPSED_EXT,n),setTimeout((()=>{const o=r.getQueryObjectEXT(n,r.QUERY_RESULT_EXT)/1e6;r.deleteQueryEXT(n),this.fire(new t.Event("gpu-timing-frame",{cpuTime:e,gpuTime:o})),t.window.performance.mark("frame-gpu",{startTime:i,detail:{gpuTime:o}})}),50)}if(this.listens("gpu-timing-layer")){const e=this.painter.collectGpuTimers();setTimeout((()=>{const n=this.painter.queryGpuTimers(e);this.fire(new t.Event("gpu-timing-layer",{layerTimes:n}))}),50)}if(this.listens("gpu-timing-deferred-render")){const e=this.painter.collectDeferredRenderGpuQueries();setTimeout((()=>{const n=this.painter.queryGpuTimeDeferredRender(e);this.fire(new t.Event("gpu-timing-deferred-render",{gpuTime:n}))}),50)}const l=this._sourcesDirty||this._styleDirty||this._placementDirty||s;if(l||this._repaint)this.triggerRepaint();else{const e=!this.isMoving()&&this.loaded();if(e&&(s=this._updateAverageElevation(i,!0)),s)this.triggerRepaint();else if(this._triggerFrame(!1),e&&(this.fire(new t.Event("idle")),this._isInitialLoad=!1,this.speedIndexTiming)){const e=this._calculateSpeedIndex();this.fire(new t.Event("speedindexcompleted",{speedIndex:e})),this.speedIndexTiming=!1}}!this._loaded||this._fullyLoaded||l||(this._fullyLoaded=!0,t.LivePerformanceUtils.mark(t.PerformanceMarkers.fullLoad),this._performanceMetricsCollection&&t.postPerformanceEvent(this._requestManager._customAccessToken,{width:this.painter.width,height:this.painter.height,interactionRange:this._interactionRange,terrainEnabled:!!this.painter.style.getTerrain(),fogEnabled:!!this.painter.style.getFog(),projection:this.painter.transform.projection,zoom:this.transform.zoom,renderer:this.painter.context.renderer,vendor:this.painter.context.vendor}),this._authenticate())}_forceMarkerAndPopupUpdate(t){for(const e of this._markers)t&&!this.getRenderWorldCopies()&&(e._lngLat=e._lngLat.wrap()),e._update();for(const e of this._popups)!t||this.getRenderWorldCopies()||e._trackPointer||(e._lngLat=e._lngLat.wrap()),e._update()}_updateAverageElevation(t,e=!1){const n=t=>(this.transform.averageElevation=t,this._update(!1),!0);if(!this.painter.averageElevationNeedsEasing())return 0!==this.transform.averageElevation&&n(0);if((e||t-this._averageElevationLastSampledAt>500)&&!this._averageElevation.isEasing(t)){const e=this.transform.averageElevation;let r=this.transform.sampleAverageElevation(),i=!1;this.transform.elevation&&(i=this.transform.elevation.exaggeration()!==this._averageElevationExaggeration,this._averageElevationExaggeration=this.transform.elevation.exaggeration()),isNaN(r)?r=0:this._averageElevationLastSampledAt=t;const o=Math.abs(e-r);if(o>1){if(this._isInitialLoad||i)return this._averageElevation.jumpTo(r),n(r);this._averageElevation.easeTo(r,t,300)}else if(o>1e-4)return this._averageElevation.jumpTo(r),n(r)}return!!this._averageElevation.isEasing(t)&&n(this._averageElevation.getValue(t))}_authenticate(){t.getMapSessionAPI(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,(e=>{if(e&&(e.message===t.AUTH_ERR_MSG||401===e.status)){const e=this.painter.context.gl;t.storeAuthState(e,!1),this._logoControl instanceof Ki&&this._logoControl._updateLogo(),e&&e.clear(e.DEPTH_BUFFER_BIT|e.COLOR_BUFFER_BIT|e.STENCIL_BUFFER_BIT),this._silenceAuthErrors||this.fire(new t.ErrorEvent(new Error("A valid Mapbox access token is required to use Mapbox GL JS. To create an account or a new access token, visit https://account.mapbox.com/")))}})),t.postMapLoadEvent(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,(()=>{}))}_updateTerrain(){this.painter.updateTerrain(this.style,this.isMoving()||this.isRotating()||this.isZooming())}_calculateSpeedIndex(){const t=this.painter.canvasCopy(),e=this.painter.getCanvasCopiesAndTimestamps();e.timeStamps.push(performance.now());const n=this.painter.context.gl,r=n.createFramebuffer();function i(t){n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,t,0);const e=new Uint8Array(n.drawingBufferWidth*n.drawingBufferHeight*4);return n.readPixels(0,0,n.drawingBufferWidth,n.drawingBufferHeight,n.RGBA,n.UNSIGNED_BYTE,e),e}return n.bindFramebuffer(n.FRAMEBUFFER,r),this._canvasPixelComparison(i(t),e.canvasCopies.map(i),e.timeStamps)}_canvasPixelComparison(t,e,n){let r=n[1]-n[0];const i=t.length/4;for(let o=0;o<e.length;o++){const a=e[o];let s=0;for(let e=0;e<a.length;e+=4)a[e]===t[e]&&a[e+1]===t[e+1]&&a[e+2]===t[e+2]&&a[e+3]===t[e+3]&&(s+=1);r+=(n[o+2]-n[o+1])*(1-s/i)}return r}remove(){this._hash&&this._hash.remove();for(const t of this._controls)t.onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this._domRenderTaskQueue.clear(),this.style&&this.style.destroy(),this.painter.destroy(),this.handlers&&this.handlers.destroy(),this.handlers=void 0,this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("orientationchange",this._onWindowResize,!1),t.window.removeEventListener("webkitfullscreenchange",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));const e=this.painter.context.gl.getExtension("WEBGL_lose_context");e&&e.loseContext(),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),co(this._canvasContainer),co(this._controlContainer),co(this._missingCSSCanary),this._canvas=void 0,this._canvasContainer=void 0,this._controlContainer=void 0,this._missingCSSCanary=void 0,this._container.classList.remove("mapboxgl-map"),this._container.removeEventListener("scroll",this._onMapScroll,!1),t.removeAuthState(this.painter.context.gl),this._removed=!0,this.fire(new t.Event("remove"))}triggerRepaint(){this._triggerFrame(!0)}_triggerFrame(e){this._renderNextFrame=this._renderNextFrame||e,this.style&&!this._frame&&(this._frame=t.exported.frame((t=>{const e=!!this._renderNextFrame;this._frame=null,this._renderNextFrame=null,e&&this._render(t)})))}_preloadTiles(e){const n=this.style?Object.values(this.style._sourceCaches):[];return t.asyncAll(n,((t,n)=>t._preloadTiles(e,n)),(()=>{this.triggerRepaint()})),this}_onWindowOnline(){this._update()}_onWindowResize(t){this._trackResize&&this.resize({originalEvent:t})._update()}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())}get showTerrainWireframe(){return!!this._showTerrainWireframe}set showTerrainWireframe(t){this._showTerrainWireframe!==t&&(this._showTerrainWireframe=t,this._update())}get speedIndexTiming(){return!!this._speedIndexTiming}set speedIndexTiming(t){this._speedIndexTiming!==t&&(this._speedIndexTiming=t,this._update())}get showPadding(){return!!this._showPadding}set showPadding(t){this._showPadding!==t&&(this._showPadding=t,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())}get repaint(){return!!this._repaint}set repaint(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(t){this._vertices=t,this._update()}get showTileAABBs(){return!!this._showTileAABBs}set showTileAABBs(t){this._showTileAABBs!==t&&(this._showTileAABBs=t,t&&this._update())}_setCacheLimits(e,n){t.setCacheLimits(e,n)}get version(){return t.version}},NavigationControl:class{constructor(e){this.options=t.extend({},uo,e),this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(t=>t.preventDefault())),this.options.showZoom&&(t.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(t=>{this._map&&this._map.zoomIn({},{originalEvent:t})})),o("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(t=>{this._map&&this._map.zoomOut({},{originalEvent:t})})),o("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(t=>{const e=this._map;e&&(this.options.visualizePitch?e.resetNorthPitch({},{originalEvent:t}):e.resetNorth({},{originalEvent:t}))})),this._compassIcon=o("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}_updateZoomButtons(){const t=this._map;if(!t)return;const e=t.getZoom(),n=e===t.getMaxZoom(),r=e===t.getMinZoom();this._zoomInButton.disabled=n,this._zoomOutButton.disabled=r,this._zoomInButton.setAttribute("aria-disabled",n.toString()),this._zoomOutButton.setAttribute("aria-disabled",r.toString())}_rotateCompassArrow(){const t=this._map;if(!t)return;const e=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(t.transform.pitch*(Math.PI/180)
2),.5)}) rotateX(${t.transform.pitch}deg) rotateZ(${t.transform.angle*(180/Math.PI)}deg)`:`rotate(${t.transform.angle*(180/Math.PI)}deg)`;t._requestDomTask((()=>{this._compassIcon&&(this._compassIcon.style.transform=e)}))}onAdd(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),t.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&t.on("pitch",this._rotateCompassArrow),t.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ho(t,this._compass,this.options.visualizePitch)),this._container}onRemove(){const t=this._map;t&&(this._container.remove(),this.options.showZoom&&t.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&t.off("pitch",this._rotateCompassArrow),t.off("rotate",this._rotateCompassArrow),this._handler&&this._handler.off(),this._handler=void 0),this._map=void 0)}_createButton(t,e){const n=o("button",t,this._container);return n.type="button",n.addEventListener("click",e),n}_setButtonTitle(t,e){if(!this._map)return;const n=this._map._getUIString(`NavigationControl.${e}`);t.setAttribute("aria-label",n),t.firstElementChild&&t.firstElementChild.setAttribute("title",n)}},GeolocateControl:class extends t.Evented{constructor(e){super(),this.options=t.extend({geolocation:t.window.navigator.geolocation},fo,e),t.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker","_updateMarkerRotation","_onDeviceOrientation"],this),this._updateMarkerRotationThrottled=Kr(this._updateMarkerRotation,20),this._numberOfWatches=0}onAdd(t){return this._map=t,this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkGeolocationSupport(this._setupUI),this._container}onRemove(){void 0!==this._geolocationWatchID&&(this.options.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("zoom",this._onZoom),this._map=void 0,this._numberOfWatches=0,this._noTimeout=!1}_checkGeolocationSupport(e){const n=(t=!!this.options.geolocation)=>{this._supportsGeolocation=t,e(t)};void 0!==this._supportsGeolocation?e(this._supportsGeolocation):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((t=>n("denied"!==t.state))).catch((()=>n())):n()}_isOutOfMapMaxBounds(t){const e=this._map.getMaxBounds(),n=t.coords;return!!e&&(n.longitude<e.getWest()||n.longitude>e.getEast()||n.latitude<e.getSouth()||n.latitude>e.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":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");break;case"BACKGROUND":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")}}_onSuccess(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":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");break;case"BACKGROUND":case"BACKGROUND_ERROR":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")}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()}}_updateCamera(e){const n=new t.LngLat(e.coords.longitude,e.coords.latitude),r=e.coords.accuracy,i=this._map.getBearing(),o=t.extend({bearing:i},this.options.fitBoundsOptions);this._map.fitBounds(n.toBounds(r),o,{geolocateSource:!0})}_updateMarker(e){if(e){const n=new t.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(n).addTo(this._map),this._userLocationDotMarker.setLngLat(n).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()}_updateCircleRadius(){const e=this._map.transform,n=t.mercatorZfromAltitude(1,e._center.lat)*e.worldSize,r=Math.ceil(2*this._accuracy*n);this._circleElement.style.width=`${r}px`,this._circleElement.style.height=`${r}px`}_onZoom(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}_updateMarkerRotation(){this._userLocationDotMarker&&"number"==typeof this._heading?(this._userLocationDotMarker.setRotation(this._heading),this._dotElement.classList.add("mapboxgl-user-location-show-heading")):(this._dotElement.classList.remove("mapboxgl-user-location-show-heading"),this._userLocationDotMarker.setRotation(0))}_onError(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){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;const t=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.setAttribute("aria-label",t),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",t),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&this._noTimeout)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()}}_finish(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0}_setupUI(e){if(this._container.addEventListener("contextmenu",(t=>t.preventDefault())),this._geolocateButton=o("button","mapboxgl-ctrl-geolocate",this._container),o("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}else{const t=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.setAttribute("aria-label",t),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",t)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","fal
2se"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=o("div","mapboxgl-user-location"),this._dotElement.appendChild(o("div","mapboxgl-user-location-dot")),this._dotElement.appendChild(o("div","mapboxgl-user-location-heading")),this._userLocationDotMarker=new no({element:this._dotElement,rotationAlignment:"map",pitchAlignment:"map"}),this._circleElement=o("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new no({element:this._circleElement,pitchAlignment:"map"}),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",(e=>{e.geolocateSource||"ACTIVE_LOCK"!==this._watchState||e.originalEvent&&"resize"===e.originalEvent.type||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this.fire(new t.Event("trackuserlocationend")))}))}_onDeviceOrientation(t){this._userLocationDotMarker&&(t.webkitCompassHeading?this._heading=t.webkitCompassHeading:!0===t.absolute&&(this._heading=-1*t.alpha),this._updateMarkerRotationThrottled())}trigger(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._numberOfWatches--,this._noTimeout=!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"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let t;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._numberOfWatches++,this._numberOfWatches>1?(t={maximumAge:6e5,timeout:0},this._noTimeout=!0):(t=this.options.positionOptions,this._noTimeout=!1),this._geolocationWatchID=this.options.geolocation.watchPosition(this._onSuccess,this._onError,t),this.options.showUserHeading&&this._addDeviceOrientationListener()}}else this.options.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_addDeviceOrientationListener(){const e=()=>{t.window.addEventListener("ondeviceorientationabsolute"in t.window?"deviceorientationabsolute":"deviceorientation",this._onDeviceOrientation)};void 0!==t.window.DeviceMotionEvent&&"function"==typeof t.window.DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then((t=>{"granted"===t&&e()})).catch(console.error):e()}_clearWatch(){this.options.geolocation.clearWatch(this._geolocationWatchID),t.window.removeEventListener("deviceorientation",this._onDeviceOrientation),t.window.removeEventListener("deviceorientationabsolute",this._onDeviceOrientation),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","fal
2se"),this.options.showUserLocation&&this._updateMarker(null)}},AttributionControl:Ji,ScaleControl:class{constructor(e){this.options=t.extend({},po,e),function(){try{return new Intl.NumberFormat("en",{style:"unit",unitDisplay:"narrow",unit:"meter"}),!0}catch(t){return!1}}()||(this._setScale=mo.bind(this)),t.bindAll(["_update","_setScale","setUnit"],this)}getDefaultPosition(){return"bottom-left"}_update(){const t=this.options.maxWidth||100,e=this._map,n=e._containerHeight/2,r=e._containerWidth/2-t/2,i=e.unproject([r,n]),o=e.unproject([r+t,n]),a=i.distanceTo(o);if("imperial"===this.options.unit){const e=3.2808*a;e>5280?this._setScale(t,e/5280,"mile"):this._setScale(t,e,"foot")}else"nautical"===this.options.unit?this._setScale(t,a/1852,"nautical-mile"):a>=1e3?this._setScale(t,a/1e3,"kilometer"):this._setScale(t,a,"meter")}_setScale(t,e,n){const r=_o(e),i=r/e;this._map._requestDomTask((()=>{this._container.style.width=t*i+"px",this._container.innerHTML="nautical-mile"!==n?new Intl.NumberFormat(this._language,{style:"unit",unitDisplay:"narrow",unit:n}).format(r):`${r}&nbsp;nm`}))}onAdd(t){return this._map=t,this._language=t.getLanguage(),this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._container.dir="auto",this._map.on("move",this._update),this._update(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._update),this._map=void 0}_setLanguage(t){this._language=t,this._update()}setUnit(t){this.options.unit=t,this._update()}},FullscreenControl:class{constructor(e){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":"onwebkitfullscreenchange"in t.window.document&&(this._fullscreenchange="webkitfullscreenchange")}onAdd(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=o("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}onRemove(){this._controlContainer.remove(),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)}_checkFullscreenSupport(){return!(!t.window.document.fullscreenEnabled&&!t.window.document.webkitFullscreenEnabled)}_setupUI(){const e=this._fullscreenButton=o("button","mapboxgl-ctrl-fullscreen",this._controlContainer);o("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden","true"),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)}_updateTitle(){const t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.firstElementChild&&this._fullscreenButton.firstElementChild.setAttribute("title",t)}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_changeIcon(){(t.window.document.fullscreenElement||t.window.document.webkitFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())}_onClickFullscreen(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()}},Popup:class extends t.Evented{constructor(e){super(),this.options=t.extend(Object.create(ro),e),t.bindAll(["_update","_onClose","remove","_onMouseEvent"],this),this._classList=new Set(e&&e.className?e.className.trim().split(/\s+/):[])}addTo(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&e.on("preclick",this._onClose),this.options.closeOnMove&&e.on("move",this._onClose),e.on("remove",this.remove),this._update(),e._addPopup(this),this._focusFirstElement(),this._trackPointer?(e.on("mousemove",this._onMouseEvent),e.on("mouseup",this._onMouseEvent),e._canvasContainer.classList.add("mapboxgl-track-pointer")):e.on("move",this._update),this.fire(new t.Event("open")),this}isOpen(){return!!this._map}remove(){this._content&&this._content.remove(),this._container&&(this._container.remove(),this._container=void 0);const e=this._map;return e&&(e.off("move",this._update),e.off("move",this._onClose),e.off("preclick",this._onClose),e.off("click",this._onClose),e.off("remove",this.remove),e.off("mousemove",this._onMouseEvent),e.off("mouseup",this._onMouseEvent),e.off("drag",this._onMouseEvent),e._canvasContainer&&e._canvasContainer.classList.remove("mapboxgl-track-pointer"),e._removePopup(this),this._map=void 0),this.fire(new t.Event("close")),this}getLngLat(){return this._lngLat}
vendor: 3,858 bytes, line 2
2setLngLat(e){this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update();const n=this._map;return n&&(n.on("move",this._update),n.off("mousemove",this._onMouseEvent),n._canvasContainer.classList.remove("mapboxgl-track-pointer")),this}trackPointer(){this._trackPointer=!0,this._pos=null,this._update();const t=this._map;return t&&(t.off("move",this._update),t.on("mousemove",this._onMouseEvent),t.on("drag",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")),this}getElement(){return this._container}setText(e){return this.setDOMContent(t.window.document.createTextNode(e))}setHTML(e){const n=t.window.document.createDocumentFragment(),r=t.window.document.createElement("body");let i;for(r.innerHTML=e;i=r.firstChild,i;)n.appendChild(i);return this.setDOMContent(n)}getMaxWidth(){return this._container&&this._container.style.maxWidth}setMaxWidth(t){return this.options.maxWidth=t,this._update(),this}setDOMContent(t){let e=this._content;if(e)for(;e.hasChildNodes();)e.firstChild&&e.removeChild(e.firstChild);else e=this._content=o("div","mapboxgl-popup-content",this._container||void 0);if(e.appendChild(t),this.options.closeButton){const t=this._closeButton=o("button","mapboxgl-popup-close-button",e);t.type="button",t.setAttribute("aria-label","Close popup"),t.setAttribute("aria-hidden","true"),t.innerHTML="&#215;",t.addEventListener("click",this._onClose)}return this._update(),this._focusFirstElement(),this}addClassName(t){return this._classList.add(t),this._updateClassList(),this}removeClassName(t){return this._classList.delete(t),this._updateClassList(),this}setOffset(t){return this.options.offset=t,this._update(),this}toggleClassName(t){let e;return this._classList.delete(t)?e=!1:(this._classList.add(t),e=!0),this._updateClassList(),e}_onMouseEvent(t){this._update(t.point)}_getAnchor(t){if(this.options.anchor)return this.options.anchor;const e=this._map,n=this._container,r=this._pos;if(!e||!n||!r)return"bottom";const i=n.offsetWidth,o=n.offsetHeight,a=r.x<i/2,s=r.x>e.transform.width-i/2;if(r.y+t<o)return a?"top-left":s?"top-right":"top";if(r.y>e.transform.height-o){if(a)return"bottom-left";if(s)return"bottom-right"}return a?"left":s?"right":"bottom"}_updateClassList(){const t=this._container;if(!t)return;const e=[...this._classList];e.push("mapboxgl-popup"),this._anchor&&e.push(`mapboxgl-popup-anchor-${this._anchor}`),this._trackPointer&&e.push("mapboxgl-popup-track-pointer"),t.className=e.join(" ")}_update(e){const n=this._map,r=this._content;if(!n||!this._lngLat&&!this._trackPointer||!r)return;let i=this._container;if(i||(i=this._container=o("div","mapboxgl-popup",n.getContainer()),this._tip=o("div","mapboxgl-popup-tip",i),i.appendChild(r)),this.options.maxWidth&&i.style.maxWidth!==this.options.maxWidth&&(i.style.maxWidth=this.options.maxWidth),n.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=to(this._lngLat,this._pos,n.transform)),!this._trackPointer||e){const t=this._pos=this._trackPointer&&e?e:n.project(this._lngLat),r=oo(this.options.offset),i=this._anchor=this._getAnchor(r.y),o=oo(this.options.offset,i),a=t.add(o).round();n._requestDomTask((()=>{this._container&&i&&(this._container.style.transform=`${eo[i]} translate(${a.x}px,${a.y}px)`)}))}if(!this._marker&&n._showingGlobe()){const e=t.isLngLatBehindGlobe(n.transform,this._lngLat)?0:1;this._setOpacity(e)}this._updateClassList()}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const t=this._container.querySelector(io);t&&t.focus()}_onClose(){this.remove()}_setOpacity(t){this._container&&(this._container.style.opacity=`${t}`),this._content&&(this._content.style.pointerEvents=t?"auto":"none")}},Marker:no,Style:tn,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.pointGeometry,MercatorCoordinate:t.MercatorCoordinate,FreeCameraOptions:Zr,Evented:t.
vendor: 16,384 bytes, line 2
2Evented,config:t.config,prewarm:function(){Nt().acquire(Rt)},clearPrewarmedResources:function(){const t=Bt;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()"))},get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Ft.workerCount},set workerCount(t){Ft.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage(e){t.clearTileCache(e)},workerUrl:"",workerClass:null,setNow:t.exported.setNow,restoreNow:t.exported.restoreNow};return vo})),n}()},12584:()=>{},42786:function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},14130:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(r,i,o,a){var s=e(r),l=n[t][e(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(30381))},96135:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(30381))},56440:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,a){var s=n(e),l=r[t][n(e)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},47702:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(30381))},16040:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(30381))},37100:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(30381))},30867:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,a){var s=r(e),l=i[t][r(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},31083:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)r
vendor: 4,151 bytes, line 2
2eturn t+"-ıncı";var n=t%10,r=t%100-n,i=t>=100?100:null;return t+(e[n]||e[r]||e[i])},week:{dow:1,doy:7}})}(n(30381))},9808:function(t,e,n){!function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,r){return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":t+" "+e({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[r],+t)}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n(30381))},68338:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%
2d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(30381))},67438:function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(30381))},76225:function(t,e,n){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(30381))},8905:function(t,e,n){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>
vendor: 8,617 bytes, line 2
2=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(30381))},11560:function(t,e,n){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(30381))},1278:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+i({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){switch(r(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function r(t){return t>9?r(t%10):t}function i(t,e){return 2===e?o(t):t}function o(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n(30381))},80622:function(t,e,n){!function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},2468:function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
2d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n(30381))},5822:function(t,e,n){!function(t){"use strict";var e={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?i+(o(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?i+(o(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?i+(o(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?i+(o(t)?"dny":"dní"):i+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?i+(o(t)?"měsíce":"měsíců"):i+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?i+(o(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},50877:function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%
2d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(30381))},47373:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n(30381))},24780:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},60217:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},60894:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},59740:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},5300:function(t,e,n){!function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",
vendor: 25,453 bytes, line 2
2s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(30381))},50837:function(t,e,n){!function(t){"use strict";function e(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(t,n){var r=this._calendarEl[t],i=n&&n.hours();return e(r)&&(r=r.apply(n)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(30381))},78348:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n(30381))},77925:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(30381))},22243:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},47207:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(30381))},44175:function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n(30381))},76319:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},31662:function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},92915:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(30381))},55251:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},96112:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},71146:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(30381))},55655:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},5603:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},77763:function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},76959:function(t,e,n){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%
2d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(30381))},11897:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function r(t,e,n,r){var o="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return o=i(t,r)+" "+o}function i(t,r){return t<10?r?n[t]:e[t]:t}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},42549:function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(30381))},94694:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},63049:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n(30381))},52330:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},94470:function(t,e,n){!function(t){"use strict";
vendor: 3,292 bytes, line 2
2var e=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:e,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},5044:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},29295:function(t,e,n){!function(t){"use strict";var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["E
2an","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"];t.defineLocale("ga",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(30381))},2101:function(t,e,n){!function(t){"use strict";var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];t.defineLocale("gd",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(30381))},38794:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},27884:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" à¤
2®à¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥€",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return r?i[n][0]:i[n][1]}t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){return"D"===e?t+"वेर":t},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}})}(n(30381))},23168:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return r?i[n][0]:i[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){return"D"===e?t+"er":t},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n(30381))},95349:function(t,e,n){!function(t){"use strict";var e={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«­",8:"à«®",9:"૯",0:"૦"},n={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«­":"7","à«®":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડà
2ª¿àª¸à«‡.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(30381))},24206:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(30381))},30094:function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अ
vendor: 14,399 bytes, line 2
2प्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(30381))},30316:function(t,e,n){!function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},22138:function(t,e,n){!function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,r){var i=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function r(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},11423:function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n(30381))},29218:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(30381))},90135:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},10150:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},90626:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},39183:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",n
vendor: 6,539 bytes, line 2
2arrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(30381))},24286:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(30381))},12105:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,n){return"ი"===n?e+"ში":e+n+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n(30381))},47772:function(t,e,n){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%
2d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}})}(n(30381))},18758:function(t,e,n){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(30381))},79282:function(t,e,n){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂ
2ದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n(30381))},33730:function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n(30381))},1408:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},33291:function(t,e,n){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%
2d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}})}(n(30381))},36841:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t}function r(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return i(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},55466:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(n(30381))},57010:function(t,e,n){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_die
2nų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(t,e,n,r){return e?o(n)[0]:r?o(n)[1]:o(n)[2]}function i(t){return t%10==0||t>10&&t<20}function o(t){return e[t].split("_")}function a(t,e,n,a){var s=t+" ";return 1===t?s+r(t,e,n[0],a):e?s+(i(t)?o(n)[1]:o(n)[0]):a?s+o(n)[1]:s+(i(t)?o(n)[1]:o(n)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:a,m:r,mm:a,h:r,hh:a,d:r,dd:a,M:r,MM:a,y:r,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n(30381))},37595:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function r(t,r,i){return t+" "+n(e[i],t,r)}function i(t,r,i){return n(e[i],t,r)}function o(t,e){return e?"dažas sekundes":"dažām sekundēm"}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},39861:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},35493:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
2d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},95966:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(30381))},87341:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(30381))},5115:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш
2] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n(30381))},10370:function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(t,e,n,r){var i="";if(e)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(30381))},41237:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(30381))},9847:function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(30381))},72126:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},56165:function(t,e,n){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနညá€
2ºá€¸á€„ယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(30381))},64924:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},16744:function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(30381))},59814:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},93901:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},83877:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._mÃ¥._t
2y._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},92135:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n(30381))},15858:function(t,e,n){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t
vendor: 4,394 bytes, line 2
2<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(30381))},64495:function(t,e,n){!function(t){"use strict";var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function o(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"ww":return r+(i(t)?"tygodnie":"tygodni");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,r){return t?/D MMMM/.test(r)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},57971:function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(30381))},89520:function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
2d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},96459:function(t,e,n){!function(t){"use strict";function e(t,e,n){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n(30381))},21793:function(t,e,n){!function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,r){return"m"===r?n?"минута":"минуту":t+" "+e({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[r],+t)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|ок
vendor: 12,405 bytes, line 2
2т\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n(30381))},40950:function(t,e,n){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(30381))},10490:function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},90124:function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(30381))},64249:function(t,e,n){!function(t){"use strict";var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(t){return t>1&&t<5}function i(t,e,n,i){var o=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"ss":return e||i?o+(r(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?o+(r(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?o+(r(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?o+(r(t)?"dni":"dní"):o+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?o+(r(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?o+(r(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},14985:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},51104:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},79915:function(t,e,n){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,n,r,i){var o,a=e.words[r];return 1===r.length?"y"===r&&n?"једна година":i||n?a[0]:a[1]:(o=e.correctGrammaticalCase(t,a),"yy"===r&&n&&"годину"===o?t+" година":t+" "+o)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_ок
2тобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},49131:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,n,r,i){var o,a=e.words[r];return 1===r.length?"y"===r&&n?"jedna godina":i||n?a[0]:a[1]:(o=e.correctGrammaticalCase(t,a),"yy"===r&&n&&"godinu"===o?t+" godina":t+" "+o)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},85893:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 5,402 bytes, line 2
2S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(30381))},98760:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n(30381))},91172:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(30381))},27333:function(t,e,n){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))}
vendor: 4,560 bytes, line 2
2,meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n(30381))},23110:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(30381))},52095:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},27321:function(t,e,n){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Ñ
2ÐºÑˆÐ°Ð½Ð±Ðµ_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}})}(n(30381))},9041:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(30381))},19005:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
vendor: 6,350 bytes, line 2
2,calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var r=t%10,i=t%100-r,o=t>=100?100:null;return t+(e[r]||e[i]||e[o])}},week:{dow:1,doy:7}})}(n(30381))},75768:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(30381))},89444:function(t,e,n){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"}function r(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"}function i(t,e,n,r){var i=o(t);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function o(t){var n=Math.floor(t%1e3/100),r=Math.floor(t%100/10),i=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+e[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+e[i]),""===o?"pagh":o}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},72397:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var r=t%10,i=t%100-r,o=t>=100?100:null;return t+(e[r]||e[i]||e[o])}},week:{dow:1,doy:7}})}(n(30381))},28254:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r||e?i[n][0]:i[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"}
2,calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},30699:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(30381))},51106:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ â´´] LT",nextDay:"[ⴰⵙⴽⴰ â´´] LT",nextWeek:"dddd [â´´] LT",lastDay:"[ⴰⵚⴰⵏⵜ â´´] LT",lastWeek:"dddd [â´´] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"â´°âµ¢oⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(30381))},9288:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىÙ
2† بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(30381))},67691:function(t,e,n){!function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,r){return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":t+" "+e({ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r],+t)}function r(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n(30381))},13795:function(t,e,n){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(30381))},60588:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(30381))},6791:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%
2d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(30381))},65666:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(30381))},14378:function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~út
2é",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},75805:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(30381))},83839:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(30381))},55726:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;
vendor: 6,992 bytes, line 2
2return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},99807:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},74152:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},46700:(t,e,n)=>{var r={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se"
vendor: 19,204 bytes, line 2
2:10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=46700},30381:function(t,e,n){(t=n.nmd(t)).exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function o(t){e=t}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function u(t){return void 0===t}function d(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,r=[],i=t.length;for(n=0;n<i;++n)r.push(e(t[n],n));return r}function p(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function m(t,e,n,r){return qn(t,e,n,r,!0).utc()}function _(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(t){return null==t._pf&&(t._pf=_()),t._pf}function g(t){if(null==t._isValid){var e=v(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=m(NaN);return null!=t?p(v(e),t):v(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),r=n.length>>>0;for(e=0;e<r;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var b=i.momentProperties=[],x=!1;function w(t,e){var n,r,i,o=b.length;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=v(e)),u(e._locale)||(t._locale=e._locale),o>0)for(n=0;n<o;n++)u(i=e[r=b[n]])||(t[r]=i);return t}function k(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,i.updateOffset(this),x=!1)}function M(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function C(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var n=!0;return p((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){var r,o,a,s=[],c=arguments.length;for(o=0;o<c;o++){if(r="","object"==typeof arguments[o]){for(a in r+="\n["+o+"] ",arguments[0])l(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}C(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var T,L={};function E(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),L[t]||(C(e),L[t]=!0)}function A(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function D(t){var e,n;for(n in t)l(t,n)&&(A(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function O(t,e){var n,r=p({},t);for(n in e)l(e,n)&&(s(t[n])&&s(e[n])?(r[n]={},p(r[n],t[n]),p(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)l(t,n)&&!l(e,n)&&s(t[n])&&(r[n]=p({},r[n]));return r}function z(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return A(r)?r.call(e,n):r}function I(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function N(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(B[t]=i),e&&(B[e[0]]=function(){return I(i.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function $(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Z(t){var e,n,r=t.match(Y);for(e=0,n=r.length;e<n;e++)B[r[e]]?r[e]=B[r[e]]:r[e]=$(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=A(r[i])?r[i].call(e,t):r[i];return o}}function H(t,e){return t.isValid()?(e=V(e,t.localeData()),F[e]=F[e]||Z(e),F[e](t)):t.localeData().invalidDate()}function V(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(R.lastIndex=0;n>=0&&R.test(t);)t=t.replace(R,r),R.lastIndex=0,n-=1;return t}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Y).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var G="Invalid date";function q(){return this._invalidDate}var X="%d",J=/\d{1,2}/;function K(t){return this._ordinal.replace("%d",t)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,n,r){var i=this._relativeTime[n];return A(i)?i(t,e,n,r):i.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return A(n)?n(e):n.replace(/%s/i,e)}var nt={};function rt(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function it(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,r={};for(n in t)l(t,n)&&(e=it(n))&&(r[e]=t[n]);return r}var at={};function st(t,e){at[t]=e}function lt(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:at[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function ht(t,e){return function(n){return null!=n?(pt(this,t,n),i.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function pt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function mt(t){return A(this[t=it(t)])?this[t]():this}function _t(t,e){if("object"==typeof t){var n,r=lt(t=ot(t)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](t[r[n].unit])}else if(A(this[t=it(t)]))return this[t](e);return this}var vt,gt=/\d/,yt=/\d\d/,bt=/\d{3}/,xt=/\d{4}/,wt=/[+-]?\d{6}/,kt=/\d\d?/,Mt=/\d\d\d\d?/,Ct=/\d\d\d\d\d\d?/,St=/\d{1,3}/,Tt=/\d{1,4}/,Lt=/[+-]?\d{1,6}/,Et=/\d+/,At=/[+-]?\d+/,Dt=/Z|[+-]\d\d:?\d\d/gi,Ot=/Z|[+-]\d\d(?::?\d\d)?/gi,zt=/[+-]?\d+(\.\d{1,3})?/,Pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function jt(t,e,n){vt[t]=A(e)?e:function(t,r){return t&&n?n:e}}function It(t,e){return l(vt,t)?vt[t](e._strict,e._locale):new RegExp(Yt(t))}function Yt(t){return Rt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i})))}function Rt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}vt={};var Ft={};function Bt(t,e){var n,r,i=e;for("string"==typeof t&&(t=[t]),d(e)&&(i=function(t,n){n[e]=dt(t)}),r=t.length,n=0;n<r;n++)Ft[t[n]]=i}function Nt(t,e){Bt(t,(function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}function $t(t,e,n){null!=e&&l(Ft,t)&&Ft[t](e,n._a,n,t)}var Zt,Ht=0,Vt=1,Ut=2,Wt=3,Gt=4,qt=5,Xt=6,Jt=7,Kt=8;function Qt(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qt(e,12);return t+=(e-n)/12,1===n?ct(t)?29:28:31-n%7%2}Zt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",(function(){return this.month()+1})),N("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),N("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),rt("month","M"),st("month",8),jt("M",kt),jt("MM",kt,yt),jt("MMM",(function(t,e){return e.monthsShortRegex(t)})),jt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Vt]=dt(t)-1})),Bt(["MMM","MMMM"],(function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[Vt]=i:v(n).invalidMonth=t}));var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ie=Pt,oe=Pt;function ae(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||re).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone}function se(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[re.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Zt.call(this._shortMonthsParse,a))?i:null:-1!==(i=Zt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=Zt.call(this._shortMonthsParse,a))||-1!==(i=Zt.call(this._longMonthsParse,a))?i:null:-1!==(i=Zt.call(this._longMonthsParse,a))||-1!==(i=Zt.call(this._shortMonthsParse,a))?i:null}function ce(t,e,n){var r,i,o;if(this._monthsParseExact)return le.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ue(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=dt(e);else if(!d(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function de(t){return null!=t?(ue(this,t),i.updateOffset(this,!0),this):ft(this,"Month")}function he(){return te(this.year(),this.month())}function fe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||me.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ie),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||me.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function me(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=m([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Rt(r[e]),i[e]=Rt(i[e]);for(e=0;e<24;e++)o[e]=Rt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _e(t){return ct(t)?366:365}N("Y",0,0,(function(){var t=this.year();return t<=9999?I(t,4):"+"+t})),N(0,["YY",2],0,(function(){return this.year()%100})),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),rt("year","y"),st("year",1),jt("Y",At),jt("YY",kt,yt),jt("YYYY",Tt,xt),jt("YYYYY",Lt,wt),jt("YYYYYY",Lt,wt),Bt(["YYYYY","YYYYYY"],Ht),Bt("YYYY",(function(t,e){e[Ht]=2===t.length?i.parseTwoDigitYear(t):dt(t)})),Bt("YY",(function(t,e){e[Ht]=i.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Ht]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var ve=ht("FullYear",!0);function ge(){return ct(this.year())}function ye(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function be(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function xe(t,e,n){var r=7+e-n;return-(7+be(t,0,r).getUTCDay()-e)%7+r-1}function we(t,e,n,r,i){var o,a,s=1+7*(e-1)+(7+n-r)%7+xe(t,r,i);return s<=0?a=_e(o=t-1)+s:s>_e(t)?(o=t+1,a=s-_e(t)):(o=t,a=s),{year:o,dayOfYear:a}}function ke(t,e,n){var r,i,o=xe(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?r=a+Me(i=t.year()-1,e,n):a>Me(t.year(),e,n)?(r=a-Me(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Me(t,e,n){var r=xe(t,e,n),i=xe(t+1,e,n);return(_e(t)-r+i)/7}function Ce(t){return ke(t,this._week.dow,this._week.doy).week}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),st("week",5),st("isoWeek",5),jt("w",kt),jt("ww",kt,yt),jt("W",kt),jt("WW",kt,yt),Nt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=dt(t)}));var Se={dow:0,doy:6};function Te(){return this._week.dow}function Le(){return this._week.doy}function Ee(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ae(t){var e=ke(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function De(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Oe(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function ze(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("d",0,"do","day"),N("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),N("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),N("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),jt("d",kt),jt("e",kt),jt("E",kt),jt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),jt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),jt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Nt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:v(n).invalidWeekday=t})),Nt(["d","e","E"],(function(t,e,n,r){e[r]=dt(t)}));var Pe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ye=Pt,Re=Pt,Fe=Pt;function Be(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?ze(n,this._week.dow):t?n[t.day()]:n}function Ne(t){return!0===t?ze(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function $e(t){return!0===t?ze(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ze(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Zt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Zt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Zt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=Zt.call(this._weekdaysParse,a))||-1!==(i=Zt.call(this._shortWeekdaysParse,a))||-1!==(i=Zt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Zt.call(this._shortWeekdaysParse,a))||-1!==(i=Zt.call(this._weekdaysParse,a))||-1!==(i=Zt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Zt.call(this._minWeekdaysParse,a))||-1!==(i=Zt.call(this._weekdaysParse,a))||-1!==(i=Zt.call(this._shortWeekdaysParse,a))?i:null}function He(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ze.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;
vendor: 4,294 bytes, line 2
2r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Ve(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=De(t,this.localeData()),this.add(t-e,"d")):e}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function We(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Oe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ge(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ye),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function qe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Re),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),r=Rt(this.weekdaysMin(n,"")),i=Rt(this.weekdaysShort(n,"")),o=Rt(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);a.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Qe(){return this.hours()||24}function tn(t,e){N(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ke),N("k",["kk",2],0,Qe),N("hmm",0,0,(function(){return""+Ke.apply(this)+I(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ke.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),tn("a",!0),tn("A",!1),rt("hour","h"),st("hour",13),jt("a",en),jt("A",en),jt("H",kt),jt("h",kt),jt("k",kt),jt("HH",kt,yt),jt("hh",kt,yt),jt("kk",kt,yt),jt("hmm",Mt),jt("hmmss",Ct),jt("Hmm",Mt),jt("Hmmss",Ct),Bt(["H","HH"],Wt),Bt(["k","kk"],(function(t,e,n){var r=dt(t);e[Wt]=24===r?0:r})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Wt]=dt(t),v(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var r=t.length-2;e[Wt]=dt(t.substr(0,r)),e[Gt]=dt(t.substr(r)),v(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Wt]=dt(t.substr(0,r)),e[Gt]=dt(t.substr(r,2)),e[qt]=dt(t.substr(i)),v(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var r=t.length-2;e[Wt]=dt(t.substr(0,r)),e[Gt]=dt(t.substr(r))})),Bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Wt]=dt(t.substr(0,r)),e[Gt]=dt(t.substr(r,2)),e[qt]=dt(t.substr(i))}));
vendor: 38,420 bytes, line 2
2var rn=/[ap]\.?m?\.?/i,on=ht("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:U,invalidDate:G,ordinal:X,dayOfMonthOrdinalParse:J,relativeTime:Q,months:ee,monthsShort:ne,week:Se,weekdays:Pe,weekdaysMin:Ie,weekdaysShort:je,meridiemParse:rn},cn={},un={};function dn(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function hn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){for(var e,n,r,i,o=0;o<t.length;){for(e=(i=hn(t[o]).split("-")).length,n=(n=hn(t[o+1]))?n.split("-"):null;e>0;){if(r=mn(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&dn(i,n)>=e-1)break;e--}o++}return sn}function pn(t){return null!=t.match("^[^/\\\\]*$")}function mn(e){var r=null;if(void 0===cn[e]&&t&&t.exports&&pn(e))try{r=sn._abbr,n(46700)("./"+e),_n(r)}catch(t){cn[e]=null}return cn[e]}function _n(t,e){var n;return t&&((n=u(e)?yn(t):vn(t,e))?sn=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sn._abbr}function vn(t,e){if(null!==e){var n,r=ln;if(e.abbr=t,null!=cn[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])r=cn[e.parentLocale]._config;else{if(null==(n=mn(e.parentLocale)))return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;r=n._config}return cn[t]=new z(O(r,e)),un[t]&&un[t].forEach((function(t){vn(t.name,t.config)})),_n(t),cn[t]}return delete cn[t],null}function gn(t,e){if(null!=e){var n,r,i=ln;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(O(cn[t]._config,e)):(null!=(r=mn(t))&&(i=r._config),e=O(i,e),null==r&&(e.abbr=t),(n=new z(e)).parentLocale=cn[t],cn[t]=n),_n(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===_n()&&_n(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function yn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!a(t)){if(e=mn(t))return e;t=[t]}return fn(t)}function bn(){return T(cn)}function xn(t){var e,n=t._a;return n&&-2===v(t).overflow&&(e=n[Vt]<0||n[Vt]>11?Vt:n[Ut]<1||n[Ut]>te(n[Ht],n[Vt])?Ut:n[Wt]<0||n[Wt]>24||24===n[Wt]&&(0!==n[Gt]||0!==n[qt]||0!==n[Xt])?Wt:n[Gt]<0||n[Gt]>59?Gt:n[qt]<0||n[qt]>59?qt:n[Xt]<0||n[Xt]>999?Xt:-1,v(t)._overflowDayOfYear&&(e<Ht||e>Ut)&&(e=Ut),v(t)._overflowWeeks&&-1===e&&(e=Jt),v(t)._overflowWeekday&&-1===e&&(e=Kt),v(t).overflow=e),t}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((-?\d+)/i,Ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function An(t){var e,n,r,i,o,a,s=t._i,l=wn.exec(s)||kn.exec(s),c=Cn.length,u=Sn.length;if(l){for(v(t).iso=!0,e=0,n=c;e<n;e++)if(Cn[e][1].exec(l[1])){i=Cn[e][0],r=!1!==Cn[e][2];break}if(null==i)return void(t._isValid=!1);if(l[3]){for(e=0,n=u;e<n;e++)if(Sn[e][1].exec(l[3])){o=(l[2]||" ")+Sn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(l[4]){if(!Mn.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),$n(t)}else t._isValid=!1}function Dn(t,e,n,r,i,o){var a=[On(t),ne.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function On(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function zn(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(t,e,n){return!t||je.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function jn(t,e,n){if(t)return En[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function In(t){var e,n=Ln.exec(zn(t._i));if(n){if(e=Dn(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],e,t))return;t._a=e,t._tzm=jn(n[8],n[9],n[10]),t._d=be.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),v(t).rfc2822=!0}else t._isValid=!1}function Yn(t){var e=Tn.exec(t._i);null===e?(An(t),!1===t._isValid&&(delete t._isValid,In(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Rn(t,e,n){return null!=t?t:null!=e?e:n}function Fn(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bn(t){var e,n,r,i,o,a=[];if(!t._d){for(r=Fn(t),t._w&&null==t._a[Ut]&&null==t._a[Vt]&&Nn(t),null!=t._dayOfYear&&(o=Rn(t._a[Ht],r[Ht]),(t._dayOfYear>_e(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=be(o,0,t._dayOfYear),t._a[Vt]=n.getUTCMonth(),t._a[Ut]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Wt]&&0===t._a[Gt]&&0===t._a[qt]&&0===t._a[Xt]&&(t._nextDay=!0,t._a[Wt]=0),t._d=(t._useUTC?be:ye).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(v(t).weekdayMismatch=!0)}}function Nn(t){var e,n,r,i,o,a,s,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,n=Rn(e.GG,t._a[Ht],ke(Xn(),1,4).year),r=Rn(e.W,1),((i=Rn(e.E,1))<1||i>7)&&(l=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,c=ke(Xn(),o,a),n=Rn(e.gg,t._a[Ht],c.year),r=Rn(e.w,c.week),null!=e.d?((i=e.d)<0||i>6)&&(l=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(l=!0)):i=o),r<1||r>Me(n,o,a)?v(t)._overflowWeeks=!0:null!=l?v(t)._overflowWeekday=!0:(s=we(n,r,i,o,a),t._a[Ht]=s.year,t._dayOfYear=s.dayOfYear)}function $n(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],v(t).empty=!0;var e,n,r,o,a,s,l,c=""+t._i,u=c.length,d=0;for(l=(r=V(t._f,t._locale).match(Y)||[]).length,e=0;e<l;e++)o=r[e],(n=(c.match(It(o,t))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),B[o]?(n?v(t).empty=!1:v(t).unusedTokens.push(o),$t(o,n,t)):t._strict&&!n&&v(t).unusedTokens.push(o);v(t).charsLeftOver=u-d,c.length>0&&v(t).unusedInput.push(c),t._a[Wt]<=12&&!0===v(t).bigHour&&t._a[Wt]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[Wt]=Zn(t._locale,t._a[Wt],t._meridiem),null!==(s=v(t).era)&&(t._a[Ht]=t._locale.erasConvertYear(s,t._a[Ht])),Bn(t),xn(t)}else In(t);else An(t)}function Zn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Hn(t){var e,n,r,i,o,a,s=!1,l=t._f.length;if(0===l)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<l;i++)o=0,a=!1,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],$n(e),g(e)&&(a=!0),o+=v(e).charsLeftOver,o+=10*v(e).unusedTokens.length,v(e).score=o,s?o<r&&(r=o,n=e):(null==r||o<r||a)&&(r=o,n=e,a&&(s=!0));p(t,n||e)}function Vn(t){if(!t._d){var e=ot(t._i),n=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bn(t)}}function Un(t){var e=new k(xn(Wn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Wn(t){var e=t._i,n=t._f;return t._locale=t._locale||yn(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),M(e)?new k(xn(e)):(h(e)?t._d=e:a(n)?Hn(t):n?$n(t):Gn(t),g(t)||(t._d=null),t))}function Gn(t){var e=t._i;u(e)?t._d=new Date(i.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Yn(t):a(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),Bn(t)):s(e)?Vn(t):d(e)?t._d=new Date(e):i.createFromInputFallback(t)}function qn(t,e,n,r,i){var o={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(t)&&c(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=t,o._f=e,o._strict=r,Un(o)}function Xn(t,e,n,r){return qn(t,e,n,r,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Jn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()})),Kn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:y()}));function Qn(t,e){var n,r;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Xn();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function tr(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(t){var e,n,r=!1,i=rr.length;for(e in t)if(l(t,e)&&(-1===Zt.call(rr,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<i;++n)if(t[rr[n]]){if(r)return!1;parseFloat(t[rr[n]])!==dt(t[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ar(){return Er(NaN)}function sr(t){var e=ot(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=ir(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(t){return t instanceof sr}function cr(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ur(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&dt(t[r])!==dt(e[r]))&&a++;return a+o}function dr(t,e){N(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+I(~~(t/60),2)+e+I(~~t%60,2)}))}dr("Z",":"),dr("ZZ",""),jt("Z",Ot),jt("ZZ",Ot),Bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=fr(Ot,t)}));var hr=/([\+\-]|\d\d)/gi;function fr(t,e){var n,r,i=(e||"").match(t);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(hr)||["-",0,0])[1]+dt(n[2]))?0:"+"===n[0]?r:-r}function pr(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(M(t)||h(t)?t.valueOf():Xn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Xn(t).local()}function mr(t){return-Math.round(t._d.getTimezoneOffset())}function _r(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=fr(Ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=mr(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Pr(this,Er(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function vr(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function gr(t){return this.utcOffset(0,t)}function yr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(mr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=fr(Dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function xr(t){return!!this.isValid()&&(t=t?Xn(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),(e=Wn(e))._a?(t=e._isUTC?m(e._a):Xn(e._a),this._isDSTShifted=this.isValid()&&ur(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mr(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(t,e){var n,r,i,o=t,a=null;return lr(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Tr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:dt(a[Ut])*n,h:dt(a[Wt])*n,m:dt(a[Gt])*n,s:dt(a[qt])*n,ms:dt(cr(1e3*a[Xt]))*n}):(a=Lr.exec(t))?(n="-"===a[1]?-1:1,o={y:Ar(a[2],n),M:Ar(a[3],n),w:Ar(a[4],n),d:Ar(a[5],n),h:Ar(a[6],n),m:Ar(a[7],n),s:Ar(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Or(Xn(o.from),Xn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new sr(o),lr(t)&&l(t,"_locale")&&(r._locale=t._locale),lr(t)&&l(t,"_isValid")&&(r._isValid=t._isValid),r}function Ar(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Dr(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Or(t,e){var n;return t.isValid()&&e.isValid()?(e=pr(e,t),t.isBefore(e)?n=Dr(t,e):((n=Dr(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function zr(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Pr(this,Er(n,r),t),this}}function Pr(t,e,n,r){var o=e._milliseconds,a=cr(e._days),s=cr(e._months);t.isValid()&&(r=null==r||r,s&&ue(t,ft(t,"Month")+s*n),a&&pt(t,"Date",ft(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}Er.fn=sr.prototype,Er.invalid=ar;var jr=zr(1,"add"),Ir=zr(-1,"subtract");function Yr(t){return"string"==typeof t||t instanceof String}function Rr(t){return M(t)||h(t)||Yr(t)||d(t)||Br(t)||Fr(t)||null==t}function Fr(t){var e,n,r=s(t)&&!c(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(e=0;e<a;e+=1)n=o[e],i=i||l(t,n);return r&&i}function Br(t){var e=a(t),n=!1;return e&&(n=0===t.filter((function(e){return!d(e)&&Yr(t)})).length),e&&n}function Nr(t){var e,n,r=s(t)&&!c(t),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],i=i||l(t,n);return r&&i}function $r(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zr(t,e){1===arguments.length&&(arguments[0]?Rr(arguments[0])?(t=arguments[0],e=void 0):Nr(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Xn(),r=pr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=e&&(A(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Xn(n)))}function Hr(){return new k(this)}function Vr(t,e){var n=M(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=it(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Ur(t,e){var n=M(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=it(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Wr(t,e,n,r){var i=M(t)?t:Xn(t),o=M(e)?e:Xn(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Gr(t,e){var n,r=M(t)?t:Xn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=it(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function qr(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Xr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Jr(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=it(e)){case"year":o=Kr(this,r)/12;break;case"month":o=Kr(this,r);break;case"quarter":o=Kr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:ut(o)}function Kr(t,e){if(t.date()<e.date())return-Kr(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ti(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ni(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=H(this,t);return this.localeData().postformat(e)}function ri(t,e){return this.isValid()&&(M(t)&&t.isValid()||Xn(t).isValid())?Er({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ii(t){return this.from(Xn(),t)}function oi(t,e){return this.isValid()&&(M(t)&&t.isValid()||Xn(t).isValid())?Er({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ai(t){return this.to(Xn(),t)}function si(t){var e;return void 0===t?this._locale._abbr:(null!=(e=yn(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ci(){return this._locale}var ui=1e3,di=60*ui,hi=60*di,fi=3506328*hi;function pi(t,e){return(t%e+e)%e}function mi(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function _i(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function vi(t){var e,n;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?_i:mi,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pi(e+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":e=this._d.valueOf(),e-=pi(e,di);break;case"second":e=this._d.valueOf(),e-=pi(e,ui)}return this._d.setTime(e),i.updateOffset(this,!0),this}function gi(t){var e,n;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?_i:mi,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=hi-pi(e+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":e=this._d.valueOf(),e+=di-pi(e,di)-1;break;case"second":e=this._d.valueOf(),e+=ui-pi(e,ui)-1}return this._d.setTime(e),i.updateOffset(this,!0),this}function yi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function wi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ki(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Mi(){return this.isValid()?this.toISOString():null}function Ci(){return g(this)}function Si(){return p({},v(this))}function Ti(){return v(this).overflow}function Li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ei(t,e){var n,r,o,a=this._eras||yn("en")._eras;for(n=0,r=a.length;n<r;++n)switch("string"==typeof a[n].since&&(o=i(a[n].since).startOf("day"),a[n].since=o.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}return a}function Ai(t,e,n){var r,i,o,a,s,l=this.eras();for(t=t.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[r];break;case"NNNN":if(o===t)return l[r];break;case"NNNNN":if(s===t)return l[r]}else if([o,a,s].indexOf(t)>=0)return l[r]}function Di(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n}function Oi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].name;if(r[t].until<=n&&n<=r[t].since)return r[t].name}return""}function zi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].narrow;if(r[t].until<=n&&n<=r[t].since)return r[t].narrow}return""}function Pi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].abbr;if(r[t].until<=n&&n<=r[t].since)return r[t].abbr}return""}function ji(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-i(o[t].since).year())*n+o[t].offset;return this.year()}function Ii(t){return l(this,"_erasNameRegex")||Zi.call(this),t?this._erasNameRegex:this._erasRegex}function Yi(t){return l(this,"_erasAbbrRegex")||Zi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Ri(t){return l(this,"_erasNarrowRegex")||Zi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Fi(t,e){return e.erasAbbrRegex(t)}function Bi(t,e){return e.erasNameRegex(t)}function Ni(t,e){return e.erasNarrowRegex(t)}function $i(t,e){return e._eraYearOrdinalRegex||Et}function Zi(){var t,e,n=[],r=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(Rt(a[t].name)),n.push(Rt(a[t].abbr)),i.push(Rt(a[t].narrow)),o.push(Rt(a[t].name)),o.push(Rt(a[t].abbr)),o.push(Rt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Hi(t,e){N(0,[t,t.length],0,e)}function Vi(t){return Ji.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ui(t){return Ji.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return Me(this.year(),1,4)}function Gi(){return Me(this.isoWeekYear(),1,4)}function qi(){var t=this.localeData()._week;return Me(this.year(),t.dow,t.doy)}function Xi(){var t=this.localeData()._week;return Me(this.weekYear(),t.dow,t.doy)}function Ji(t,e,n,r,i){var o;return null==t?ke(this,r,i).year:(e>(o=Me(t,r,i))&&(e=o),Ki.call(this,t,e,n,r,i))}function Ki(t,e,n,r,i){var o=we(t,e,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qi(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),jt("N",Fi),jt("NN",Fi),jt("NNN",Fi),jt("NNNN",Bi),jt("NNNNN",Ni),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?v(n).era=i:v(n).invalidEra=t})),jt("y",Et),jt("yy",Et),jt("yyy",Et),jt("yyyy",Et),jt("yo",$i),Bt(["y","yy","yyy","yyyy"],Ht),Bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Ht]=n._locale.eraYearOrdinalParse(t,i):e[Ht]=parseInt(t,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Hi("gggg","weekYear"),Hi("ggggg","weekYear"),Hi("GGGG","isoWeekYear"),Hi("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),jt("G",At),jt("g",At),jt("GG",kt,yt),jt("gg",kt,yt),jt("GGGG",Tt,xt),jt("gggg",Tt,xt),jt("GGGGG",Lt,wt),jt("ggggg",Lt,wt),Nt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=dt(t)})),Nt(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),N("Q",0,"Qo","quarter"),rt("quarter","Q"),st("quarter",7),jt("Q",gt),Bt("Q",(function(t,e){e[Vt]=3*(dt(t)-1)})),N("D",["DD",2],"Do","date"),rt("date","D"),st("date",9),jt("D",kt),jt("DD",kt,yt),jt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Ut),Bt("Do",(function(t,e){e[Ut]=dt(t.match(kt)[0])}));var to=ht("Date",!0);function eo(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}N("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),st("dayOfYear",4),jt("DDD",St),jt("DDDD",bt),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=dt(t)})),N("m",["mm",2],0,"minute"),rt("minute","m"),st("minute",14),jt("m",kt),jt("mm",kt,yt),Bt(["m","mm"],Gt);var no=ht("Minutes",!1);N("s",["ss",2],0,"second"),rt("second","s"),st("second",15),jt("s",kt),jt("ss",kt,yt),Bt(["s","ss"],qt);var ro,io,oo=ht("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),rt("millisecond","ms"),st("millisecond",16),jt("S",St,gt),jt("SS",St,yt),jt("SSS",St,bt),ro="SSSS";ro.length<=9;ro+="S")jt(ro,Et);function ao(t,e){e[Xt]=dt(1e3*("0."+t))}for(ro="S";ro.length<=9;ro+="S")Bt(ro,ao);function so(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=ht("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var co=k.prototype;function uo(t){return Xn(1e3*t)}function ho(){return Xn.apply(null,arguments).parseZone()}function fo(t){return t}co.add=jr,co.calendar=Zr,co.clone=Hr,co.diff=Jr,co.endOf=gi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=ai,co.get=mt,co.invalidAt=Ti,co.isAfter=Vr,co.isBefore=Ur,co.isBetween=Wr,co.isSame=Gr,co.isSameOrAfter=qr,co.isSameOrBefore=Xr,co.isValid=Ci,co.lang=li,co.locale=si,co.localeData=ci,co.max=Kn,co.min=Jn,co.parsingFlags=Si,co.set=_t,co.startOf=vi,co.subtract=Ir,co.toArray=wi,co.toObject=ki,co.toDate=xi,co.toISOString=ti,co.inspect=ei,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Mi,co.toString=Qr,co.unix=bi,co.valueOf=yi,co.creationData=Li,co.eraName=Oi,co.eraNarrow=zi,co.eraAbbr=Pi,co.eraYear=ji,co.year=ve,co.isLeapYear=ge,co.weekYear=Vi,co.isoWeekYear=Ui,co.quarter=co.quarters=Qi,co.month=de,co.daysInMonth=he,co.week=co.weeks=Ee,co.isoWeek=co.isoWeeks=Ae,co.weeksInYear=qi,co.weeksInWeekYear=Xi,co.isoWeeksInYear=Wi,co.isoWeeksInISOWeekYear=Gi,co.date=to,co.day=co.days=Ve,co.weekday=Ue,co.isoWeekday=We,co.dayOfYear=eo,co.hour=co.hours=on,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=_r,co.utc=gr,co.local=yr,co.parseZone=br,co.hasAlignedHourOffset=xr,co.isDST=wr,co.isLocal=Mr,co.isUtcOffset=Cr,co.isUtc=Sr,co.isUTC=Sr,co.zoneAbbr=so,co.zoneName=lo,co.dates=S("dates accessor is deprecated. Use date instead.",to),co.months=S("months accessor is deprecated. Use month instead",de),co.years=S("years accessor is deprecated. Use year instead",ve),co.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),co.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kr);var po=z.prototype;function mo(t,e,n,r){var i=yn(),o=m().set(r,e);return i[n](o,t)}function _o(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return mo(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(t,r,n,"month");return i}function vo(t,e,n,r){"boolean"==typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var i,o=yn(),a=t?o._week.dow:0,s=[];if(null!=n)return mo(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=mo(e,(i+a)%7,r,"day");return s}function go(t,e){return _o(t,e,"months")}function yo(t,e){return _o(t,e,"monthsShort")}function bo(t,e,n){return vo(t,e,n,"weekdays")}function xo(t,e,n){return vo(t,e,n,"weekdaysShort")}function wo(t,e,n){return vo(t,e,n,"weekdaysMin")}po.calendar=j,po.longDateFormat=W,po.invalidDate=q,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=tt,po.pastFuture=et,po.set=D,po.eras=Ei,po.erasParse=Ai,po.erasConvertYear=Di,po.erasAbbrRegex=Yi,po.erasNameRegex=Ii,po.erasNarrowRegex=Ri,po.months=ae,po.monthsShort=se,po.monthsParse=ce,po.monthsRegex=pe,po.monthsShortRegex=fe,po.week=Ce,po.firstDayOfYear=Le,po.firstDayOfWeek=Te,po.weekdays=Be,po.weekdaysMin=$e,po.weekdaysShort=Ne,po.weekdaysParse=He,po.weekdaysRegex=Ge,po.weekdaysShortRegex=qe,po.weekdaysMinRegex=Xe,po.isPM=nn,po.meridiem=an,_n("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",_n),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yn);var ko=Math.abs;function Mo(){var t=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),t.milliseconds=ko(t.milliseconds),t.seconds=ko(t.seconds),t.minutes=ko(t.minutes),t.hours=ko(t.hours),t.months=ko(t.months),t.years=ko(t.years),this}function Co(t,e,n,r){var i=Er(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function So(t,e){return Co(this,t,e,1)}function To(t,e){return Co(this,t,e,-1)}function Lo(t){return t<0?Math.floor(t):Math.ceil(t)}function Eo(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Lo(Do(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=ut(o/1e3),l.seconds=t%60,e=ut(t/60),l.minutes=e%60,n=ut(e/60),l.hours=n%24,a+=ut(n/24),s+=i=ut(Ao(a)),a-=Lo(Do(i)),r=ut(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Ao(t){return 4800*t/146097}function Do(t){return 146097*t/4800}function Oo(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=it(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Ao(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Do(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function zo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Po(t){return function(){return this.as(t)}}var jo=Po("ms"),Io=Po("s"),Yo=Po("m"),Ro=Po("h"),Fo=Po("d"),Bo=Po("w"),No=Po("M"),$o=Po("Q"),Zo=Po("y");function Ho(){return Er(this)}function Vo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Uo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Wo=Uo("milliseconds"),Go=Uo("seconds"),qo=Uo("minutes"),Xo=Uo("hours"),Jo=Uo("days"),Ko=Uo("months"),Qo=Uo("years");function ta(){return ut(this.days()/7)}var ea=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function ia(t,e,n,r){var i=Er(t).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),l=ea(i.as("d")),c=ea(i.as("M")),u=ea(i.as("w")),d=ea(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,h[3]=+t>0,h[4]=r,ra.apply(null,h)}function oa(t){return void 0===t?ea:"function"==typeof t&&(ea=t,!0)}function aa(t,e){return void 0!==na[t]&&(void 0===e?na[t]:(na[t]=e,"s"===t&&(na.ss=e-1),!0))}function sa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=na;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(o=Object.assign({},na,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=ia(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function ca(t){return(t>0)-(t<0)||+t}function ua(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,a,s,l=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(t=ut(l/60),e=ut(t/60),l%=60,t%=60,n=ut(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+r+"S":"")):"P0D"}var da=sr.prototype;return da.isValid=or,da.abs=Mo,da.add=So,da.subtract=To,da.as=Oo,da.asMilliseconds=jo,da.asSeconds=Io,da.asMinutes=Yo,da.asHours=Ro,da.asDays=Fo,da.asWeeks=Bo,da.asMonths=No,da.asQuarters=$o,da.asYears=Zo,da.valueOf=zo,da._bubble=Eo,da.clone=Ho,da.get=Vo,da.milliseconds=Wo,da.seconds=Go,da.minutes=qo,da.hours=Xo,da.days=Jo,da.weeks=ta,da.months=Ko,da.years=Qo,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=si,da.localeData=ci,da.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=li,N("X",0,0,"unix"),N("x",0,0,"valueOf"),jt("x",At),jt("X",zt),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(dt(t))})),i.version="2.29.4",o(Xn),i.fn=co,i.min=tr,i.max=er,i.now=nr,i.utc=m,i.unix=uo,i.months=go,i.isDate=h,i.locale=_n,i.invalid=y,i.duration=Er,i.isMoment=M,i.weekdays=bo,i.parseZone=ho,i.localeData=yn,i.isDuration=lr,i.monthsShort=yo,i.weekdaysMin=wo,i.defineLocale=vn,i.updateLocale=gn,i.locales=bn,i.weekdaysShort=xo,i.normalizeUnits=it,i.relativeTimeRounding=oa,i.relativeTimeThreshold=aa,i.calendarFormat=$r,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},74865:function(t,e,n){var r,i;r=function(){var t,e,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function i(t,e,n){return t<e?e:t>
2n?n:t}function o(t){return 100*(-1+t)}function a(t,e,n){var i;return(i="translate3d"===r.positionUsing?{transform:"translate3d("+o(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(t)+"%,0)"}:{"margin-left":o(t)+"%"}).transition="all "+e+"ms "+n,i}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=i(t,r.minimum,1),n.status=1===t?null:t;var o=n.render(!e),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,a(t,u,d)),1===t?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),u)}),u)):setTimeout(e,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*i(Math.random()*e,.1,.95)),e=i(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var i,a=e.querySelector(r.barSelector),s=t?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(i=e.querySelector(r.spinnerSelector))&&f(i),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(e),e},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var s=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),l=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;for(var r,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);i--;)if((r=t[i]+o)in n)return r;return e}function i(t){return t=n(t),e[t]||(e[t]=r(t))}function o(t,e,n){e=i(e),t.style[e]=n}return function(t,e){var n,r,i=arguments;if(2==i.length)for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&o(t,n,r);else o(t,i[1],i[2])}}();function c(t,e){return("string"==typeof t?t:h(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=h(t),r=n+e;c(n,e)||(t.className=r.substring(1))}function d(t,e){var n,r=h(t);c(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function h(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n},void 0===(i="function"==typeof r?r.call(e,n,e,t):r)||(t.exports=i)},27418:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var a,s,l=i(t),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(e){s=e(a);for(var d=0;d<s.length;
vendor: 5,425 bytes, line 2
2d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},70631:(t,e,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,_=Function.prototype.toString,v=String.prototype.match,g=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,x=String.prototype.toLowerCase,w=RegExp.prototype.test,k=Array.prototype.concat,M=Array.prototype.join,C=Array.prototype.slice,S=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,L=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,D="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,z=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function P(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-S(-t):S(t);if(r!==t){var i=String(r),o=g.call(e,i.length+1);return y.call(i,n,"$&_")+"."+y.call(y.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(e,n,"$&_")}var j=n(24654),I=j.custom,Y=$(I)?I:null;function R(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function F(t){return y.call(String(t),/"/g,"&quot;")}function B(t){return!("[object Array]"!==V(t)||D&&"object"==typeof t&&D in t)}function N(t){return!("[object RegExp]"!==V(t)||D&&"object"==typeof t&&D in t)}function $(t){if(A)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(H(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!H(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return W(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var b=String(e);return m?P(e,b):b}if("bigint"==typeof e){var w=String(e)+"n";return m?P(e,w):w}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var L=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=M.call(Array(t.indent+1)," ")}return{base:n,prev:M.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(U(i,e)>=0)return"[Circular]";function I(e,n,o){if(n&&(i=C.call(i)).push(n),o){var a={depth:s.depth};return H(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!N(e)){var Z=function(t){if(t.name)return t.name;var e=v.call(_.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),G=Q(e,I);return"[Function"+(Z?": "+Z:" (anonymous)")+"]"+(G.length>0?" { "+M.call(G,", ")+" }":"")}if($(e)){var tt=A?y.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(e);return"object"!=typeof e||A?tt:q(tt)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var et="<"+x.call(String(e.nodeName)),nt=e.attributes||[],rt=0;rt<nt.length;rt++)et+=" "+nt[rt].name+"="+R(F(nt[rt].value),"double",s);return et+=">",e.childNodes&&e.childNodes.length&&(et+="..."),et+="</"+x.call(String(e.nodeName))+">"}if(B(e)){if(0===e.length)return"[]";var it=Q(e,I);return L&&!function(t){for(var e=0;e<t.length;e++)if(U(t[e],"\n")>=0)return!1;return!0}(it)?"["+K(it,L)+"]":"[ "+M.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==V(t)||D&&"object"==typeof t&&D in t)}(e)){var ot=Q(e,I);return"cause"in Error.prototype||!("cause"in e)||O.call(e,"cause")?0===ot.length?"["+String(e)+"]":"{ ["+String(e)+"] "+M.call(ot,", ")+" }
2":"{ ["+String(e)+"] "+M.call(k.call("[cause]: "+I(e.cause),ot),", ")+" }"}if("object"==typeof e&&l){if(Y&&"function"==typeof e[Y]&&j)return j(e,{depth:S-r});if("symbol"!==l&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var at=[];return a.call(e,(function(t,n){at.push(I(n,e,!0)+" => "+I(t,e))})),J("Map",o.call(e),at,L)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return u.call(e,(function(t){st.push(I(t,e))})),J("Set",c.call(e),st,L)}if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return X("WeakMap");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return X("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return X("WeakRef");if(function(t){return!("[object Number]"!==V(t)||D&&"object"==typeof t&&D in t)}(e))return q(I(Number(e)));if(function(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}(e))return q(I(T.call(e)));if(function(t){return!("[object Boolean]"!==V(t)||D&&"object"==typeof t&&D in t)}(e))return q(p.call(e));if(function(t){return!("[object String]"!==V(t)||D&&"object"==typeof t&&D in t)}(e))return q(I(String(e)));if(!function(t){return!("[object Date]"!==V(t)||D&&"object"==typeof t&&D in t)}(e)&&!N(e)){var lt=Q(e,I),ct=z?z(e)===Object.prototype:e instanceof Object||e.constructor===Object,ut=e instanceof Object?"":"null prototype",dt=!ct&&D&&Object(e)===e&&D in e?g.call(V(e),8,-1):ut?"Object":"",ht=(ct||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(dt||ut?"["+M.call(k.call([],dt||[],ut||[]),": ")+"] ":"");return 0===lt.length?ht+"{}":L?ht+"{"+K(lt,L)+"}":ht+"{ "+M.call(lt,", ")+" }"}return String(e)};var Z=Object.prototype.hasOwnProperty||function(t){return t in this};function H(t,e){return Z.call(t,e)}function V(t){return m.call(t)}function U(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function W(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(g.call(t,0,e.maxStringLength),e)+r}return R(y.call(y.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",e)}function G(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+b.call(e.toString(16))}function q(t){return"Object("+t+")"}function X(t){return t+" { ? }"}function J(t,e,n,r){return t+" ("+e+") {"+(r?K(n,r):M.call(n,", "))+"}"}function K(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+M.call(t,","+n)+"\n"+e.prev}function Q(t,e){var n=B(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=H(t,i)?e(t[i],t):""}var o,a="function"==typeof L?L(t):[];if(A){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in t)H(t,l)&&(n&&String(Number(l))===l&&l<t.length||A&&o["$"+l]instanceof Symbol||(w.call(/[^\w$]/,l)?r.push(e(l,t)+": "+e(t[l],t)):r.push(l+": "+e(t[l],t))));if("function"==typeof L)for(var c=0;c<a.length;c++)O.call(t,a[c])&&r.push("["+e(a[c])+"]: "+e(t[a[c]],t));return r}},72433:(t,e,n)=>{"use strict";var r,i=(r=n(70538))&&"object"==typeof r&&"default"in r?r.default:r;function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s="undefined"!=typeof window;function l(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var c={},u={},d={},h=i.extend({data:function(){return{transports:c,targets:u,sources:d,trackInstances:s}},methods:{open:function(t){if(s){var e=t.to,n=t.from,r=t.passengers,a=t.order,l=void 0===a?1/0:a;if(e&&n&&r){var c,u={to:e,from:n,passengers:(c=r,Array.isArray(c)||"object"===o(c)?Object.freeze(c):c),order:l};-1===Object.keys(this.transports).indexOf(e)&&i.set(this.transports,e,[]);var d,h=this.$_getTransportIndex(u),f=this.transports[e].slice(0);-1===h?f.push(u):f[h]=u,this.transports[e]=(d=function(t,e){return t.order-e.order},f.map((function(t,e){return[e,t]})).sort((function(t,e){return d(t[1],e[1])||t[0]-e[0]})).map((function(t){return t[1]})))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){s&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){s&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),f=new h(c),p=1,m=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){f.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){f.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};f.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};f.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),_=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}}
2,data:function(){return{transports:f.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){f.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){f.unregisterTarget(e),f.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){f.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"==typeof r?r(e):n.passengers;return t.concat(i)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),v=0,g=["disabled","name","order","slim","slotProps","tag","to"],y=["multiple","transition"],b=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(v++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(f.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n        Aborting because 'bail: true' is set")):this.portalTarget=f.targets[e.name];else{var n=e.append;if(n){var r="string"==typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=l(this.$props,y);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new _({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=l(this.$props,g);return t(m,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var x={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",m),t.component(e.portalTargetName||"PortalTarget",_),t.component(e.MountingPortalName||"MountingPortal",b)}};e.ZP=x},34155:t=>{var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&h())}function h(){if(!c){var t=a(d);c=!0;for(var e=l.length;e;){for(s=l,l=[];++u<e;)s&&s[u].run();u=-1,e=l.length}s=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new f(t,e)),1!==l.length||c||a(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},55798:t=>{"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return e.call(t,n,"+")}
vendor: 1,654 bytes, line 2
2,RFC3986:function(t){return String(t)}},RFC1738:r,RFC3986:i}},80129:(t,e,n)=>{"use strict";var r=n(58261),i=n(55235),o=n(55798);t.exports={formats:o,parse:i,stringify:r}},55235:(t,e,n)=>{"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=a.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(t,e,n,r){for(var i=r?e:l(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;
vendor: 6,406 bytes, line 2
2if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,h=u.split(e.delimiter,d),f=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?p="utf-8":"utf8=%26%2310003%3B"===h[n]&&(p="iso-8859-1"),f=n,n=h.length);for(n=0;n<h.length;++n)if(n!==f){var m,_,v=h[n],g=v.indexOf("]="),y=-1===g?v.indexOf("="):g+1;-1===y?(m=e.decoder(v,a.decoder,p,"key"),_=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,y),a.decoder,p,"key"),_=r.maybeMap(l(v.slice(y+1),e),(function(t){return e.decoder(t,a.decoder,p,"value")}))),_&&e.interpretNumericEntities&&"iso-8859-1"===p&&(_=s(_)),v.indexOf("[]=")>-1&&(_=o(_)?[_]:_),i.call(c,m)?c[m]=r.combine(c[m],_):c[m]=_}return c}(t,n):t,d=n.plainObjects?Object.create(null):{},h=Object.keys(u),f=0;f<h.length;++f){var p=h[f],m=c(p,u[p],n,"string"==typeof t);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},58261:(t,e,n)=>{"use strict";var r=n(37478),i=n(12769),o=n(55798),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},l=Array.isArray,c=String.prototype.split,u=Array.prototype.push,d=function(t,e){u.apply(t,l(e)?e:[e])},h=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},m={},_=function t(e,n,o,a,s,u,h,f,_,v,g,y,b,x,w,k){for(var M,C=e,S=k,T=0,L=!1;void 0!==(S=S.get(m))&&!L;){var E=S.get(e);if(T+=1,void 0!==E){if(E===T)throw new RangeError("Cyclic object value");L=!0}void 0===S.get(m)&&(T=0)}if("function"==typeof f?C=f(n,C):C instanceof Date?C=g(C):"comma"===o&&l(C)&&(C=i.maybeMap(C,(function(t){return t instanceof Date?g(t):t}))),null===C){if(s)return h&&!x?h(n,p.encoder,w,"key",y):n;C=""}if("string"==typeof(M=C)||"number"==typeof M||"boolean"==typeof M||"symbol"==typeof M||"bigint"==typeof M||i.isBuffer(C)){if(h){var A=x?n:h(n,p.encoder,w,"key",y);if("comma"===o&&x){for(var D=c.call(String(C),","),O="",z=0;z<D.length;++z)O+=(0===z?"":",")+b(h(D[z],p.encoder,w,"value",y));return[b(A)+(a&&l(C)&&1===D.length?"[]":"")+"="+O]}return[b(A)+"="+b(h(C,p.encoder,w,"value",y))]}return[b(n)+"="+b(String(C))]}var P,j=[];if(void 0===C)return j;if("comma"===o&&l(C))P=[{value:C.length>0?C.join(",")||null:void 0}];else if(l(f))P=f;else{var I=Object.keys(C);P=_?I.sort(_):I}for(var Y=a&&l(C)&&1===C.length?n+"[]":n,R=0;R<P.length;++R){var F=P[R],B="object"==typeof F&&void 0!==F.value?F.value:C[F];if(!u||null!==B){var N=l(C)?"function"==typeof o?o(Y,F):Y:Y+(v?"."+F:"["+F+"]");k.set(e,T);var $=r();$.set(m,k),d(j,t(B,N,o,a,s,u,h,f,_,v,g,y,b,x,w,$))}}return j};t.exports=function(t,e){var n,i=t,c=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=p.filter;return("function"==typeof t.filter||l(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var u,h=[];if("object"!=typeof i||null===i)return"";u=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var f=s[u];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===f&&e&&e.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var v=r(),g=0;g<n.length;++g){var y=n[g];c.skipNulls&&null===i[y]||d(h,_(i[y],y,f,m,c.strictNullHandling,c.skipNulls,c.encode?
2c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,v))}var b=h.join(c.delimiter),x=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),b.length>0?x+b:""}},12769:(t,e,n)=>{"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:a,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return i.call(e,o)?e[o]=t(e[o],a,r):e[o]=a,e}),a)}}},37478:(t,e,n)=>{"use strict";var r=n(40210),i=n(21924),o=n(70631),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(l){if(e)return h(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return d(t,r)}else if(l){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),u(t,r,i)):l?(e||(e=new l),f(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},30523:t=>{!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},o=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,a=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?p.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):p.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;p.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=h(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==e.body?(p.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;
2if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+a<t.scrollHeight:"X"===e?t.clientWidth+a<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function h(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function f(e){var n,r,i,a,s=(o()-e.startTime)/468;a=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*a)),r=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,i),r===e.x&&i===e.y||t.requestAnimationFrame(f.bind(t,e))}function p(n,r,a){var l,c,u,d,h=o();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=i.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),f({scrollable:l,method:d,startTime:h,startX:c,startY:u,x:r,y:a})}}}}()},51474:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,{MultiDrag:()=>ye,Sortable:()=>Bt,Swap:()=>le,default:()=>we});function c(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),h=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),_={capture:!1,passive:!1};function v(t,e,n){t.addEventListener(e,n,!u&&_)}function g(t,e,n){t.removeEventListener(e,n,!u&&_)}function y(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function b(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function x(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&y(t,e):y(t,e))||r&&t===n)return t;if(t===n)break}while(t=b(t))}return null}var w,k=/\s+/g;function M(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(k," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(k," ")}}function C(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function S(t,e){var n="";if("string"==typeof t)n=t;else do{var r=C(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function L(){var t=document.scrollingElement;return t||document.documentElement}function E(t,e,n,r,i){if(t.getBoundingClientRect||t===window){var o,a,s,l,c,d,h;if(t!==window&&t!==L()?(a=(o=t.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,d=o.height,h=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==C(i,"transform")||n&&"static"!==C(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(C(i,"border-top-width")),s-=f.left+parseInt(C(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);
vendor: 4,096 bytes, line 2
2if(r&&t!==window){var p=S(i||t),m=p&&p.a,_=p&&p.d;p&&(l=(a/=_)+(d/=_),c=(s/=m)+(h/=m))}return{top:a,left:s,bottom:l,right:c,width:h,height:d}}}function A(t,e,n){for(var r=j(t,!0),i=E(t)[e];r;){var o=E(r)[n];if(!("top"===n||"left"===n?i>=o:i<=o))return r;if(r===L())break;r=j(r,!1)}return!1}function D(t,e,n){for(var r=0,i=0,o=t.children;i<o.length;){if("none"!==o[i].style.display&&o[i]!==Bt.ghost&&o[i]!==Bt.dragged&&x(o[i],n.draggable,t,!1)){if(r===e)return o[i];r++}i++}return null}function O(t,e){for(var n=t.lastElementChild;n&&(n===Bt.ghost||"none"===C(n,"display")||e&&!y(n,e));)n=n.previousElementSibling;return n||null}function z(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Bt.clone||e&&!y(t,e)||n++;return n}function P(t){var e=0,n=0,r=L();if(t)do{var i=S(t),o=i.a,a=i.d;e+=t.scrollLeft*o,n+=t.scrollTop*a}while(t!==r&&(t=t.parentNode));return[e,n]}function j(t,e){if(!t||!t.getBoundingClientRect)return L();var n=t,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return L();if(r||e)return n;r=!0}}}while(n=n.parentNode);return L()}function I(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function Y(t,e){return function(){if(!w){var n=arguments,r=this;1===n.length?t.call(r,n[0]):t.apply(r,n),w=setTimeout((function(){w=void 0}),e)}}}function R(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function F(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function B(t,e){C(t,"position","absolute"),C(t,"top",e.top),C(t,"left",e.left),C(t,"width",e.width),C(t,"height",e.height)}function N(t){C(t,"position",""),C(t,"top",""),C(t,"left",""),C(t,"width",""),C(t,"height","")}var $="Sortable"+(new Date).getTime();function Z(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==C(t,"display")&&t!==Bt.ghost){e.push({target:t,rect:E(t)});var n=a({},e[e.length-1].rect);if(t.thisAnimationDuration){var r=S(t,!0);r&&(n.top-=r.f,n.left-=r.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var i=!1,o=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=E(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,d=S(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&I(l,s)&&!I(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(e=function(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}(u,l,c,r.options)),I(s,a)||(n.prevFromRect=a,n.prevToRect=s,e||(e=r.options.animation),r.animate(n,u,s,e)),e&&(i=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),i?t=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,r){if(r){C(t,"transition",""),C(t,"transform","");var i=S(this.el),o=i&&i.a,a=i&&i.d,s=(e.left-n.left)/(o||1),l=(e.top-n.top)/(a||1);t.animatingX=!!s,t.animatingY=!!l,C(t,"transform","translate3d("+s+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),C(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),C(t,"transform","translate3d(0,
20,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){C(t,"transition",""),C(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),r)}}}}var H=[],V={initializeByDefault:!0},U={mount:function(t){for(var e in V)V.hasOwnProperty(e)&&!(e in t)&&(t[e]=V[e]);H.push(t)},pluginEvent:function(t,e,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=t+"Global";H.forEach((function(r){e[r.pluginName]&&(e[r.pluginName][i]&&e[r.pluginName][i](a({sortable:e},n)),e.options[r.pluginName]&&e[r.pluginName][t]&&e[r.pluginName][t](a({sortable:e},n)))}))},initializePlugins:function(t,e,n,r){for(var i in H.forEach((function(r){var i=r.pluginName;if(t.options[i]||r.initializeByDefault){var a=new r(t,e,t.options);a.sortable=t,a.options=t.options,t[i]=a,o(n,a.defaults)}})),t.options)if(t.options.hasOwnProperty(i)){var a=this.modifyOption(t,i,t.options[i]);void 0!==a&&(t.options[i]=a)}},getEventProperties:function(t,e){var n={};return H.forEach((function(r){"function"==typeof r.eventProperties&&o(n,r.eventProperties.call(e[r.pluginName],t))})),n},modifyOption:function(t,e,n){var r;return H.forEach((function(i){t[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[e]&&(r=i.optionListeners[e].call(t[i.pluginName],n))})),r}};function W(t){var e=t.sortable,n=t.rootEl,r=t.name,i=t.targetEl,o=t.cloneEl,s=t.toEl,l=t.fromEl,c=t.oldIndex,h=t.newIndex,f=t.oldDraggableIndex,p=t.newDraggableIndex,m=t.originalEvent,_=t.putSortable,v=t.extraEventProperties;if(e=e||n&&n[$]){var g,y=e.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||d?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=l||n,g.item=i||n,g.clone=o,g.oldIndex=c,g.newIndex=h,g.oldDraggableIndex=f,g.newDraggableIndex=p,g.originalEvent=m,g.pullMode=_?_.lastPutMode:void 0;var x=a({},v,U.getEventProperties(r,e));for(var w in x)g[w]=x[w];n&&n.dispatchEvent(g),y[b]&&y[b].call(e,g)}}var G=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);U.pluginEvent.bind(Bt)(t,e,a({dragEl:X,parentEl:J,ghostEl:K,rootEl:Q,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:_t,putSortable:ct,activeSortable:Bt.active,originalEvent:r,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:It,unhideGhostForTarget:Yt,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){q({sortable:e,name:t,originalEvent:r})}},i))};function q(t){W(a({putSortable:ct,cloneEl:nt,targetEl:X,rootEl:Q,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st},t))}var X,J,K,Q,tt,et,nt,rt,it,ot,at,st,lt,ct,ut,dt,ht,ft,pt,mt,_t,vt,gt,yt,bt,xt=!1,wt=!1,kt=[],Mt=!1,Ct=!1,St=[],Tt=!1,Lt=[],Et="undefined"!=typeof document,At=p,Dt=d||u?"cssFloat":"float",Ot=Et&&!m&&!p&&"draggable"in document.createElement("div"),zt=function(){if(Et){if(u)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}
vendor: 19,508 bytes, line 2
2(),Pt=function(t,e){var n=C(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=D(t,0,e),o=D(t,1,e),a=i&&C(i),s=o&&C(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+E(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+E(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Dt]||o&&"none"===n[Dt]&&l+c>r)?"vertical":"horizontal"},jt=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},It=function(){!zt&&K&&C(K,"display","none")},Yt=function(){!zt&&K&&C(K,"display","")};Et&&document.addEventListener("click",(function(t){if(wt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),wt=!1,!1}),!0);var Rt=function(t){if(X){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,kt.some((function(t){if(!O(t)){var e=E(t),n=t[$].options.emptyInsertThreshold,r=i>=e.left-n&&i<=e.right+n,s=o>=e.top-n&&o<=e.bottom+n;return n&&r&&s?a=t:void 0}})),a);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[$]._onDragOver(n)}}var i,o,a},Ft=function(t){X&&X.parentNode[$]._isOutsideThisEl(t.target)};function Bt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[$]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Pt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Bt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in U.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in jt(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Ot,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?v(t,"pointerdown",this._onTapStart):(v(t,"mousedown",this._onTapStart),v(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(t,"dragover",this),v(t,"dragenter",this)),kt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,Z())}function Nt(t,e,n,r,i,o,a,s){var l,c,h=t[$],f=h.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=r,l.related=i||e,l.relatedRect=o||E(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),f&&(c=f.call(h,l,a)),c}function $t(t){t.draggable=!1}function Zt(){Tt=!1}function Ht(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Vt(t){return setTimeout(t,0)}function Ut(t){return clearTimeout(t)}Bt.prototype={constructor:Bt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(vt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,X):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,i=r.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;if(function(t){Lt.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Lt.push(r)}}(n),!X&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||r.disabled||l.isContentEditable||(s=x(s,r.draggable,n,!1))&&s.animated||et===s)){if(it=z(s),at=z(s,r.draggable),"function"==typeof c){if(c.call(this,t,s,this))return q({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),G("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=x(l,r.trim(),n,!1))return q({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),G("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());r.handle&&!x(l,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!X&&n.parentNode===o){var l=E(n);if(Q=o,J=(X=n).parentNode,tt=X.nextSibling,et=n,lt=a.group,Bt.dragged=X,ut={target:X,clientX:(e||t).clientX,clientY:(e||t).clientY},pt=ut.clientX-l.left,mt=ut.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,X.style["will-change"]="all",r=function(){G("delayEnded",i,{evt:t}),Bt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!h&&i.nativeDraggable&&(X.draggable=!0),i._triggerDragStart(t,e),q({sortable:i,name:"choose",originalEvent:t}),M(X,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){T(X,t.trim(),$t)})),v(s,"dragover",Rt),v(s,"mousemove",Rt),v(s,"touchmove",Rt),v(s,"mouseup",i._onDrop),v(s,"touchend",i._onDrop),v(s,"touchcancel",i._onDrop),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,X.draggable=!0),G("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(d||u))r();else{if(Bt.eventCanceled)return void this._onDrop();v(s,"mouseup",i._disableDelayedDrag),v(s,"touchend",i._disableDelayedDrag),v(s,"touchcancel",i._disableDelayedDrag),v(s,"mousemove",i._delayedDragTouchMoveHandler),v(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){X&&$t(X),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._disableDelayedDrag),g(t,"touchend",this._disableDelayedDrag),g(t,"touchcancel",this._disableDelayedDrag),g(t,"mousemove",this._delayedDragTouchMoveHandler),g(t,"touchmove",this._delayedDragTouchMoveHandler),g(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,e?"touchmove":"mousemove",this._onTouchMove):(v(X,"dragend",this),v(Q,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(xt=!1,Q&&X){G("dragStarted",this,{evt:e}),this.nativeDraggable&&v(document,"dragover",Ft);var n=this.options;!t&&M(X,n.dragClass,!1),M(X,n.ghostClass,!0),Bt.active=this,t&&this._appendGhost(),q({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(dt){this._lastX=dt.clientX,this._lastY=dt.clientY,It();for(var t=document.elementFromPoint(dt.clientX,dt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(dt.clientX,dt.clientY))!==e;)e=t;if(X.parentNode[$]._isOutsideThisEl(t),e)do{if(e[$]){if(e[$]._onDragOver({clientX:dt.clientX,clientY:dt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Yt()}},_onTouchMove:function(t){if(ut){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=K&&S(K,!0),a=K&&o&&o.a,s=K&&o&&o.d,l=At&&bt&&P(bt),c=(i.clientX-ut.clientX+r.x)/(a||1)+(l?l[0]-St[0]:0)/(a||1),u=(i.clientY-ut.clientY+r.y)/(s||1)+(l?l[1]-St[1]:0)/(s||1);if(!Bt.active&&!xt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(K){o?(o.e+=c-(ht||0),o.f+=u-(ft||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");C(K,"webkitTransform",d),C(K,"mozTransform",d),C(K,"msTransform",d),C(K,"transform",d),ht=c,ft=u,dt=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!K){var t=this.options.fallbackOnBody?document.body:Q,e=E(X,!0,At,!0,t),n=this.options;if(At){for(bt=t;"static"===C(bt,"position")&&"none"===C(bt,"transform")&&bt!==document;)bt=bt.parentNode;bt!==document.body&&bt!==document.documentElement?(bt===document&&(bt=L()),e.top+=bt.scrollTop,e.left+=bt.scrollLeft):bt=L(),St=P(bt)}M(K=X.cloneNode(!0),n.ghostClass,!1),M(K,n.fallbackClass,!0),M(K,n.dragClass,!0),C(K,"transition",""),C(K,"transform",""),C(K,"box-sizing","border-box"),C(K,"margin",0),C(K,"top",e.top),C(K,"left",e.left),C(K,"width",e.width),C(K,"height",e.height),C(K,"opacity","0.8"),C(K,"position",At?"absolute":"fixed"),C(K,"zIndex","100000"),C(K,"pointerEvents","none"),Bt.ghost=K,t.appendChild(K),C(K,"transform-origin",pt/parseInt(K.style.width)*100+"% "+mt/parseInt(K.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,r=t.dataTransfer,i=n.options;G("dragStart",this,{evt:t}),Bt.eventCanceled?this._onDrop():(G("setupClone",this),Bt.eventCanceled||((nt=F(X)).draggable=!1,nt.style["will-change"]="",this._hideClone(),M(nt,this.options.chosenClass,!1),Bt.clone=nt),n.cloneId=Vt((function(){G("clone",n),Bt.eventCanceled||(n.options.removeCloneOnHide||Q.insertBefore(nt,X),n._hideClone(),q({sortable:n,name:"clone"}))})),!e&&M(X,i.dragClass,!0),e?(wt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,X)),v(document,"drop",n),C(X,"transform","translateZ(0)")),xt=!0,n._dragStartId=Vt(n._dragStarted.bind(n,e,t)),v(document,"selectstart",n),_t=!0,f&&C(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,r,i,o=this.el,s=t.target,l=this.options,c=l.group,u=Bt.active,d=lt===c,h=l.sort,f=ct||u,p=this,m=!1;if(!Tt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=x(s,l.draggable,o,!0),I("dragOver"),Bt.eventCanceled)return m;if(X.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return F(!1);if(wt=!1,u&&!l.disabled&&(d?h||(r=!Q.contains(X)):ct===this||(this.lastPutMode=lt.checkPull(this,u,X,t))&&c.checkPut(this,u,X,t))){if(i="vertical"===this._getDirection(t,s),e=E(X),I("dragOverValid"),Bt.eventCanceled)return m;if(r)return J=Q,Y(),this._hideClone(),I("revert"),Bt.eventCanceled||(tt?Q.insertBefore(X,tt):Q.appendChild(X)),F(!0);var _=O(o,l.draggable);if(!_||function(t,e,n){var r=E(O(n.el,n.options.draggable)),i=10;return e?t.clientX>r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}(t,i,this)&&!_.animated){if(_===X)return F(!1);if(_&&o===t.target&&(s=_),s&&(n=E(s)),!1!==Nt(Q,o,X,e,s,n,t,!!s))return Y(),o.appendChild(X),J=o,B(),F(!0)}else if(s.parentNode===o){n=E(s);var v,g,y,b=X.parentNode!==o,w=!function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return r===a||i===s||r+o/2===a+l/2}(X.animated&&X.toRect||e,s.animated&&s.toRect||n,i),k=i?"top":"left",S=A(s,"top","top")||A(X,"top","top"),T=S?S.scrollTop:void 0;if(vt!==s&&(g=n[k],Mt=!1,Ct=!w&&l.invertSwap||b),v=function(t,e,n,r,i,o,a,s){var l=r?t.clientY:t.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,h=!1;if(!a)if(s&&yt<c*i){if(!Mt&&(1===gt?l>u+c*o/2:l<d-c*o/2)&&(Mt=!0),Mt)h=!0;else if(1===gt?l<u+yt:l>d-yt)return-gt}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(t){return z(X)<z(t)?1:-1}(e);if((h=h||a)&&(l<u+c*o/2||l>d-c*o/2))return l>u+c/2?1:-1;return 0}(t,s,n,i,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Ct,vt===s),0!==v){var L=z(X);do{L-=v,y=J.children[L]}while(y&&("none"===C(y,"display")||y===K))}if(0===v||y===s)return F(!1);vt=s,gt=v;var D=s.nextElementSibling,P=!1,j=Nt(Q,o,X,e,s,n,t,P=1===v);if(!1!==j)return 1!==j&&-1!==j||(P=1===j),Tt=!0,setTimeout(Zt,30),Y(),P&&!D?o.appendChild(X):s.parentNode.insertBefore(X,P?D:s),S&&R(S,0,T-S.scrollTop),J=X.parentNode,void 0===g||Ct||(yt=Math.abs(g-E(s)[k])),B(),F(!0)}if(o.contains(X))return F(!1)}return!1}function I(l,c){G(l,p,a({evt:t,isOwner:d,axis:i?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:h,fromSortable:f,target:s,completed:F,onMove:function(n,r){return Nt(Q,o,X,e,n,E(n),t,r)},changed:B},c))}function Y(){I("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(e){return I("dragOverCompleted",{insertion:e}),e&&(d?u._hideClone():u._showClone(p),p!==f&&(M(X,ct?ct.options.ghostClass:u.options.ghostClass,!1),M(X,l.ghostClass,!0)),ct!==p&&p!==Bt.active?ct=p:p===Bt.active&&ct&&(ct=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){I("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===X&&!X.animated||s===o&&!s.animated)&&(vt=null),l.dragoverBubble||t.rootEl||s===document||(X.parentNode[$]._isOutsideThisEl(t.target),!e&&Rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function B(){ot=z(X),st=z(X,l.draggable),q({sortable:p,name:"change",toEl:o,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Rt),g(document,"mousemove",Rt),g(document,"touchmove",Rt)},_offUpEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._onDrop),g(t,"touchend",this._onDrop),g(t,"pointerup",this._onDrop),g(t,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=z(X),st=z(X,n.draggable),G("drop",this,{evt:t}),J=X&&X.parentNode,ot=z(X),st=z(X,n.draggable),Bt.eventCanceled||(xt=!1,Ct=!1,Mt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ut(this.cloneId),Ut(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&C(document.body,"user-select",""),C(X,"transform",""),t&&(_t&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),K&&K.parentNode&&K.parentNode.removeChild(K),(Q===J||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),X&&(this.nativeDraggable&&g(X,"dragend",this),$t(X),X.style["will-change"]="",_t&&!xt&&M(X,ct?ct.options.ghostClass:this.options.ghostClass,!1),M(X,this.options.chosenClass,!1),q({sortable:this,name:"unchoose",toEl:J,newIndex:null,newDraggableIndex:null,originalEvent:t}),Q!==J?(ot>=0&&(q({rootEl:J,name:"add",toEl:J,fromEl:Q,originalEvent:t}),q({sortable:this,name:"remove",toEl:J,originalEvent:t}),q({rootEl:J,name:"sort",toEl:J,fromEl:Q,originalEvent:t}),q({sortable:this,name:"sort",toEl:J,originalEvent:t})),ct&&ct.save()):ot!==it&&ot>=0&&(q({sortable:this,name:"update",toEl:J,originalEvent:t}),q({sortable:this,name:"sort",toEl:J,originalEvent:t})),Bt.active&&(null!=ot&&-1!==ot||(ot=it,st=at),q({sortable:this,name:"end",toEl:J,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){G("nulling",this),Q=X=J=K=tt=nt=et=rt=ut=dt=_t=ot=st=it=at=vt=gt=ct=lt=Bt.dragged=Bt.ghost=Bt.clone=Bt.active=null,Lt.forEach((function(t){t.checked=!0})),Lt.length=ht=ft=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":X&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)x(t=n[r],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Ht(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,r){var i=n.children[r];x(i,this.options.draggable,n,!1)&&(e[t]=i)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return x(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var r=U.modifyOption(this,t,e);n[t]=void 0!==r?r:e,"group"===t&&jt(n)},destroy:function(){G("destroy",this);var t=this.el;t[$]=null,g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart),g(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),kt.splice(kt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!rt){if(G("hideClone",this),Bt.eventCanceled)return;C(nt,"display","none"),this.options.removeCloneOnHide&&nt.parentNode&&nt.parentNode.removeChild(nt),rt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(rt){if(G("showClone",this),Bt.eventCanceled)return;Q.contains(X)&&!this.options.group.revertClone?Q.insertBefore(nt,X):tt?Q.insertBefore(nt,tt):Q.appendChild(nt),this.options.group.revertClone&&this.animate(X,nt),C(nt,"display",""),rt=!1}}else this._hideClone()}},Et&&v(document,"touchmove",(function(t){(Bt.active||xt)&&t.cancelable&&t.preventDefault()})),Bt.utils={on:v,off:g,css:C,find:T,is:function(t,e){return!!x(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:Y,closest:x,toggleClass:M,clone:F,index:z,nextTick:Vt,cancelNextTick:Ut,detectDirection:Pt,getChild:D},Bt.get=function(t){return t[$]},Bt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Bt.utils=a({}
2,Bt.utils,t.utils)),U.mount(t)}))},Bt.create=function(t,e){return new Bt(t,e)},Bt.version="1.10.2";var Wt,Gt,qt,Xt,Jt,Kt,Qt=[],te=!1;function ee(){Qt.forEach((function(t){clearInterval(t.pid)})),Qt=[]}function ne(){clearInterval(Kt)}var re,ie=Y((function(t,e,n,r){if(e.scroll){var i,o=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,l=e.scrollSpeed,c=L(),u=!1;Gt!==n&&(Gt=n,ee(),Wt=e.scroll,i=e.scrollFn,!0===Wt&&(Wt=j(n,!0)));var d=0,h=Wt;do{var f=h,p=E(f),m=p.top,_=p.bottom,v=p.left,g=p.right,y=p.width,b=p.height,x=void 0,w=void 0,k=f.scrollWidth,M=f.scrollHeight,S=C(f),T=f.scrollLeft,A=f.scrollTop;f===c?(x=y<k&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),w=b<M&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(x=y<k&&("auto"===S.overflowX||"scroll"===S.overflowX),w=b<M&&("auto"===S.overflowY||"scroll"===S.overflowY));var D=x&&(Math.abs(g-o)<=s&&T+y<k)-(Math.abs(v-o)<=s&&!!T),O=w&&(Math.abs(_-a)<=s&&A+b<M)-(Math.abs(m-a)<=s&&!!A);if(!Qt[d])for(var z=0;z<=d;z++)Qt[z]||(Qt[z]={});Qt[d].vx==D&&Qt[d].vy==O&&Qt[d].el===f||(Qt[d].el=f,Qt[d].vx=D,Qt[d].vy=O,clearInterval(Qt[d].pid),0==D&&0==O||(u=!0,Qt[d].pid=setInterval(function(){r&&0===this.layer&&Bt.active._onTouchMove(Jt);var e=Qt[this.layer].vy?Qt[this.layer].vy*l:0,n=Qt[this.layer].vx?Qt[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(Bt.dragged.parentNode[$],n,e,t,Jt,Qt[this.layer].el)||R(Qt[this.layer].el,n,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&h!==c&&(h=j(h,!1)));te=u}}),30),oe=function(t){var e=t.originalEvent,n=t.putSortable,r=t.dragEl,i=t.activeSortable,o=t.dispatchSortableEvent,a=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var l=n||i;a();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function ae(){}function se(){}function le(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;re=e},dragOverValid:function(t){var e=t.completed,n=t.target,r=t.onMove,i=t.activeSortable,o=t.changed,a=t.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=re;!1!==r(n)?(M(n,l.swapClass,!0),re=n):re=null,c&&c!==re&&M(c,l.swapClass,!1)}o(),e(!0),a()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,r=t.dragEl,i=n||this.sortable,o=this.options;re&&M(re,o.swapClass,!1),re&&(o.swap||n&&n.options.swap)&&r!==re&&(i.captureAnimationState(),i!==e&&e.captureAnimationState(),function(t,e){var n,r,i=t.parentNode,o=e.parentNode;if(!i||!o||i.isEqualNode(e)||o.isEqualNode(t))return;n=z(t),r=z(e),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(e,i.children[n]),o.insertBefore(t,o.children[r])}(r,re),i.animateAll(),i!==e&&e.animateAll())},nulling:function(){re=null}},o(t,{pluginName:"swap",eventProperties:function(){return{swapItem:re}}})}ae.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=D(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(e,r):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:oe},o(ae,{pluginName:"revertOnSpill"}),se.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:oe},o(se,{pluginName:"removeOnSpill"});var ce,ue,de,he,fe,pe=[],me=[],_e=!1,ve=!1,ge=!1;function ye(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,
2setData:function(e,n){var r="";pe.length&&ue===t?pe.forEach((function(t,e){r+=(e?", ":"")+t.textContent})):r=n.textContent,e.setData("Text",r)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;de=e},delayEnded:function(){this.isMultiDrag=~pe.indexOf(de)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var r=0;r<pe.length;r++)me.push(F(pe[r])),me[r].sortableIndex=pe[r].sortableIndex,me[r].draggable=!1,me[r].style["will-change"]="",M(me[r],this.options.selectedClass,!1),pe[r]===de&&M(me[r],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,r=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pe.length&&ue===e&&(be(!0,n),r("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,r=t.cancel;this.isMultiDrag&&(be(!1,n),me.forEach((function(t){C(t,"display","")})),e(),fe=!1,r())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),r=t.cancel;this.isMultiDrag&&(me.forEach((function(t){C(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),fe=!0,r())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&ue&&ue.multiDrag._deselectMultiDrag(),pe.forEach((function(t){t.sortableIndex=z(t)})),pe=pe.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),ge=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){pe.forEach((function(t){t!==de&&C(t,"position","absolute")}));var r=E(de,!1,!0,!0);pe.forEach((function(t){t!==de&&B(t,r)})),ve=!0,_e=!0}n.animateAll((function(){ve=!1,_e=!1,e.options.animation&&pe.forEach((function(t){N(t)})),e.options.sort&&xe()}))}},dragOver:function(t){var e=t.target,n=t.completed,r=t.cancel;ve&&~pe.indexOf(e)&&(n(!1),r())},revert:function(t){var e=t.fromSortable,n=t.rootEl,r=t.sortable,i=t.dragRect;pe.length>1&&(pe.forEach((function(t){r.addAnimationState({target:t,rect:ve?E(t):i}),N(t),t.fromRect=i,e.removeAnimationState(t)})),ve=!1,function(t,e){pe.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,i=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&i._hideClone(),_e=!1,s.animation&&pe.length>1&&(ve||!n&&!i.options.sort&&!a)){var l=E(de,!1,!0,!0);pe.forEach((function(t){t!==de&&(B(t,l),o.appendChild(t))})),ve=!0}if(!n)if(ve||xe(),pe.length>1){var c=fe;i._showClone(e),i.options.animation&&!fe&&c&&me.forEach((function(t){i.addAnimationState({target:t,rect:he}),t.fromRect=he,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if(pe.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){he=o({},e);var i=S(de,!0);he.top-=i.f,he.left-=i.e}},dragOverAnimationComplete:function(){ve&&(ve=!1,xe())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var c=this.options,u=r.children;if(!ge)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),M(de,c.selectedClass,!~pe.indexOf(de)),~pe.indexOf(de))pe.splice(pe.indexOf(de),1),ce=null,W({sortable:i,rootEl:n,name:"deselect",targetEl:de,originalEvt:e});else{if(pe.push(de),W({sortable:i,rootEl:n,name:"select",targetEl:de,originalEvt:e}),e.shiftKey&&ce&&i.el.contains(ce)){var d,h,f=z(ce),p=z(de);if(~f&&~p&&f!==p)for(p>f?(h=f,d=p):(h=p,d=f+1);h<d;h++)~pe.indexOf(u[h])||(M(u[h],c.selectedClass,!0),pe.push(u[h]),W({sortable:i,rootEl:n,name:"select",targetEl:u[h],originalEvt:e}))}else ce=de;ue=l}if(ge&&this.isMultiDrag){if((r[$].options.sort||r!==n)&&pe.length>1){var m=E(de),_=z(de,":not(."+this.options.selectedClass+")");if(!_e&&c.animation&&(de.thisAnimationDuration=null),l.captureAnimationState(),!_e&&(c.animation&&(de.fromRect=m,pe.forEach((function(t){if(t.thisAnimationDuration=null,t!==de){var e=ve?E(t):m;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),xe(),pe.forEach((function(t){u[_]?r.insertBefore(t,u[_]):r.appendChild(t),_++})),a===z(de))){var v=!1;pe.forEach((function(t){t.sortableIndex===z(t)||(v=!0)})),v&&o("update")}pe.forEach((function(t){N(t)})),l.animateAll()}ue=l}(n===r||s&&"clone"!==s.lastPutMode)&&me.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=ge=!1,me.length=0}
2,destroyGlobal:function(){this._deselectMultiDrag(),g(document,"pointerup",this._deselectMultiDrag),g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==ge&&ge||ue!==this.sortable||t&&x(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;pe.length;){var e=pe[0];M(e,this.options.selectedClass,!1),pe.shift(),W({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[$];e&&e.options.multiDrag&&!~pe.indexOf(t)&&(ue&&ue!==e&&(ue.multiDrag._deselectMultiDrag(),ue=e),M(t,e.options.selectedClass,!0),pe.push(t))},deselect:function(t){var e=t.parentNode[$],n=pe.indexOf(t);e&&e.options.multiDrag&&~n&&(M(t,e.options.selectedClass,!1),pe.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return pe.forEach((function(r){var i;e.push({multiDragElement:r,index:r.sortableIndex}),i=ve&&r!==de?-1:ve?z(r,":not(."+t.options.selectedClass+")"):z(r),n.push({multiDragElement:r,index:i})})),{items:l(pe),clones:[].concat(me),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function be(t,e){me.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function xe(){pe.forEach((function(t){t!==de&&t.parentNode&&t.parentNode.removeChild(t)}))}Bt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):e.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(w),w=void 0},nulling:function(){Jt=Gt=Wt=te=Kt=qt=Xt=null,Qt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(r,i);if(Jt=t,e||d||u||f){ie(t,this.options,o,e);var a=j(o,!0);!te||Kt&&r===qt&&i===Xt||(Kt&&ne(),Kt=setInterval((function(){var o=j(document.elementFromPoint(r,i),!0);o!==a&&(a=o,ee()),ie(t,n.options,o,e)}),10),qt=r,Xt=i)}else{if(!this.options.bubbleScroll||j(o,!0)===L())return void ee();ie(t,this.options,j(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),Bt.mount(se,ae);const we=Bt},53462:(t,e,n)=>{"use strict";var r=n(93379),i=n.n(r),o=n(99895),a={insert:"head",singleton:!1};i()(o.Z,a),o.Z.locals},93379:(t,e,n)=>{"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},r=[],i=0;i<t.length;
vendor: 4,439 bytes, line 2
2i++){var o=t[i],l=e.base?o[0]+e.base:o[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(h)):a.push({identifier:u,updater:_(h,e),references:1}),r.push(u)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function h(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=d(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,m=0;function _(t,e){var n,r,i;if(e.singleton){var o=m++;n=p||(p=c(e)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=c(e),r=f.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(t,e),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=o}}}},10516:(t,e,n)=>{"use strict";n.d(e,{fl:()=>ne});var r=n(70538);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u,d,h=(u=function(t){!function(){var e={}.hasOwnProperty;function n(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&t.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)e.call(i,s)&&i[s]&&t.push(s);else t.push(i.toString())}}return t.join(" ")}
2t.exports?(n.default=n,t.exports=n):window.classNames=n}()},u(d={path:undefined,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&d.path)}},d.exports),d.exports),f=function(t){return function(e,n){if(!e)return t;var r;"string"==typeof e?r=e:n=e;var i=t;return r&&(i+="__"+r),i+(n?Object.keys(n).reduce((function(t,e){var r=n[e];return r&&(t+=" "+("boolean"==typeof r?i+"--"+e:i+"--"+e+"_"+r)),t}),""):"")}};function p(t,e,n){var r,i,o,a,s;function l(){var c=Date.now()-a;c<e&&c>=0?r=setTimeout(l,e-c):(r=null,n||(s=t.apply(o,i),o=i=null))}null==e&&(e=100);var c=function(){o=this,i=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(l,e)),c&&(s=t.apply(o,i),o=i=null),s};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(s=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},c}p.debounce=p;var m=p,_=function(){return _=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},_.apply(this,arguments)};function v(t,e){var n,r;return t&&e?(n=""+t+e[0].toUpperCase()+e.slice(1),r=t+"-"+e):(n=t||e,r=t||e),{name:n,classname:r}}function g(t){return/^blob:/.test(t)}function y(t){return g(t)||function(t){return/^data:/.test(t)}(t)}function b(t){return!!(t&&t.constructor&&t.call&&t.apply)}function x(t){return void 0===t}function w(t){return"object"==typeof t&&null!==t}function k(t,e,n){var r={};return w(t)?(Object.keys(e).forEach((function(i){x(t[i])?r[i]=e[i]:w(e[i])?w(t[i])?r[i]=k(t[i],e[i],n[i]):r[i]=t[i]?e[i]:n[i]:!0===e[i]||!1===e[i]?r[i]=Boolean(t[i]):r[i]=t[i]})),r):t?e:n}function M(t){var e=Number(t);return Number.isNaN(e)?t:e}function C(t){return typeof("number"==t||function(t){return"object"==typeof t&&null!==t}(t)&&"[object Number]"==toString.call(t))&&!S(t)}function S(t){return t!=t}function T(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}var L=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.type="manipulateImage",this.move=t,this.scale=e},E=function(t,e){void 0===e&&(e={}),this.type="resize",this.directions=t,this.params=e},A=function(t){this.type="move",this.directions=t},D=function(){function t(t,e,n,r,i){this.type="drag",this.nativeEvent=t,this.position=n,this.previousPosition=r,this.element=e,this.anchor=i}return t.prototype.shift=function(){var t=this,e=t.element,n=t.anchor,r=t.position,i=e.getBoundingClientRect(),o=i.left,a=i.top;return{left:r.left-o-n.left,top:r.top-a-n.top}},t}();function O(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);const u="function"==typeof n?n.options:n;let d;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=d):e&&(d=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),d)if(u.functional){const t=u.render;u.render=function(e,n){return d.call(n),t(e,n)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,d):[d]}return n}var z=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"draggable",class:t.classname,on:{touchstart:t.onTouchStart,mousedown:t.onMouseDown,mouseover:t.onMouseOver,mouseleave:t.onMouseLeave}},[t._t("default")],2)},staticRenderFns:[]},void 0,{name:"DraggableElement",mixins:[{beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(t){t.cancelable&&!this.disabled&&1===t.touches.length&&(this.touches=l(t.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),t.touches.length&&this.initAnchor(this.touches.reduce((function(e,n){return{clientX:e.clientX+n.clientX/t.touches.length,clientY:e.clientY+n.clientY/t.touches.length}}),{clientX:0,clientY:0})),t.preventDefault&&t.preventDefault(),t.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(t){this.touches.length&&(this.processMove(t,t.touches),t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation())},onMouseDown:function(t){if(!this.disabled&&0===t.button){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.draggable.getBoundingClientRect(),n=e.left,r=e.right,i=e.bottom,o=e.top;this.anchor={left:t.clientX-n,top:t.clientY-o,bottom:i-t.clientY,right:r-t.clientX}},processMove:function(t,e){var n=l(e);if(this.touches.length){if(1===this.touches.length&&1===n.length){var r=this.$refs.draggable;
vendor: 5,202 bytes, line 2
2this.$emit("drag",new D(t,r,{left:n[0].clientX,top:n[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=n}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}}}],props:{classname:{type:String}}},void 0,!1,void 0,!1,void 0,void 0,void 0),P=f("vue-handler-wrapper"),j=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes.root},[n("DraggableElement",{class:t.classes.draggable,on:{drag:function(e){return t.$emit("drag",e)},"drag-end":function(e){return t.$emit("drag-end")},leave:function(e){return t.$emit("leave")},enter:function(e){return t.$emit("enter")}}},[t._t("default")],2)],1)},staticRenderFns:[]},void 0,{name:"HandlerWrapper",components:{DraggableElement:z},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var t;if(this.horizontalPosition||this.verticalPosition){var e,n=v(this.horizontalPosition,this.verticalPosition);t=P((a(e={},n.classname,!0),a(e,"disabled",this.disabled),e))}else t=P({disabled:this.disabled});return{root:t,draggable:P("draggable")}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),I=f("vue-line-wrapper"),Y=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("DraggableElement",{class:t.classname,on:{drag:function(e){return t.$emit("drag",e)},"drag-end":function(e){return t.$emit("drag-end")},leave:function(e){return t.$emit("leave")},enter:function(e){return t.$emit("enter")}}},[t._t("default")],2)},staticRenderFns:[]},void 0,{name:"LineWrapper",components:{DraggableElement:z},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var t;return I((a(t={},this.position,!0),a(t,"disabled",this.disabled),t))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),R=["left","right","top","bottom"],F=["left","right"],B=["top","bottom"],N=["left","top"],$=["fill-area","fit-area","stencil","none"],Z={left:0,top:0,width:0,height:0};function H(t,e,n){return!(n=n||["width","height","left","top"]).some((function(n){return t[n]!==e[n]}))}function V(t){return{left:t.left,top:t.top,right:t.left+t.width,bottom:t.top+t.height}}function U(t,e){return{left:t.left-e.left,top:t.top-e.top}}function W(t){return{left:t.left+t.width/2,top:t.top+t.height/2}}function G(t,e){var n={left:0,top:0,right:0,bottom:0};return R.forEach((function(r){var i=e[r],o=V(t)[r];n[r]=void 0!==i&&void 0!==o?"left"===r||"top"===r?Math.max(0,i-o):Math.max(0,o-i):0})),n}function q(t,e){return{left:t.left-e.left,top:t.top-e.top,width:t.width+e.left+e.right,height:t.height+e.top+e.bottom}}function X(t){return{left:-t.left,top:-t.top}}function J(t,e){return _(_({},t),{left:t.left+e.left,top:t.top+e.top})}function K(t,e,n,r){if(1!==e){if(n){var i=W(t);return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2+(n.left-i.left)*(r||1-e),top:t.top+t.height*(1-e)/2+(n.top-i.top)*(r||1-e)}}return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2,top:t.top+t.height*(1-e)/2}}return t}function Q(t){return t.width/t.height}function tt(t,e){return Math.min(void 0!==e.right&&void 0!==e.left?(e.right-e.left)/t.width:1/0,void 0!==e.bottom&&void 0!==e.top?(e.bottom-e.top)/t.height:1/0)}function et(t,e){var n={left:0,top:0},r=G(t,e);return r.left&&r.left>0?n.left=r.left:r.right&&r.right>0&&(n.left=-r.right),r.top&&r.top>0?n.top=r.top:r.bottom&&r.bottom>0&&(n.top=-r.bottom),n}function nt(t,e){var n;return e.minimum&&t<e.minimum?n=e.minimum:e.maximum&&t>e.maximum&&(n=e.maximum),n}function rt(t,e){var n=Q(t),r=Q(e);return e.width<1/0&&e.height<1/0?n>r?{width:e.width,height:e.width/n}:{width:e.height*n,height:e.height}:e.width<1/0?{width:e.width,height:e.width/n}:e.height<1/0?{width:e.height*n,height:e.height}:t}function it(t,e){var n=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(n))+Math.abs(t.height*Math.sin(n)),height:Math.abs(t.width*Math.sin(n))+Math.abs(t.height*Math.cos(n))}}function ot(t,e){var n=e*Math.PI/180;return{left:t.left*Math.cos(n)-t.top*Math.sin(n),top:t.left*Math.sin(n)+t.top*Math.cos(n)}}function at(t,e){var n=G(st(t,e),e);return n.left+n.right+n.top+n.bottom?n.left+n.right>n.top+n.bottom?Math.min((t.width+n.left+n.right)/t.width,tt(t,e)):Math.min((t.height+n.top+n.bottom)/t.height,tt(t,e)):1}function st(t,e,n){void 0===n&&(n=!1);var r=et(t,e);return J(t,n?X(r):r)}function lt(t){return{width:void 0!==t.right&&void 0!==t.left?t.right-t.left:1/0,height:void 0!==t.bottom&&void 0!==t.top?t.bottom-t.top:1/0}}function ct(t,e){return _(_({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function ut(t,e,n){void 0===n&&(n=!0);var r={};return R.forEach((function(i){var o=t[i],a=e[i];void 0!==o&&void 0!==a?r[i]="left"===i||"top"===i?n?Math.max(o,a):Math.min(o,a):n?Math.min(o,a):Math.max(o,a):void 0!==a?r[i]=a:void 0!==o&&(r[i]=o)})),r}function dt(t,e){return ut(t,e,!0)}function ht(t){var e=t.size,n=t.aspectRatio,r=t.ignoreMinimum,i=t.sizeRestrictions;return Boolean((e.correctRatio||Q(e)>
vendor: 9,802 bytes, line 2
2=n.minimum&&Q(e)<=n.maximum)&&e.height<=i.maxHeight&&e.width<=i.maxWidth&&e.width&&e.height&&(r||e.height>=i.minHeight&&e.width>=i.minWidth))}function ft(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function pt(t){var e=t.width,n=t.height,r=t.sizeRestrictions,i={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},o={width:Math.max(r.minWidth,Math.min(r.maxWidth,e)),height:Math.max(r.minHeight,Math.min(r.maxHeight,n))};function a(t,o){return void 0===o&&(o=!1),t.reduce((function(t,a){return ht({size:a,aspectRatio:i,sizeRestrictions:r,ignoreMinimum:o})&&(!t||ft(a,{width:e,height:n})<ft(t,{width:e,height:n}))?a:t}),null)}var s=[];i&&[i.minimum,i.maximum].forEach((function(t){t&&s.push({width:o.width,height:o.width/t,correctRatio:!0},{width:o.height*t,height:o.height,correctRatio:!0})})),ht({size:o,aspectRatio:i,sizeRestrictions:r})&&s.push(o);var l=a(s)||a(s,!0);return l&&{width:l.width,height:l.height}}function mt(t){var e=t.event,n=t.coordinates,r=t.positionRestrictions,i=void 0===r?{}:r,o=J(n,e.directions);return J(o,et(o,i))}function _t(t){var e=t.coordinates,n=t.transform,r=t.imageSize,i=t.sizeRestrictions,o=t.positionRestrictions,a=t.aspectRatio,s=t.visibleArea,l=function(t,e){return mt({coordinates:t,positionRestrictions:o,event:new A({left:e.left-t.left,top:e.top-t.top})})},c=_({},e);return(Array.isArray(n)?n:[n]).forEach((function(t){var e;x((e="function"==typeof t?t({coordinates:c,imageSize:r,visibleArea:s}):t).width)&&x(e.height)||(c=function(t,e){var n=_(_(_({},t),pt({width:e.width,height:e.height,sizeRestrictions:i,aspectRatio:a})),{left:0,top:0});return l(n,{left:t.left,top:t.top})}(c,_(_({},c),e))),x(e.left)&&x(e.top)||(c=l(c,_(_({},c),e)))})),c}function vt(t){t.event;var e=t.getAreaRestrictions,n=t.boundaries,r=t.coordinates,i=t.visibleArea;t.aspectRatio;var o=t.stencilSize,a=t.sizeRestrictions,s=t.positionRestrictions;t.stencilReference;var l,c,u,d=_({},r),h=_({},i),f=_({},o);l=Q(f),c=Q(d),void 0===u&&(u=.001),(0===l||0===c?Math.abs(c-l)<u:Math.abs(c/l)<1+u&&Math.abs(c/l)>1-u)||(d=_(_({},d),pt({sizeRestrictions:a,width:d.width,height:d.height,aspectRatio:{minimum:Q(f),maximum:Q(f)}})));var p=at(h=K(h,d.width*n.width/(h.width*f.width)),e({visibleArea:h,type:"resize"}));return 1!==p&&(h=K(h,p),d=K(d,p)),h=st(h=J(h,U(W(d),W(h))),e({visibleArea:h,type:"move"})),{coordinates:d=st(d,dt(V(h),s)),visibleArea:h}}function gt(t){var e=t.event,n=t.getAreaRestrictions,r=t.boundaries,i=t.coordinates,o=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var a=t.positionRestrictions;t.stencilReference;var s=_({},i),l=_({},o);if(i&&o&&"manipulateImage"!==e.type){var c={width:0,height:0};l.width,r.width,Q(r)>Q(s)?(c.height=.8*r.height,c.width=c.height*Q(s)):(c.width=.8*r.width,c.height=c.width*Q(s));var u=at(l=K(l,s.width*r.width/(l.width*c.width)),n({visibleArea:l,type:"resize"}));l=K(l,u),1!==u&&(c.height/=u,c.width/=u),l=st(l=J(l,U(W(s),W(l))),n({visibleArea:l,type:"move"})),s=st(s,dt(V(l),a))}return{coordinates:s,visibleArea:l}}function yt(t){var e=t.event,n=t.coordinates,r=t.visibleArea,i=t.getAreaRestrictions,o=_({},r),a=_({},n);if("setCoordinates"===e.type){var s=Math.max(0,a.width-o.width),l=Math.max(0,a.height-o.height);s>l?o=K(o,Math.min(a.width/o.width,tt(o,i({visibleArea:o,type:"resize"})))):l>s&&(o=K(o,Math.min(a.height/o.height,tt(o,i({visibleArea:o,type:"resize"}))))),o=st(o=J(o,X(et(a,V(o)))),i({visibleArea:o,type:"move"}))}return{visibleArea:o,coordinates:a}}function bt(t){var e=t.imageSize,n=t.visibleArea,r=t.aspectRatio,i=t.sizeRestrictions,o=n||e,a=Math.min(r.maximum||1/0,Math.max(r.minimum||0,Q(o))),s=o.width<o.height?{width:.8*o.width,height:.8*o.width/a}:{height:.8*o.height,width:.8*o.height*a};return pt(_(_({},s),{aspectRatio:r,sizeRestrictions:i}))}function xt(t){var e,n,r=t.imageSize,i=t.visibleArea,o=t.boundaries,a=t.aspectRatio,s=t.sizeRestrictions,l=t.stencilSize,c=i||r;return Q(c)>Q(o)?n=(e=l.height*c.height/o.height)*Q(l):e=(n=l.width*c.width/o.width)/Q(l),pt({width:n,height:e,aspectRatio:a,sizeRestrictions:s})}function wt(t,e){return ut(t,V(e))}function kt(t){var e=t.event,n=t.coordinates,r=t.visibleArea,i=t.sizeRestrictions,o=t.getAreaRestrictions,a=t.positionRestrictions,s=t.adjustStencil,l=e.scale,c=e.move,u=_({},r),d=_({},n),h=1,f=1,p=l.factor&&Math.abs(l.factor-1)>.001;u=J(u,{left:c.left||0,top:c.top||0});var m={stencil:{minimum:Math.max(i.minWidth?i.minWidth/d.width:0,i.minHeight?i.minHeight/d.height:0),maximum:Math.min(i.maxWidth?i.maxWidth/d.width:1/0,i.maxHeight?i.maxHeight/d.height:1/0,tt(d,a))},area:{maximum:tt(u,o({visibleArea:u,type:"resize"}))}};l.factor&&p&&(l.factor<1?(f=Math.max(l.factor,m.stencil.minimum))>1&&(f=1):l.factor>1&&(f=Math.min(l.factor,Math.min(m.area.maximum,m.stencil.maximum)))<1&&(f=1)),f&&(u=K(u,f,l.center));var v=n.left-r.left,g=r.width+r.left-(n.width+n.left),y=n.top-r.top,b=r.height+r.top-(n.height+n.top);return u=st(u=J(u,et(u,{left:void 0!==a.left?a.left-v*f:void 0,top:void 0!==a.top?a.top-y*f:void 0,bottom:void 0!==a.bottom?a.bottom+b*f:void 0,right:void 0!==a.right?a.right+g*f:void 0})),o({visibleArea:u,type:"move"})),d.width=d.width*f,d.height=d.height*f,d.left=u.left+v*f,d.top=u.top+y*f,d=st(d,dt(V(u),a)),l.factor&&p&&s&&(l.factor>1?h=Math.min(m.area.maximum,l.factor)/f:l.factor<1&&(h=Math.max(d.height/u.height,d.width/u.width,l.factor/f)),1!==h&&(u=J(u=st(u=K(u,h,l.factor>1?l.center:W(d)),o({visibleArea:u,type:"move"})),X(et(d,V(u)))))),{coordinates:d,visibleArea:u}}function Mt(t){var e=t.aspectRatio,n=t.getAreaRestrictions,r=t.coordinates,i=t.visibleArea,o=t.sizeRestrictions,a=t.positionRestrictions,s=t.imageSize,l=t.previousImageSize,c=t.angle,u=_({},r),d=_({},i),h=ot(W(_({left:0,top:0},l)),c);return(u=_(_({},pt({sizeRestrictions:o,aspectRatio:e,width:u.width,height:u.height})),ot(W(u),c))).left-=h.left-s.width/2+u.width/2,u.top-=h.top-s.height/2+u.height/2,d=K(d,at(d,n({visibleArea:d,type:"resize"}))),{coordinates:u=st(u,a),visibleArea:d=st(d=J(d,U(W(u),W(r))),n({visibleArea:d,type:"move"}))}}function Ct(t){var e=t.flip,n=t.previousFlip,r=t.rotate;t.aspectRatio;var i=t.getAreaRestrictions,o=t.coordinates,a=t.visibleArea,s=t.imageSize,l=_({},o),c=_({},a),u=n.horizontal!==e.horizontal,d=n.vertical!==e.vertical;if(u||d){var h=ot({left:s.width/2,top:s.height/2},-r),f=ot(W(l),-r),p=ot({left:u?h.left-(f.left-h.left):f.left,top:d?h.top-(f.top-h.top):f.top},r);l=J(l,U(p,W(l))),f=ot(W(c),-r),c=st(c=J(c,U(p=ot({left:u?h.left-(f.left-h.left):f.left,top:d?h.top-(f.top-h.top):f.top},r),W(c))),i({visibleArea:c,type:"move"}))}return{coordinates:l,visibleArea:c}}function St(t){var e=t.directions,n=t.coordinates,r=t.positionRestrictions,i=void 0===r?{}:r,o=t.sizeRestrictions,a=t.preserveRatio,s=t.compensate,l=_({},e),c=q(n,l).width,u=q(n,l).height;c<0&&(l.left<0&&l.right<0?(l.left=-(n.width-o.minWidth)/(l.left/l.right),l.right=-(n.width-o.minWidth)/(l.right/l.left)):l.left<0?l.left=-(n.width-o.minWidth):l.right<0&&(l.right=-(n.width-o.minWidth))),u<0&&(l.top<0&&l.bottom<0?(l.top=-(n.height-o.minHeight)/(l.top/l.bottom),l.bottom=-(n.height-o.minHeight)/(l.bottom/l.top)):l.top<0?l.top=-(n.height-o.minHeight):l.bottom<0&&(l.bottom=-(n.height-o.minHeight)));var d=G(q(n,l),i);s&&(d.left&&d.left>0&&0===d.right?(l.right+=d.left,l.left-=d.left):d.right&&d.right>0&&0===d.left&&(l.left+=d.right,l.right-=d.right),d.top&&d.top>0&&0===d.bottom?(l.bottom+=d.top,l.top-=d.top):d.bottom&&d.bottom>0&&0===d.top&&(l.top+=d.bottom,l.bottom-=d.bottom),d=G(q(n,l),i));var h={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(R.forEach((function(t){var e=d[t];e&&l[t]&&(h[t]=Math.max(0,1-e/l[t]))})),a){var f=Math.min.apply(null,R.map((function(t){return h[t]})));f!==1/0&&R.forEach((function(t){l[t]*=f}))}else R.forEach((function(t){h[t]!==1/0&&(l[t]*=h[t])}));if(c=q(n,l).width,u=q(n,l).height,l.right+l.left&&(c>o.maxWidth?h.width=(o.maxWidth-n.width)/(l.right+l.left):c<o.minWidth&&(h.width=(o.minWidth-n.width)/(l.right+l.left))),l.bottom+l.top&&(u>o.maxHeight?h.height=(o.maxHeight-n.height)/(l.bottom+l.top):u<o.minHeight&&(h.height=(o.minHeight-n.height)/(l.bottom+l.top))),a){var p=Math.min(h.width,h.height);p!==1/0&&R.forEach((function(t){l[t]*=p}))}else h.width!==1/0&&F.forEach((function(t){l[t]*=h.width})),h.height!==1/0&&B.forEach((function(t){l[t]*=h.height}));return l}function Tt(t,e,n){return 0==e&&0==n?t/2:0==e?0:0==n?t:t*Math.abs(e/(e+n))}var Lt=f("vue-simple-handler"),Et=f("vue-simple-handler-wrapper"),At=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("HandlerWrapper",{class:t.classes.wrapper,attrs:{"vertical-position":t.verticalPosition,"horizontal-position":t.horizontalPosition,disabled:t.disabled},on:{drag:t.onDrag,"drag-end":t.onDragEnd,enter:t.onEnter,leave:t.onLeave}},[n("div",{class:t.classes.default})])},staticRenderFns:[]},void 0,{name:"SimpleHandler",components:{HandlerWrapper:j},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var t,e=(a(t={},this.horizontalPosition,Boolean(this.horizontalPosition)),a(t,this.verticalPosition,Boolean(this.verticalPosition)),a(t,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),a(t,"hover",this.hover),t);return{default:h(Lt(e),this.defaultClass,this.hover&&this.hoverClass),wrapper:h(Et(e),this.wrapperClass)}}},methods:{onDrag:function(t){this.$emit("drag",t)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Dt=f("vue-simple-line"),Ot=f
2("vue-simple-line-wrapper"),zt=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("LineWrapper",{class:t.classes.wrapper,attrs:{position:t.position,disabled:t.disabled},on:{drag:t.onDrag,"drag-end":t.onDragEnd,enter:t.onEnter,leave:t.onLeave}},[n("div",{class:t.classes.root})])},staticRenderFns:[]},void 0,{name:"SimpleLine",components:{LineWrapper:Y},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:h(Dt(a({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:h(Ot(a({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(t){this.$emit("drag",t)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Pt=f("vue-bounding-box"),jt=["east","west",null],It=["south","north",null],Yt=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"box",class:t.classes.root,style:t.style},[t._t("default"),t._v(" "),n("div",t._l(t.lineNodes,(function(e){return n(e.component,{key:e.name,tag:"component",attrs:{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,position:e.name,disabled:e.disabled},on:{drag:function(n){return t.onHandlerDrag(n,e.horizontalDirection,e.verticalDirection)},"drag-end":function(e){return t.onEnd()}}})})),1),t._v(" "),t._l(t.handlerNodes,(function(e){return n("div",{key:e.name,class:e.wrapperClass,style:e.wrapperStyle},[n(e.component,{tag:"component",attrs:{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,"horizontal-position":e.horizontalDirection,"vertical-position":e.verticalDirection,disabled:e.disabled},on:{drag:function(n){return t.onHandlerDrag(n,e.horizontalDirection,e.verticalDirection)},"drag-end":function(e){return t.onEnd()}}})],1)}))],2)},staticRenderFns:[]},void 0,{name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return At}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return zt}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var t=[];return jt.forEach((function(e){It.forEach((function(n){if(e!==n){var r=v(e,n),i=r.name,o=r.classname;t.push({name:i,classname:o,verticalDirection:n,horizontalDirection:e})}}))})),{points:t}},computed:{style:function(){var t={};return this.width&&this.height&&(t.width="".concat(this.width,"px"),t.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),t},classes:function(){var t=this.handlersClasses,e=this.handlersWrappersClasses,n=this.linesClasses,r=this.linesWrappersClasses;return{root:Pt(),handlers:t,handlersWrappers:e,lines:n,linesWrappers:r}},lineNodes:function(){var t=this,e=[];return this.points.forEach((function(n){n.horizontalDirection&&n.verticalDirection||!t.lines[n.name]||e.push({name:n.name,component:t.linesComponent,class:h(t.classes.lines.default,t.classes.lines[n.name],!t.resizable&&t.classes.lines.disabled),wrapperClass:h(t.classes.linesWrappers.default,t.classes.linesWrappers[n.name],!t.resizable&&t.classes.linesWrappers.disabled),hoverClass:t.classes.lines.hover,verticalDirection:n.verticalDirection,horizontalDirection:n.horizontalDirection,disabled:!t.resizable})})),e},handlerNodes:function(){var t=this,e=[],n=this.width,r=this.height;
vendor: 6,180 bytes, line 2
2return this.points.forEach((function(i){if(t.handlers[i.name]){var o={name:i.name,component:t.handlersComponent,class:h(t.classes.handlers.default,t.classes.handlers[i.name]),wrapperClass:h(t.classes.handlersWrappers.default,t.classes.handlersWrappers[i.name]),hoverClass:t.classes.handlers.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!t.resizable};if(n&&r){var s=i.horizontalDirection,l=i.verticalDirection,c="east"===s?n:"west"===s?0:n/2,u="south"===l?r:"north"===l?0:r/2;o.wrapperClass=Pt("handler"),o.wrapperStyle={transform:"translate(".concat(c,"px, ").concat(u,"px)")},t.transitions&&t.transitions.enabled&&(o.wrapperStyle.transition="".concat(t.transitions.time,"ms ").concat(t.transitions.timingFunction))}else o.wrapperClass=Pt("handler",a({},i.classname,!0));e.push(o)}})),e}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(t,e,n){var r,i=t.shift(),o=i.left,a=i.top,s={left:0,right:0,top:0,bottom:0};"west"===e?s.left-=o:"east"===e&&(s.right+=o),"north"===n?s.top-=a:"south"===n&&(s.bottom+=a),!n&&e?r="width":n&&!e&&(r="height"),this.resizable&&this.$emit("resize",new E(s,{allowedDirections:{left:"west"===e||!e,right:"east"===e||!e,bottom:"south"===n||!n,top:"north"===n||!n},preserveAspectRatio:t.nativeEvent&&t.nativeEvent.shiftKey,respectDirection:r}))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Rt=f("vue-draggable-area"),Ft=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"container",on:{touchstart:t.onTouchStart,mousedown:t.onMouseDown}},[t._t("default")],2)},staticRenderFns:[]},void 0,{name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:Rt()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(t){if(t.cancelable){var e=this.movable&&1===t.touches.length;e&&(this.touches=l(t.touches)),(this.touchStarted||e)&&(t.preventDefault(),t.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(t){this.touches.length>=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):T({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&0===t.button){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),n=e.left,r=e.top;this.anchor={x:t.clientX-n,y:t.clientY-r}},processMove:function(t,e){var n=l(e);if(this.touches.length){var r=this.$refs.container.getBoundingClientRect(),i=r.left,o=r.top;1===this.touches.length&&1===n.length&&this.$emit("move",new A({left:n[0].clientX-(i+this.anchor.x),top:n[0].clientY-(o+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function Bt(t){var e,n;return{rotate:t.rotate||0,flip:{horizontal:(null===(e=null==t?void 0:t.flip)||void 0===e?void 0:e.horizontal)||!1,vertical:(null===(n=null==t?void 0:t.flip)||void 0===n?void 0:n.vertical)||!1}}}function Nt(t){var e=t.rotate,n=t.flip,r=t.scaleX,i=t.scaleY,o="";return o+=" rotate("+e+"deg) ",(o+=" scaleX("+r*(n.horizontal?-1:1)+") ")+" scaleY("+i*(n.vertical?-1:1)+") "}var $t=f("vue-preview-result");O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes.root},[n("div",{ref:"wrapper",class:t.classes.wrapper,style:t.wrapperStyle},[n("img",{ref:"image",class:t.classes.image,style:t.imageStyle,attrs:{src:t.image.src}})])])},staticRenderFns:[]},void 0,{name:"PreviewResult",props:{image:{type:Object},transitions:{type:Object},stencilCoordinates:{type:Object,default:function(){return{width:0,height:0,left:0,top:0}}},imageClass:{type:String}},computed:{classes:function(){return{root:$t(),wrapper:$t("wrapper"),imageWrapper:$t("image-wrapper"),image:h($t("image"),this.imageClass)}},wrapperStyle:function(){var t={width:"".concat(this.stencilCoordinates.width,"px"),height:"".concat(this.stencilCoordinates.height,"px"),left:"calc(50% - ".concat(this.stencilCoordinates.width/2,"px)"),top:"calc(50% - ".concat(this.stencilCoordinates.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){var t=this.image.transforms,e=it({width:this.image.width,height:this.image.height},t.rotate),n={width:"".concat(this.image.width,"px"),height:"".concat(this.image.height,"px"),left:"0px",top:"0px"}
2,r=(this.image.width-e.width)*t.scaleX/2,i=(this.image.height-e.height)*t.scaleY/2,o=(1-t.scaleX)*this.image.width/2,a=(1-t.scaleY)*this.image.height/2;return n.transform="translate(\n\t\t\t\t".concat(-this.stencilCoordinates.left-t.translateX-r-o,"px,").concat(-this.stencilCoordinates.top-t.translateY-i-a,"px) ")+Nt(t),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function Zt(t,e){var n=e.getBoundingClientRect(),r=n.left,i=n.top,o={left:0,top:0},a=0;return t.forEach((function(e){o.left+=(e.clientX-r)/t.length,o.top+=(e.clientY-i)/t.length})),t.forEach((function(t){a+=T({x:o.left,y:o.top},{x:t.clientX-r,y:t.clientY-i})})),{centerMass:o,spread:a,count:t.length}}var Ht=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"container",on:{touchstart:t.onTouchStart,mousedown:t.onMouseDown,wheel:t.onWheel}},[t._t("default")],2)},staticRenderFns:[]},void 0,{props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=m(this.processEnd),this.touches=[]},methods:{processMove:function(t,e){if(this.touches.length){if(1===this.touches.length&&1===e.length)this.$emit("move",new L({left:this.touches[0].clientX-e[0].clientX,top:this.touches[0].clientY-e[0].clientY}));else if(this.touches.length>1&&this.touchResize){var n=Zt(e,this.$refs.container),r=this.oldGeometricProperties;r.count===n.count&&r.count>1&&this.$emit("resize",new L({left:r.centerMass.left-n.centerMass.left,top:r.centerMass.top-n.centerMass.top},{factor:r.spread/n.spread,center:n.centerMass})),this.oldGeometricProperties=n}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?!1!==this.eventsFilter(t,this.transforming):(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,n=e.getBoundingClientRect(),r=n.left,i=n.top,o=n.bottom,a=n.right;this.touches=l(t.touches).filter((function(t){return t.clientX>r&&t.clientX<a&&t.clientY>i&&t.clientY<o})),this.oldGeometricProperties=Zt(this.touches,e)}},onTouchEnd:function(t){0===t.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(t){var e=this;if(this.touches.length){var n=l(t.touches).filter((function(t){return!t.identifier||e.touches.find((function(e){return e.identifier===t.identifier}))}));this.processEvent(t)&&(this.processMove(t,n),this.processStart())}},onMouseDown:function(t){if(this.mouseMove&&"buttons"in t&&1===t.buttons&&this.processEvent(t)){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.processStart()}},onMouseMove:function(t){this.touches.length&&this.processEvent(t)&&this.processMove(t,[{clientX:t.clientX,clientY:t.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(t){if(this.wheelResize&&this.processEvent(t)){var e=this.$refs.container.getBoundingClientRect(),n=e.left,r=e.top,i=1+this.wheelResize.ratio*(0==(a=+(t.deltaY||t.detail||t.wheelDelta))||S(a)?a:a>0?1:-1),o={left:t.clientX-n,top:t.clientY-r};this.$emit("resize",new L({},{factor:i,center:o}
2)),this.touches.length||this.debouncedProcessEnd()}var a}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Vt=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("transformable-image",{attrs:{"touch-move":t.touchMove,"touch-resize":t.touchResize,"mouse-move":t.mouseMove,"wheel-resize":t.wheelResize},on:{move:function(e){return t.$emit("move",e)},resize:function(e){return t.$emit("resize",e)}}},[t._t("default")],2)},staticRenderFns:[]},void 0,{components:{TransformableImage:Ht},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ut=f("vue-preview"),Wt=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",class:t.classes.root,style:t.style},[n("div",{ref:"wrapper",class:t.classes.wrapper,style:t.wrapperStyle},[n("img",{directives:[{name:"show",rawName:"v-show",value:t.image&&t.image.src,expression:"image && image.src"}],ref:"image",class:t.classes.image,style:t.imageStyle,attrs:{src:t.image&&t.image.src}})])])},staticRenderFns:[]},void 0,{props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Ut({fill:this.fill}),wrapper:Ut("wrapper"),imageWrapper:Ut("image-wrapper"),image:h(Ut("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=o(o({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),n=this.imageSize.width,r=this.imageSize.height,i=it({width:n,height:r},e.rotate),a={width:"".concat(n,"px"),height:"".concat(r,"px"),left:"0px",top:"0px"},s={rotate:{left:(n-i.width)*e.scaleX/2,top:(r-i.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*n/2,top:(1-e.scaleY)*r/2}};return a.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/t-s.rotate.left-s.scale.left,"px,").concat(-this.coordinates.top/t-s.rotate.top-s.scale.top,"px) ")+Nt(e),this.transitions&&this.transitions.enabled&&(a.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),a}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){t.refreshImage()})),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},destroyed:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Gt=O({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("preview",t._b({attrs:{fill:!0}},"preview",t.$attrs,!1))},staticRenderFns:[]},void 0,{components:{Preview:Wt},inheritAttrs:!1},void 0,!1,void 0,!1,void 0,void 0,void 0),qt=f("vue-rectangle-stencil"),Xt=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes.stencil,style:t.style},[n("bounding-box",{class:t.classes.boundingBox,attrs:{width:t.stencilCoordinates.width,height:t.stencilCoordinates.height,transitions:t.transitions,handlers:t.handlers,"handlers-component":t.handlersComponent,"handlers-classe
2s":t.handlersClasses,"handlers-wrappers-classes":t.handlersWrappersClasses,lines:t.lines,"lines-component":t.linesComponent,"lines-classes":t.linesClasses,"lines-wrappers-classes":t.linesWrappersClasses,resizable:t.resizable},on:{resize:t.onResize,"resize-end":t.onResizeEnd}},[n("draggable-area",{attrs:{movable:t.movable},on:{move:t.onMove,"move-end":t.onMoveEnd}},[n("stencil-preview",{class:t.classes.preview,attrs:{image:t.image,coordinates:t.coordinates,width:t.stencilCoordinates.width,height:t.stencilCoordinates.height,transitions:t.transitions}})],1)],1)],1)},staticRenderFns:[]},void 0,{name:"RectangleStencil",components:{StencilPreview:Gt,BoundingBox:Yt,DraggableArea:Ft},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return At}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return zt}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:h(qt({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:h(qt("preview"),this.previewClass),boundingBox:h(qt("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,n=t.width,r=t.left,i=t.top,o={width:"".concat(n,"px"),height:"".concat(e,"px"),transform:"translate(".concat(r,"px, ").concat(i,"px)")};return this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Jt=f("vue-circle-stencil"),Kt=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes.stencil,style:t.style},[n("bounding-box",{class:t.classes.boundingBox,attrs:{width:t.stencilCoordinates.width,height:t.stencilCoordinates.height,transitions:t.transitions,handlers:t.handlers,"handlers-component":t.handlersComponent,"handlers-classe
2s":t.handlersClasses,"handlers-wrappers-classes":t.handlersWrappersClasses,lines:t.lines,"lines-component":t.linesComponent,"lines-classes":t.linesClasses,"lines-wrappers-classes":t.linesWrappersClasses,resizable:t.resizable},on:{resize:t.onResize,"resize-end":t.onResizeEnd}},[n("draggable-area",{attrs:{movable:t.movable},on:{move:t.onMove,"move-end":t.onMoveEnd}},[n("stencil-preview",{class:t.classes.preview,attrs:{image:t.image,coordinates:t.coordinates,width:t.stencilCoordinates.width,height:t.stencilCoordinates.height,transitions:t.transitions}})],1)],1)],1)},staticRenderFns:[]},void 0,{components:{StencilPreview:Gt,BoundingBox:Yt,DraggableArea:Ft},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,westNorth:!0,westSouth:!0,eastSouth:!0}}},handlersComponent:{type:[Object,String],default:function(){return At}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return zt}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:h(Jt({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:h(Jt("preview"),this.previewClass),boundingBox:h(Jt("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,n=t.width,r=t.left,i=t.top,o={width:"".concat(n,"px"),height:"".concat(e,"px"),transform:"translate(".concat(r,"px, ").concat(i,"px)")};return this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:1,maximum:1}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Qt=["transitions"],te=f("vue-advanced-cropper"),ee={name:"Cropper",components:{BackgroundWrapper:Vt},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Xt}},backgroundWrapperComponent:{type:[Object,String],default:function(){return Vt}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return-1!==$.indexOf(t)}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object],default:function(t){var e=t.imageSize,n=t.visibleArea,r=t.coordinates,i=n||e;return{left:(n?n.left:0)+i.width/2-r.width/2,top:(n?n.top:0)+i.height/2-r.height/2}}},defaultVisibleArea:{type:[Function,Object],default:function(t){var e=t.getAreaRestrictions,n=t.coordinates,r=t.imageSize,i=Q(t.boundaries);if(n){var o={height:Math.max(n.height,r.height),width:Math.max(n.width,r.width)},a=rt({width:Q(o)>i?o.width:o.height*i,height:Q(o)>i?o.width/i:o.height},lt(e())),s={left:n.left+n.width/2-a.width/2,top:n.top+n.height/2-a.height/2,width:a.width,height:a.height},l=G(n,V(_({left:0,top:0},r))),c={};return!l.left&&!l.right&&s.width<=r.width&&(c.left=0,c.right=r.width),!l.top&&!l.bottom&&s.height<=r.height&&(c.top=0,c.bottom=r.height),st(s,c)}var u=Q(r);return a={height:u>i?r.height:r.width/i,width:u>i?r.height*i:r.width},{left:r.width/2-a.width/2,top:r.height/2-a.height/2,width:a.width,height:a.height}}},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!("string"==typeof t&&"fill"!==t&&"fit"!==t)}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,n=t.coordinates,r=t.aspectRatio,i=t.positionRestrictions,o=t.sizeRestrictions,a=_(_({},n),{right:n.left+n.width,bottom:n.top+n.height}),s=e.params||{},l=_({},e.directions),c=s.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};o.widthFrozen&&(l.left=0,l.right=0),o.heightFrozen&&(l.top=0,l.bottom=0),R.forEach((function(t){c[t]||(l[t]=0)}));var u=q(a,l=St({coordinates:a,directions:l,sizeRestrictions:o,positionRestrictions:i})).width,d=q(a,l).height,h=s.preserveRatio?Q(a):nt(u/d,r);if(h){var f=s.respectDirection;if(f||(f=a.width>=a.height||1===h?"width":"height"),"width"===f){var p=u/h-a.height;if(c.top&&c.bottom){var m=l.top,v=l.bottom;
vendor: 27,102 bytes, line 2
2l.bottom=Tt(p,v,m),l.top=Tt(p,m,v)}else c.bottom?l.bottom=p:c.top?l.top=p:c.right?l.right=0:c.left&&(l.left=0)}else if("height"===f){var g=a.width-d*h;if(c.left&&c.right){var y=l.left,b=l.right;l.left=-Tt(g,y,b),l.right=-Tt(g,b,y)}else c.left?l.left=-g:c.right?l.right=-g:c.top?l.top=0:c.bottom&&(l.bottom=0)}l=St({directions:l,coordinates:a,sizeRestrictions:o,positionRestrictions:i,preserveRatio:!0,compensate:s.compensate})}return u=q(a,l).width,d=q(a,l).height,(h=s.preserveRatio?Q(a):nt(u/d,r))&&Math.abs(h-u/d)>.001&&R.forEach((function(t){c[t]||(l[t]=0)})),mt({event:new A({left:-l.left,top:-l.top}),coordinates:{width:n.width+l.right+l.left,height:n.height+l.top+l.bottom,left:n.left,top:n.top},positionRestrictions:i})}},moveAlgorithm:{type:Function,default:mt},initStretcher:{type:Function,default:function(t){var e=t.stretcher,n=t.imageSize,r=Q(n);e.style.width=n.width+"px",e.style.height=e.clientWidth/r+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,n=t.coordinates,r=t.aspectRatio,i=t.sizeRestrictions,o=t.positionRestrictions,a=_(_({},n),pt({width:n.width,height:n.height,aspectRatio:r,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,i.minHeight),minWidth:Math.min(e.width,i.minWidth)}}));return st(a=J(a,U(W(n),W(a))),dt(V(e),o))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.getAreaRestrictions,i=t.coordinates,o=_({},e);o.height=o.width/Q(n),o.top+=(e.height-o.height)/2,(i.height-o.height>0||i.width-o.width>0)&&(o=K(o,Math.max(i.height/o.height,i.width/o.width)));var a=X(et(i,V(o=K(o,at(o,r({visibleArea:o,type:"resize"}))))));return o.width<i.width&&(a.left=0),o.height<i.height&&(a.top=0),st(o=J(o,a),r({visibleArea:o,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.visibleArea,n=t.boundaries,r=t.imageSize,i=t.imageRestriction,o=t.type,a={};return"fill-area"===i?a={left:0,top:0,right:r.width,bottom:r.height}:"fit-area"===i&&(Q(n)>Q(r)?(a={top:0,bottom:r.height},e&&"move"===o&&(e.width>r.width?(a.left=-(e.width-r.width)/2,a.right=r.width-a.left):(a.left=0,a.right=r.width))):(a={left:0,right:r.width},e&&"move"===o&&(e.height>r.height?(a.top=-(e.height-r.height)/2,a.bottom=r.height-a.top):(a.top=0,a.bottom=r.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,n={};return"none"!==t.imageRestriction&&(n={left:0,top:0,right:e.width,bottom:e.height}),n}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:!1,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:o({},Z)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(t){return t*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var t=k(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:k(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:x(this.minWidth)?0:M(this.minWidth),minHeight:x(this.minHeight)?0:M(this.minHeight),maxWidth:x(this.maxWidth)?1/0:M(this.maxWidth),maxHeight:x(this.maxHeight)?1/0:M(this.maxHeight)});if(t=function(t){var e=t.areaRestrictions,n=t.sizeRestrictions,r=t.boundaries,i=t.positionRestrictions,o=_(_({},n),{minWidth:void 0!==n.minWidth?n.minWidth:0,minHeight:void 0!==n.minHeight?n.minHeight:0,maxWidth:void 0!==n.maxWidth?n.maxWidth:1/0,maxHeight:void 0!==n.maxHeight?n.maxHeight:1/0});void 0!==i.left&&void 0!==i.right&&(o.maxWidth=Math.min(o.maxWidth,i.right-i.left)),void 0!==i.bottom&&void 0!==i.top&&(o.maxHeight=Math.min(o.maxHeight,i.bottom-i.top));var a=lt(e),s=rt(r,a);return a.width<1/0&&(!o.maxWidth||o.maxWidth>s.width)&&(o.maxWidth=Math.min(o.maxWidth,s.width)),a.height<1/0&&(!o.maxHeight||o.maxHeight>s.height)&&(o.maxHeight=Math.min(o.maxHeight,s.height)),o.minWidth>o.maxWidth&&(o.minWidth=o.maxWidth,o.widthFrozen=!0),o.minHeight>o.maxHeight&&(o.minHeight=o.maxHeight,o.heightFrozen=!0),o}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),n=lt(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,n.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,n.height*e.height/this.boundaries.height),t.maxWidth<t.minWidth&&(t.minWidth=t.maxWidth),t.maxHeight<t.minHeight&&(t.minHeight=t.maxHeight)}return t}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:te(),image:h(te("image"),this.imageClass),stencil:te("stencil"),boundaries:h(te("boundaries"),this.boundariesClass),stretcher:h(te("stretcher")),background:h(te("background"),this.backgroundClass),foreground:h(te("foreground"),this.foregroundClass),imageWrapper:h(te("image-wrapper")),cropperWrapper:h(te("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var t=this.coordinates,e=t.width,n=t.height,r=t.left,i=t.top;return{width:e/this.coefficient,height:n/this.coefficient,left:(r-this.visibleArea.left)/this.coefficient,top:(i-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var t={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(t.opacity="0"),t},imageStyle:function(){var t=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e=(t.width-this.imageSize.width)/(2*this.coefficient),n=(t.height-this.imageSize.height)/(2*this.coefficient),r=(1-1/this.coefficient)*t.width/2,i=(1-1/this.coefficient)*t.height/2,a=o(o({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),s={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e-r-this.imageTransforms.translateX,"px, ").concat(-n-i-this.imageTransforms.translateY,"px)")+Nt(a)};return this.transitionsOptions.enabled&&(s.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),s}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick((function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(n){return t[n]!==e[n]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=m(this.update,this.debounce),this.debouncedDisableTransitions=m(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},destroyed:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(o({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:o({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var n=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?o({},this.visibleArea):null,imageTransforms:e,get canvas(){return n.canvas?n.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?o({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.transitions,i=void 0===r||r;this.onManipulateImage(new L({},{factor:1/t,center:e}),{normalize:!1,transitions:i})},move:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.transitions,i=void 0===r||r;this.onManipulateImage(new L({left:t||0,top:e||0}),{normalize:!1,transitions:i})},setCoordinates:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.autoZoom,i=void 0===r||r,o=n.transitions,a=void 0===o||o;this.$nextTick((function(){e.imageLoaded?(e.transitionsActive||(a&&e.enableTransitions(),e.coordinates=e.applyTransform(t),i&&e.runAutoZoom("setCoordinates"),a&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t}))},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then((function(){t.onChange()})):this.resetVisibleArea().then((function(){t.onChange()}))},reset:function(){var t=this;return this.resetVisibleArea().then((function(){t.onChange(!1)}))},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){t(),e.awaiting=!1})))},prepareResult:function(t){return this.roundResult?function(t){var e=t.coordinates,n=t.sizeRestrictions,r=t.positionRestrictions,i={width:Math.round(e.width),height:Math.round(e.height),left:Math.round(e.left),top:Math.round(e.top)};return i.width>n.maxWidth?i.width=Math.floor(e.width):i.width<n.minWidth&&(i.width=Math.ceil(e.width)),i.height>n.maxHeight?i.height=Math.floor(e.height):i.height<n.minHeight&&(i.height=Math.ceil(e.height)),st(i,r)}(o(o({},this.getPublicProperties()),{},{positionRestrictions:wt(this.positionRestrictions,this.visibleArea),coordinates:t})):t},processAutoZoom:function(t,e,n,r){var i=this.autoZoomAlgorithm;i||(i=this.stencilSize?vt:this.autoZoom?gt:yt);var a=i({event:{type:t,params:r},visibleArea:e,coordinates:n,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return o(o({},a),{},{changed:!H(a.visibleArea,e)||!H(a.coordinates,n)})},runAutoZoom:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transitions,r=void 0!==n&&n,i=s(e,Qt),o=this.processAutoZoom(t,this.visibleArea,this.coordinates,i),a=o.visibleArea,l=o.coordinates,c=o.changed;r&&c&&this.enableTransitions(),this.visibleArea=a,this.coordinates=l,r&&c&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(t){var e=t.event,n=t.visibleArea,r=t.coefficient;if("manipulateImage"===e.type)return _(_({},e),{move:{left:e.move&&e.move.left?r*e.move.left:0,top:e.move&&e.move.top?r*e.move.top:0},scale:{factor:e.scale&&e.scale.factor?e.scale.factor:1,center:e.scale&&e.scale.center?{left:e.scale.center.left*r+n.left,top:e.scale.center.top*r+n.top}:null}});if("resize"===e.type){var i=_(_({},e),{directions:_({},e.directions)});return R.forEach((function(t){i.directions[t]*=r})),i}if("move"===e.type){var o=_(_({},e),{directions:_({},e.directions)});return N.forEach((function(t){o.directions[t]*=r})),o}return e}(o(o({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,n=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(t,e,n){var r=n.rotate,i=n.flip,o={width:e.naturalWidth,height:e.naturalHeight},a=it(o,r),s=t.getContext("2d");t.height=a.height,t.width=a.width,s.save();var l=ot(W(_({left:0,top:0},o)),r);return s.translate(-(l.left-a.width/2),-(l.top-a.height/2)),s.rotate(r*Math.PI/180),s.translate(i.horizontal?o.width:0,i.vertical?o.height:0),s.scale(i.horizontal?-1:1,i.vertical?-1:1),s.drawImage(e,0,0,o.width,o.height),s.restore(),t}(this.$refs.sourceCanvas,e,this.imageTransforms):e,r=o({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),i=function(t){return t.find((function(t){return e=t,!Number.isNaN(parseFloat(e))&&isFinite(e);var e}))},a=pt({sizeRestrictions:{minWidth:i([r.width,r.minWidth])||0,minHeight:i([r.height,r.minHeight])||0,maxWidth:i([r.width,r.maxWidth])||1/0,maxHeight:i([r.height,r.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(r.maxArea&&a.width*a.height>r.maxArea){var s=Math.sqrt(r.maxArea/(a.width*a.height));a={width:Math.round(s*a.width),height:Math.round(s*a.height)}}return function(t,e,n,r,i){t.width=r?r.width:n.width,t.height=r?r.height:n.height;var o=t.getContext("2d");o.clearRect(0,0,t.width,t.height),i&&(i.imageSmoothingEnabled&&(o.imageSmoothingEnabled=i.imageSmoothingEnabled),i.imageSmoothingQuality&&(o.imageSmoothingQuality=i.imageSmoothingQuality),i.fillColor&&(o.fillStyle=i.fillColor,o.fillRect(0,0,t.width,t.height),o.save()));var a=n.left<0?-n.left:0,s=n.top<0?-n.top:0;o.drawImage(e,n.left+a,n.top+s,n.width,n.height,a,s,t.width,t.height)}(t,n,this.coordinates,a,r),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.visibleArea&&e?ct(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,r=this.visibleArea&&e?wt(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return _t({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:n,positionRestrictions:r,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?xt:bt);var n=this.sizeRestrictions;n.minWidth,n.minHeight,n.maxWidth,n.maxHeight;var r=[b(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,function(e){var n=e.coordinates;return o({},b(t.defaultPosition)?t.defaultPosition({coordinates:n,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&r.push.apply(r,l(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(r,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout((function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,n=this.$refs.cropper;return this.initStretcher({cropper:n,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then((function(){var e={cropper:n,imageSize:t.imageSize};if(b(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(e):"fit"===t.defaultBoundaries?t.boundaries=function(t){var e=t.cropper,n=t.imageSize,r=e.clientHeight,i=e.clientWidth,o=r,a=n.width*r/n.height;return a>i&&(a=i,o=n.height*i/n.width),{width:a,height:o}}(e):t.boundaries=function(t){var e=t.cropper;return{width:e.clientWidth,height:e.clientHeight}}(e),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=o(o({},this.defaultImageTransforms),{},{flip:o({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){var e,n,r,i,o;"visible-area"!==t.priority&&(t.visibleArea=null,t.resetCoordinates()),t.visibleArea=b(t.defaultVisibleArea)?t.defaultVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:"visible-area"!==t.priority?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(n=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions}).boundaries,r=e.getAreaRestrictions,i=_({},e.visibleArea),o=Q(n),i.width/i.height!==o&&(i.height=i.width/o),st(i,r({visibleArea:i,type:"move"}))),"visible-area"===t.priority?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")})).catch((function(){t.visibleArea=null}))},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then((function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")})).catch((function(){t.visibleArea=null}))},onChange:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.$listeners&&this.$listeners.change&&(t&&this.debounce?this.debouncedUpdate():this.update())},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(t){if(y(t))return!1;var e=window.location,n=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(t)||[],r={protocol:n[1]||"",host:n[2]||"",port:n[3]||""},i=function(t){return t.port||("http"===(t.protocol||e.protocol)?80:433)};return!(!r.protocol&&!r.host&&!r.port||Boolean(r.protocol&&r.protocol==e.protocol&&r.host&&r.host==e.host&&r.host&&i(r)==i(e)))}(this.src)){var n=x(this.crossOrigin)?this.canvas:this.crossOrigin;!0===n&&(n="anonymous"),this.imageAttributes.crossOrigin=n}if(this.checkOrientation){var r=(t=this.src,new Promise((function(e){(function(t){return new Promise((function(e,n){try{if(t)if(/^data:/i.test(t))e(function(t){t=t.replace(/^data:([^;]+);base64,/gim,"");for(var e=atob(t),n=e.length,r=new ArrayBuffer(n),i=new Uint8Array(r),o=0;o<n;o++)i[o]=e.charCodeAt(o);return r}(t));else if(/^blob:/i.test(t)){var r=new FileReader;r.onload=function(t){e(t.target.result)},o=t,a=function(t){r.readAsArrayBuffer(t)},(s=new XMLHttpRequest).open("GET",o,!0),s.responseType="blob",s.onload=function(){200!=this.status&&0!==this.status||a(this.response)},s.send()}else{var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&(200===i.status||0===i.status?e(i.response):n("Warning: could not load an image to parse its orientation"),i=null)},i.onprogress=function(){"image/jpeg"!==i.getResponseHeader("content-type")&&i.abort()},i.withCredentials=!1,i.open("GET",t,!0),i.responseType="arraybuffer",i.send(null)}else n("Error: the image is empty")}catch(t){n(t)}var o,a,s}))})(t).then((function(n){var r=function(t){try{var e,n=new DataView(t),r=void 0,i=void 0,o=void 0,a=void 0;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var s=n.byteLength,l=2;l+1<s;){if(255===n.getUint8(l)&&225===n.getUint8(l+1)){o=l;break}l++}if(o&&(r=o+10,"Exif"===function(t,e,n){var r,i="";for(r=e,n+=e;r<n;r++)i+=String.fromCharCode(t.getUint8(r));return i}(n,o+4,4))){var c=n.getUint16(r);if(((i=18761===c)||19789===c)&&42===n.getUint16(r+2,i)){var u=n.getUint32(r+4,i);u>=8&&(a=r+u)}}if(a)for(var d=n.getUint16(a,i),h=0;h<d;h++)if(l=a+12*h+2,274===n.getUint16(l,i)){l+=8,e=n.getUint16(l,i),n.setUint16(l,1,i);break}return e}catch(t){return null}}(n);e(n?{source:t,arrayBuffer:n,orientation:r}:{source:t,arrayBuffer:null,orientation:null})})).catch((function(n){console.warn(n),e({source:t,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){r.then(e.onParseImage)}),this.transitionTime)}else setTimeout((function(){e.onParseImage({source:e.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){t.$emit("ready"),t.onChange(!1)})))},onParseImage:function(t){var e=this,n=t.source,r=t.arrayBuffer,i=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,r&&i&&i>1?g(n)||!y(n)?(this.imageAttributes.src=URL.createObjectURL(new Blob([r])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(t){for(var e=[],n=new Uint8Array(t);n.length>0;){var r=n.subarray(0,8192);e.push(String.fromCharCode.apply(null,Array.from?Array.from(r):r.slice())),n=n.subarray(8192)}return"data:image/jpeg;base64,"+btoa(e.join(""))}(r):this.imageAttributes.src=n,b(this.defaultTransforms)?this.appliedImageTransforms=Bt(this.defaultTransforms()):w(this.defaultTransforms)?this.appliedImageTransforms=Bt(this.defaultTransforms):this.appliedImageTransforms=function(t){var e=Bt({});if(t)switch(t){case 2:e.flip.horizontal=!0;break;case 3:e.rotate=-180;break;case 4:e.flip.vertical=!0;break;case 5:e.rotate=90,e.flip.vertical=!0;break;case 6:e.rotate=90;break;case 7:e.rotate=90,e.flip.horizontal=!0;break;case 8:e.rotate=-90}return e}(i),this.defaultImageTransforms=o(o({},this.appliedImageTransforms),{},{flip:o({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var t=e.$refs.image;t&&t.complete&&(function(t){return Boolean(t.naturalWidth)}(t)?e.onSuccessLoadImage():e.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender((function(){e.coordinates=e.moveAlgorithm(o(o({},e.getPublicProperties()),{},{positionRestrictions:wt(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()}))},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var n=e.sizeRestrictions,r=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(o(o({},e.getPublicProperties()),{},{positionRestrictions:wt(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(n.maxWidth,e.visibleArea.width),maxHeight:Math.min(n.maxHeight,e.visibleArea.height),minWidth:Math.max(n.minWidth,r),minHeight:Math.max(n.minHeight,r)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1}))},onManipulateImage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var n=e.transitions,r=void 0!==n&&n,i=e.normalize,a=void 0===i||i;r&&this.enableTransitions();var s=kt(o(o({},this.getPublicProperties()),{},{event:a?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=s.visibleArea,c=s.coordinates;this.visibleArea=l,this.coordinates=c,this.runAutoZoom("manipulateImage"),this.onChange(),r&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.visibleArea,n=t.type,r=void 0===n?"move":n;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:r})},getAspectRatio:function(t){var e,n,r=this.stencilProps,i=r.aspectRatio,o=r.minAspectRatio,a=r.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var s=this.$refs.stencil.aspectRatios();e=s.minimum,n=s.maximum}if(x(e)&&(e=x(i)?o:i),x(n)&&(n=x(i)?a:i),!t&&(x(e)||x(n))){var l=this.getStencilSize(),c=l?Q(l):null;x(e)&&(e=C(c)?c:void 0),x(n)&&(n=C(c)?c:void 0)}return{minimum:e,maximum:n}},getStencilSize:function(){if(this.stencilSize)return e=(t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height}
2,stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)}).boundaries,r=t.aspectRatio,nt(Q(i=b(n=t.stencilSize)?n({boundaries:e,aspectRatio:r}):n),r)&&(i=pt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:i.width,height:i.height,aspectRatio:{minimum:r.minimum,maximum:r.maximum}})),(i.width>e.width||i.height>e.height)&&(i=pt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:i.width,height:i.height,aspectRatio:{minimum:Q(i),maximum:Q(i)}})),i;var t,e,n,r,i},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return o({},Z)},flip:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.transitions,i=void 0===r||r;if(!this.transitionsActive){i&&this.enableTransitions();var a=o({},this.imageTransforms.flip),s=Ct({flip:{horizontal:t?!a.horizontal:a.horizontal,vertical:e?!a.vertical:a.vertical},previousFlip:a,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=s.visibleArea,c=s.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=c,this.onChange(),i&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transitions,r=void 0===n||n;if(!this.transitionsActive){r&&this.enableTransitions();var i=o({},this.imageSize);this.appliedImageTransforms.rotate+=t;var a=Mt({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:i,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),s=a.visibleArea,l=a.coordinates,c=this.processAutoZoom("rotateImage",s,l);s=c.visibleArea,l=c.coordinates,this.visibleArea=s,this.coordinates=l,this.onChange(),r&&this.debouncedDisableTransitions()}}}},ne=O({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"cropper",class:t.classes.cropper},[n("div",{ref:"stretcher",class:t.classes.stretcher}),t._v(" "),n("div",{class:t.classes.boundaries,style:t.boundariesStyle},[n(t.backgroundWrapperComponent,{tag:"component",class:t.classes.cropperWrapper,attrs:{"wheel-resize":t.settings.resizeImage.wheel,"touch-resize":t.settings.resizeImage.touch,"touch-move":t.settings.moveImage.touch,"mouse-move":t.settings.moveImage.mouse},on:{move:t.onManipulateImage,resize:t.onManipulateImage}},[n("div",{class:t.classes.background,style:t.boundariesStyle}),t._v(" "),n("div",{class:t.classes.imageWrapper},[n("img",{ref:"image",class:t.classes.image,style:t.imageStyle,attrs:{crossorigin:t.imageAttributes.crossOrigin,src:t.imageAttributes.src},on:{mousedown:function(t){t.preventDefault()}}})]),t._v(" "),n("div",{class:t.classes.foreground,style:t.boundariesStyle}),t._v(" "),n(t.stencilComponent,t._b({directives:[{name:"show",rawName:"v-show",value:t.imageLoaded,expression:"imageLoaded"}],ref:"stencil",tag:"component",attrs:{image:t.image,coordinates:t.coordinates,"stencil-coordinates":t.stencilCoordinates,transitions:t.transitionsOptions},on:{resize:t.onResize,"resize-end":t.onResizeEnd,move:t.onMove,"move-end":t.onMoveEnd}},"component",t.stencilProps,!1)),t._v(" "),t.canvas?n("canvas",{ref:"canvas",style:{display:"none"}}):t._e(),t._v(" "),t.canvas?n("canvas",{ref:"sourceCanvas",style:{display:"none"}}):t._e()],1)],1)])},staticRenderFns:[]},void 0,ee,void 0,!1,void 0,!1,void 0,void 0,void 0);r.default.component("cropper",ne),r.default.component("rectangle-stencil",Xt),r.default.component("circle-stencil",Kt),r.default.component("simple-handler",At),r.default.component("simple-line",zt)},87557:function(t){var e;"undefined"!=typeof self&&self,e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
vendor: 4,082 bytes, line 2
2),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r={};r[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("a04b"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=s(e),c)try{return u(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},"0b42":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622")("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?r(e)&&null===(e=e[o])&&(e=void 0):e=void 0),void 0===e?Array:e}},"0cb2":function(t,e,n){var r=n("7b0b"),i=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var d=n+t.length,h=l.length,f=s;return void 0!==c&&(c=r(c),f=a),o.call(u,f,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":a=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>h){var u=i(s/10);return 0===u?r:u<=h?void 0===l[u-1]?o.charAt(1):l[u-1]+o.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"107c":function(t,e,n){var r=n("d039"),i=n("da84").RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");t.exports=function(t,e){var n,u,d,h,f,p=t.target,m=t.global,_=t.stat;if(n=m?r:_?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in e){if(h=e[u],d=t.noTargetGet?(f=i(n,u))&&f.value:n[u],!c(m?u:p+(_?".":"#")+u,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,u,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("577e"),a=n("d039"),s=n("ad6d"),l="toString",c=RegExp.prototype,u=c.toString,d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=l;(d||h)&&r(RegExp.prototype,l,(function(){var t=i(this),e=o(t.source),n=t.flags;return"/"+e+"/"+o(void 0===n&&t instanceof RegExp&&!("flags"in c)?s.call(t):n)}),{unsafe:!0})},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?i=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>
2=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"466d":function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("50c4"),a=n("577e"),s=n("1d80"),l=n("8aa5"),c=n("14c3");r("match",(function(t,e,n){return[function(e){var n=s(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](a(n))},function(t){var r=i(this),s=a(t),u=n(e,r,s);if(u.done)return u.value;if(!r.global)return c(r,s);var d=r.unicode;r.lastIndex=0;for(var h,f=[],p=0;null!==(h=c(r,s));){var m=a(h[0]);f[p]=m,""===m&&(r.lastIndex=l(s,o(r.lastIndex),d)),p++}return 0===p?null:f}]}))},"485a":function(t,e,n){var r=n("861d");t.exports=function(t,e){var n,i;if("string"===e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e,n){var r=n("7b0b"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(r(t),e)}},5319:function(t,e,n){"use strict";var r=n("d784"),i=n("d039"),o=n("825a"),a=n("a691"),s=n("50c4"),l=n("577e"),c=n("1d80"),u=n("8aa5"),d=n("0cb2"),h=n("14c3"),f=n("b622")("replace"),p=Math.max,m=Math.min,_="$0"==="a".replace(/./,"$0"),v=!!/./[f]&&""===/./[f]("a","$0");r("replace",(function(t,e,n){var r=v?"$":"$0";return[function(t,n){var r=c(this),i=null==t?void 0:t[f];return void 0!==i?i.call(t,r,n):e.call(l(r),t,n)},function(t,i){var c=o(this),f=l(t);if("string"==typeof i&&-1===i.indexOf(r)&&-1===i.indexOf("$<")){var _=n(e,c,f,i
2);if(_.done)return _.value}var v="function"==typeof i;v||(i=l(i));var g=c.global;if(g){var y=c.unicode;c.lastIndex=0}for(var b=[];;){var x=h(c,f);if(null===x)break;if(b.push(x),!g)break;""===l(x[0])&&(c.lastIndex=u(f,s(c.lastIndex),y))}for(var w,k="",M=0,C=0;C<b.length;C++){x=b[C];for(var S=l(x[0]),T=p(m(a(x.index),f.length),0),L=[],E=1;E<x.length;E++)L.push(void 0===(w=x[E])?w:String(w));var A=x.groups;if(v){var D=[S].concat(L,T,f);void 0!==A&&D.push(A);var O=l(i.apply(void 0,D))}else O=d(S,f,T,L,A,i);T>=M&&(k+=f.slice(M,T)+O,M=T+S.length)}return k+f.slice(M)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_||v)},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},"577e":function(t,e,n){var r=n("d9b5");t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,n){var r=n("a691"),i=n("577e"),o=n("1d80"),a=function(t){return function(e,n){var a,s,l=i(o(e)),c=r(n),u=l.length;return c<0||c>=u?t?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?t?l.charAt(c):a:t?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("c6cd"),h=n("f772"),f=n("d012"),p="Object already initialized",m=s.WeakMap;if(a||d.state){var _=d.state||(d.state=new m),v=_.get,g=_.has,y=_.set;r=function(t,e){if(g.call(_,t))throw new TypeError(p);return e.facade=t,y.call(_,t,e),e},i=function(t){return v.call(_,t)||{}},o=function(t){return g.call(_,t)}}else{var b=h("state");f[b]=!0,r=function(t,e){if(u(t,b))throw new TypeError(p);return e.facade=t,c(t,b,e),e},i=function(t){return u(t,b)?t[b]:{}},o=function(t){return u(t,b)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var l,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(l=u(n)).source||(l.source=d.join("string"==typeof e?e:""))),t!==r?(c?!f&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=u("IE_PROTO"),h=function(){},f=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;m="undefined"!=typeof document?document.domain&&r?p(r):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):p(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};
2s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=i(t),n=new h,h.prototype=null,n[d]=t):n=m(),void 0===e?n:o(n,e)}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("a04b"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8875:function(t,e,n){var r,i,o;"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var t,e,n,r=/@([^@]*):(\d+):(\d+)\s*$/gi,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(u.stack)||r.exec(u.stack),o=i&&i[1]||!1,a=i&&i[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");o===s&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=t.replace(e,"$1").trim());for(var c=0;c<l.length;c++){if("interactive"===l[c].readyState)return l[c];if(l[c].src===o)return l[c];if(o===s&&l[c].innerHTML&&l[c].innerHTML.trim()===n)return l[c]}return null}}return t})?r.apply(e,i):r)||(t.exports=o)},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r,i,o=n("577e"),a=n("ad6d"),s=n("9f7f"),l=n("5692"),c=n("7c73"),u=n("69f3").get,d=n("fce3"),h=n("107c"),f=RegExp.prototype.exec,p=l("native-string-replace",String.prototype.replace),m=f,_=(r=/a/,i=/b*/g,f.call(r,"a"),f.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),v=s.UNSUPPORTED_Y||s.BROKEN_CARET,g=void 0!==/()??/.exec("")[1];(_||g||v||d||h)&&(m=function(t){var e,n,r,i,s,l,d,h=this,y=u(h),b=o(t),x=y.raw;if(x)return x.lastIndex=h.lastIndex,e=m.call(x,b),h.lastIndex=x.lastIndex,e;var w=y.groups,k=v&&h.sticky,M=a.call(h),C=h.source,S=0,T=b;if(k&&(-1===(M=M.replace("y","")).indexOf("g")&&(M+="g"),T=b.slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==b.charAt(h.lastIndex-1))&&(C="(?: "+C+")",T=" "+T,S++),n=new RegExp("^(?:"+C+")",M)),g&&(n=new RegExp("^"+C+"$(?!\\s)",M)),_&&(r=h.lastIndex),i=f.call(k?n:h,T),k?i?(i.input=i.input.slice(S),i[0]=i[0].slice(S),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:_&&i&&(h.lastIndex=h.global?i.index+i[0].length:r),g&&i&&i.length>1&&p.call(i[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i&&w)for(i.groups=l=c(null),s=0;s<w.length;s++)l[(d=w[s])[0]]=i[d[1]];return i}),t.exports=m},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("a04b"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9f7f":function(t,e,n){var r=n("d039"),i=n("da84").RegExp;e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a04b:function(t,e,n){var r=n("c04e"),i=n("d9b5");t.exports=function(t){var e=r(t,"string");return i(e)?e:String(e)}},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde")("splice"),d=Math.max,h=Math.min,f=9007199254740991,p="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!u},{splice:function(t,e){var n,r,u,m,_,v,g=s(this),y=a(g.length),b=i(t,y),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=y-b):(n=x-2,r=h(d(o(e),0),y-b)),y+n-r>f)throw TypeError(p);for(u=l(g,r),m=0;m<r;m++)(_=b+m)in g&&c(u,m,g[_]);if(u.length=r,n<r){for(m=b;m<y-r;m++)v=m+n,(_=m+r)in g?g[v]=g[_]:delete g[v];for(m=y;m>y-r+n;m--)delete g[m-1]}else if(n>r)for(m=y-r;m>b;m--)v=m+n-1,(_=m+r-1)in g?g[v]=g[_]:delete g[v];for(m=0;m<n;m++)g[m+b]=arguments[m+2];return g.length=y-r+n,u}})},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;t.exports=function(t){return o(c,t)&&(s||"string"==typeof c[t])||(s&&o(u,t)?c[t]=u[t]:c[t]=d("Symbol."+t)),c[t]}},c04e:function(t,e,n){var r=n("861d"),i=n("d9b5"),o=n("485a"),a=n("b622")("toPrimitive");t.exports=function(t,e){if(!r(t)||i(t))return t;var n,s=t[a];if(void 0!==s){if(void 0===e&&(e="default"),n=s.call(t,e),!r(n)||i(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>l;
2)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84");t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,n){var r=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("9263"),o=n("d039"),a=n("b622"),s=n("9112"),l=a("species"),c=RegExp.prototype;t.exports=function(t,e,n,u){var d=a(t),h=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=h&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!h||!f||n){var p=/./[d],m=e(d,""[t],(function(t,e,n,r,o){var a=e.exec;return a===i||a===c.exec?h&&!o?{done:!0,value:p.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,m[0]),r(c,d,m[1])}u&&s(c[d],"sham",!0)}},d9b5:function(t,e,n){var r=n("d066"),i=n("fdbf");t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=i(e),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||s(t,u,l(e,u))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}n("d3b7"),n("25f0"),n("ac1f"),n("466d"),n("5319"),n("a434");var a={install:function(t){var e,n,r=window.navigator.userAgent,i={};i.isOpera=!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,i.isEdge=/Edg/.test(navigator.userAgent),i.isFirefox=/Firefox/.test(navigator.userAgent),i.isSafari=/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||safari.pushNotification).toString(),i.isIE=!!document.documentMode,i.isChrome=/Google Inc/.test(navigator.vendor)&&!i.isEdge,i.isChromeIOS=/CriOS/.test(navigator.userAgent),i.isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,i.isBrave=void 0!==navigator.brave,i.meta=(n=r.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(n[1])?{name:"IE",version:(e=/\brv[ :]+(\d+)/g.exec(r)||[])[1]||""}:"Chrome"===n[1]&&null!=(e=r.match(/\b(OPR|Edge)\/(\d+)/))?{name:e[1].replace("OPR","Opera"),version:e[2]}
2:(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=r.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),{name:n[0],version:n[1]})),i.meta.ua=r,t.prototype.$browserDetect=i}},s=a;"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),e.default=s},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fce3:function(t,e,n){var r=n("d039"),i=n("da84").RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})},t.exports=e()},91714:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e={props:{images:{type:Array,required:!0},index:{type:Number,required:!1,default:null}},data:function(){return{imgIndex:this.index,image:null,galleryXPos:0,thumbnailWidth:120}},computed:{imageUrl:function(){var t=this.images[this.imgIndex];return"string"==typeof t?t:t.url},alt:function(){var e=this.images[this.imgIndex];return"object"===t(e)?e.alt:""},isMultiple:function(){return this.images.length>1}},watch:{index:function(t,e){var n=this;this.imgIndex=t,null==e&&null!=t&&this.$nextTick((function(){n.updateThumbails()}))}},mounted:function(){var t=this;window.addEventListener("keydown",(function(e){37===e.keyCode?t.onPrev():39===e.keyCode?t.onNext():27===e.keyCode&&t.close()}))},methods:{close:function(){var t={imgIndex:this.imgIndex};this.imgIndex=null,this.$emit("close",t)},onPrev:function(){null!==this.imgIndex&&(this.imgIndex>0?this.imgIndex--:this.imgIndex=this.images.length-1,this.updateThumbails())},onNext:function(){null!==this.imgIndex&&(this.imgIndex<this.images.length-1?this.imgIndex++:this.imgIndex=0,this.updateThumbails())},onClickThumb:function(t,e){this.imgIndex=e,this.updateThumbails()},updateThumbails:function(){if(this.$refs.gallery){var t=this.$refs.gallery.clientWidth,e=this.imgIndex*this.thumbnailWidth,n=this.images.length*this.thumbnailWidth,r=Math.floor(t/(2*this.thumbnailWidth))*this.thumbnailWidth;n<t||(e<r?this.galleryXPos=0:e>this.images.length*this.thumbnailWidth-t+r?this.galleryXPos=-(this.images.length*this.thumbnailWidth-t-20):this.galleryXPos=-this.imgIndex*this.thumbnailWidth+r)}}}};function n(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);const u="function"==typeof n?n.options:n;let d;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=d):e&&(d=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),d)if(u.functional){const t=u.render;u.render=function(e,n){return d.call(n),t(e,n)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,d):[d]}return n}const r="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function i(t){return(t,e)=>s(t,e)}let o;const a={};function s(t,e){const n=r?e.media||"default":t,i=a[n]||(a[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===o&&(o=document.head||document.getElementsByTagName("head")[0]),o.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(n),r=i.element.childNodes;
2r[t]&&i.element.removeChild(r[t]),r.length?i.element.insertBefore(e,r[t]):i.element.appendChild(e)}}}const l=void 0,c=void 0;return n({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"modal"}},[null!==t.imgIndex?n("div",{staticClass:"vgs",on:{click:t.close}},[n("button",{staticClass:"vgs__close",attrs:{type:"button"},on:{click:t.close}},[t._v("\n      ×\n    ")]),t._v(" "),t.isMultiple?n("button",{staticClass:"vgs__prev",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.onPrev(e)}}},[t._v("\n      ‹\n    ")]):t._e(),t._v(" "),t.images?n("div",{staticClass:"vgs__container",on:{click:function(e){return e.stopPropagation(),t.onNext(e)}}},[n("img",{staticClass:"vgs__container__img",attrs:{src:t.imageUrl,alt:t.alt},on:{click:function(e){return e.stopPropagation(),t.onNext(e)}}}),t._v(" "),t._t("default")],2):t._e(),t._v(" "),t.isMultiple?n("button",{staticClass:"vgs__next",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.onNext(e)}}},[t._v("\n      ›\n    ")]):t._e(),t._v(" "),t.isMultiple?n("div",{ref:"gallery",staticClass:"vgs__gallery"},[t.images?n("div",{staticClass:"vgs__gallery__title"},[t._v("\n        "+t._s(t.imgIndex+1)+" / "+t._s(t.images.length)+"\n      ")]):t._e(),t._v(" "),t.images?n("div",{staticClass:"vgs__gallery__container",style:{transform:"translate("+t.galleryXPos+"px, 0)"}},t._l(t.images,(function(e,r){return n("img",{key:r,staticClass:"vgs__gallery__container__img",class:{"vgs__gallery__container__img--active":r===t.imgIndex},attrs:{src:"string"==typeof e?e:e.url,alt:"string"==typeof e?"":e.alt},on:{click:function(n){return n.stopPropagation(),t.onClickThumb(e,r)}}})})),0):t._e()]):t._e()]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-e9cc33d2_0",{source:".vgs{transition:opacity .2s ease;position:fixed;z-index:9998;top:0;left:0;width:100%;min-height:100%;height:100vh;background-color:rgba(0,0,0,.8);display:table}.vgs__close{color:#fff;position:absolute;top:0;right:0;background-color:transparent;border:none;font-size:25px;width:50px;height:50px;cursor:pointer;z-index:999}.vgs__close:focus{outline:0}.vgs__next,.vgs__prev{position:absolute;top:50%;margin-top:-25px;width:50px;height:50px;z-index:999;cursor:pointer;font-size:40px;color:#fff;background-color:transparent;border:none}.vgs__next:focus,.vgs__prev:focus{outline:0}.vgs__prev{left:0}.vgs__next{right:0}.vgs__container{position:absolute;overflow:hidden;cursor:pointer;overflow:hidden;max-width:100vh;margin:.5rem auto 0;left:.5rem;right:.5rem;height:60vh;border-radius:12px;background-color:#000}@media (max-width:767px){.vgs__container{width:100%;max-width:100%;top:50%;margin-top:-140px;left:0;right:0;border-radius:0;height:280px}}.vgs__container__img{width:100%;height:100%;object-fit:contain}.vgs__gallery{overflow-x:hidden;overflow-y:hidden;position:absolute;bottom:10px;margin:auto;max-width:100vh;white-space:nowrap;left:.5rem;right:.5rem}@media (max-width:767px){.vgs__gallery{display:none}}.vgs__gallery__title{color:#fff;margin-bottom:.5rem}.vgs__gallery__container{overflow:visible;display:block;height:100px;white-space:nowrap;transition:all .2s ease-in-out;width:100%}.vgs__gallery__container__img{width:100px;height:100px;object-fit:cover;display:inline-block;float:none;margin-right:20px;cursor:pointer;opacity:.6;border-radius:8px}.vgs__gallery__container__img--active{width:100px;display:inline-block;float:none;opacity:1}.modal-enter{opacity:0}.modal-leave-active{opacity:0}",map:void 0,media:void 0})}),e,l,!1,c,!1,i,void 0,void 0)}()},55009:t=>{t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r={};r[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}
2},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),l=n("9bdd"),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,u,d){var h,f,p,m,_,v,g,y=a(e,n,u?2:1);if(d)h=t;else{if("function"!=typeof(f=s(t)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,m=o(t.length);m>p;p++)if((_=u?y(r(g=t[p])[0],g[1]):y(t[p]))&&_ instanceof c)return _;return new c(!1)}h=f.call(t)}for(v=h.next;!(g=v.call(h)).done;)if("object"==typeof(_=l(h,y,g.value,u))&&_&&_ instanceof c)return _;return new c(!1)}).stop=function(t){return new c(!0,t)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");t.exports=function(t,e){var n,u,d,h,f,p=t.target,m=t.global,_=t.stat;if(n=m?r:_?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in e){if(h=e[u],d=t.noTargetGet?(f=i(n,u))&&f.value:n[u],!c(m?u:p+(_?".":"#")+u,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,u,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"24fb":function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}var a,s,l;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",l=RegExp.prototype,c=l.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in l)?a.call(t):n)}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2726:function(t,e,n){var r=n("512f");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n("499e").default)("d4c64dc4",r,!0,{sourceMap:!1,shadowMode:!1})},"2cf4":function(t,e,n){var r,i,o,a=n("da84"),s=n("d039"),l=n("c6b6"),c=n("0366"),u=n("1be4"),d=n("cc12"),h=n("1cdc"),f=a.location,p=a.setImmediate,m=a.clearImmediate,_=a.process,v=a.MessageChannel,g=a.Dispatch,y=0,b={},x="onreadystatechange",w=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},k=function(t){return function(){w(t)}},M=function(t){w(t.data)},C=function(t){a.postMessage(t+"",f.protocol+"//"+f.host)};p&&m||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},m=function(t){delete b[t]},"process"==l(_)?r=function(t){_.nextTick(k(t))}:g&&g.now?r=function(t){g.now(k(t))}:v&&!h?(o=(i=new v).port2,i.port1.onmessage=M,r=c(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(C)?r=x in d("script")?function(t){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(k(t),0)}:(r=C,a.addEventListener("message",M,!1))),t.exports={set:p,clear:m}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,c=l&&l.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>
2=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=o[0],s={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,d=i||{};var a=r(t,e);return m(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i];(l=o[s.id]).refs--,n.push(l)}e?m(a=r(t,e)):a=[];for(i=0;i<n.length;i++){var l;if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;
2i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function _(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=_()),e=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=_(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var g,y=(g=[],function(t,e){return g[t]=e,g.filter(Boolean).join("\n")});function b(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function x(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"4d63":function(t,e,n){var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("7156"),s=n("9bf2").f,l=n("241c").f,c=n("44e7"),u=n("ad6d"),d=n("9f7f"),h=n("6eeb"),f=n("d039"),p=n("69f3").set,m=n("2626"),_=n("b622")("match"),v=i.RegExp,g=v.prototype,y=/a/g,b=/a/g,x=new v(y)!==y,w=d.UNSUPPORTED_Y;if(r&&o("RegExp",!x||w||f((function(){return b[_]=!1,v(y)!=y||v(b)==b||"/a/i"!=v(y,"i")})))){for(var k=function(t,e){var n,r=this instanceof k,i=c(t),o=void 0===e;if(!r&&i&&t.constructor===k&&o)return t;x?i&&!o&&(t=t.source):t instanceof k&&(o&&(e=u.call(t)),t=t.source),w&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var s=a(x?new v(t,e):v(t,e),r?this:g,k);return w&&n&&p(s,{sticky:n}),s},M=function(t){t in k||s(k,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},C=l(v),S=0;C.length>S;)M(C[S++]);g.constructor=k,k.prototype=g,h(i,"RegExp",k)}m("RegExp")},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),c=n("35a1");t.exports=function(t){var e,n,u,d,h,f,p=i(t),m="function"==typeof this?this:Array,_=arguments.length,v=_>1?arguments[1]:void 0,g=void 0!==v,y=c(p),b=0;if(g&&(v=r(v,_>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(e=s(p.length));e>b;b++)f=g?v(p[b],b):p[b],l(n,b,f);else for(h=(d=y.call(p)).next,n=new m;!(u=h.call(d)).done;b++)f=g?o(d,v,[u.value,b],!0):u.value,l(n,b,f);return n.length=b,n}},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"512f":function(t,e,n){(e=n("24fb")(!1)).push([t.i,'.vue-input-tag-wrapper{background-color:#fff;border:1px solid #ccc;overflow:hidden;padding-left:4px;padding-top:4px;cursor:text;text-align:left;-webkit-appearance:textfield;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.vue-input-tag-wrapper .input-tag{background-color:#cde69c;border-radius:2px;border:1px solid #a5d24a;color:#638421;display:inline-block;font-size:13px;font-weight:400;margin-bottom:4px;margin-right:4px;padding:3px}.vue-input-tag-wrapper .input-tag .remove{cursor:pointer;font-weight:700;color:#638421}.vue-input-tag-wrapper .input-tag .remove:hover{text-decoration:none}.vue-input-tag-wrapper .input-tag .remove:empty:before{content:" x"}.vue-input-tag-wrapper .new-tag{background:transparent;border:0;color:#777;font-size:13px;font-weight:400;margin-bottom:6px;margin-top:1px;outline:none;padding:4px;padding-left:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.vue-input-tag-wrapper.read-only{cursor:default}',""]),t.exports=e},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i="["+n("5899")+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("f772"),h=n("d012"),f=s.WeakMap;if(a){var p=new f,m=p.get,_=p.has,v=p.set;r=function(t,e){return v.call(p,t,e),e},i=function(t){return m.call(p,t)||{}},o=function(t){return _.call(p,t)}}else{var g=d("state");h[g]=!0,r=function(t,e){return c(t,g,e),e},i=function(t){return u(t,g)?t[g]:{}},o=function(t){return u(t,g)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),u(n).source=d.join("string"==typeof e?e:"")),t!==r?(l?!h&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:a(e,n
vendor: 1,318 bytes, line 2
2)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=u("IE_PROTO"),h=function(){},f=function(t){return"<script>"+t+"</"+"script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=r?function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};
2s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=i(t),n=new h,h.prototype=null,n[d]=t):n=p(),void 0===e?n:o(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),h=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,_=u("iterator"),v="keys",g="values",y="entries",b=function(){return this};t.exports=function(t,e,n,u,f,x,w){i(n,e,u);var k,M,C,S=function(t){if(t===f&&D)return D;if(!m&&t in E)return E[t];switch(t){case v:case g:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+" Iterator",L=!1,E=t.prototype,A=E[_]||E["@@iterator"]||f&&E[f],D=!m&&A||S(f),O="Array"==e&&E.entries||A;if(O&&(k=o(O.call(new t)),p!==Object.prototype&&k.next&&(d||o(k)===p||(a?a(k,p):"function"!=typeof k[_]&&l(k,_,b)),s(k,T,!0,!0),d&&(h[T]=b))),f==g&&A&&A.name!==g&&(L=!0,D=function(){return A.call(this)}),d&&!w||E[_]===D||l(E,_,D),h[e]=D,f)if(M={values:S(g),keys:x?D:S(v),entries:S(y)},w)for(C in M)(m||L||!(C in E))&&c(E,C,M[C]);else r({target:e,proto:!0,forced:m||L},M);return M}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8e26":function(t,e,n){"use strict";var r=n("2726");n.n(r).a},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r,i,o=n("ad6d"),a=n("9f7f"),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(u||h||d)&&(c=function(t){var e,n,r,i,a=this,c=d&&a.sticky,f=o.call(a),p=a.source,m=0,_=t;return c&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),_=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",_=" "+_,m++),n=new RegExp("^(?:"+p+")",f)),h&&(n=new RegExp("^"+p+"$(?!\\s)",f)),u&&(e=a.lastIndex),r=s.call(c?n:a,_),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&l.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=c},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"==typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=b;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={},_={};_[a]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v(D([])));g&&g!==r&&i.call(g,a)&&(_=g);var y=M.prototype=w.prototype=Object.create(_);k.prototype=y.constructor=M,M.constructor=k,M[l]=k.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,M):(t.__proto__=M,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(y),t},u.awrap=function(t){return{__await:t}},C(S.prototype),S.prototype[s]=function(){return this},u.AsyncIterator=S,u.async=function(t,e,n,r){var i=new S(b(t,e,n,r));return u.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},C(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEac
vendor: 7,004 bytes, line 2
2h(E),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function b(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=function(t,e,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=x(t,e,n);if("normal"===l.type){if(r=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function k(){}function M(){}function C(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function S(t){function e(n,r,o,a){var s=x(t[n],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(c).then((function(t){l.value=t,o(l)}),a)}a(s.arg)}var n;this._invoke=function(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}}function T(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,T(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=x(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,m;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function D(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},"9bdd":function(t,e,n){var r=n("825a");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,c,!1,!0),s[c]=l,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),d=n("ae40"),h=u("splice"),f=d("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,m=Math.min,_=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!h||!f},{splice:function(t,e){var n,r,u,d,h,f,g=s(this),y=a(g.length),b=i(t,y),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=y-b):(n=x-2,r=m(p(o(e),0),y-b)),y+n-r>_)throw TypeError(v);for(u=l(g,r),d=0;d<r;d++)(h=b+d)in g&&c(u,d,g[h]);if(u.length=r,n<r){for(d=b;d<y-r;d++)f=d+n,(h=d+r)in g?g[f]=g[h]:delete g[f];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>b;d--)f=d+n-1,(h=d+r-1)in g?g[f]=g[h]:delete g[f];for(d=0;d<n;d++)g[d+b]=arguments[d+2];return g.length=y-r+n,u}})},a4d3:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),h=n("e8b5"),f=n("861d"),p=n("825a"),m=n("7b0b"),_=n("fc6a"),v=n("c04e"),g=n("5c6c"),y=n("7c73"),b=n("df75"),x=n("241c"),w=n("057f"),k=n("7418"),M=n("06cf"),C=n("9bf2"),S=n("d1e7"),T=n("9112"),L=n("6eeb"),E=n("5692"),A=n("f772"),D=n("d012"),O=n("90e3"),z=n("b622"),P=n("e538"),j=n("746f"),I=n("d44e"),Y=n("69f3"),R=n("b727").forEach,F=A("hidden"),B="Symbol",N=z("toPrimitive"),$=Y.set,Z=Y.getterFor(B),H=Object.prototype,V=i.Symbol,U=o("JSON","stringify"),W=M.f,G=C.f,q=w.f,X=S.f,J=E("symbols"),K=E("op-symbol
2s"),Q=E("string-to-symbol-registry"),tt=E("symbol-to-string-registry"),et=E("wks"),nt=i.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,it=s&&u((function(){return 7!=y(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=W(H,e);r&&delete H[e],G(t,e,n),r&&t!==H&&G(H,e,r)}:G,ot=function(t,e){var n=J[t]=y(V.prototype);return $(n,{type:B,tag:t,description:e}),s||(n.description=e),n},at=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},st=function(t,e,n){t===H&&st(K,e,n),p(t);var r=v(e,!0);return p(n),d(J,r)?(n.enumerable?(d(t,F)&&t[F][r]&&(t[F][r]=!1),n=y(n,{enumerable:g(0,!1)})):(d(t,F)||G(t,F,g(1,{})),t[F][r]=!0),it(t,r,n)):G(t,r,n)},lt=function(t,e){p(t);var n=_(e),r=b(n).concat(ht(n));return R(r,(function(e){s&&!ct.call(n,e)||st(t,e,n[e])})),t},ct=function(t){var e=v(t,!0),n=X.call(this,e);return!(this===H&&d(J,e)&&!d(K,e))&&(!(n||!d(this,e)||!d(J,e)||d(this,F)&&this[F][e])||n)},ut=function(t,e){var n=_(t),r=v(e,!0);if(n!==H||!d(J,r)||d(K,r)){var i=W(n,r);return!i||!d(J,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},dt=function(t){var e=q(_(t)),n=[];return R(e,(function(t){d(J,t)||d(D,t)||n.push(t)})),n},ht=function(t){var e=t===H,n=q(e?K:_(t)),r=[];return R(n,(function(t){!d(J,t)||e&&!d(H,t)||r.push(J[t])})),r};(l||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=O(t),n=function(t){this===H&&n.call(K,t),d(this,F)&&d(this[F],e)&&(this[F][e]=!1),it(this,e,g(1,t))};return s&&rt&&it(H,e,{configurable:!0,set:n}),ot(e,t)},L(V.prototype,"toString",(function(){return Z(this).tag})),L(V,"withoutSetter",(function(t){return ot(O(t),t)})),S.f=ct,C.f=st,M.f=ut,x.f=w.f=dt,k.f=ht,P.f=function(t){return ot(z(t),t)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return Z(this).description}}),a||L(H,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),R(b(et),(function(t){j(t)})),r({target:B,stat:!0,forced:!l},{for:function(t){var e=String(t);if(d(Q,e))return Q[e];var n=V(e);return Q[e]=n,tt[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(d(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?y(t):lt(y(t),e)},defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:dt,getOwnPropertySymbols:ht}),r({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(m(t))}}),U)&&r({target:"JSON",stat:!0,forced:!l||u((function(){var t=V();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(f(e)||void 0!==t)&&!at(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),i[1]=e,U.apply(null,i)}});V.prototype[N]||T(V.prototype,N,V.prototype.valueOf),I(V,B),D[F]=!0},a630:function(t,e,n){var r=n("23e7"),i=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(t){Array.from(t)}))},{from:i})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),h=n("7c73"),f=n("241c").f,p=n("06cf").f,m=n("9bf2").f,_=n("58a8").trim,v="Number",g=i.Number,y=g.prototype,b=l(h(y))==v,x=function(t){var e,n,r,i,o,a,s,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=_(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;
vendor: 11,327 bytes, line 2
2s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+c};if(o(v,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,k=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof k&&(b?d((function(){y.valueOf.call(n)})):l(n)!=v)?c(new g(x(e)),n,k):x(e)},M=r?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;M.length>C;C++)s(g,w=M[C])&&!s(k,w)&&m(k,w,p(g,w));k.prototype=y,y.constructor=k,a(i,v,k)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("5135"),a=Object.defineProperty,s={},l=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[][t],c=!!o(e,"ACCESSORS")&&e.ACCESSORS,u=o(e,0)?e[0]:l,d=o(e,1)?e[1]:void 0;return s[t]=!!n&&!i((function(){if(c&&!r)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:l}):t[1]=1,n.call(t,u,d)}))}},ae93:function(t,e,n){"use strict";var r,i,o,a=n("e163"),s=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),d=c("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):h=!0),null==r&&(r={}),u||l(r,d)||s(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,i,o,a,s,l,c,u,d=n("da84"),h=n("06cf").f,f=n("c6b6"),p=n("2cf4").set,m=n("1cdc"),_=d.MutationObserver||d.WebKitMutationObserver,v=d.process,g=d.Promise,y="process"==f(v),b=h(d,"queueMicrotask"),x=b&&b.value;x||(r=function(){var t,e;for(y&&(t=v.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},y?a=function(){v.nextTick(r)}:_&&!m?(s=!0,l=document.createTextNode(""),new _(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):g&&g.resolve?(c=g.resolve(void 0),u=c.then,a=function(){u.call(c,r)}):a=function(){p.call(d,r)}),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;t.exports=function(t){return o(c,t)||(s&&o(u,t)?c[t]=u[t]:c[t]=d("Symbol."+t)),c[t]}},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,d=6==t,h=5==t||d;return function(f,p,m,_){for(var v,g,y=o(f),b=i(y),x=r(p,m,3),w=a(b.length),k=0,M=_||s,C=e?M(f,w):n?M(f,0):void 0;w>k;k++)if((h||k in b)&&(g=x(v=b[k],k,y),t))if(e)C[k]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return k;case 2:l.call(C,v)}else if(u)return!1;return d?-1:c||u?u:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c975:function(t,e,n){"use strict";var r=n("23e7"),i=n("4d64").indexOf,o=n("a640"),a=n("ae40"),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(t){return l?s.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cdf9:function(t,e,n){var r=n("825a"),i=n("861d"),o=n("f069");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,n){var r=n("428f"),i=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){n("746f")("iterator")},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,i=n("5135"),o=n("b622")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var d in i){var h=r[d],f=h&&h.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(t){f[l]=u}if(f[c]||a(f,c,d),i[d])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(t){f[p]=o[p]}}}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};c(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(u("test")),_=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(d,t))return"";var n=m?e.slice(7,-1):e.replace(_,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),l="Array Iterator",c=a.set,u=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){c(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},e6cf:function(t,e,n){"use strict";var r,i,o,a,s=n("23e7"),l=n("c430"),c=n("da84"),u=n("d066"),d=n("fea9"),h=n("6eeb"),f=n("e2cc"),p=n("d44e"),m=n("2626"),_=n("861d"),v=n("1c0b"),g=n("19aa"),y=n("c6b6"),b=n("8925"),x=n("2266"),w=n("1c7e"),k=n("4840"),M=n("2cf4").set,C=n("b575"),S=n("cdf9"),T=n("44de"),L=n("f069"),E=n("e667"),A=n("69f3"),D=n("94ca"),O=n("b622"),z=n("2d00"),P=O("species"),j="Promise",I=A.get,Y=A.set,R=A.getterFor(j),F=d,B=c.TypeError,N=c.document,$=c.process,Z=u("fetch"),H=L.f,V=H,U="process"==y($),W=!!(N&&N.createEvent&&c.dispatchEvent),G="unhandledrejection",q=D(j,(function(){if(!(b(F)!==String(F))){if(66===z)return!0;if(!U&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!F.prototype.finally)return!0;if(z>=51&&/native code/.test(F))return!1;var t=F.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[P]=e,!(t.then((function(){}))instanceof e)})),X=q||!w((function(t){F.all(t).catch((function(){}))})),J=function(t){var e;return!(!_(t)||"function"!=typeof(e=t.then))&&e},K=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;C((function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=o?u.ok:u.fail,h=u.resolve,f=u.reject,p=u.domain;try{d?(o||(2===e.rejection&&nt(t,e),e.rejection=1),!0===d?s=i:(p&&p.enter(),s=d(i),p&&(p.exit(),c=!0)),s===u.promise?f(B("Promise-chain cycle")):(l=J(s))?l.call(s,h,f):h(s)):f(i)}catch(t){p&&!c&&p.exit(),f(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Q=function(t,e,n){var r,i;W?((r=N.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(i=c["on"+t])?i(r):t===G&&T("Unhandled promise rejection",n)},tt=function(t,e){M.call(c,(function(){var n,r=e.value;if(et(e)&&(n=E((function(){U?$.emit("unhandledRejection",r,t):Q(G,t,r)})),e.rejection=U||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){M.call(c,(function(){U?$.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(i){t(e,n,i,r)}},it=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,K(t,e,!0))},ot=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);
2try{if(t===n)throw B("Promise can't be resolved itself");var i=J(n);i?C((function(){var r={done:!1};try{i.call(n,rt(ot,t,r,e),rt(it,t,r,e))}catch(n){it(t,r,n,e)}})):(e.value=n,e.state=1,K(t,e,!1))}catch(n){it(t,{done:!1},n,e)}}};q&&(F=function(t){g(this,F,j),v(t),r.call(this);var e=I(this);try{t(rt(ot,this,e),rt(it,this,e))}catch(t){it(this,e,t)}},(r=function(t){Y(this,{type:j,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(F.prototype,{then:function(t,e){var n=R(this),r=H(k(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=U?$.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=I(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(it,t,e)},L.f=H=function(t){return t===F||t===o?new i(t):V(t)},l||"function"!=typeof d||(a=d.prototype.then,h(d.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Z&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(F,Z.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:q},{Promise:F}),p(F,j,!1,!0),m(j),o=u(j),s({target:j,stat:!0,forced:q},{reject:function(t){var e=H(this);return e.reject.call(void 0,t),e.promise}}),s({target:j,stat:!0,forced:l||q},{resolve:function(t){return S(l&&this===o?F:this,t)}}),s({target:j,stat:!0,forced:X},{all:function(t){var e=this,n=H(e),r=n.resolve,i=n.reject,o=E((function(){var n=v(e.resolve),o=[],a=0,s=1;x(t,(function(t){var l=a++,c=!1;o.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,o[l]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=H(e),r=n.reject,i=E((function(){var i=v(e.resolve);x(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=i(e),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||s(t,u,l(e,u))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},f069:function(t,e,n){"use strict";var r=n("1c0b"),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!=typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("c975"),n("a434"),n("a9e3"),n("b64b"),n("4d63"),n("ac1f"),n("25f0"),n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n("96cf"),n("e6cf");function o(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n("a630");n("fb6a"),n("b0c0");function s(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l={email:new RegExp(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),url:new RegExp(/^(https?|ftp|rmtp|mms):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i),text:new RegExp(/^[a-zA-Z]+$/),digits:new RegExp(/^[\d() \.\:\-\+#]+$/),isodate:new RegExp(/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/)},c={name:"InputTag",props:{value:{type:Array,default:function(){return[]}},placeholder:{type:String,default:""},readOnly:{type:Boolean,default:!1},validate:{type:String|Function|Object,default:""},addTagOnKeys:{type:Array,default:function(){return[13,188,9]}},addTagOnBlur:{type:Boolean,default:!1},limit:{type:Number,default:-1},allowDuplicates:{type:Boolean,default:!1},beforeAdding:{type:Function}},data:function(){return{newTag:"",innerTags:s(this.value),isInputActive:!1}},computed:{isLimit:function(){return this.limit>0&&Number(this.limit)===this.innerTags.length}},watch:{value:function(){this.innerTags=s(this.value)}},methods:{focusNewTag:function(){!this.readOnly&&this.$el.querySelector(".new-tag")&&this.$el.querySelector(".new-tag").focus()},handleInputFocus:function(){this.isInputActive=!0},handleInputBlur:function(t){this.isInputActive=!1,this.addNew(t)},addNew:function(t){var e,n=this;return(e=regeneratorRuntime.mark((function e(){var r,i,o,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!t||-1!==n.addTagOnKeys.indexOf(t.keyCode),i=t&&"blur"!==t.type,(r||!i&&n.addTagOnBlur)&&!n.isLimit){e.next=4;break}return e.abrupt("return");case 4:if(!n.beforeAdding){e.next=10;break}return e.next=7,n.beforeAdding(n.newTag);case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=n.newTag;case 11:return o=e.t0,e.next=14,n.validateIfNeeded(o);case 14:a=e.sent,o&&a&&(n.allowDuplicates||-1===n.innerTags.indexOf(o))&&(n.innerTags.push(o),n.newTag="",n.tagChange(),t&&t.preventDefault());case 16:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)}))})()},validateIfNeeded:function(t){return""===this.validate||void 0===this.validate||("function"==typeof this.validate?this.validate(t):"string"==typeof this.validate&&Object.keys(l).indexOf(this.validate)>-1?l[this.validate].test(t):"object"!==i(this.validate)||void 0===this.validate.test||this.validate.test(t))},remove:function(t){this.innerTags.splice(t,1),this.tagChange()},removeLastTag:function(){this.newTag||(this.innerTags.pop(),this.tagChange())},tagChange:function(){this.$emit("update:tags",this.innerTags),this.$emit("input",this.innerTags)}}},u=c;n("8e26");var d=function(t,e,n,r,i,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-input-tag-wrapper",class:{"read-only":t.readOnly,"vue-input-tag-wrapper--active":t.isInputActive},on:{click:function(e){return t.focusNewTag()}}},[t._l(t.innerTags,(function(e,r){return n("span",{key:r,staticClass:"input-tag"},[n("span",[t._v(t._s(e))]),t.readOnly?t._e():n("a",{staticClass:"remove",on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.remove(r)}}},[t._t("remove-icon")],2)])})),t.readOnly||t.isLimit?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.newTag,expression:"newTag"}],ref:"inputtag",staticClass:"new-tag",attrs:{placeholder:t.placeholder,type:"text"},domProps:{value:t.newTag},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:(e.stopPropagation(),t.removeLastTag(e))},t.addNew],blur:t.handleInputBlur,focus:t.handleInputFocus,input
2:function(e){e.target.composing||(t.newTag=e.target.value)}}})],2)}),[],!1,null,null,null),h=d.exports;e.default=h},fb6a:function(t,e,n){"use strict";var r=n("23e7"),i=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),d=n("1dde"),h=n("ae40"),f=d("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),_=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!f||!p},{slice:function(t,e){var n,r,u,d=l(this),h=s(d.length),f=a(t,h),p=a(void 0===e?h:e,h);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return _.call(d,f,p);for(r=new(void 0===n?Array:n)(v(p-f,0)),u=0;f<p;f++,u++)f in d&&c(r,u,d[f]);return r.length=u,r}})},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}})},15570:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{icon:Array,buttonStyle:{type:String,default:"primary"},type:{type:String,default:"submit"}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("button",{staticClass:"inline-flex items-center px-4 py-2 text-sm font-medium text-white focus:outline-none",class:{"bg-blue-600 hover:bg-blue-700":"primary"==t.buttonStyle,"bg-red-600 hover:bg-red-700":"danger"==t.buttonStyle,"bg-green-600 hover:bg-green-700":"success"==t.buttonStyle,"bg-yellow-500 hover:bg-yellow-600":"warning"==t.buttonStyle},attrs:{type:t.type}},[t.icon?e("font-awesome-icon",{staticClass:"mr-2",attrs:{icon:t.icon}}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},51375:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{href:String,confirmMessage:String,method:{method:String,default:"get"},icon:Array,buttonStyle:{type:String,default:"primary"}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("inertia-link",{staticClass:"inline-flex items-center p-2.5 text-sm font-medium text-white focus:outline-none",class:{"bg-blue-600 hover:bg-blue-700":"primary"==t.buttonStyle,"bg-red-600 hover:bg-red-700":"danger"==t.buttonStyle,"bg-green-600 hover:bg-green-700":"success"==t.buttonStyle,"bg-gray-600 hover:bg-gray-700":"secondary"==t.buttonStyle,"bg-yellow-500 hover:bg-yellow-600":"warning"==t.buttonStyle,"":"transparent"==t.buttonStyle},attrs:{href:t.href,method:t.method}},[e("font-awesome-icon",{attrs:{icon:t.icon}})],1)}),[],!1,null,null,null).exports},86257:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{href:String,as:String,confirmMessage:String,method:{method:String,default:"get"},icon:Array,buttonStyle:{type:String,default:"primary"}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return"target_blank"==t.as?e("a",{staticClass:"inline-flex items-center px-4 py-2 text-sm font-medium text-white focus:outline-none",class:{"bg-blue-600 hover:bg-blue-700":"primary"==t.buttonStyle,"bg-red-600 hover:bg-red-700":"danger"==t.buttonStyle,"bg-green-600 hover:bg-green-700":"success"==t.buttonStyle,"bg-gray-600 hover:bg-gray-700":"secondary"==t.buttonStyle,"bg-yellow-500 hover:bg-yellow-600":"warning"==t.buttonStyle,"bg-white text-black":"link"==t.buttonStyle},attrs:{href:t.href,target:"_blank"}},[t.icon?e("font-awesome-icon",{staticClass:"mr-2",attrs:{icon:t.icon}}):t._e(),t._v(" "),t._t("default")],2):e("inertia-link",{staticClass:"inline-flex items-center px-4 py-2 text-sm font-medium text-white focus:outline-none",class:{"bg-blue-600 hover:bg-blue-700":"primary"==t.buttonStyle,"bg-red-600 hover:bg-red-700":"danger"==t.buttonStyle,"bg-green-600 hover:bg-green-700":"success"==t.buttonStyle,"bg-gray-600 hover:bg-gray-700":"secondary"==t.buttonStyle,"bg-yellow-500 hover:bg-yellow-600":"warning"==t.buttonStyle,"bg-white text-black":"link"==t.buttonStyle},attrs:{href:t.href,method:t.method}},[t.icon?e("font-awesome-icon",{staticClass:"mr-2",attrs:{icon:t.icon}}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},90422:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={model:{prop:"checked",event:"change"},props:{checked:{type:[Array,Boolean,Object,Number],default:!1},value:{default:null},label:String},computed:{proxyChecked:{get:function(){return this.checked},set:function(t){this.$emit("change",t)}}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("label",{staticClass:"flex items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.proxyChecked,expression:"proxyChecked"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"checkbox"},domProps:{value:t.value,checked:Array.isArray(t.proxyChecked)?t._i(t.proxyChecked,t.value)>-1:t.proxyChecked},on:{change:function(e){var n=t.proxyChecked,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t.value,a=t._i(n,o);r.checked?a<0&&(t.proxyChecked=n.concat([o])):a>-1&&(t.proxyChecked=n.slice(0,a).concat(n.slice(a+1)))}else t.proxyChecked=i}}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600 font-bold"},[t._v(t._s(t.label))])])])}),[],!1,null,null,null).exports},60642:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(10516);n(53462);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};u(v,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,s)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(r,a,s,l){var c=h(t[r],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==i(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,s,l)}),(function(t){o("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,l)}))}l(c.arg)}var a;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 10,100 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=u(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),u(w.prototype,l,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),u(b,c,"Generator"),u(b,s,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function a(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const s={components:{Cropper:r.fl},props:{icon:Array,aspectRatioValue:{default:16/11}},data:function(){return{image:{src:null,type:null}}},methods:{defaultSize:function(t){var e=t.imageSize,n=t.visibleArea;return{width:(n||e).width,height:(n||e).height}},crop:function(){var t,e=this;return(t=o().mark((function t(){var n,r,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$refs.cropper.getResult(),!(r=n.canvas)){t.next=4;break}return i=new FormData,t.abrupt("return",new Promise((function(t){r.toBlob((function(n){i.append("file",n),fetch(route("upload.photo"),{method:"POST",body:i}).then((function(t){return t.json()})).then((function(n){e.$emit("input",n.location),t("success")}))}),e.image.type)})));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,l,"next",t)}function l(t){a(o,r,i,s,l,"throw",t)}s(void 0)}))})()},loadImage:function(t){var e=t.target.files;if(e&&e[0]){this.image.src&&URL.revokeObjectURL(this.image.src);var n=URL.createObjectURL(e[0]);this.image={src:n,type:e[0].type}}}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",[e("cropper",{ref:"cropper",staticClass:"upload-example-cropper mb-3",attrs:{src:t.image.src,stencilProps:{aspectRatio:t.aspectRatioValue},"default-size":t.defaultSize}}),t._v(" "),e("div",{staticClass:"button-wrapper"},[e("button",{staticClass:"button"},[e("input",{ref:"file",attrs:{type:"file",accept:"image/*"},on:{change:function(e){return t.loadImage(e)}}})])])],1)}),[],!1,null,null,null).exports},25134:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(10516);n(53462);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};u(v,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,s)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(r,a,s,l){var c=h(t[r],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==i(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,s,l)}),(function(t){o("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,l)}))}l(c.arg)}var a;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=u(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u
2(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),u(w.prototype,l,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),u(b,c,"Generator"),u(b,s,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function a(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const s={components:{Cropper:r.fl},props:{icon:Array,aspectRatioValue:{default:1034/1477}},data:function(){return{image:{src:null,type:null}}},methods:{defaultSize:function(t){var e=t.imageSize,n=t.visibleArea;return{width:(n||e).width,height:(n||e).height}},crop:function(){var t,e=this;return(t=o().mark((function t(){var n,r,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$refs.cropper.getResult(),!(r=n.canvas)){t.next=4;break}return i=new FormData,t.abrupt("return",new Promise((function(t){r.toBlob((function(n){i.append("file",n),fetch(route("upload.photo"),{method:"POST",body:i}).then((function(t){return t.json()})).then((function(n){e.$emit("input",n.location),t("success")}))}),e.image.type)})));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,l,"next",t)}function l(t){a(o,r,i,s,l,"throw",t)}s(void 0)}))})()},loadImage:function(t){var e=t.target.files;if(e&&e[0]){this.image.src&&URL.revokeObjectURL(this.image.src);var n=URL.createObjectURL(e[0]);this.image={src:n,type:e[0].type}}}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",[e("cropper",{ref:"cropper",staticClass:"upload-example-cropper mb-3",attrs:{src:t.image.src,stencilProps:{aspectRatio:t.aspectRatioValue},"default-size":t.defaultSize}}),t._v(" "),e("div",{staticClass:"button-wrapper"},[e("button",{staticClass:"button"},[e("input",{ref:"file",attrs:{type:"file",accept:"image/*"},on:{change:function(e){return t.loadImage(e)}}}
vendor: 31,235 bytes, line 2
2)])])],1)}),[],!1,null,null,null).exports},16990:(t,e,n)=>{"use strict";n.d(e,{Z:()=>z});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}var s=new(function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.language=e,this.months=n,this.monthsAbbr=r,this.days=i,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var e,n,r;return e=t,(n=[{key:"language",get:function(){return this._language},set:function(t){if("string"!=typeof t)throw new TypeError("Language must be a string");this._language=t}},{key:"months",get:function(){return this._months},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=t}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=t}},{key:"days",get:function(){return this._days},set:function(t){if(7!==t.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=t}}])&&i(e.prototype,n),r&&i(e,r),t}())("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),l={useUtc:!1,getFullYear:function(t){return this.useUtc?t.getUTCFullYear():t.getFullYear()},getMonth:function(t){return this.useUtc?t.getUTCMonth():t.getMonth()},getDate:function(t){return this.useUtc?t.getUTCDate():t.getDate()},getDay:function(t){return this.useUtc?t.getUTCDay():t.getDay()},getHours:function(t){return this.useUtc?t.getUTCHours():t.getHours()},getMinutes:function(t){return this.useUtc?t.getUTCMinutes():t.getMinutes()},setFullYear:function(t,e,n){return this.useUtc?t.setUTCFullYear(e):t.setFullYear(e)},setMonth:function(t,e,n){return this.useUtc?t.setUTCMonth(e):t.setMonth(e)},setDate:function(t,e,n){return this.useUtc?t.setUTCDate(e):t.setDate(e)},compareDates:function(t,e){var n=new Date(t.getTime()),r=new Date(e.getTime());return this.useUtc?(n.setUTCHours(0,0,0,0),r.setUTCHours(0,0,0,0)):(n.setHours(0,0,0,0),r.setHours(0,0,0,0)),n.getTime()===r.getTime()},isValidDate:function(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())},getDayNameAbbr:function(t,e){if("object"!==r(t))throw TypeError("Invalid Type");return e[this.getDay(t)]},getMonthName:function(t,e){if(!e)throw Error("missing 2nd parameter Months array");if("object"===r(t))return e[this.getMonth(t)];if("number"==typeof t)return e[t];throw TypeError("Invalid type")},getMonthNameAbbr:function(t,e){if(!e)throw Error("missing 2nd paramter Months array");if("object"===r(t))return e[this.getMonth(t)];if("number"==typeof t)return e[t];throw TypeError("Invalid type")},daysInMonth:function(t,e){return/8|3|5|10/.test(e)?30:1===e?(t%4||!(t%100))&&t%400?28:29:31},getNthSuffix:function(t){switch(t){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(t,e,n){n=n||s;var r=this.getFullYear(t),i=this.getMonth(t)+1,o=this.getDate(t);return e.replace(/dd/,("0"+o).slice(-2)).replace(/d/,o).replace(/yyyy/,r).replace(/yy/,String(r).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(t),n.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(t),n.monthsAbbr)).replace(/MM/,("0"+i).slice(-2)).replace(/M(?!a|ä|e)/,i).replace(/su/,this.getNthSuffix(this.getDate(t))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(t,n.days))},createDateArray:function(t,e){for(var n=[];t<=e;)n.push(new Date(t)),t=this.setDate(new Date(t),this.getDate(new Date(t))+1);return n},validateDateInput:function(t){return null===t||t instanceof Date||"string"==typeof t||"number"==typeof t}},c=function(t){return a({},l,{useUtc:t})},u=a({},l);var d=function(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);var u,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),r&&(d._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(){e.call(this,c(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n};const h={props:{selectedDate:Date,resetTypedDate:[Date],format:[String,Function],translation:Object,inline:Boolean,id:String,name:String,refName:String,openDate:Date,placeholder:String,inputClass:[String,Object,Array],clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,disabled:Boolean,required:Boolean,typeable:Boolean,bootstrapStyling:Boolean,useUtc:Boolean},data:function(){return{input:null,typedDate:!1,utils:c(this.useUtc)}},computed:{formattedValue:function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},computedInputClass:function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):a({"form-control":!0},this.inputClass):this.inputClass}},watch:{resetTypedDate:function(){this.typedDate=!1}},methods:{showCalendar:function(){this.$emit("showCalendar")},parseTypedDate:function(t){if([27,13].includes(t.keyCode)&&this.input.blur(),this.typeable){var e=Date.parse(this.input.value);isNaN(e)||(this.typedDate=this.input.value,this.$emit("typedDate",new Date(this.typedDate)))}},inputBlurred:function(){this.typeable&&isNaN(Date.parse(this.input.value))&&(this.clearDate(),this.input.value=null,this.typedDate=null),this.$emit("closeCalendar")},clearDate:function(){this.$emit("clearDate")}},mounted:function(){this.input=this.$el.querySelector("input")}};var f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"input-group":t.bootstrapStyling}},[t.calendarButton?n("span",{staticClass:"vdp-datepicker__calendar-button",class:{"input-group-prepend":t.bootstrapStyling},style:{"cursor:not-allowed;":t.disabled},on:{click:t.showCalendar}},[n("span",{class:{"input-group-text":t.bootstrapStyling}},[n("i",{class:t.calendarButtonIcon},[t._v("\n        "+t._s(t.calendarButtonIconContent)+"\n        "),t.calendarButtonIcon?t._e():n("span",[t._v("…")])])])]):t._e(),t._v(" "),n("input",{ref:t.refName,class:t.computedInputClass,attrs:{type:t.inline?"hidden":"text",name:t.name,id:t.id,"open-date":t.openDate,placeholder:t.placeholder,"clear-button":t.clearButton,disabled:t.disabled,required:t.required,readonly:!t.typeable,autocomplete:"off"},domProps:{value:t.formattedValue},on:{click:t.showCalendar,keyup:t.parseTypedDate,blur:t.inputBlurred}}),t._v(" "),t.clearButton&&t.selectedDate?n("span",{staticClass:"vdp-datepicker__clear-button",class:{"input-group-append":t.bootstrapStyling},on:{click:function(e){return t.clearDate()}}},[n("span",{class:{"input-group-text":t.bootstrapStyling}},[n("i",{class:t.clearButtonIcon},[t.clearButtonIcon?t._e():n("span",[t._v("×")])])])]):t._e(),t._v(" "),t._t("afterDateInput")],2)};f._withStripped=!0;var p=d({render:f,staticRenderFns:[]},undefined,h,undefined,!1,undefined,void 0,void 0);const m={props:{showDayView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,fullMonthName:Boolean,allowedToShowView:Function,dayCellContent:{type:Function,default:function(t){return t.date}},disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,mondayFirst:Boolean,useUtc:Boolean},data:function(){return{utils:c(this.useUtc)}},computed:{daysOfWeek:function(){if(this.mondayFirst){var t=this.translation.days.slice();return t.push(t.shift()),t}return this.translation.days},blankDays:function(){var t=this.pageDate,e=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)):new Date(t.getFullYear(),t.getMonth(),1,t.getHours(),t.getMinutes());return this.mondayFirst?this.utils.getDay(e)>0?this.utils.getDay(e)-1:6:this.utils.getDay(e)},days:function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)):new Date(t.getFullYear(),t.getMonth(),1,t.getHours(),t.getMinutes()),r=this.utils.daysInMonth(this.utils.getFullYear(n),this.utils.getMonth(n)),i=0;i<r;i++)e.push({date:this.utils.getDate(n),timestamp:n.getTime(),isSelected:this.isSelectedDate(n),isDisabled:this.isDisabledDate(n),isHighlighted:this.isHighlightedDate(n),isHighlightStart:this.isHighlightStart(n),isHighlightEnd:this.isHighlightEnd(n),isToday:this.utils.compareDates(n,new Date),isWeekend:0===this.utils.getDay(n)||6===this.utils.getDay(n),isSaturday:6===this.utils.getDay(n),isSunday:0===this.utils.getDay(n)}),this.utils.setDate(n,this.utils.getDate(n)+1);return e},currMonthName:function(){var t=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),t)},currYearName:function(){var t=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(t)},isYmd:function(){return this.translation.ymd&&!0===this.translation.ymd},isLeftNavDisabled:function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)}},methods:{selectDate:function(t){if(t.isDisabled)return this.$emit("selectedDisabled",t),!1;this.$emit("selectDate",t)},getPageMonth:function(){return this.utils.getMonth(this.pageDate)},showMonthCalendar:function(){this.$emit("showMonthCalendar")},changeMonth:function(t){var e=this.pageDate;this.utils.setMonth(e,this.utils.getMonth(e)+t),this.$emit("changedMonth",e)},previousMonth:function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},isPreviousMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.to)return!1;var t=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(t)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(t)},nextMonth:function(){this.isNextMonthDisabled()||this.changeMonth(1)},isNextMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.from)return!1;var t=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(t)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(t)},isSelectedDate:function(t){return this.selectedDate&&this.utils.compareDates(this.selectedDate,t)},isDisabledDate:function(t){var e=this,n=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach((function(r){if(e.utils.compareDates(t,r))return n=!0,!0})),void 0!==this.disabledDates.to&&this.disabledDates.to&&t<this.disabledDates.to&&(n=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&t>this.disabledDates.from&&(n=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach((function(e){if(void 0!==e.from&&e.from&&void 0!==e.to&&e.to&&t<e.to&&t>e.from)return n=!0,!0})),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(t))&&(n=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(t))&&(n=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(t)&&(n=!0),n)},isHighlightedDate:function(t){var e=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(t))return!1;var n=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach((function(r){if(e.utils.compareDates(t,r))return n=!0,!0})),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(n=t>=this.highlighted.from&&t<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(t))&&(n=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(t))&&(n=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted.customPredictor(t)&&(n=!0),n)},dayClasses:function(t){return{selected:t.isSelected,disabled:t.isDisabled,highlighted:t.isHighlighted,today:t.isToday,weekend:t.isWeekend,sat:t.isSaturday,sun:t.isSunday,"highlight-start":t.isHighlightStart,"highlight-end":t.isHighlightEnd}},isHighlightStart:function(t){return this.isHighlightedDate(t)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(t)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(t)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(t)},isHighlightEnd:function(t){return this.isHighlightedDate(t)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(t)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(t)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(t)},isDefined:function(t){return void 0!==t&&t}}};var _=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showDayView,expression:"showDayView"}],class:[t.calendarClass,"vdp-datepicker__calendar"],style:t.calendarStyle,on:{mousedown:function(t){t.preventDefault()}}},[t._t("beforeCalendarHeader"),t._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:t.isLeftNavDisabled},on:{click:function(e){t.isRtl?t.nextMonth():t.previousMonth()}}},[t._v("<")]),t._v(" "),n("span",{staticClass:"day__month_btn",class:t.allowedToShowView("month")?"up":"",on:{click:t.showMonthCalendar}},[t._v(t._s(t.isYmd?t.currYearName:t.currMonthName)+" "+t._s(t.isYmd?t.currMonthName:t.currYearName))]),t._v(" "),n("span",{staticClass:"next",class:{disabled:t.isRightNavDisabled},on:{click:function(e){t.isRtl?t.previousMonth():t.nextMonth()}}},[t._v(">")])]),t._v(" "),n("div",{class:t.isRtl?"flex-rtl":""},[t._l(t.daysOfWeek,(function(e){return n("span",{key:e.timestamp,staticClass:"cell day-header"},[t._v(t._s(e))])})),t._v(" "),t.blankDays>0?t._l(t.blankDays,(function(t){return n("span",{key:t.timestamp,staticClass:"cell day blank"})})):t._e(),t._l(t.days,(function(e){return n("span",{key:e.timestamp,staticClass:"cell day",class:t.dayClasses(e),domProps:{innerHTML:t._s(t.dayCellContent(e))},on:{click:function(n){return t.selectDate(e)}}})}))],2)],2)};_._withStripped=!0;var v=d({render:_,staticRenderFns:[]},undefined,m,undefined,!1,undefined,void 0,void 0);const g={props:{showMonthView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},data:function(){return{utils:c(this.useUtc)}},computed:{months:function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),0,t.getUTCDate())):new Date(t.getFullYear(),0,t.getDate(),t.getHours(),t.getMinutes()),r=0;r<12;r++)e.push({month:this.utils.getMonthName(r,this.translation.months),timestamp:n.getTime(),isSelected:this.isSelectedMonth(n),isDisabled:this.isDisabledMonth(n)}),this.utils.setMonth(n,this.utils.getMonth(n)+1);return e},pageYearName:function(){var t=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(t)},isLeftNavDisabled:function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)}},methods:{selectMonth:function(t){if(t.isDisabled)return!1;this.$emit("selectMonth",t)},changeYear:function(t){var e=this.pageDate;this.utils.setFullYear(e,this.utils.getFullYear(e)+t),this.$emit("changedYear",e)},previousYear:function(){this.isPreviousYearDisabled()||this.changeYear(-1)},isPreviousYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},nextYear:function(){this.isNextYearDisabled()||this.changeYear(1)},isNextYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},showYearCalendar:function(){this.$emit("showYearCalendar")},isSelectedMonth:function(t){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(t)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(t)},isDisabledMonth:function(t){var e=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(t)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(t)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(t)<this.utils.getFullYear(this.disabledDates.to))&&(e=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(t)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(t)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(t)>this.utils.getFullYear(this.disabledDates.from))&&(e=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(t)&&(e=!0),e)}}};var y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showMonthView,expression:"showMonthView"}],class:[t.calendarClass,"vdp-datepicker__calendar"],style:t.calendarStyle,on:{mousedown:function(t){t.preventDefault()}}},[t._t("beforeCalendarHeader"),t._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:t.isLeftNavDisabled},on:{click:function(e){t.isRtl?t.nextYear():t.previousYear()}}},[t._v("<")]),t._v(" "),n("span",{staticClass:"month__year_btn",class:t.allowedToShowView("year")?"up":"",on:{click:t.showYearCalendar}},[t._v(t._s(t.pageYearName))]),t._v(" "),n("span",{staticClass:"next",class:{disabled:t.isRightNavDisabled},on:{click:function(e){t.isRtl?t.previousYear():t.nextYear()}}},[t._v(">")])]),t._v(" "),t._l(t.months,(function(e){return n("span",{key:e.timestamp,staticClass:"cell month",class:{selected:e.isSelected,disabled:e.isDisabled},on:{click:function(n){return n.stopPropagation(),t.selectMonth(e)}}},[t._v(t._s(e.month))])}))],2)};y._withStripped=!0;var b=d({render:y,staticRenderFns:[]},undefined,g,undefined,!1,undefined,void 0,void 0);const x={props:{showYearView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},computed:{years:function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(10*Math.floor(t.getUTCFullYear()/10),t.getUTCMonth(),t.getUTCDate())):new Date(10*Math.floor(t.getFullYear()/10),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes()),r=0;r<10;r++)e.push({year:this.utils.getFullYear(n),timestamp:n.getTime(),isSelected:this.isSelectedYear(n),isDisabled:this.isDisabledYear(n)}),this.utils.setFullYear(n,this.utils.getFullYear(n)+1);return e},getPageDecade:function(){var t=10*Math.floor(this.utils.getFullYear(this.pageDate)/10),e=t+9,n=this.translation.yearSuffix;return"".concat(t," - ").concat(e).concat(n)},isLeftNavDisabled:function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)}},data:function(){return{utils:c(this.useUtc)}},methods:{selectYear:function(t){if(t.isDisabled)return!1;this.$emit("selectYear",t)},changeYear:function(t){var e=this.pageDate;this.utils.setFullYear(e,this.utils.getFullYear(e)+t),this.$emit("changedDecade",e)},previousDecade:function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},isPreviousDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},nextDecade:function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},isNextDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},isSelectedYear:function(t){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(t)},isDisabledYear:function(t){var e=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(t)<this.utils.getFullYear(this.disabledDates.to)&&(e=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(t)>this.utils.getFullYear(this.disabledDates.from)&&(e=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(t)&&(e=!0),e)}}};var w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showYearView,expression:"showYearView"}],class:[t.calendarClass,"vdp-datepicker__calendar"],style:t.calendarStyle,on:{mousedown:function(t){t.preventDefault()}}},[t._t("beforeCalendarHeader"),t._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:t.isLeftNavDisabled},on:{click:function(e){t.isRtl?t.nextDecade():t.previousDecade()}}},[t._v("<")]),t._v(" "),n("span",[t._v(t._s(t.getPageDecade))]),t._v(" "),n("span",{staticClass:"next",class:{disabled:t.isRightNavDisabled},on:{click:function(e){t.isRtl?t.previousDecade():t.nextDecade()}}},[t._v(">")])]),t._v(" "),t._l(t.years,(function(e){return n("span",{key:e.timestamp,staticClass:"cell year",class:{selected:e.isSelected,disabled:e.isDisabled},on:{click:function(n){return n.stopPropagation(),t.selectYear(e)}}},[t._v(t._s(e.year))])}))],2)};w._withStripped=!0;var k={components:{DateInput:p,PickerDay:v,PickerMonth:b,PickerYear:d({render:w,staticRenderFns:[]},undefined,x,undefined,!1,undefined,void 0,void 0)},props:{value:{validator:function(t){return u.validateDateInput(t)}},name:String,refName:String,id:String,format:{type:[String,Function],default:"dd MMM yyyy"},language:{type:Object,default:function(){return s}},openDate:{validator:function(t){return u.validateDateInput(t)}},dayCellContent:Function,fullMonthName:Boolean,disabledDates:Object,highlighted:Object,placeholder:String,inline:Boolean,calendarClass:[String,Object,Array],inputClass:[String,Object,Array],wrapperClass:[String,Object,Array],mondayFirst:Boolean,clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,bootstrapStyling:Boolean,initialView:String,disabled:Boolean,required:Boolean,typeable:Boolean,useUtc:Boolean,minimumView:{type:String,default:"day"},maximumView:{type:String,default:"year"}},data:function(){var t=this.openDate?new Date(this.openDate):new Date,e=c(this.useUtc);return{pageTimestamp:e.setDate(t,1),selectedDate:null,showDayView:!1,showMonthView:!1,showYearView:!1,calendarHeight:0,resetTypedDate:new Date,utils:e}},watch:{value:function(t){this.setValue(t)},openDate:function(){this.setPageDate()},initialView:function(){this.setInitialView()}},computed:{computedInitialView:function(){return this.initialView?this.initialView:this.minimumView},pageDate:function(){return new Date(this.pageTimestamp)},translation:function(){return this.language},calendarStyle:function(){return{position:this.isInline?"static":void 0}},isOpen:function(){return this.showDayView||this.showMonthView||this.showYearView},isInline:function(){return!!this.inline},isRtl:function(){return!0===this.translation.rtl}},methods:{resetDefaultPageDate:function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},showCalendar:function(){return!this.disabled&&!this.isInline&&(this.isOpen?this.close(!0):void this.setInitialView())},setInitialView:function(){var t=this.computedInitialView;if(!this.allowedToShowView(t))throw new Error("initialView '".concat(this.initialView,"' cannot be rendered based on minimum '").concat(this.minimumView,"' and maximum '").concat(this.maximumView,"'"));switch(t){case"year":this.showYearCalendar();break;case"month":this.showMonthCalendar();break;default:this.showDayCalendar()}},allowedToShowView:function(t){var e=["day","month","year"],n=e.indexOf(this.minimumView),r=e.indexOf(this.maximumView),i=e.indexOf(t);return i>=n&&i<=r},showDayCalendar:function(){return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,!0)},showMonthCalendar:function(){return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,!0)},showYearCalendar:function(){return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,!0)},setDate:function(t){var e=new Date(t);this.selectedDate=e,this.setPageDate(e),this.$emit("selected",e),this.$emit("input",e)},clearDate:function(){this.selectedDate=null,this.setPageDate(),this.$emit("selected",null),this.$emit("input",null),this.$emit("cleared")},selectDate:function(t){this.setDate(t.timestamp),this.isInline||this.close(!0),this.resetTypedDate=new Date},selectDisabledDate:function(t){this.$emit("selectedDisabled",t)},selectMonth:function(t){var e=new Date(t.timestamp);this.allowedToShowView("day")?(this.setPageDate(e),this.$emit("changedMonth",t),this.showDayCalendar()):this.selectDate(t)},selectYear:function(t){var e=new Date(t.timestamp);this.allowedToShowView("month")?(this.setPageDate(e),this.$emit("changedYear",t),this.showMonthCalendar()):this.selectDate(t)},setValue:function(t){if("string"==typeof t||"number"==typeof t){var e=new Date(t);t=isNaN(e.valueOf())?null:e}if(!t)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=t,this.setPageDate(t)},setPageDate:function(t){t||(t=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=this.utils.setDate(new Date(t),1)},handleChangedMonthFromDayPicker:function(t){this.setPageDate(t),this.$emit("changedMonth",t)},setTypedDate:function(t){this.setDate(t.getTime())},close:function(t){this.showDayView=this.showMonthView=this.showYearView=!1,this.isInline||(t&&this.$emit("closed"),document.removeEventListener("click",this.clickOutside,!1))},init:function(){this.value&&this.setValue(this.value),this.isInline&&this.setInitialView()}},mounted:function(){this.init()}},M="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var C=document.head||document.getElementsByTagName("head")[0],S={};var T=function(t){return function(t,e){return function(t,e){var n=M?e.media||"default":t,r=S[n]||(S[n]={ids:new Set,styles:[]});if(!r.ids.has(t)){r.ids.add(t);var i=e.source;if(e.map&&(i+="\n/*# sourceURL="+e.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",e.media&&r.element.setAttribute("media",e.media),C.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var o=r.ids.size-1,a=document.createTextNode(i),s=r.element.childNodes;s[o]&&r.element.removeChild(s[o]),s.length?r.element.insertBefore(a,s[o]):r.element.appendChild(a)}}}(t,e)}};const L=k;var E=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vdp-datepicker",class:[t.wrapperClass,t.isRtl?"rtl":""]},[n("date-input",{attrs:{selectedDate:t.selectedDate,resetTypedDate:t.resetTypedDate,format:t.format,translation:t.translation,inline:t.inline,id:t.id,name:t.name,refName:t.refName,openDate:t.openDate,placeholder:t.placeholder,inputClass:t.inputClass,typeable:t.typeable,clearButton:t.clearButton,clearButtonIcon:t.clearButtonIcon,calendarButton:t.calendarButton,calendarButtonIcon:t.calendarButtonIcon,calendarButtonIconContent:t.calendarButtonIconContent,disabled:t.disabled,required:t.required,bootstrapStyling:t.bootstrapStyling,"use-utc":t.useUtc},on:{showCalendar:t.showCalendar,closeCalendar:t.close,typedDate:t.setTypedDate,clearDate:t.clearDate}},[t._t("afterDateInput",null,{slot:"afterDateInput"})],2),t._v(" "),t.allowedToShowView("day")?n("picker-day",{attrs:{pageDate:t.pageDate,selectedDate:t.selectedDate,showDayView:t.showDayView,fullMonthName:t.fullMonthName,allowedToShowView:t.allowedToShowView,disabledDates:t.disabledDates,highlighted:t.highlighted,calendarClass:t.calendarClass,calendarStyle:t.calendarStyle,translation:t.translation,pageTimestamp:t.pageTimestamp,isRtl:t.isRtl,mondayFirst:t.mondayFirst,dayCellContent:t.dayCellContent,"use-utc":t.useUtc},on:{changedMonth:t.handleChangedMonthFromDayPicker,selectDate:t.selectDate,showMonthCalendar:t.showMonthCalendar,selectedDisabled:t.selectDisabledDate}},[t._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):t._e(),t._v(" "),t.allowedToShowView("month")?n("picker-month",{attrs:{pageDate:t.pageDate,selectedDate:t.selectedDate,showMonthView:t.showMonthView,allowedToShowView:t.allowedToShowView,disabledDates:t.disabledDates,calendarClass:t.calendarClass,calendarStyle:t.calendarStyle,translation:t.translation,isRtl:t.isRtl,"use-utc":t.useUtc},on:{selectMonth:t.selectMonth,showYearCalendar:t.showYearCalendar,changedYear:t.setPageDate}},[t._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):t._e(),t._v(" "),t.allowedToShowView("year")?n("picker-year",{attrs:{pageDate:t.pageDate,selectedDate:t.selectedDate,showYearView:t.showYearView,allowedToShowView:t.allowedToShowView,disabledDates:t.disabledDates,calendarClass:t.calendarClass,calendarStyle:t.calendarStyle,translation:t.translation,isRtl:t.isRtl,"use-utc":t.useUtc}
2,on:{selectYear:t.selectYear,changedDecade:t.setPageDate}},[t._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):t._e()],1)};E._withStripped=!0;const A=d({render:E,staticRenderFns:[]},(function(t){t&&t("data-v-64ca2bb5_0",{source:".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n",map:{version:3,sources:["Datepicker.vue"],names:[],mappings:"AAAA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;AACb;
2AACA;;EAEE,0BAA0B;EAC1B,WAAW;EACX,qBAAqB;EACrB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,4CAA4C;EAC5C,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,4BAA4B;EAC5B,gBAAgB;AAClB;AACA;EACE,4BAA4B;AAC9B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,0BAA0B;EAC1B,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,sBAAsB;EACtB,6BAA6B;AAC/B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;AACjB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;;EAEE,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB",file:"Datepicker.vue",sourcesContent:[".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  
2content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n"]},media:void 0})}),L,undefined,!1,undefined,T,void 0);var D=n(36368);const O={components:{Datepicker:A},props:{value:[Date,String],inline:{type:Boolean,default:!1}},data:function(){return{fr:D.fr}}};const z=(0,n(51900).Z)(O,(function(){var t=this;return(0,t._self._c)("datepicker",{attrs:{inline:t.inline,"input-class":"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300","monday-first":!0,language:t.fr,value:t.value,format:"dd/MM/yyyy"},on:{selected:function(e){return t.$emit("input",e)}}})}),[],!1,null,null,null).exports},42872:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var r=n(31485),i=n.n(r),o=n(93379),a=n.n(o),s=n(63492),l={insert:"head",singleton:!1};a()(s.Z,l);s.Z.locals;const c={components:{vueDropzone:i()},props:["value"],data:function(){return{dropOptions:{url:route("upload.photo"),maxFiles:1,addRemoveLinks:!0,removeFile:!0}}},methods:{upload:function(t,e){this.$emit("input",e.location)}}};var u=n(2546),d={insert:"head",singleton:!1};a()(u.Z,d);u.Z.locals;const h=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"border-2 border-gray-300 border-dashed rounded-md"},[e("vue-dropzone",{attrs:{id:"photo",options:t.dropOptions,useCustomSlot:!0},on:{"vdropzone-success":t.upload}},[e("div",{staticClass:"flex justify-center"},[e("div",{staticClass:"space-y-1 text-center"},[e("svg",{staticClass:"mx-auto h-12 w-12 text-gray-400",attrs:{stroke:"currentColor",fill:"none",viewBox:"0 0 48 48","aria-hidden":"true"}},[e("path",{attrs:{d:"M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),e("div",{staticClass:"flex text-sm text-gray-600"},[e("label",{staticClass:"relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none",attrs:{for:"photo"}},[e("span",[t._v("télécharger un fichier")])]),t._v(" "),e("p",{staticClass:"pl-1"},[t._v("ou glisser-déposer")])]),t._v(" "),e("p",{staticClass:"text-xs text-gray-500"},[t._v("\n                    PNG, JPG jusqu'à 10 Mo\n                ")])])])])],1
2)}),[],!1,null,null,null).exports},97134:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var r,i=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],o=function(t){return-1!==i.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())},a=function(t,e,n){var r=e.$props.value?e.$props.value:"",i=e.$props.initialValue?e.$props.initialValue:"";n.setContent(r||(e.initialized?e.cache:i)),e.$watch("value",(function(t,r){n&&"string"==typeof t&&t!==r&&t!==n.getContent({format:e.$props.outputFormat})&&n.setContent(t)})),e.$listeners.input&&function(t,e){var n=t.$props.modelEvents?t.$props.modelEvents:null,r=Array.isArray(n)?n.join(" "):n;e.on(r||"change input undo redo",(function(){t.$emit("input",e.getContent({format:t.$props.outputFormat}))}))}(e,n),function(t,e,n){Object.keys(e).filter(o).forEach((function(r){var i=e[r];"function"==typeof i&&("onInit"===r?i(t,n):n.on(r.substring(2),(function(t){return i(t,n)})))}))}(t,e.$listeners,n),e.initialized=!0},s=0,l=function(t){var e=Date.now();return t+"_"+Math.floor(1e9*Math.random())+ ++s+String(e)},c=function(t){return void 0===t||""===t?[]:Array.isArray(t)?t:t.split(" ")},u=function(){return{listeners:[],scriptId:l("tiny-script"),scriptLoaded:!1}},d=(r=u(),{load:function(t,e,n){r.scriptLoaded?n():(r.listeners.push(n),t.getElementById(r.scriptId)||function(t,e,n,r){var i=e.createElement("script");i.referrerPolicy="origin",i.type="application/javascript",i.id=t,i.src=n;var o=function(){i.removeEventListener("load",o),r()};i.addEventListener("load",o),e.head&&e.head.appendChild(i)}(r.scriptId,t,e,(function(){r.listeners.forEach((function(t){return t()})),r.scriptLoaded=!0})))},reinitialize:function(){r=u()}}),h=function(){var t="undefined"!=typeof window?window:n.g;return t&&t.tinymce?t.tinymce:null},f={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],value:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(t){return"html"===t||"text"===t}}},p=function(){return p=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},m=function(t){return function(){var e,n,r,i=p(p({},t.$props.init),{readonly:t.$props.disabled,selector:"#"+t.elementId,plugins:(e=t.$props.init&&t.$props.init.plugins,n=t.$props.plugins,c(e).concat(c(n))),toolbar:t.$props.toolbar||t.$props.init&&t.$props.init.toolbar,inline:t.inlineEditor,setup:function(e){t.editor=e,e.on("init",(function(n){return a(n,t,e)})),t.$props.init&&"function"==typeof t.$props.init.setup&&t.$props.init.setup(e)}});null!==(r=t.element)&&"textarea"===r.tagName.toLowerCase()&&(t.element.style.visibility="",t.element.style.display=""),h().init(i)}};const _={components:{Editor:{props:f,created:function(){this.elementId=this.$props.id||l("tiny-vue"),this.inlineEditor=this.$props.init&&this.$props.init.inline||this.$props.inline,this.initialized=!1},watch:{disabled:function(){this.editor.setMode(this.disabled?"readonly":"design")}},mounted:function(){if(this.element=this.$el,null!==h())m(this)();else if(this.element&&this.element.ownerDocument){var t=this.$props.cloudChannel?this.$props.cloudCh
2annel:"5",e=this.$props.apiKey?this.$props.apiKey:"no-api-key",n=null==this.$props.tinymceScriptSrc?"https://cdn.tiny.cloud/1/"+e+"/tinymce/"+t+"/tinymce.min.js":this.$props.tinymceScriptSrc;d.load(this.element.ownerDocument,n,m(this))}},beforeDestroy:function(){null!==h()&&h().remove(this.editor)},deactivated:function(){var t;this.inlineEditor||(this.cache=this.editor.getContent(),null===(t=h())||void 0===t||t.remove(this.editor))},activated:function(){!this.inlineEditor&&this.initialized&&m(this)()},render:function(t){return this.inlineEditor?function(t,e,n){return t(n||"div",{attrs:{id:e}})}(t,this.elementId,this.$props.tagName):function(t,e){return t("textarea",{attrs:{id:e},style:{visibility:"hidden"}})}(t,this.elementId)}}},props:["value"]};const v=(0,n(51900).Z)(_,(function(){var t=this;return(0,t._self._c)("editor",{attrs:{apiKey:"g7q9w41zpkbr1uy5jg2lisoxuvq6qxwwg1b8r85x76oki8vf",initialValue:t.value,init:{menubar:!1,plugins:"link image lists paste code fullscreen preview",toolbar:"formatselect | bold italic underline strikethrough | forecolor backcolor | alignleft aligncenter alignright al
2ignjustify | bullist numlist | link lists image | code fullscreen",height:400,paste_as_text:!0,force_br_newlines:!1,force_p_newlines:!0,language:"fr_FR",branding:!1,images_upload_url:t.route("upload.photo"),relative_urls:!1}},on:{input:function(e){return t.$emit("input",e)}}})}),[],!1,null,null,null).exports},86793:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("input",{ref:"input",staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports},76984:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(55009);const i={props:["value"],components:{InputTag:n.n(r)()},methods:{focus:function(){this.$refs.input.focus()}}};var o=n(93379),a=n.n(o),s=n(82433),l={insert:"head",singleton:!1};a()(s.Z,l);s.Z.locals;const c=(0,n(51900).Z)(i,(function(){var t=this;return(0,t._self._c)("input-tag",{ref:"input",attrs:{value:t.value,"add-tag-on-blur":!0,placeholder:"Ajouter un tag"},on:{input:function(e){return t.$emit("input",e)}}})}),[],!1,null,null,null).exports},88587:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value"]};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("label",{staticClass:"block font-bold text-sm text-gray-700 mb-1.5"},[t.value?e("span",[t._v(t._s(t.value))]):e("span",[t._t("default")],2)])}),[],!1,null,null,null).exports},69285:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{links:[Object,Array]}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"flex justify-center -space-x-px text-sm font-medium",attrs:{"aria-label":"Pagination"}},t._l(t.links,(function(n){return e("div",{key:n.label},[n.url?e("inertia-link",{staticClass:"relative inline-flex items-center px-4 py-2 border",class:[n.active?"bg-blue-600 border-blue-600 text-white":"bg-white text-gray-700 border-gray-300 hover:bg-gray-100"],attrs:{href:n.url}},[t._v("\n            "+t._s(n.label)+"\n        ")]):e("span",{staticClass:"relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-gray-700 hover:bg-gray-100"},[t._v(t._s(n.label))])],1)})),0)}),[],!1,null,null,null).exports},7928:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("select",{ref:"input",staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},[t._t("default")],2)}),[],!1,null,null,null).exports},43408:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("textarea",{ref:"input",staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{rows:"7",cols:"80"},on:{input:function(e){return t.$emit("input",e.target.value)}}},[t._v(t._s(t.value))])}),[],!1,null,null,null).exports},12771:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={computed:{errors:function(){return this.$page.props.errors},hasErrors:function(){return Object.keys(this.errors).length>0}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return t.hasErrors?e("div",[e("div",{staticClass:"font-medium text-red-600"},[t._v("Oups! Il y a eu quelques problèmes avec votre saisie.")]),t._v(" "),e("ul",{staticClass:"mt-3 list-disc list-inside text-sm text-red-600"},t._l(t.errors,(function(n,r){return e("li",{key:r},[t._v(t._s(n))])})),0)]):t._e()}),[],!1,null,null,null).exports},51442:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["on"]};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{"leave-active-class":"transition ease-in duration-1000","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.on,expression:"on"}],staticClass:"text-sm text-gray-600"},[t._t("default")],2)])],1)}),[],!1,null,null,null).exports},79424:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{agenda:[Object,Array]}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("inertia-link",{attrs:{href:t.route("agenda.show",t.agenda.slug)}},[e("div",{staticClass:"relative"},[e("img",{attrs:{src:t.agenda.photo,alt:""}})]),t._v(" "),e("div",[e("h2",{staticClass:"font-bold uppercase"},[t._v(t._s(t.agenda.name))]),t._v(" "),t.agenda.fairground_market?e("h3",{staticClass:"font-bold capitalize text-sm"},[t._v(t._s(t.agenda.fairground_market_day_libelle))]):e("div",[t.agenda.fairground_market?t._e():e("h3",{staticClass:"font-bold capitalize text-sm"},[t._v(t._s(t.agenda.dates_libelle))]),t._v(" "),t.agenda.location?e("h3",{staticClass:"capitalize text-sm"},[t._v(t._s(t.agenda.location))]):t._e()])])])}),[],!1,null,null,null).exports},65626:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{CardAgenda:n(79424).Z},props:{agendas:[Object,Array]}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-wrap justify-center"},t._l(t.agendas,(function(t){return e("div",{key:t.id,staticClass:"w-full sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3"},[e("card-agenda",{attrs:{agenda:t}})],1)})),0)}),[],!1,null,null,null).exports},70853:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{article:[Object,Array],showCategory:{type:Boolean,default:!1},href:{type:String,default:function(){return route("article.show",this.article.slug)}},positionDate:{type:String,default:"bottom"}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("inertia-link",{attrs:{href:t.href}}
2,["top"==t.positionDate?e("h4",{staticClass:"text-sm font-bold text-center sm:text-left my-2 capitalize"},[t._v(t._s(t._f("moment")(t.article.published_at,"DD MMMM YYYY")))]):t._e(),t._v(" "),e("div",{staticClass:"relative"},[e("img",{attrs:{src:t.article.photo,alt:""}})]),t._v(" "),e("div",{staticClass:"text-center sm:text-left mt-2"},[t.showCategory?e("h1",{staticClass:"uppercase font-bold"},[t._v(t._s(t.article.categorie.name))]):t._e(),t._v(" "),e("h2",{staticClass:"font-bold"},[t._v(t._s(t.article.title))]),t._v(" "),t.article.place||t.article.city?e("h3",[t._v(t._s(t.article.place)),t.article.place&&t.article.city?e("span",[t._v(" - ")]):t._e(),t._v(t._s(t.article.city))]):t._e(),t._v(" "),"bottom"==t.positionDate?e("h4",{staticClass:"capitalize text-xs"},[t._v(t._s(t._f("moment")(t.article.published_at,"DD MMMM YYYY")))]):t._e()])])}),[],!1,null,null,null).exports},66350:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{CardArticle:n(70853).Z},props:{articles:[Object,Array],showCategory:{type:Boolean,default:!1}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-wrap justify-center"},t._l(t.articles,(function(n){return e("div",{key:n.id,staticClass:"w-full sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3"},[e("card-article",{attrs:{article:n,"show-category":t.showCategory}}
2)],1)})),0)}),[],!1,null,null,null).exports},11589:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}},mounted:function(){var t=this;setTimeout((function(){t.show=!1}),1e4)}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{"leave-active-class":"ease-in-out duration-300","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[t.show&&t.message?e("div",{staticClass:"mb-5",class:{"bg-green-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[e("div",{staticClass:"mx-auto py-2 px-3 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex items-center justify-between flex-wrap"},[e("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[e("span",{staticClass:"flex p-2 rounded-lg",class:{"bg-green-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]):t._e(),t._v(" "),"danger"==t.style?e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):t._e()]),t._v(" "),e("p",{staticClass:"ml-3 font-medium text-sm text-white"},[t._v("\n                            "+t._s(t.message)+"\n                        ")])]),t._v(" "),e("div",{staticClass:"flex-shrink-0 sm:ml-3"},[e("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-green-600 focus:bg-green-600":"success"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])],1)}),[],!1,null,null,null).exports},3277:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{type:{type:String,default:"submit"}}};const i=(0,n(51900).Z)(r,(function(){return(0,this._self._c)("button",{staticClass:"bg-white px-5 py-2 hover:text-white border border-black leading-tight hover:bg-black transition-all duration-300 uppercase font-semibold focus:outline-none"},[this._t("default")],2)}),[],!1,null,null,null).exports},83933:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{href:String,as:String}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return"target_blank"==t.as?e("a",{staticClass:"inline-flex items-center bg-white cursor-pointer px-5 py-2 hover:text-white border border-black leading-tight hover:bg-black transition-all duration-300 uppercase font-semibold",attrs:{target:"_blank",href:t.href}},[t._t("default")],2):e("inertia-link",{staticClass:"inline-flex items-center bg-white cursor-pointer px-5 py-2 hover:text-white border border-black leading-tight hover:bg-black transition-all duration-300 uppercase font-semibold",attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports},37699:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={model:{prop:"checked",event:"change"},props:{checked:{type:[Array,Boolean,Object,Number],default:!1},value:{default:null}},computed:{proxyChecked:{get:function(){return this.checked},set:function(t){this.$emit("change",t)}}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("input",{directives:[{name:"model",rawName:"v-model",value:t.proxyChecked,expression:"proxyChecked"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"checkbox"},domProps:{value:t.value,checked:Array.isArray(t.proxyChecked)?t._i(t.proxyChecked,t.value)>-1:t.proxyChecked},on:{change:function(e){var n=t.proxyChecked,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t.value,a=t._i(n,o);r.checked?a<0&&(t.proxyChecked=n.concat([o])):a>-1&&(t.proxyChecked=n.slice(0,a).concat(n.slice(a+1)))}else t.proxyChecked=i}}})}),[],!1,null,null,null).exports},50171:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{Modal:n(48730).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{show:t.show,"max-width":t.maxWidth,closeable:t.closeable},on:{close:t.close}},[e("div",{staticClass:"px-6 py-4"},[e("div",{staticClass:"text-lg text-center"},[t._t("title")],2),t._v(" "),e("div",{staticClass:"mt-4"}
2,[t._t("content")],2)]),t._v(" "),e("div",{staticClass:"px-6 py-4 text-right"},[t._t("footer")],2)])}),[],!1,null,null,null).exports},81993:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{event:[Object,Array]}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("inertia-link",{attrs:{href:t.route("evenements.show",t.event.id)}},[e("div",{staticClass:"relative"},[e("img",{attrs:{src:t.event.photo,alt:""}}),t._v(" "),t.event.duration?e("span",{staticClass:"absolute right-0 bottom-0 text-white p-1 text-sm",staticStyle:{"background-color":"#333030"}},[t._v(t._s(t.event.duration))]):t._e()]),t._v(" "),e("div",[e("h2",{staticClass:"font-bold uppercase"},[t._v(t._s(t.event.name))]),t._v(" "),t.event.date?e("h3",{staticClass:"font-bold capitalize text-sm"},[t._v(t._s(t._f("moment")(t.event.date,"DD/MM/YYYY")))]):t._e(),t._v(" "),t.event.location?e("h3",{staticClass:"capitalize text-sm"},[t._v(t._s(t.event.location))]):t._e()])])}),[],!1,null,null,null).exports},53364:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const o={name:"HorizontalList",props:{align:{type:String,default:"center"},items:{type:Array,required:!0},options:{type:Object,required:!1}},data:function(){return{position:0,width:{container:0,window:576},scrollTimer:null,autoPlayInterval:null}},mounted:function(){var t=this;this.$resize=function(){t.width.window=window.innerWidth,t.width.container=t.$refs.container.clientWidth},n(30523).polyfill(),this.$resize(),window.addEventListener("resize",this.$resize),this._options.position.start&&this.$nextTick((function(){t.go(t._options.position.start)})),this._options.autoplay.play&&this.runAutoPlay()},beforeDestroy:function(){window.removeEventListener("resize",this.$resize),this.autoPlayInterval&&clearInterval(this.autoPlayInterval)},computed:{_items:function(){return[].concat(r(this.$slots.start?[{type:"start"}]:[]),r(this.items.map((function(t){return{type:"item",item:t}}))),r(this.$slots.end?[{type:"end"}]:[]))},_length:function(){return this._items.length},_options:function(){var t,e,n,i,o,a,s,l,c,u,d,h,f,p,m,_,v,g,y,b,x,w,k,M=this.options;return{navigation:{start:null!==(t=null==M||null===(e=M.navigation)||void 0===e?void 0:e.start)&&void 0!==t?t:992,color:null!==(n=null==M||null===(i=M.navigation)||void 0===i?void 0:i.color)&&void 0!==n?n:"#747373"},item:{class:null!==(o=null==M||null===(a=M.item)||void 0===a?void 0:a.class)&&void 0!==o?o:"",padding:null!==(s=null==M||null===(l=M.item)||void 0===l?void 0:l.padding)&&void 0!==s?s:16},list:{class:null!==(c=null==M||null===(u=M.list)||void 0===u?void 0:u.class)&&void 0!==c?c:"",windowed:null!==(d=null==M||null===(h=M.list)||void 0===h?void 0:h.windowed)&&void 0!==d?d:1200,padding:null!==(f=null==M||null===(p=M.list)||void 0===p?void 0:p.padding)&&void 0!==f?f:24},responsive:[].concat(r(null!==(m=null==M?void 0:M.responsive)&&void 0!==m?m:[]),[{end:576,size:1},{start:576,end:768,size:2},{start:768,end:992,size:3},{start:992,end:1200,size:4},{start:1200,size:5}]),position:{start:null!==(_=null==M||null===(v=M.position)||void 0===v?void 0:v.start)&&void 0!==_?_:0},autoplay:{play:null!==(g=null==M||null===(y=M.autoplay)||void 0===y?void 0:y.play)&&void 0!==g&&g,speed:null!==(b=null==M||null===(x=M.autoplay)||void 0===x?void 0:x.speed)&&void 0!==b?b:2e3,repeat:null!==(w=null==M||null===(k=M.autoplay)||void 0===k?void 0:k.repeat)&&void 0!==w&&w}}},_style:function(){var t={container:{},list:{},item:{},tail:{}},e=this._workingWidth,n=this._size;return this.width.window<this._options.list.windowed?(t.container.marginLeft="-".concat(this._options.list.padding,"px"),t.container.marginRight="-".concat(this._options.list.padding,"px"),t.item.width="".concat((e-(n-1)*this._options.item.padding)/n,"px"),t.item.paddingLeft="".concat(this._options.list.padding,"px"),t.item.paddingRight="".concat(this._options.item.padding,"px"),t.item.marginRight="-".concat(this._options.list.padding,"px")):(t.item.marginLeft="".concat(this._options.item.padding/2,"px"),t.item.marginRight="".concat(this._options.item.padding/2,"px"),t.container.marginLeft="-".concat(this._options.item.padding/2,"px"),t.container.marginRight="-".concat(this._options.item.padding/2,"px"),t.item.width="".concat((e-(n-1)*this._options.item.padding)/n,"px")),t},_itemWidth:function(){return(this._workingWidth-(this._size-1)*this._options.item.padding)/this._size},_workingWidth:function(){return this.width.window<this._options.list.windowed?this.width.window-2*this._options.list.padding:this.width.container},_size:function(){var t=this._workingWidth;return this._options.responsive.find((function(e){return(!e.start||e.start<=t)&&(!e.end||e.end>=t)})).size},_hasNext:function(){return this._length>this.position+this._size},_hasPrev:function(){return this.position>0}},methods:{go:function(t){var e=this._length-this._size;this.position=t>e?e:t;var n=this._itemWidth*this.position+this.position*this._options.item.padding;this.$refs.list.scrollTo({top:0,left:n,behavior:"smooth"})},runAutoPlay:function(){this.autoPlayInterval=setInterval(function(){this._options.autoplay.repeat&&this.position===this._length-this._size?(this.position=0,this.go(this.position)):(this.position+=1,this.go(this.position))}.bind(this),this._options.autoplay.speed)},stopAutoPlay:function(){clearInterval(this.autoPlayInterval)},prev:function(){this.go(this.position-this._size)},next:function(){this.go(this.position+this._size)},scrollHandler:function(){clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(function(){var t=this,e=this.$refs.list.getBoundingClientRect().left,n=this._items.map((function(n,r){var i=t.$refs.item[r].getBoundingClientRect().left;return Math.abs(i-e)}));this.position=n.indexOf(Math.min.apply(Math,r(n)))}.bind(this),50)}},watch:{"options.autoplay.play":function(t,e){t?this.runAutoPlay():this.stopAutoPlay()}}},a=o;var s=n(93379),l=n.n(s),c=n(50185),u={insert:"head",singleton:!1};l()(c.Z,u);c.Z.locals;const d=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{ref:"container",staticClass:"vue-horizontal-list"},[e("div",{staticClass:"vhl-navigation"},[t._hasPrev?e("div",{staticClass:"vhl-btn-left",on:{click:t.prev}},[t._t("nav-prev",(function(){return[e("svg",{attrs:{fill:t._options.navigation.color,width:"32px",height:"32px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10.757 12l4.95 4.95a1 1 0 1 1-1.414 1.414l-5.657-5.657a1 1 0 0 1 0-1.414l5.657-5.657a1 1 0 0 1 1.414 1.414L10.757 12z"}})])]}))],2):t._e(),t._v(" "),t._hasNext?e("div",{staticClass:"vhl-btn-right",on:{click:t.next}},[t._t("nav-next",(function(){return[e("svg",{attrs:{fill:t._options.navigation.color,width:"32px",height:"32px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13.314 12.071l-4.95-4.95a1 1 0 0 1 1.414-1.414l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414-1.414l4.95-4.95z"}})])]}))],2):t._e()]),t._v(" "),e("div",{staticClass:"vhl-container flex"},[e("div",{ref:"list",staticClass:"vhl-list",class:t._options.list.class+("center"==t.align?" mx-auto":""),style:t._style.list,on:{scroll:t.scrollHandler}},[t._l(t._items,(function(n){return e("div",{ref:"item",refInFor:!0,staticClass:"vhl-item",class:t._options.item.class,style:t._style.item},["start"===n.type?t._t("start"):"end"===n.type?t._t("end"):"item"===n.type?t._t("default",(function(){return[t._v(t._s(n))]}),{item:n.item}):t._e()],2)})),t._v(" "),e("div",{style:t._style.tail})],2)])])}),[],!1,null,"72167d74",null).exports},98997:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value","placeholder"],methods:{focus:function(){this.$refs.input.focus()}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("input",{ref:"input",staticClass:"border-gray-500 focus:border-gray-400 focus:ring focus:ring-gray-200 focus:ring-opacity-50 shadow-sm",attrs:{placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports},85457:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["message"]};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}]},[e("p",{staticClass:"text-sm text-red-600"},[t._v("\n        "+t._s(t.message)+"\n    ")])])}),[],!1,null,null,null).exports},82202:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:["value"]};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("label",{staticClass:"block font-medium text-sm text-gray-700"},[t.value?e("span",[t._v(t._s(t.value))]):e("span",[t._t("default")],2)])}),[],!1,null,null,null).exports},48730:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.closeable&&this.$emit("close")}},watch:{show:{immediate:!0,handler:function(t){document.body.style.overflow=t?"hidden":null}}},created:function(){var t=this,e=function(e){"Escape"===e.key&&t.show&&t.close()};document.addEventListener("keydown",e),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)}))},computed:{maxWidthClass:function(){return{sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[this.maxWidth]}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("portal",{attrs:{to:"modal"}},[e("transition",{attrs:{"leave-active-class":"duration-200"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 z-50"},[e("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 transform transition-all",on:{click:t.close}},[e("div",{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),t._v(" "),e("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mb-6 bg-white rounded-lg overflow-hidden shadow-xl transform transition-all sm:w-full sm:mx-auto",class:t.maxWidthClass},[t._t("default")],2)])],1)])],1)}),[],!1,null,null,null).exports},97874:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{links:[Object,Array]}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"flex justify-center -space-x-px text-sm font-medium",attrs:{"aria-label":"Pagination"}},t._l(t.links,(function(n){return e("div",{key:n.label},[n.url?e("inertia-link",{staticClass:"relative inline-flex items-center px-4 py-2 border",class:[n.active?"bg-black border-black text-white":"bg-white text-gray-700 border-gray-300 hover:bg-gray-100"],attrs:{href:n.url}},[t._v("\n            "+t._s(n.label)+"\n        ")]):e("span",{staticClass:"relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-gray-700 hover:bg-gray-100"},[t._v(t._s(n.label))])],1)})),0)}),[],!1,null,null,null).exports},70497:(t,e,n)=>{"use strict";n.d(e,{Z:()=>V});function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=void 0!==n.g&&"[object global]"==={}.toString.call(n.g);function a(t,e){return 0===t.indexOf(e.toLowerCase())?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function s(t){return Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function l(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function c(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function u(t){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(t)}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.url,r=e||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(l(r))return"https://vimeo.com/".concat(r);if(c(r))return r.replace("http:","https:");if(e)throw new TypeError("“".concat(e,"” is not a valid video id."));throw new TypeError("“".concat(r,"” is not a vimeo.com url."))}var h=void 0!==Array.prototype.indexOf,f="undefined"!=typeof window&&void 0!==window.postMessage;if(!(o||h&&f))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!function(t){if(!t.WeakMap){var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),r=function(t,e,r){n?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:r}):t[e]=r};t.WeakMap=function(){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",o("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(t,n){if(!i(t)||!e.call(t,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof t)}function o(t){return t+"_"+a()+"."+a()}function a(){return Math.random().toString().substring(2)}return r(t.prototype,"delete",(function(t){if(n(this,"delete"),!i(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)&&(delete t[this._id],!0)})),r(t.prototype,"get",(function(t){if(n(this,"get"),i(t)){var e=t[this._id];return e&&e[0]===t?e[1]:void 0}})),r(t.prototype,"has",(function(t){if(n(this,"has"),!i(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)})),r(t.prototype,"set",(function(t,e){if(n(this,"set"),!i(t))throw new TypeError("Invalid value used as weak map key");var o=t[this._id];return o&&o[0]===t?(o[1]=e,this):(r(t,this._id,[t,e]),this)})),r(t,"_polyfill",!0),t}()}function i(t){return Object(t)===t}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:p);var m,_,v=(m=function(t){var e,n,r;r=function(){var t,e,n,r=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(t,e,n,r){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!1!==r})}}catch(e){t=function(t,e,n){return t[e]=n,t}}function o(t,r){n.add(t,r),e||(e=i(n.drain))}function a(t){var e,n=typeof t;return null==t||"object"!=n&&"function"!=n||(e=t.then),"function"==typeof e&&e}function s(){for(var t=0;t<this.chain.length;t++)l(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function l(t,e,n){var r,i;try{!1===e?n.reject(t.msg):(r=!0===e?t.msg:e.call(void 0,t.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=a(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(t){n.reject(t)}}function c(t){var e,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(e=a(t))?o((function(){var r=new h(n);try{e.call(t,(function(){c.apply(r,arguments)}),(function(){u.apply(r,arguments)}))}catch(t){u.call(r,t)}})):(n.msg
vendor: 16,676 bytes, line 2
2=t,n.state=1,n.chain.length>0&&o(s,n))}catch(t){u.call(new h(n),t)}}}function u(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&o(s,e))}function d(t,e,n,r){for(var i=0;i<e.length;i++)!function(i){t.resolve(e[i]).then((function(t){n(i,t)}),r)}(i)}function h(t){this.def=t,this.triggered=!1}function f(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function p(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new f(this);this.then=function(t,n){var r={success:"function"!=typeof t||t,failure:"function"==typeof n&&n};return r.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");r.resolve=t,r.reject=e})),e.chain.push(r),0!==e.state&&o(s,e),r.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){c.call(e,t)}),(function(t){u.call(e,t)}))}catch(t){u.call(e,t)}}n=function(){var t,n,r;function i(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,o){r=new i(e,o),n?n.next=r:t=r,n=r,r=void 0},drain:function(){var r=t;for(t=n=e=void 0;r;)r.fn.call(r.self),r=r.next}}}();var m=t({},"constructor",p,!1);return p.prototype=m,t(m,"__NPO__",0,!1),t(p,"resolve",(function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");e(t)}))})),t(p,"reject",(function(t){return new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");n(t)}))})),t(p,"all",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=t.length,o=Array(i),a=0;d(e,t,(function(t,e){o[t]=e,++a===i&&n(o)}),r)}))})),t(p,"race",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):new e((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");d(e,t,(function(t,e){n(e)}),r)}))})),p},(n=p)[e="Promise"]=n[e]||r(),t.exports&&(t.exports=n[e])},m(_={exports:{}},_.exports),_.exports),g=new WeakMap;function y(t,e,n){var r=g.get(t.element)||{};e in r||(r[e]=[]),r[e].push(n),g.set(t.element,r)}function b(t,e){return(g.get(t.element)||{})[e]||[]}function x(t,e,n){var r=g.get(t.element)||{};if(!r[e])return!0;if(!n)return r[e]=[],g.set(t.element,r),!0;var i=r[e].indexOf(n);return-1!==i&&r[e].splice(i,1),g.set(t.element,r),r[e]&&0===r[e].length}function w(t,e){var n=g.get(t);g.set(e,n),g.delete(t)}function k(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.warn(t),{}}return t}function M(t,e,n){if(t.element.contentWindow&&t.element.contentWindow.postMessage){var r={method:e};void 0!==n&&(r.value=n);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),t.element.contentWindow.postMessage(r,t.origin)}}function C(t,e){var n,r=[];if((e=k(e)).event){if("error"===e.event)b(t,e.data.method).forEach((function(n){var r=new Error(e.data.message);r.name=e.data.name,n.reject(r),x(t,e.data.method,n)}));r=b(t,"event:".concat(e.event)),n=e.data}else if(e.method){var i=function(t,e){var n=b(t,e);if(n.length<1)return!1;var r=n.shift();return x(t,e,r),r}(t,e.method);i&&(r.push(i),n=e.value)}r.forEach((function(e){try{if("function"==typeof e)return void e.call(t,n);e.resolve(n)}catch(t){}}))}var S=["autopause","autoplay","background","byline","color","controls","dnt","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return S.reduce((function(e,n){var r=t.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(e[n]=""===r?1:r),e}),e)}function L(t,e){var n=t.html;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((function(r,i){if(!c(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var o="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(t));for(var a in e)e.hasOwnProperty(a)&&(o+="&".concat(a,"=").concat(encodeURIComponent(e[a])));var s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",o,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{var e=JSON.parse(s.responseText);if(403===e.domain_status_code)return L(e,n),void i(new Error("“".concat(t,"” is not embeddable.")));r(e)}catch(t){i(t)}else i(new Error("“".concat(t,"” is not embeddable.")));else i(new Error("“".concat(t,"” was not found.")))},s.onerror=function(){var t=s.status?" (".concat(s.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},s.send()}))}var A=new WeakMap,D=new WeakMap,O={},z=function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!s(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var o=e.querySelector("iframe");o&&(e=o)}if("IFRAME"===e.nodeName&&!c(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(A.has(e))return A.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new v((function(t,r){if(n._onMessage=function(e){if(c(e.origin)&&n.element.contentWindow===e.source){"*"===n.origin&&(n.origin=e.origin);var i=k(e.data);if(i&&"error"===i.event&&i.data&&"ready"===i.data.method){var o=new Error(i.data.message);return o.name=i.data.name,void r(o)}var a=i&&"ready"===i.event,s=i&&"ping"===i.method;if(a||s)return n.element.setAttribute("data-ready","true"),void t();C(n,i)}},n._window.addEventListener("message",n._onMessage),"IFRAME"!==n.element.nodeName){var o=T(e,i);E(d(o),o,e).then((function(t){var r=L(t,e);return n.element=r,n._originalElement=e,w(e,r),A.set(n.element,n),t})).catch(r)}}));if(D.set(this,a),A.set(this.element,this),"IFRAME"===this.element.nodeName&&M(this,"ping"),O.isEnabled){var l=function(){return O.exit()};this.fullscreenchangeHandler=function(){O.isFullscreen?y(n,"event:exitFullscreen",l):x(n,"event:exitFullscreen",l),n.ready().then((function(){M(n,"fullscreenchange",O.isFullscreen)}))},O.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var e,n,o;return e=t,n=[{key:"callMethod",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new v((function(r,i){return e.ready().then((function(){y(e,t,{resolve:r,reject:i}),M(e,t,n)})).catch(i)}))}},{key:"get",value:function(t){var e=this;return new v((function(n,r){return t=a(t,"get"),e.ready().then((function(){y(e,t,{resolve:n,reject:r}),M(e,t)})).catch(r)}))}},{key:"set",value:function(t,e){var n=this;return new v((function(r,i){if(t=a(t,"set"),null==e)throw new TypeError("There must be a value to set.");return n.ready().then((function(){y(n,t,{resolve:r,reject:i}),M(n,t,e)})).catch(i)}))}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===b(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch((function(){})),y(this,"event:".concat(t),e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");x(this,"event:".concat(t),e)&&this.callMethod("removeEventListener",t).catch((function(t){}))}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=D.get(this)||new v((function(t,e){e(new Error("Unknown player. Probably unloaded."))}));return v.resolve(t)}},{key:"addCuePoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return O.isEnabled?O.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return O.isEnabled?O.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return O.isEnabled?v.resolve(O.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new v((function(e){if(D.delete(t),A.delete(t.element),t._originalElement&&(A.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&"DIV"===t.element.nodeName&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var n=t.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&t._originalElement&&t._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}t._window.removeEventListener("message",t._onMessage),O.isEnabled&&O.off("fullscreenchange",t.fullscreenchangeHandler),e()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}}],n&&i(e.prototype,n),o&&i(e,o),t}();o||(O=function(){var t=function(){for(var t,e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=e.length,i={};n<r;n++)if((t=e[n])&&t[1]in document){for(n=0;n<t.length;n++)i[e[0][n]]=t[n];return i}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request:function(e){return new Promise((function(r,i){var o=function t(){n.off("fullscreenchange",t),r()};n.on("fullscreenchange",o);var a=(e=e||document.documentElement)[t.requestFullscreen]();a instanceof Promise&&a.then(o).catch(i)}))},exit:function(){return new Promise((function(e,r){if(n.isFullscreen){var i=function t(){n.off("fullscreenchange",t),e()};n.on("fullscreenchange",i);var o=document[t.exitFullscreen]();o instanceof Promise&&o.then(i).catch(r)}else e()}))},on:function(t,n){var r=e[t];r&&document.addEventListener(r,n)},off:function(t,n){var r=e[t];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return Boolean(document[t.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[t.fullscreenEnabled])}}}),n}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))};e.forEach((function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=T(t);E(d(e),e,t).then((function(e){return L(e,t)})).catch(n)}catch(t){n(t)}}))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(e){if(c(e.origin)&&e.data&&"spacechange"===e.data.event)for(var n=t.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r].contentWindow===e.source){n[r].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}};window.addEventListener("message",e)}}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(e){if(c(e.origin)){var n=k(e.data);if(n&&"ready"===n.event)for(var r=t.querySelectorAll("iframe"),i=0;i<r.length;i++){var o=r[i],a=o.contentWindow===e.source;u(o.src)&&a&&new z(o).callMethod("appendVideoMetadata",window.location.href)}}};window.addEventListener("message",e)}}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
2=!0;var e=function(t){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(t))},n=function(n){if(c(n.origin)){var r=k(n.data);if(r&&"ready"===r.event)for(var i=t.querySelectorAll("iframe"),o=0;o<i.length;o++){var a=i[o],s=a.contentWindow===n.source;u(a.src)&&s&&function(){var t=new z(a);t.getVideoId().then((function(e){var n=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(n&&n[1]){var r=decodeURI(n[1]);t.setCurrentTime(r)}})).catch(e)}()}}};window.addEventListener("message",n)}}());const P=z;var j=n(27418),I=n.n(j);function Y(t){var e=this;this.player.on(t,(function(n){e.$emit(t,n,e.player)}))}var R=["play","playing","pause","ended","timeupdate","progress","seeking","seeked","texttrackchange","chapterchange","cuechange","cuepoint","volumechange","playbackratechange","bufferstart","bufferend","error","loaded","durationchange","fullscreenchange","qualitychange","camerachange","resize"];const F={props:{playerHeight:{default:320},playerWidth:{default:640},options:{type:Object,default:function(){return{}}},videoId:{type:String,default:""},videoUrl:{type:String,default:""},loop:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!0},controls:{type:Boolean,default:!0}},data:function(){return{player:null}},computed:{getOptions:function(){var t={width:this.playerWidth,height:this.playerHeight,loop:this.loop,autoplay:this.autoplay,controls:this.controls};return this.videoUrl&&(t.url=this.videoUrl),this.videoId&&(t.id=this.videoId),I()(t,this.options)}},watch:{videoId:"update",videoUrl:"update",controls:"update"},mounted:function(){this.videoUrl||this.videoId||console.warn("[VueVimeoPlayer]: You must provide at least a videoUrl or videoId"),this.player=new P(this.$refs.player,this.getOptions),this.setEvents()},beforeDestroy:function(){this.player.unload()},methods:{update:function(){return this.player.loadVideo(this.getOptions)},play:function(){return this.player.play()},pause:function(){return this.player.pause()},mute:function(){return this.player.setVolume(0)},fullscreen:function(){this.player.requestFullscreen().then((function(){})).catch((function(t){}))},exitfullscreen:function(){this.player.exitFullscreen().then((function(){})).catch((function(t){}))},getfullscreen:function(){return this.player.getFullscreen()},unmute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5;return this.player.setVolume(t)},setEvents:function(){var t=this;this.player.ready().then((function(){t.$emit("ready",t.player)})).catch((function(e){t.$emit("error",e,t.player)})),R.forEach((function(e){return Y.call(t,e)}))}}},B=F;var N=n(93379),$=n.n(N),Z=n(97867),H={insert:"head",singleton:!1};$()(Z.Z,H);Z.Z.locals;const V=(0,n(51900).Z)(B,(function(){var t=this._self._c;return t("div",{staticClass:"vimeo bg-black relative flex justify-center flex-initial"},[t("div",{staticClass:"w-full"},[t("div",{staticClass:"fLvORi w-full static my-0 mx-auto"},[t("div",{staticClass:"layout relative w-full h-0"},[t("div",{ref:"player",staticClass:"w-full h-full absolute"})])])])])}),[],!1,null,null,null).exports},42893:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{ZestDialogModal:n(50171).Z},props:{url:String,title:String,iconSize:{type:String,default:"text-2xl"}},data:function(){return{shareModal:!1}},methods:{share:function(){var t=!1;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(t=!0),t&&navigator.share?navigator.share({title:document.title,url:this.url}):this.shareModal=!0},closeShareModal:function(){this.shareModal=!1},copyUrl:function(){var t=this.$refs.shareLink;t.innerHTML=window.location.href,t.select(),document.execCommand("copy")}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"cursor-pointer text-center",on:{click:t.share}},[e("font-awesome-icon",{class:t.iconSize,attrs:{icon:["fas","share"]}}),e("br"),t._v("Partager\n    ")],1),t._v(" "),e("zest-dialog-modal",{attrs:{show:t.shareModal},on:{close:t.closeShareModal},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n            Partager\n        ")]},proxy:!0},{key:"content",fn:function(){return[e("div",{staticClass:"flex justify-center"},[e("a",{staticClass:"font-bold py-4 px-5 inline-flex items-center text-white mx-1",staticStyle:{"background-color":"#3b5998"},attrs:{target:"_blank",href:"https://www.facebook.com/dialog/share?app_id="+t.$page.props.facebook_app_id+"&href="+t.url+"&display=popup"}},[e("font-awesome-icon",{staticClass:"text-2xl w-15",attrs:{icon:["fab","facebook-f"]}})],1),t._v(" "),e("a",{staticClass:"font-bold py-4 px-4 inline-flex items-center text-white mx-1",staticStyle:{"background-color":"#1da1f2"},attrs:{target:"_blank",href:"https://twitter.com/intent/tweet?url="+t.url}},[e("font-awesome-icon",{staticClass:"text-2xl w-15",attrs:{icon:["fab","twitter"]}})],1),t._v(" "),e("a",{staticClass:"bg-black font-bold py-4 px-4 inline-flex items-center text-white mx-1",attrs:{target:"_blank",href:"mailto:?subject="+t.title+"&body="+t.url}},[e("font-awesome-icon",{staticClass:"text-2xl w-15",attrs:{icon:["fas","envelope"]}})],1)]),t._v(" "),e("div",{staticClass:"border flex justify-between mt-5"},[e("input",{ref:"shareLink",staticClass:"border-0 w-full focus:border-black focus:ring-black",attrs:{type:"text",readonly:""},domProps:{value:t.url}}),t._v(" "),e("div",{staticClass:"my-auto px-6"},[e("button",{staticClass:"text-right focus:outline-none",on:{click:t.copyUrl}},[t._v("COPIER")])])])]},proxy:!0}])})],1)}),[],!1,null,null,null).exports},55854:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{string:String,type:String}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return t.string?e("ul",t._l(t.string.split(";"),(function(n){return e("li",{staticClass:"inline-block mr-2 mb-3"},[e("inertia-link",{staticClass:"py-1 px-2 whitespace-nowrap",staticStyle:{"background-color":"#E0E0E0"},attrs:{href:t.route("search.tags",[n,t.type])}},[t._v("\n            "+t._s(n)+"\n        ")])],1)})),0):t._e()}),[],!1,null,null,null).exports},22593:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});const r={model:{prop:"checked",event:"change"},props:{checked:{type:[Array,Boolean,Number],default:!1},value:{default:null},name:{default:null},required:{default:!1}},computed:{proxyChecked:{get:function(){return this.checked},set:function(t){this.$emit("change",t)}}}};var i=n(93379),o=n.n(i),a=n(48350),s={insert:"head",singleton:!1};o()(a.Z,s);a.Z.locals;const l=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"relative inline-block w-16 mr-2 align-middle select-none transition duration-200 ease-in"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.proxyChecked,expression:"proxyChecked"}],staticClass:"toggle-checkbox absolute block w-5 h-5 mt-0.5 mx-0.5 rounded-full bg-white text-white border-0 appearance-none cursor-pointer focus:outline-none focus:shadow-none",attrs:{type:"checkbox",id:"toggle"+t.name,required:t.required},domProps:{value:t.value,checked:Array.isArray(t.proxyChecked)?t._i(t.proxyChecked,t.value)>-1:t.proxyChecked},on:{change:function(e){var n=t.proxyChecked,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t.value,a=t._i(n,o);r.checked?a<0&&(t.proxyChecked=n.concat([o])):a>-1&&(t.proxyChecked=n.slice(0,a).concat(n.slice(a+1)))}else t.proxyChecked=i}}}),t._v(" "),e("label",{staticClass:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-200 cursor-pointer",attrs:{for:"toggle"+t.name}})])}),[],!1,null,null,null).exports},66772:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={computed:{errors:function(){return this.$page.props.errors},hasErrors:function(){return Object.keys(this.errors).length>0}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return t.hasErrors?e("div",[e("div",{staticClass:"font-medium text-red-600"},[t._v("Oups! Il y a eu quelques problèmes avec votre saisie.")]),t._v(" "),e("ul",{staticClass:"mt-3 list-disc list-inside text-sm text-red-600"},t._l(t.errors,(function(n,r){return e("li",{key:r},[t._v(t._s(n))])})),0)]):t._e()}),[],!1,null,null,null).exports},47076:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{video:[Object,Array],showCategory:{type:Boolean,default:!1},href:{type:String,default:function(){return route("video.show",this.video.slug)}},positionDate:{type:String,default:"bottom"}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("inertia-link",{attrs:{href:t.href}}
2,["top"==t.positionDate?e("h4",{staticClass:"text-sm font-bold text-center sm:text-left my-2 capitalize"},[t._v(t._s(t._f("moment")(t.video.published_at,"DD MMMM YYYY")))]):t._e(),t._v(" "),e("div",{staticClass:"relative"},[e("img",{attrs:{src:t.video.photo,alt:""}}),t._v(" "),e("span",{staticClass:"absolute right-0 bottom-0 text-white p-1 text-sm",staticStyle:{"background-color":"#333030"}},[t._v(t._s(t.video.duration))])]),t._v(" "),e("div",{staticClass:"text-center sm:text-left mt-2"},[t.showCategory?e("h1",{staticClass:"uppercase font-bold"},[t._v(t._s(t.video.categorie.name))]):t._e(),t._v(" "),e("h2",{staticClass:"font-bold"},[t.video.episode?e("span",[t._v("Épisode "+t._s(t.video.episode)+" - ")]):t._e(),t._v(t._s(t.video.title))]),t._v(" "),t.video.place||t.video.city?e("h3",[t._v(t._s(t.video.place)),t.video.place&&t.video.city?e("span",[t._v(" - ")]):t._e(),t._v(t._s(t.video.city))]):t._e(),t._v(" "),"bottom"==t.positionDate?e("h4",{staticClass:"capitalize text-xs"},[t._v(t._s(t._f("moment")(t.video.published_at,"DD MMMM YYYY")))]):t._e()])])}),[],!1,null,null,null).exports},4420:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{CardVideo:n(47076).Z},props:{videos:[Object,Array],showCategory:{type:Boolean,default:!1}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-wrap justify-center"},t._l(t.videos,(function(n){return e("div",{key:n.id,staticClass:"w-full sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3"},[e("card-video",{attrs:{video:n,"show-category":t.showCategory}}
2)],1)})),0)}),[],!1,null,null,null).exports},85575:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{video:[Object,Array],showCategory:{type:Boolean,default:!0}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("inertia-link",{attrs:{href:t.route("video.show",t.video.slug)}},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"header-img",attrs:{src:t.video.photo,alt:""}}),t._v(" "),e("font-awesome-icon",{staticClass:"text-6xl sm:text-8xl absolute left-0 right-0 text-center text-white sm:w-1/2 mx-auto",attrs:{icon:["far","play-circle"]}})],1),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[t.showCategory?e("h1",{staticClass:"text-4xl font-bold uppercase mb-1"},[t._v(t._s(t.video.categorie.name))]):t._e(),t._v(" "),e("h2",{staticClass:"text-xl font-bold mb-1"},[t.video.episode?e("span",[t._v("Épisode "+t._s(t.video.episode)+" - ")]):t._e(),t._v(t._s(t.video.title))]),t._v(" "),t.video.resume?e("p",[t._v(t._s(t.video.resume))]):e("p",{staticClass:"page-content",domProps:{innerHTML:t._s(t.video.description)}})])])],1)}),[],!1,null,null,null).exports},58161:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{type:{type:String,default:"submit"}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},11137:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{JetSectionTitle:n(31040).Z},computed:{hasActions:function(){return!!this.$slots.actions}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("jet-section-title",{scopedSlots:t._u([{key:"title",fn:function(){return[t._t("title")]},proxy:!0},{key:"description",fn:function(){return[t._t("description")]},proxy:!0}],null,!0)}),t._v(" "),e("div",[e("form",{on:{submit:function(e){return e.preventDefault(),t.$emit("submitted")}}},[e("div",{staticClass:"overflow-hidden"},[e("div",{staticClass:"py-5 my-5"},[t._t("form")],2),t._v(" "),t.hasActions?e("div",{staticClass:"text-center my-4"},[t._t("actions")],2):t._e()])])])],1)}),[],!1,null,null,null).exports},31040:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=(0,n(51900).Z)({},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"px-4 sm:px-0"},[e("h3",{staticClass:"text-2xl uppercase font-medium text-gray-900"},[t._t("title")],2),t._v(" "),e("p",{staticClass:"mt-1 text-lg text-gray-600"},[t._t("description")],2)])])}),[],!1,null,null,null).exports},34647:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(11589);const i={props:["href","active","as"],computed:{classes:function(){return this.active?"bg-blue-100 text-blue-600 border-blue-600":"border-white text-gray-700 hover:bg-blue-100 hover:border-blue-600 hover:text-blue-600"}}};var o=n(51900);const a=(0,o.Z)(i,(function(){var t=this,e=t._self._c;return e("div",["button"==t.as?e("button",{staticClass:"flex items-center duration-200 py-3 px-6 border-l-4 w-full focus:outline-none",class:t.classes,attrs:{type:"submit"}},[t._t("default")],2):"target_blank"==t.as?e("a",{staticClass:"flex items-center duration-200 py-3 px-6 border-l-4",class:t.classes,attrs:{href:t.href,target:"_blank"}},[t._t("default")],2):e("inertia-link",{staticClass:"flex items-center duration-200 py-3 px-6 border-l-4",class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports,s={components:{ZestBanner:r.Z,NavLink:a},data:function(){return{open:!1}},methods:{logout:function(){this.$inertia.post(route("logout"))}}};const l=(0,o.Z)(s,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"flex h-screen bg-gray-100"},[e("div",{staticClass:"flex"},[e("div",{staticClass:"fixed z-20 inset-0 bg-black opacity-50 transition-opacity lg:hidden",class:t.open?"block":"hidden",on:{click:function(e){t.open=!1}}}),t._v(" "),e("div",{staticClass:"fixed z-30 inset-y-0 left-0 w-64 transition duration-300 transform bg-white border overflow-y-auto lg:translate-x-0 lg:static lg:inset-0",class:t.open?"translate-x-0 ease-out":"-translate-x-full ease-in"},[e("div",{staticClass:"flex items-center justify-center mt-8"},[e("div",{staticClass:"flex items-center"},[e("inertia-link",{attrs:{href:t.route("admin.index")}},[e("img",{staticClass:"w-full px-20",attrs:{src:"/images/logo.png",alt:"",width:"40px"}})])],1)]),t._v(" "),e("nav",{staticClass:"mt-10"}
2,[e("nav-link",{attrs:{href:t.route("admin.index"),active:"home"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","home"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Accueil")])],1),t._v(" "),"superadmin"==t.$page.props.user.roles[0].name?e("div",[e("nav-link",{attrs:{href:t.route("admin.types.index"),active:"types"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","list"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Types")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.categories.index"),active:"categories"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","list"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Catégories")])],1)],1):t._e(),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.videos.index"),active:"videos"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","video"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Vidéos")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.articles.index"),active:"articles"==t.$page.props.currentMenu}}
2,[e("font-awesome-icon",{attrs:{icon:["fas","newspaper"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Articles")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.magazines.index"),active:"magazines"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","book"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Magazines")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.agendas.index"),active:"agendas"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","calendar-alt"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Agenda")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.events.index"),active:"events"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","calendar-day"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Évènements")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.shops.index"),active:"shops"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","map-marked-alt"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Établissements")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.members.index"),active:"members"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","users"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Membres")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.ads.index"),active:"ads"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fab","adversal"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Publicités")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.pages.index"),active:"pages"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","file-alt"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Pages")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.authors.index"),active:"authors"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","pencil-alt"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Auteurs")])],1),t._v(" "),e("nav-link",{attrs:{href:t.route("admin.users.index"),active:"users"==t.$page.props.currentMenu}},[e("font-awesome-icon",{attrs:{icon:["fas","user-cog"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Administrateurs")])],1),t._v(" "),t._e(),t._v(" "),e("nav-link",{attrs:{href:"/",as:"target_blank"}},[e("font-awesome-icon",{attrs:{icon:["fas","desktop"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Voir le site")])],1),t._v(" "),e("div",[e("a",{staticClass:"flex items-center duration-200 py-3 px-6 border-l-4 w-full focus:outline-none border-white text-gray-700 hover:bg-blue-100 hover:border-blue-600 hover:text-blue-600",attrs:{href:t.route("logout"),onclick:"event.preventDefault();\n                                                     document.getElementById('logout-form').submit();"}},[e("font-awesome-icon",{attrs:{icon:["fas","sign-out-alt"]}}),t._v(" "),e("span",{staticClass:"mx-4"},[t._v("Se déconnecter")])],1),t._v(" "),e("form",{staticStyle:{display:"none"},attrs:{id:"logout-form",action:t.route("logout"),method:"POST"}})])],1)])]),t._v(" "),e("div",{staticClass:"flex-1 flex flex-col overflow-hidden"},[e("header",{staticClass:"flex py-6 px-6 bg-white border-b"},[e("div",{staticClass:"flex items-center"},[e("button",{staticClass:"text-gray-500 focus:outline-none lg:hidden lg:mr-10",on:{click:function(e){t.open=!0}}},[e("svg",{staticClass:"h-6 w-6",attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M4 6H20M4 12H20M4 18H11",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),t._v(" "),e("div",{staticClass:"container mx-auto px-6"},[e("h3",{staticClass:"text-gray-700 text-3xl font-medium uppercase"},[t._v("\n                        "+t._s(t.$page.props.title)+"\n                    ")])])]),t._v(" "),e("main",{staticClass:"flex-1 overflow-x-hidden overflow-y-auto"},[e("div",{staticClass:"container mx-auto px-6 py-8"},[e("zest-banner"),t._v(" "),t._t("default")],2)])])])])}),[],!1,null,null,null).exports},85489:(t,e,n)=>{"use strict";n.d(e,{Z:()=>E}
2);var r=n(51900);const i=(0,r.Z)({},(function(){var t=this._self._c;return t("svg",{attrs:{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M11.395 44.428C4.557 40.198 0 32.632 0 24 0 10.745 10.745 0 24 0a23.891 23.891 0 0113.997 4.502c-.2 17.907-11.097 33.245-26.602 39.926z",fill:"#6875F5"}}),this._v(" "),t("path",{attrs:{d:"M14.134 45.885A23.914 23.914 0 0024 48c13.255 0 24-10.745 24-24 0-3.516-.756-6.856-2.115-9.866-4.659 15.143-16.608 27.092-31.75 31.751z",fill:"#6875F5"}})])}),[],!1,null,null,null).exports;const o={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}},mounted:function(){var t=this;setTimeout((function(){t.show=!1}),5e3)}};const a=(0,r.Z)(o,(function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{"leave-active-class":"ease-in-out duration-300","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[t.show&&t.message?e("div",{staticClass:"mb-5",class:{"bg-green-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[e("div",{staticClass:"mx-auto py-2 px-3 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex items-center justify-between flex-wrap"},[e("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[e("span",{staticClass:"flex p-2 rounded-lg",class:{"bg-green-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]):t._e(),t._v(" "),"danger"==t.style?e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):t._e()]),t._v(" "),e("p",{staticClass:"ml-3 font-medium text-sm text-white truncate"},[t._v("\n                            "+t._s(t.message)+"\n                        ")])]),t._v(" "),e("div",{staticClass:"flex-shrink-0 sm:ml-3"},[e("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-green-600 focus:bg-green-600":"success"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[e("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])],1)}),[],!1,null,null,null).exports;const s={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var t=this,e=function(e){t.open&&27===e.keyCode&&(t.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)})),document.addEventListener("keydown",e)},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"origin-top-right right-0":"origin-top"}}};const l=(0,r.Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"relative"},[e("div",{on:{click:function(e){t.open=!t.open}}},[t._t("trigger")],2),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(e){t.open=!1}}}),t._v(" "),e("transition",{attrs:{"enter-active-class":"transition ease-out duration-200","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow-lg",class:[t.widthClass,t.alignmentClasses],staticStyle:{display:"none"},on:{click:function(e){t.open=!1}}},[e("div",{staticClass:"ring-1 ring-black ring-opacity-5",class:t.contentClasses}
2,[t._t("content")],2)])])],1)}),[],!1,null,null,null).exports;const c={props:["href","as"]};const u=(0,r.Z)(c,(function(){var t=this,e=t._self._c;return e("div",["button"==t.as?e("button",{staticClass:"block w-full px-4 py-2 text-sm leading-5 text-gray-700 text-left hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{type:"submit"}},[t._t("default")],2):"a"==t.as?e("a",{staticClass:"block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:t.href}},[t._t("default")],2):e("inertia-link",{staticClass:"block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports;const d={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 text-sm leading-5 text-gray-900 font-black":"inline-flex items-center px-1 pt-1 text-sm font-normal leading-5"}}};const h=(0,r.Z)(d,(function(){var t=this;return(0,t._self._c)("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports;const f={props:["href","active"],computed:{classes:function(){return this.active?"p-2 relative block font-black":"p-2 relative block"}}};const p=(0,r.Z)(f,(function(){var t=this;return(0,t._self._c)("inertia-link",{class:t.classes,attrs:{href:t.href},on:{click:function(e){return t.$emit("click")}}},[t._t("default")],2)}),[],!1,null,null,null).exports;const m={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const _=(0,r.Z)(m,(function(){var t=this,e=t._self._c;return e("div",["button"==t.as?e("button",{staticClass:"w-full text-left",class:t.classes},[t._t("default")],2):e("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports;const v={props:["on"]};const g=(0,r.Z)(v,(function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{"leave-active-class":"transition ease-in duration-1000","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.on,expression:"on"}],staticClass:"text-sm text-gray-600"},[t._t("default")],2)])],1)}),[],!1,null,null,null).exports;var y=n(98997),b=n(30381),x=n.n(b);function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const M={components:{ZestInput:y.Z},data:function(){return{form:this.$inertia.form({email:""})}},methods:{moment:function(){return x()()},submit:function(){var t=this;this.form.transform((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t)})).post(this.route("newsletter"),{preserveScroll:!0,onSuccess:function(){return t.form.email=""}})}}};const C=(0,r.Z)(M,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"text-center p-3 sm:p-8 pt-10 mt-20",staticStyle:{"background-color":"#EAE8E8"}},[e("div",{staticClass:"md:container md:mx-auto"},[e("div",{staticClass:"md:flex md:justify-between"},[e("div",[e("h3",{staticClass:"font-semibold text-lg mb-3"},[t._v("Abonne-toi à la newsletter ZEST")]),t._v(" "),e("div",{staticClass:"flex justify-center mx-auto"},[e("form",{attrs:{"preserve-scroll":""},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-input",{staticClass:"sm:w-80",attrs:{id:"newsletter_subscribe_email",type:"email",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),e("button",{staticClass:"bg-black w-10 h-full -ml-1.5",class:{"opacity-25":t.form.processing},attrs:{type:"submit",disabled:t.form.processing}},[e("font-awesome-icon",{staticClass:"text-white max-w-5 w-5 text-xl",attrs:{icon:["fas","check"]}})],1)],1)]),t._v(" "),e("transition",{attrs:{"leave-active-class":"transition ease-in duration-1000","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.form.recentlySuccessful,expression:"form.recentlySuccessful"}],staticClass:"my-3 text-green-600"},[t._v("\n                        Enregistré\n                    ")])]),t._v(" "),e("div",{staticClass:"my-5"},[e("a",{attrs:{href:"https://www.youtube.com/channel/UCW73hyC6gysajjX-L-_SzLA",target:"_blank"}},[e("font-awesome-icon",{staticClass:"max-w-8 w-8 mx-5 text-3xl",attrs:{icon:["fab","y
2outube"]}})],1),t._v(" "),e("a",{attrs:{href:"https://www.instagram.com/lebonzest/",target:"_blank"}},[e("font-awesome-icon",{staticClass:"max-w-8 w-8 mx-5 text-3xl",attrs:{icon:["fab","instagram"]}})],1),t._v(" "),e("a",{attrs:{href:"https://www.facebook.com/LebonZEST",target:"_blank"}},[e("font-awesome-icon",{staticClass:"max-w-8 w-8 mx-5 text-3xl",attrs:{icon:["fab","facebook-f"]}})],1)])],1),t._v(" "),e("div",[e("ul",{staticClass:"mb-3 md:text-right"},[e("li",{staticClass:"my-1"},[e("inertia-link",{attrs:{href:t.route("register")}},[t._v("Devenir membre de la communauté")])],1),t._v(" "),e("li",{staticClass:"my-1"},[e("inertia-link",{attrs:{href:t.route("pages.show","qui-sommes-nous")}},[t._v("Qui sommes-nous ?")])],1),t._v(" "),e("li",{staticClass:"my-1"},[e("inertia-link",{attrs:{href:t.route("contact.index")}},[t._v("Contactez-nous")])],1),t._v(" "),e("li",{staticClass:"my-1"},[e("inertia-link",{attrs:{href:t.route("pages.show","politique-de-confidentialite")}},[t._v("Politique de confidentialité")])],1),t._v(" "),t._m(0),t._v(" "),e("li",{staticClass:"my-1"},[e("inertia-link",{attrs:{href:t.route("pages.show","mentions-legales")}},[t._v("Mentions légales")])],1)]),t._v(" "),t._m(1),t._v(" "),t._m(2)])]),t._v(" "),e("p",{staticClass:"text-xs sm:mt-10"},[t._v("©"+t._s(t.moment().format("YYYY"))+" INLOVATION SARL TOUS DROITS RESERVES")])])])}),[function(){var t=this._self._c;return t("li",{staticClass:"my-1"},[t("a",{attrs:{href:"javascript:openAxeptioCookies()"}},[this._v("Gérer mes cookies/samoussas")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-wrap justify-center mt-5 mb-3 mx-auto md:justify-end"},[e("img",{staticClass:"m-1",attrs:{src:"/images/footer/prefet_reunion.png",alt:"Préfet de la Région Réunion"}}),t._v(" "),e("img",{staticClass:"m-1",attrs:{src:"/images/footer/inlovation.png",alt:"Inlovation"}}),t._v(" "),e("img",{staticClass:"m-1",attrs:{src:"/images/footer/guide_kaspro.png",alt:"Guide Kaspro"}})])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"text-xs md:text-right mb-5"},[t._v("Ce site Internet a été cofinancé par l'Etat,"),e("br"),t._v("au titre du Contrat de Convergence"),e("br"),t._v("et de Transformation 2019-2022")])}],!1,null,null,null).exports;var S=n(79140),T=n(11589);const L={components:{JetApplicationMark:i,JetBanner:a,ZestDropdown:l,JetDropdownLink:u,ZestNavLink:h,ZestSidenavLink:p,JetResponsiveNavLink:_,JetActionMessage:g,ZestFooter:C,AdInterstitial:S.default,ZestBanner:T.Z},props:{canLogin:Boolean,canRegister:Boolean,laravelVersion:String,phpVersion:String},data:function(){return{open:!1,showingNavigationDropdown:!1}},methods:{logout:function(){this.$inertia.post(route("logout"))}},metaInfo:function(){return{title:this.$page.props.seo?this.$page.props.seo.title:"Zest"}}};const E=(0,r.Z)(L,(function(){var t=this,e=t._self._c;return e("div",[e("ad-interstitial"),t._v(" "),e("div",{staticClass:"OutOfPage",staticStyle:{display:"none"},attrs:{id:"optidigital-adslot-OutOfPage"}}),t._v(" "),e("transition",{attrs:{"enter-active-class":"ease-in-out duration-500","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in-out duration-500","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 overflow-hidden z-50"},[e("div",{staticClass:"absolute inset-0 overflow-hidden"},[e("div",{staticClass:"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"},on:{click:function(e){t.open=!1}}}),t._v(" "),e("transition",{attrs:{"enter-active-class":"transform transition ease-in-out duration-500","enter-class":"-translate-x-full","enter-to-class":"translate-x-0","leave-active-class":"transform transition ease-in-out duration-500","leave-class":"translate-x-0","leave-to-class":"-translate-x-full"}},[e("section",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute inset-y-0 left-0 max-w-xs flex",attrs:{"aria-labelledby":"slide-over-heading"}},[e("div",{staticClass:"relative w-screen max-w-md"},[e("div",{staticClass:"h-full flex flex-col py-6 bg-white shadow-xl overflow-y-scroll"},[e("div",{staticClass:"px-4 sm:px-6"},[e("button",{staticClass:"text-white bg-black focus:outline-none",on:{click:function(e){t.open=!1}}},[e("span",{staticClass:"sr-only"},[t._v("Close panel")]),t._v(" "),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),t._v(" "),e("div",{staticClass:"mt-6 relative flex-1 px-4 sm:px-6"},[e("hr",{staticClass:"border-black"}),t._v(" "),e("ul",[e("li",[e("zest-sidenav-link",{attrs:{href:t.route("homepage"),active:"homepage"==this.route().current()||"video.show"==this.route().current()||"video.categorie"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    ZEST TV\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","show-devant")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    SHOW DEVANT\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","le-bon-zest-les-tutos")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    LE BON ZEST, LES TUTOS\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","recettes")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    RECETTES\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","goutsa")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    GOUTSA\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","zot-grin-dsel")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    ZOT GRIN D'SEL\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("video.categorie","decouverte")},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    DECOUVERTE\n                                                ")])],1)]),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),e("ul",[e("li",[e("zest-sidenav-link",{attrs:{href:t.route("article.index"),active:"article.index"==this.route().current()||"article.show"==this.route().current()||"article.categorie"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    WEBZINE\n                                                ")])],1),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("kitchen.index"),active:"kitchen.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    EN CUISINE\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("terroir.index"),active:"terroir.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    TERROIR\n                                                ")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("chefs.index"),active:"chefs.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    CHEFS\n                                                ")])],1),t._v(" "),t._e()]),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),e("ul",[e("li",[e("zest-sidenav-link",{attrs:{href:t.route("agenda.index"),active:"agenda.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("\n                                                    AGENDA\n                                                ")])],1)]),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),e("ul",[e("li",[e("zest-sidenav-link",{attrs:{href:t.route("evenements.index"),active:"evenements.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("EVENEMENTS")])],1)]),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),t._e(),t._v(" "),e("ul",[e("li",[e("zest-sidenav-link",{attrs:{href:t.route("magazine.index"),active:"magazine.index"==this.route().current()},on:{click:function(e){t.open=!1}}},[t._v("MAGAZINE")])],1),t._v(" "),e("li",[e("zest-sidenav-link",{attrs:{href:t.route("carte.index"),active:"carte.index"==this.route().current()},on:{click:function(e){t.open=!1}}}
2,[t._v("A LA CARTE")])],1)])])])])])])],1)])]),t._v(" "),e("div",{staticClass:"fixed bg-white left-0 right-0 top-0 z-40"},[e("div",{staticClass:"container mx-auto px-4 sm:px-0 pt-5"},[e("div",{staticClass:"flex justify-between"},[e("div",{staticClass:"flex content-center"},[e("button",{staticClass:"focus:outline-none h-8 w-16 sm:h-10 sm:w-32 my-auto",on:{click:function(e){t.open=!0}}},[e("svg",{staticClass:"h-8 sm:h-10",attrs:{stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"}})])])]),t._v(" "),e("div",{staticClass:"flex"},[e("inertia-link",{attrs:{href:"/"}},[e("img",{staticClass:"w-24 sm:w-40 mx-auto",attrs:{src:"/images/logo.png",alt:""}})])],1),t._v(" "),e("div",{staticClass:"flex inline-flex"},[e("inertia-link",{staticClass:"focus:outline-none mr-2 sm:mr-5 my-auto cursor-pointer",attrs:{href:t.route("search.index")}},[e("svg",{staticClass:"h-8 w-8 p-1 bg-black text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}})])]),t._v(" "),e("inertia-link",{staticClass:"focus:outline-none mr-2 sm:mr-5 my-auto cursor-pointer whitespace-nowrap",class:"video.favorites"==this.route().current()?"text-zest-yellow":"",attrs:{href:t.route("video.favorites")}},[e("font-awesome-icon",{staticClass:"text-2xl my-auto mt-1",attrs:{icon:["fas","play"]}}),t._v(" "),this.$page.props.nb_videos_saved>0?e("span",{staticClass:"text-xl ml-1"},[t._v(t._s(this.$page.props.nb_videos_saved))]):t._e()],1),t._v(" "),t.$page.props.user?e("div",{staticClass:"relative my-auto"},[e("zest-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[e("button",{staticClass:"border-0 focus:outline-none my-auto mt-1.5",attrs:{type:"button"}},[e("svg",{staticClass:"h-8 w-8 sm:h-8 sm:w-8 p-1 bg-black text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}})])])]},proxy:!0},{key:"content",fn:function(){return[t.$page.props.user.is_member?e("div",[e("jet-dropdown-link",{attrs:{href:t.route("dashboard")}},[t._v("\n                                            Tableau de bord\n                                        ")]),t._v(" "),e("jet-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n                                            Mon compte\n                                        ")])],1):e("jet-dropdown-link",{attrs:{as:"a",href:t.route("admin.index")}},[t._v("\n\t\t\t\t\t\t\t\t\t\tAdministrateur\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"border-t border-gray-100"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.logout.apply(null,arguments)}}},[e("jet-dropdown-link",{attrs:{as:"button"}},[t._v("\n                                            Se déconnecter\n                                        ")])],1)]},proxy:!0}],null,!1,2314809307)})],1):e("inertia-link",{staticClass:"focus:outline-none my-auto",attrs:{href:t.route("login")}},[e("svg",{staticClass:"h-8 w-8 p-1 bg-black text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}})])])],1)])]),t._v(" "),e("nav",{staticClass:"overflow-hidden overflow-x-auto bg-white border-0 sm:border-t-2 sm:border-b-2 sm:border-gray-200 my-0 mt-3 sm:mt-5"},[e("div",{staticClass:"mx-auto px-4 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex justify-between h-10 sm:h-16"},[e("div",{staticClass:"flex mx-auto"},[e("div",{staticClass:"flex space-x-5 md:space-x-16"},[e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("homepage"),active:"homepage"==this.route().current()||"video.show"==this.route().current()||"video.categorie"==this.route().current()}},[t._v("\n                                    ZEST TV\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("article.index"),active:"article.index"==this.route().current()||"article.show"==this.route().current()||"article.categorie"==this.route().current()}},[t._v("\n                                    WEBZINE\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("terroir.index"),active:"terroir.index"==this.route().current()}},[t._v("\n                                    TERROIR\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("kitchen.index"),active:"kitchen.index"==this.route().current()}},[t._v("\n                                    EN CUISINE\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("agenda.index"),active:"agenda.index"==this.route().current()||"agenda.show"==this.route().current()||"agenda.filter"==this.route().current()}},[t._v("\n                                    AGENDA\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap",attrs:{href:t.route("evenements.index"),active:"evenements.index"==this.route().current()}},[t._v("\n                                    EVENEMENTS\n                                ")]),t._v(" "),t._e(),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap pl-1 pr-4 sm:pr-0",attrs:{href:t.route("magazine.index"),active:"magazine.index"==this.route().current()}},[t._v("\n                                    MAGAZINE\n                                ")]),t._v(" "),e("zest-nav-link",{staticClass:"whitespace-nowrap pl-1 pr-4 sm:pr-0",attrs:{href:t.route("carte.index"),active:"carte.index"==this.route().current()}},[t._v("\n                                    A LA CARTE\n                                ")])],1)])])])])]),t._v(" "),e("main",{staticClass:"mt-32 sm:mt-52"},[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"Mobile_Top",staticStyle:{display:"none"}}),t._v(" "),e("zest-banner")],1),t._v(" "),t._t("default")],2),t._v(" "),e("zest-footer"),t._v(" "),e("portal-target",{attrs:{name:"modal",multiple:""}})],1)}),[],!1,null,null,null).exports},20477:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={props:{desktop:{default:!0},mobile:{default:!0}},data:function(){return{ad:!1,show:!1}},methods:{click:function(){axios.get(route("ads.click",this.ad)).then(function(t){}.bind(this)),window.open(this.ad.url,"_blank")}},mounted:function(){axios.get(route("ads.banner")).then(function(t){t.data.success&&(this.show=t.data.success,this.ad=t.data.ad)}.bind(this))}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.show&&t.ad,expression:"show && ad"}]},[e("button",{staticClass:"focus:outline-none mx-auto block",on:{click:t.click}},[t.desktop?e("img",{staticClass:"mx-auto hidden md:block",staticStyle:{"max-width":"inherit"},attrs:{src:t.ad.format_300_600,alt:""}}):t._e(),t._v(" "),t.mobile?e("img",{staticClass:"mx-auto my-3 md:hidden",staticStyle:{"max-width":"inherit"},attrs:{src:t.ad.format_300_600,alt:""}}):t._e()])])}),[],!1,null,null,null).exports},20821:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={props:{desktop:{default:!0},mobile:{default:!0}},data:function(){return{ad:!1,show:!1}},methods:{click:function(){axios.get(route("ads.click",this.ad)).then(function(t){}.bind(this)),window.open(this.ad.url,"_blank")}},mounted:function(){axios.get(route("ads.banner")).then(function(t){t.data.success&&(this.show=t.data.success,this.ad=t.data.ad)}.bind(this))}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.show&&t.ad,expression:"show && ad"}]},[e("button",{staticClass:"my-3 focus:outline-none mx-auto block",on:{click:t.click}},[t.desktop?e("img",{staticClass:"mx-auto hidden md:block",attrs:{src:t.ad.format_1920_260,alt:""}}):t._e(),t._v(" "),t.mobile?e("img",{staticClass:"mx-auto md:hidden",attrs:{src:t.ad.format_600_200,alt:""}}):t._e()])])}),[],!1,null,null,null).exports},79140:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var r=n(48730),i=n(70497);const o={components:{Modal:r.Z,Player:i.Z},props:{},data:function(){return{ad:!1,show:!1}},methods:{click:function(){axios.get(route("ads.click",this.ad)).then(function(t){}.bind(this)),this.show=!1,window.open(this.ad.url,"_blank")},close:function(){this.$refs.player&&this.$refs.player.pause(),this.show=!1}},mounted:function(){axios.get(route("ads.interstitial")).then(function(t){t.data.success&&(this.show=t.data.success,this.ad=t.data.ad)}.bind(this))}};const a=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("portal",{attrs:{to:"modal"}},[e("transition",{attrs:{"leave-active-class":"duration-200"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show&&t.ad,expression:"show && ad"}],staticClass:"fixed inset-0 overflow-y-auto px-0 z-50 flex max-h-screen justify-center items-center"},[e("div",{staticClass:"fixed inset-0 transform transition-all"},[e("div",{staticClass:"absolute inset-0 bg-white"})]),t._v(" "),e("button",{staticClass:"text-4xl absolute right-2 top-2 z-50",attrs:{type:"button"},on:{click:t.close}},[e("img",{staticStyle:{width:"51px",height:"51px"},attrs:{src:"/images/close_btn.png",alt:""}})]),t._v(" "),e("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[e("div",{staticClass:"w-full md:w-auto"},[e("div",{staticClass:"bg-white overflow-hidden transform transition-all sm:w-full sm:mx-auto"},[t.ad.vimeo_id?e("player",{ref:"player",attrs:{"video-id":t.ad.vimeo_id},on:{ended:t.close}}):e("button",{staticClass:"block",on:{click:t.click}},[e("img",{staticClass:"max-h-screen mx-auto hidden md:block",attrs:{src:t.ad.format_2048_1536,alt:""}}),t._v(" "),e("img",{staticClass:"max-h-screen mx-auto md:hidden",attrs:{src:t.ad.format_1536_2048,alt:""}}
2)])],1)])])],1)])],1)}),[],!1,null,null,null).exports},64846:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(42872),p=n(12771),m=n(97134);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Dropzone:f.Z,ZestValidationErrors:p.Z,Editor:m.Z},data:function(){return{form:this.$inertia.form({name:"",url:"",start_date:new Date,start_hour:"",end_date:new Date,end_hour:"",vimeo_id:"",format_2048_1536:"",format_1536_2048:"",format_1920_260:"",format_600_200:"",format_300_600:"",active:!0})}},methods:{submit:function(){this.form.post(this.route("admin.ads.store"))}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.ads.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL *",for:"url"}}),t._v(" "),e("form-input",{attrs:{id:"url",type:"text",required:""},model:{value:t.form.url,callback:function(e){t.$set(t.form,"url",e)},expression:"form.url"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("form-input",{attrs:{id:"start_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("form-input",{attrs:{id:"end_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 19:30)"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text"},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Interstitiel Desktop (format 2048x1536)",for:"format_2048_1536"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_2048_1536,callback:function(e){t.$set(t.form,"format_2048_1536",e)},expression:"form.format_2048_1536"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Interstitiel Mobile (format 1536x2048)",for:"format_1536_2048"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_1536_2048,callback:function(e){t.$set(t.form,"format_1536_2048",e)},expression:"form.format_1536_2048"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Bandeau Desktop (format 1920x260)",for:"format_1920_260"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_1920_260,callback:function(e){t.$set(t.form,"format_1920_260",e)},expression:"form.format_1920_260"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Bandeau Mobile (format 600x200)",for:"format_600_200"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_600_200,callback:function(e){t.$set(t.form,"format_600_200",e)},expression:"form.format_600_200"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Affiche Agenda (format 300x600)",for:"format_300_600"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_300_600,callback:function(e){t.$set(t.form,"format_300_600",e)},expression:"form.format_300_600"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},97453:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(42872),p=n(12771),m=n(97134);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Dropzone:f.Z,ZestValidationErrors:p.Z,Editor:m.Z},props:{obj:Object,tags:Array,weekDays:Object},data:function(){return{form:this.$inertia.form({name:this.obj.name,url:this.obj.url,start_date:this.obj.start_at,start_hour:this.obj.start_hour,end_date:this.obj.end_at,end_hour:this.obj.end_hour,vimeo_id:this.obj.vimeo_id,format_2048_1536:this.obj.format_2048_1536,format_1536_2048:this.obj.format_1536_2048,format_1920_260:this.obj.format_1920_260,format_600_200:this.obj.format_600_200,format_300_600:this.obj.format_300_600,active:this.obj.active})}},methods:{submit:function(){this.form.put(this.route("admin.ads.update",this.obj.id))},destroy:function(){this.$inertia.delete(route("admin.ads.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.ads.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL *",for:"url"}}),t._v(" "),e("form-input",{attrs:{id:"url",type:"text",required:""},model:{value:t.form.url,callback:function(e){t.$set(t.form,"url",e)},expression:"form.url"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("form-input",{attrs:{id:"start_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("form-input",{attrs:{id:"end_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 19:30)"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text"},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Interstitiel Desktop (format 2048x1536)",for:"format_2048_1536"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_2048_1536,callback:function(e){t.$set(t.form,"format_2048_1536",e)},expression:"form.format_2048_1536"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Interstitiel Mobile (format 1536x2048)",for:"format_1536_2048"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_1536_2048,callback:function(e){t.$set(t.form,"format_1536_2048",e)},expression:"form.format_1536_2048"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Bandeau Desktop (format 1920x260)",for:"format_1920_260"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_1920_260,callback:function(e){t.$set(t.form,"format_1920_260",e)},expression:"form.format_1920_260"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Bandeau Mobile (format 600x200)",for:"format_600_200"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_600_200,callback:function(e){t.$set(t.form,"format_600_200",e)},expression:"form.format_600_200"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Affiche Agenda (format 300x600)",for:"format_300_600"}}),t._v(" "),e("dropzone",{model:{value:t.form.format_300_600,callback:function(e){t.$set(t.form,"format_300_600",e)},expression:"form.format_300_600"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},28517:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object],status:String},data:function(){return{ads:this.rows}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.ads.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                    Date début\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                    Date fin\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-center text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                    Nombre de clique\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                    Actif\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.ads.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.name)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(t._f("moment")(n.start_at,"DD/MM/YYYY"))+" "+t._s(n.start_hour)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(t._f("moment")(n.end_at,"DD/MM/YYYY"))+" "+t._s(n.end_hour)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-center"},[t._v("\n                                    "+t._s(n.nb_click)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                        Oui\n                                    ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                        Non\n                                    ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.ads.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.ads.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])]),t._v(" "),t.ads.total>t.ads.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.ads.links}})],1):t._e()])])}),[],!1,null,null,null).exports},6925:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});var r=n(34647);const i={components:{ButtonLink:n(86257).Z,AdminLayout:r.Z},props:{obj:Object},data:function(){return{}},methods:{}};const o=(0,n(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.ads.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.ads.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2 mb-3 md:pr-1"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.name))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("URL")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("a",{attrs:{href:t.obj.url,target:"_blank"}},[t._v(t._s(t.obj.url))])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Date début")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.start_at,"DD/MM/YYYY"))+" "+t._s(t.obj.start_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Date fin")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.end_at,"DD/MM/YYYY"))+" "+t._s(t.obj.end_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Nombre d'impression")]),t._v(" "),e("td",{staticClass:"px-6 py-4 font-bold"},[t._v(t._s(t.obj.nb_impression))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Nombre de clique")]),t._v(" "),e("td",{staticClass:"px-6 py-4 font-bold"},[t._v(t._s(t.obj.nb_click))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])]),t._v(" "),t.obj.vimeo_id?e("iframe",{staticClass:"my-5",attrs:{src:"https://player.vimeo.com/video/"+t.obj.vimeo_id,width:"100%",height:"360",frameborder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowfullscreen:""}}):t._e()]),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 md:pl-1"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Interstitiel Desktop (format 2048x1536)")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("img",{attrs:{src:t.obj.format_2048_1536,alt:""}})])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Interstitiel Mobile (format 1536x2048)")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("img",{attrs:{src:t.obj.format_1536_2048,alt:""}})])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Bandeau Desktop (format 1920x260)")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("img",{attrs:{src:t.obj.format_1920_260,alt:""}})])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Bandeau Mobile (format 600x200)")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("img",{attrs:{src:t.obj.format_600_200,alt:""}})])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Affiche Agenda (format 300x600)")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("img",{attrs:{src:t.obj.format_300_600,alt:""}})])])])])])])])])}),[],!1,null,null,null).exports},46706:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134),m=n(60642),_=n(32982);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Cropper:m.Z,ZestValidationErrors:f.Z,Editor:p.Z,TheMask:_.TheMask},props:{weekDays:Object},data:function(){return{form:this.$inertia.form({name:"",location:"",organizer:"",fairground_market:!1,fairground_market_day:[],start_date:new Date,start_hour:"",end_date:new Date,end_hour:"",content:"",resume:"",tags:[],photo:"",published_date:new Date,published_hour:("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2),active:!0})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.agendas.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.agendas.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"fairground_market",label:"Marché forain"},model:{value:t.form.fairground_market,callback:function(e){t.$set(t.form,"fairground_market",e)},expression:"form.fairground_market"}})],1),t._v(" "),t.form.fairground_market?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour de la semaine *",for:"fairground_market_day"}}),t._v(" "),t._l(t.weekDays,(function(n,r){return e("div",[e("form-checkbox",{attrs:{id:r,value:r,label:n},model:{value:t.form.fairground_market_day,callback:function(e){t.$set(t.form,"fairground_market_day",e)},expression:"form.fairground_market_day"}})],1)}))],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text"},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text"},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),t.form.fairground_market?t._e():e("div",[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1)]),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo *",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
vendor: 5,305 bytes, line 2
2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},40071:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134),m=n(60642),_=n(32982);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Cropper:m.Z,ZestValidationErrors:f.Z,Editor:p.Z,TheMask:_.TheMask},props:{obj:Object,tags:Array,weekDays:Object},data:function(){return{form:this.$inertia.form({name:this.obj.name,location:this.obj.location,organizer:this.obj.organizer,fairground_market:this.obj.fairground_market,fairground_market_day:JSON.parse(this.obj.fairground_market_day),start_date:this.obj.start_at,start_hour:this.obj.start_hour,end_date:this.obj.end_at,end_hour:this.obj.end_hour,content:this.obj.content,resume:this.obj.resume,tags:this.tags,photo:"",published_date:this.obj.published_at,published_hour:this.obj.published_hour,active:this.obj.active})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.agendas.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.agendas.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.agendas.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"fairground_market",label:"Marché forain"},model:{value:t.form.fairground_market,callback:function(e){t.$set(t.form,"fairground_market",e)},expression:"form.fairground_market"}})],1),t._v(" "),t.form.fairground_market?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour de la semaine *",for:"fairground_market_day"}}),t._v(" "),t._l(t.weekDays,(function(n,r){return e("div",[e("form-checkbox",{attrs:{id:r,value:r,label:n},model:{value:t.form.fairground_market_day,callback:function(e){t.$set(t.form,"fairground_market_day",e)},expression:"form.fairground_market_day"}})],1)}))],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text"},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text"},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),t.form.fairground_market?t._e():e("div",[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1)]),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},74551:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object],status:String},data:function(){return{agendas:this.rows,form:this.$inertia.form({q:this.query})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.agendas.search",{q:this.form.q})).then(function(t){this.agendas=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.agendas.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},["pending"==t.status?e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.agendas.index"),icon:["fas","chevron-left"]}},[t._v("\n                    Retour\n                ")])],1):e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.agendas.create"),icon:["fas","plus"]}},[t._v("\n                    Ajouter\n                ")]),t._v(" "),"archive"==t.status?e("button-link",{attrs:{href:t.route("admin.agendas.index"),icon:["fas","list"],"button-style":"secondary"}},[t._v("\n                    En cours\n                ")]):e("button-link",{attrs:{href:t.route("admin.agendas.index",{status:"archive"}),icon:["fas","archive"],"button-style":"secondary"}},[t._v("\n                    Terminés\n                ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.agendas.index",{status:"pending"}),icon:["fas","check"],"button-style":"warning"}},[t._v("\n                    En attente de validation\n                ")])],1)]),t._v(" "),e("form",{staticClass:"mb-7 sm:w-1/3",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-3 w-full block border border-gray-200",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Lieu\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Organisateur\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date début\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date fin\n                                ")]),t._v(" "),t.status?t._e():e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Marché forain\n                                ")]),t._v(" "),"pending"!=t.status?e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date de publication\n                                ")]):t._e(),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Actif\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.agendas.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.location)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.organizer)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.start_at?e("span",[t._v(t._s(t._f("moment")(n.start_at,"DD/MM/YYYY"))+" "+t._s(n.start_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.end_at?e("span",[t._v(t._s(t._f("moment")(n.end_at,"DD/MM/YYYY"))+" "+t._s(n.end_hour))]):t._e()]),t._v(" "),t.status?t._e():e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.fairground_market?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                            Oui\n                                        ")]):t._e()]),t._v(" "),"pending"!=t.status?e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(t._f("moment")(n.published_at,"DD/MM/YYYY"))+" "+t._s(n.published_hour)+"\n                                    ")]):t._e(),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                            Oui\n                                        ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                            Non\n                                        ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},["pending"!=n.status?e("button-icon-link",{attrs:{href:t.route("admin.agendas.edit",n.id),icon:["fas","pencil-alt"]}}):t._e(),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.agendas.show",n.id),"button-style":"success",icon:["fas","search"]}}),t._v(" "),"pending"!=n.status?e("div",{staticClass:"inline-block"},[n.default?e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.agendas.default",{agenda:n.id,redirect:"index"}),"button-style":"transparent",icon:["fas","star"]}}):e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.agendas.default",{agenda:n.id,redirect:"index"}),"button-style":"transparent",icon:["far","star"]}})],1):t._e()],1)])})),0)])])])])]),t._v(" "),t.agendas.total>t.agendas.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.agendas.links}})],1):t._e()])])}),[],!1,null,null,null).exports},52446:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(12771);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function d(){d=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==u(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,924 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function h(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const f={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormTextarea:a.Z,ZestValidationErrors:c.Z},props:{agenda:Object},data:function(){return{form:this.$inertia.form({refusal_reason:""})}},methods:{submit:function(){var t,e=this;return(t=d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.put(e.route("admin.agendas.refused",e.agenda.id));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){h(o,r,i,a,s,"next",t)}function s(t){h(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.agendas.show",t.agenda),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Motif du refus",for:"refusal_reason"}}),t._v(" "),e("form-textarea",{attrs:{id:"refusal_reason"},model:{value:t.form.refusal_reason,callback:function(e){t.$set(t.form,"refusal_reason",e)},expression:"form.refusal_reason"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                    Valider\n                ")])],1)])])])}),[],!1,null,null,null).exports},33220:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(55854);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z},props:{obj:Object,tags:Array},data:function(){return{}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.agendas.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.agendas.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),"pending"==t.obj.status?e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.agendas.validated",t.obj.id),"button-style":"success",icon:["fas","check"]}},[t._v("Valider")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.agendas.refused",t.obj.id),"button-style":"danger",icon:["fas","times"]}},[t._v("Refuser")])],1):e("div",{staticClass:"inline-block"},[t.obj.default?e("button-link",{attrs:{href:t.route("admin.agendas.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Retirer de l'accueil")]):e("button-link",{attrs:{href:t.route("admin.agendas.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Mettre en avant sur le site")]),t._v(" "),e("button-link",{attrs:{href:t.route("agenda.show",t.obj),"button-style":"secondary",icon:["fas","laptop"],as:"target_blank"}},[t._v("Voir en ligne")])],1)],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.name))])]),t._v(" "),t.obj.user?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Utilisateur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.user.firstname)+" "+t._s(t.obj.user.lastname))])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Lieu")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.location))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Organisateur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.organizer))])]),t._v(" "),t.obj.fairground_market?t._e():e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date début")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.start_at,"DD/MM/YYYY"))+" "+t._s(t.obj.start_hour))])]),t._v(" "),t.obj.fairground_market?t._e():e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date fin")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.end_at,"DD/MM/YYYY"))+" "+t._s(t.obj.end_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Résumé")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.resume))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Contenu")]),t._v(" "),e("td",{staticClass:"px-6 py-4 page-content",domProps:{innerHTML:t._s(t.obj.content)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Tags")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("ul",t._l(t.tags,(function(n){return e("li",{staticClass:"inline-block m-1"},[e("div",{staticClass:"bg-blue-100 text-blue-600 text-sm py-1 px-2 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")])])})),0)])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date de publication")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.published_at,"DD/MM/YYYY"))+" "+t._s(t.obj.published_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[e("img",{staticClass:"w-full",attrs:{src:t.obj.photo,alt:""}})])])])])}),[],!1,null,null,null).exports},88842:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(7928),l=n(12771);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,946 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,FormSelect:s.Z,ZestValidationErrors:l.Z},props:{shops:[Array,Object],obj:Object},data:function(){return{form:this.$inertia.form({shop_id:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.processing=!0,e.form.post(e.route("admin.articles.add-shop-store",e.obj.id));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.articles.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Établissement",for:"shop_id"}}),t._v(" "),e("form-select",{attrs:{id:"shop_id"},model:{value:t.form.shop_id,callback:function(e){t.$set(t.form,"shop_id",e)},expression:"form.shop_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.shops,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},34244:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>b});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(60642);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function v(){v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);
vendor: 5,123 bytes, line 2
2if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function g(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const y={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,Cropper:m.Z},props:{categories:[Array,Object],authors:[Array,Object]},data:function(){return{form:this.$inertia.form({author_id:"",categorie_id:"",title:"",subtitle:"",place:"",city:"",content:"",resume:"",tags:[],photo:"",published_date:new Date,published_hour:("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2),active:!0})}},methods:{submit:function(){var t,e=this;return(t=v().mark((function t(){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.articles.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const b=(0,n(51900).Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.articles.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Auteur",for:"author_id"}}),t._v(" "),e("form-select",{attrs:{id:"author_id"},model:{value:t.form.author_id,callback:function(e){t.$set(t.form,"author_id",e)},expression:"form.author_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.authors,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.lastname)+" "+t._s(n.firstname)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégorie *",for:"categorie_id"}}),t._v(" "),e("form-select",{attrs:{id:"categorie_id",required:""},model:{value:t.form.categorie_id,callback:function(e){t.$set(t.form,"categorie_id",e)},expression:"form.categorie_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.categories,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Sous-titre",for:"subtitle"}}),t._v(" "),e("form-input",{attrs:{id:"subtitle",type:"text"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"place"}}),t._v(" "),e("form-input",{attrs:{id:"place",type:"text"},model:{value:t.form.place,callback:function(e){t.$set(t.form,"place",e)},expression:"form.place"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville",for:"city"}}),t._v(" "),e("form-input",{attrs:{id:"city",type:"text"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (format 1053x724)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},28935:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>b});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(60642);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function v(){v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,005 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function g(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const y={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,Cropper:m.Z},props:{categories:[Array,Object],authors:[Array,Object],obj:Object,categorie:Object,tags:Array},data:function(){return{form:this.$inertia.form({author_id:this.obj.author_id,categorie_id:this.obj.categorie.id,title:this.obj.title,subtitle:this.obj.subtitle,content:this.obj.content,resume:this.obj.resume,place:this.obj.place,city:this.obj.city,tags:this.tags,p
2hoto:"",published_date:this.obj.published_at,published_hour:this.obj.published_hour,active:this.obj.active})}},methods:{submit:function(){var t,e=this;return(t=v().mark((function t(){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.articles.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.articles.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const b=(0,n(51900).Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.articles.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Auteur",for:"author_id"}}),t._v(" "),e("form-select",{attrs:{id:"author_id"},model:{value:t.form.author_id,callback:function(e){t.$set(t.form,"author_id",e)},expression:"form.author_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.authors,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.lastname)+" "+t._s(n.firstname)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégorie *",for:"categorie_id"}}),t._v(" "),e("form-select",{attrs:{id:"categorie_id",required:""},model:{value:t.form.categorie_id,callback:function(e){t.$set(t.form,"categorie_id",e)},expression:"form.categorie_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.categories,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Sous-titre",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"subtitle",type:"text"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"place"}}),t._v(" "),e("form-input",{attrs:{id:"place",type:"text"},model:{value:t.form.place,callback:function(e){t.$set(t.form,"place",e)},expression:"form.place"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville",for:"city"}}),t._v(" "),e("form-input",{attrs:{id:"city",type:"text"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{attrs:{"initial-value":t.form.content},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification, format 1053x724)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},42528:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{articles:this.rows,form:this.$inertia.form({q:this.query})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.articles.search",{q:this.form.q})).then(function(t){this.articles=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.articles.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.articles.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("form",{staticClass:"mb-7 sm:w-1/3",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-3 w-full block border border-gray-200",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Catégorie\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Titre\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Date de publication\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Actif\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.articles.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.categorie.n
2ame)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.title)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(t._f("moment")(n.published_at,"DD/MM/YYYY"))+" "+t._s(n.published_hour)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.articles.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.articles.show",n.id),"button-style":"success",icon:["fas","search"]}}),t._v(" "),n.default?e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.articles.default",{article:n.id,redirect:"index"}),"button-style":"transparent",icon:["fas","star"]}}):e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.articles.default",{article:n.id,redirect:"index"}),"button-style":"transparent",icon:["far","star"]}})],1)])})),0)])])])])]),t._v(" "),t.articles.total>t.articles.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.articles.links}})],1):t._e()])])}),[],!1,null,null,null).exports},38545:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(34647),i=n(86257),o=n(69285),a=n(55854),s=n(15570);const l={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z,FormButton:s.Z},props:{obj:Object,categorie:Object,author:Object,tags:Array,shops:Array},data:function(){return{}},methods:{destroy:function(t){this.$inertia.delete(route("admin.articles.destroy-shop",{article:this.obj.id,shop:t}),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.articles.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.articles.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),t.obj.default?e("button-link",{attrs:{href:t.route("admin.articles.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Retirer de l'accueil")]):e("button-link",{attrs:{href:t.route("admin.articles.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Mettre en avant sur le site")]),t._v(" "),e("button-link",{attrs:{href:t.route("article.show",t.obj),"button-style":"secondary",icon:["fas","laptop"],as:"target_blank"}},[t._v("Voir en ligne")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),t.author?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Auteur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("a",{attrs:{target:"_blank",href:t.route("admin.authors.show",t.author.id)}},[t._v(t._s(t.author.lastname)+" "+t._s(t.author.firstname))])])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Catégorie")]),t._v(" "),e("td",{staticClass:"px-6 py-4"}
2,[t._v(t._s(t.categorie.name))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Titre")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.title))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase whitespace-nowrap"},[t._v("Sous-titre")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.subtitle))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase whitespace-nowrap"},[t._v("Lieu - ville")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.place)+" "+t._s(t.obj.city))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Résumé")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.resume))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase align-top"},[t._v("Contenu")]),t._v(" "),e("td",{staticClass:"px-6 py-4 text-justify page-content",domProps:{innerHTML:t._s(t.obj.content)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Tags")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("ul",t._l(t.tags,(function(n){return e("li",{staticClass:"inline-block m-1"},[e("div",{staticClass:"bg-blue-100 text-blue-600 text-sm py-1 px-2 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")])])})),0)])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date de publication")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.published_at,"DD/MM/YYYY"))+" "+t._s(t.obj.published_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[e("img",{staticClass:"w-full",attrs:{src:t.obj.photo,alt:""}}),t._v(" "),e("div",{staticClass:"mt-6"},[e("h3",{staticClass:"text-xl"},[t._v("Établissements")]),t._v(" "),e("button-link",{staticClass:"my-4",attrs:{href:t.route("admin.articles.add-shop",t.obj.id),"button-style":"secondary",icon:["fas","plus"]}},[t._v("Ajouter")]),t._v(" "),t.shops.length?e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                Nom\n                            ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}})])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.shops,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{attrs:{href:t.route("admin.shops.show",n.id)}},[t._v(t._s(n.name))])],1),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                                    Supprimer\n                                ")])],1)])})),0)]):t._e()],1)])])])])}),[],!1,null,null,null).exports},74330:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(90422),c=n(16990),u=n(97134),d=n(76984),h=n(12771),f=n(60642);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function m(){m=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=h.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==p(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,078 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:f,configurable:!0}),f.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function _(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const v={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,FormCheckbox:l.Z,Datepicker:c.Z,Editor:u.Z,InputTag:d.Z,Cropper:f.Z,ZestValidationErrors:h.Z},props:{categories:[Array,Object]},data:function(){return{form:this.$inertia.form({lastname:"",firstname:"",content:"",photo:"",active:!0})}},methods:{submit:function(){var t,e=this;return(t=m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.authors.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_(o,r,i,a,s,"next",t)}function s(t){_(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const g=(0,n(51900).Z)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.authors.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"lastname"}}),t._v(" "),e("form-input",{attrs:{id:"lastname",type:"text",required:""},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prénom *",for:"firstname"}}),t._v(" "),e("form-input",{attrs:{id:"firstname",type:"text",required:""},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{"aspect-ratio-value":1},model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},59466:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>b});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(60642);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function v(){v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,228 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function g(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const y={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Cropper:m.Z,ZestValidationErrors:p.Z},props:{categories:[Array,Object],obj:Object,categorie:Object,tags:Array},data:function(){return{form:this.$inertia.form({lastname:this.obj.lastname,firstname:this.obj.firstname,content:this.obj.content,photo:this.obj.photo,active:this.obj.active})}},methods:{submit:function(){var t,e=this;return(t=v().mark((function t(){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.authors.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.authors.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const b=(0,n(51900).Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.authors.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"lastname"}}),t._v(" "),e("form-input",{attrs:{id:"lastname",type:"text",required:""},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prénom *",for:"firstname"}}),t._v(" "),e("form-input",{attrs:{id:"firstname",type:"text",required:""},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{attrs:{"initial-value":t.form.content},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{"aspect-ratio-value":1},model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},92418:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{authors:[Array,Object]}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.authors.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Prénom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Actif\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.authors,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.lastname)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.firstname)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.authors.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.authors.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])])])])}),[],!1,null,null,null).exports},30473:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(55854);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z},props:{obj:Object},data:function(){return{}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.authors.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.authors.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),e("button-link",{attrs:{href:t.route("author.show",t.obj),"button-style":"secondary",icon:["fas","laptop"],as:"target_blank"}},[t._v("Voir en ligne")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("td",{staticClass:"px-6 py-4",attrs:{colspan:"2"}},[e("img",{staticClass:"mx-auto h-40 w-40 rounded-full",attrs:{src:t.obj.photo}})])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.lastname))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Prénom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.firstname))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase align-top"},[t._v("Contenu")]),t._v(" "),e("td",{staticClass:"px-6 py-4 text-ju
2stify page-content",domProps:{innerHTML:t._s(t.obj.content)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])])])])])}),[],!1,null,null,null).exports},66912:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{logs:this.rows,form:this.$inertia.form({q:this.query})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.botman-logs.search",{q:this.form.q})).then(function(t){this.logs=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.botman-logs.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("form",{staticClass:"mb-7 sm:w-1/3",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-3 w-full block border border-gray-200",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Question\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Réponse\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date\n                                ")])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.logs.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v(t._s(n.question))]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.bot_response)}}),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(n.created_at,"DD/MM/YYYY HH:mm")))])])})),0)])])])])]),t._v(" "),t.logs.total>t.logs.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.logs.links}})],1):t._e()])])}),[],!1,null,null,null).exports},14039:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(7928),c=n(90422);const u={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,FormSelect:l.Z,FormCheckbox:c.Z},props:{types:[Array,Object],parents:Array,parent:[Array,Object]},data:function(){return{form:this.$inertia.form({parent_id:this.parent?this.parent.id:"",type:[],name:"",description:"",active:!0})}},methods:{submit:function(){this.form.post(this.route("admin.categories.store"))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.categories.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Parent",for:"parent_id"}}),t._v(" "),e("form-select",{attrs:{id:"parent_id"},model:{value:t.form.parent_id,callback:function(e){t.$set(t.form,"parent_id",e)},expression:"form.parent_id"}},[e("option",{attrs:{value:""}},[t._v("Aucun")]),t._v(" "),t._l(t.parents,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Type *",for:"type"}}),t._v(" "),e("div",{staticClass:"mb-3"},t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{value:n.id,label:n.name},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}})],1)})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-input",{attrs:{id:"description",type:"text"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},24993:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(7928),c=n(90422);const u={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,FormSelect:l.Z,FormCheckbox:c.Z},props:{types:[Array,Object],obj:Object,typesObj:Array,parents:Array},data:function(){return{form:this.$inertia.form({parent_id:this.obj.parent_id,type:this.t
2ypesObj,name:this.obj.name,description:this.obj.description,active:this.obj.active})}},methods:{submit:function(){this.form.put(this.route("admin.categories.update",this.obj.id))},destroy:function(){this.$inertia.delete(route("admin.categories.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.categories.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Parent",for:"parent_id"}}),t._v(" "),e("form-select",{attrs:{id:"parent_id"},model:{value:t.form.parent_id,callback:function(e){t.$set(t.form,"parent_id",e)},expression:"form.parent_id"}},[e("option",{attrs:{value:""}},[t._v("Aucun")]),t._v(" "),t._l(t.parents,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Type *",for:"type"}}),t._v(" "),e("div",{staticClass:"mb-3"},t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{value:n.id,label:n.name},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}})],1)})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-input",{attrs:{id:"description",type:"text"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},12261:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(51375);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,ButtonIconLink:o.Z},props:{rows:Array},data:function(){return{}},methods:{}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"bg-red-500 p-5 text-white mb-3"},[e("div",{staticClass:"card-body"},[e("p",[t._v("\n                    Evitez de modifier les paramètres ci-dessous sauf si vous êtes vraiment sûr de ce que vous faites."),e("br"),t._v("\n                    Les modifications que vous apportez ici ont un impact sur le fonctionnement de l'application. "),e("br"),t._v("\n                    Contactez le support pour avoir de l'aide - "),e("strong",[t._v("DIGITALE STRATEGIE : "),e("a",{staticClass:"text-light",attrs:{href:"mailto:[email protected]"}},[t._v("[email protected]")])])])])]),t._v(" "),e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.categories.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        ID\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Type\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Slug\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Description\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Parent\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Actif\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.rows,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.id)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.types,(function(n){return e("div",{key:n.id},[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.slug)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.description)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.parent?n.parent.name:"")+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                          Oui\n                                        ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                          Non\n                                        ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.categories.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-link",{attrs:{href:t.route("admin.categories.create",n.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("Sous catégorie")])],1)])})),0)])])])])])])])}),[],!1,null,null,null).exports},66667:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(12771),p=n(60642),m=n(32982),_=n(76984);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,Cropper:p.Z,ZestValidationErrors:f.Z,TheMask:m.TheMask,InputTag:_.Z},props:{types:Object,inputvalue:String,inputname:String},data:function(){return{form:this.$inertia.form({name:"",location:"",organizer:"",start_date:new Date,start_hour:"",end_date:new Date,end_hour:"",content:"",resume:"",tags:[],photo:"",vimeo_id:"",active:!0})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.events.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.events.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text"},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text"},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text"},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
vendor: 5,305 bytes, line 2
2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},58202:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(12771),p=n(60642),m=n(32982),_=n(76984);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,Cropper:p.Z,ZestValidationErrors:f.Z,TheMask:m.TheMask,InputTag:_.Z},props:{obj:Object,tags:Array},data:function(){return{form:this.$inertia.form({name:this.obj.name,location:this.obj.location,organizer:this.obj.organizer,start_date:this.obj.start_at,start_hour:this.obj.start_hour,end_date:this.obj.end_at,end_hour:this.obj.end_hour,content:this.obj.content,resume:this.obj.resume,tags:this.tags,photo:this.obj.photo,vimeo_id:this.obj.vimeo_id,active:this.obj.active})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.events.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.events.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.events.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text"},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text"},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{attrs:{"initial-value":t.form.content},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text"},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},26615:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.events.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Lieu\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Organisateur\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date début\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date fin\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Par défaut\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Actif\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.rows.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.name)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.location)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.organizer)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.start_at?e("span",[t._v(t._s(t._f("moment")(n.start_at,"DD/MM/YYYY"))+" "+t._s(n.start_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.end_at?e("span",[t._v(t._s(t._f("moment")(n.end_at,"DD/MM/YYYY"))+" "+t._s(n.end_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.default?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.events.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.events.show",n.id),"button-style":"success",icon:["fas","search"]}}),t._v(" "),n.default?e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.events.default",{event:n.id,redirect:"index"}),"button-style":"transparent",icon:["fas","star"]}}):e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.events.default",{event:n.id,redirect:"index"}),"button-style":"transparent",icon:["far","star"]}})],1)])})),0)])])])])]),t._v(" "),t.rows.total>t.rows.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.rows.links}})],1):t._e()])])}),[],!1,null,null,null).exports},83573:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(55854);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z},props:{obj:Object,tags:Array},data:function(){return{}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.events.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.events.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),t.obj.default?e("button-link",{attrs:{href:t.route("admin.events.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Retirer de l'accueil")]):e("button-link",{attrs:{href:t.route("admin.events.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Mettre en avant sur le site")]),t._v(" "),e("button-link",{attrs:{href:t.route("evenements.show",t.obj),"button-style":"secondary",icon:["fas","laptop"],as:"target_blank"}},[t._v("Voir en ligne")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.name))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date début")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.start_at,"DD/MM/YYYY"))+" "+t._s(t.obj.start_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date fin")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.end_at,"DD/MM/YYYY"))+" "+t._s(t.obj.end_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Lieu")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.location))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Organisateur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.organizer))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Résumé")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.resume))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Contenu")]),t._v(" "),e("td",{staticClass:"px-6 py-4 page-content",domProps:{innerHTML:t._s(t.obj.content)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Tags")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("ul",t._l(t.tags,(function(n){return e("li",{staticClass:"inline-block m-1"},[e("div",{staticClass:"bg-blue-100 text-blue-600 text-sm py-1 px-2 whitespace-nowrap"},[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])])})),0)])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Par défault")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.default?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[e("img",{staticClass:"w-full",attrs:{src:t.obj.photo,alt:""}})])])])])}),[],!1,null,null,null).exports},20219:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={layout:n(34647).Z,components:{},props:{},data:function(){return{}},methods:{}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("h1",{staticClass:"text-xl text-center font-bold"},[t._v("Bienvenue sur l'interface administrateur.")]),t._v(" "),e("div",{staticClass:"flex flex-wrap justify-center mt-10 text-center"},[t._e(),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.videos.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","video"]}}),e("br"),t._v("Vidéos\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.articles.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","
2newspaper"]}}),e("br"),t._v("Articles\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.magazines.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","book"]}}),e("br"),t._v("Magazines\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.agendas.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","calendar-alt"]}}),e("br"),t._v("Agenda\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.events.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","calendar-day"]}}),e("br"),t._v("Évènements\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.shops.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","map-marked-alt"]}}),e("br"),t._v("Établissements\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.users.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","users"]}}),e("br"),t._v("Membres\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.ads.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fab","adversal"]}}),e("br"),t._v("Publicités\n        ")],1),t._v(" "),e("inertia-link",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:t.route("admin.botman-logs.index")}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","robot"]}}),e("br"),t._v("Logs chatbot\n        ")],1),t._v(" "),e("a",{staticClass:"w-full m-2 sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3 bg-blue-100 text-blue-600 hover:bg-blue-200",attrs:{href:"/",target:"_blank"}},[e("font-awesome-icon",{staticClass:"mb-2",attrs:{icon:["fas","desktop"]}}),e("br"),t._v("Voir le site\n        ")],1)],1)])}),[],!1,null,null,null).exports},60783:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>b});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(25134);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function v(){v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,187 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function g(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const y={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,Cropper:m.Z},data:function(){return{form:this.$inertia.form({title:"",url_calameo:"",photo:"",published_date:new Date,published_hour:("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2),active:!0})}},methods:{submit:function(){var t,e=this;return(t=v().mark((function t(){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.magazines.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const b=(0,n(51900).Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.magazines.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL Calaméo *",for:"url_calameo"}}),t._v(" "),e("form-input",{attrs:{id:"url_calameo",type:"text",required:""},model:{value:t.form.url_calameo,callback:function(e){t.$set(t.form,"url_calameo",e)},expression:"form.url_calameo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (format 1034x1477)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},68205:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>b});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(25134);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function v(){v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,213 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function g(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const y={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,Cropper:m.Z},props:{obj:Object},data:function(){return{form:this.$inertia.form({title:this.obj.title,url_calameo:this.obj.url_calameo,photo:"",published_date:this.obj.published_at,published_hour:this.obj.published_hour,active:this.obj.active})}},methods:{submit:function(){var t,e=this;return(t=v().mark((function t(){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.magazines.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.magazines.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const b=(0,n(51900).Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.magazines.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL Calaméo *",for:"url_calameo"}}),t._v(" "),e("form-input",{attrs:{id:"url_calameo",type:"text",required:""},model:{value:t.form.url_calameo,callback:function(e){t.$set(t.form,"url_calameo",e)},expression:"form.url_calameo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification, format 1034x1477)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},8492:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{magazines:this.rows}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.magazines.search",{q:this.form.q})).then(function(t){this.magazines=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.magazines.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.magazines.create"),icon:["fas","plus"]}},[t._v("\n                    Ajouter\n                ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                            Titre\n                                        ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                            URL Calaméo\n                                        ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                            Date de publication\n                                        ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                            Actif\n                                        ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.magazines.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                            "+t._s(n.title)+"\n                                        ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                            "+t._s(n.url_calameo)+"\n                                        ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                            "+t._s(t._f("moment")(n.published_at,"DD/MM/YYYY"))+" "+t._s(n.published_hour)+"\n                                        ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                                  Oui\n                                                ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                                  Non\n                                                ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.magazines.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])]),t._v(" "),t.magazines.total>t.magazines.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.magazines.links}})],1):t._e()])])}),[],!1,null,null,null).exports},60104:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(12771);const c={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,ZestValidationErrors:l.Z},props:{obj:Object},data:function(){return{form:this.$inertia.form({lastname:this.obj.lastname,firstname:this.obj.firstname,email:this.obj.email,phone:this.obj.phone})}},methods:{submit:function(){this.form.put(this.route("admin.members.update",this.obj.id))},destroy:function(){this.$inertia.delete(route("admin.members.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.members.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"lastname"}}),t._v(" "),e("form-input",{attrs:{id:"lastname",type:"text",required:""},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prénom *",for:"firstname"}}),t._v(" "),e("form-input",{attrs:{id:"firstname",type:"text",required:""},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Email *",for:"email"}}),t._v(" "),e("form-input",{attrs:{id:"email",type:"text",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Téléphone *",for:"phone"}}),t._v(" "),e("form-input",{attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},80842:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{users:this.rows,form:this.$inertia.form({q:this.query})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.members.search",{q:this.form.q})).then(function(t){this.users=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.members.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.members.export"),icon:["fas","download"],as:"target_blank","button-style":"secondary"}},[t._v("\n                Export\n            ")])],1),t._v(" "),e("form",{staticClass:"mb-7 sm:w-1/3",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-3 w-full block border border-gray-200",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Prénom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Email\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Pro\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Date inscription\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.users.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.lastname)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.firstname)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.email)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s("professional"==n.type?"Oui":"Non")+"\
2n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(t._f("moment")(n.created_at,"DD/MM/YYYY"))+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.members.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])]),t._v(" "),t.users.total>t.users.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.users.links}})],1):t._e()])])}),[],!1,null,null,null).exports},28823:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(97134),c=n(12771);const u={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Editor:l.Z,ZestValidationErrors:c.Z},props:{},data:function(){return{form:this.$inertia.form({name:"",content:""})}},methods:{submit:function(){this.form.post(this.route("admin.pages.store"))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.pages.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},76442:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(97134),c=n(12771);const u={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Editor:l.Z,ZestValidationErrors:c.Z},props:{page:Object},data:function(){return{form:this.$inertia.form({name:this.page.name,content:this.page.content})}},methods:{submit:function(){this.form.put(this.route("admin.pages.update",this.page.id))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.pages.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",readonly:"superadmin"!=t.$page.props.user.roles[0].name,required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Contenu",for:"content"}}),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},25009:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(51375);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,ButtonIconLink:o.Z},props:{pages:Array},data:function(){return{}},methods:{}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},["superadmin"==t.$page.props.user.roles[0].name?e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.pages.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1):t._e(),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Slug\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.pages,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.name)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.slug)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.pages.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])])])])}),[],!1,null,null,null).exports},85191:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(7928),l=n(12771);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,952 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,FormSelect:s.Z,ZestValidationErrors:l.Z},props:{articles:[Array,Object],obj:Object},data:function(){return{form:this.$inertia.form({article_id:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.processing=!0,e.form.post(e.route("admin.shops.add-article-store",e.obj.id));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Article",for:"article_id"}}),t._v(" "),e("form-select",{attrs:{id:"article_id"},model:{value:t.form.article_id,callback:function(e){t.$set(t.form,"article_id",e)},expression:"form.article_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.articles,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.title)+"\n                    ")])}))],2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},32148:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(7928),l=n(12771);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);
vendor: 4,754 bytes, line 2
2if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,FormSelect:s.Z,ZestValidationErrors:l.Z},props:{videos:[Array,Object],obj:Object},data:function(){return{form:this.$inertia.form({video_id:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.processing=!0,e.form.post(e.route("admin.shops.add-video-store",e.obj.id));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vidéo",for:"video_id"}}),t._v(" "),e("form-select",{attrs:{id:"video_id"},model:{value:t.form.video_id,callback:function(e){t.$set(t.form,"video_id",e)},expression:"form.video_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.videos,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.title)+"\n                    ")])}))],2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},10139:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(12771),l=n(60642),c=n(86793);const u={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormInput:c.Z,FormButton:a.Z,ZestValidationErrors:s.Z,Cropper:l.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,name:"",file:null})}},methods:{submit:function(){this.$refs.file&&(this.form.file=this.$refs.file.files[0]),this.form.post(this.route("admin.shop-attachments.store"))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-photos.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fichier (10mo max)",for:"file"}}),t._v(" "),e("input",{ref:"file",attrs:{id:"file",type:"file",required:""}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},796:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,FormButton:o.Z},props:{attachments:[Array,Object],shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("admin.shop-attachments.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),t.attachments.length<4?e("button-link",{attrs:{href:t.route("admin.shop-attachments.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")]):t._e()],1),t._v(" "),t.attachments.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.attachments,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-link",{attrs:{as:"target_blank",href:n.path,icon:["fas","search"],"button-style":"success"}},[t._v("\n                                            Voir\n                                        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                                            Supprimer\n                                        ")])],1)])})),0)])])])])]):t._e()])])}),[],!1,null,null,null).exports},87429:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(76984),c=n(12771),u=n(16990);const d={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Datepicker:u.Z,InputTag:l.Z,ZestValidationErrors:c.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,start:"",end:""})}},methods:{submit:function(){this.form.post(this.route("admin.shop-closing-dates.store"))}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-closing-dates.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Début *",for:"start"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start",required:!0},model:{value:t.form.start,callback:function(e){t.$set(t.form,"start",e)},expression:"form.start"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fin *",for:"end"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end",required:!0},model:{value:t.form.end,callback:function(e){t.$set(t.form,"end",e)},expression:"form.end"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},77370:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(76984),c=n(12771),u=n(16990);const d={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Datepicker:u.Z,InputTag:l.Z,ZestValidationErrors:c.Z},props:{closingDate:Object},data:function(){return{form:this.$inertia.form({start:this.closingDate.start,end:this.closingDate.end})}},methods:{submit:function(){this.form.put(this.route("admin.shop-closing-dates.update",this.closingDate))},destroy:function(){this.$inertia.delete(route("admin.shop-closing-dates.destroy",this.closingDate.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-closing-dates.index",t.closingDate.shop_id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Début *",for:"start"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start",required:!0},model:{value:t.form.start,callback:function(e){t.$set(t.form,"start",e)},expression:"form.start"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fin *",for:"end"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end",required:!0},model:{value:t.form.end,callback:function(e){t.$set(t.form,"end",e)},expression:"form.end"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},39921:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(15570),o=n(86257),a=n(51375);const s={components:{ButtonLink:o.Z,AdminLayout:r.Z,FormButton:i.Z,ButtonIconLink:a.Z},props:{closingDates:[Array,Object],shop:Object},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-closing-dates.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),t.closingDates.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Début\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Fin\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.closingDates,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(t._f("moment")(n.start,"DD/MM/YYYY"))+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(t._f("moment")(n.end,"DD/MM/YYYY"))+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.shop-closing-dates.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])]):t._e()])])}),[],!1,null,null,null).exports},53717:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>k});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642),v=n(6158),g=n(57204);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function b(){b=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==y(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function x(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const w={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z,MglMap:g.Q3,MglNavigationControl:g.RV,MglAttributionControl:g.tQ,MglMarker:g.xM},props:{categories:Array,types:Array,users:[Array,Object],cities:Array},data:function(){return{accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:9.5,center:new v.LngLat(55.548,-21.106),coordinates:[55.548,-21.106],form:this.$inertia.form({categories:[],user_id:"",name:"",types:[],type:"",phone:"",address:"",city_id:"",latitude:-21.106,longitude:55.548,description:"",average_price:"",website_url:"",facebook:"",instagram:"",logo:"",kaspro_guide:!1,sale_on_site:!1,sale_online:!1,visit:!1,takeaway:!1,delivery_under_conditions:!1,privatizable:!1,terrace:!1,smoking:!1,pmr_access:!1,caterer_under_conditions:!1,tasting_under_conditions:!1,active:!0})}},methods:{dragend:function(t){var e=t.marker.getLngLat();this.coordinates=[e.lng,e.lat],this.form.longitude=e.lng,this.form.latitude=e.lat},submit:function(){var t,e=this;return(t=b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.shops.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){x(o,r,i,a,s,"next",t)}function s(t){x(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const k=(0,n(51900).Z)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Utilisateur",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"user_id"},model:{value:t.form.user_id,callback:function(e){t.$set(t.form,"user_id",e)},expression:"form.user_id"}},[e("option",{attrs:{value:""}},[t._v("Aucun")]),t._v(" "),t._l(t.users,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.lastname)+" "+t._s(n.firstname)+" ("+t._s(n.email)+")\n                        ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégories *",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),t.form.categories.length>1||1==t.form.categories.length&&!t.form.categories.includes(71)&&1==t.form.categories.length&&!t.form.categories.includes(75)&&1==t.form.categories.length&&!t.form.categories.includes(98)?e("div",{staticClass:"mb-3"},[t.form.categories.includes(69)?e("form-label",{attrs:{value:"Type de cuisine",for:"type"}}):t.form.categories.includes(72)?e("form-label",{attrs:{value:"Produits péi",for:"type"}}):t.form.categories.includes(73)?e("form-label",{attrs:{value:"Type de caves",for:"type"}}):e("form-label",{attrs:{value:"Type d'établissement",for:"type"}}),t._v(" "),t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[t.form.categories.includes(n.parent_id)?e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.types,callback:function(e){t.$set(t.form,"types",e)},expression:"form.types"}}):t._e()],1)})),t._v(" "),t.form.categories.includes(69)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:"Autre : Précisez"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t.form.categories.includes(72)||t.form.categories.includes(76)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Téléphone",for:"phone"}}),t._v(" "),e("form-input",{attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Adresse *",for:"address"}}),t._v(" "),e("form-input",{attrs:{id:"address",type:"text",required:""},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville *",for:"city_id"}}),t._v(" "),e("form-select",{attrs:{id:"city_id"},model:{value:t.form.city_id,callback:function(e){t.$set(t.form,"city_id",e)},expression:"form.city_id"}},t._l(t.cities,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.libelle)+" ("+t._s(n.postal_code)+")\n                        ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-textarea",{attrs:{id:"description",maxlength:"621"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),t.form.categories.includes(69)?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prix moyen (en €)",for:"average_price"}}),t._v(" "),e("form-input",{attrs:{id:"average_price",type:"number",min:"0"},model:{value:t.form.average_price,callback:function(e){t.$set(t.form,"average_price",e)},expression:"form.average_price"}})],1):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL site web",for:"website_url"}}),t._v(" "),e("form-input",{attrs:{id:"website_url",type:"text"},model:{value:t.form.website_url,callback:function(e){t.$set(t.form,"website_url",e)},expression:"form.website_url"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page facebook",for:"facebook"}}),t._v(" "),e("form-input",{attrs:{id:"facebook",type:"text"},model:{value:t.form.facebook,callback:function(e){t.$set(t.form,"facebook",e)},expression:"form.facebook"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page instagram",for:"instagram"}}),t._v(" "),e("form-input",{attrs:{id:"instagram",type:"text"},model:{value:t.form.instagram,callback:function(e){t.$set(t.form,"instagram",e)},expression:"form.instagram"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Logo (format 200x200, 10mo max)",for:"logo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{aspectRatioValue:1},model:{value:t.form.logo,callback:function(e){t.$set(t.form,"logo",e)},expression:"form.logo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"kaspro_guide",label:"Sélection Guide Kaspro"},model:{value:t.form.kaspro_guide,callback:function(e){t.$set(t.form,"kaspro_guide",e)},expression:"form.kaspro_guide"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_on_site",label:"Vente sur place"},model:{value:t.form.sale_on_site,callback:function(e){t.$set(t.form,"sale_on_site",e)},expression:"form.sale_on_site"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"takeaway",label:"Vente à emporter"},model:{value:t.form.takeaway,callback:function(e){t.$set(t.form,"takeaway",e)},expression:"form.takeaway"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_online",label:"Vente en ligne"},model:{value:t.form.sale_online,callback:function(e){t.$set(t.form,"sale_online",e)},expression:"form.sale_online"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"visit",label:"Visite"},model:{value:t.form.visit,callback:function(e){t.$set(t.form,"visit",e)},expression:"form.visit"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"delivery_under_conditions",label:"Livraison sous conditions"},model:{value:t.form.delivery_under_conditions,callback:function(e){t.$set(t.form,"delivery_under_conditions",e)},expression:"form.delivery_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"privatizable",label:"Privatisable sous conditions"},model:{value:t.form.privatizable,callback:function(e){t.$set(t.form,"privatizable",e)},expression:"form.privatizable"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"terrace",label:"Terrasse"},model:{value:t.form.terrace,callback:function(e){t.$set(t.form,"terrace",e)},expression:"form.terrace"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"smoking",label:"Fumeur"},model:{value:t.form.smoking,callback:function(e){t.$set(t.form,"smoking",e)},expression:"form.smoking"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"pmr_access",label:"Accès PMR"},model:{value:t.form.pmr_access,callback:function(e){t.$set(t.form,"pmr_access",e)},expression:"form.pmr_access"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"caterer_under_conditions",label:"Traiteur sous condition"},model:{value:t.form.caterer_under_conditions,callback:function(e){t.$set(t.form,"caterer_under_conditions",e)},expression:"form.caterer_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"tasting_under_conditions",label:"Dégustation sous condition"},model:{value:t.form.tasting_under_conditions,callback:function(e){t.$set(t.form,"tasting_under_conditions",e)},expression:"form.tasting_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
2)],1)],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 md:px-5"},[e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}},[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black",draggable:!0},on:{dragend:t.dragend}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Latitude *",for:"latitude"}}),t._v(" "),e("form-input",{attrs:{id:"latitude",type:"text",required:""},model:{value:t.form.latitude,callback:function(e){t.$set(t.form,"latitude",e)},expression:"form.latitude"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Longitude *",for:"longitude"}}),t._v(" "),e("form-input",{attrs:{id:"longitude",type:"text",required:""},model:{value:t.form.longitude,callback:function(e){t.$set(t.form,"longitude",e)},expression:"form.longitude"}})],1)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-blue-100 text-blue-600 mb-3 text-sm py-2 px-3 text-center"},[t._v("\n                    Déplacez le marqueur ci-dessus pour positionner votre établissement ou utiliser le site "),e("a",{attrs:{href:"https://www.torop.net/coordonnees-gps.php",target:"_blank"}},[t._v("www.torop.net/coordonnees-gps.php")]),t._v(" pour récuperer les coordoonnées GPS.\n                ")])}],!1,null,null,null).exports},8706:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>k});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642),v=n(6158),g=n(57204);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function b(){b=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==y(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 6,576 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function x(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const w={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z,MglMap:g.Q3,MglNavigationControl:g.RV,MglAttributionControl:g.tQ,MglMarker:g.xM},props:{categories:[Array,Object],types:Array,users:[Array,Object],shop:Object,shopCategories:Array,shopTypes:Array,cities:Array},data:function(){return{accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:12,center:new v.LngLat(this.shop.longitude,this.shop.latitude),coordinates:[this.shop.longitude,this.shop.latitude],form:this.$inertia.form({categories:this.shopCategories,user_id:this.shop.user_id,name:this.shop.name,types:this.shopTypes,type:this.shop.type,phone:this.shop.phone,address:this.shop.address,city_id:this.shop.city_id,latitude:this.shop.latitude,longitude:this.shop.longitude,description:this.shop.description,average_price:this.shop.average_price,website_url:this.shop.website_url,facebook:this.shop.facebook,instagram:this.shop.instagram,logo:"",kaspro_guide:this.shop.kaspro_guide,sale_on_site:this.shop.sale_on_site,sale_online:this.shop.sale_online,visit:this.shop.visit,takeaway:this.shop.takeaway,delivery_under_conditions:this.shop.delivery_under_conditions,privatizable:this.shop.privatizable,terrace:this.shop.terrace,smoking:this.shop.smoking,pmr_access:this.shop.pmr_access,caterer_under_conditions:this.shop.caterer_under_conditions,tasting_under_conditions:this.shop.tasting_under_conditions,active:this.shop.active})}},methods:{dragend:function(t){var e=t.marker.getLngLat();this.coordinates=[e.lng,e.lat],this.form.longitude=e.lng,this.form.latitude=e.lat},submit:function(){var t,e=this;return(t=b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("admin.shops.update",e.shop.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){x(o,r,i,a,s,"next",t)}function s(t){x(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("admin.shops.destroy",this.shop.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const k=(0,n(51900).Z)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Utilisateur",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"user_id"},model:{value:t.form.user_id,callback:function(e){t.$set(t.form,"user_id",e)},expression:"form.user_id"}},[e("option",{attrs:{value:""}},[t._v("Aucun")]),t._v(" "),t._l(t.users,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.lastname)+" "+t._s(n.firstname)+" ("+t._s(n.email)+")\n                        ")])}))],2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégories *",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),t.form.categories.length>1||1==t.form.categories.length&&!t.form.categories.includes(71)&&1==t.form.categories.length&&!t.form.categories.includes(75)&&1==t.form.categories.length&&!t.form.categories.includes(98)?e("div",{staticClass:"mb-3"},[t.form.categories.includes(69)?e("form-label",{attrs:{value:"Type de cuisine",for:"type"}}):t.form.categories.includes(72)?e("form-label",{attrs:{value:"Produits péi",for:"type"}}):t.form.categories.includes(73)?e("form-label",{attrs:{value:"Type de caves",for:"type"}}):e("form-label",{attrs:{value:"Type d'établissement",for:"type"}}),t._v(" "),t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[t.form.categories.includes(n.parent_id)?e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.types,callback:function(e){t.$set(t.form,"types",e)},expression:"form.types"}}):t._e()],1)})),t._v(" "),t.form.categories.includes(69)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:"Autre : Précisez"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t.form.categories.includes(72)||t.form.categories.includes(76)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Téléphone",for:"phone"}}),t._v(" "),e("form-input",{attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Adresse *",for:"address"}}),t._v(" "),e("form-input",{attrs:{id:"address",type:"text",required:""},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville *",for:"city_id"}}),t._v(" "),e("form-select",{attrs:{id:"city_id"},model:{value:t.form.city_id,callback:function(e){t.$set(t.form,"city_id",e)},expression:"form.city_id"}},t._l(t.cities,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.libelle)+" ("+t._s(n.postal_code)+")\n                        ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-textarea",{attrs:{id:"description",maxlength:"621"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),t.form.categories.includes(69)?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prix moyen (en €)",for:"average_price"}}),t._v(" "),e("form-input",{attrs:{id:"average_price",type:"number",min:"0"},model:{value:t.form.average_price,callback:function(e){t.$set(t.form,"average_price",e)},expression:"form.average_price"}})],1):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL site web",for:"website_url"}}),t._v(" "),e("form-input",{attrs:{id:"website_url",type:"text"},model:{value:t.form.website_url,callback:function(e){t.$set(t.form,"website_url",e)},expression:"form.website_url"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page facebook",for:"facebook"}}),t._v(" "),e("form-input",{attrs:{id:"facebook",type:"text"},model:{value:t.form.facebook,callback:function(e){t.$set(t.form,"facebook",e)},expression:"form.facebook"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page instagram",for:"instagram"}}),t._v(" "),e("form-input",{attrs:{id:"instagram",type:"text"},model:{value:t.form.instagram,callback:function(e){t.$set(t.form,"instagram",e)},expression:"form.instagram"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Logo (format 200x200, 10mo max)",for:"logo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{aspectRatioValue:1},model:{value:t.form.logo,callback:function(e){t.$set(t.form,"logo",e)},expression:"form.logo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"kaspro_guide",label:"Sélection Guide Kaspro"},model:{value:t.form.kaspro_guide,callback:function(e){t.$set(t.form,"kaspro_guide",e)},expression:"form.kaspro_guide"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_on_site",label:"Vente sur place"},model:{value:t.form.sale_on_site,callback:function(e){t.$set(t.form,"sale_on_site",e)},expression:"form.sale_on_site"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"takeaway",label:"Vente à emporter"},model:{value:t.form.takeaway,callback:function(e){t.$set(t.form,"takeaway",e)},expression:"form.takeaway"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_online",label:"Vente en ligne"},model:{value:t.form.sale_online,callback:function(e){t.$set(t.form,"sale_online",e)},expression:"form.sale_online"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"visit",label:"Visite"},model:{value:t.form.visit,callback:function(e){t.$set(t.form,"visit",e)},expression:"form.visit"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"delivery_under_conditions",label:"Livraison sous conditions"},model:{value:t.form.delivery_under_conditions,callback:function(e){t.$set(t.form,"delivery_under_conditions",e)},expression:"form.delivery_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"privatizable",label:"Privatisable sous conditions"},model:{value:t.form.privatizable,callback:function(e){t.$set(t.form,"privatizable",e)},expression:"form.privatizable"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"terrace",label:"Terrasse"},model:{value:t.form.terrace,callback:function(e){t.$set(t.form,"terrace",e)},expression:"form.terrace"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"smoking",label:"Fumeur"},model:{value:t.form.smoking,callback:function(e){t.$set(t.form,"smoking",e)},expression:"form.smoking"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"pmr_access",label:"Accès PMR"},model:{value:t.form.pmr_access,callback:function(e){t.$set(t.form,"pmr_access",e)},expression:"form.pmr_access"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"caterer_under_conditions",label:"Traiteur sous condition"},model:{value:t.form.caterer_under_conditions,callback:function(e){t.$set(t.form,"caterer_under_conditions",e)},expression:"form.caterer_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"tasting_under_conditions",label:"Dégustation sous condition"},model:{value:t.form.tasting_under_conditions,callback:function(e){t.$set(t.form,"tasting_under_conditions",e)},expression:"form.tasting_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}}
2)],1)],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 md:px-5"},[e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}},[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black",draggable:!0},on:{dragend:t.dragend}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Latitude *",for:"latitude"}}),t._v(" "),e("form-input",{attrs:{id:"latitude",type:"text",required:""},model:{value:t.form.latitude,callback:function(e){t.$set(t.form,"latitude",e)},expression:"form.latitude"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Longitude *",for:"longitude"}}),t._v(" "),e("form-input",{attrs:{id:"longitude",type:"text",required:""},model:{value:t.form.longitude,callback:function(e){t.$set(t.form,"longitude",e)},expression:"form.longitude"}})],1)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-blue-100 text-blue-600 mb-3 text-sm py-2 px-3 text-center"},[t._v("\n                    Déplacez le marqueur ci-dessus pour positionner votre établissement ou utiliser le site "),e("a",{attrs:{href:"https://www.torop.net/coordonnees-gps.php",target:"_blank"}},[t._v("www.torop.net/coordonnees-gps.php")]),t._v(" pour récuperer les coordoonnées GPS.\n                ")])}],!1,null,null,null).exports},32977:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(32982);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,TheMask:m.TheMask},props:{days:Array,shop:Object,day:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,custom:!1,custom_hour:"",day_id:this.day?this.day.id:"",opening:"",closing:"",all_day:!1})}},methods:{submit:function(){this.form.post(this.route("admin.shop-hours.store"))}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-hours.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour *",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"day",required:""},model:{value:t.form.day_id,callback:function(e){t.$set(t.form,"day_id",e)},expression:"form.day_id"}},t._l(t.days,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.name)+"\n                        ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"custom",label:"Horaire personnalisé"},model:{value:t.form.custom,callback:function(e){t.$set(t.form,"custom",e)},expression:"form.custom"}})],1),t._v(" "),t.form.custom?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Exemple : Sur reservation",for:"custom_hour"}}),t._v(" "),e("form-input",{attrs:{id:"custom_hour",type:"text"},model:{value:t.form.custom_hour,callback:function(e){t.$set(t.form,"custom_hour",e)},expression:"form.custom_hour"}})],1):e("div",[e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"all_day",label:"24h/24"},model:{value:t.form.all_day,callback:function(e){t.$set(t.form,"all_day",e)},expression:"form.all_day"}})],1),t._v(" "),t.form.all_day?t._e():e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-1/2 px-3 mb-6 md:mb-0"},[e("form-label",{attrs:{value:"Ouverture",for:"opening"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.opening,callback:function(e){t.$set(t.form,"opening",e)},expression:"form.opening"}})],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 px-3"},[e("form-label",{attrs:{value:"Fermeture",for:"closing"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 23:30"},model:{value:t.form.closing,callback:function(e){t.$set(t.form,"closing",e)},expression:"form.closing"}})],1)])]),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                    Enregistrer\n                ")])],1)])])}),[],!1,null,null,null).exports},13490:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(127
271),m=n(32982);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,TheMask:m.TheMask},props:{days:Array,hour:Object},data:function(){return{form:this.$inertia.form({custom:!!this.hour.custom_hour,custom_hour:this.hour.custom_hour,day_id:this.hour.day_id,opening:this.hour.opening,closing:this.hour.closing,all_day:this.hour.all_day})}},methods:{submit:function(){this.form.put(this.route("admin.shop-hours.update",this.hour))}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-hours.index",this.hour.shop_id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour *",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"day",required:""},model:{value:t.form.day_id,callback:function(e){t.$set(t.form,"day_id",e)},expression:"form.day_id"}},t._l(t.days,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"custom",label:"Horaire personnalisé"},model:{value:t.form.custom,callback:function(e){t.$set(t.form,"custom",e)},expression:"form.custom"}})],1),t._v(" "),t.form.custom?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Exemple : Sur reservation",for:"custom_hour"}}),t._v(" "),e("form-input",{attrs:{id:"custom_hour",type:"text"},model:{value:t.form.custom_hour,callback:function(e){t.$set(t.form,"custom_hour",e)},expression:"form.custom_hour"}})],1):e("div",[e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"all_day",label:"24h/24"},model:{value:t.form.all_day,callback:function(e){t.$set(t.form,"all_day",e)},expression:"form.all_day"}})],1),t._v(" "),t.form.all_day?t._e():e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-1/2 px-3 mb-6 md:mb-0"},[e("form-label",{attrs:{value:"Ouverture",for:"opening"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.opening,callback:function(e){t.$set(t.form,"opening",e)},expression:"form.opening"}})],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 px-3"},[e("form-label",{attrs:{value:"Fermeture",for:"closing"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 23:30"},model:{value:t.form.closing,callback:function(e){t.$set(t.form,"closing",e)},expression:"form.closing"}})],1)])]),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},52211:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,FormButton:o.Z},props:{hours:[Array,Object],days:Array,shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("admin.shop-hours.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-hours.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Jour\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Horaire\n                                ")])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.days,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),n.hours.length?e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{staticClass:"underline",attrs:{href:t.route("admin.shop-hours.create",[t.shop.id,n.id])}},[t._v("Ajouter un horaire")]),t._v(" "),e("table",{staticClass:"divide-y divide-gray-200 mt-3"},t._l(n.hours,(function(n){return e("tr",[e("td",{staticStyle:{width:"120px"}},[n.all_day?e("span",[t._v("24h/24")]):n.custom_hour?e("span",[t._v(t._s(n.custom_hour))]):e("span",[t._v(t._s(n.opening)+" - "+t._s(n.closing))])]),t._v(" "),e("td",{staticClass:"px-6"},[e("inertia-link",{attrs:{href:t.route("admin.shop-hours.edit",n.id)}},[t._v("Modifier")])],1),t._v(" "),e("td",{staticClass:"px-6"},[e("button",{staticClass:"bg-red-600 hover:bg-red-700 text-white p-1 m-1",on:{click:function(e){return t.destroy(n.id)}}},[t._v("Supprimer")])])])})),0)],1):e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},[e("tr",[e("td",{staticStyle:{width:"120px"}},[t._v("\n                                                    Fermé\n                                                ")]),t._v(" "),e("td",{staticClass:"px-6"},[e("inertia-link",{staticClass:"underline",attrs:{href:t.route("admin.shop-hours.create",[t.shop.id,n.id])}},[t._v("Ajouter un horaire")])],1)])])])])})),0)])])])])])])])}),[],!1,null,null,null).exports},25169:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(34647),i=n(86257),o=n(69285),a=n(51375),s=n(90422);const l={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z,FormCheckbox:s.Z},props:{rows:[Array,Object],categories:[Array,Object],status:String},data:function(){return{shops:this.rows,categoriesFilter:null,form:this.$inertia.form({q:this.query,categories:[]})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.shops.search",{q:this.form.q,categories:this.form.categories})).then(function(t){this.shops=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.shops.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},["pending"==t.status?e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.shops.index"),icon:["fas","chevron-left"]}},[t._v("\n                    Retour\n                ")])],1):e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.shops.create"),icon:["fas","plus"]}},[t._v("\n                    Ajouter\n                ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shops.index",{status:"pending"}),icon:["fas","check"],"button-style":"warning"}},[t._v("\n                    En attente de validation\n                ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-links.index"),icon:["fas","link"],"button-style":"warning"}},[t._v("\n                    Demande de lien\n                ")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shops.export"),icon:["fas","download"],as:"target_blank","button-style":"secondary"}},[t._v("\n                    Export\n                ")])],1)]),t._v(" "),e("form",{staticClass:"mb-7 flex space-x-2 flex-wrap",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"w-full block border border-gray-200 h-14 sm:w-1/3",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}}),t._v(" "),e("div",{staticClass:"flex align-center flex-col p-3 bg-white border border-gray-200 sm:w-1/3"},[e("div",{staticClass:"flex items-center justify-between cursor-pointer",on:{click:function(e){!0!==t.categoriesFilter?t.categoriesFilter=!0:t.categoriesFilter=!1}}},[e("h4",{staticClass:"inline-block"},[t._v("\n                        Filtrer par catégorie\n                    ")]),t._v(" "),e("div",[0==t.categoriesFilter?e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-down"]}}):e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-up"]}})],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.categoriesFilter,expression:"categoriesFilter"}]},t._l(t.categories,(function(n){return e("div",{key:n.id,staticClass:"mt-3"},[e("label",{staticClass:"flex items-center"},[e("form-checkbox",{attrs:{value:n.id},on:{change:t.searchTimeOut},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600 w-full"},[t._v(t._s(n.name))])],1)])})),0)])]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Catégorie\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Adresse\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Actif\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.shops.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.categories,(function(n){return e("div",[t._v("\n                                        "+t._s(n.name)+"\n                                    ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.name)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.full_address)}}),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.shops.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.shops.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])]),t._v(" "),t.shops.total>t.shops.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.shops.links}})],1):t._e()])])}),[],!1,null,null,null).exports},97507:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,FormButton:o.Z},props:{links:[Array,Object]},methods:{validated:function(t){this.$inertia.put(route("admin.shop-links.validated",t))},refused:function(t){this.$inertia.put(route("admin.shop-links.refused",t),{onBefore:function(){return confirm("Voulez-vous réellement refuser cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.index"),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")])],1),t._v(" "),t.links.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Établissement\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Utilisateur\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.links,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[e("a",{attrs:{href:t.route("admin.shops.show",n.shop),target:"_blank"}},[t._v(t._s(n.shop.name))])]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("a",{attrs:{href:t.route("admin.members.edit",n.user),target:"_blank"}},[t._v(t._s(n.user.lastname)+" "+t._s(n.user.firstname)+" - "+t._s(n.user.email))])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"success",icon:["fas","check"]},nativeOn:{click:function(e){return t.validated(n.id)}}},[t._v("\n                                        Valider\n                                    ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.refused(n.id)}}},[t._v("\n                                        Refuser\n                                    ")])],1)])})),0)])])])])]):t._e()])])}),[],!1,null,null,null).exports},71323:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642);n(6158),n(57204);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeo
vendor: 4,621 bytes, line 2
2f t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z},props:{shopLink:Object},data:function(){return{form:this.$inertia.form({refusal_reason:""})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.put(e.route("admin.shop-links.refused",e.shopLink.id));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-links.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Motif du refus",for:"refusal_reason"}}),t._v(" "),e("form-textarea",{attrs:{id:"refusal_reason"},model:{value:t.form.refusal_reason,callback:function(e){t.$set(t.form,"refusal_reason",e)},expression:"form.refusal_reason"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                    Valider\n                ")])],1)])])])}),[],!1,null,null,null).exports},33505:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(12771),l=n(60642);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,973 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,ZestValidationErrors:s.Z,Cropper:l.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,photo:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("admin.shop-photos.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shop-photos.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (format 1053x724, 10mo max)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},27787:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,FormButton:o.Z},props:{photos:[Array,Object],shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("admin.shop-photos.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),t.photos.length<3?e("button-link",{attrs:{href:t.route("admin.shop-photos.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")]):t._e()],1),t._v(" "),e("div",{staticClass:"flex flex-row flex-wrap"},t._l(t.photos,(function(n){return e("div",{staticClass:"w-full md:w-1/3 mb-4 px-2"},[e("img",{attrs:{src:n.path,alt:""}}),t._v(" "),e("div",{staticClass:"w-100 bg-white p-2"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                        Supprimer\n                    ")])],1)])})),0)])])}),[],!1,null,null,null).exports},24167:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642);n(6158),n(57204);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 5,014 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({refusal_reason:""})}},methods:{submit:function(){var t,e=this;return(t=g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.put(e.route("admin.shops.refused",e.shop.id));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const x=(0,n(51900).Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.show",t.shop),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Motif du refus",for:"refusal_reason"}}),t._v(" "),e("form-textarea",{attrs:{id:"refusal_reason"},model:{value:t.form.refusal_reason,callback:function(e){t.$set(t.form,"refusal_reason",e)},expression:"form.refusal_reason"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                    Valider\n                ")])],1)])])])}),[],!1,null,null,null).exports},62444:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(69285),a=n(55854),s=n(6158),l=n(57204),c=n(15570);const u={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z,MglMap:l.Q3,MglNavigationControl:l.RV,MglAttributionControl:l.tQ,MglMarker:l.xM,FormButton:c.Z},props:{shop:Object,days:Array,articles:Array,videos:Array},data:function(){return{accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:12,center:new s.LngLat(this.shop.longitude,this.shop.latitude),coordinates:[this.shop.longitude,this.shop.latitude]}},methods:{destroyArticle:function(t){this.$inertia.delete(route("admin.shops.destroy-article",{shop:this.shop.id,article:t}),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})},destroyVideo:function(t){this.$inertia.delete(route("admin.shops.destroy-video",{shop:this.shop.id,video:t}),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.shops.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shops.edit",t.shop.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-photos.index",t.shop.id),"button-style":"secondary",icon:["fas","images"]}},[t._v("Photos")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-attachments.index",t.shop.id),"button-style":"secondary",icon:["fas","file"]}},[t._v("Pièces jointes")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-hours.index",t.shop.id),"button-style":"secondary",icon:["fas","clock"]}},[t._v("Horaires")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shop-closing-dates.index",t.shop.id),"button-style":"secondary",icon:["fas","calendar"]}},[t._v("Dates de fermeture")]),t._v(" "),"pending"==t.shop.status?e("div",{staticClass:"inline-block"},[e("button-link",{attrs:{href:t.route("admin.shops.validated",t.shop.id),"button-style":"success",icon:["fas","check"]}},[t._v("Valider")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.shops.refused",t.shop.id),"button-style":"danger",icon:["fas","times"]}},[t._v("Refuser")])],1):e("button-link",{attrs:{as:"target_blank",href:t.route("carte.index",t.shop.slug),"button-style":"success",icon:["fas","map-marker-alt"]}},[t._v("Voir sur la carte")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Catégories")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},t._l(t.shop.categories,(function(n){return e("div",[t._v("\n                                    "+t._s(n.name)+"\n                                ")])})),0)]),t._v(" "),t.shop.user?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Utilisateur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.user.firstname)+" "+t._s(t.shop.user.lastname))])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.name))])]),t._v(" "),t.shop.types&&t.shop.types.length||t.shop.type?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Type")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._l(t.shop.types,(function(n){return e("div",[t._v("\n                                    "+t._s(n.name)+"\n                                ")])})),t._v(" "),e("div",[t._v("\n                                    "+t._s(t.shop.type)+"\n                                ")])],2)]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Adresse")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(t.shop.full_address)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Description")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(t.shop.description)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Téléphone")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.phone))])]),t._v(" "),t.shop.closing_dates.length?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date de fermeture annuelle")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(t.shop.closing_dates,(function(n){return e("tr",[e("td",[t._v("\n                                            "+t._s(t._f("moment")(n.start,"DD/MM/YYYY"))+" - "+t._s(t._f("moment")(n.end,"DD/MM/YYYY"))+"\n                                        ")])])})),0)])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Horaire")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.days,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                                "+t._s(n.name)+"\n                                            ")]),t._v(" "),n.hours.length?e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(n.hours,(function(n){return e("tr",[e("td",[n.all_day?e("span",[t._v("24h/24")]):n.custom_hour?e("span",[t._v(t._s(n.custom_hour))]):e("span",[t._v(t._s(n.opening)+" - "+t._s(n.closing))])])])})),0)]):e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},[e("tr",[e("td",[t._v("\n                                                            Fermé\n                                                        ")])])])])])})),0)])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("URL site web")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.website_url))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Sélection Guide Kaspro")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.kaspro_guide?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente sur place")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.sale_on_site?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente à emporter")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.takeaway?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente en ligne")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.sale_online?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Visite")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.visit?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Livraison sous conditions")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.delivery_under_conditions?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Privatisable")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.privatizable?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Terrasse")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.terrace?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Fumeur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.smoking?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Accès PMR")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.pmr_access?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Traiteur sous condition")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.caterer_under_conditions?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[t.shop.logo?e("img",{staticClass:"w-full mb-5",attrs:{src:t.shop.logo,alt:""}}):t._e(),t._v(" "),e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}}
2,[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black"}})],1),t._v(" "),e("div",{staticClass:"mt-6"},[e("h3",{staticClass:"text-xl"},[t._v("Articles")]),t._v(" "),e("button-link",{staticClass:"my-4",attrs:{href:t.route("admin.shops.add-article",t.shop.id),"button-style":"secondary",icon:["fas","plus"]}},[t._v("Ajouter")]),t._v(" "),t.articles.length?e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                Titre\n                            ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}})])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.articles,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{attrs:{href:t.route("admin.articles.show",n.id)}},[t._v(t._s(n.title))])],1),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroyArticle(n.id)}}},[t._v("\n                                    Supprimer\n                                ")])],1)])})),0)]):t._e()],1),t._v(" "),e("div",{staticClass:"mt-6"},[e("h3",{staticClass:"text-xl"},[t._v("Vidéos")]),t._v(" "),e("button-link",{staticClass:"my-4",attrs:{href:t.route("admin.shops.add-video",t.shop.id),"button-style":"secondary",icon:["fas","plus"]}},[t._v("Ajouter")]),t._v(" "),t.videos.length?e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                Titre\n                            ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}})])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.videos,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{attrs:{href:t.route("admin.videos.show",n.id)}},[t._v(t._s(n.title))])],1),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroyVideo(n.id)}}},[t._v("\n                                    Supprimer\n                                ")])],1)])})),0)]):t._e()],1)],1)])])])}),[],!1,null,null,null).exports},61870:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570);const l={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z},props:{},data:function(){return{form:this.$inertia.form({name:""})}},methods:{submit:function(){this.form.post(this.route("admin.types.store"))}}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.types.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},29499:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(7928),c=n(90422);const u={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,FormSelect:l.Z,FormCheckbox:c.Z},props:{obj:Object},data:function(){return{form:this.$inertia.form({name:this.obj.name})}},methods:{submit:function(){this.form.put(this.route("admin.types.update",this.obj.id))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.types.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},6077:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(34647),i=n(86257),o=n(51375);const a={components:{ButtonLink:i.Z,AdminLayout:r.Z,ButtonIconLink:o.Z},props:{rows:Array},data:function(){return{}},methods:{}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"bg-red-500 p-5 text-white mb-3"},[e("div",{staticClass:"card-body"},[e("p",[t._v("\n                    Evitez de modifier les paramètres ci-dessous sauf si vous êtes vraiment sûr de ce que vous faites."),e("br"),t._v("\n                    Les modifications que vous apportez ici ont un impact sur le fonctionnement de l'application. "),e("br"),t._v("\n                    Contactez le support pour avoir de l'aide - "),e("strong",[t._v("DIGITALE STRATEGIE : "),e("a",{staticClass:"text-light",attrs:{href:"mailto:[email protected]"}},[t._v("[email protected]")])])])])]),t._v(" "),e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.types.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.rows,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.name)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.types.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])])])])}),[],!1,null,null,null).exports},31800:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(12771);const c={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,ZestValidationErrors:l.Z},props:{roles:Array},data:function(){return{form:this.$inertia.form({role_id:"",lastname:"",firstname:"",email:"",password:""})}},methods:{submit:function(){this.form.post(this.route("admin.users.store"))}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.users.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{attrs:{autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Role *",for:"role_id"}}),t._v(" "),t._l(t.roles,(function(n){return e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.role_id,expression:"form.role_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.role_id,n.id)},on:{change:function(e){return t.$set(t.form,"role_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"lastname"}}),t._v(" "),e("form-input",{attrs:{id:"lastname",type:"text",required:""},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prénom *",for:"firstname"}}),t._v(" "),e("form-input",{attrs:{id:"firstname",type:"text",required:""},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Email *",for:"email"}}),t._v(" "),e("form-input",{attrs:{id:"email",type:"text",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Mot de passe *",for:"password"}}),t._v(" "),e("form-input",{attrs:{id:"password",type:"password",required:""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},78650:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(34647),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(12771);const c={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,ZestValidationErrors:l.Z},props:{obj:Object,roles:Array},data:function(){return{form:this.$inertia.form({role_id:this.obj.roles[0].id,lastname:this.obj.lastname,firstname:this.obj.firstname,email:this.obj.email})}},methods:{submit:function(){this.form.put(this.route("admin.users.update",this.obj.id))},destroy:function(){this.$inertia.delete(route("admin.users.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.users.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Role *",for:"role_id"}}),t._v(" "),t._l(t.roles,(function(n){return e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.role_id,expression:"form.role_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.role_id,n.id)}
2,on:{change:function(e){return t.$set(t.form,"role_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"lastname"}}),t._v(" "),e("form-input",{attrs:{id:"lastname",type:"text",required:""},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prénom *",for:"firstname"}}),t._v(" "),e("form-input",{attrs:{id:"firstname",type:"text",required:""},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Email *",for:"email"}}),t._v(" "),e("form-input",{attrs:{id:"email",type:"text",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},50762:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{users:this.rows}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.users.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Prénom\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Email\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Rôle\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.users.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                    "+t._s(n.lastname)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.firstname)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(n.email)+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.roles,(function(n){return e("p",[t._v("\n                                        "+t._s(n.name)+"\n                                    ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.users.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])]),t._v(" "),t.users.total>t.users.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.users.links}})],1):t._e()])])}),[],!1,null,null,null).exports},87630:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(34647),i=n(86257),o=n(88587),a=n(15570),s=n(7928),l=n(12771);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,944 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,FormSelect:s.Z,ZestValidationErrors:l.Z},props:{shops:[Array,Object],obj:Object},data:function(){return{form:this.$inertia.form({shop_id:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.form.processing=!0,e.form.post(e.route("admin.videos.add-shop-store",e.obj.id));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.videos.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Établissement",for:"shop_id"}}),t._v(" "),e("form-select",{attrs:{id:"shop_id"},model:{value:t.form.shop_id,callback:function(e){t.$set(t.form,"shop_id",e)},expression:"form.shop_id"}},[e("option",{attrs:{value:""}},[t._v("Sélectionner")]),t._v(" "),t._l(t.shops,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},52826:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>_});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134);const m={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,ZestValidationErrors:f.Z,Editor:p.Z},props:{categories:[Array,Object]},data:function(){return{form:this.$inertia.form({categorie_id:"",vimeo_id:"",title:"",episode:"",description:"",resume:"",place:"",city:"",published_date:new Date,published_hour:("0"+(new Date).getHours()).slice(-2)+":"+("0"+(new Date).getMinutes()).slice(-2),tags:[],active:!0})}},methods:{submit:function(){this.form.post(this.route("admin.videos.store"))}}};const _=(0,n(51900).Z)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.videos.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégorie *",for:"categorie_id"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",[n.child.length?e("div",[e("label",{staticClass:"ml-5",attrs:{for:n.id}},[t._v(t._s(n.name))]),t._v(" "),t._l(n.child,(function(n){return e("div",{staticClass:"ml-5"},[n.child.length?e("div",[e("label",{staticClass:"ml-5",attrs:{for:n.id}},[t._v(t._s(n.name))]),t._v(" "),t._l(n.child,(function(n){return e("div",{staticClass:"ml-10"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)},on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])}))],2):e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],staticClass:"ml-5",attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)},on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])])}))],2):e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)},on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])])}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID *",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text",required:""},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Épisode",for:"episode"}}),t._v(" "),e("form-input",{attrs:{id:"episode",type:"number",min:"0"},model:{value:t.form.episode,callback:function(e){t.$set(t.form,"episode",e)},expression:"form.episode"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"place"}}),t._v(" "),e("form-input",{attrs:{id:"place",type:"text"},model:{value:t.form.place,callback:function(e){t.$set(t.form,"place",e)},expression:"form.place"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville",for:"city"}}),t._v(" "),e("form-input",{attrs:{id:"city",type:"text"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("editor",{model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},33884:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>_});var r=n(34647),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134);const m={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,ZestValidationErrors:f.Z,Editor:p.Z},props:{categories:[Array,Object],obj:Object,categorie:Object,tags:Array},data:function(){return{form:this.$inertia.form({categorie_id:this.obj.categorie_id,vimeo_id:this.obj.vimeo_id,title:this.obj.title,episode:this.obj.episode,description:this.obj.description,resume:this.obj.resume,place:this.obj.place,city:this.obj.city,published_date:this.obj.published_at,published_hour:this.obj.published_hour,tags:this.tags,active:this.obj.active})}},methods:{submit:function(){this.form.put(this.route("admin.videos.update",this.obj.id))},destroy:function(){this.$inertia.delete(route("admin.videos.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const _=(0,n(51900).Z)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.videos.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégorie *",for:"categorie_id"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",[n.child.length?e("div",[e("label",{staticClass:"ml-5",attrs:{for:n.id}},[t._v(t._s(n.name))]),t._v(" "),t._l(n.child,(function(n){return e("div",{staticClass:"ml-5"},[n.child.length?e("div",[e("label",{staticClass:"ml-5",attrs:{for:n.id}},[t._v(t._s(n.name))]),t._v(" "),t._l(n.child,(function(n){return e("div",{staticClass:"ml-10"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)}
2,on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])}))],2):e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],staticClass:"ml-5",attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)},on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])])}))],2):e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.categorie_id,expression:"form.categorie_id"}],attrs:{type:"radio",id:n.id},domProps:{value:n.id,checked:t._q(t.form.categorie_id,n.id)},on:{change:function(e){return t.$set(t.form,"categorie_id",n.id)}}}),t._v(" "),e("label",{attrs:{for:n.id}},[t._v(t._s(n.name))])])])}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Vimeo ID *",for:"vimeo_id"}}),t._v(" "),e("form-input",{attrs:{id:"vimeo_id",type:"text",required:""},model:{value:t.form.vimeo_id,callback:function(e){t.$set(t.form,"vimeo_id",e)},expression:"form.vimeo_id"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Titre *",for:"title"}}),t._v(" "),e("form-input",{attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Épisode",for:"episode"}}),t._v(" "),e("form-input",{attrs:{id:"episode",type:"number",min:"0"},model:{value:t.form.episode,callback:function(e){t.$set(t.form,"episode",e)},expression:"form.episode"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu",for:"place"}}),t._v(" "),e("form-input",{attrs:{id:"place",type:"text"},model:{value:t.form.place,callback:function(e){t.$set(t.form,"place",e)},expression:"form.place"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville",for:"city"}}),t._v(" "),e("form-input",{attrs:{id:"city",type:"text"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("editor",{model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date de publication *",for:"published_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"published_date",required:!0},model:{value:t.form.published_date,callback:function(e){t.$set(t.form,"published_date",e)},expression:"form.published_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure de publication *",for:"published_hour"}}),t._v(" "),e("form-input",{attrs:{id:"published_hour",type:"text",maxlength:"5",placeholder:"format HH:mm (ex : 08:00)",required:""},model:{value:t.form.published_hour,callback:function(e){t.$set(t.form,"published_hour",e)},expression:"form.published_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"active",label:"Actif"},model:{value:t.form.active,callback:function(e){t.$set(t.form,"active",e)},expression:"form.active"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},74855:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(34647),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object]},data:function(){return{videos:this.rows,form:this.$inertia.form({q:this.query})}},methods:{submit:function(){""!=this.form.q?axios.get(route("admin.videos.search",{q:this.form.q})).then(function(t){this.videos=t.data.rows}.bind(this)):this.$inertia.visit(route("admin.videos.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.videos.create"),icon:["fas","plus"]}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("form",{staticClass:"mb-7 sm:w-1/3",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-3 w-full block border border-gray-200",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Catégorie\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Titre\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Date de publication\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Actif\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.videos.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.categorie?e("div",[n.categorie.parent&&n.categorie.parent.parent?e("span",[t._v(t._s(n.categorie.parent.parent.name)+" >
2")]):t._e(),t._v(" "),n.categorie.parent&&n.categorie.parent.name?e("span",[t._v(t._s(n.categorie.parent.name)+" >")]):t._e(),t._v("\n                                            "+t._s(n.categorie.name)+"\n                                        ")]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.title)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(t._f("moment")(n.published_at,"DD/MM/YYYY"))+" "+t._s(n.published_hour)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("\n                                              Oui\n                                            ")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("\n                                              Non\n                                            ")])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("admin.videos.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("admin.videos.show",n.id),"button-style":"success",icon:["fas","search"]}}),t._v(" "),n.default?e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.videos.default",{video:n.id,redirect:"index"}),"button-style":"transparent",icon:["fas","star"]}}):e("button-icon-link",{staticClass:"text-yellow-500",attrs:{href:t.route("admin.videos.default",{video:n.id,redirect:"index"}),"button-style":"transparent",icon:["far","star"]}})],1)])})),0)])])])])]),t._v(" "),t.videos.total>t.videos.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.videos.links}})],1):t._e()])])}),[],!1,null,null,null).exports},22998:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(34647),i=n(86257),o=n(69285),a=n(55854),s=n(15570);const l={components:{ButtonLink:i.Z,AdminLayout:r.Z,Pagination:o.Z,Tags:a.Z,FormButton:s.Z},props:{obj:Object,categorie:Object,tags:Array,shops:Array},data:function(){return{}},methods:{destroy:function(t){this.$inertia.delete(route("admin.videos.destroy-shop",{video:this.obj.id,shop:t}),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("admin-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("admin.videos.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("admin.videos.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),t.obj.default?e("button-link",{attrs:{href:t.route("admin.videos.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Retirer de l'accueil")]):e("button-link",{attrs:{href:t.route("admin.videos.default",t.obj.id),"button-style":"warning",icon:["fas","star"]}},[t._v("Mettre en avant sur le site")]),t._v(" "),e("button-link",{attrs:{href:t.route("video.show",t.obj),"button-style":"secondary",icon:["fas","laptop"],as:"target_blank"}},[t._v("Voir en ligne")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Catégorie")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.categorie?e("div",[t.obj.categorie.parent&&t.obj.categorie.parent.parent?e("span",[t._v(t._s(t.obj.categorie.parent.parent.name)+" >
2")]):t._e(),t._v(" "),t.obj.categorie.parent&&t.obj.categorie.parent.name?e("span",[t._v(t._s(t.obj.categorie.parent.name)+" >")]):t._e(),t._v("\n                                    "+t._s(t.categorie.name)+"\n                                ")]):t._e()])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Titre")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.title))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Épisode")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.episode))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase whitespace-nowrap"},[t._v("Lieu - ville")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.place)+" "+t._s(t.obj.city))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Résumé")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.resume))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Tags")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("ul",t._l(t.tags,(function(n){return e("li",{staticClass:"inline-block m-1"},[e("div",{staticClass:"bg-blue-100 text-blue-600 text-sm py-1 px-2 whitespace-nowrap"},[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])])})),0)])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date de publication")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.published_at,"DD/MM/YYYY"))+" "+t._s(t.obj.published_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.obj.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase align-top"},[t._v("Description")]),t._v(" "),e("td",{staticClass:"px-6 py-4 page-content",domProps:{innerHTML:t._s(t.obj.description)}})])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[e("iframe",{attrs:{src:"https://player.vimeo.com/video/"+t.obj.vimeo_id,width:"100%",height:"360",frameborder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowfullscreen:""}}),t._v(" "),e("div",{staticClass:"mt-6"},[e("h3",{staticClass:"text-xl"},[t._v("Établissements")]),t._v(" "),e("button-link",{staticClass:"my-4",attrs:{href:t.route("admin.videos.add-shop",t.obj.id),"button-style":"secondary",icon:["fas","plus"]}},[t._v("Ajouter")]),t._v(" "),t.shops.length?e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}})])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.shops,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{attrs:{href:t.route("admin.shops.show",n.id)}},[t._v(t._s(n.name))])],1),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                                        Supprimer\n                                    ")])],1)])})),0)]):t._e()],1)])])])])}),[],!1,null,null,null).exports},26656:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(85489),i=n(83933),o=n(53364),a=n(97874),s=n(65626);const l={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,Pagination:a.Z,CardAgendaList:s.Z},props:{categories:Array,defaultAgenda:Object,agendas:Object,date:String}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-28"},[e("div",{staticClass:"text-center mt-8 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold capitalize"},[t._v(t._s(t._f("moment")(t.date,"MMMM YYYY")))])]),t._v(" "),t.agendas.total?e("div",{staticClass:"mt-5"},[e("card-agenda-list",{attrs:{agendas:t.agendas.data}}),t._v(" "),t.agendas.total>t.agendas.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.agendas.links}})],1):t._e()],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun événement pour le moment...")])])])}),[],!1,null,null,null).exports},2214:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(85489),i=n(83933),o=n(53364),a=n(55854),s=n(79424),l=n(20821),c=n(20477);const u={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,Tags:a.Z,CardAgenda:s.Z,AdBanner:l.default,AdAgenda:c.default},props:{categories:[Object,Array],defaultAgenda:Object,agendas:[Object,Array],fairgroundMarket:Array}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"flex flex-wrap md:flex-nowrap justify-center mx-2 sm:space-x-4"},[e("ad-agenda",{attrs:{mobile:!1}}),t._v(" "),e("div",{staticStyle:{"max-width":"896px"}},[e("inertia-link",{attrs:{href:t.route("agenda.show",t.defaultAgenda.slug)}},[e("img",{attrs:{src:t.defaultAgenda.photo,alt:""}})]),t._v(" "),e("div",{staticClass:"my-5 px-5 sm:px-0"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-2"},[t._v(t._s(t.defaultAgenda.name))]),t._v(" "),e("div",{staticClass:"font-bold mb-2"},[e("h2",[t._v(t._s(t.defaultAgenda.dates_libelle))]),t._v(" "),t.defaultAgenda.location?e("h3",[t._v("\n                            "+t._s(t.defaultAgenda.location)+"\n                        ")]):t._e()]),t._v(" "),t.defaultAgenda.resume?e("p",{staticClass:"mb-4"},[t._v(t._s(t.defaultAgenda.resume))]):e("p",{staticClass:"mb-4 page-content",domProps:{innerHTML:t._s(t.defaultAgenda.content)}}
2)])],1)],1),t._v(" "),e("ad-banner",{attrs:{mobile:!1}}),t._v(" "),e("ad-agenda",{attrs:{desktop:!1}}),t._v(" "),t.fairgroundMarket.length?e("section",[e("hr"),t._v(" "),t._m(0),t._v(" "),e("horizontal-list",{attrs:{items:t.fairgroundMarket},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-agenda",{attrs:{agenda:n}})]}}],null,!1,3186324156)})],1):t._e(),t._v(" "),t._l(t.categories,(function(n){return e("section",{key:n.id,staticClass:"mb-10"},[e("hr"),t._v(" "),e("div",{staticClass:"text-center mt-5 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold capitalize"},[t._v(t._s(t._f("moment")(n.date,"MMMM YYYY")))])]),t._v(" "),e("horizontal-list",{attrs:{items:t.agendas[n.date].slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-agenda",{attrs:{agenda:n}})]}}],null,!0)}),t._v(" "),t.agendas[n.date].length>6?e("div",{staticClass:"text-center mt-5"},[e("zest-button-link",{attrs:{href:t.route("agenda.filter",[n.year,n.month])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e()],1)})),t._v(" "),e("ad-banner",{attrs:{desktop:!1}})],2)])}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-5 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold capitalize"},[this._v("Marchés forains")])])}],!1,null,null,null).exports},38078:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(85489),i=n(83933),o=n(53364),a=n(55854);const s={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,Tags:a.Z},props:{defaultAgenda:Object,tags:String}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"max-w-screen-lg mx-auto"},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"w-full",attrs:{src:t.defaultAgenda.photo,alt:""}})]),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-2"},[t._v(t._s(t.defaultAgenda.name))]),t._v(" "),e("div",{staticClass:"font-bold mb-4"},[e("h2",[t._v(t._s(t.defaultAgenda.dates_libelle))]),t._v(" "),t.defaultAgenda.location?e("h3",[t._v("\n                    "+t._s(t.defaultAgenda.location)+"\n                ")]):t._e(),t._v(" "),t.defaultAgenda.organizer?e("h4",{staticClass:"font-medium"},[t._v("\n                    "+t._s(t.defaultAgenda.organizer)+"\n                ")]):t._e()]),t._v(" "),e("tags",{attrs:{string:t.tags,type:"agenda"}}),t._v(" "),e("p",{staticClass:"mt-2 page-content",domProps:{innerHTML:t._s(t.defaultAgenda.content)}})],1)])])}),[],!1,null,null,null).exports},23577:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(85489),i=n(83933),o=n(55854),a=n(97874),s=n(66350);const l={layout:r.Z,components:{ZestButtonLink:i.Z,Tags:o.Z,Pagination:a.Z,CardArticleList:s.Z},props:{defaultArticle:Object,articles:[Array,Object],categorie:Object,tags:String},data:function(){return{}}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[e("h1",{staticClass:"text-4xl font-bold uppercase"},[t._v(t._s(t.categorie.name))]),t._v(" "),e("h2",{staticClass:"text-lg font-bold"},[t._v(t._s(t.categorie.description))])]),t._v(" "),t.defaultArticle?e("div",{staticClass:"container mx-auto"},[e("div",[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"w-full",attrs:{src:t.defaultArticle.photo,alt:""}}),t._v(" "),e("h1",{staticClass:"uppercase text-3xl sm:text-4xl absolute left-0 right-0 text-center text-white font-bold sm:w-1/2 sm:mx-auto"},[t._v("\n                    "+t._s(t.defaultArticle.subtitle)+"\n                ")])]),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-3"},[t._v(t._s(t.defaultArticle.title))]),t._v(" "),t.defaultArticle.resume?e("p",{staticClass:"mb-4"},[t._v(t._s(t.defaultArticle.resume))]):e("p",{staticClass:"mb-4 page-content",domProps:{innerHTML:t._s(t.defaultArticle.content)}}),t._v(" "),e("zest-button-link",{staticClass:"mb-8",attrs:{href:t.route("article.show",t.defaultArticle.slug)}},[t._v("\n                    LIRE L'ARTICLE\n                ")]),t._v(" "),e("tags",{attrs:{string:t.tags,type:"article"}})],1)]),t._v(" "),t.articles.total?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 mb-8"},[t._v("PLUS D'ARTICLES À DÉCOUVRIR")]),t._v(" "),e("card-article-list",{attrs:{articles:t.articles.data}}),t._v(" "),t.articles.total>t.articles.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.articles.links}})],1):t._e()],1):t._e()]):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])])}),[],!1,null,null,null).exports},53010:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(85489),i=n(83933),o=n(53364),a=n(70853),s=n(20821);const l={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,CardArticle:a.Z,AdBanner:s.default},props:{categories:Array,categoryCoupsDeKer:Object,articles:Object,articlesC
2hef:Array,defaultArticle:Object,recentArticles:Array},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.render("WEB_MBAN_ATF1A");\n            sas.render("WEB_MBAN_ATF2");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",[t.defaultArticle?e("div",{staticClass:"container mx-auto"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),e("div",[e("inertia-link",{attrs:{href:t.route("article.show",t.defaultArticle.slug)}},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"header-img",attrs:{src:t.defaultArticle.photo,alt:""}}),t._v(" "),e("h1",{staticClass:"uppercase text-3xl sm:text-4xl absolute left-0 right-0 text-center text-white font-bold sm:w-1/2 sm:mx-auto"},[t._v("\n                            "+t._s(t.defaultArticle.subtitle)+"\n                        ")])]),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-3"},[t._v(t._s(t.defaultArticle.categorie.name)+" -\n                            "+t._s(t.defaultArticle.title))]),t._v(" "),t.defaultArticle.resume?e("p",[t._v(t._s(t.defaultArticle.resume))]):e("p",{staticClass:"page-content",domProps:{innerHTML:t._s(t.defaultArticle.content)}})])])],1),t._v(" "),e("div",[e("hr"),t._v(" "),t._m(0),t._v(" "),e("horizontal-list",{staticClass:"mb-5",attrs:{items:t.recentArticles},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n,"show-category":!0}})]}}],null,!1,2280360962)})],1),t._v(" "),e("ad-banner"),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}}),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"my-2 py-2"},[t.articlesChef.length?e("div",[e("horizontal-list",{staticClass:"mb-2",attrs:{items:t.articlesChef},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)}),t._v(" "),t.articlesChef.length>6?e("div",{staticClass:"text-center my-8"},[e("zest-button-link",{attrs:{href:t.route("article.categorie",t.categoryCoupsDeKer)}},[t._v("\n                            VOIR PLUS\n                        ")])],1):t._e()],1):t._e()]),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1A"}}),t._v(" "),t._l(t.categories,(function(n){return e("section",{key:n.id,staticClass:"mb-10"},[t.articles[n.id].length?e("div",[e("hr"),t._v(" "),e("div",{staticClass:"text-center my-8 mx-auto"},[e("img",{staticClass:"mx-auto mb-3",attrs:{src:"/images/categories/"+n.slug+".png",alt:""}}),t._v(" "),e("h1",{staticClass:"text-3xl font-bold uppercase"},[t._v(t._s(n.name))]),t._v(" "),e("h2",{staticClass:"font-bold"},[t._v(t._s(n.description))])]),t._v(" "),e("horizontal-list",{attrs:{items:t.articles[n.id].slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!0)}),t._v(" "),t.articles[n.id].length>6?e("div",{staticClass:"text-center mt-8"},[e("zest-button-link",{attrs:{href:t.route("article.categorie",n)}},[t._v("\n                            VOIR PLUS\n                        ")])],1):t._e()],1):t._e()])})),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF2"}})],2):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase"},[this._v("Nos derniers articles")])])}],!1,null,null,null).exports},42016:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(85489),i=n(55854),o=n(83933),a=n(42893),s=n(66350),l=n(20821);const c={layout:r.Z,components:{Tags:i.Z,ZestButtonLink:o.Z,Share:a.Z,CardArticleList:s.Z,AdBanner:l.default},props:{categories:Array,defaultArticle:Object,categorie:String,author:Object,articles:Array,url:String,likedProps:Boolean,savedProps:Boolean,tags:String},data:function(){return{liked:this.likedProps,saved:this.savedProps,showBtnLogin:!1,textBtnLogin:"Se connecter"}},methods:{like:function(){var t=this;axios.post(route("article.like",this.defaultArticle.id)).then((function(e){t.liked=e.data.hasLiked}))},save:function(){var t=this;axios.post(route("article.save",this.defaultArticle.id)).then((function(e){t.saved=e.data.hasSaved}))}},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\
2n            sas.render("WEB_MPAVE_ATF_READ");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"max-w-screen-lg mx-auto"},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"w-full",attrs:{src:t.defaultArticle.photo,alt:""}}),t._v(" "),e("h1",{staticClass:"uppercase text-3xl sm:text-4xl absolute left-0 right-0 text-center text-white font-bold sm:w-1/2 sm:mx-auto"},[t._v("\n                    "+t._s(t.defaultArticle.subtitle)+"\n                ")])]),t._v(" "),e("div",{staticClass:"py-3 sm:py-4 bg-gray-100 flex text-gray-500 justify-between px-10 sm:px-32 text-center"},[e("div",[t.$page.props.user?e("div",{staticClass:"cursor-pointer text-center",on:{click:t.save}},[t.saved?e("font-awesome-icon",{staticClass:"text-2xl text-zest-yellow",attrs:{icon:["fas","check"]}}):e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("Enregistrer\n                    ")],1):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour enregistrer la vidéo"}}},[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("Enregistrer\n                    ")],1)]),t._v(" "),e("div",[t.$page.props.user?e("div",{staticClass:"cursor-pointer",on:{click:t.like}},[t.liked?e("div",[e("font-awesome-icon",{staticClass:"text-2xl text-zest-yellow",attrs:{icon:["fas","heart"]}}),t._v(" "),e("br"),t._v("Je n'aime plus\n                        ")],1):e("div",[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                        ")],1)]):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour aimer l'article"}}},[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                    ")],1)]),t._v(" "),e("share",{attrs:{title:t.defaultArticle.title,url:t.url}})],1),t._v(" "),!t.$page.props.user&&t.showBtnLogin?e("div",{staticClass:"text-center my-5"},[e("zest-button-link",{attrs:{href:t.route("login")}},[t._v("\n                    "+t._s(t.textBtnLogin)+"\n                ")])],1):t._e()]),t._v(" "),e("ad-banner"),t._v(" "),e("div",{staticClass:"text-justify mt-5 mb-8 px-5 sm:px-0"},[e("h1",{staticClass:"text-xl font-bold uppercase"},[t._v(t._s(t.categorie))]),t._v(" "),e("h2",{staticClass:"text-xl font-bold"},[t._v(t._s(t.defaultArticle.title))]),t._v(" "),t.defaultArticle.place||t.defaultArticle.city?e("h3",[t._v(t._s(t.defaultArticle.place)),t.defaultArticle.place&&t.defaultArticle.city?e("span",[t._v(" - ")]):t._e(),t._v(t._s(t.defaultArticle.city))]):t._e(),t._v(" "),e("h4",{staticClass:"mb-4 capitalize text-sm"},[t._v(t._s(t._f("moment")(t.defaultArticle.published_at,"DD MMMM YYYY")))]),t._v(" "),e("tags",{attrs:{string:t.tags,type:"article"}}),t._v(" "),t.author?e("div",{staticClass:"mt-5 mb-10 flex"},[e("img",{staticClass:"h-14 w-14 rounded-full",attrs:{src:t.author.photo,alt:""}}),t._v(" "),e("inertia-link",{staticClass:"my-auto ml-3",attrs:{href:t.route("author.show",t.author)}},[t._v(t._s(t.author.firstname)+" "),e("span",{staticClass:"uppercase"},[t._v(t._s(t.author.lastname))])])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MPAVE_ATF_READ"}}),t._v(" "),e("p",{staticClass:"mt-2 page-content",domProps:{innerHTML:t._s(t.defaultArticle.content)}}),t._v(" "),e("div",{staticClass:"text-center mt-10"},[e("p",{staticClass:"font-bold mb-3"},[t._v("Vous avez aimé ?")]),t._v(" "),e("share",{attrs:{title:t.defaultArticle.title,url:t.url}})],1),t._v(" "),e("div",{attrs:{id:"WEB_MPAVE_ATF_READ"}})],1),t._v(" "),e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 mb-8"},[t._v("PLUS D'ARTICLES À DÉCOUVRIR")]),t._v(" "),e("card-article-list",{staticClass:"mb-10",attrs:{articles:t.articles,"show-category":!0}})],1)}),[],!1,null,null,null).exports},48719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(51900);const i=(0,r.Z)({},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100"},[e("div",[t._t("logo")],2),t._v(" "),e("div",{staticClass:"w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rou
2nded-lg"},[t._t("default")],2)])}),[],!1,null,null,null).exports;const o=(0,r.Z)({},(function(){var t=this._self._c;return t("inertia-link",{attrs:{href:"/"}},[t("svg",{staticClass:"w-16 h-16",attrs:{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M11.395 44.428C4.557 40.198 0 32.632 0 24 0 10.745 10.745 0 24 0a23.891 23.891 0 0113.997 4.502c-.2 17.907-11.097 33.245-26.602 39.926z",fill:"#6875F5"}}),this._v(" "),t("path",{attrs:{d:"M14.134 45.885A23.914 23.914 0 0024 48c13.255 0 24-10.745 24-24 0-3.516-.756-6.856-2.115-9.866-4.659 15.143-16.608 27.092-31.75 31.751z",fill:"#6875F5"}})])])}),[],!1,null,null,null).exports;var a=n(58161);const s={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const l=(0,r.Z)(s,(function(){var t=this;return(0,t._self._c)("input",{ref:"input",staticClass:"border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm",domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports;const c={props:["value"]};const u=(0,r.Z)(c,(function(){var t=this,e=t._self._c;return e("label",{staticClass:"block font-medium text-sm text-gray-700"},[t.value?e("span",[t._v(t._s(t.value))]):e("span",[t._t("default")],2)])}),[],!1,null,null,null).exports;const d={computed:{errors:function(){return this.$page.props.errors},hasErrors:function(){return Object.keys(this.errors).length>0}}};const h=(0,r.Z)(d,(function(){var t=this,e=t._self._c;return t.hasErrors?e("div",[e("div",{staticClass:"font-medium text-red-600"},[t._v("Oups! Il y a eu quelques problèmes avec votre saisie.")]),t._v(" "),e("ul",{staticClass:"mt-3 list-disc list-inside text-sm text-red-600"},t._l(t.errors,(function(n,r){return e("li",{key:r},[t._v(t._s(n))])})),0)]):t._e()}),[],!1,null,null,null).exports,f={components:{JetAuthenticationCard:i,JetAuthenticationCardLogo:o,JetButton:a.Z,JetInput:l,JetLabel:u,JetValidationErrors:h},data:function(){return{form:this.$inertia.form({password:""})}},methods:{submit:function(){var t=this;this.form.post(this.route("password.confirm"),{onFinish:function(){return t.form.reset()}})}}};const p=(0,r.Z)(f,(function(){var t=this,e=t._self._c;return e("jet-authentication-card",{scopedSlots:t._u([{key:"logo",fn:function(){return[e("jet-authentication-card-logo")]},proxy:!0}])},[t._v(" "),e("div",{staticClass:"mb-4 text-sm text-gray-600"},[t._v("\n        This is a secure area of the application. Please confirm your password before continuing.\n    ")]),t._v(" "),e("jet-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("jet-label",{attrs:{for:"password",value:"Password"}}),t._v(" "),e("jet-input",{staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",required:"",autocomplete:"current-password",autofocus:""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),e("div",{staticClass:"flex justify-end mt-4"},[e("jet-button",{staticClass:"ml-4",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                Confirm\n            ")])],1)])],1)}),[],!1,null,null,null).exports},45011:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(3277),i=n(98997),o=n(85489),a=n(66772);const s={layout:o.Z,components:{ZestButton:r.Z,ZestInput:i.Z,ZestValidationErrors:a.Z},props:{status:String},data:function(){return{form:this.$inertia.form({email:""})}},methods:{submit:function(){this.form.post(this.route("password.email"))}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[e("div",{staticClass:"mb-4"},[t._v("\n            Mot de passe oublié ? Aucun problème. Indiquez votre adresse e-mail et nous vous enverrons un lien de réinitialisation de mot de passe qui vous permettra d'en choisir un nouveau.\n        ")]),t._v(" "),t.status?e("div",{staticClass:"mb-4 font-medium text-sm text-green-600"},[t._v("\n            "+t._s(t.status)+"\n        ")]):t._e(),t._v(" "),e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email",placeholder:"Email",required:"",autofocus:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"text-center mt-4"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    CONTINUER\n                ")])],1)])],1)])}),[],!1,null,null,null).exports},83049:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(3277),i=n(98997),o=n(37699),a=n(22593),s=n(66772),l=n(85489),c=n(83933);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?u(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const f={layout:l.Z,components:{ZestButton:r.Z,ZestInput:i.Z,ZestCheckbox:o.Z,ZestToggle:a.Z,ZestValidationErrors:s.Z,ZestButtonLink:c.Z},props:{canResetPassword:Boolean,status:String},data:function(){return{form:this.$inertia.form({email:"",password:"",remember:!0})}},methods:{submit:function(){var t=this;this.form.transform((function(e){return d(d({},e),{},{remember:t.form.remember?"on":""})})).post(this.route("login"),{onFinish:function(){return t.form.reset("password")}})}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center mb-20"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[t._m(0),t._v(" "),e("p",{staticClass:"text-center my-5"},[t._v("\n            Rejoins la communauté ZEST et profite de tous nos contenus illimités ! Crée tes propres playlists,\n            enregistre tes recettes favorites et sois informé en priorité des bons plans et réductions proposés chez\n            tous nos partenaires !\n        ")]),t._v(" "),e("div",{staticClass:"text-center mt-4 mb-6"},[e("zest-button-link",{attrs:{href:t.route("register")}},[t._v("\n                S'INSCRIRE\n            ")])],1),t._v(" "),e("hr"),t._v(" "),e("h1",{staticClass:"text-3xl text-center my-5"},[t._v("DÉJÀ MEMBRE ? S'IDENTIFIER")]),t._v(" "),e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),t.status?e("div",{staticClass:"mb-4 font-medium text-sm text-green-600"},[t._v("\n            "+t._s(t.status)+"\n        ")]):t._e(),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email",placeholder:"Email",required:"",autofocus:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",placeholder:"Mot de passe",required:"",autocomplete:"current-password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[t.canResetPassword?e("inertia-link",{staticClass:"text-sm text-gray-600 hover:text-gray-900",attrs:{href:t.route("password.request")}},[t._v("\n                    Mot de passe oublié ?\n                ")]):t._e()],1),t._v(" "),e("div",{staticClass:"block mt-4"},[e("label",{staticClass:"flex items-center"},[e("zest-toggle",{attrs:{name:"remember"},model:{value:t.form.remember,callback:function(e){t.$set(t.form,"remember",e)},expression:"form.remember"}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600 w-full"},[t._v("Se souvenir de moi")])],1)]),t._v(" "),e("div",{staticClass:"text-center my-4"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    CONTINUER\n                ")])],1)])],1)])}),[function(){var t=this,e=t._self._c;return e("h1",{staticClass:"text-3xl text-center"},[t._v("DEVENIR MEMBRE"),e("br"),t._v("LE BON ZEST")])}],!1,null,null,null).exports},15553:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(3277),i=n(98997),o=n(37699),a=n(66772),s=n(85489),l=n(22593),c=n(66988),u=n.n(c),d=n(88587),h=n(90422);const f={layout:s.Z,components:{ZestButton:r.Z,ZestInput:i.Z,ZestCheckbox:o.Z,ZestToggle:l.Z,ZestValidationErrors:a.Z,passwordMeter:u(),FormLabel:d.Z,FormCheckbox:h.Z},props:{type:String,categories:Array},data:function(){return{form:this.$inertia.form({type:this.type,categories:[],lastname:"",firstname:"",email:"",phone:"",job:"",password:"",password_confirmation:"",newsletter:!0,terms:!1})}},methods:{submit:function(){var t=this;this.form.post(this.route("register"),{onFinish:function(){return t.form.reset("password","password_confirmation")}})}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center mb-20"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[t._m(0),t._v(" "),e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("span",{staticClass:"text-gray-600"},[t._v("Type de compte")]),t._v(" "),e("div",{staticClass:"mt-2"},[e("label",{staticClass:"inline-flex items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.type,expression:"form.type"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"radio",name:"type",value:"individual",required:""},domProps:{checked:t._q(t.form.type,"individual")}
2,on:{change:function(e){return t.$set(t.form,"type","individual")}}}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Particulier")])]),t._v(" "),e("label",{staticClass:"inline-flex items-center ml-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.type,expression:"form.type"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"radio",name:"type",value:"professional"},domProps:{checked:t._q(t.form.type,"professional")},on:{change:function(e){return t.$set(t.form,"type","professional")}}}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Professionnel")])])]),t._v(" "),"individual"==t.form.type?e("p",{staticClass:"my-3"},[t._v("\n                Vous êtes un amoureux de la gastronomie et du terroir péi."),e("br"),e("br"),t._v("\n                Vous souhaitez créeer vos propres playlists, enregistrer vos recettes favorites et être informé des bons plans gourmands."),e("br"),e("br"),t._v("\n                Alors ce compte est pour vous.\n            ")]):t._e(),t._v(" "),"professional"==t.form.type?e("p",{staticClass:"my-3"},[t._v("\n                Vous possédez un ou plusieurs établissement mettant à l'honneur la gastronomie et le terroir péi."),e("br"),e("br"),t._v("\n                Vous souhaitez ajouter vos évènements gourmands dans l'Agenda et placer votre établissement À la carte."),e("br"),e("br"),t._v("\n                Avec ce compte vous bénéficiez également de toutes les fonctionnalités d'un compte particulier.\n            ")]):t._e()]),t._v(" "),"professional"==t.form.type?e("div",{staticClass:"mt-5"},[e("form-label",{attrs:{value:"Catégories",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2):t._e(),t._v(" "),e("div",{staticClass:"mt-5"},[e("zest-input",{staticClass:"block w-full",attrs:{id:"email",type:"email",placeholder:"Email",required:"",autofocus:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"lastname",type:"text",placeholder:"Nom",required:"",autocomplete:"lastname"},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"firstname",type:"text",placeholder:"Prénom",required:"",autocomplete:"firstname"},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}})],1),t._v(" "),"professional"==t.form.type?e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"phone",type:"text",placeholder:"Téléphone",required:"",autocomplete:"phone"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),e("zest-input",{staticClass:"mt-5 block w-full",attrs:{id:"job",type:"text",placeholder:"Fonction au sein de l'établissement",required:"",autocomplete:"job"},model:{value:t.form.job,callback:function(e){t.$set(t.form,"job",e)},expression:"form.job"}})],1):t._e(),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",placeholder:"Mot de passe (8 caractères minimum)",required:"",autocomplete:"new-password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),e("password-meter",{attrs:{password:t.form.password}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password_confirmation",placeholder:"Confirmez le mot de passe",type:"password",required:"",autocomplete:"new-password"},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("label",{staticClass:"flex items-center"},[e("zest-toggle",{attrs:{name:"newsletter"},model:{value:t.form.newsletter,callback:function(e){t.$set(t.form,"newsletter",e)},expression:"form.newsletter"}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600 w-full"},[t._v("Recevoir la Newsletter Le Bon Zest")])],1)]),t._v(" "),t.$page.props.jetstream.hasTermsAndPrivacyPolicyFeature?e("div",{staticClass:"mt-4"},[e("label",{staticClass:"flex items-center"},[e("zest-toggle",{attrs:{name:"terms",required:!0},model:{value:t.form.terms,callback:function(e){t.$set(t.form,"terms",e)},expression:"form.terms"}}),t._v(" "),t._m(1)],1)]):t._e(),t._v(" "),e("div",{staticClass:"text-center mt-6 mb-8"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                S'INSCRIRE\n            ")])],1)]),t._v(" "),e("hr"),t._v(" "),e("h1",{staticClass:"text-3xl text-center my-5"},[t._v("DÉJÀ MEMBRE ? S'IDENTIFIER")]),t._v(" "),e("div",{staticClass:"text-center mt-4"},[e("inertia-link",{staticClass:"inline-flex items-center bg-white cursor-pointer px-5 py-2 hover:text-white border border-black leading-tight hover:bg-black transition-all duration-300 uppercase font-semibold",attrs:{href:t.route("login")}},[t._v("\n            CONTINUER\n        ")])],1)],1)])}),[function(){var t=this,e=t._self._c;return e("h1",{staticClass:"text-3xl text-center mb-10"},[t._v("DEVENIR MEMBRE"),e("br"),t._v("LE BON ZEST")])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"ml-2 text-sm text-gray-600 w-full"},[t._v("\n                        J'accepte les "),e("a",{staticClass:"font-bold",attrs:{href:"#",target:"_blank"}},[t._v("conditions d'utilisation")]),t._v(" du site le Bon Zest\n                ")])}],!1,null,null,null).exports},24123:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(3277),i=n(98997),o=n(66772);const a={layout:n(85489).Z,components:{ZestButton:r.Z,ZestInput:i.Z,ZestValidationErrors:o.Z},props:{email:String,token:String},data:function(){return{form:this.$inertia.form({token:this.token,email:this.email,password:"",password_confirmation:""})}},methods:{submit:function(){var t=this;this.form.post(this.route("password.update"),{onFinish:function(){return t.form.reset("password","password_confirmation")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email",placeholder:"Email",required:"",autofocus:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",placeholder:"Mot de passe",required:"",autocomplete:"new-password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password_confirmation",type:"password",placeholder:"Confirmez le mot de passe",required:"",autocomplete:"new-password"},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}})],1),t._v(" "),e("div",{staticClass:"text-center mt-4"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    CONTINUER\n                ")])],1)])],1)])}),[],!1,null,null,null).exports},9626:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});var r=n(58161);const i={layout:n(85489).Z,components:{JetButton:r.Z},props:{status:String},data:function(){return{form:this.$inertia.form()}},methods:{submit:function(){this.form.post(this.route("verification.send"))}},computed:{verificationLinkSent:function(){return"verification-link-sent"===this.status}}};const o=(0,n(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center mb-20"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[t._m(0),t._v(" "),t.verificationLinkSent?e("div",{staticClass:"mb-4 font-medium text-sm text-green-600"},[t._v("\n            Un nouveau lien de vérification a été envoyé à l'adresse e-mail que vous avez fournie lors de l'inscription.\n        ")]):t._e(),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"mt-4 flex items-center justify-between"},[e("jet-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    Renvoyer un email de vérification\n                ")]),t._v(" "),e("inertia-link",{staticClass:"underline text-sm text-gray-600 hover:text-gray-900",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Se déconnecter")])],1)])])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mb-4"},[e("p",{staticClass:"mb-3"},[t._v("\n                Merci pour votre inscription!"),e("br"),t._v("\n                Rendez-vous sur votre boîte mail et cliquez sur le lien que nous vous avons envoyé pour que votre e-mail soit validé.\n            ")]),t._v(" "),e("p",[t._v("\n                Si vous n'avez pas reçu d'e-mail, nous nous ferons un plaisir de vous le renvoyer pour cela cliquer sur le bouton ci-dessous.\n            ")])])}],!1,null,null,null).exports},77325:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(85489),i=n(83933),o=n(42893),a=n(66350),s=n(97874);const l={layout:r.Z,components:{ZestButtonLink:i.Z,Share:o.Z,CardArticleList:a.Z,Pagination:s.Z},props:{author:Object,articles:[Array,Object]}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"my-2 py-2"},[e("div",{staticClass:"xl:w-7/12 mx-auto"},[e("div",{staticClass:"items-center"},[e("img",{staticClass:"mx-auto h-40 w-40 rounded-full",attrs:{src:t.author.photo,alt:""}}),t._v(" "),e("div",{staticClass:"p-8 w-full mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase text-center mb-8"},[t._v(t._s(t.author.firstname)+" "+t._s(t.author.lastname))]),t._v(" "),e("p",{staticClass:"page-content",domProps:{innerHTML:t._s(t.author.content)}})])])])]),t._v(" "),t.articles.total?e("div",{staticClass:"mb-5"},[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 mb-6 uppercase"},[t._v("À lire aussi")]),t._v(" "),e("card-article-list",{attrs:{articles:t.articles.data}}),t._v(" "),t.articles.total>t.articles.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.articles.links}})],1):t._e()],1):t._e()])}),[],!1,null,null,null).exports},16739:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(85489),i=n(97874),o=n(47076),a=n(70853),s=n(85575),l=n(53364),c=n(83933);const u={layout:r.Z,components:{Pagination:i.Z,CardVideo:o.Z,CardArticle:a.Z,HeaderList:s.Z,HorizontalList:l.Z,ZestButtonLink:c.Z},props:{videos:[Array,Object],articles:[Array,Object],defaultVideo:Object},data:function(){return{}},methods:{},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\
2n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.render("WEB_MBAN_ATF1A");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),t._m(0),t._v(" "),t.defaultVideo?e("header-list",{attrs:{video:t.defaultVideo}}):t._e(),t._v(" "),t.videos.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Vidéos")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n,"show-category":!0}})]}}],null,!1,2647570178)}),t._v(" "),t.videos.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","video"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}})],1):t.defaultVideo?t._e():e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucune vidéo pour le moment...")])]),t._v(" "),t.articles.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Articles")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.articles.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n,"show-category":!0}})]}}],null,!1,2280360962)}),t._v(" "),t.articles.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","article"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1A"}})],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[t("h1",{staticClass:"text-4xl font-bold uppercase"},[this._v("Chefs")])])}],!1,null,null,null).exports},54487:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(3277),i=n(98997),o=n(37699),a=n(66772),s=n(85489),l=n(22593),c=n(51442);const u={layout:s.Z,components:{ZestButton:r.Z,ZestInput:i.Z,ZestCheckbox:o.Z,ZestToggle:l.Z,ZestValidationErrors:a.Z,ZestActionMessage:c.Z},data:function(){return{form:this.$inertia.form({name:"",email:"",message:""})}},methods:{submit:function(){var t=this;this.form.post(this.route("contact.store"),{onFinish:function(){return t.form.reset()}})}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col items-center mb-20"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[e("h1",{staticClass:"text-3xl text-center mb-10"},[t._v("CONTACT")]),t._v(" "),e("p",{staticClass:"text-center text-xl mb-10"},[t._v("Une info ? Un renseignement ? Contactez-nous via le formulaire ci-dessous !")]),t._v(" "),e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"name",type:"text",placeholder:"Nom *",required:"",autocomplete:"lastname",autofocus:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email",placeholder:"Email *",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.message,expression:"form.message"}],staticClass:"mt-1 block w-full border-gray-500 focus:border-gray-400 focus:ring focus:ring-gray-200 focus:ring-opacity-50 shadow-sm",attrs:{id:"message",placeholder:"Message *",rows:"7",cols:"80",required:""},domProps:{value:t.form.message},on:{input:function(e){e.target.composing||t.$set(t.form,"message",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"text-center mt-6 mb-8"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    ENVOYER\n                ")]),t._v(" "),e("zest-action-message",{staticClass:"mt-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n                    Votre message a bien été envoyé\n                ")])],1)])],1)])}),[],!1,null,null,null).exports},31968:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(85489),i=n(3277),o=n(50171),a=n(70497),s=n(53364),l=n(47076),c=n(81993);const u={props:{event:[Object,Array],showCategory:{type:Boolean,default:!0}}};var d=n(51900);const h=(0,d.Z)(u,(function(){var t=this,e=t._self._c;return e("div",[e("inertia-link",{attrs:{href:t.route("evenements.show",t.event.i
2d)}},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"header-img",attrs:{src:t.event.photo,alt:""}}),t._v(" "),e("font-awesome-icon",{staticClass:"text-6xl sm:text-8xl absolute left-0 right-0 text-center text-white sm:w-1/2 mx-auto",attrs:{icon:["far","play-circle"]}})],1),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-2"},[t._v(t._s(t.event.name))]),t._v(" "),e("div",{staticClass:"font-bold mb-2"},[e("h2",[t._v(t._s(t._f("moment")(t.event.date,"DD/MM/YYYY")))]),t._v(" "),t.event.location?e("h3",[t._v("\n                    "+t._s(t.event.location)+"\n                ")]):t._e()]),t._v(" "),t.event.resume?e("p",{staticClass:"mb-4"},[t._v(t._s(t.event.resume))]):t._e()])])],1)}),[],!1,null,null,null).exports,f={layout:r.Z,components:{CardEvent:c.Z,ZestButton:i.Z,ZestDialogModal:o.Z,HorizontalList:s.Z,CardVideo:l.Z,Player:a.Z,HeaderList:h},props:{videos:Array,defaultEvent:Object,events:[Object,Array]},methods:{changeVideo:function(t){this.video.vimeo_id=t},ended:function(){axios.get(route("evenements.next",[this.video.id])).then(function(t){t.data.video.id&&(this.video.vimeo_id=t.data.video.vimeo_id)}.bind(this))}}};const p=(0,d.Z)(f,(function(){var t=this,e=t._self._c;return t.defaultEvent||t.events.length||t.videos.length?e("div",[e("div",{staticClass:"container mx-auto"},[t.defaultEvent?e("div",[t.defaultEvent.vimeo_id?e("header-list",{attrs:{event:t.defaultEvent}}):e("div",{staticClass:"flex flex-wrap md:flex-nowrap justify-center mx-2 sm:space-x-4"},[e("div",{staticStyle:{"max-width":"896px"}},[e("inertia-link",{attrs:{href:t.route("evenements.show",t.defaultEvent.id)}},[e("img",{attrs:{src:t.defaultEvent.photo,alt:""}})]),t._v(" "),e("div",{staticClass:"my-5 px-5 sm:px-0"},[e("inertia-link",{attrs:{href:t.route("evenements.show",t.defaultEvent.id)}},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-2"},[t._v(t._s(t.defaultEvent.name))])]),t._v(" "),e("div",{staticClass:"font-bold mb-2"},[e("h2",[t._v(t._s(t._f("moment")(t.defaultEvent.date,"DD/MM/YYYY")))]),t._v(" "),t.defaultEvent.location?e("h3",[t._v("\n                                "+t._s(t.defaultEvent.location)+"\n                            ")]):t._e()]),t._v(" "),t.defaultEvent.resume?e("p",{staticClass:"mb-4"},[t._v(t._s(t.defaultEvent.resume))]):t._e()],1)],1)]),t._v(" "),e("hr")],1):t._e(),t._v(" "),t.events.length?e("div",[e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Nos évènements")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.events},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-event",{attrs:{event:n}})]}}],null,!1,1465435292)}),t._v(" "),e("hr")],1):t._e(),t._v(" "),t.videos.length?e("div",[e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Nos dernières vidéos")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n}})]}}],null,!1,3533656092)})],1):t._e()])]):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun évènement pour le moment...")])])}),[],!1,null,null,null).exports},19494:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(85489),i=n(83933),o=n(53364),a=n(70497),s=n(55854);const l={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,Player:a.Z,Tags:s.Z},props:{defaultEvent:Object,tags:String}};const c=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[t.defaultEvent.vimeo_id?e("player",{ref:"player",staticClass:"mb-5",attrs:{"video-id":t.defaultEvent.vimeo_id}}):t._e(),t._v(" "),e("div",{staticClass:"max-w-screen-lg mx-auto"},[t.defaultEvent.photo&&!t.defaultEvent.vimeo_id?e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"w-full",attrs:{src:t.defaultEvent.photo,alt:""}})]):t._e(),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase mb-2"},[t._v(t._s(t.defaultEvent.name))]),t._v(" "),e("div",{staticClass:"font-bold mb-4"},[e("h2",[t._v(t._s(t._f("moment")(t.defaultEvent.date,"DD/MM/YYYY")))]),t._v(" "),t.defaultEvent.location?e("h3",[t._v("\n                    "+t._s(t.defaultEvent.location)+"\n                ")]):t._e(),t._v(" "),t.defaultEvent.organizer?e("h4",{staticClass:"font-medium"},[t._v("\n                    "+t._s(t.defaultEvent.organizer)+"\n                ")]):t._e()]),t._v(" "),e("tags",{attrs:{string:t.tags,type:"event"}}),t._v(" "),e("p",{staticClass:"mt-2 page-content",domProps:{innerHTML:t._s(t.defaultEvent.content)}})],1)])],1)}),[],!1,null,null,null).exports},20398:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(97874),o=n(47076),a=n(70853),s=n(85575),l=n(53364),c=n(83933),u=n(20821);const d={layout:r.Z,components:{Pagination:i.Z,CardVideo:o.Z,CardArticle:a.Z,HeaderList:s.Z,HorizontalList:l.Z,ZestButtonLink:c.Z,AdBanner:u.default},props:{videos:[Array,Object],articles:[Array,Object],defaultVideo:Object},data:function(){return{}},methods:{},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\
2n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.render("WEB_MBAN_ATF1A");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),t._m(0),t._v(" "),t.defaultVideo?e("header-list",{attrs:{video:t.defaultVideo}}):t._e(),t._v(" "),e("ad-banner"),t._v(" "),t.videos.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Vidéos")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n,"show-category":!0}})]}}],null,!1,2647570178)}),t._v(" "),t.videos.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","video"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}})],1):t.defaultVideo?t._e():e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucune vidéo pour le moment...")])]),t._v(" "),t.articles.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Articles")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.articles.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n,"show-category":!0}})]}}],null,!1,2280360962)}),t._v(" "),t.articles.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","article"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1A"}})],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[t("h1",{staticClass:"text-4xl font-bold uppercase"},[this._v("En cuisine")])])}],!1,null,null,null).exports},34874:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>m});var r=n(85489),i=n(83933),o=n(53364);const a={props:{magazine:[Object,Array],positionDate:{type:String,default:"bottom"}}};var s=n(51900);const l=(0,s.Z)(a,(function(){var t=this,e=t._self._c;return e("a",{attrs:{href:t.magazine.url_calameo,target:"_blank"}},["top"==t.positionDate?e("h4",{staticClass:"text-sm font-bold text-center sm:text-left my-2 capitalize"},[t._v(t._s(t._f("moment")(t.magazine.published_at,"MMMM YYYY")))]):t._e(),t._v(" "),e("div",{staticClass:"relative"},[e("img",{attrs:{src:t.magazine.photo,alt:""}})]),t._v(" "),e("div",{staticClass:"text-center sm:text-left mt-2"},[e("h1",{staticClass:"uppercase font-bold"},[t._v(t._s(t.magazine.title))]),t._v(" "),"bottom"==t.positionDate?e("h4",{staticClass:"capitalize text-xs"},[t._v(t._s(t._f("moment")(t.magazine.published_at,"MMMM YYYY")))]):t._e()])])}),[],!1,null,null,null).exports;var c=n(20821),u=n(66772),d=n(3277),h=n(98997),f=n(51442);const p={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,CardMagazine:l,AdBanner:c.default,ZestValidationErrors:u.Z,ZestButton:d.Z,ZestInput:h.Z,ZestActionMessage:f.Z},props:{recentMagazines:Array,dernierMagazine:Object},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.render("WEB_MBAN_ATF1A");\n            sas.render("WEB_MBAN_ATF2");\n            sas.refresh();\n        });',document.body.appendChild(t)},data:function(){return{form:this.$inertia.form({name:"",email:"",message:""})}},methods:{submit:function(){var t=this;this.form.post(this.route("magazine.contact.store"),{onFinish:function(){return t.form.reset()}})}}};const m=(0,s.Z)(p,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container mx-auto"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),e("div",[t._m(0),t._v(" "),e("div",{staticClass:"flex flex-col md:flex-row gap-8 items-start mb-5"},[e("div",{staticClass:"flex-1"},[t._m(1),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Chaque numéro propose :")]),t._v(" "),t._m(2),t._v(" "),e("p",{staticClass:"mt-5"},[t._v("Notre ligne éditoriale privilégie l’authenticité, la transmission et l’humain.")]),t._v(" "),t.dernierMagazine?e("div",{staticClass:"flex gap-4 mt-6"},[e("zest-button-link",{attrs:{href:t.dernierMagazine.url_calameo,as:"target_blank"}},[t._v("\n                                Lire le dernier numéro\n                            ")])],1):t._e()]),t._v(" "),t._m(3)])]),t._v(" "),e("div",[e("hr"),t._v(" "),t._m(4),t._v(" "),e("div",{staticClass:"sm:w-1/2 mb-5 mx-auto"},[e("p",{staticClass:"mb-3"},[t._v("Vous connaissez un chef, un producteur, un artisan ou un créateur qui mérite d’être mis en lumière ? Vous souhaitez nous proposer un sujet ou partager une initiative culinaire inspirante ?")]),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Notre rédaction est toujours à la recherche de nouvelles histoires.")]),t._v(" "),t._m(5),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"name",type:"text",placeholder:"Nom *",required:"",autocomplete:"lastname",autofocus:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email",placeholder:"Email *",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.message,expression:"form.message"}],staticClass:"mt-1 block w-full border-gray-500 focus:border-gray-400 focus:ring focus:ring-gray-200 focus:ring-opacity-50 shadow-sm",attrs:{id:"message",placeholder:"Message *",rows:"7",cols:"80",required:""},domProps:{value:t.form.message},on:{input:function(e){e.target.composing||t.$set(t.form,"message",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"text-center mt-6 mb-8"},[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                                    ENVOYER\n                                ")]),t._v(" "),e("zest-action-message",{staticClass:"mt-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n                                    Votre message a bien été envoyé\n                                ")])],1)])],1)])]),t._v(" "),e("div",{staticStyle:{"background-color":"#f1fbfd"}},[e("hr"),t._v(" "),t._m(6),t._v(" "),t.recentMagazines.length>0?e("div",[e("horizontal-list",{staticClass:"mb-5",attrs:{items:t.recentMagazines},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-magazine",{attrs:{magazine:n,"show-category":!0}})]}}],null,!1,3324942178)})],1):e("div",[e("h6",{staticClass:"text-center pb-6 mt-3"},[t._v("Aucun numéro pour le moment")])])]),t._v(" "),e("ad-banner"),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}}),t._v(" "),e("hr"),t._v(" "),e("div",[e("hr"),t._v(" "),t._m(7),t._v(" "),e("div",{staticClass:"flex flex-col md:flex-row gap-8 items-start mb-5"},[t._m(8),t._v(" "),e("div",{staticClass:"flex-1"},[t._m(9),t._v(" "),t._m(10),t._v(" "),e("p",{staticClass:"mt-4"},[t._v("Pour connaître le point de distribution le plus proche, reportez-vous "),e("inertia-link",{staticClass:"font-bold",attrs:{href:t.route("carte.index")}},[t._v("à la carte")])],1)])])]),t._v(" "),e("div",[e("hr"),t._v(" "),e("div",{staticClass:"mb-5"},[t._m(11),t._v(" "),e("div",{staticClass:"sm:w-1/2 mb-5 mx-auto"},[e("p",{staticClass:"mb-3"},[t._v("ZEST Magazine offre aux marques et aux acteurs du territoire une visibilité qualitative auprès d’un lectorat passionné par la gastronomie et les savoir-faire locaux.")]),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Nos formats publicitaires sont pensés pour s’intégrer avec élégance à l’univers éditorial du magazine.")]),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Téléchargez notre kit média pour découvrir :")]),t._v(" "),t._m(12),t._v(" "),e("div",{staticClass:"text-center"},[e("zest-button-link",{attrs:{href:"/docs/kit-media-zest-2026.pdf",as:"target_blank"}},[t._v("\n                                Télécharger le kit média\n                            ")])],1)])])])],1)])}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase mb-10"},[this._v("Le média qui raconte la gastronomie et le terroir réunionnais")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-5"},[t._v("Le magazine Zest met en lumière celles et ceux qui font vibrer la cuisine réunionnaise : chefs, artisans, producteurs, mixologues, agriculteurs et créateurs passionnés."),e("br"),t._v("Un magazine premium, trimestriel et gratuit, ancré dans le territoire, entre portraits, savoir faire et culture culinaire.")])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"list-disc pl-5"},[e("li",[t._v("Des portraits immersifs de chefs, artisans, producteurs, mixologues et créateurs engagés")]),t._v(" "),e("li",[t._v("Des reportages sur des expériences culinaires, touristiques et culturelles")]),t._v(" "),e("li",[t._v("Des mises en lumière de produits du terroir et recettes")]),t._v(" "),e("li",[t._v("Un carnet d’adresses des spots où se régaler et passer un bon moment")])])},function(){var t=this._self._c;return t("div",{staticClass:"flex-1"},[t("img",{staticClass:"w-full",attrs:{src:"/images/magazine/magazines.jpg",alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase mb-10"},[this._v("Proposer un portrait")])])},function(){var t=this,e=t._self._c;return e("p",[t._v("Écrivez-nous à : "),e("a",{staticClass:"font-bold",attrs:{href:"mailto:[email protected]"}},[t._v("[email protected]")]),t._v(" ou via le formulaire ci-dessous.")])},function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase"},[this._v("Lire nos numéros")])])},function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase mb-6"},[this._v("Où trouver le magazine")])])},function(){var t=this._self._c;return t("div",{staticClass:"flex-1"},[t("img",{staticClass:"w-full",attrs:{src:"/images/magazine/presentoir.jpg",alt:""}})])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-3"},[t._v("ZEST Magazine est diffusé gratuitement dans une sélection de lieux partenaires à "),e("span",{staticClass:"whitespace-nowrap"},[t._v("La Réunion :")])])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"list-disc pl-5"},[e("li",[t._v("Restaurants et tables gastronomiques")]),t._v(" "),e("li",[t._v("Épiceries fines et commerces spécialisés")]),t._v(" "),e("li",[t._v("Hôtels et maisons d’hôtes")]),t._v(" "),e("li",[t._v("Offices de tourisme")]),t._v(" "),e("li",[t._v("Événements culinaires")])])},function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[t("div",{staticClass:"mb-6"},[t("h1",{staticClass:"text-3xl font-bold uppercase"}
2,[this._v("Communiquer dans ZEST")])])])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"list-disc pl-5 mb-8"},[e("li",[t._v("Les chiffres clés")]),t._v(" "),e("li",[t._v("Le profil de notre lectorat")]),t._v(" "),e("li",[t._v("Les formats disponibles")]),t._v(" "),e("li",[t._v("Les tarifs")]),t._v(" "),e("li",[t._v("Les opportunités de partenariats")])])}],!1,null,null,null).exports},91243:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={layout:n(85489).Z,components:{}};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this._self._c;return t("div",[t("div",{staticClass:"py-40"},[t("h1",{staticClass:"text-2xl text-center font-bold"},[this._v("Patience, on vous mijote une savoureuse carte de La Réunion… ")])])])}],!1,null,null,null).exports},56140:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.r(e),n.d(e,{default:()=>We});var i=n(85489),o=n(53364),a=n(70853),s=n(47076),l=n(91714),c=n.n(l),u=n(6158),d=n(94710);function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onClick=this._onClick.bind(this)}var e,n,r;return e=t,(n=[{key:"onAdd",value:function(t){this.map=t;var e=this.container=document.createElement("div");e.className="mapboxgl-mycontrol mapboxgl-ctrl mapboxgl-ctrl-group";var n=document.createElement("button");n.setAttribute("type","button"),n.addEventListener("click",this.onClick,!1),e.appendChild(n);var r=document.createElement("i");return r.className="material-icons",r.innerHTML='<svg style="font-size: 20px; margin-top: 3px;" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="globe-africa" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="svg-inline--fa fa-globe-africa fa-w-16"><path fill="currentColor" d="M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm160 215.5v6.93c0 5.87-3.32 11.24-8.57 13.86l-15.39 7.7a15.485 15.485 0 0 1-15.53-.97l-18.21-12.14a15.52 15.52 0 0 0-13.5-1.81l-2.65.88c-9.7 3.23-13.66 14.79-7.99 23.3l13.24 19.86c2.87 4.31 7.71 6.9 12.89 6.9h8.21c8.56 0 15.5 6.94 15.5 15.5v11.34c0 3.35-1.09 6.62-3.1 9.3l-18.74 24.98c-1.42 1.9-2.39 4.1-2.83 6.43l-4.3 22.83c-.62 3.29-2.29 6.29-4.76 8.56a159.608 159.608 0 0 0-25 29.16l-13.03 19.55a27.756 27.756 0 0 1-23.09 12.36c-10.51 0-20.12-5.94-24.82-15.34a78.902 78.902 0 0 1-8.33-35.29V367.5c0-8.56-6.94-15.5-15.5-15.5h-25.88c-14.49 0-28.38-5.76-38.63-16a54.659 54.659 0 0 1-16-38.63v-14.06c0-17.19 8.1-33.38 21.85-43.7l27.58-20.69a54.663 54.663 0 0 1 32.78-10.93h.89c8.48 0 16.85 1.97 24.43 5.77l14.72 7.36c3.68 1.84 7.93 2.14 11.83.84l47.31-15.77c6.33-2.11 10.6-8.03 10.6-14.7 0-8.56-6.94-15.5-15.5-15.5h-10.09c-4.11 0-8.05-1.63-10.96-4.54l-6.92-6.92a15.493 15.493 0 0 0-10.96-4.54H199.5c-8.56 0-15.5-6.94-15.5-15.5v-4.4c0-7.11 4.84-13.31 11.74-15.04l14.45-3.61c3.74-.94 7-3.23 9.14-6.44l8.08-12.11c2.87-4.31 7.71-6.9 12.89-6.9h24.21c8.56 0 15.5-6.94 15.5-15.5v-21.7C359.23 71.63 422.86 131.02 441.93 208H423.5c-8.56 0-15.5 6.94-15.5 15.5z"></path></svg>',n.appendChild(r),e}},{key:"onRemove",value:function(t){this.container.parentNode.removeChild(this.container),this.map=void 0}},{key:"_onClick",value:function(){this.map.flyTo({zoom:9.5,center:[55.548,-21.106]})}}])&&h(e.prototype,n),r&&h(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();const p={name:"NavigationControl",mixins:[d.Z],props:{showCompass:{type:Boolean,default:!0},showZoom:{type:Boolean,default:!0}},created:function(){this.control=new f,this.$_addControl()}};var m=n(51900);const _=(0,m.Z)(p,undefined,undefined,!1,null,null,null).exports;var v=n(42893),g=n(83933);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var w="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,k=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(w&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var M=w&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),k))}};function C(t){return t&&"[object Function]"==={}.toString.call(t)}function S(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function T(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function L(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=S(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:L(T(t))}function E(t){return t&&t.referenceNode?t.referenceNode:t}var A=w&&!(!window.MSInputMethodContext||!document.documentMode),D=w&&/MSIE 10/.test(navigator.userAgent);function O(t){return 11===t?A:10===t?D:A||D}function z(t){if(!t)return document.documentElement;for(var e=O(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===S(n,"position")?z(n):n:t?t.ownerDocument.documentElement:document.documentElement}function P(t){return null!==t.parentNode?P(t.parentNode):t}function j(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&z(a.firstElementChild)!==a?z(l):l;var c=P(t);return c.host?j(c.host,e):j(t,P(e).host)}function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function Y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=I(e,"top"),i=I(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function R(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function F(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],O(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function B(t){var e=t.body,n=t.documentElement,r=O(10)&&getComputedStyle(n);return{height:F("Height",e,n,r),width:F("Width",e,n,r)}}var N=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},$=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Z=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},H=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function V(t){return H({},t,{right:t.left+t.width,bottom:t.top+t.height})}function U(t){var e={};try{if(O(10)){e=t.getBoundingClientRect();var n=I(t,"top"),r=I(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?B(t.ownerDocument):{},a=o.width||t.clientWidth||i.width,s=o.height||t.clientHeight||i.height,l=t.offsetWidth-a,c=t.offsetHeight-s;if(l||c){var u=S(t);l-=R(u,"x"),c-=R(u,"y"),i.width-=l,i.height-=c}return V(i)}function W(t,e){var n=arguments.length>
vendor: 5,897 bytes, line 2
22&&void 0!==arguments[2]&&arguments[2],r=O(10),i="HTML"===e.nodeName,o=U(t),a=U(e),s=L(t),l=S(e),c=parseFloat(l.borderTopWidth),u=parseFloat(l.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=V({top:o.top-a.top-c,left:o.left-a.left-u,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var h=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-h,d.bottom-=c-h,d.left-=u-f,d.right-=u-f,d.marginTop=h,d.marginLeft=f}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=Y(d,e)),d}function G(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=W(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:I(n),s=e?0:I(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return V(l)}function q(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===S(t,"position"))return!0;var n=T(t);return!!n&&q(n)}function X(t){if(!t||!t.parentElement||O())return document.documentElement;for(var e=t.parentElement;e&&"none"===S(e,"transform");)e=e.parentElement;return e||document.documentElement}function J(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?X(t):j(t,E(e));if("viewport"===r)o=G(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=L(T(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var l=W(s,a,i);if("HTML"!==s.nodeName||q(a))o=l;else{var c=B(t.ownerDocument),u=c.height,d=c.width;o.top+=l.top-l.marginTop,o.bottom=u+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function K(t){return t.width*t.height}function Q(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=J(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return H({key:t},s[t],{area:K(s[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function tt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?X(e):j(e,E(n));return W(n,i,r)}function et(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function nt(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function rt(t,e,n){n=n.split("-")[0];var r=et(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[c]:e[nt(s)],i}function it(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ot(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=it(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&C(n)&&(e.offsets.popper=V(e.offsets.popper),e.offsets.reference=V(e.offsets.reference),e=n(e,t))})),e}function at(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=tt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Q(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=rt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ot(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function st(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function lt(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function ct(){return this.state.isDestroyed=!0,st(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[lt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function ut(t){var e=t.ownerDocument;return e?e.defaultView:window}function dt(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||dt(L(o.parentNode),e,n,r),r.push(o)}function ht(t,e,n,r){n.updateBound=r,ut(t).addEventListener("resize",n.updateBound,{passive:!0});var i=L(t);return dt(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function ft(){this.state.eventsEnabled||(this.state=ht(this.reference,this.options,this.state,this.scheduleUpdate))}function pt(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return ut(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
vendor: 8,899 bytes, line 2
2h((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function mt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function _t(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&mt(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var vt=w&&/Firefox/i.test(navigator.userAgent);function gt(t,e,n){var r=it(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var yt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],bt=yt.slice(3);function xt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=bt.indexOf(t),r=bt.slice(n+1).concat(bt.slice(0,n));return e?r.reverse():r}var wt="flip",kt="clockwise",Mt="counterclockwise";function Ct(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(it(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){return V("%p"===a?n:r)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){mt(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var St={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:Z({},l,o[l]),end:Z({},l,o[l]+o[c]-a[c])};t.offsets.popper=H({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=mt(+n)?[+n,0]:Ct(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||z(t.instance.popper);t.instance.reference===n&&(n=z(n));var r=lt("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=J(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),Z({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),Z({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=H({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[c]),n[l]>o(r[s])&&(t.offsets.popper[l]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!gt(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",p=et(r)[c];s[f]-p<a[d]&&(t.offsets.popper[d]-=a[d]-(s[f]-p)),s[d]+p>a[f]&&(t.offsets.popper[d]+=s[d]+p-a[f]),t.offsets.popper=V(t.offsets.popper);var m=s[d]+s[c]/2-p/2,_=S(t.instance.popper),v=parseFloat(_["margin"+u]),g=parseFloat(_["border"+u+"Width"]),y=m-t.offsets.popper[d]-v-g;return y=Math.max(Math.min(a[c]-p,y),0),t.arrowElement=r,t.offsets.arrow=(Z(n={},d,Math.round(y)),Z(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(st(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=J(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=nt(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case wt:a=[r,i];break;case kt:a=xt(r);break;case Mt:a=xt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return t;r=t.placement.split("-")[0],i=nt(r);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),_=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&_,g=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(g&&"start"===o&&f||g&&"end"===o&&p||!g&&"start"===o&&m||!g&&"end"===o&&_),b=!!e.flipVariationsByContent&&(g&&"start"===o&&p||g&&"end"===o&&f||!g&&"start"===o&&_||!g&&"end"===o&&m),x=y||b;(h||v||x)&&(t.flipped=!0,(h||v)&&(r=a[l+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=H({},t.offsets.popper,rt(t.instance.popper,t.offsets.reference,t.placement)),t=ot(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=nt(e),t.offsets.popper=V(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!gt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=it(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=it(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=z(t.instance.popper),l=U(s),c={position:i.position},u=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,s=function(t){return t},l=o(i.width),c=o(r.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?u||d||l%2==c%2?o:a:s,f=e?o:s;return{left:h(l%2==1&&c%2==1&&!d&&e?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!vt),d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",f=lt("transform"),p=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,p="right"===h?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+p+"px, "+m+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var _="bottom"===d?-1:1,v="right"===h?-1:1;c[d]=m*_,c[h]=p*v,c.willChange=d+", "+h}var g={"x-placement":t.placement};return t.attributes=H({},g,t.attributes),t.styles=H({},c,t.styles),t.arrowStyles=H({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return _t(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEac
vendor: 31,641 bytes, line 2
2h((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&_t(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=tt(i,e,t,n.positionFixed),a=Q(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),_t(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},Tt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:St},Lt=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};N(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=M(this.update.bind(this)),this.options=H({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(H({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=H({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return H({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&C(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return $(t,[{key:"update",value:function(){return at.call(this)}},{key:"destroy",value:function(){return ct.call(this)}},{key:"enableEventListeners",value:function(){return ft.call(this)}},{key:"disableEventListeners",value:function(){return pt.call(this)}}]),t}();Lt.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Lt.placements=yt,Lt.Defaults=Tt;const Et=Lt;var At,Dt=n(18446),Ot=n.n(Dt);function zt(){zt.init||(zt.init=!0,At=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}())}function Pt(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);var u,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),r&&(d._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var jt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;zt(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",At&&this.$el.appendChild(e),e.data="about:blank",At||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!At&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},It=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};It._withStripped=!0;var Yt=Pt({render:It,staticRenderFns:[]},undefined,jt,"data-v-8859cc6c",false,undefined,!1,void 0,void 0,void 0);var Rt={version:"1.0.1",install:function(t){t.component("resize-observer",Yt),t.component("ResizeObserver",Yt)}},Ft=null;"undefined"!=typeof window?Ft=window.Vue:void 0!==n.g&&(Ft=n.g.Vue),Ft&&Ft.use(Rt);var Bt=n(82492),Nt=n.n(Bt),$t=function(){};function Zt(t){return"string"==typeof t&&(t=t.split(" ")),t}function Ht(t,e){var n,r=Zt(e);n=t.className instanceof $t?Zt(t.className.baseVal):Zt(t.className),r.forEach((function(t){-1===n.indexOf(t)&&n.push(t)})),t instanceof SVGElement?t.setAttribute("class",n.join(" ")):t.className=n.join(" ")}function Vt(t,e){var n,r=Zt(e);n=t.className instanceof $t?Zt(t.className.baseVal):Zt(t.className),r.forEach((function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})),t instanceof SVGElement?t.setAttribute("class",n.join(" ")):t.className=n.join(" ")}"undefined"!=typeof window&&($t=window.SVGAnimatedString);var Ut=!1;if("undefined"!=typeof window){Ut=!1;try{var Wt=Object.defineProperty({},"passive",{get:function(){Ut=!0}});window.addEventListener("test",null,Wt)}catch(t){}}function Gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function qt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Xt={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},Jt=[],Kt=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),b(this,"_events",[]),b(this,"_setTooltipNodeEvent",(function(t,e,n,i){var o=t.relatedreference||t.toElement||t.relatedTarget;return!!r._tooltipNode.contains(o)&&(r._tooltipNode.addEventListener(t.type,(function n(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r._tooltipNode.removeEventListener(t.type,n),e.contains(a)||r._scheduleHide(e,i.delay,i,o)})),!0)})),n=qt(qt({},Xt),n),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=n,this._isOpen=!1,this._init()}var e,n,r;return e=t,n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||ce.options.defaultClass;Ot()(this._classes,n)||(this.setClasses(n),e=!0),t=ie(t);var r=!1,i=!1;for(var o in this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(i=!0),t)this.options[o]=t[o];if(this._tooltipNode)if(i){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var n=this,r=window.document.createElement("div");r.innerHTML=e.trim();var i=r.childNodes[0];return i.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)})),i.addEventListener("click",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)}))),i}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){n.popperInstance&&n.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise((function(r,i){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var l=t();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,e.loadingClass&&Ht(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),l.then((function(t){return e.loadingClass&&Vt(a,e.loadingClass),n._applyContent(t,e)})).then(r).catch(i)):n._applyContent(l,e).then(r).catch(i))}o?s.innerHTML=t:s.innerText=t}r()}}))}},{key:"_show",value:function(t,e){if(!e||"string"!=typeof e.container||document.querySelector(e.container)){clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(Ht(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&Ht(this._tooltipNode,this._classes),Ht(t,["v-tooltip-open"]),r}}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Jt.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var r=t.getAttribute("title")||e.title;if(!r)return this;var i=this._create(t,e.template);this._tooltipNode=i,t.setAttribute("aria-describedby",i.id);var o=this._findContainer(e.container,t);this._append(i,o);var a=qt(qt({},e.popperOptions),{},{placement:e.placement});return a.modifiers=qt(qt({},a.modifiers),{},{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new Et(t,i,a),this._setContent(r,e),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&i.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=Jt.indexOf(this);-1!==t&&Jt.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=ce.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),Vt(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,i=[],o=[];e.forEach((function(t){switch(t){case"hover":i.push("mouseenter"),o.push("mouseleave"),r.options.hideOnTargetClick&&o.push("click");break;case"focus":i.push("focus"),o.push("blur"),r.options.hideOnTargetClick&&o.push("click");break;case"click":i.push("click"),o.push("click")}})),i.forEach((function(e){var i=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:i}),t.addEventListener(e,i)})),o.forEach((function(e){var i=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:i}),t.addEventListener(e,i)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,i=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return r._show(t,n)}),i)}},{key:"_scheduleHide",value:function(t,e,n,r){var i=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==i._isOpen&&i._tooltipNode.ownerDocument.body.contains(i._tooltipNode)){if("mouseleave"===r.type&&i._setTooltipNodeEvent(r,t,e,n))return;i._hide(t,n)}}),o)}}],n&&x(e.prototype,n),r&&x(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Qt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qt(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}"undefined"!=typeof document&&document.addEventListener("touchstart",(function(t){for(var e=0;e<Jt.length;e++)Jt[e]._onDocumentTouch(t)}),!Ut||{passive:!0,capture:!0});var ee={enabled:!0},ne=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],re={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function ie(t){var e={placement:void 0!==t.placement?t.placement:ce.options.defaultPlacement,delay:void 0!==t.delay?t.delay:ce.options.defaultDelay,html:void 0!==t.html?t.html:ce.options.defaultHtml,template:void 0!==t.template?t.template:ce.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:ce.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:ce.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:ce.options.defaultTrigger,offset:void 0!==t.offset?t.offset:ce.options.defaultOffset,container:void 0!==t.container?t.container:ce.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:ce.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:ce.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:ce.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:ce.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:ce.options.defaultLoadingContent,popperOptions:te({},void 0!==t.popperOptions?t.popperOptions:ce.options.defaultPopperOptions)};if(e.offset){var n=y(e.offset),r=e.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, ".concat(r)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:r}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function oe(t,e){for(var n=t.placement,r=0;r<ne.length;r++){var i=ne[r];e[i]&&(n=i)}return n}function ae(t){var e=y(t);return"string"===e?t:!(!t||"object"!==e)&&t.content}function se(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(Vt(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function le(t,e){var n=e.value;e.oldValue;var r,i=e.modifiers,o=ae(n);o&&ee.enabled?(t._tooltip?((r=t._tooltip).setContent(o),r.setOptions(te(te({},n),{},{placement:oe(n,i)}))):r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ae(e),i=void 0!==e.classes?e.classes:ce.options.defaultClass,o=te({title:r},ie(te(te({},"object"===y(e)?e:{}),{},{placement:oe(e,n)}))),a=t._tooltip=new Kt(t,o);a.setClasses(i),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:ce.options.defaultTargetClass;return t._tooltipTargetClasses=s,Ht(t,s),a}(t,n,i),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?r.show():r.hide())):se(t)}var ce={options:re,bind:le,update:le,unbind:function(t){se(t)}};function ue(t){t.addEventListener("click",he),t.addEventListener("touchstart",fe,!!Ut&&{passive:!0})}function de(t){t.removeEventListener("click",he),t.removeEventListener("touchstart",fe),t.removeEventListener("touchend",pe),t.removeEventListener("touchcancel",me)}function he(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function fe(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",pe),e.addEventListener("touchcancel",me)}}function pe(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function me(t){t.currentTarget.$_vclosepopover_touch=!1}var _e={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&ue(t)},update:function(t,e){var n=e.value,r=e.oldValue,i=e.modifiers;t.$_closePopoverModifiers=i,n!==r&&(void 0===n||n?ue(t):de(t))},unbind:function(t){de(t)}};function ve(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ge(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ye(t){var e=ce.options.popover[t];return void 0===e?ce.options[t]:e}var be=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(be=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var xe=[],we=function(){};"undefined"!=typeof window&&(we=window.Element);var ke={name:"VPopover",components:{ResizeObserver:Yt},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return ye("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return ye("defaultDelay")}},offset:{type:[String,Number],default:function(){return ye("defaultOffset")}},trigger:{type:String,default:function(){return ye("defaultTrigger")}},container:{type:[String,Object,we,Boolean],default:function(){return ye("defaultContainer")}},boundariesElement:{type:[String,we],default:function(){return ye("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return ye("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return ye("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return ce.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return ce.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return ce.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return ce.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return ce.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return ce.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return ce.options.popover.defaultOpenClass}},ariaId:{default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return b({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(null!=this.ariaId?this.ariaId:this.id)}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper((function(){e.popperInstance.options.placement=t}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event;e.skipDelay;var r=e.force,i=void 0!==r&&r;!i&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay,this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var r=this.$_findContainer(this.container,e);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){t.hidden||(t.isOpen=!0)}))}if(!this.popperInstance){var i=ge(ge({},this.popperOptions),{},{placement:this.placement});if(i.modifiers=ge(ge({},i.modifiers),{},{arrow:ge(ge({},i.modifiers&&i.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();i.modifiers.offset=ge(ge({},i.modifiers&&i.modifiers.offset),{},{offset:o})}this.boundariesElement&&(i.modifiers.preventOverflow=ge(ge({},i.modifiers&&i.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new Et(e,n,i),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var a=this.openGroup;if(a)for(var s,l=0;l<xe.length;l++)(s=xe[l]).openGroup!==a&&(s.hide(),s.$emit("close-group"));xe.push(this),this.$emit("apply-show")}},$_hide:function(){var t=this;if(this.isOpen){var e=xe.indexOf(this);-1!==e&&xe.splice(e,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=ce.options.popover.disposeTimeout||ce.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout((function(){var e=t.$refs.popover;e&&(e.parentNode&&e.parentNode.removeChild(e),t.$_mounted=!1)}),n)),this.$emit("apply-hide")}},$_findContainer:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t},$_getOffset:function(){var t=y(this.offset),e=this.offset;return("number"===t||"string"===t&&-1===e.indexOf(","))&&(e="0, ".concat(e)),e},$_addEventListeners:function(){var t=this,e=this.$refs.trigger,n=[],r=[];("string"==typeof this.trigger?this.trigger.split(" ").filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})):[]).forEach((function(t){switch(t){case"hover":n.push("mouseenter"),r.push("mouseleave");break;case"focus":n.push("focus"),r.push("blur");break;case"click":n.push("click"),r.push("click")}})),n.forEach((function(n){var r=function(e){t.isOpen||(e.usedByTooltip=!0,!t.$_preventOpen&&t.show({event:e}),t.hidden=!1)};t.$_events.push({event:n,func:r}),e.addEventListener(n,r)})),r.forEach((function(n){var r=function(e){e.usedByTooltip||(t.hide({event:e}),t.hidden=!0)};t.$_events.push({event:n,func:r}),e.addEventListener(n,r)}))},$_scheduleShow:function(){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}}),r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,i=t.relatedreference||t.toElement||t.relatedTarget;return!!r.contains(i)&&(r.addEventListener(t.type,(function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r.removeEventListener(t.type,i),n.contains(a)||e.hide({event:o})})),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function Me(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var r=xe[n];if(r.$refs.popover){var i=r.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&i||r.autoHide&&!i)&&r.$_handleGlobalClose(t,e)}))}},r=0;r<xe.length;r++)n(r)}function Ce(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);const u="function"==typeof n?n.options:n;let d;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=d):e&&(d=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),d)if(u.functional){const t=u.render;u.render=function(e,n){return d.call(n),t(e,n)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,d):[d]}return n}"undefined"!=typeof document&&"undefined"!=typeof window&&(be?document.addEventListener("touchend",(function(t){Me(t,!0)}),!Ut||{passive:!0,capture:!0}):window.addEventListener("click",(function(t){Me(t)}),!0));var Se=ke,Te=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("div",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.isOpen?t.popoverId:void 0,tabindex:-1!==t.trigger.indexOf("focus")?0:void 0}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{visibility:t.isOpen?"visible":"hidden"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true",tabindex:t.autoHide?0:void 0},on:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;t.autoHide&&t.hide()}}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}}
2,[n("div",[t._t("popover",null,{isOpen:t.isOpen})],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1),t._v(" "),n("div",{ref:"arrow",class:t.popoverArrowClass})])])])};Te._withStripped=!0;var Le=Ce({render:Te,staticRenderFns:[]},undefined,Se,undefined,false,undefined,!1,void 0,void 0,void 0);!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}(".resize-observer[data-v-8859cc6c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-8859cc6c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}");var Ee=ce,Ae=_e,De=Le,Oe={install:function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var r={};Nt()(r,re,n),Oe.options=r,ce.options=r,e.directive("tooltip",ce),e.directive("close-popover",_e),e.component("VPopover",Le)}},get enabled(){return ee.enabled},set enabled(t){ee.enabled=t}},ze=null;"undefined"!=typeof window?ze=window.Vue:void 0!==n.g&&(ze=n.g.Vue),ze&&ze.use(Oe);var Pe={name:"default-section",props:{section:{type:Object,required:!0},currentIndex:{type:[Number,String],required:!1,default:1/0},renderSuggestion:{type:Function,required:!1},normalizeItemFunction:{type:Function,required:!0},componentAttrPrefix:{type:String,required:!0},componentAttrIdAutosuggest:{type:String,required:!0}},data:function(){return{_currentIndex:this.currentIndex}},computed:{list:function(){var t=this.section,e=t.limit,n=t.data;return n.length<e&&(e=n.length),n.slice(0,e)}},methods:{getItemIndex:function(t){return this.section.start_index+t},getItemByIndex:function(t){return this.section.data[t]},onMouseEnter:function(t){var e=parseInt(t.currentTarget.getAttribute("data-suggestion-index"));this._currentIndex=e,this.$emit("updateCurrentIndex",e)},onMouseLeave:function(){this.$emit("updateCurrentIndex",null)}},render:function(t){var e=this,n=this.componentAttrPrefix,r={beforeSection:this.$scopedSlots["before-section-"+this.section.name],afterSectionDefault:this.$scopedSlots["after-section"],afterSectionNamed:this.$scopedSlots["after-section-"+this.section.name]},i=n+"__results-before "+n+"__results-before--"+this.section.name,o=r.beforeSection&&r.beforeSection({section:this.section,className:i})||[];return t("ul",{attrs:{role:"listbox","aria-labelledby":this.section.label&&this.componentAttrIdAutosuggest+"-"+this.section.label},class:this.section.ulClass},[o[0]&&o[0]||this.section.label&&t("li",{class:i,id:this.componentAttrIdAutosuggest+"-"+this.section.label},this.section.label)||"",this.list.map((function(r,i){var o,a=e.normalizeItemFunction(e.section.name,e.section.type,e.section.label,e.section.liClass,r),s=e.getItemIndex(i),l=e._currentIndex===s||parseInt(e.currentIndex)===s;return t("li",{attrs:Object.assign({},{role:"option","data-suggestion-index":s,"data-section-name":a.name,id:n+"__results-item--"+s},a.liAttributes),key:s,class:Object.assign((o={},o[n+"__results-item--highlighted"]=l,o[n+"__results-item"]=!0,o),a.liClass),on:{mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave}},[e.renderSuggestion?e.renderSuggestion(a):e.$scopedSlots.default&&e.$scopedSlots.default({_key:i,suggestion:a})])})),r.afterSectionDefault&&r.afterSectionDefault({section:this.section,className:n+"__results-after "+n+"__results-after--"+this.section.name}),r.afterSectionNamed&&r.afterSectionNamed({section:this.section,className:n+"__results_after "+n+"__results-after--"+this.section.name})])}};function je(t,e){(function(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))})(t,e)||(t.className+=" "+e)}var Ie="default",Ye="default-section",Re={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:t.componentAttrIdAutosuggest}},[t._t("before-input"),n("div",{attrs:{role:"combobox","aria-expanded":t.isOpen?"true":"false","aria-haspopup":"listbox","aria-owns":t.componentAttrIdAutosuggest+"-"+t.componentAttrPrefix+"__results"}},[n("input",t._g(t._b({class:[t.isOpen?t.componentAttrPrefix+"__input--open":"",t.internal_inputProps.class],attrs:{type:t.internal_inputProps.type,autocomplete:t.internal_inputProps.autocomplete,"aria-autocomplete":"list","aria-activedescendant":t.isOpen&&null!==t.currentIndex?t.componentAttrPrefix+"__results-item--"+t.currentIndex:"","aria-controls":t.componentAttrIdAutosuggest+"-"+t.componentAttrPrefix+"__results"},domProps:{value:t.internalValue},on:{input:t.inputHandler,keydown:t.handleKeyStroke}},"input",t.internal_inputProps,!1),t.listeners))]),t._t("after-input"),t._v(" "),n("div",{class:t._componentAttrClassAutosuggestResultsContainer,attrs:{id:t.componentAttrIdAutosuggest+"-"+t.componentAttrPrefix+"__results"}},[t.isOpen?n("div",{class:t._componentAttrClassAutosuggestResults,attrs:{"aria-labelledby":t.componentAttrIdAutosuggest}},[t._t("before-suggestions"),t._v(" "),t._l(t.computedSections,(function(e,r){return n(e.type,{key:t.getSectionRef(""+e.name+r),ref:t.getSectionRef(""+e.name+r),refInFor:!0,tag:"component",attrs:{"current-index":t.currentIndex,"normalize-item-function":t.normalizeItem,"render-suggestion":t.render
vendor: 4,841 bytes, line 2
2Suggestion,section:e,"component-attr-prefix":t.componentAttrPrefix,"component-attr-id-autosuggest":t.componentAttrIdAutosuggest},on:{updateCurrentIndex:t.updateCurrentIndex},scopedSlots:t._u([{key:"before-section-"+(e.name||e.label),fn:function(n){var r=n.section,i=n.className;return[t._t("before-section-"+(e.name||e.label),null,{section:r,className:i})]}},{key:"default",fn:function(e){var n=e.suggestion,r=e._key;return[t._t("default",[t._v(" "+t._s(n.item)+" ")],{suggestion:n,index:r})]}},{key:"after-section-"+(e.name||e.label),fn:function(n){var r=n.section;return[t._t("after-section-"+(e.name||e.label),null,{section:r})]}},{key:"after-section",fn:function(e){var n=e.section;return[t._t("after-section",null,{section:n})]}}])})})),t._v(" "),t._t("after-suggestions")],2):t._e(),t._v(" "),t._t("after-suggestions-container")],2)],2)},staticRenderFns:[],name:"Autosuggest",components:{DefaultSection:Pe},props:{value:{type:String,default:null},inputProps:{type:Object,required:!0},limit:{type:Number,required:!1,default:1/0},suggestions:{type:Array,required:!0},renderSuggestion:{type:Function,required:!1,default:null},getSuggestionValue:{type:Function,required:!1,default:function(t){var e=t.item;return"object"==typeof e&&e.hasOwnProperty("name")?e.name:e}},shouldRenderSuggestions:{type:Function,required:!1,default:function(t,e){return t>0&&!e}},sectionConfigs:{type:Object,required:!1,default:function(){return{default:{onSelected:null}}}},onSelected:{type:Function,required:!1,default:null},componentAttrIdAutosuggest:{type:String,required:!1,default:"autosuggest"},componentAttrClassAutosuggestResultsContainer:{type:String,required:!1,default:null},componentAttrClassAutosuggestResults:{type:String,required:!1,default:null},componentAttrPrefix:{type:String,required:!1,default:"autosuggest"}},data:function(){return{internalValue:null,searchInputOriginal:null,currentIndex:null,currentItem:null,loading:!1,didSelectFromOptions:!1,defaultInputProps:{type:"text",autocomplete:"off"},clientXMouseDownInitial:null}},computed:{internal_inputProps:function(){return Object.assign({},this.defaultInputProps,this.inputProps)},listeners:function(){var t=this;return Object.assign({},this.$listeners,{input:function(t){},click:function(){t.loading=!1,t.$listeners.click&&t.$listeners.click(t.currentItem),t.$nextTick((function(){t.ensureItemVisible(t.currentItem,t.currentIndex)}))},selected:function(){t.currentItem&&t.sectionConfigs[t.currentItem.name]&&t.sectionConfigs[t.currentItem.name].onSelected?t.sectionConfigs[t.currentItem.name].onSelected(t.currentItem,t.searchInputOriginal):t.sectionConfigs.default.onSelected?t.sectionConfigs.default.onSelected(null,t.searchInputOriginal):t.$listeners.selected&&t.$emit("selected",t.currentItem,t.currentIndex),t.setChangeItem(null)}})},isOpen:function(){return this.shouldRenderSuggestions(this.totalResults,this.loading)},computedSections:function(){var t=this,e=0;return this.suggestions.map((function(n){if(n.data){var r,i,o,a,s=n.name?n.name:Ie,l=null;t.sectionConfigs[s]&&(r=t.sectionConfigs[s].limit,o=t.sectionConfigs[s].type,i=t.sectionConfigs[s].label,a=t.sectionConfigs[s].ulClass,l=t.sectionConfigs[s].liClass),o=o||Ye,r=(r=r||t.limit)||1/0,r=n.data.length<r?n.data.length:r;var c={name:s,label:i=i||n.label,type:o,limit:r,data:n.data,start_index:e,end_index:e+r-1,ulClass:a,liClass:l};return e+=r,c}}))},totalResults:function(){return this.computedSections.reduce((function(t,e){if(!e)return t;var n=e.limit,r=e.data;return t+(r.length>=n?n:r.length)}),0)},_componentAttrClassAutosuggestResultsContainer:function(){return this.componentAttrClassAutosuggestResultsContainer||this.componentAttrPrefix+"__results-container"},_componentAttrClassAutosuggestResults:function(){return this.componentAttrClassAutosuggestResults||this.componentAttrPrefix+"__results"}},watch:{value:{handler:function(t){this.internalValue=t},immediate:!0},isOpen:{handler:function(t,e){t!==e&&this.$emit(t?"opened":"closed")},immediate:!0}},created:function(){this.loading=!0},mounted:function(){document.addEventListener("mouseup",this.onDocumentMouseUp),document.addEventListener("mousedown",this.onDocumentMouseDown)},beforeDestroy:function(){document.removeEventListener("mouseup",this.onDocumentMouseUp),document.removeEventListener("mousedown",this.onDocumentMouseDown)},methods:{inputHandler:function(t){var e=t.target.value;this.$emit("input",e),this.internalValue=e,this.didSelectFromOptions||(this.searchInputOriginal=e,this.currentIndex=null)},getSectionRef:function(t){return"computed_section_"+t},getItemByIndex:function(t){var e=!1;if(null===t)return e;for(var n=0;n<this.computedSections.length;n++)if(t>=this.computedSections[n].start_index&&t<=this.computedSections[n].end_index){var r=t-this.computedSections[n].start_index,i=this.computedSections[n].name,o=this.$refs[this.get
2SectionRef(""+i+n)][0];if(o){e=this.normalizeItem(this.computedSections[n].name,this.computedSections[n].type,o.section.label,o.section.liClass,o.getItemByIndex(r));break}}return e},handleKeyStroke:function(t){var e=this,n=t.keyCode;if(!([16,9,17,18,91,93].indexOf(n)>-1)){var r=!this.isOpen;if(this.loading=!1,this.didSelectFromOptions=!1,this.isOpen)switch(n){case 40:case 38:if(t.preventDefault(),38===n&&null===this.currentIndex)break;var i=40===n?1:-1,o=Math.max((parseInt(this.currentIndex)||0)+(r?0:i),-1);this.setCurrentIndex(o,this.totalResults),this.didSelectFromOptions=!0,this.totalResults>0&&this.currentIndex>=0?(this.setChangeItem(this.getItemByIndex(this.currentIndex)),this.didSelectFromOptions=!0):-1===this.currentIndex&&(this.setChangeItem(null),this.internalValue=this.searchInputOriginal,t.preventDefault()),this.$nextTick((function(){e.ensureItemVisible(e.currentItem,e.currentIndex)}));break;case 13:t.preventDefault(),this.totalResults>0&&this.currentIndex>=0&&(this.setChangeItem(this.getItemByIndex(this.currentIndex),!0),this.didSelectFromOptions=!0),this.loading=!0,this.listeners.selected(this.didSelectFromOptions);break;case 27:this.loading=!0,this.currentIndex=null,this.internalValue=this.searchInputOriginal,this.$emit("input",this.searchInputOriginal),t.preventDefault()}}},setChangeItem:function(t,e){if(void 0===e&&(e=!1),null!==this.currentIndex&&t){if(t){this.currentItem=t,this.$emit("item-changed",t,this.currentIndex);var n=this.getSuggestionValue(t);this.internalValue=n,e&&(this.searchInputOriginal=n),this.ensureItemVisible(t,this.currentIndex)}}else this.currentItem=null,this.$emit("item-changed",null,null)},normalizeItem:function(t,e,n,r,i){return{name:t,type:e,label:n,liClass:i.liClass||r,item:i}},ensureItemVisible:function(t,e,n){var r=this.$el.querySelector(n||"."+this._componentAttrClassAutosuggestResults);if(r){var i=r.querySelector("#"+this.componentAttrPrefix+"__results-item--"+e);if(i){var o=r.clientHeight,a=r.scrollTop,s=i.clientHeight,l=i.offsetTop;s+l>=a+o?r.scrollTop=s+l-o:l<a&&a>0&&(r.scrollTop=l)}}},updateCurrentIndex:function(t){this.setCurrentIndex(t,-1,!0)},clickedOnScrollbar:function(t,e){var n=this.$el.querySelector("."+this._componentAttrClassAutosuggestResults),r=n&&n.clientWidth<=e+17&&e+17<=n.clientWidth+34;return"DIV"===t.target.tagName&&n&&r||!1},onDocumentMouseDown:function(t){var e=t.target.getBoundingClientRect?t.target.getBoundingClientRect():0;this.clientXMouseDownInitial=t.clientX-e.left},onDocumentMouseUp:function(t){if(!this.$el.contains(t.target))return this.loading=!0,void(this.currentIndex=null);"INPUT"===t.target.tagName||this.clickedOnScrollbar(t,this.clientXMouseDownInitial)||(this.loading=!0,this.didSelectFromOptions=!0,this.setChangeItem(this.getItemByIndex(this.currentIndex),!0),this.listeners.selected(!0))},setCurrentIndex:function(t,e,n){void 0===e&&(e=-1),void 0===n&&(n=!1);var r=t;n||(null===this.currentIndex||t>=e)&&(r=0),this.currentIndex=r;var i=this.$el.querySelector("#"+this.componentAttrPrefix+"__results-item--"+this.currentIndex),o=this.componentAttrPrefix+"__results-item--highlighted";this.$el.querySelector("."+o)&&function(t,e){t.classList&&t.classList.remove(e)}(this.$el.querySelector("."+o),o),i&&je(i,o)}}},Fe={install:function(t){t.component("vue-autosuggest-default-section",Pe),t.component("vue-autosuggest",Re)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Fe);var Be=n(70538),Ne=n(57204);Be.default.directive("tooltip",Ee);const $e={layout:i.Z,components:{CustomControl:_,HorizontalList:o.Z,CardArticle:a.Z,CardVideo:s.Z,VueGallerySlideshow:c(),Share:v.Z,ZestButtonLink:g.Z,MglMap:Ne.Q3,MglNavigationControl:Ne.RV,MglGeolocateControl:Ne.fQ,MglAttributionControl:Ne.tQ,MglFullscreenControl:Ne.d3,MglScaleControl:Ne.RQ,MglMarker:Ne.xM,MglPopup:Ne.eO,VTooltip:Ee,VPopover:De,VClosePopover:Ae,VueAutosuggest:Re},props:{rows:Array,categories:Array,shop:Object,days:Array,categorySelected:Array,shopsRecentlyViews:Array},data:function(){return{query:"",suggestions:[{data:[]}],showBtnLogin:!1,textBtnLogin:"Se connecter",images:[],imageIndex:null,open:!!this.shop,obj:this.shop,durationCar:"",durationWalking:"",form:{category_slug:this.categorySelected}
2,zoom:9.5,center:new u.LngLat(55.548,-21.106),accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",defaultLat:-21.106,defaultLon:55.548,userLat:"",userLon:"",mapbox:"",shops:this.rows,shopsBoundingBox:[],routePro:this.$page.props.user?route("member.shops.index"):route("register",{type:"professional"})}},computed:{filteredOptions:function(){var t=this;return[{data:this.suggestions[0].data.filter((function(e){return e.name.toLowerCase().indexOf(t.query.toLowerCase())>-1}))}]}},methods:{onInputChange:function(t){axios.get(route("carte.search",{q:t})).then(function(t){this.suggestions=t.data}.bind(this))},onSelected:function(t){this.query="",this.details(t.item)},onMapLoaded:function(t){var e=this;this.map=t.map,this.center=new u.LngLat(this.defaultLon,this.defaultLat),this.map.on("moveend",(function(){e.loadShops(),e.loadShopsBoundingBox()}))},loadShops:function(){var t=this.map.getBounds().toArray(),e=this;axios.get(route("carte.loadmap",{coordinates:t[0][0]+","+t[0][1]+","+t[1][0]+","+t[1][1]})).then((function(t){t.data.shops.forEach((function(t){e.pluck(e.shops,"id").includes(t.id)||e.shops.push(t)})),e.loadShopsBoundingBox()}))},loadShopsBoundingBox:function(){var t=this;t.shopsBoundingBox=[],t.shops.forEach((function(e){var n=new u.LngLatBounds(t.map.getBounds().toArray()),r=new u.LngLat(e.longitude,e.latitude);n.contains(r)&&-1===t.shopsBoundingBox.indexOf(e)&&(!t.form.category_slug.some((function(n){return t.pluck(e.categories,"slug").includes(n)}))&&t.form.category_slug.length||t.shopsBoundingBox.push(e))}))},close:function(){this.open=!1,this.$inertia.replace(route("carte.index"),{only:["shop","days","seo"]})},details:function(t){var e=this;this.open=!0,this.obj=t,this.directions(t),this.map.flyTo({zoom:15,center:[t.longitude,t.latitude]}),this.images=[],t.photos.forEach((function(t){e.images.push(e.$page.props.APP_URL+t.path)})),this.$inertia.replace(route("carte.index",[t.slug]),{only:["shop","days","seo","shopsRecentlyViews"]})},directions:function(t){if(this.userLon||this.userLat){var e=this;axios.get("https://api.mapbox.com/directions-matrix/v1/mapbox/driving/"+this.userLon+","+this.userLat+";"+t.longitude+","+t.latitude+"?sources=1&annotations=duration&access_token="+this.accessToken).then((function(t){var n=Math.round(parseInt(t.data.durations[0])/60),r=n%60,i=(n-r)/60;e.durationCar=(i?i+"h":"")+r+(r>1?"mins":"min")})),axios.get("https://api.mapbox.com/directions-matrix/v1/mapbox/walking/"+this.userLon+","+this.userLat+";"+t.longitude+","+t.latitude+"?sources=1&annotations=duration&access_token="+this.accessToken).then((function(t){var n=Math.round(parseInt(t.data.durations[0])/60),r=n%60,i=(n-r)/60;e.durationWalking=(i?i+"h":"")+r+(r>1?"mins":"min")}))}},like:function(){var t=this;axios.post(route("carte.like",this.obj.id)).then((function(e){t.obj.user_liked=e.data.hasLiked}))},save:function(){var t=this;axios.post(route("carte.save",this.obj.id)).then((function(e){t.obj.user_saved=e.data.hasSaved}))},pluck:function(t,e){return Array.from(new Set(t.map((function(t){return t[e]}))))}},watch:{open:{immediate:!0,handler:function(t){document.body.style.overflow=t?"hidden":null}}},created:function(){var t=this;this.map=null,this.mapbox=u.Mapbox,this.obj&&(this.zoom=15,this.defaultLat=this.obj.latitude,this.defaultLon=this.obj.longitude,this.images=[],this.obj.photos.forEach((function(e){t.images.push(t.$page.props.APP_URL+e.path)}))),"geolocation"in navigator&&(this.zoom=15,navigator.geolocation.getCurrentPosition((function(e){t.userLat=e.coords.latitude,t.userLon=e.coords.longitude,t.obj?t.directions(t.obj):(t.defaultLat=e.coords.latitude,t.defaultLon=e.coords.longitude,t.center=new u.LngLat(t.defaultLon,t.defaultLat))}),(function(e){t.obj||(t.zoom=9.5)})))}};var Ze=n(93379),He=n.n(Ze),Ve=n(88165),Ue={insert:"head",singleton:!1};He()(Ve.Z,Ue);Ve.Z.locals;const We=(0,m.Z)($e,(function(){var t=this,e=t._self._c;return e("div",[t.obj?e("transition",{attrs:{"enter-active-class":"ease-in-out duration-500","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in-out duration-500","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 overflow-hidden z-50"},[e("div",{staticClass:"absolute inset-0 overflow-hidden"},[e("div",{staticClass:"absolute inset-0 bg-gray-500 opacity-30",attrs:{"aria-hidden":"true"},on:{click:t.close}}),t._v(" "),e("transition",{attrs:{"enter-active-class":"transform transition ease-in-out duration-500","enter-class":"-translate-x-full","enter-to-class":"translate-x-0","leave-active-class":"transform transition ease-in-out duration-500","leave-class":"translate-x-0","leave-to-class":"-translate-x-full"}},[e("section",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute inset-y-0 left-0 max-w-lg flex",attrs:{"aria-labelledby":"slide-over-heading"}},[e("div",{staticClass:"relative w-screen"},[e("div",{staticClass:"h-full flex flex-col py-6 bg-white shadow-xl overflow-y-scroll"},[e("div",{staticClass:"px-4 sm:px-6"},[e("button",{staticClass:"text-white bg-black focus:outline-none",on:{click:t.close}},[e("span",{staticClass:"sr-only"},[t._v("Close panel")]),t._v(" "),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),t._v(" "),e("div",{staticClass:"mt-6 relative flex-1 px-4 sm:px-6"},[t.obj.logo?e("img",{staticClass:"w-full md:w-1/3 mb-4 px-2 mx-auto",attrs:{src:t.obj.logo,alt:""}}):t._e(),t._v(" "),e("hr",{staticClass:"border-black"}),t._v(" "),e("h1",{staticClass:"text-xl mt-2 font-bold"},[t._v(t._s(t.obj.name))]),t._v(" "),e("div",{staticClass:"my-2"},[t._l(t.obj.categories,(function(n){return e("span",{staticClass:"py-1 px-2 whitespace-nowrap mr-2 mb-3",staticStyle:{"background-color":"#E0E0E0"}},[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])})),t._v(" "),e("div",{staticClass:"my-3"},[!0===t.obj.open_close?e("span",{staticClass:"text-green-600"},[e("font-awesome-icon",{attrs:{icon:["fas","clock"]}}),t._v(" Établissement ouvert\n                                            ")],1):!1===t.obj.open_close?e("span",{staticClass:"text-red-600"},[e("font-awesome-icon",{attrs:{icon:["fas","clock"]}}),t._v(" Établissement fermé\n                                            ")],1):t._e()])],2),t._v(" "),e("ul",[e("li",{domProps:{innerHTML:t._s(t.obj.full_address)}}),t._v(" "),t.durationCar&&t.durationWalking?e("li",[e("font-awesome-icon",{staticClass:"mr-1 text-1xl",attrs:{icon:["fas","car"]}}),t._v(" "+t._s(t.durationCar)+" | "),e("font-awesome-icon",{staticClass:"mr-1 text-1xl",attrs:{icon:["fas","walking"]}}),t._v(" "+t._s(t.durationWalking)+"\n                                        ")],1):t._e(),t._v(" "),t.obj.website_url?e("li",[e("a",{attrs:{href:t.obj.website_url,target:"_blank"}},[e("font-awesome-icon",{staticClass:"mr-1 text-1xl",attrs:{icon:["fas","external-link-alt"]}}),t._v(" Site internet")],1)]):t._e(),t._v(" "),t.obj.facebook||t.obj.instagram?e("li",[t.obj.facebook?e("a",{staticClass:"mr-4",attrs:{href:t.obj.facebook,target:"_blank"}},[e("font-awesome-icon",{staticClass:"mr-1 text-1xl",attrs:{icon:["fab","facebook-f"]}}),t._v(" Facebook")],1):t._e(),t._v(" "),t.obj.instagram?e("a",{attrs:{href:t.obj.instagram,target:"_blank"}},[e("font-awesome-icon",{staticClass:"mr-1 text-1xl",attrs:{icon:["fab","instagram"]}}),t._v(" Instagram")],1):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"mt-5 py-3 bg-gray-100 flex text-gray-500 justify-between px-10 text-center"},[t.$page.props.user?e("div",{staticClass:"cursor-pointer text-center",on:{click:t.save}},[t.obj.user_saved?e("font-awesome-icon",{staticClass:"text-1xl text-zest-yellow",attrs:{icon:["fas","check"]}}):e("font-awesome-icon",{staticClass:"text-1xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("À visiter\n                                            ")],1):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour enregistrer l'établissement"}}},[e("font-awesome-icon",{staticClass:"text-1xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("À visiter\n                                            ")],1),t._v(" "),t.$page.props.user?e("div",{staticClass:"cursor-pointer",on:{click:t.like}},[t.obj.user_liked?e("div",[e("font-awesome-icon",{staticClass:"text-1xl text-zest-yellow",attrs:{icon:["fas","heart"]}}),t._v(" "),e("br"),t._v("Je n'aime plus\n                                                ")],1):e("div",[e("font-awesome-icon",{staticClass:"text-1xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                                                ")],1)]):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour aimer l'établissement"}}},[e("font-awesome-icon",{staticClass:"text-1xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                                            ")],1),t._v(" "),e("share",{attrs:{title:t.obj.name,url:t.route("carte.index",t.obj.slug),"icon-size":"text-1xl"}})],1),t._v(" "),!t.$page.props.user&&t.showBtnLogin?e("div",{staticClass:"text-center my-5"},[e("zest-button-link",{attrs:{href:t.route("login")}},[t._v("\n                                            "+t._s(t.textBtnLogin)+"\n                                        ")])],1):t._e(),t._v(" "),t.images.length?e("div",[e("div",{staticClass:"overflow-hidden overflow-x-auto bg-white my-4 text-sm max-w-lg"},[e("div",{staticClass:"mx-auto"},[e("div",{staticClass:"flex justify-between"},[e("div",{staticClass:"flex mx-auto"},t._l(t.images,(function(n,r){return e("img",{key:r,staticClass:"mb-4 px-2 object-contain h-full w-3/5 md:w-1/3",attrs:{src:n,alt:""},on:{click:function(e){t.imageIndex=r}}})})),0)])])]),t._v(" "),e("vue-gallery-slideshow",{attrs:{images:t.images,index:t.imageIndex},on:{close:function(e){t.imageIndex=null}}})],1):t._e(),t._v(" "),e("p",{staticClass:"mt-3",domProps:{innerHTML:t._s(t.obj.description)}}),t._v(" "),e("hr",{staticClass:"border-black mt-3"}),t._v(" "),e("table",{staticClass:"min-w-full text-left"},[e("tbody",{staticClass:"bg-white"},[t.obj.types&&t.obj.types.length||t.obj.type?e("tr",[t.pluck(t.obj.categories,"id").includes(69)?e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Type de cuisine")]):t.pluck(t.obj.categories,"id").includes(72)?e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Produits péi")]):t.pluck(t.obj.categories,"id").includes(73)?e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Type de caves")]):e("th",{staticClass:"py-2 text-left text-xs uppercase"}
2,[t._v("Type d'établissement")]),t._v(" "),e("td",{staticClass:"px-6 py-2"},[t._l(t.obj.types,(function(n){return e("div",[t._v("\n                                                        "+t._s(n.name)+"\n                                                    ")])})),t._v(" "),e("div",[t._v("\n                                                        "+t._s(t.obj.type)+"\n                                                    ")])],2)]):t._e(),t._v(" "),t.obj.average_price?e("tr",[e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Prix moyen")]),t._v(" "),e("td",{staticClass:"px-6 py-2"},[t._v(t._s(t.obj.average_price)+" €")])]):t._e(),t._v(" "),t.obj.phone?e("tr",[e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Téléphone")]),t._v(" "),e("td",{staticClass:"px-6 py-2"},[e("a",{attrs:{href:"tel:"+t.obj.phone}},[t._v(t._s(t.obj.phone))])])]):t._e(),t._v(" "),t.obj.closing_dates.length?e("tr",[e("th",{staticClass:"py-2 text-left text-xs uppercase"},[t._v("Date de fermeture annuelle")]),t._v(" "),e("td",{staticClass:"px-6 py-2"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(t.obj.closing_dates,(function(n){return e("tr",[e("td",[t._v("\n                                                                "+t._s(t._f("moment")(n.start,"DD/MM/YYYY"))+" - "+t._s(t._f("moment")(n.end,"DD/MM/YYYY"))+"\n                                                            ")])])})),0)])]):t._e(),t._v(" "),t._l(t.days,(function(n){return t.days.length?e("tr",{staticClass:"border-t-2 border-gray-200"},[e("th",{staticClass:"text-left text-xs uppercase"},[t._v("\n                                                    "+t._s(n.name)+"\n                                                ")]),t._v(" "),n.hours.length?e("td",{staticClass:"px-6"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(n.hours,(function(n){return e("tr",[e("td",[n.all_day?e("span",[t._v("24h/24")]):n.custom_hour?e("span",[t._v(t._s(n.custom_hour))]):e("span",[t._v(t._s(n.opening)+" - "+t._s(n.closing))])])])})),0)]):e("td",{staticClass:"px-6"},[e("table",{staticClass:"divide-y divide-gray-200"},[e("tr",[e("td",[t._v("\n                                                                Fermé\n                                                            ")])])])])]):t._e()}))],2)]),t._v(" "),e("hr",{staticClass:"border-black my-3"}),t._v(" "),e("ul",[t.obj.kaspro_guide?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Sélection Guide Kaspro")],1):t._e(),t._v(" "),t.obj.sale_on_site?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Vente sur place")],1):t._e(),t._v(" "),t.obj.takeaway?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Vente à emporter")],1):t._e(),t._v(" "),t.obj.sale_online?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Vente en ligne")],1):t._e(),t._v(" "),t.obj.visit?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Visite sous conditions")],1):t._e(),t._v(" "),t.obj.delivery_under_conditions?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Livraison sous conditions")],1):t._e(),t._v(" "),t.obj.privatizable?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Privatisable sous conditions")],1):t._e(),t._v(" "),t.obj.terrace?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Terrasse")],1):t._e(),t._v(" "),t.obj.smoking?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Espace fumeur")],1):t._e(),t._v(" "),t.obj.pmr_access?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Accès PMR")],1):t._e(),t._v(" "),t.obj.caterer_under_conditions?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-green-600",attrs:{icon:["fas","check"]}}),t._v(" Traiteur")],1):t._e(),t._v(" "),t.obj.tasting_under_conditions&&t.obj.categories.includes(55)?e("li",[e("font-awesome-icon",{staticClass:"mr-2 text-red-600",attrs:{icon:["fas","times"]}}),t._v(" Dégustations sous conditions")],1):t._e()]),t._v(" "),t.obj.attachments.length?e("div",[e("hr",{staticClass:"border-black my-3"}),t._v(" "),e("h3",{staticClass:"text-lg text-center mb-5"},[t._v("Plus d’informations")]),t._v(" "),e("ul",t._l(t.obj.attachments,(function(n){return e("li",[e("a",{staticClass:"underline",attrs:{href:n.path,target:"_blank"}},[t._v(t._s(n.name))])])})),0)]):t._e(),t._v(" "),t.obj.videos.length||t.obj.articles.length?e("div",[e("div",{staticClass:"text-center mt-8 mx-auto"},[e("h1",{staticClass:"text-xl font-bold uppercase"},[t._v("Le Bon Zest Parle de Nous")])]),t._v(" "),t.obj.videos.length?e("horizontal-list",{attrs:{items:t.obj.videos},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n}})]}}],null,!1,3533656092)}):t._e(),t._v(" "),t.obj.articles.length?e("horizontal-list",{attrs:{items:t.obj.articles},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)}
2):t._e()],1):t._e()])])])])])],1)])]):t._e(),t._v(" "),e("div",{staticClass:"fixed bg-white left-0 right-0 top-0 z-30 categories-filter"},[e("div",{staticClass:"mb-5 pt-5"},[e("p",{staticClass:"text-center"},[e("font-awesome-icon",{staticClass:"mr-2",attrs:{icon:["fas","map-marker-alt"]}}),t._v(" Vous êtes commerçant ? "),e("inertia-link",{staticClass:"underline",attrs:{href:t.routePro}},[t._v("Cliquez-ici !")])],1)]),t._v("\n\n        "+t._s()+"\n        "),t.shopsRecentlyViews.length?e("div",{staticClass:"lg:hidden"},[e("h3",{staticClass:"font-bold text-center"},[t._v("Récemment consulté")]),t._v(" "),e("div",{staticClass:"overflow-hidden overflow-x-auto bg-white mb-4 text-sm"},[e("div",{staticClass:"mx-auto px-4 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex justify-between"},[e("div",{staticClass:"flex mx-auto space-x-2"},t._l(t.shopsRecentlyViews,(function(n){return e("div",{staticClass:"flex"},[e("label",{staticClass:"cursor-pointer px-2 py-1 rounded-lg whitespace-nowrap uppercase",on:{click:function(e){return t.details(n.shop)}}},[e("img",{staticClass:"inline",staticStyle:{"max-width":"30px"},attrs:{src:n.shop.icon_slug}}),t._v(" "),e("span",{staticClass:"align-middle"},[t._v(t._s(n.shop.name))])])])})),0)])])])]):t._e(),t._v(" "),e("div",{staticClass:"lg:hidden"},[e("h3",{staticClass:"font-bold text-center"},[t._v("Catégories")]),t._v(" "),e("div",{staticClass:"overflow-hidden overflow-x-auto bg-white mb-4 text-sm"},[e("div",{staticClass:"mx-auto px-4 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex justify-between"},[e("div",{staticClass:"flex mx-auto space-x-2"},t._l(t.categories,(function(n){var i,o;return e("div",{staticClass:"flex"},[t.form.category_slug.includes(n.slug)?e("label",{staticClass:"cursor-pointer rounded-lg px-2 py-1 whitespace-nowrap uppercase bg-zest-gold text-white"},[e("img",{staticClass:"inline",staticStyle:{"max-width":"30px"},attrs:{src:n.icon_filters_slug,alt:""}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.category_slug,expression:"form.category_slug"}],staticClass:"hidden",attrs:{type:"checkbox"},domProps:(i={value:n.slug},r(i,"value",n.slug),r(i,"checked",Array.isArray(t.form.category_slug)?t._i(t.form.category_slug,n.slug)>-1:t.form.category_slug),i),on:{change:function(e){var r=t.form.category_slug,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.slug,s=t._i(r,a);i.checked?s<0&&t.$set(t.form,"category_slug",r.concat([a])):s>-1&&t.$set(t.form,"category_slug",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.form,"category_slug",o)}}}),t._v(t._s(n.name)+"\n                                ")]):e("label",{staticClass:"cursor-pointer px-2 py-1 rounded-lg whitespace-nowrap uppercase"},[e("img",{staticClass:"inline",staticStyle:{"max-width":"30px"},attrs:{src:n.icon_filters_slug,alt:""}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.category_slug,expression:"form.category_slug"}],staticClass:"hidden",attrs:{type:"checkbox"},domProps:(o={value:n.slug},r(o,"value",n.slug),r(o,"checked",Array.isArray(t.form.category_slug)?t._i(t.form.category_slug,n.slug)>-1:t.form.category_slug),o),on:{change:function(e){var r=t.form.category_slug,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.slug,s=t._i(r,a);i.checked?s<0&&t.$set(t.form,"category_slug",r.concat([a])):s>-1&&t.$set(t.form,"category_slug",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.form,"category_slug",o)}}}),t._v(t._s(n.name)+"\n                                ")])])})),0)])])])]),t._v(" "),e("div",{staticClass:"autosuggest-container mb-5 mx-5 lg:hidden"},[e("vue-autosuggest",{attrs:{suggestions:t.filteredOptions,"input-props":{id:"autosuggest__input",class:"border-gray-200 w-full",placeholder:"Rechercher"}},on:{input:t.onInputChange,selected:t.onSelected},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.suggestion;return e("div",{staticStyle:{display:"flex","align-items":"center",background:"#ececec"}},[e("div",{staticClass:"p-2"},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[e("img",{staticClass:"inline",attrs:{src:r.item.icon_slug}})]),t._v(" "),e("td",{staticClass:"align-middle"},[t._v(t._s(r.item.name)+" "+t._s(r.item.city.libelle))])])])])}}]),model:{value:t.query,callback:function(e){t.query=e},expression:"query"}})],1)]),t._v(" "),e("div",{staticStyle:{height:"40px"}}),t._v(" "),e("div",{staticClass:"flex"},[e("div",{staticClass:"flex-auto bg-white w-full max-w-sm px-2 categories-filter hidden lg:block"},[e("div",{staticClass:"autosuggest-container mb-5"},[e("vue-autosuggest",{attrs:{suggestions:t.filteredOptions,"input-props":{id:"autosuggest__input",class:"border-gray-200 w-full",placeholder:"Rechercher"}},on:{input:t.onInputChange,selected:t.onSelected},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.suggestion;return e("div",{staticStyle:{display:"flex","align-items":"center",background:"#ececec"}},[e("div",{staticClass:"p-2"},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[e("img",{staticClass:"inline",attrs:{src:r.item.icon_slug}})]),t._v(" "),e("td",{staticClass:"align-middle"},[t._v(t._s(r.item.name)+" "+t._s(r.item.city.libelle))])])])])}}]),model:{value:t.query,callback:function(e){t.query=e},expression:"query"}})],1),t._v(" "),e("div",{staticClass:"h-full m-auto overflow-y-scroll",staticStyle:{height:"calc(100vh - 292px)"}},[t.shopsRecentlyViews.length?e("div",[e("h3",{staticClass:"font-bold p-2"},[t._v("Récemment consulté")]),t._v(" "),e("table",t._l(t.shopsRecentlyViews,(function(n){return e("tr",{staticClass:"mb-1 block uppercase"},[e("div",{staticClass:"rounded-lg p-2",on:{click:function(e){return t.details(n.shop)}}},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[e("img",{staticClass:"inline",attrs:{src:n.shop.icon_slug}})]),t._v(" "),e("td",{staticClass:"align-middle"},[t._v(t._s(n.shop.name))])])])])})),0),t._v(" "),e("hr",{staticClass:"mb-4"})]):t._e(),t._v(" "),e("div",[e("h3",{staticClass:"font-bold p-2"},[t._v("Catégories")]),t._v(" "),e("table",t._l(t.categories,(function(n){var i,o;return e("tr",{staticClass:"mb-1 block uppercase"},[t.form.category_slug.includes(n.slug)?e("div",{staticClass:"rounded-lg bg-zest-gold text-white p-2"},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[e("img",{staticClass:"inline",attrs:{src:n.icon_slug}})]),t._v(" "),e("td",{staticClass:"align-middle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.category_slug,expression:"form.category_slug"}],staticClass:"hidden",attrs:{type:"checkbox"},domProps:(i={value:n.slug},r(i,"value",n.slug),r(i,"checked",Array.isArray(t.form.category_slug)?t._i(t.form.category_slug,n.slug)>-1:t.form.category_slug),i),on:{change:function(e){var r=t.form.category_slug,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.slug,s=t._i(r,a);i.checked?s<0&&t.$set(t.form,"category_slug",r.concat([a])):s>-1&&t.$set(t.form,"category_slug",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.form,"category_slug",o)}}}),t._v(t._s(n.name))])])]):e("div",{staticClass:"rounded-lg p-2"},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[e("img",{staticClass:"inline",attrs:{src:n.icon_slug}})]),t._v(" "),e("td",{staticClass:"align-middle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.category_slug,expression:"form.category_slug"}],staticClass:"hidden",attrs:{type:"checkbox"},domProps:(o={value:n.slug},r(o,"value",n.slug),r(o,"checked",Array.isArray(t.form.category_slug)?t._i(t.form.category_slug,n.slug)>-1:t.form.category_slug),o),on:{change:function(e){var r=t.form.category_slug,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.slug,s=t._i(r,a);i.checked?s<0&&t.$set(t.form,"category_slug",r.concat([a])):s>-1&&t.$set(t.form,"category_slug",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.form,"category_slug",o)}}}),t._v(t._s(n.name))])])])])})),0)]),t._v(" "),t.shopsBoundingBox.length?e("div",[e("hr",{staticClass:"mb-4"}),t._v(" "),e("h3",{staticClass:"font-bold p-2"},[t._v(t._s(t.shopsBoundingBox.length>1?"Établissements":"Établissement")+" ")]),t._v(" "),e("table",t._l(t.shopsBoundingBox,(function(n){return e("tr",{staticClass:"mb-1 block uppercase"},[t.form.category_slug.some((function(e){return t.pluck(n.categories,"slug").includes(e)}))||!t.form.category_slug.length?e("div",{staticClass:"rounded-lg p-2",on:{click:function(e){return t.details(n)}}},[e("label",{staticClass:"cursor-pointer block"},[e("td",{staticClass:"align-middle",staticStyle:{width:"45px"}},[(t.form.category_slug.length,e("img",{staticClass:"inline",attrs:{src:n.icon_slug}}))]),t._v(" "),e("td",{staticClass:"align-middle"},[t._v(t._s(n.name))])])]):t._e()])})),0)]):t._e()])]),t._v(" "),e("div",{staticClass:"flex-auto relative"},[t.open?t._e():e("div",{staticClass:"absolute z-50 max-w-lg mx-auto left-0 right-0 bottom-0 px-14 lg:hidden"},[e("div",{staticClass:"overflow-hidden overflow-x-auto mb-4 text-sm"},[e("div",{staticClass:"mx-auto px-4 sm:px-6 lg:px-8"},[e("div",{staticClass:"flex justify-between"}
2,[e("div",{staticClass:"flex mx-auto space-x-2"},t._l(t.shopsBoundingBox,(function(n){return e("div",{staticClass:"flex bg-white rounded"},[t.form.category_slug.some((function(e){return t.pluck(n.categories,"slug").includes(e)}))||!t.form.category_slug.length?e("div",{staticClass:"cursor-pointer px-2 py-1 rounded-lg uppercase whitespace-nowrap",on:{click:function(e){return t.details(n)}}},[(t.form.category_slug.length,e("img",{staticClass:"inline",staticStyle:{"max-width":"30px"},attrs:{src:n.icon_slug}})),t._v("\n                                        "+t._s(n.name)+"\n                                    ")]):t._e()])})),0)])])])]),t._v(" "),e("MglMap",{staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom},on:{load:t.onMapLoaded}},[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglGeolocateControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("CustomControl",{attrs:{position:"bottom-left"}}),t._v(" "),t._l(t.shops,(function(n){return e("div",[t.form.category_slug.some((function(e){return t.pluck(n.categories,"slug").includes(e)}))||!t.form.category_slug.length?e("MglMarker",{attrs:{coordinates:[n.longitude,n.latitude],color:"black"},on:{click:function(e){return t.details(n)}}},[e("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:n.name,expression:"row.name"}],attrs:{slot:"marker"},slot:"marker"},[t.open&&t.obj.id==n.id?e("svg",{attrs:{display:"block",height:"41px",width:"27px",viewBox:"0 0 27 41"}},[e("g",{attrs:{"fill-rule":"nonzero"}},[e("g",{attrs:{transform:"translate(3.0, 29.0)",fill:"#000000"}},[e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"10.5",ry:"5.25002273"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"10.5",ry:"5.25002273"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"9.5",ry:"4.77275007"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"8.5",ry:"4.29549936"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"7.5",ry:"3.81822308"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"6.5",ry:"3.34094679"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"5.5",ry:"2.86367051"}}),e("ellipse",{attrs:{opacity:"0.04",cx:"10.5",cy:"5.80029008",rx:"4.5",ry:"2.38636864"}})]),e("g",{attrs:{fill:"black"}},[e("path",{attrs:{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"}})]),e("g",{attrs:{opacity:"0.25",fill:"#000000"}},[e("path",{attrs:{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"}})]),e("g",{attrs:{transform:"translate(6.0, 7.0)",fill:"#FFFFFF"}}),e("g",{attrs:{transform:"translate(8.0, 8.0)"}},[e("circle",{attrs:{fill:"#000000",opacity:"0.25",cx:"5.5",cy:"5.5",r:"5.4999962"}}),e("circle",{attrs:{fill:"#FFFFFF",cx:"5.5",cy:"5.5",r:"5.4999962"}})])])]):(t.form.category_slug.length,e("img",{attrs:{src:n.icon_slug}}))])]):t._e()],1)}))],2)],1)])],1)}),[],!1,null,null,null).exports},23038:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>w});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134),m=n(60642),_=n(32982),v=n(50171);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function y(){y=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==g(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function b(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const x={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Cropper:m.Z,ZestValidationErrors:f.Z,Editor:p.Z,TheMask:_.TheMask,ZestDialogModal:v.Z},data:function(){return{showResumeModal:!1,showDescriptionModal:!1,form:this.$inertia.form({name:"",location:"",organizer:"",start_date:new Date,start_hour:"",end_date:new Date,end_hour:"",content:"",resume:"",tags:[],photo:""})}},methods:{submit:function(){var t,e=this;return(t=y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("member.agendas.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){b(o,r,i,a,s,"next",t)}function s(t){b(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const w=(0,n(51900).Z)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.agendas.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("zest-dialog-modal",{attrs:{show:t.showResumeModal},on:{close:function(e){t.showResumeModal=!1}},scopedSlots:t._u([{key:"content",fn:function(){return[e("img",{attrs:{src:"/images/agenda/resume.png",alt:""}})]},proxy:!0}])}),t._v(" "),e("zest-dialog-modal",{attrs:{show:t.showDescriptionModal},on:{close:function(e){t.showDescriptionModal=!1}},scopedSlots:t._u([{key:"content",fn:function(){return[e("img",{attrs:{src:"/images/agenda/description.png",alt:""}})]},proxy:!0}])}),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu *",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text",required:""},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur *",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text",required:""},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),t.form.fairground_market?t._e():e("div",[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1)]),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showResumeModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Contenu *",for:"content"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showDescriptionModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showDescriptionModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo *",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Envoyer en validation\n            ")])],1)])],1)}),[],!1,null,null,null).exports},72868:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>w});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(76984),f=n(12771),p=n(97134),m=n(60642),_=n(32982),v=n(50171);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function y(){y=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==g(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function b(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const x={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,InputTag:h.Z,Cropper:m.Z,ZestValidationErrors:f.Z,Editor:p.Z,TheMask:_.TheMask,ZestDialogModal:v.Z},props:{obj:Object,tags:Array},data:function(){return{showResumeModal:!1,showDescriptionModal:!1,form:this.$inertia.form({name:this.obj.name,location:this.obj.location,organizer:this.obj.organizer,start_date:this.obj.start_at,start_hour:this.obj.start_hour,end_date:this.obj.end_at,end_hour:this.obj.end_hour,content:this.obj.content,resume:this.obj.resume,tags:this.tags,photo:this.obj.photo})}},methods:{submit:function(){var t,e=this;return(t=y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("member.agendas.update",e.obj.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){b(o,r,i,a,s,"next",t)}function s(t){b(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("member.agendas.destroy",this.obj.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const w=(0,n(51900).Z)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.agendas.show",t.obj.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("zest-dialog-modal",{attrs:{show:t.showResumeModal},on:{close:function(e){t.showResumeModal=!1}},scopedSlots:t._u([{key:"content",fn:function(){return[e("img",{attrs:{src:"/images/agenda/resume.png",alt:""}})]},proxy:!0}])}),t._v(" "),e("zest-dialog-modal",{attrs:{show:t.showDescriptionModal},on:{close:function(e){t.showDescriptionModal=!1}},scopedSlots:t._u([{key:"content",fn:function(){return[e("img",{attrs:{src:"/images/agenda/description.png",alt:""}})]},proxy:!0}])}),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Lieu *",for:"location"}}),t._v(" "),e("form-input",{attrs:{id:"location",type:"text",required:""},model:{value:t.form.location,callback:function(e){t.$set(t.form,"location",e)},expression:"form.location"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Organisateur *",for:"organizer"}}),t._v(" "),e("form-input",{attrs:{id:"organizer",type:"text",required:""},model:{value:t.form.organizer,callback:function(e){t.$set(t.form,"organizer",e)},expression:"form.organizer"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date début *",for:"start_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start_date",required:!0},model:{value:t.form.start_date,callback:function(e){t.$set(t.form,"start_date",e)},expression:"form.start_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"start_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.start_hour,callback:function(e){t.$set(t.form,"start_hour",e)},expression:"form.start_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Date fin *",for:"end_date"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end_date",required:!0},model:{value:t.form.end_date,callback:function(e){t.$set(t.form,"end_date",e)},expression:"form.end_date"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Heure",for:"end_hour"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 19:30"},model:{value:t.form.end_hour,callback:function(e){t.$set(t.form,"end_hour",e)},expression:"form.end_hour"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Résumé",for:"resume"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showResumeModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("form-textarea",{attrs:{id:"resume",rows:"3"},model:{value:t.form.resume,callback:function(e){t.$set(t.form,"resume",e)},expression:"form.resume"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Contenu *",for:"content"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showDescriptionModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("editor",{model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("div",{staticClass:"flex flex-row"},[e("form-label",{attrs:{value:"Tags",for:"tags"}}),t._v(" "),e("div",{staticClass:"ml-2 cursor-pointer",on:{click:function(e){t.showDescriptionModal=!0}}},[e("font-awesome-icon",{staticClass:"text-xl",attrs:{icon:["fas","question-circle"]}})],1)],1),t._v(" "),e("input-tag",{model:{value:t.form.tags,callback:function(e){t.$set(t.form,"tags",e)},expression:"form.tags"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (laisser vide si aucune modification)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])],1)}),[],!1,null,null,null).exports},87553:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(85489),i=n(86257),o=n(69285),a=n(51375);const s={components:{ButtonLink:i.Z,FrontLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z},props:{rows:[Array,Object],agendasValidated:[Array,Object]},data:function(){return{agendas:this.rows,agendasValidated:this.agendasValidated,form:this.$inertia.form({q:this.query})}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto mb-10"},[e("h1",{staticClass:"text-center text-3xl font-bold mt-5 mb-10 uppercase"},[t._v("Vos évènements à l'agenda")]),t._v(" "),e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("dashboard"),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.agendas.create"),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter un événement\n            ")])],1),t._v(" "),t.agendas.total?e("div",{staticClass:"mb-10"},[e("h2",{staticClass:"text-2xl"},[t._v("En attente de validation")]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Lieu\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Organisateur\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Date début\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Date fin\n                                    ")]),t._v(" "),e("th")])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.agendas.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.location)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.organizer)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.start_at?e("span",[t._v(t._s(t._f("moment")(n.start_at,"DD/MM/YYYY"))+" "+t._s(n.start_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.end_at?e("span",[t._v(t._s(t._f("moment")(n.end_at,"DD/MM/YYYY"))+" "+t._s(n.end_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.agendas.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])]),t._v(" "),t.agendas.total>t.agendas.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.agendas.links}})],1):t._e()]):t._e(),t._v(" "),t.agendasValidated.total?e("div",[e("h2",{staticClass:"text-2xl"},[t._v("Mes Évènements")]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Lieu\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Organisateur\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Date début\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase tracking-wider",attrs:{scope:"col"}},[t._v("\n                                        Date fin\n                                    ")]),t._v(" "),e("th")])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.agendasValidated.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.location)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.organizer)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.start_at?e("span",[t._v(t._s(t._f("moment")(n.start_at,"DD/MM/YYYY"))+" "+t._s(n.start_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[n.end_at?e("span",[t._v(t._s(t._f("moment")(n.end_at,"DD/MM/YYYY"))+" "+t._s(n.end_hour))]):t._e()]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.agendas.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("member.agendas.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])]),t._v(" "),t.agendasValidated.total>t.agendasValidated.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.agendasValidated.links}})],1):t._e()]):t._e()])])}),[],!1,null,null,null).exports},86098:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(85489),i=n(86257),o=n(69285),a=n(55854);const s={components:{ButtonLink:i.Z,FrontLayout:r.Z,Pagination:o.Z,Tags:a.Z},props:{obj:Object,tags:Array},data:function(){return{}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.agendas.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.agendas.edit",t.obj.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")])],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.name))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Lieu")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.location))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Organisateur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.organize
2r))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Date début")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.start_at,"DD/MM/YYYY"))+" "+t._s(t.obj.start_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Date fin")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t._f("moment")(t.obj.end_at,"DD/MM/YYYY"))+" "+t._s(t.obj.end_hour))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Résumé")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.obj.resume))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Contenu")]),t._v(" "),e("td",{staticClass:"px-6 py-4 page-content",domProps:{innerHTML:t._s(t.obj.content)}})]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase tracking-wider"},[t._v("Tags")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("ul",t._l(t.tags,(function(n){return e("li",{staticClass:"inline-block m-1"},[e("div",{staticClass:"bg-blue-100 text-blue-600 text-sm py-1 px-2 whitespace-nowrap"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")])])})),0)])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[e("img",{staticClass:"w-full",attrs:{src:t.obj.photo,alt:""}})])])])])}),[],!1,null,null,null).exports},3827:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x});var r=n(85489),i=n(83933),o=n(22593),a=n(98997),s=n(3277),l=n(51442),c=n(53364),u=n(47076),d=n(70853),h=n(86257);const f={props:{shop:[Object,Array],showCategory:{type:Boolean,default:!1},href:{type:String,default:function(){return route("carte.index",this.shop.slug)}}}};var p=n(51900);const m=(0,p.Z)(f,(function(){var t=this,e=t._self._c;return e("inertia-link",{attrs:{href:t.href}},[e("div",{staticClass:"relative"},[t.shop.logo?e("img",{attrs:{src:t.shop.logo,alt:""}}):t.shop.photos[0]?e("img",{attrs:{src:t.shop.photos[0].path,alt:""}}):t._e()]),t._v(" "),e("div",{staticClass:"text-center sm:text-left mt-2"},[e("h2",{staticClass:"font-bold"},[t._v(t._s(t.shop.name))]),t._v(" "),t.shop.city?e("h3",[t._v(t._s(t.shop.city.libelle))]):t._e()])])}),[],!1,null,null,null).exports;var _=n(79424);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function g(){g=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(L([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==v(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,580 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function y(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const b={layout:r.Z,components:{ZestButtonLink:i.Z,ZestToggle:o.Z,ZestInput:a.Z,ZestButton:s.Z,ZestActionMessage:l.Z,HorizontalList:c.Z,CardVideo:u.Z,C
2ardArticle:d.Z,ButtonLink:h.Z,CardShop:m,CardAgenda:_.Z},props:{playlists:Array,popularVideos:Array,videosByTags:Array,savedArticles:Array,popularArticles:Array,articlesByTags:Array,popularShops:Array,savedShops:Array,likedShops:Array,agendas:Array},data:function(){return{videosOpenTab:"populaires",articlesOpenTab:"populaires",shopsOpenTab:"populaires",selected:null,form:this.$inertia.form({title:""})}},methods:{submit:function(){var t=this;this.form.post(this.route("playlists.store"),{preserveScroll:!0,onSuccess:function(){return t.form.reset()}})}},created:function(){var t=this;"geolocation"in navigator&&navigator.geolocation.getCurrentPosition(function(){var e,n=(e=g().mark((function e(n){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post(route("dashboard.gps"),{latitude:n.coords.latitude,longitude:n.coords.longitude});case 2:t.$inertia.replace(route("dashboard"),{only:["popularShops"],preserveScroll:!0});case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}())}};const x=(0,p.Z)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"my-40 px-4"},[e("h1",{staticClass:"text-center text-xl font-bold mb-5"},[t._v("Bienvenue "+t._s(t.$page.props.user.firstname)+" !")]),t._v(" "),"professional"==t.$page.props.user.type?e("p",{staticClass:"text-center"},[t._v("Vous êtes maintenant membre professionnel de la brigade ZEST")]):e("p",{staticClass:"text-center"},[t._v("Vous pouvez maintenant créer vos propres playlists, enregistrer vos recettes favorites et être informé des bons plans gourmands.")]),t._v(" "),"professional"==t.$page.props.user.type?e("div",{staticClass:"mt-5 text-center"},[e("p",{staticClass:"mb-2"},[t._v("Vous avez désormais la possibilité d'ajouter gratuitement :")]),t._v(" "),t._m(0),t._v(" "),e("zest-button-link",{staticClass:"mb-3",attrs:{href:t.route("member.agendas.index")}},[t._v("Vos évènements à l'agenda")]),t._v(" "),e("zest-button-link",{staticClass:"mb-3",attrs:{href:t.route("member.shops.index")}},[t._v("Vos établissements à la carte")])],1):t._e(),t._v(" "),e("div",{staticClass:"mt-10"},[e("hr"),t._v(" "),e("h1",{staticClass:"text-center text-3xl font-bold my-5 uppercase"},[t._v("Vidéos")]),t._v(" "),e("div",[e("div",{staticClass:"flex overflow-hidden overflow-x-auto px-6"},[e("ul",{staticClass:"flex mx-auto whitespace-nowrap"},[e("li",{on:{click:function(e){t.videosOpenTab="populaires"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"populaires"===t.videosOpenTab?"border-black":""},[t._v("\n                                POPULAIRES "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.popularVideos.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.videosOpenTab="me"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0 cursor-pointer",class:"me"===t.videosOpenTab?"border-black":""},[t._v("\n                                POUR MOI "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.videosByTags.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.videosOpenTab="playlists"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"playlists"===t.videosOpenTab?"border-black":""},[t._v("\n                                PLAYLISTS "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.playlists.length)+")")])])])])]),t._v(" "),e("div",{staticClass:"w-full pt-5"},["populaires"===t.videosOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Une sélection des vidéos les plus populaires de la Webtv. Vous allez en prendre plein des yeux !")]),t._v(" "),e("horizontal-list",{attrs:{items:t.popularVideos},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n}})]}}],null,!1,3533656092)})],1):t._e(),t._v(" "),"me"===t.videosOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("\n                            Dîtes-nous en plus sur les vidéos que vous aimez en cliquant sur ("),e("font-awesome-icon",{attrs:{icon:["far","heart"]}}),t._v("), nous vous suggérons ensuite des vidéos similaires.\n                        ")],1),t._v(" "),e("horizontal-list",{attrs:{items:t.videosByTags},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n}})]}}],null,!1,3533656092)})],1):t._e(),t._v(" "),"playlists"===t.videosOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Regroupez vos vidéos préférées dans des playlists personnalisées (+) selon vos goûts et vos envies.")]),t._v(" "),e("form",{staticClass:"max-w-md mx-auto",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("h2",{staticClass:"uppercase font-bold mb-2"},[t._v("Créer une nouvelle playlist")]),t._v(" "),e("zest-input",{staticClass:"block w-full",attrs:{id:"title",type:"text",placeholder:"Entrer le titre de la playlist ici",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}}),t._v(" "),e("zest-button",{staticClass:"mt-3 w-full mb-5",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                                Ajouter\n                            ")]),t._v(" "),e("zest-action-message",{staticClass:"mb-5 text-center",attrs:{on:t.form.recentlySuccessful}},[t._v("\n                                Enregistré.\n                            ")])],1),t._v(" "),e("div",t._l(t.playlists,(function(n){return e("div",{key:n.id,staticClass:"mb-5"},[e("div",{staticClass:"flex items-center align-center justify-center"},[e("h3",{staticClass:"font-bold mr-5"},[t._v(t._s(n.title)+" - "+t._s(n.videos_count+" "+(n.videos_count>1?"vidéos":"vidéo")))]),t._v(" "),e("div",{staticClass:"flex items-center"},[e("inertia-link",{staticClass:"mr-3",attrs:{href:t.route("playlists.edit",n.id)}},[e("font-awesome-icon",{attrs:{icon:["fas","edit"]}})],1),t._v(" "),e("inertia-link",{staticClass:"inline-flex items-center justify-center text-red-600 focus:outline-none",attrs:{as:"button",method:"DELETE",href:t.route("playlists.destroy",n.id),onclick:"return confirm('Êtes-vous sûr de vouloir supprimer la playlist ?')","preserve-scroll":""}},[e("font-awesome-icon",{attrs:{icon:["fas","trash"]}})],1)],1)]),t._v(" "),e("div",[e("horizontal-list",{attrs:{items:n.videos},scopedSlots:t._u([{key:"default",fn:function(r){var i=r.item;return[e("card-video",{attrs:{video:i,"show-category":!0,href:t.route("playlists.show",{playlist:n.id,video:i.id})}})]}}],null,!0)})],1)])})),0)]):t._e()])])]),t._v(" "),e("div",{staticClass:"mt-10"},[e("hr"),t._v(" "),e("h1",{staticClass:"text-center text-3xl font-bold my-5 uppercase"},[t._v("Articles")]),t._v(" "),e("div",[e("div",{staticClass:"flex overflow-hidden overflow-x-auto px-6"},[e("ul",{staticClass:"flex mx-auto whitespace-nowrap"},[e("li",{on:{click:function(e){t.articlesOpenTab="populaires"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"populaires"===t.articlesOpenTab?"border-black":""},[t._v("\n                                POPULAIRES "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.popularArticles.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.articlesOpenTab="me"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0 cursor-pointer",class:"me"===t.articlesOpenTab?"border-black":""},[t._v("\n                                POUR MOI "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.articlesByTags.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.articlesOpenTab="saved"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"saved"===t.articlesOpenTab?"border-black":""},[t._v("\n                                ENREGISTRÉS "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.savedArticles.length)+")")])])])])]),t._v(" "),e("div",{staticClass:"w-full pt-5"},["populaires"===t.articlesOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Une sélection des articles les plus populaires du Webzine. Bonne lecture gourmande !")]),t._v(" "),e("horizontal-list",{attrs:{items:t.popularArticles},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)})],1):t._e(),t._v(" "),"me"===t.articlesOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Dîtes-nous les articles que vous aimez en cliquant sur ("),e("font-awesome-icon",{attrs:{icon:["far","heart"]}}),t._v("), nous vous suggérons ensuite des articles similaires.")],1),t._v(" "),e("horizontal-list",{attrs:{items:t.articlesByTags},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)})],1):t._e(),t._v(" "),"saved"===t.articlesOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Retrouvez ici vos articles enregistrés (+) selon vos goûts et vos envies.")]),t._v(" "),e("horizontal-list",{attrs:{items:t.savedArticles},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)}),t._v(" "),e("div",{staticClass:"text-center mt-10"},[e("zest-button-link",{attrs:{href:t.route("article.index")}},[t._v("\n                                Retour à la page webzine\n                            ")])],1)],1):t._e()])])]),t._v(" "),t.agendas.length>0?e("div",{staticClass:"mt-10"},[e("hr"),t._v(" "),e("h1",{staticClass:"text-center text-3xl font-bold mt-5 uppercase"},[t._v("AGENDA")]),t._v(" "),e("div",{staticClass:"w-full pt-5"},[e("horizontal-list",{attrs:{items:t.agendas},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-agenda",{attrs:{agenda:n}})]}}],null,!1,3186324156)})],1)]):t._e(),t._v(" "),e("div",{staticClass:"mt-10"},[e("hr"),t._v(" "),e("h1",{staticClass:"text-center text-3xl font-bold my-5 uppercase"},[t._v("À LA CARTE")]),t._v(" "),e("div",[e("div",{staticClass:"flex overflow-hidden overflow-x-auto px-6"},[e("ul",{staticClass:"flex mx-auto whitespace-nowrap"},[e("li",{on:{click:function(e){t.shopsOpenTab="populaires"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"populaires"===t.shopsOpenTab?"border-black":""},[t._v("\n                                POPULAIRES "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.popularShops.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.shopsOpenTab="me"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0 cursor-pointer",class:"me"===t.shopsOpenTab?"border-black":""},[t._v("\n                                MES PRÉFÉRÉS "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.likedShops.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.shopsOpenTab="saved"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"saved"===t.shopsOpenTab?"border-black":""},[t._v("\n                                À VISITER "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.savedShops.length)+")")])])])])]),t._v(" "),e("div",{staticClass:"w-full pt-5"},["populaires"===t.shopsOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Une sélection des établissements les plus populaires autour de vous")]),t._v(" "),e("horizontal-list",{attrs:{items:t.popularShops},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;
2return[e("card-shop",{attrs:{shop:n}})]}}],null,!1,4059491516)})],1):t._e(),t._v(" "),"me"===t.shopsOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Retrouvez ici vous établissements préféres ("),e("font-awesome-icon",{attrs:{icon:["far","heart"]}}),t._v(")")],1),t._v(" "),e("horizontal-list",{attrs:{items:t.likedShops},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-shop",{attrs:{shop:n}})]}}],null,!1,4059491516)})],1):t._e(),t._v(" "),"saved"===t.shopsOpenTab?e("div",[e("p",{staticClass:"mb-5 text-center"},[t._v("Retrouvez ici vos établissements enregistrés (+)")]),t._v(" "),e("horizontal-list",{attrs:{items:t.savedShops},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-shop",{attrs:{shop:n}})]}}],null,!1,4059491516)}),t._v(" "),e("div",{staticClass:"text-center mt-10"},[e("zest-button-link",{attrs:{href:t.route("article.index")}},[t._v("\n                                Retour à la page à la carte\n                            ")])],1)],1):t._e()])])])])])}),[function(){var t=this,e=t._self._c;return e("ul",{staticClass:"mb-7"},[e("li",[t._v("Vos évènements culinaires à l'Agenda")]),t._v(" "),e("li",[t._v("Vos établissements gourmands À la carte")])])}],!1,null,null,null).exports},80665:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>m});const r={components:{JetSectionTitle:n(31040).Z}};var i=n(51900);const o=(0,i.Z)(r,(function(){var t=this,e=t._self._c;return e("div",{},[e("jet-section-title",{scopedSlots:t._u([{key:"title",fn:function(){return[t._t("title")]},proxy:!0},{key:"description",fn:function(){return[t._t("description")]},proxy:!0}],null,!0)}),t._v(" "),e("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[e("div",{staticClass:"px-4 py-5 sm:p-6 bg-white"},[t._t("content")],2)])],1)}),[],!1,null,null,null).exports;const a={props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.closeable&&this.$emit("close")}},watch:{show:{immediate:!0,handler:function(t){document.body.style.overflow=t?"hidden":null}}},created:function(){var t=this,e=function(e){"Escape"===e.key&&t.show&&t.close()};document.addEventListener("keydown",e),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)}))},computed:{maxWidthClass:function(){return{sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[this.maxWidth]}}};const s={components:{Modal:(0,i.Z)(a,(function(){var t=this,e=t._self._c;return e("portal",{attrs:{to:"modal"}},[e("transition",{attrs:{"leave-active-class":"duration-200"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 z-50"},[e("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 transform transition-all",on:{click:t.close}},[e("div",{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),t._v(" "),e("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mb-6 bg-white rounded-lg overflow-hidden shadow-xl transform transition-all sm:w-full sm:mx-auto",class:t.maxWidthClass},[t._t("default")],2)])],1)])],1)}),[],!1,null,null,null).exports},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};const l=(0,i.Z)(s,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{show:t.show,"max-width":t.maxWidth,closeable:t.closeable},on:{close:t.close}},[e("div",{staticClass:"px-6 py-4"},[e("div",{staticClass:"text-lg"},[t._t("title")],2),t._v(" "),e("div",{staticClass:"mt-4"}
2,[t._t("content")],2)]),t._v(" "),e("div",{staticClass:"px-6 py-4 bg-gray-100 text-right"},[t._t("footer")],2)])}),[],!1,null,null,null).exports;const c={props:{type:{type:String,default:"button"}}};const u=(0,i.Z)(c,(function(){var t=this;return(0,t._self._c)("button",{staticClass:"inline-flex items-center justify-center px-4 py-2 bg-red-600 border border-transparent font-semibold text-xs text-white uppercase tracking-widest hover:bg-red-500 focus:outline-none focus:border-red-700 focus:shadow-outline-red active:bg-red-600 transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports;const d={props:["message"]};const h=(0,i.Z)(d,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}]},[e("p",{staticClass:"text-sm text-red-600"},[t._v("\n        "+t._s(t.message)+"\n    ")])])}),[],!1,null,null,null).exports;const f={props:{type:{type:String,default:"button"}}};const p={components:{JetActionSection:o,JetDangerButton:u,JetDialogModal:l,JetInputError:h,JetSecondaryButton:(0,i.Z)(f,(function(){var t=this;return(0,t._self._c)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-white border border-gray-300 font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports,ZestInput:n(98997).Z},data:function(){return{confirmingUserDeletion:!1,form:this.$inertia.form({password:""})}},methods:{confirmUserDeletion:function(){var t=this;this.confirmingUserDeletion=!0,setTimeout((function(){return t.$refs.password.focus()}),250)},deleteUser:function(){var t=this;this.form.delete(route("current-user.destroy"),{preserveScroll:!0,onSuccess:function(){return t.closeModal()},onError:function(){return t.$refs.password.focus()},onFinish:function(){return t.form.reset()}})},closeModal:function(){this.confirmingUserDeletion=!1,this.form.reset()}}};const m=(0,i.Z)(p,(function(){var t=this,e=t._self._c;return e("jet-action-section",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        Supprimer le compte\n    ")]},proxy:!0},{key:"description",fn:function(){return[t._v("\n        Supprimez définitivement votre compte.\n    ")]},proxy:!0},{key:"content",fn:function(){return[e("div",{staticClass:"max-w-xl text-sm text-center text-gray-600"},[t._v("\n            Une fois votre compte supprimé, toutes ses ressources et données seront définitivement supprimées. ")]),t._v(" "),e("div",{staticClass:"mt-5 text-center"},[e("jet-danger-button",{nativeOn:{click:function(e){return t.confirmUserDeletion.apply(null,arguments)}}},[t._v("\n                Supprimer le compte\n            ")])],1),t._v(" "),e("jet-dialog-modal",{attrs:{show:t.confirmingUserDeletion},on:{close:t.closeModal},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n                Supprimer le compte\n            ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n                Voulez-vous vraiment supprimer votre compte? Une fois votre compte supprimé, toutes ses ressources et données seront définitivement supprimées. Veuillez saisir votre mot de passe pour confirmer que vous souhaitez supprimer définitivement votre compte.\n\n                "),e("div",{staticClass:"mt-4"},[e("zest-input",{ref:"password",staticClass:"mt-1 block w-3/4",attrs:{type:"password",placeholder:"Mot de passe"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.deleteUser.apply(null,arguments)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),e("jet-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password}})],1)]},proxy:!0},{key:"footer",fn:function(){return[e("jet-secondary-button",{nativeOn:{click:function(e){return t.closeModal.apply(null,arguments)}}},[t._v("\n                    Annuler\n                ")]),t._v(" "),e("jet-danger-button",{staticClass:"ml-2",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing},nativeOn:{click:function(e){return t.deleteUser.apply(null,arguments)}}},[t._v("\n                    Supprimer le compte\n                ")])]},proxy:!0}])})]},proxy:!0}])})}),[],!1,null,null,null).exports},65107:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(80665),i=n(51900);const o=(0,i.Z)({},(function(){this._self._c;return this._m(0)}),[function(){var t=this._self._c;return t("div",[t("div",{staticClass:"py-8"},[t("div",{staticClass:"border-t border-gray-200"})])])}],!1,null,null,null).exports;var a=n(16175),s=n(96891),l=n(85489),c=n(83933),u=n(15570),d=n(3277);const h={layout:l.Z,props:["sessions"],components:{DeleteUserForm:r.default,JetSectionBorder:o,UpdatePasswordForm:a.default,UpdateProfileInformationForm:s.default,ZestButtonLink:c.Z,FormButton:u.Z,ZestButton:d.Z},methods:{pro:function(){this.$inertia.visit(route("member.pro"),{method:"put",onBefore:function(){return confirm("Voulez-vous réellement passer en compte pro ?")}})}}};const f=(0,i.Z)(h,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"flex flex-col items-center"},[e("div",{staticClass:"w-full sm:max-w-xl px-6 py-4"},[t._m(0),t._v(" "),e("div",{staticClass:"mt-5 text-center"}
2,["professional"==t.$page.props.user.type?e("div",[t._e()]):e("zest-button",{nativeOn:{click:function(e){return t.pro.apply(null,arguments)}}},[t._v("\n                    Basculer en compte pro\n                ")])],1),t._v(" "),t.$page.props.jetstream.canUpdateProfileInformation?e("div",[e("update-profile-information-form",{attrs:{user:t.$page.props.user,categories:t.$page.props.categories,"user-categories":t.$page.props.userCategories}}),t._v(" "),e("jet-section-border")],1):t._e(),t._v(" "),t.$page.props.jetstream.canUpdatePassword?e("div",[e("update-password-form",{staticClass:"mt-10 sm:mt-0"}),t._v(" "),e("jet-section-border")],1):t._e(),t._v(" "),t.$page.props.jetstream.hasAccountDeletionFeatures?[e("delete-user-form",{staticClass:"mt-10 sm:mt-0"})]:t._e()],2)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"px-4 sm:px-0"},[e("h3",{staticClass:"text-2xl uppercase font-medium text-gray-900"},[t._v("\n                        MES INFORMATIONS\n                    ")]),t._v(" "),e("p",{staticClass:"mt-1 text-lg text-gray-600"},[t._v("\n                        Mettez à jour les informations de profil et l'adresse e-mail de votre compte.\n                    ")])])])}],!1,null,null,null).exports},16175:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(51442),i=n(11137),o=n(85457),a=n(82202),s=n(98997),l=n(3277);const c={components:{ZestActionMessage:r.Z,JetFormSection:i.Z,ZestInputError:o.Z,ZestLabel:a.Z,ZestInput:s.Z,ZestButton:l.Z},data:function(){return{form:this.$inertia.form({current_password:"",password:"",password_confirmation:""})}},methods:{updatePassword:function(){var t=this;this.form.put(route("user-password.update"),{errorBag:"updatePassword",preserveScroll:!0,onSuccess:function(){return t.form.reset()},onError:function(){t.form.errors.password&&(t.form.reset("password","password_confirmation"),t.$refs.password.focus()),t.form.errors.current_password&&(t.form.reset("current_password"),t.$refs.current_password.focus())}})}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("jet-form-section",{on:{submitted:t.updatePassword},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        Mettre à jour le mot de passe\n    ")]},proxy:!0},{key:"description",fn:function(){return[t._v("\n        Assurez-vous que votre compte utilise un mot de passe long et aléatoire pour rester sécurisé.\n    ")]},proxy:!0},{key:"form",fn:function(){return[e("div",[e("zest-label",{attrs:{for:"current_password",value:"Mot de passe actuel"}}),t._v(" "),e("zest-input",{ref:"current_password",staticClass:"mt-1 block w-full",attrs:{id:"current_password",type:"password",autocomplete:"current-password"},model:{value:t.form.current_password,callback:function(e){t.$set(t.form,"current_password",e)},expression:"form.current_password"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.current_password}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"password",value:"Nouveau mot de passe"}}),t._v(" "),e("zest-input",{ref:"password",staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",autocomplete:"new-password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"password_confirmation",value:"Confirmez le mot de passe"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"password_confirmation",type:"password",autocomplete:"new-password"},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password_confirmation}})],1)]},proxy:!0},{key:"actions",fn:function(){return[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            Enregistrer\n        ")]),t._v(" "),e("zest-action-message",{staticClass:"mt-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            Enregistré.\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},96891:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(11137),i=n(85457),o=n(51442),a=n(82202),s=n(37699),l=n(22593),c=n(98997),u=n(3277),d=n(88587),h=n(90422);const f={components:{ZestActionMessage:o.Z,JetFormSection:r.Z,ZestInputError:i.Z,ZestLabel:a.Z,ZestCheckbox:s.Z,ZestToggle:l.Z,ZestInput:c.Z,ZestButton:u.Z,FormLabel:d.Z,FormCheckbox:h.Z},props:{user:Object,categories:Array,userCategories:Array},data:function(){return{form:this.$inertia.form({_method:"PUT",categories:this.userCategories,lastname:this.user.lastname,firstname:this.user.firstname,email:this.user.email,phone:this.user.phone,job:this.user.job,newsletter:this.user.newsletter,photo:null}),photoPreview:null}},methods:{updateProfileInformation:function(){this.$refs.photo&&(this.form.photo=this.$refs.photo.files[0]),this.form.post(route("user-profile-information.update"),{errorBag:"updateProfileInformation",preserveScroll:!0})}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("jet-form-section",{on:{submitted:t.updateProfileInformation},scopedSlots:t._u([{key:"form",fn:function(){return["professional"==t.$page.props.user.type?e("div",[e("zest-label",{attrs:{value:"Catégories",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2):t._e(),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"email",value:"Email"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.email}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"lastname",value:"Nom"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"lastname",type:"text",autocomplete:"lastname"},model:{value:t.form.lastname,callback:function(e){t.$set(t.form,"lastname",e)},expression:"form.lastname"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.lastname}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"firstname",value:"Prénom"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"firstname",type:"text",autocomplete:"firstname"},model:{value:t.form.firstname,callback:function(e){t.$set(t.form,"firstname",e)},expression:"form.firstname"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.firstname}})],1),t._v(" "),e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"phone",value:"Téléphone"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.phone}})],1),t._v(" "),"professional"==t.$page.props.user.type?e("div",{staticClass:"mt-4"},[e("zest-label",{attrs:{for:"job",value:"Fonction au sein de l'établissement"}}),t._v(" "),e("zest-input",{staticClass:"mt-1 block w-full",attrs:{id:"job",type:"text"},model:{value:t.form.job,callback:function(e){t.$set(t.form,"job",e)},expression:"form.job"}}),t._v(" "),e("zest-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.job}})],1):t._e(),t._v(" "),e("div",{staticClass:"mt-4"},[e("label",[e("div",{staticClass:"flex items-center"},[e("zest-toggle",{attrs:{name:"newsletter"},model:{value:t.form.newsletter,callback:function(e){t.$set(t.form,"newsletter",e)},expression:"form.newsletter"}}),t._v(" "),e("div",{staticClass:"ml-2 text-sm w-full"},[t._v("\n                        Recevoir la Newsletter Le Bon Zest\n                    ")])],1)])])]},proxy:!0},{key:"actions",fn:function(){return[e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            Enregistrer\n        ")]),t._v(" "),e("zest-action-message",{staticClass:"mt-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            Enregistré.\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},60474:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(85489),i=n(86257),o=n(88587),a=n(15570),s=n(12771),l=n(60642),c=n(86793);const u={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormInput:c.Z,FormButton:a.Z,ZestValidationErrors:s.Z,Cropper:l.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,name:"",file:null})}},methods:{submit:function(){this.$refs.file&&(this.form.file=this.$refs.file.files[0]),this.form.post(this.route("member.shop-attachments.store"))}}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-photos.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}
2)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fichier (10mo max)",for:"file"}}),t._v(" "),e("input",{ref:"file",attrs:{id:"file",type:"file",required:""}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},40676:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(85489),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,FrontLayout:r.Z,FormButton:o.Z},props:{attachments:[Array,Object],shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("member.shop-attachments.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),t.attachments.length<4?e("button-link",{attrs:{href:t.route("member.shop-attachments.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")]):t._e()],1),t._v(" "),t.attachments.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Nom\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.attachments,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-link",{attrs:{as:"target_blank",href:n.path,icon:["fas","search"],"button-style":"success"}},[t._v("\n                                            Voir\n                                        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                                            Supprimer\n                                        ")])],1)])})),0)])])])])]):t._e()])])}),[],!1,null,null,null).exports},62839:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(76984),c=n(12771),u=n(16990);const d={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Datepicker:u.Z,InputTag:l.Z,ZestValidationErrors:c.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,start:"",end:""})}},methods:{submit:function(){this.form.post(this.route("member.shop-closing-dates.store"))}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-closing-dates.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Début *",for:"start"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start",required:!0},model:{value:t.form.start,callback:function(e){t.$set(t.form,"start",e)},expression:"form.start"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fin *",for:"end"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end",required:!0},model:{value:t.form.end,callback:function(e){t.$set(t.form,"end",e)},expression:"form.end"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},883:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(76984),c=n(12771),u=n(16990);const d={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,Datepicker:u.Z,InputTag:l.Z,ZestValidationErrors:c.Z},props:{closingDate:Object},data:function(){return{form:this.$inertia.form({start:this.closingDate.start,end:this.closingDate.end})}},methods:{submit:function(){this.form.put(this.route("member.shop-closing-dates.update",this.closingDate))},destroy:function(){this.$inertia.delete(route("member.shop-closing-dates.destroy",this.closingDate.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-closing-dates.index",t.closingDate.shop_id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Début *",for:"start"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"start",required:!0},model:{value:t.form.start,callback:function(e){t.$set(t.form,"start",e)},expression:"form.start"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Fin *",for:"end"}}),t._v(" "),e("datepicker",{attrs:{inline:!1,id:"end",required:!0},model:{value:t.form.end,callback:function(e){t.$set(t.form,"end",e)},expression:"form.end"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},79087:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(85489),i=n(15570),o=n(86257),a=n(51375);const s={components:{ButtonLink:o.Z,FrontLayout:r.Z,FormButton:i.Z,ButtonIconLink:a.Z},props:{closingDates:[Array,Object],shop:Object},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-closing-dates.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),t.closingDates.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Début\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Fin\n                                ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.closingDates,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(t._f("moment")(n.start,"DD/MM/YYYY"))+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                    "+t._s(t._f("moment")(n.end,"DD/MM/YYYY"))+"\n                                ")]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.shop-closing-dates.edit",n.id),icon:["fas","pencil-alt"]}})],1)])})),0)])])])])]):t._e()])])}),[],!1,null,null,null).exports},63180:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>k});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642),v=n(6158),g=n(57204);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function b(){b=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};
vendor: 4,971 bytes, line 2
2l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==y(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function x(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const w={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z,MglMap:g.Q3,MglNavigationControl:g.RV,MglAttributionControl:g.tQ,MglMarker:g.xM},props:{categories:[Array,Object],types:Array,cities:Array},data:function(){return{hasSubscription:!0,accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:9.5,center:new v.LngLat(55.548,-21.106),coordinates:[55.548,-21.106],form:this.$inertia.form({categories:[],name:"",types:[],type:"",phone:"",address:"",city_id:"",latitude:-21.106,longitude:55.548,description:"",average_price:"",website_url:"",facebook:"",instagram:"",logo:"",sale_on_site:!1,sale_online:!1,visit:!1,takeaway:!1,delivery_under_conditions:!1,privatizable:!1,terrace:!1,smoking:!1,pmr_access:!1,caterer_under_conditions:!1,tasting_under_conditions:!1})}},methods:{dragend:function(t){var e=t.marker.getLngLat();this.coordinates=[e.lng,e.lat],this.form.longitude=e.lng,this.form.latitude=e.lat},submit:function(){var t,e=this;return(t=b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("member.shops.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){x(o,r,i,a,s,"next",t)}function s(t){x(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const k=(0,n(51900).Z)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégories *",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2),t._v(" "),e("div",[e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),t.form.categories.length>1||1==t.form.categories.length&&!t.form.categories.includes(71)&&1==t.form.categories.length&&!t.form.categories.includes(75)?e("div",{staticClass:"mb-3"},[t.form.categories.includes(69)?e("form-label",{attrs:{value:"Type de cuisine",for:"type"}}):t.form.categories.includes(72)?e("form-label",{attrs:{value:"Produits péi",for:"type"}}):t.form.categories.includes(73)?e("form-label",{attrs:{value:"Type de caves",for:"type"}}):e("form-label",{attrs:{value:"Type d'établissement",for:"type"}}),t._v(" "),t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[t.form.categories.includes(n.parent_id)?e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.types,callback:function(e){t.$set(t.form,"types",e)},expression:"form.types"}}):t._e()],1)})),t._v(" "),t.form.categories.includes(69)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:"Autre : Précisez"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t.form.categories.includes(72)||t.form.categories.includes(76)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Téléphone",for:"phone"}}),t._v(" "),e("form-input",{attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Adresse *",for:"address"}}),t._v(" "),e("form-input",{attrs:{id:"address",type:"text",required:""},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville *",for:"city_id"}}),t._v(" "),e("form-select",{attrs:{id:"city_id"},model:{value:t.form.city_id,callback:function(e){t.$set(t.form,"city_id",e)},expression:"form.city_id"}},t._l(t.cities,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                                "+t._s(n.libelle)+" ("+t._s(n.postal_code)+")\n                            ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-textarea",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"description",maxlength:"621"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}}),t._v(" "),!t.hasSubscription&&t.form.description.length?e("p",{staticClass:"text-red-600 text-sm mt-2"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),t.form.categories.includes(69)?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prix moyen (en €)",for:"average_price"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"average_price",type:"number",min:"0"},model:{value:t.form.average_price,callback:function(e){t.$set(t.form,"average_price",e)},expression:"form.average_price"}}),t._v(" "),!t.hasSubscription&&t.form.average_price.length?e("p",{staticClass:"text-red-600 text-sm mt-2"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL site web",for:"website_url"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"website_url",type:"text"},model:{value:t.form.website_url,callback:function(e){t.$set(t.form,"website_url",e)},expression:"form.website_url"}}),t._v(" "),!t.hasSubscription&&t.form.website_url.length?e("p",{staticClass:"text-red-600 text-sm mt-2"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page facebook",for:"facebook"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"facebook",type:"text"},model:{value:t.form.facebook,callback:function(e){t.$set(t.form,"facebook",e)},expression:"form.facebook"}}),t._v(" "),!t.hasSubscription&&t.form.facebook.length?e("p",{staticClass:"text-red-600 text-sm mt-2"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page instagram",for:"instagram"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"instagram",type:"text"},model:{value:t.form.instagram,callback:function(e){t.$set(t.form,"instagram",e)},expression:"form.instagram"}}),t._v(" "),!t.hasSubscription&&t.form.instagram.length?e("p",{staticClass:"text-red-600 text-sm mt-2"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Logo (format 200x200, 10mo max) *",for:"logo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{aspectRatioValue:1},model:{value:t.form.logo,callback:function(e){t.$set(t.form,"logo",e)},expression:"form.logo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_on_site",label:"Vente sur place"},model:{value:t.form.sale_on_site,callback:function(e){t.$set(t.form,"sale_on_site",e)},expression:"form.sale_on_site"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"takeaway",label:"Vente à emporter"},model:{value:t.form.takeaway,callback:function(e){t.$set(t.form,"takeaway",e)},expression:"form.takeaway"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_online",label:"Vente en ligne"},model:{value:t.form.sale_online,callback:function(e){t.$set(t.form,"sale_online",e)},expression:"form.sale_online"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"visit",label:"Visite"},model:{value:t.form.visit,callback:function(e){t.$set(t.form,"visit",e)},expression:"form.visit"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"delivery_under_conditions",label:"Livraison sous conditions"},model:{value:t.form.delivery_under_conditions,callback:function(e){t.$set(t.form,"delivery_under_conditions",e)},expression:"form.delivery_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"privatizable",label:"Privatisable sous conditions"},model:{value:t.form.privatizable,callback:function(e){t.$set(t.form,"privatizable",e)},expression:"form.privatizable"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"terrace",label:"Terrasse"},model:{value:t.form.terrace,callback:function(e){t.$set(t.form,"terrace",e)},expression:"form.terrace"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"smoking",label:"Fumeur"},model:{value:t.form.smoking,callback:function(e){t.$set(t.form,"smoking",e)},expression:"form.smoking"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"pmr_access",label:"Accès PMR"},model:{value:t.form.pmr_access,callback:function(e){t.$set(t.form,"pmr_access",e)},expression:"form.pmr_access"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"caterer_under_conditions",label:"Traiteur sous condition"},model:{value:t.form.caterer_under_conditions,callback:function(e){t.$set(t.form,"caterer_under_conditions",e)},expression:"form.caterer_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"tasting_under_conditions",label:"Dégustation sous condition"},model:{value:t.form.tasting_under_conditions,callback:function(e){t.$set(t.form,"tasting_under_conditions",e)},expression:"form.tasting_under_conditions"}})],1)])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 md:px-5"},[e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}}
2,[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black",draggable:!0},on:{dragend:t.dragend}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Latitude *",for:"latitude"}}),t._v(" "),e("form-input",{attrs:{id:"latitude",type:"text",required:""},model:{value:t.form.latitude,callback:function(e){t.$set(t.form,"latitude",e)},expression:"form.latitude"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Longitude *",for:"longitude"}}),t._v(" "),e("form-input",{attrs:{id:"longitude",type:"text",required:""},model:{value:t.form.longitude,callback:function(e){t.$set(t.form,"longitude",e)},expression:"form.longitude"}})],1)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-blue-100 text-blue-600 mb-3 text-sm py-2 px-3 text-center"},[t._v("\n                    Déplacez le marqueur ci-dessus pour positionner votre établissement ou utiliser le site "),e("a",{attrs:{href:"https://www.torop.net/coordonnees-gps.php",target:"_blank"}},[t._v("www.torop.net/coordonnees-gps.php")]),t._v(" pour récuperer les coordoonnées GPS.\n                ")])}],!1,null,null,null).exports},52403:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>k});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(42872),m=n(12771),_=n(60642),v=n(6158),g=n(57204);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function b(){b=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(L([])));v&&v!==e&&n.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==y(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 6,489 bytes, line 2
2(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function x(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const w={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,Dropzone:p.Z,ZestValidationErrors:m.Z,Cropper:_.Z,MglMap:g.Q3,MglNavigationControl:g.RV,MglAttributionControl:g.tQ,MglMarker:g.xM},props:{categories:[Array,Object],types:Array,shop:Object,shopCategories:Array,shopTypes:Array,cities:Array},data:function(){return{hasSubscription:!0,accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:12,center:new v.LngLat(this.shop.longitude,this.shop.latitude),coordinates:[this.shop.longitude,this.shop.latitude],form:this.$inertia.form({categories:this.shopCategories,name:this.shop.name,types:this.shopTypes,type:this.shop.type,phone:this.shop.phone,address:this.shop.address,city_id:this.shop.city_id,latitude:this.shop.latitude,longitude:this.shop.longitude,description:this.shop.description,average_price:this.shop.average_price,website_url:this.shop.website_url,facebook:this.shop.facebook,instagram:this.shop.instagram,logo:"",sale_on_site:this.shop.sale_on_site,takeaway:this.shop.takeaway,sale_online:this.shop.sale_online,visit:this.shop.visit,delivery_under_conditions:this.shop.delivery_under_conditions,privatizable:this.shop.privatizable,terrace:this.shop.terrace,smoking:this.shop.smoking,pmr_access:this.shop.pmr_access,caterer_under_conditions:this.shop.caterer_under_conditions,tasting_under_conditions:this.shop.tasting_under_conditions})}},methods:{dragend:function(t){var e=t.marker.getLngLat();this.coordinates=[e.lng,e.lat],this.form.longitude=e.lng,this.form.latitude=e.lat},submit:function(){var t,e=this;return(t=b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.put(e.route("member.shops.update",e.shop.id));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){x(o,r,i,a,s,"next",t)}function s(t){x(o,r,i,a,s,"throw",t)}a(void 0)}))})()},destroy:function(){this.$inertia.delete(route("member.shops.destroy",this.shop.id),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})},unassociate:function(){this.$inertia.visit(route("member.shops.unassociate",this.shop.id),{method:"put",onBefore:function(){return confirm("Voulez-vous réellement désassocier cet établissement ? Cette action est irreversible.")}})}}};const k=(0,n(51900).Z)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.show",t.shop),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")]),t._v(" "),e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy.apply(null,arguments)}}},[t._v("\n            Supprimer\n        ")]),t._v(" "),"validated"==t.shop.status||null==t.shop.status?e("form-button",{attrs:{type:"button","button-style":"warning",icon:["fas","times"]},nativeOn:{click:function(e){return t.unassociate.apply(null,arguments)}}},[t._v("\n            Désassocier l'établissement à mon compte\n        ")]):t._e()],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Catégories *",for:"categories"}}),t._v(" "),t._l(t.categories,(function(n){return e("div",{attrs:{value:n.id}},[e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.categories,callback:function(e){t.$set(t.form,"categories",e)},expression:"form.categories"}})],1)}))],2),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Nom *",for:"name"}}),t._v(" "),e("form-input",{attrs:{id:"name",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),t.form.categories.length>1||1==t.form.categories.length&&!t.form.categories.includes(71)&&1==t.form.categories.length&&!t.form.categories.includes(75)?e("div",{staticClass:"mb-3"},[t.form.categories.includes(69)?e("form-label",{attrs:{value:"Type de cuisine",for:"type"}}):t.form.categories.includes(72)?e("form-label",{attrs:{value:"Produits péi",for:"type"}}):t.form.categories.includes(73)?e("form-label",{attrs:{value:"Type de caves",for:"type"}}):e("form-label",{attrs:{value:"Type d'établissement",for:"type"}}),t._v(" "),t._l(t.types,(function(n){return e("div",{attrs:{value:n.id}},[t.form.categories.includes(n.parent_id)?e("form-checkbox",{attrs:{label:n.name,value:n.id},model:{value:t.form.types,callback:function(e){t.$set(t.form,"types",e)},expression:"form.types"}}):t._e()],1)})),t._v(" "),t.form.categories.includes(69)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:"Autre : Précisez"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t.form.categories.includes(72)||t.form.categories.includes(76)?e("form-input",{staticClass:"mt-2",attrs:{id:"type",type:"text",placeholder:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}}):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Téléphone",for:"phone"}}),t._v(" "),e("form-input",{attrs:{id:"phone",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Adresse *",for:"address"}}),t._v(" "),e("form-input",{attrs:{id:"address",type:"text",required:""},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Ville *",for:"city_id"}}),t._v(" "),e("form-select",{attrs:{id:"city_id"},model:{value:t.form.city_id,callback:function(e){t.$set(t.form,"city_id",e)},expression:"form.city_id"}},t._l(t.cities,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.libelle)+" ("+t._s(n.postal_code)+")\n                    ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Description",for:"description"}}),t._v(" "),e("form-textarea",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"description",maxlength:"621"},model:{value:t.form.description,callback:function(e){t.$set(t.form,"description",e)},expression:"form.description"}}),t._v(" "),!t.hasSubscription&&t.form.description&&t.form.description.length?e("p",{staticClass:"text-red-600 text-sm"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),t.form.categories.includes(69)?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Prix moyen (en €)",for:"average_price"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"average_price",type:"number",min:"0"},model:{value:t.form.average_price,callback:function(e){t.$set(t.form,"average_price",e)},expression:"form.average_price"}}),t._v(" "),!t.hasSubscription&&t.form.average_price&&t.form.average_price.length?e("p",{staticClass:"text-red-600 text-sm"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1):t._e(),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL site web",for:"website_url"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"website_url",type:"text"},model:{value:t.form.website_url,callback:function(e){t.$set(t.form,"website_url",e)},expression:"form.website_url"}}),t._v(" "),!t.hasSubscription&&t.form.website_url&&t.form.website_url.length?e("p",{staticClass:"text-red-600 text-sm"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page facebook",for:"facebook"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"facebook",type:"text"},model:{value:t.form.facebook,callback:function(e){t.$set(t.form,"facebook",e)},expression:"form.facebook"}}),t._v(" "),!t.hasSubscription&&t.form.facebook&&t.form.facebook.length?e("p",{staticClass:"text-red-600 text-sm"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"URL page instagram",for:"instagram"}}),t._v(" "),e("form-input",{class:{"bg-gray-100":!t.hasSubscription},attrs:{id:"instagram",type:"text"},model:{value:t.form.instagram,callback:function(e){t.$set(t.form,"instagram",e)},expression:"form.instagram"}}),t._v(" "),!t.hasSubscription&&t.form.instagram&&t.form.instagram.length?e("p",{staticClass:"text-red-600 text-sm"},[t._v("Cette information peut être renseignée uniquement avec un abonnement À la carte. Cliquez "),e("a",{staticClass:"underline",attrs:{href:t.route("member.subscription.index"),target:"_blank"}},[t._v("ici")]),t._v(" pour en savoir plus.")]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Logo (format 200x200, 10mo max) *",for:"logo"}}),t._v(" "),e("cropper",{ref:"cropper",attrs:{aspectRatioValue:1},model:{value:t.form.logo,callback:function(e){t.$set(t.form,"logo",e)},expression:"form.logo"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_on_site",label:"Vente sur place"},model:{value:t.form.sale_on_site,callback:function(e){t.$set(t.form,"sale_on_site",e)},expression:"form.sale_on_site"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"takeaway",label:"Vente à emporter"},model:{value:t.form.takeaway,callback:function(e){t.$set(t.form,"takeaway",e)},expression:"form.takeaway"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"sale_online",label:"Vente en ligne"},model:{value:t.form.sale_online,callback:function(e){t.$set(t.form,"sale_online",e)},expression:"form.sale_online"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"visit",label:"Visite"},model:{value:t.form.visit,callback:function(e){t.$set(t.form,"visit",e)},expression:"form.visit"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"delivery_under_conditions",label:"Livraison sous conditions"},model:{value:t.form.delivery_under_conditions,callback:function(e){t.$set(t.form,"delivery_under_conditions",e)},expression:"form.delivery_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"privatizable",label:"Privatisable sous conditions"},model:{value:t.form.privatizable,callback:function(e){t.$set(t.form,"privatizable",e)},expression:"form.privatizable"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"terrace",label:"Terrasse"},model:{value:t.form.terrace,callback:function(e){t.$set(t.form,"terrace",e)},expression:"form.terrace"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"smoking",label:"Fumeur"},model:{value:t.form.smoking,callback:function(e){t.$set(t.form,"smoking",e)},expression:"form.smoking"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"pmr_access",label:"Accès PMR"},model:{value:t.form.pmr_access,callback:function(e){t.$set(t.form,"pmr_access",e)},expression:"form.pmr_access"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"caterer_under_conditions",label:"Traiteur sous condition"},model:{value:t.form.caterer_under_conditions,callback:function(e){t.$set(t.form,"caterer_under_conditions",e)},expression:"form.caterer_under_conditions"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"tasting_under_conditions",label:"Dégustation sous condition"},model:{value:t.form.tasting_under_conditions,callback:function(e){t.$set(t.form,"tasting_under_conditions",e)},expression:"form.tasting_under_conditions"}})],1)],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 md:px-5"},[e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}}
2,[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black",draggable:!0},on:{dragend:t.dragend}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Latitude *",for:"latitude"}}),t._v(" "),e("form-input",{attrs:{id:"latitude",type:"text",required:""},model:{value:t.form.latitude,callback:function(e){t.$set(t.form,"latitude",e)},expression:"form.latitude"}})],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Longitude *",for:"longitude"}}),t._v(" "),e("form-input",{attrs:{id:"longitude",type:"text",required:""},model:{value:t.form.longitude,callback:function(e){t.$set(t.form,"longitude",e)},expression:"form.longitude"}})],1)],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-blue-100 text-blue-600 mb-3 text-sm py-2 px-3 text-center"},[t._v("\n                    Déplacez le marqueur ci-dessus pour positionner votre établissement ou utiliser le site "),e("a",{attrs:{href:"https://www.torop.net/coordonnees-gps.php",target:"_blank"}},[t._v("www.torop.net/coordonnees-gps.php")]),t._v(" pour récuperer les coordoonnées GPS.\n                ")])}],!1,null,null,null).exports},29849:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(12771),m=n(32982);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,TheMask:m.TheMask},props:{days:Array,shop:Object,day:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,custom:!1,custom_hour:"",day_id:this.day?this.day.id:"",opening:"",closing:"",all_day:!1})}},methods:{submit:function(){this.form.post(this.route("member.shop-hours.store"))}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-hours.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour *",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"day",required:""},model:{value:t.form.day_id,callback:function(e){t.$set(t.form,"day_id",e)},expression:"form.day_id"}},t._l(t.days,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                            "+t._s(n.name)+"\n                        ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"custom",label:"Horaire personnalisé"},model:{value:t.form.custom,callback:function(e){t.$set(t.form,"custom",e)},expression:"form.custom"}})],1),t._v(" "),t.form.custom?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Exemple : Sur reservation",for:"custom_hour"}}),t._v(" "),e("form-input",{attrs:{id:"custom_hour",type:"text"},model:{value:t.form.custom_hour,callback:function(e){t.$set(t.form,"custom_hour",e)},expression:"form.custom_hour"}})],1):e("div",[e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"all_day",label:"24h/24"},model:{value:t.form.all_day,callback:function(e){t.$set(t.form,"all_day",e)},expression:"form.all_day"}})],1),t._v(" "),t.form.all_day?t._e():e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-1/2 px-3 mb-6 md:mb-0"},[e("form-label",{attrs:{value:"Ouverture",for:"opening"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.opening,callback:function(e){t.$set(t.form,"opening",e)},expression:"form.opening"}})],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 px-3"},[e("form-label",{attrs:{value:"Fermeture",for:"closing"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 23:30"},model:{value:t.form.closing,callback:function(e){t.$set(t.form,"closing",e)},expression:"form.closing"}})],1)])]),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                    Enregistrer\n                ")])],1)])])}),[],!1,null,null,null).exports},48282:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(85489),i=n(86257),o=n(86793),a=n(43408),s=n(88587),l=n(15570),c=n(7928),u=n(90422),d=n(16990),h=n(97134),f=n(76984),p=n(127
271),m=n(32982);const _={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:s.Z,FormButton:l.Z,FormSelect:c.Z,FormCheckbox:u.Z,FormTextarea:a.Z,Datepicker:d.Z,Editor:h.Z,InputTag:f.Z,ZestValidationErrors:p.Z,TheMask:m.TheMask},props:{days:Array,hour:Object},data:function(){return{form:this.$inertia.form({custom:!!this.hour.custom_hour,custom_hour:this.hour.custom_hour,day_id:this.hour.day_id,opening:this.hour.opening,closing:this.hour.closing,all_day:this.hour.all_day})}},methods:{submit:function(){this.form.put(this.route("member.shop-hours.update",this.hour))}}};const v=(0,n(51900).Z)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-hours.index",this.hour.shop_id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"w-full md:w-1/2"},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Jour *",for:"user_id"}}),t._v(" "),e("form-select",{attrs:{id:"day",required:""},model:{value:t.form.day_id,callback:function(e){t.$set(t.form,"day_id",e)},expression:"form.day_id"}},t._l(t.days,(function(n){return e("option",{domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])})),0)],1),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"custom",label:"Horaire personnalisé"},model:{value:t.form.custom,callback:function(e){t.$set(t.form,"custom",e)},expression:"form.custom"}})],1),t._v(" "),t.form.custom?e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Exemple : Sur reservation",for:"custom_hour"}}),t._v(" "),e("form-input",{attrs:{id:"custom_hour",type:"text"},model:{value:t.form.custom_hour,callback:function(e){t.$set(t.form,"custom_hour",e)},expression:"form.custom_hour"}})],1):e("div",[e("div",{staticClass:"mb-3"},[e("form-checkbox",{attrs:{id:"all_day",label:"24h/24"},model:{value:t.form.all_day,callback:function(e){t.$set(t.form,"all_day",e)},expression:"form.all_day"}})],1),t._v(" "),t.form.all_day?t._e():e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-1/2 px-3 mb-6 md:mb-0"},[e("form-label",{attrs:{value:"Ouverture",for:"opening"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 08:00"},model:{value:t.form.opening,callback:function(e){t.$set(t.form,"opening",e)},expression:"form.opening"}})],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2 px-3"},[e("form-label",{attrs:{value:"Fermeture",for:"closing"}}),t._v(" "),e("the-mask",{staticClass:"focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block w-full sm:text-sm border-gray-300",attrs:{mask:["##:##"],placeholder:"Exemple : 23:30"},model:{value:t.form.closing,callback:function(e){t.$set(t.form,"closing",e)},expression:"form.closing"}})],1)])]),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},23123:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(85489),i=n(86257),o=n(15570);const a={components:{ButtonLink:i.Z,FrontLayout:r.Z,FormButton:o.Z},props:{hours:[Array,Object],days:Array,shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("member.shop-hours.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-hours.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")])],1),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Jour\n                                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                    Horaire\n                                ")])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.days,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),n.hours.length?e("td",{staticClass:"px-6 py-4"},[e("inertia-link",{staticClass:"underline",attrs:{href:t.route("member.shop-hours.create",[t.shop.id,n.id])}},[t._v("Ajouter un horaire")]),t._v(" "),e("table",{staticClass:"divide-y divide-gray-200 mt-3"},t._l(n.hours,(function(n){return e("tr",[e("td",{staticStyle:{width:"120px"}},[n.all_day?e("span",[t._v("24h/24")]):n.custom_hour?e("span",[t._v(t._s(n.custom_hour))]):e("span",[t._v(t._s(n.opening)+" - "+t._s(n.closing))])]),t._v(" "),e("td",{staticClass:"px-6"},[e("inertia-link",{attrs:{href:t.route("member.shop-hours.edit",n.id)}},[t._v("Modifier")])],1),t._v(" "),e("td",{staticClass:"px-6"},[e("button",{staticClass:"bg-red-600 hover:bg-red-700 text-white p-1 m-1",on:{click:function(e){return t.destroy(n.id)}}},[t._v("Supprimer")])])])})),0)],1):e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},[e("tr",[e("td",{staticStyle:{width:"120px"}},[t._v("\n                                                    Fermé\n                                                ")]),t._v(" "),e("td",{staticClass:"px-6"},[e("inertia-link",{staticClass:"underline",attrs:{href:t.route("member.shop-hours.create",[t.shop.id,n.id])}},[t._v("Ajouter un horaire")])],1)])])])])})),0)])])])])])])])}),[],!1,null,null,null).exports},36497:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(85489),i=n(86257),o=n(3277),a=n(69285),s=n(51375),l=n(15570);const c={components:{ZestButton:o.Z,ButtonLink:i.Z,FrontLayout:r.Z,Pagination:a.Z,ButtonIconLink:s.Z,FormButton:l.Z},props:{rows:[Array,Object],shopsDraft:[Array,Object],shopsValidated:[Array,Object],shopsLink:[Array,Object],userIsArtisan:Bo
2olean},data:function(){return{shops:this.rows}},methods:{destroy:function(t){this.$inertia.visit(route("member.shops.link.destroy",t),{method:"put",onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("h1",{staticClass:"text-center text-3xl font-bold mt-5 mb-10 uppercase"},[t._v("Vos établissements à la carte")]),t._v(" "),e("div",{staticClass:"mb-7"},[e("button-link",{staticClass:"mb-10",attrs:{href:t.route("dashboard"),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),e("p",[t._v("Faites découvrir votre établissement sous ses plus beaux atouts :"),e("br"),t._v("- Mettez votre établissement gratuitement sur notre carte gourmande")]),t._v(" "),e("button-link",{staticClass:"mt-3 mb-5",attrs:{href:t.route("member.shops.create"),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter un établissement\n            ")]),t._v(" "),e("p",[t._v("- Personnalisez et optimisez vos informations et gagnez en visibilité en touchant une nouvelle clientèle et en générant du trafic sur vos réseaux sociaux et votre site Internet.")]),t._v(" "),t._e(),t._v(" "),e("p",[t._v("- Votre établissement est déjà référencé sur notre carte ?"),e("br"),t._v("Demandez l'association de votre établissement à votre compte.")]),t._v(" "),e("button-link",{staticClass:"mt-3",attrs:{href:t.route("member.shops.link"),icon:["fas","check"],"button-style":"success"}},[t._v("\n                Associer votre établissement\n            ")])],1),t._v(" "),t.shopsDraft.length?e("div",{staticClass:"mb-10"},[e("h2",{staticClass:"text-2xl"},[t._v("Brouillon")]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Catégorie\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Adresse\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.shopsDraft,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.categories,(function(n){return e("div",[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.full_address)}}),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.shops.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("member.shops.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])])]):t._e(),t._v(" "),t.shopsValidated.total?e("div",{staticClass:"mb-10"},[e("h2",{staticClass:"text-2xl"},[t._v("Mes Établissements")]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Catégorie\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Adresse\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.shopsValidated.data,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.categories,(function(n){return e("div",[t._v("\n                                            "+t._s(n.name)+"\n                                        ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.full_address)}}),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.shops.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("member.shops.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),0)])])])])]),t._v(" "),t.shopsValidated.total>t.shopsValidated.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.shopsValidated.links}})],1):t._e()]):t._e(),t._v(" "),t.shops.length||t.shopsLink.length?e("div",{staticClass:"mb-10"},[e("h2",{staticClass:"text-2xl"},[t._v("En attente de validation")]),t._v(" "),e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("thead",{staticClass:"bg-gray-50 font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Catégorie\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Nom\n                                    ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-left text-xs text-gray-500 uppercase",attrs:{scope:"col"}},[t._v("\n                                        Adresse\n                                    ")]),t._v(" "),e("th",{staticClass:"relative px-6 py-3",attrs:{scope:"col"}},[e("span",{staticClass:"sr-only"},[t._v("Edit")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[t._l(t.shops,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.categories,(function(n){return e("div",[t._v("\n                                                "+t._s(n.name)+"\n                                            ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                            "+t._s(n.name)+"\n                                        ")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.full_address)}}),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("button-icon-link",{attrs:{href:t.route("member.shops.edit",n.id),icon:["fas","pencil-alt"]}}),t._v(" "),e("button-icon-link",{attrs:{href:t.route("member.shops.show",n.id),"button-style":"success",icon:["fas","search"]}})],1)])})),t._v(" "),t._l(t.shopsLink,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},t._l(n.shop.categories,(function(n){return e("div",[t._v("\n                                                "+t._s(n.name)+"\n                                            ")])})),0),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v("\n                                            "+t._s(n.shop.name)+"\n                                        ")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(n.shop.full_address)}}),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                                                Supprimer\n                                            ")])],1)])}))],2)])])])])])]):t._e()])])}),[],!1,null,null,null).exports},94620:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(85489),i=n(86257),o=n(86793),a=n(88587),s=n(15570),l=n(76984),c=n(12771),u=n(47907),d=n.n(u);const h={layout:r.Z,components:{ButtonLink:i.Z,FormInput:o.Z,FormLabel:a.Z,FormButton:s.Z,InputTag:l.Z,ZestValidationErrors:c.Z,Multiselect:d()},props:{shops:[Array,Object]},data:function(){return{form:this.$inertia.form({select:[],shops:[]})}},methods:{updateShops:function(){var t=[];this.form.select.forEach((function(e){t.push(e.id)}
2)),this.form.shops=t},submit:function(){this.form.post(this.route("member.shops.link.store"))}}};var f=n(93379),p=n.n(f),m=n(29642),_={insert:"head",singleton:!1};p()(m.Z,_);m.Z.locals;const v=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.index"),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("p",{staticClass:"mb-4"},[t._v("Sélectionnez l’établissement que vous souhaitez associer à votre compte.")]),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("multiselect",{attrs:{options:t.shops,searchable:!0,multiple:!0,trackBy:"id",label:"name",placeholder:"Sélectionner",selectLabel:"Appuyez sur Entrée pour sélectionner",selectedLabel:"Choisi",deselectLabel:"Appuyez sur Entrée pour supprimer"},on:{input:t.updateShops},model:{value:t.form.select,callback:function(e){t.$set(t.form,"select",e)},expression:"form.select"}}),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},17598:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(85489),i=n(86257),o=n(88587),a=n(15570),s=n(12771),l=n(60642);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function _(){}var v={};l(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=_.prototype=p.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,a,s){var l=h(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function M(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,M(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);
vendor: 4,782 bytes, line 2
2if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return m.prototype=_,r(b,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:m,configurable:!0}),m.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const h={layout:r.Z,components:{ButtonLink:i.Z,FormLabel:o.Z,FormButton:a.Z,ZestValidationErrors:s.Z,Cropper:l.Z},props:{shop:Object},data:function(){return{form:this.$inertia.form({shop_id:this.shop.id,photo:""})}},methods:{submit:function(){var t,e=this;return(t=u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.processing=!0,t.next=3,e.$refs.cropper.crop();case 3:e.form.post(e.route("member.shop-photos.store"));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))})()}}};const f=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shop-photos.index",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n            Retour\n        ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-1/2"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-validation-errors",{staticClass:"mb-4"}),t._v(" "),e("div",{staticClass:"mb-3"},[e("form-label",{attrs:{value:"Photo (format 1053x724, 10mo max)",for:"photo"}}),t._v(" "),e("cropper",{ref:"cropper",model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),e("form-button",{staticClass:"mt-5",class:{"opacity-25":t.form.processing},attrs:{"button-style":"success",disabled:t.form.processing}},[t._v("\n                Enregistrer\n            ")])],1)])])}),[],!1,null,null,null).exports},36616:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var r=n(86257),i=n(15570),o=n(85489);const a={components:{ButtonLink:r.Z,FrontLayout:o.Z,FormButton:i.Z},props:{photos:[Array,Object],shop:Object},methods:{destroy:function(t){this.$inertia.delete(route("member.shop-photos.destroy",t),{onBefore:function(){return confirm("Voulez-vous réellement supprimer cet enregistrement ? Cette action est irreversible.")}})}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.show",t.shop.id),icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")]),t._v(" "),t.photos.length<3?e("button-link",{attrs:{href:t.route("member.shop-photos.create",t.shop.id),icon:["fas","plus"],"button-style":"secondary"}},[t._v("\n                Ajouter\n            ")]):t._e()],1),t._v(" "),e("div",{staticClass:"flex flex-row flex-wrap"},t._l(t.photos,(function(n){return e("div",{staticClass:"w-full md:w-1/3 mb-4 px-2"},[e("img",{attrs:{src:n.path,alt:""}}),t._v(" "),e("div",{staticClass:"w-100 bg-white pt-2"},[e("form-button",{attrs:{type:"button","button-style":"danger",icon:["fas","times"]},nativeOn:{click:function(e){return t.destroy(n.id)}}},[t._v("\n                        Supprimer\n                    ")])],1)])})),0)])])}),[],!1,null,null,null).exports},12777:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(85489),i=n(86257),o=n(69285),a=n(55854),s=n(6158),l=n(57204);const c={components:{ButtonLink:i.Z,FrontLayout:r.Z,Pagination:o.Z,Tags:a.Z,MglMap:l.Q3,MglNavigationControl:l.RV,MglAttributionControl:l.tQ,MglMarker:l.xM},props:{shop:Object,days:Array},data:function(){return{accessToken:"pk.eyJ1IjoiZGlnaXRhbGVzIiwiYSI6ImNrcjBnZjNpMTFhZncycG54czFjenJjdTQifQ.-AVLwrdY808oAEl6P9Xaxw",mapStyle:"mapbox://styles/digitales/ckr0ggfv12rxp18p37aqwx8gq",zoom:12,center:new s.LngLat(this.shop.longitude,this.shop.latitude),coordinates:[this.shop.longitude,this.shop.latitude]}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.route("member.shops.index"),icon:["fas","chevron-left"]}},[t._v("Retour à la liste")]),t._v(" "),"draft"==t.shop.status?e("button-link",{attrs:{href:t.route("member.shops.validation-request",t.shop.id),"button-style":"success",icon:["fas","check"]}},[t._v("Demande de validation")]):t._e(),t._v(" "),e("button-link",{attrs:{href:t.route("member.shops.edit",t.shop.id),"button-style":"secondary",icon:["fas","pencil-alt"]}},[t._v("Modifier")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-photos.index",t.shop.id),"button-style":"secondary",icon:["fas","images"]}},[t._v("Photos")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-attachments.index",t.shop.id),"button-style":"secondary",icon:["fas","file"]}},[t._v("Pièces jointes")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-hours.index",t.shop.id),"button-style":"secondary",icon:["fas","clock"]}},[t._v("Horaires")]),t._v(" "),e("button-link",{attrs:{href:t.route("member.shop-closing-dates.index",t.shop.id),"button-style":"secondary",icon:["fas","calendar"]}},[t._v("Dates de fermeture")]),t._v(" "),"pending"!=t.shop.status?e("button-link",{attrs:{as:"target_blank",href:t.route("carte.index",t.shop.slug),"button-style":"success",icon:["fas","map-marker-alt"]}},[t._v("Voir sur la carte")]):t._e()],1),t._v(" "),e("div",{staticClass:"flex flex-wrap"},[e("div",{staticClass:"w-full md:w-1/2"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200 text-left border border-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("ID")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.id))])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Catégories")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},t._l(t.shop.categories,(function(n){return e("div",[t._v("\n                                "+t._s(n.name)+"\n                            ")])})),0)]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Nom")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.name))])]),t._v(" "),t.shop.types&&t.shop.types.length||t.shop.type?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Type")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._l(t.shop.types,(function(n){return e("div",[t._v("\n                                "+t._s(n.name)+"\n                            ")])})),t._v(" "),e("div",[t._v("\n                                "+t._s(t.shop.type)+"\n                            ")])],2)]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Adresse")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(t.shop.full_address)}})]),t._v(" "),t.shop.description?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Description")]),t._v(" "),e("td",{staticClass:"px-6 py-4",domProps:{innerHTML:t._s(t.shop.description)}})]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Téléphone")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.phone))])]),t._v(" "),t.shop.closing_dates.length?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Date de fermeture annuelle")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(t.shop.closing_dates,(function(n){return e("tr",[e("td",[t._v("\n                                        "+t._s(t._f("moment")(n.start,"DD/MM/YYYY"))+" - "+t._s(t._f("moment")(n.end,"DD/MM/YYYY"))+"\n                                    ")])])})),0)])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Horaire")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},t._l(t.days,(function(n){return e("tr",[e("td",{staticClass:"px-6 py-4"},[t._v("\n                                        "+t._s(n.name)+"\n                                    ")]),t._v(" "),n.hours.length?e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},t._l(n.hours,(function(n){return e("tr",[e("td",[n.all_day?e("span",[t._v("24h/24")]):n.custom_hour?e("span",[t._v(t._s(n.custom_hour))]):e("span",[t._v(t._s(n.opening)+" - "+t._s(n.closing))])])])})),0)]):e("td",{staticClass:"px-6 py-4"},[e("table",{staticClass:"divide-y divide-gray-200"},[e("tr",[e("td",[t._v("\n                                                    Fermé\n                                                ")])])])])])})),0)])])]),t._v(" "),t.shop.website_url?e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("URL site web")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t._v(t._s(t.shop.website_url))])]):t._e(),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Sélection Guide Kaspro")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.kaspro_guide?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente sur place")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.sale_on_site?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente à emporter")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.takeaway?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Vente en ligne")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.sale_online?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Visite")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.visit?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Livraison sous conditions")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.delivery_under_conditions?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Privatisable")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.privatizable?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Terrasse")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.terrace?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Fumeur")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.smoking?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Accès PMR")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.pmr_access?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Traiteur sous condition")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.caterer_under_conditions?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])]),t._v(" "),e("tr",[e("th",{staticClass:"px-6 py-4 text-left text-xs text-gray-500 uppercase"},[t._v("Actif")]),t._v(" "),e("td",{staticClass:"px-6 py-4"},[t.shop.active?e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"},[t._v("Oui")]):e("span",{staticClass:"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"},[t._v("Non")])])])])])]),t._v(" "),e("div",{staticClass:"w-full p-4 lg:py-0 lg:w-1/2"},[t.shop.logo?e("img",{staticClass:"w-full mb-5",attrs:{src:t.shop.logo,alt:""}}):t._e(),t._v(" "),e("MglMap",{staticClass:"mb-5",staticStyle:{height:"calc(100vh - 250px)"},attrs:{accessToken:t.accessToken,mapStyle:t.mapStyle,attributionControl:!1,center:t.center,zoom:t.zoom}}
2,[e("MglNavigationControl",{attrs:{position:"bottom-left"}}),t._v(" "),e("MglMarker",{attrs:{coordinates:t.coordinates,color:"black"}})],1)],1)])])])}),[],!1,null,null,null).exports},25466:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(86257),o=n(69285),a=n(51375),s=n(15570),l=n(86793),c=n(88587),u=n(3277);const d={components:{ButtonLink:i.Z,FrontLayout:r.Z,Pagination:o.Z,ButtonIconLink:a.Z,FormButton:s.Z,FormLabel:c.Z,FormInput:l.Z,ZestButton:u.Z},props:{stripeKey:String,mensualSessionId:String,annualSessionId:String,redirectBack:String},data:function(){return{form:this.$inertia.form({type:"mensual"})}},methods:{submit:function(){if(this.form.processing=!0,"mensual"==this.form.type)var t=this.mensualSessionId;else t=this.annualSessionId;Stripe(this.stripeKey).redirectToCheckout({sessionId:t}).then((function(t){t.error&&(this.form.processing=!1,document.getElementById("error-message").innerText=t.error.message)}))}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("front-layout",[e("div",{staticClass:"container mx-auto mb-10"},[e("h1",{staticClass:"text-center text-3xl font-bold mt-5 mb-10 uppercase"},[t._v("Abonnement à la carte")]),t._v(" "),e("div",{staticClass:"mb-7"},[e("button-link",{attrs:{href:t.redirectBack,icon:["fas","chevron-left"]}},[t._v("\n                Retour\n            ")])],1),t._v(" "),e("div",{staticClass:"max-w-4xl mx-auto text-justify px-4"},[e("p",[t._v("\n                S’abonner À la Carte, c’est faire découvrir votre établissement sous ses plus beaux atouts.\n                Personnalisez et optimisez vos informations comme vous le désirez."),e("br"),e("br"),t._v("\n            Gagnez en visibilité, touchez une nouvelle clientèle et générez du trafic sur vos réseaux\n                sociaux."),e("br"),e("br"),t._v("\n            Prenez part à une aventure savoureuse et devenez membre actif de la communauté du Bon Zest !\n            ")]),t._v(" "),e("div",{staticClass:"text-red-500 mt-5",attrs:{id:"error-message",role:"alert"}})]),t._v(" "),e("table",{staticClass:"mx-auto divide-y divide-gray-200"},[e("thead",{staticClass:"bg-black text-white font-bold"},[e("tr",[e("th",{staticClass:"px-6 py-3 text-center uppercase border border-black w-1/2",attrs:{scope:"col"}},[t._v("\n                    GRATUIT\n                ")]),t._v(" "),e("th",{staticClass:"px-6 py-3 text-center border border-black w-1/2",attrs:{scope:"col"}},[e("span",{staticClass:"uppercase"},[t._v("ABONNEMENT")]),e("br"),e("a",{staticClass:"underline font-normal",attrs:{target:"_blank",href:"/images/maps/example.png"}},[t._v("Voir une fiche complète")])])])]),t._v(" "),e("tbody",{staticClass:"bg-white divide-y divide-gray-200"},[e("tr",[e("td",{staticClass:"px-6 py-4 align-top border border-black"},[e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Profil :")]),t._v(" "),e("li",[t._v("Catégories")]),t._v(" "),e("li",[t._v("Nom")]),t._v(" "),e("li",[t._v("Coordonnées")]),t._v(" "),e("li",[t._v("Horaires")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Éléments visuels :")]),t._v(" "),e("li",[t._v("Logo")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Informations supplémentaires :")]),t._v(" "),e("li",[t._v("Vente sur place")]),t._v(" "),e("li",[t._v("Vente à emporter")]),t._v(" "),e("li",[t._v("Vente en ligne")]),t._v(" "),e("li",[t._v("Visite")]),t._v(" "),e("li",[t._v("Livraison sous conditions")]),t._v(" "),e("li",[t._v("Privatisable")]),t._v(" "),e("li",[t._v("Terrasse")]),t._v(" "),e("li",[t._v("Fumeur")]),t._v(" "),e("li",[t._v("Accès PMR")]),t._v(" "),e("li",[t._v("Traiteur sous conditions")])])]),t._v(" "),e("td",{staticClass:"px-6 py-4 align-top border border-black"},[e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Profil :")]),t._v(" "),e("li",[t._v("Catégories")]),t._v(" "),e("li",[t._v("Nom")]),t._v(" "),e("li",[t._v("Coordonnées")]),t._v(" "),e("li",[t._v("Description")]),t._v(" "),e("li",[t._v("Prix moyen")]),t._v(" "),e("li",[t._v("Horaires")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Éléments visuels :")]),t._v(" "),e("li",[t._v("Logo")]),t._v(" "),e("li",[t._v("3 photos (Exemples : Plats, restaurants, épicerie, ambiance..)")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Informations supplémentaires :")]),t._v(" "),e("li",[t._v("Vente sur place")]),t._v(" "),e("li",[t._v("Vente à emporter")]),t._v(" "),e("li",[t._v("Vente en ligne")]),t._v(" "),e("li",[t._v("Visite")]),t._v(" "),e("li",[t._v("Livraison sous conditions")]),t._v(" "),e("li",[t._v("Privatisable")]),t._v(" "),e("li",[t._v("Terrasse")]),t._v(" "),e("li",[t._v("Fumeur")]),t._v(" "),e("li",[t._v("Accès PMR")]),t._v(" "),e("li",[t._v("Traiteur sous conditions")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Liens vers votre :")]),t._v(" "),e("li",[t._v("Site Internet")]),t._v(" "),e("li",[t._v("Page Facebook")]),t._v(" "),e("li",[t._v("Page Instagram")])]),t._v(" "),e("ul",{staticClass:"mb-5"},[e("li",{staticClass:"font-bold"},[t._v("Éléments joints :")]),t._v(" "),e("li",[t._v("4 fichiers (Exemples : Carte des vins, Sélection du mois,"),e("br"),t._v("Offres promotionnelles, Menu de la semaine...)")])])])])])]),t._v(" "),e("div",{staticClass:"text-center mt-10"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("span",{staticClass:"font-bold text-2xl"}
2,[t._v("Abonnement")]),t._v(" "),e("div",{staticClass:"mt-8"},[e("label",{staticClass:"inline-flex items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.type,expression:"form.type"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"radio",name:"type",value:"mensual",required:""},domProps:{checked:t._q(t.form.type,"mensual")},on:{change:function(e){return t.$set(t.form,"type","mensual")}}}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Mensuel")])]),t._v(" "),e("label",{staticClass:"inline-flex items-center ml-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.type,expression:"form.type"}],staticClass:"border-gray-300 text-black shadow-sm focus:border-gray-300 focus:ring focus:ring-gray-200 focus:ring-opacity-50",attrs:{type:"radio",name:"type",value:"annual"},domProps:{checked:t._q(t.form.type,"annual")},on:{change:function(e){return t.$set(t.form,"type","annual")}}}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Annuel")])])]),t._v(" "),"mensual"==t.form.type?e("div",{staticClass:"my-7"},[e("span",{staticClass:"text-2xl font-semibold"},[t._v("9,90€")]),t._v(" /mois")]):t._e(),t._v(" "),"annual"==t.form.type?e("div",{staticClass:"my-7"},[e("span",{staticClass:"text-2xl font-semibold"},[t._v("49,00€")]),t._v(" /an")]):t._e(),t._v(" "),e("zest-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                    SOUSCRIRE\n                ")])],1)])])])}),[],!1,null,null,null).exports},22353:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>r});const r=(0,n(51900).Z)({},undefined,undefined,!1,null,null,null).exports},26616:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={layout:n(85489).Z,components:{},props:{page:Object}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto max-w-3xl"},[e("div",{staticClass:"my-40 px-4"},[e("h1",{staticClass:"text-3xl text-center mb-10 uppercase"},[t._v(t._s(t.page.name))]),t._v(" "),e("div",{staticClass:"page-content",domProps:{innerHTML:t._s(t.page.content)}})])])}),[],!1,null,null,null).exports},82878:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(83933),o=n(22593),a=n(98997),s=n(3277),l=n(82202),c=n(9980),u=n.n(c);const d={layout:r.Z,components:{ZestButtonLink:i.Z,ZestToggle:o.Z,ZestInput:a.Z,ZestButton:s.Z,ZestLabel:l.Z,draggable:u()},props:{playlist:Object,videos:Array},data:function(){return{form:this.$inertia.form({title:this.playlist.title,visible:this.playlist.visible})}},methods:{order:function(){axios.post(route("playlists.order",this.playlist.id),{videos:this.videos})},submit:function(){this.form.put(this.route("playlists.update",this.playlist.id),{preserveScroll:!0})}}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("div",{staticClass:"my-40 px-3 sm:px-0"},[e("zest-button-link",{staticClass:"mb-10",attrs:{href:t.route("dashboard")}},[t._v("\n           Retour\n        ")]),t._v(" "),e("form",{staticClass:"max-w-md",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("zest-label",{attrs:{for:"title",value:"Titre de la playlist"}}),t._v(" "),e("zest-input",{staticClass:"block w-full",attrs:{id:"title",type:"text",required:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)}
2,expression:"form.title"}}),t._v(" "),e("div",{staticClass:"block mt-2"},[e("label",{staticClass:"flex items-center"},[e("zest-toggle",{attrs:{name:"visible"},model:{value:t.form.visible,callback:function(e){t.$set(t.form,"visible",e)},expression:"form.visible"}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600"},[t._v("Rendre cette playlist visible pour la communauté ZEST")])],1)]),t._v(" "),e("zest-button",{staticClass:"mt-3 w-full mb-5",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n                Modifier\n            ")])],1),t._v(" "),t.videos.length?e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},[e("div",{staticClass:"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"},[e("div",{staticClass:"overflow-hidden border border-gray-200"},[e("table",{staticClass:"min-w-full divide-y divide-gray-200"},[e("draggable",{staticClass:"bg-white divide-y divide-gray-200",attrs:{tag:"tbody",handle:".sortable"},on:{change:t.order},model:{value:t.videos,callback:function(e){t.videos=e},expression:"videos"}},t._l(t.videos,(function(n){return e("tr",{key:n.id,staticClass:"bg-white"},[e("td",{staticClass:"px-6 py-4 whitespace-nowrap"},[e("div",{staticClass:"flex items-center"},[e("div",{staticClass:"py-2 pl-2 pr-4 text-sm font-medium cursor-pointer sortable",attrs:{title:"Modifier l'ordre"}},[e("font-awesome-icon",{attrs:{icon:["fas","arrows-alt-v"]}})],1),t._v(" "),e("div",{staticClass:"flex-shrink-0 w-28 ml-8"},[e("inertia-link",{attrs:{href:t.route("video.show",n.slug)}},[e("img",{staticClass:"w-28 object-cover",attrs:{src:n.photo,alt:""}})])],1),t._v(" "),e("div",{staticClass:"ml-4"},[e("inertia-link",{attrs:{href:t.route("video.show",n.slug)}},[e("div",{staticClass:"font-semibold"},[t._v("\n                                                            "+t._s(n.categorie.name)+"\n                                                        ")]),t._v(" "),e("div",{staticClass:"font-semibold"},[n.episode?e("span",[t._v("Épisode "+t._s(n.episode)+" - ")]):t._e(),t._v(t._s(n.title)+"\n                                                        ")]),t._v(" "),e("div",{staticClass:"capitalize text-sm font-semibold"},[t._v("\n                                                            "+t._s(t._f("moment")(n.date,"MMMM YYYY"))+"\n                                                        ")])])],1)])]),t._v(" "),e("td",{staticClass:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},[e("inertia-link",{staticClass:"inline-flex items-center justify-center px-2 py-2 bg-red-600 text-white focus:outline-none",attrs:{as:"button",method:"POST",href:t.route("playlists.add-video",[t.playlist.id,n.id]),"preserve-scroll":""}},[e("font-awesome-icon",{attrs:{icon:["fas","trash"]}})],1)],1)])})),0)],1)])])])]):t._e()],1)])}),[],!1,null,null,null).exports},6919:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var r=n(85489),i=n(83933),o=n(22593),a=n(98997),s=n(3277),l=n(55854),c=n(9980),u=n.n(c),d=n(70497);const h={layout:r.Z,components:{ZestButtonLink:i.Z,ZestToggle:o.Z,ZestInput:a.Z,ZestButton:s.Z,Tags:l.Z,draggable:u(),Player:d.Z},props:{playlist:Object,videos:Array,defaultVideo:Object,defaultCategorieName:String,tags:String,fullscreen:Boolean},mounted:function(){this.$refs["video"+this.defaultVideo.id][0].focus(),!this.$browserDetect.isSafari&&this.fullscreen&&this.$refs.player.fullscreen()},data:function(){return{options:{autoplay:!0},onPause:!1}},methods:{ended:function(){axios.get(route("playlists.next",[this.playlist.id,this.defaultVideo.id])).then(function(t){var e=this;t.data.video_id&&this.$refs.player.getfullscreen().then((function(n){n?e.$refs.player.exitfullscreen():n=null;var r=route("playlists.show",{playlist:e.playlist.id,video:t.data.video_id,fullscreen:n});e.$browserDetect.isSafari?window.location.href=r:e.$inertia.get(r)})),this.$refs.player.exitfullscreen()}.bind(this))}}};var f=n(93379),p=n.n(f),m=n(82913),_={insert:"head",singleton:!1};p()(m.Z,_);m.Z.locals;const v=(0,n(51900).Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto playlists"},[e("div",{staticClass:"my-40 px-3 sm:px-0"},[e("div",{staticClass:"flex content-center flex-col lg:flex-row"},[e("player",{ref:"player",staticClass:"w-full",attrs:{"video-id":t.defaultVideo.vimeo_id},on:{pause:function(e){t.onPause=!0},play:function(e){t.onPause=!1},ended:t.ended}}),t._v(" "),t.videos.length?e("div",{staticClass:"flex",attrs:{id:"list-video"}},[e("div",{staticClass:"overflow-x-auto h-full w-full border"},[e("div",{staticClass:"align-middle inline-block min-w-full h-full"},[e("div",{staticClass:"border border-gray-200 h-full overflow-y"},[e("div",{staticClass:"min-w-full divide-y divide-gray-200"},[e("div",[e("h1",{staticClass:"text-lg font-bold uppercase text-center sm:px-6 py-4"},[t._v(t._s(t.playlist.title))]),t._v(" "),t._l(t.videos,(function(n){return e("div",{key:n.id,class:t.defaultVideo.id==n.id?"bg-gray-200":"bg-white"},[e("div",{staticClass:"sm:px-6 py-4"},[e("inertia-link",{ref:"video"+n.id,refInFor:!0,staticClass:"focus:outline-none",attrs:{href:t.route("playlists.show",[t.playlist.id,n.id])}},[e("div",{staticClass:"flex items-center"},[e("div",{staticClass:"flex-shrink-0 w-28"},[e("div",{staticClass:"flex items-center relative"},[e("img",{staticClass:"w-28 object-cover",attrs:{src:n.photo,alt:""}}),t._v(" "),e("div",{staticClass:"bg-black absolute left-0 right-0 w-full h-full opacity-20"}),t._v(" "),t.onPause&&t.defaultVideo.id==n.id?e("font-awesome-icon",{staticClass:"text-xl absolute left-0 right-0 text-center text-white sm:w-1/2 mx-auto",attrs:{icon:["far","play-circle"]}}):t.defaultVideo.id==n.id?e("font-awesome-icon",{staticClass:"text-xl absolute left-0 right-0 text-center text-white sm:w-1/2 mx-auto",attrs:{icon:["fas","pause-circle"]}}):e("font-awesome-icon",{staticClass:"text-xl absolute left-0 right-0 text-center text-white sm:w-1/2 mx-auto",attrs:{icon:["far","play-circle"]}})],1)]),t._v(" "),e("div",{staticClass:"ml-4"},[e("div",{staticClass:"font-semibold"},[t._v("\n                                                                "+t._s(n.categorie.n
2ame)+"\n                                                            ")]),t._v(" "),e("div",{staticClass:"font-semibold text-sm"},[n.episode?e("span",[t._v("Épisode "+t._s(n.episode)+" - ")]):t._e(),t._v(t._s(n.title)+"\n                                                            ")])])])])],1)])}))],2)])])])])]):t._e()],1),t._v(" "),e("div",{staticClass:"text-justify mt-5 mb-8 px-5 sm:px-0"},[e("h1",{staticClass:"text-xl font-bold text-left"},[t._v(t._s(t.defaultCategorieName))]),t._v(" "),e("h2",{staticClass:"text-xl font-bold text-left"},[t.defaultVideo.episode?e("span",[t._v("Épisode "+t._s(t.defaultVideo.episode)+" - ")]):t._e(),t._v(t._s(t.defaultVideo.title))]),t._v(" "),e("h3",{staticClass:"font-bold mb-4 capitalize"},[t._v(t._s(t._f("moment")(t.defaultVideo.date,"MMMM YYYY")))]),t._v(" "),e("div",[e("p",{staticClass:"mb-5",domProps:{innerHTML:t._s(t.defaultVideo.description)}}),t._v(" "),e("tags",{attrs:{string:t.tags,type:"video"}})],1)])])])}),[],!1,null,null,null).exports},82670:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(85489),i=n(97874),o=n(47076),a=n(70853),s=n(85575),l=n(53364),c=n(83933);const u={layout:r.Z,components:{Pagination:i.Z,CardVideo:o.Z,CardArticle:a.Z,HeaderList:s.Z,HorizontalList:l.Z,ZestButtonLink:c.Z},props:{videos:[Array,Object],articles:[Array,Object],defaultVideo:Object},data:function(){return{}},methods:{}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[t._m(0),t._v(" "),t.defaultVideo?e("header-list",{attrs:{video:t.defaultVideo}}):t._e(),t._v(" "),t.videos.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Vidéos")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n,"show-category":!0}})]}}],null,!1,2647570178)}),t._v(" "),t.videos.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","video"])}},[t._v("\n                VOIR PLUS\n            ")])],1):t._e()],1):t.defaultVideo?t._e():e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucune vidéo pour le moment...")])]),t._v(" "),t.articles.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Articles")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.articles.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n,"show-category":!0}})]}}],null,!1,2280360962)}),t._v(" "),t.articles.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","article"])}},[t._v("\n                VOIR PLUS\n            ")])],1):t._e()],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[t("h1",{staticClass:"text-4xl font-bold uppercase"},[this._v("Recettes")])])}],!1,null,null,null).exports},94697:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(85489),i=n(37699),o=n(3277),a=n(4420),s=n(66350),l=n(65626);const c={layout:r.Z,components:{ZestCheckbox:i.Z,ZestButton:o.Z,CardVideoList:a.Z,CardArticleList:s.Z,CardAgendaList:l.Z},props:{query:String,videos:Array,articles:Array,agendas:Array,type:String,categories:Array,order:String},data:function(){return{openTab:"video",selected:null,filter:!1,form:this.$inertia.form({q:this.query,filter:{categories:[],order:this.order}})}},methods:{submit:function(){this.form.post(this.route("search.index"))},searchTimeOut:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.submit()}),1e3)}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-28"},[e("form",{staticClass:"mt-10 mb-8 px-6 sm:w-1/2 mx-auto",on:{submit:function(e){return e.preventDefault(),t.searchTimeOut.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.q,expression:"form.q"}],staticClass:"pl-0 w-full block border-t-0 border-l-0 border-r-0 border-b-gray-500 focus:border-gray-400 focus:ring focus:ring-gray-200 focus:ring-opacity-0 shadow-sm",attrs:{id:"search",type:"text",placeholder:"Rechercher",autocomplete:"off",autofocus:"",required:""},domProps:{value:t.form.q},on:{keyup:t.searchTimeOut,input:function(e){e.target.composing||t.$set(t.form,"q",e.target.value)}}}),t._v(" "),e("button",{staticClass:"mt-5 bg-white px-5 py-2 hover:text-white border border-black leading-tight hover:bg-black transition-all duration-300 uppercase font-semibold focus:outline-none",attrs:{type:"button"},on:{click:function(e){!0!==t.filter?t.filter=!0:t.filter=!1}}},[t._v("\n                Filtrer par\n                "),1!=t.filter?e("font-awesome-icon",{staticClass:"ml-2 pt-1 text-xl",attrs:{icon:["fas","chevron-down"]}}):e("font-awesome-icon",{staticClass:"ml-2 pt-1 text-xl",attrs:{icon:["fas","chevron-up"]}})],1),t._v(" "),t.filter?e("div",[e("ul",{staticClass:"block my-4 mx-auto bg-gray-100 border border-gray-400"},[e("li",{staticClass:"flex align-center flex-col p-3"},[e("div",{staticClass:"flex items-center justify-between cursor-pointer",class:{"text-zest-gold":0==t.selected},on:{click:function(e){0!==t.selected?t.selected=0:t.selected=null}}},[e("h4",{staticClass:"inline-block uppercase"},[t._v("\n                                Catégorie\n                            ")]),t._v(" "),e("div",[0!=t.selected?e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-down"]}}):e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-up"]}})],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:0==t.selected,expression:"selected == 0"}]},t._l(t.categories,(function(n){return e("div",{key:n.id,staticClass:"mt-3"},[e("label",{staticClass:"flex items-center"},[e("zest-checkbox",{attrs:{value:n.id},on:{change:t.searchTimeOut},model:{value:t.form.filter.categories,callback:function(e){t.$set(t.form.filter,"categories",e)},expression:"form.filter.categories"}}),t._v(" "),e("span",{staticClass:"ml-2 text-sm text-gray-600 w-full"},[t._v(t._s(n.name))])],1)])})),0)]),t._v(" "),e("li",{staticClass:"flex align-center flex-col p-3"},[e("div",{staticClass:"flex items-center justify-between"},[e("label",{staticClass:"inline-flex items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.filter.order,expression:"form.filter.order"}],staticClass:"hidden",attrs:{type:"radio",name:"order",value:"popular"},domProps:{checked:t._q(t.form.filter.order,"popular")}
2,on:{change:[function(e){return t.$set(t.form.filter,"order","popular")},t.searchTimeOut]}}),t._v(" "),e("span",{staticClass:"inline-block uppercase cursor-pointer",class:{"text-zest-gold":"popular"==t.form.filter.order}},[t._v("Plus populaire")])])])]),t._v(" "),e("li",{staticClass:"flex align-center flex-col p-3"},[e("div",{staticClass:"flex items-center justify-between"},[e("label",{staticClass:"inline-flex items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.filter.order,expression:"form.filter.order"}],staticClass:"hidden",attrs:{type:"radio",name:"order",value:"recently"},domProps:{checked:t._q(t.form.filter.order,"recently")},on:{change:[function(e){return t.$set(t.form.filter,"order","recently")},t.searchTimeOut]}}),t._v(" "),e("span",{staticClass:"inline-block uppercase cursor-pointer",class:{"text-zest-gold":"recently"==t.form.filter.order}},[t._v("Plus récent")])])])])])]):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"flex overflow-hidden overflow-x-auto px-6"},[e("ul",{staticClass:"flex mx-auto whitespace-nowrap"},[e("li",{on:{click:function(e){t.openTab="video"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"video"===t.openTab?"border-black":""},[t._v("\n                        VIDEO "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.videos.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.openTab="article"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 cursor-pointer",class:"article"===t.openTab?"border-black":""},[t._v("\n                        ARTICLE "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.articles.length)+")")])])]),t._v(" "),e("li",{on:{click:function(e){t.openTab="agenda"}}},[e("div",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0 cursor-pointer",class:"agenda"===t.openTab?"border-black":""},[t._v("\n                        AGENDA "),e("span",{staticClass:"text-gray-500"},[t._v("("+t._s(t.agendas.length)+")")])])])])]),t._v(" "),e("div",{staticClass:"w-full pt-10"},[e("div",{directives:[{name:"show",rawName:"v-show",value:"video"===t.openTab,expression:"openTab === 'video'"}]},[t.videos.length?e("div",[e("card-video-list",{attrs:{videos:t.videos,"show-category":!0}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucune vidéo")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"article"===t.openTab,expression:"openTab === 'article'"}]},[t.articles.length?e("div",[e("card-article-list",{staticClass:"mb-10",attrs:{articles:t.articles,"show-category":!0}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucun article")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"agenda"===t.openTab,expression:"openTab === 'agenda'"}]},[t.agendas.length?e("div",[e("card-agenda-list",{attrs:{agendas:t.agendas}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucun événement")])])])])])}),[],!1,null,null,null).exports},32265:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(85489),i=n(83933),o=n(53364),a=n(55854),s=n(4420),l=n(66350),c=n(65626);const u={components:{CardEvent:n(81993).Z},props:{events:[Object,Array]}};var d=n(51900);const h=(0,d.Z)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-wrap justify-center"},t._l(t.events,(function(t){return e("div",{key:t.id,staticClass:"w-full sm:w-1/2 lg:w-1/3 xl:w-1/4 p-3"},[e("card-event",{attrs:{event:t}})],1)})),0)}),[],!1,null,null,null).exports,f={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,Tags:a.Z,CardVideoList:s.Z,CardArticleList:l.Z,CardAgendaList:c.Z,CardEventList:h},props:{keyword:String,videos:Array,articles:Array,agendas:Array,events:Array,type:String},data:function(){return{openTab:this.type}}};const p=(0,d.Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-28"},[e("div",{staticClass:"text-center my-8 mx-auto"},[e("h1",{staticClass:"text-4xl font-bold uppercase"},[t._v(t._s(t.keyword))])]),t._v(" "),e("div",[e("div",{staticClass:"flex overflow-hidden overflow-x-auto px-6"},[e("ul",{staticClass:"flex mx-auto whitespace-nowrap"},[e("li",{on:{click:function(e){t.openTab="video"}}},[e("a",{staticClass:"bg-white border-b inline-block py-2 px-4",class:"video"===t.openTab?"border-black":"",attrs:{href:"#"}},[t._v("\n                        VIDEO ("+t._s(t.videos.length)+")\n                    ")])]),t._v(" "),e("li",{on:{click:function(e){t.openTab="article"}}},[e("a",{staticClass:"bg-white border-b inline-block py-2 px-4",class:"article"===t.openTab?"border-black":"",attrs:{href:"#"}},[t._v("\n                        ARTICLE ("+t._s(t.articles.length)+")\n                    ")])]),t._v(" "),e("li",{on:{click:function(e){t.openTab="agenda"}}},[e("a",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0",class:"agenda"===t.openTab?"border-black":"",attrs:{href:"#"}},[t._v("\n                        AGENDA ("+t._s(t.agendas.length)+")\n                    ")])]),t._v(" "),e("li",{on:{click:function(e){t.openTab="event"}}},[e("a",{staticClass:"bg-white border-b inline-block py-2 px-4 mr-6 sm:mr-0",class:"event"===t.openTab?"border-black":"",attrs:{href:"#"}},[t._v("\n                        EVENEMENT ("+t._s(t.events.length)+")\n                    ")])])])]),t._v(" "),e("div",{staticClass:"w-full pt-10"},[e("div",{directives:[{name:"show",rawName:"v-show",value:"video"===t.openTab,expression:"openTab === 'video'"}]},[t.videos.length?e("div",[e("card-video-list",{attrs:{videos:t.videos,"show-category":!0}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"}
2,[t._v("Aucune vidéo")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"article"===t.openTab,expression:"openTab === 'article'"}]},[t.articles.length?e("div",[e("card-article-list",{staticClass:"mb-10",attrs:{articles:t.articles,"show-category":!0}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucun article")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"agenda"===t.openTab,expression:"openTab === 'agenda'"}]},[t.agendas.length?e("div",[e("card-agenda-list",{attrs:{agendas:t.agendas}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucun événement")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"event"===t.openTab,expression:"openTab === 'event'"}]},[t.events.length?e("div",[e("card-event-list",{attrs:{events:t.events}})],1):e("h2",{staticClass:"text-center text-xl font-bold mt-10 mb-28"},[t._v("Aucun événement")])])])])])}),[],!1,null,null,null).exports},90927:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(97874),o=n(47076),a=n(70853),s=n(85575),l=n(53364),c=n(83933),u=n(20821);const d={layout:r.Z,components:{Pagination:i.Z,CardVideo:o.Z,CardArticle:a.Z,HeaderList:s.Z,HorizontalList:l.Z,ZestButtonLink:c.Z,AdBanner:u.default},props:{videos:[Array,Object],articles:[Array,Object],defaultVideo:Object},data:function(){return{}},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.render("WEB_MBAN_ATF1A");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),t._m(0),t._v(" "),t.defaultVideo?e("header-list",{attrs:{video:t.defaultVideo}}):t._e(),t._v(" "),e("ad-banner"),t._v(" "),t.videos.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Vidéos")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n,"show-category":!0}})]}}],null,!1,2647570178)}),t._v(" "),t.videos.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","video"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}})],1):t.defaultVideo?t._e():e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucune vidéo pour le moment...")])]),t._v(" "),t.articles.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Articles")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.articles.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n}})]}}],null,!1,3849680156)}),t._v(" "),t.articles.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["terroir","article"])}},[t._v("\n                    VOIR PLUS\n                ")])],1):t._e(),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1A"}})],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucun article pour le moment...")])])],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[t("h1",{staticClass:"text-4xl font-bold uppercase"},[this._v("Terroir")])])}],!1,null,null,null).exports},84219:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={layout:n(85489).Z,mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MBAN_ATF0");\n        });',document.body.appendChild(t);var e=document.createElement("script");e.type="application/javascript",e.innerHTML='\n        sas.cmd.push(function() {\
2n            sas.render("WEB_INTERSTITIEL");\n        });',document.body.appendChild(e);var n=document.createElement("script");n.type="application/javascript",n.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MBAN_ATF1");\n        });',document.body.appendChild(n);var r=document.createElement("script");r.type="application/javascript",r.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MPAVE_ATF0A");\n        });',document.body.appendChild(r)}};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),e("div",{attrs:{id:"WEB_INTERSTITIEL"}}),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}}),t._v(" "),e("div",{attrs:{id:"WEB_MPAVE_ATF0A"}})])}],!1,null,null,null).exports},49519:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(85489),i=n(55854),o=n(97874),a=n(4420),s=n(85575),l=n(70853),c=n(53364),u=n(83933);const d={layout:r.Z,components:{Tags:i.Z,Pagination:o.Z,CardVideoList:a.Z,HeaderList:s.Z,CardArticle:l.Z,ZestButtonLink:u.Z,HorizontalList:c.Z},props:{defaultVideo:Object,videos:[Array,Object],categorie:Object,tags:String,articles:[Array,Object]},data:function(){return{}},methods:{}};const h=(0,n(51900).Z)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("div",{staticClass:"text-center mt-8 mb-4 mx-auto"},[e("h1",{staticClass:"text-4xl font-bold uppercase"},[t._v(t._s(t.categorie.name))]),t._v(" "),e("h2",{staticClass:"text-lg font-bold"},[t._v(t._s(t.categorie.description))])]),t._v(" "),t.defaultVideo?e("div",[e("header-list",{attrs:{video:t.defaultVideo,"show-category":!1}}),t._v(" "),t.videos.total?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 mb-8"},[t._v("PLUS DE VIDEOS À DÉCOUVRIR")]),t._v(" "),e("card-video-list",{attrs:{videos:t.videos.data}}),t._v(" "),t.videos.total>t.videos.per_page?e("div",{staticClass:"mt-14"},[e("pagination",{attrs:{links:t.videos.links}})],1):t._e()],1):t._e()],1):e("div",{staticClass:"py-40"},[e("p",{staticClass:"text-2xl text-center font-bold"},[t._v("Aucune vidéo pour le moment...")])]),t._v(" "),t.articles.length?e("div",[e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 uppercase"},[t._v("Articles")]),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.articles.slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-article",{attrs:{article:n,"show-category":!0}})]}}],null,!1,2280360962)}),t._v(" "),t.articles.length>6?e("div",{staticClass:"text-center mt-4 mb-8"},[e("zest-button-link",{attrs:{href:t.route("search.tags",["recettes","article"])}},[t._v("\n                VOIR PLUS\n            ")])],1):t._e()],1):t._e()])}),[],!1,null,null,null).exports},23112:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var r=n(85489),i=n(55854),o=n(83933),a=n(4420);const s={layout:r.Z,components:{Tags:i.Z,ZestButtonLink:o.Z,CardVideoList:a.Z},props:{recent:Array,popular:Array},data:function(){return{selected:1}},methods:{}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto mb-20"},[e("ul",{staticClass:"block my-4 mx-auto"},[e("li",{staticClass:"flex align-center flex-col"},[e("h4",{staticClass:"cursor-pointer px-5 py-3 text-center inline-block uppercase font-bold",on:{click:function(e){1!==t.selected?t.selected=1:t.selected=null}}},[t._v("\n                Vidéos les plus récentes\n                "),e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-down"]}})],1),t._v(" "),e("card-video-list",{directives:[{name:"show",rawName:"v-show",value:1==t.selected,expression:"selected == 1"}],attrs:{videos:t.recent,"show-category":!0}})],1),t._v(" "),e("li",{staticClass:"flex align-center flex-col"},[e("h4",{staticClass:"cursor-pointer sm:px-5 py-3 text-center inline-block uppercase font-bold",on:{click:function(e){2!==t.selected?t.selected=2:t.selected=null}}},[t._v("\n                Vidéos les plus populaires\n                "),e("font-awesome-icon",{staticClass:"ml-3 pt-1 text-xl",attrs:{icon:["fas","chevron-down"]}})],1),t._v(" "),e("card-video-list",{directives:[{name:"show",rawName:"v-show",value:2==t.selected,expression:"selected == 2"}],attrs:{videos:t.popular,"show-category":!0}})],1)])])}),[],!1,null,null,null).exports},33914:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var r=n(85489),i=n(83933),o=n(53364),a=n(47076),s=n(85575),l=n(70497),c=n(20821);const u={layout:r.Z,components:{ZestButtonLink:i.Z,HorizontalList:o.Z,CardVideo:a.Z,HeaderList:s.Z,Player:l.Z,AdBanner:c.default},props:{categories:Array,videos:Object,defaultVideo:Object,recentVideos:Array},data:function(){return{video:this.defaultVideo,showInterstitial:!0}},methods:{ended:function(){axios.get(route("video.next",[this.defaultVideo.id])).then(function(t){t.data.video.id&&(this.video=t.data.video,this.video.categorie=t.data.category,axios.post(route("video.view",[t.data.video.id])))}.bind(this))}},mounted:function(){var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\
2n            sas.render("WEB_INTERSTITIEL");\n            sas.render("WEB_MBAN_ATF0");\n            sas.render("WEB_MBAN_ATF1");\n            sas.refresh();\n        });',document.body.appendChild(t)}};const d=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",[e("div",{attrs:{id:"WEB_INTERSTITIEL"}}),t._v(" "),e("div",{staticClass:"container mx-auto"},[t.defaultVideo?e("div",[e("div",{staticClass:"mb-10"},[e("player",{ref:"player",attrs:{"video-id":t.video.vimeo_id},on:{ended:t.ended}}),t._v(" "),e("div",{staticClass:"text-center my-5 px-5 sm:px-0 sm:w-1/2 mx-auto"},[e("inertia-link",{attrs:{href:t.route("video.show",t.video.slug)}},[e("h1",{staticClass:"text-4xl font-bold uppercase mb-1"},[t._v(t._s(t.video.categorie.name))]),t._v(" "),e("h2",{staticClass:"text-xl font-bold mb-1"},[t.video.episode?e("span",[t._v("Épisode "+t._s(t.video.episode)+" - ")]):t._e(),t._v(t._s(t.video.title))]),t._v(" "),t.video.resume?e("p",[t._v(t._s(t.video.resume))]):t._e()])],1)],1),t._v(" "),e("hr"),t._v(" "),e("div",[e("div",{attrs:{id:"WEB_MBAN_ATF0"}}),t._v(" "),t._m(0),t._v(" "),e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.recentVideos},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n,"show-category":!0}})]}}],null,!1,2647570178)})],1),t._v(" "),e("ad-banner"),t._v(" "),t._l(t.categories,(function(n){return e("section",{key:n.id,staticClass:"mb-10"},[t.videos[n.id].length?e("div",[e("hr"),t._v(" "),e("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[e("h1",{staticClass:"text-3xl font-bold uppercase"},[t._v(t._s(n.name))]),t._v(" "),e("h2",{staticClass:"font-bold"},[t._v(t._s(n.description))])]),t._v(" "),e("horizontal-list",{attrs:{items:t.videos[n.id].slice(0,6)},scopedSlots:t._u([{key:"default",fn:function(t){var n=t.item;return[e("card-video",{attrs:{video:n}})]}}],null,!0)}),t._v(" "),t.videos[n.id].length>6?e("div",{staticClass:"text-center mt-4"},[e("zest-button-link",{attrs:{href:t.route("video.categorie",n)}},[t._v("\n                                VOIR PLUS\n                            ")])],1):t._e()],1):t._e()])})),t._v(" "),e("div",{attrs:{id:"WEB_MBAN_ATF1"}})],2):t._e()])])}),[function(){var t=this._self._c;return t("div",{staticClass:"text-center mt-8 mb-0 mx-auto"},[t("h1",{staticClass:"text-3xl font-bold uppercase"},[this._v("Nos dernières vidéos")])])}],!1,null,null,null).exports},49405:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var r=n(85489),i=n(55854),o=n(83933),a=n(3277),s=n(98997),l=n(37699),c=n(22593),u=n(42893),d=n(4420),h=n(70497);const f={layout:r.Z,components:{Tags:i.Z,ZestButtonLink:o.Z,ZestInput:s.Z,ZestButton:a.Z,ZestCheckbox:l.Z,ZestToggle:c.Z,Share:u.Z,CardVideoList:d.Z,Player:h.Z},props:{categories:Array,vimeo:String,defaultVideo:Object,tags:String,categorie:String,videos:Array,url:String,likedProps:Boolean,playlists:Array,fullscreen:Boolean},mounted:function(){!this.$browserDetect.isSafari&&this.fullscreen&&this.$refs.player.fullscreen();var t=document.createElement("script");t.type="application/javascript",t.innerHTML='\n        sas.cmd.push(function() {\n            sas.render("WEB_MPAVE_ATF_READ");\n            sas.refresh();\n        });',document.body.appendChild(t)},data:function(){return{liked:this.likedProps,showBtnLogin:!1,textBtnLogin:"Se connecter",formCreatePlaylist:this.$inertia.form({title:"",video_id:this.defaultVideo.id}),showCreatePlaylist:!1}},methods:{ended:function(){axios.get(route("video.next",[this.defaultVideo.id])).then(function(t){var e=this;t.data.video&&this.$refs.player.getfullscreen().then((function(n){n?e.$refs.player.exitfullscreen():n=null;var r=route("video.show",{video:t.data.video.slug,fullscreen:n});e.$browserDetect.isSafari?window.location.href=r:e.$inertia.get(r)})),this.$refs.player.exitfullscreen()}.bind(this))},like:function(){var t=this;axios.post(route("video.like",this.defaultVideo.id)).then((function(e){t.liked=e.data.hasLiked}))},createPlaylist:function(){var t=this;this.formCreatePlaylist.post(this.route("playlists.store"),{preserveScroll:!0,only:["playlists"],onSuccess:function(){return t.formCreatePlaylist.reset()}})}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container mx-auto"},[e("player",{ref:"player",attrs:{"video-id":t.defaultVideo.vimeo_id},on:{ended:t.ended}}),t._v(" "),e("div",{staticClass:"py-3 sm:py-4 bg-gray-100 flex text-gray-500 justify-between px-10 sm:px-32 text-center"},[e("div",[t.$page.props.user?e("div",{staticClass:"cursor-pointer",on:{click:function(e){1==t.showCreatePlaylist?t.showCreatePlaylist=!1:t.showCreatePlaylist=!0}}},[t.showCreatePlaylist?e("font-awesome-icon",{staticClass:"text-2xl text-zest-yellow",attrs:{icon:["fas","plus"]}}):e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("Playlist\n                ")],1):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour créer des playlists"}}},[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["fas","plus"]}}),t._v(" "),e("br"),t._v("Playlist\n                ")],1)]),t._v(" "),e("div",[t.$page.props.user?e("div",{staticClass:"cursor-pointer",on:{click:t.like}},[t.liked?e("div",[e("font-awesome-icon",{staticClass:"text-2xl text-zest-yellow",attrs:{icon:["fas","heart"]}}),t._v(" "),e("br"),t._v("Je n'aime plus\n                    ")],1):e("div",[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                    ")],1)]):e("div",{staticClass:"cursor-pointer",on:{click:function(e){t.showBtnLogin=!0,t.textBtnLogin="se connecter pour aimer la vidéo"}}},[e("font-awesome-icon",{staticClass:"text-2xl",attrs:{icon:["far","heart"]}}),t._v(" "),e("br"),t._v("J'aime\n                ")],1)]),t._v(" "),e("share",{attrs:{title:t.defaultVideo.title,url:t.url}})],1),t._v(" "),!t.$page.props.user&&t.showBtnLogin?e("div",{staticClass:"text-center my-5"},[e("zest-button-link",{attrs:{href:t.route("login")}},[t._v("\n                "+t._s(t.textBtnLogin)+"\n            ")])],1):t._e(),t._v(" "),e("div",{staticClass:"text-ju
2stify mt-5 mb-8 px-5 sm:px-0"},[e("div",{staticClass:"w-full max-w-md relative visible md:invisible"},[t.showCreatePlaylist?e("button",{staticClass:"text-white bg-black focus:outline-none absolute right-0 top-0",on:{click:function(e){t.showCreatePlaylist=!1}}},[e("span",{staticClass:"sr-only"},[t._v("Close")]),t._v(" "),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])]):t._e()]),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-left uppercase"},[t._v(t._s(t.categorie))]),t._v(" "),e("h2",{staticClass:"text-xl font-bold text-left"},[t.defaultVideo.episode?e("span",[t._v("Épisode "+t._s(t.defaultVideo.episode)+" - ")]):t._e(),t._v(t._s(t.defaultVideo.title))]),t._v(" "),t.defaultVideo.place||t.defaultVideo.city?e("h3",[t._v(t._s(t.defaultVideo.place)),t.defaultVideo.place&&t.defaultVideo.city?e("span",[t._v(" - ")]):t._e(),t._v(t._s(t.defaultVideo.city))]):t._e(),t._v(" "),e("h4",{staticClass:"mb-4 capitalize text-sm"},[t._v(t._s(t._f("moment")(t.defaultVideo.published_at,"DD MMMM YYYY")))]),t._v(" "),t.showCreatePlaylist?e("div",[t.$page.props.user?e("div",{staticClass:"mb-3"},[t.playlists.length?e("div",[e("h2",{staticClass:"uppercase font-bold mb-2"},[t._v("Ajouter à une playlist")]),t._v(" "),e("div",{staticClass:"mb-4"},t._l(t.playlists,(function(n){return e("div",{key:n.id},[e("inertia-link",{staticClass:"focus:outline-none",attrs:{as:"button",method:"POST",href:t.route("playlists.add-video",[n.id,t.defaultVideo.id]),only:["playlists"],"preserve-scroll":""}},[e("label",{staticClass:"flex items-center"},[e("zest-checkbox",{staticClass:"cursor-pointer",attrs:{name:"playlist",checked:n.is_in_playlist}}),t._v(" "),e("span",{staticClass:"ml-5 text-sm text-gray-600 cursor-pointer font-semibold"},[t._v(t._s(n.title)+" - "+t._s(n.videos_count+" "+(n.videos_count>1?"vidéos":"vidéo")))])],1)])],1)})),0)]):t._e(),t._v(" "),e("h2",{staticClass:"uppercase font-bold mb-2"},[t._v("Créer une nouvelle playlist")]),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.createPlaylist.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.formCreatePlaylist.video_id,expression:"formCreatePlaylist.video_id"}],attrs:{type:"hidden",required:""},domProps:{value:t.formCreatePlaylist.video_id},on:{input:function(e){e.target.composing||t.$set(t.formCreatePlaylist,"video_id",e.target.value)}}}),t._v(" "),e("zest-input",{staticClass:"block w-full max-w-md",attrs:{id:"playlist_title",type:"text",placeholder:"Entrer le titre de la playlist ici",required:""},model:{value:t.formCreatePlaylist.title,callback:function(e){t.$set(t.formCreatePlaylist,"title",e)},expression:"formCreatePlaylist.title"}}),t._v(" "),e("zest-button",{staticClass:"my-3 w-full max-w-md",class:{"opacity-25":t.formCreatePlaylist.processing},attrs:{disabled:t.formCreatePlaylist.processing}},[t._v("\n                            Ajouter à la playlist\n                        ")])],1)]):t._e()]):e("div",[e("tags",{attrs:{string:t.tags,type:"video"}}),t._v(" "),e("div",{attrs:{id:"WEB_MPAVE_ATF_READ"}}),t._v(" "),e("p",{staticClass:"my-5 page-content",domProps:{innerHTML:t._s(t.defaultVideo.description)}}),t._v(" "),e("div",{staticClass:"text-center mt-10"},[e("p",{staticClass:"font-bold mb-3"},[t._v("Vous avez aimé ?")]),t._v(" "),e("share",{attrs:{title:t.defaultVideo.title,url:t.url}})],1),t._v(" "),e("div",{attrs:{id:"WEB_MPAVE_ATF_READ"}})],1)]),t._v(" "),e("hr"),t._v(" "),e("h1",{staticClass:"text-xl font-bold text-center mt-5 mb-8"},[t._v("PLUS DE VIDEOS À DÉCOUVRIR")]),t._v(" "),e("card-video-list",{staticClass:"mb-10",attrs:{videos:t.videos,"show-category":!0}})],1)}),[],!1,null,null,null).exports},83447:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(85489),i=n(3277),o=n(50171),a=n(70497),s=n(53364),l=n(47076);const c={layout:r.Z,components:{ZestButton:i.Z,ZestDialogModal:o.Z,HorizontalList:s.Z,CardVideo:l.Z,Player:a.Z},props:{event:Object,majeur:Boolean,videos:Array,video:Object},data:function(){return{modalCheckAge:!this.majeur}},methods:{closeModal:function(){this.modalCheckAge=!1},setMajeur:function(t){axios.get(route("vinocite.majeur",{value:t})).then(function(t){this.closeModal(),0==t.data.majeur&&this.$inertia.get(route("homepage"))}.bind(this))},changeVideo:function(t){this.video.vimeo_id=t},ended:function(){axios.get(route("vinocite.next",[this.video.id])).then(function(t){t.data.video.id&&(this.video.vimeo_id=t.data.video.vimeo_id)}.bind(this))}}};const u=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",[e("zest-dialog-modal",{attrs:{show:t.modalCheckAge},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"text-center mx-10"},[e("p",[t._v("Êtes-vous légalement en âge de consommer de l’alcool dans votre pays de résidence ?")]),t._v(" "),e("div",{staticClass:"mt-5 mb-3"},[e("zest-button",{staticClass:"mx-2",attrs:{type:"button"},nativeOn:{click:function(e){return t.setMajeur(!0)}}},[t._v("Oui")]),t._v(" "),e("zest-button",{staticClass:"mx-2",attrs:{type:"button"},nativeOn:{click:function(e){return t.setMajeur(!1)}}},[t._v("Non")])],1)])]},proxy:!0}])}),t._v(" "),e("div",{staticClass:"container mx-auto"},[e("player",{ref:"player",staticClass:"mb-5",attrs:{"video-id":t.video.vimeo_id},on:{ended:t.ended}}),t._v(" "),t.videos.length>1?e("div",[e("horizontal-list",{staticClass:"mb-8",attrs:{items:t.videos},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.item;return[e("div",{on:{click:function(e){return t.changeVideo(r.vimeo_id)}}},[e("div",{staticClass:"relative"},[e("img",{attrs:{src:r.photo,alt:""}}),t._v(" "),e("span",{staticClass:"absolute right-0 bottom-0 text-white p-1 text-sm",staticStyle:{"background-color":"#333030"}},[t._v(t._s(r.duration))])]),t._v(" "),r.episode||r.title?e("div",{staticClass:"font-bold text-center sm:text-left mt-2"},[e("h3",[r.episode?e("span",[t._v("Épisode "+t._s(r.episode)+" - ")]):t._e(),t._v(t._s(r.title))])]):t._e()])]}}],null,!1,3626512690)})],1):t._e(),t._v(" "),e("h1",{staticClass:"text-4xl text-center font-bold",staticStyle:{color:"#B86A81"}},[t._v("VINOCITÉ")]),t._v(" "),e("h2",{staticClass:"text-xl text-center font-bold"},[t._v("LE SALON DU VIN ET DU CHAMPAGNE A LA REUNION")]),t._v(" "),e("div",{staticClass:"px-3 sm:px-0 text-justify my-5 page-content",domProps:{innerHTML:t._s(t.event.content)}}),t._v(" "),t._e()],1)],1)}),[],!1,null,null,null).exports},86718:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var r=n(85489),i=n(83933);const o={layout:r.Z,components:{ZestButtonLink:i.Z},props:{event:Object}};const a=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container mx-auto"},[e("img",{staticClass:"w-full object-cover mb-5",staticStyle:{"max-height":"40rem"},attrs:{src:t.event.photo,alt:""}}),t._v(" "),e("h1",{staticClass:"text-4xl text-center font-bold",staticStyle:{color:"#C68625"}}
2,[t._v("ZESTIVAL")]),t._v(" "),e("h2",{staticClass:"text-xl text-center font-bold"},[t._v("LE SALON DU TERROIR ET DE LA GASTRONOMIE A LA REUNION")]),t._v(" "),e("div",{staticClass:"px-3 sm:px-0 text-justify my-5 page-content",domProps:{innerHTML:t._s(t.event.content)}}),t._v(" "),t._e()])])}),[],!1,null,null,null).exports},51900:(t,e,n)=>{"use strict";function r(t,e,n,r,i,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,{Z:()=>r})},94710:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(74850),i=n(25674);const o={mixins:[r.Z,i.Z],inject:["mapbox","map","actions"],props:{position:{type:String,default:"top-right"}},beforeDestroy(){this.map&&this.control&&this.map.removeControl(this.control)},methods:{$_addControl(){try{this.map.addControl(this.control,this.position)}catch(t){return void this.$_emitEvent("error",{error:t})}this.$_emitEvent("added",{control:this.control})}},render(){}}},25674:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r={methods:{$_emitSelfEvent(t,e={}){this.$_emitMapEvent(t,{control:this.control,...e})},$_bindSelfEvents(t,e){Object.keys(this.$listeners).forEach((n=>{t.includes(n)&&e.on(n,this.$_emitSelfEvent)}))},$_unbindSelfEvents(t,e){0!==t.length&&e&&t.forEach((t=>{e.off(t,this.$_emitSelfEvent)}))}}}},74850:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r={methods:{$_emitEvent(t,e={}){this.$emit(t,{map:this.map,component:this,...e})},$_emitMapEvent(t,e={}){this.$_emitEvent(t.type,{mapboxEvent:t,...e})}}}},57204:(t,e,n)=>{"use strict";n.d(e,{tQ:()=>N,d3:()=>B,fQ:()=>F,Q3:()=>Y,xM:()=>Z,RV:()=>R,eO:()=>H,RQ:()=>$});var r=n(74850);const i={resize:{name:"resize"},webglcontextlost:{name:"webglcontextlost"},webglcontextrestored:{name:"webglcontextrestored"},remove:{name:"remove"},movestart:{name:"movestart"},load:{name:"load"},contextmenu:{name:"contextmenu"},dblclick:{name:"dblclick"},click:{name:"click"},touchcancel:{name:"touchcancel"},touchmove:{name:"touchmove"},touchend:{name:"touchend"},touchstart:{name:"touchstart"},dataloading:{name:"dataloading"},mousemove:{name:"mousemove"},mouseup:{name:"mouseup"},mousedown:{name:"mousedown"},sourcedataloading:{name:"sourcedataloading"},error:{name:"error"},data:{name:"data"},styledata:{name:"styledata"},sourcedata:{name:"sourcedata"},mouseout:{name:"mouseout"},styledataloading:{name:"styledataloading"},moveend:{name:"moveend"},move:{name:"move"},render:{name:"render"},zoom:{name:"zoom"},zoomstart:{name:"zoomstart"},zoomend:{name:"zoomend"},boxzoomstart:{name:"boxzoomstart"},boxzoomcancel:{name:"boxzoomcancel"},boxzoomend:{name:"boxzoomend"},rotate:{name:"rotate"},rotatestart:{name:"rotatestart"},rotateend:{name:"rotateend"},dragend:{name:"dragend"},drag:{name:"drag"},dragstart:{name:"dragstart"},pitch:{name:"pitch"},idle:{name:"idle"}},o={container:{type:[String,HTMLElement],default:()=>`map-${(""+Math.random()).split(".")[1]}`},accessToken:{type:String,default:void 0},minZoom:{type:Number,default:0},maxZoom:{type:Number,default:22},mapStyle:{type:[String,Object],required:!0},hash:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},bearingSnap:{type:Number,default:7},pitchWithRotate:{type:Boolean,default:!0},clickTolerance:{type:Number,default:3},attributionControl:{type:Boolean,default:!0},customAttribution:{type:[String,Array],default:null},logoPosition:{type:String,default:"bottom-left",validator:t=>["top-left","top-right","bottom-left","bottom-right"].includes(t)},failIfMajorPerformanceCaveat:{type:Boolean,default:!1},preserveDrawingBuffer:{type:Boolean,default:!1},refreshExpiredTiles:{type:Boolean,default:!0},maxBounds:{type:Array,default(){}},scrollZoom:{type:[Boolean,Object],default:()=>!0},boxZoom:{type:Boolean,default:!0},dragRotate:{type:Boolean,default:!0},dragPan:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},doubleClickZoom:{type:Boolean,default:!0},touchZoomRotate:{type:[Boolean,Object],default:()=>!0},trackResize:{type:Boolean,default:!0},center:{type:[Object,Array],default:void 0},zoom:{type:Number,default:0},bearing:{type:Number,default:0},pitch:{type:Number,default:0},initialBounds:{type:[Object,Array],default:void 0},renderWorldCopies:{type:Boolean,default:!0},RTLTextPluginUrl:{type:String,default:void 0},light:{type:Object,default:void 0},tileBoundaries:{type:Boolean,default:!1},collisionBoxes:{type:Boolean,default:!1},repaint:{type:Boolean,default:!1},transformRequest:{type:Function,default:null}
2,maxTileCacheSize:{type:Number,default:null},localIdeographFontFamily:{type:String,default:null},collectResourceTiming:{type:Boolean,default:!1},fadeDuration:{type:Number,default:300},crossSourceCollisions:{type:Boolean,default:!0}},a={maxBounds(t){this.map.setMaxBounds(t)},minZoom(t){this.map.setMinZoom(t)},maxZoom(t){this.map.setMaxZoom(t)},mapStyle(t){this.map.setStyle(t)},collisionBoxes(t){this.map.showCollisionBoxes=t},tileBoundaries(t){this.map.showTileBoundaries=t},repaint(t){this.map.repaint=t},zoom(t){this.map.setZoom(t)},center(t){this.map.setCenter(t)},bearing(t){this.map.setBearing(t)},pitch(t){this.map.setPitch(t)},light(t){this.map.setLigh(t)}};function s(t,e,n,r){this.initial||(this.$listeners[`update:${t}`]?(this.propsIsUpdating[t]?(this._watcher.active=!1,this.$nextTick((()=>{this._watcher.active=!0}))):(this._watcher.active=!0,e(n,r)),this.propsIsUpdating[t]=!1):e(n,r))}const l={watch:function(){const t={};return Object.entries(a).forEach((e=>{t[e[0]]=function(t,n){return s.call(this,e[0],e[1].bind(this),t,n)}})),t}()},c={methods:{$_updateSyncedPropsFabric(t,e){return()=>{this.propsIsUpdating[t]=!0;let n="function"==typeof e?e():e;return this.$emit(`update:${t}`,n)}},$_bindPropsUpdateEvents(){[{events:["moveend"],prop:"center",getter:this.map.getCenter.bind(this.map)},{events:["zoomend"],prop:"zoom",getter:this.map.getZoom.bind(this.map)},{events:["rotate"],prop:"bearing",getter:this.map.getBearing.bind(this.map)},{events:["pitch"],prop:"pitch",getter:this.map.getPitch.bind(this.map)}].forEach((({events:t,prop:e,getter:n})=>{t.forEach((t=>{this.$listeners[`update:${e}`]&&this.map.on(t,this.$_updateSyncedPropsFabric(e,n))}))}))},$_loadMap(){return this.mapboxPromise.then((t=>(this.mapbox=t.default?t.default:t,new Promise((t=>{this.accessToken&&(this.mapbox.accessToken=this.accessToken);const e=new this.mapbox.Map({...this._props,container:this.$refs.container,style:this.mapStyle});e.on("load",(()=>t(e)))})))))},$_RTLTextPluginError(t){this.$emit("rtl-plugin-error",{map:this.map,error:t})},$_bindMapEvents(t){Object.keys(this.$listeners).forEach((e=>{t.includes(e)&&this.map.on(e,this.$_emitMapEvent)}))},$_unbindEvents(t){t.forEach((t=>{this.map.off(t,this.$_emitMapEvent)}))}}};var u=n(70755),d=n.n(u);const h={name:"GlMap",mixins:[l,{created(){this.actions={}},methods:{$_registerAsyncActions(t){this.actions={...d()(t),stop(){this.map.stop();const t={pitch:this.map.getPitch(),zoom:this.map.getZoom(),bearing:this.map.getBearing(),center:this.map.getCenter()};return Object.entries(t).forEach((t=>{this.$_updateSyncedPropsFabric(t[0],t[1])()})),Promise.resolve(t)}}}}},c,r.Z],props:{mapboxGl:{type:Object,default:null},...o},provide(){const t=this;return{get mapbox(){return t.mapbox},get map(){return t.map},get actions(){return t.actions}}},data:()=>({initial:!0,initialized:!1}),computed:{loaded(){return!!this.map&&this.map.loaded()},version(){return this.map?this.map.version:null},bounds(){return this.map?this.map.getBounds():null},isStyleLoaded(){return!!this.map&&this.map.isStyleLoaded()},areTilesLoaded(){return!!this.map&&this.map.areTilesLoaded()},isMoving(){return!!this.map&&this.map.isMoving()},canvas(){return this.map?this.map.getCanvas():null},canvasContainer(){return this.map?this.map.getCanvasContainer():null},images(){return this.map?this.map.listImages():null}},created(){this.map=null,this.propsIsUpdating={},this.mapboxPromise=this.mapboxGl?Promise.resolve(this.mapboxGl):Promise.resolve().then(n.t.bind(n,6158,23))},mounted(){this.$_loadMap().then((t=>{this.map=t,void 0!==this.RTLTextPluginUrl&&this.mapbox.setRTLTextPlugin(this.RTLTextPluginUrl,this.$_RTLTextPluginError);const e=Object.keys(i);this.$_bindMapEvents(e),this.$_registerAsyncActions(t),this.$_bindPropsUpdateEvents(),this.initial=!1,this.initialized=!0,this.$emit("load",{map:t,component:this})}))},beforeDestroy(){this.$nextTick((()=>{this.map&&this.map.remove()}))}};var f=n(93379),p=n.n(f),m=n(98296),_={insert:"head",singleton:!1};p()(m.Z,_);m.Z.locals;var v=n(51900);const g=(0,v.Z)(h,(function(){var t=this;return(0,t._self._c)("div",{staticClass:"mgl-map-wrapper"},[t._m(0),t._v(" "),t.initialized?t._t("default"):t._e()],2)}),[function(){return(0,this._self._c)("div",{ref:"container",attrs:{id:this.container}}
2)}],!1,null,null,null).exports;var y=n(94710);const b={name:"NavigationControl",mixins:[y.Z],props:{showCompass:{type:Boolean,default:!0},showZoom:{type:Boolean,default:!0}},created(){this.control=new this.mapbox.NavigationControl(this.$props),this.$_addControl()}};var x=n(25674);const w={trackuserlocationstart:"trackuserlocationstart",trackuserlocationend:"trackuserlocationend",geolocate:"geolocate",error:"error"},k={name:"GeolocateControl",mixins:[r.Z,x.Z,y.Z],props:{positionOptions:{type:Object,default:()=>({enableHighAccuracy:!1,timeout:6e3})},fitBoundsOptions:{type:Object,default:()=>({maxZoom:15})},trackUserLocation:{type:Boolean,default:!1},showUserLocation:{type:Boolean,default:!0}},created(){const t=this.mapbox.GeolocateControl;this.control=new t(this.$props),this.$_addControl(),this.$_bindSelfEvents(Object.keys(w),this.control)},methods:{trigger(){if(this.control)return this.control.trigger()}}},M={name:"FullscreenControl",mixins:[y.Z],props:{container:{type:HTMLElement,default:void 0}},created(){this.control=new this.mapbox.FullscreenControl(this.$props),this.$_addControl()}},C={name:"AttributionControl",mixins:[y.Z],props:{compact:{type:Boolean,default:!0},customAttribution:{type:[String,Array],deafault:void 0}},created(){this.control=new this.mapbox.AttributionControl(this.$props),this.$_addControl()}},S={name:"ScaleControl",mixins:[y.Z],props:{maxWidth:{type:Number,default:150},unit:{type:String,default:"metric",validator:t=>["imperial","metric","nautical"].includes(t)}},watch:{unit(t,e){this.control&&t!==e&&this.control.setUnit(t)}},created(){this.control=new this.mapbox.ScaleControl(this.$props),this.$_addControl()}};const T={drag:"drag",dragstart:"dragstart",dragend:"dragend"}
2,L={click:"click",mouseenter:"mouseenter",mouseleave:"mouseleave"},E={name:"MapMarker",mixins:[r.Z,x.Z],inject:["mapbox","map"],provide(){const t=this;return{get marker(){return t.marker}}},props:{offset:{type:[Object,Array],default:()=>[0,0]},coordinates:{type:Array,required:!0},color:{type:String},anchor:{type:String,default:"center"},draggable:{type:Boolean,default:!1}},data:()=>({initial:!0,marker:void 0}),watch:{coordinates(t){this.initial||this.marker.setLngLat(t)},draggable(t){this.initial||this.marker.setDraggable(t)}},mounted(){const t={...this.$props};this.$slots.marker&&(t.element=this.$slots.marker[0].elm),this.marker=new this.mapbox.Marker(t),this.$listeners["update:coordinates"]&&this.marker.on("dragend",(t=>{let e;e=this.coordinates instanceof Array?[t.target._lngLat.lng,t.target._lngLat.lat]:t.target._lngLat,this.$emit("update:coordinates",e)}));const e=Object.keys(T);this.$_bindSelfEvents(e,this.marker),this.initial=!1,this.$_addMarker()},beforeDestroy(){void 0!==this.map&&void 0!==this.marker&&this.marker.remove()},methods:{$_addMarker(){this.marker.setLngLat(this.coordinates).addTo(this.map),this.$_bindMarkerDOMEvents(),this.$_emitEvent("added",{marker:this.marker})},$_emitSelfEvent(t){this.$_emitMapEvent(t,{marker:this.marker})},$_bindMarkerDOMEvents(){Object.keys(this.$listeners).forEach((t=>{Object.values(L).includes(t)&&this.marker._element.addEventListener(t,(t=>{this.$_emitSelfEvent(t)}))}))},remove(){this.marker.remove(),this.$_emitEvent("removed")},togglePopup(){return this.marker.togglePopup()}}};const A=(0,v.Z)(E,(function(){var t=this;return(0,t._self._c)("div",{staticStyle:{display:"none"}},[t._t("marker"),t._v(" "),t.marker?t._t("default"):t._e()],2)}),[],!1,null,null,null).exports;const D={open:"open",close:"close"},O={name:"Popup",mixins:[r.Z,x.Z],inject:{mapbox:{default:null},map:{default:null},marker:{default:null}},props:{closeButton:{type:Boolean,default:!0},closeOnClick:{type:Boolean,default:!0},anchor:{validator:t=>"string"==typeof t&&["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"].includes(t),default:void 0},offset:{type:[Number,Object,Array],default:()=>[0,0]},coordinates:{type:Array},onlyText:{type:Boolean,default:!1},showed:{type:Boolean,default:!1}},data:()=>({initial:!0,popup:void 0}),computed:{open:{get(){return void 0!==this.popup&&this.popup.isOpen()},set(t){this.map&&this.popup&&(t?this.popup.remove():this.popup.addTo(this.map))}}},watch:{coordinates(t){this.initial||this.popup.setLngLat(t)},showed(t,e){t!==e&&(this.open=t,this.marker&&this.marker.togglePopup())}},created(){this.popup=new this.mapbox.Popup(this.$props)},mounted(){this.$_addPopup(),this.initial=!1},beforeDestroy(){this.map&&(this.popup.remove(),this.$_emitEvent("removed"))},methods:{$_addPopup(){if(this.popup=new this.mapbox.Popup(this.$props),void 0!==this.coordinates&&this.popup.setLngLat(this.coordinates),void 0!==this.$slots.default)if(this.onlyText)if(3===this.$slots.default[0].elm.nodeType){let t=document.createElement("span");t.appendChild(this.$slots.default[0].elm),this.popup.setText(t.innerText)}else this.popup.setText(this.$slots.default[0].elm.innerText);else this.popup.setDOMContent(this.$slots.default[0].elm);this.$_bindSelfEvents(Object.keys(D),this.popup),this.$_emitEvent("added",{popup:this.popup}),this.marker&&this.marker.setPopup(this.popup),this.showed&&(this.open=!0,this.marker&&this.marker.togglePopup())},$_emitSelfEvent(t){this.$_emitMapEvent(t,{popup:this.popup})},remove(){this.popup.remove(),this.$_emitEvent("remove",{popup:this.popup})}}};const z=(0,v.Z)(O,(function(){return(0,this._self._c)("div",{staticStyle:{display:"none"}},[this._t("default")],2)}),[],!1,null,null,null).exports,P={sourceId:{type:String,required:!0},source:{type:[Object,String],default:void 0}},j={layerId:{type:String,required:!0},layer:{type:Object,required:!0},before:{type:String,default:void 0}},I={clearSource:{type:Boolean,default:!0},replaceSource:{type:Boolean,default:!1},replace:{type:Boolean,default:!1}},Y=(r.Z,r.Z,x.Z,y.Z,g),R=b,F=k,B=M,N=C,$=S,Z=A,H=z},42513:function(t,e,n){!function(t){"use strict";var e="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function r(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function i(t,e){return t(e={exports:{}},e.exports),e.exports}var o=i((function(t,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e,r){"object"===i(n)?t.exports=r():e.moment=r()}(e,(function(){var e,n;function o(){return e.apply(null,arguments)}function a(t){e=t}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function l(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;
vendor: 5,172 bytes, line 2
2for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function u(t){return void 0===t}function d(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function m(t,e){for(var n in e)p(e,n)&&(t[n]=e[n]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function _(t,e,n,r){return qn(t,e,n,r,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(t){return null==t._pf&&(t._pf=v()),t._pf}function y(t){if(null==t._isValid){var e=g(t),r=n.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function b(t){var e=_(NaN);return null!=t?m(g(e),t):g(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var x=o.momentProperties=[];function w(t,e){var n,r,i;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=g(e)),u(e._locale)||(t._locale=e._locale),x.length>0)for(n=0;n<x.length;n++)u(i=e[r=x[n]])||(t[r]=i);return t}var k=!1;function M(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,o.updateOffset(this),k=!1)}function C(t){return t instanceof M||null!=t&&null!=t._isAMomentObject}function S(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function T(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=S(e)),n}function L(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&T(t[r])!==T(e[r]))&&a++;return a+o}function E(t){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function A(t,e){var n=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),n){for(var r,a=[],s=0;s<arguments.length;s++){if(r="","object"===i(arguments[s])){for(var l in r+="\n["+s+"] ",arguments[0])r+=l+": "+arguments[0][l]+", ";r=r.slice(0,-2)}else r=arguments[s];a.push(r)}E(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var D,O={};function z(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),O[t]||(E(e),O[t]=!0)}function P(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function j(t){var e,n;for(n in t)P(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(t,e){var n,r=m({},t);for(n in e)p(e,n)&&(l(t[n])&&l(e[n])?(r[n]={},m(r[n],t[n]),m(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)p(t,n)&&!p(e,n)&&l(t[n])&&(r[n]=m({},r[n]));return r}function Y(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,D=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)p(t,e)&&n.push(e);return n};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return P(r)?r.call(e,n):r}var B={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function N(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])}var $="Invalid date";function Z(){return this._invalidDate}var H="%d",V=/\d{1,2}/;function U(t){return this._ordinal.replace("%d",t)}var W={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function G(t,e,n,r){var i=this._relativeTime[n];return P(i)?i(t,e,n,r):i.replace(/%d/i,t)}function q(t,e){var n=this._relativeTime[t>0?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)}var X={};function J(t,e){var n=t.toLowerCase();X[n]=X[n+"s"]=X[e]=t}function K(t){return"string"==typeof t?X[t]||X[t.toLowerCase()]:void 0}function Q(t){var e,n,r={};
vendor: 15,535 bytes, line 2
2for(n in t)p(t,n)&&(e=K(n))&&(r[e]=t[n]);return r}var tt={};function et(t,e){tt[t]=e}function nt(t){var e=[];for(var n in t)e.push({unit:n,priority:tt[n]});return e.sort((function(t,e){return t.priority-e.priority})),e}function rt(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var it=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ot=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},st={};function lt(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(st[t]=i),e&&(st[e[0]]=function(){return rt(i.apply(this,arguments),e[1],e[2])}),n&&(st[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function ct(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function ut(t){var e,n,r=t.match(it);for(e=0,n=r.length;e<n;e++)st[r[e]]?r[e]=st[r[e]]:r[e]=ct(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=P(r[i])?r[i].call(e,t):r[i];return o}}function dt(t,e){return t.isValid()?(e=ht(e,t.localeData()),at[e]=at[e]||ut(e),at[e](t)):t.localeData().invalidDate()}function ht(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(ot.lastIndex=0;n>=0&&ot.test(t);)t=t.replace(ot,r),ot.lastIndex=0,n-=1;return t}var ft=/\d/,pt=/\d\d/,mt=/\d{3}/,_t=/\d{4}/,vt=/[+-]?\d{6}/,gt=/\d\d?/,yt=/\d\d\d\d?/,bt=/\d\d\d\d\d\d?/,xt=/\d{1,3}/,wt=/\d{1,4}/,kt=/[+-]?\d{1,6}/,Mt=/\d+/,Ct=/[+-]?\d+/,St=/Z|[+-]\d\d:?\d\d/gi,Tt=/Z|[+-]\d\d(?::?\d\d)?/gi,Lt=/[+-]?\d+(\.\d{1,3})?/,Et=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,At={};function Dt(t,e,n){At[t]=P(e)?e:function(t,r){return t&&n?n:e}}function Ot(t,e){return p(At,t)?At[t](e._strict,e._locale):new RegExp(zt(t))}function zt(t){return Pt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i})))}function Pt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var jt={};function It(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),d(e)&&(r=function(t,n){n[e]=T(t)}),n=0;n<t.length;n++)jt[t[n]]=r}function Yt(t,e){It(t,(function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}function Rt(t,e,n){null!=e&&p(jt,t)&&jt[t](e,n._a,n,t)}var Ft=0,Bt=1,Nt=2,$t=3,Zt=4,Ht=5,Vt=6,Ut=7,Wt=8;function Gt(t){return qt(t)?366:365}function qt(t){return t%4==0&&t%100!=0||t%400==0}lt("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),lt(0,["YY",2],0,(function(){return this.year()%100})),lt(0,["YYYY",4],0,"year"),lt(0,["YYYYY",5],0,"year"),lt(0,["YYYYYY",6,!0],0,"year"),J("year","y"),et("year",1),Dt("Y",Ct),Dt("YY",gt,pt),Dt("YYYY",wt,_t),Dt("YYYYY",kt,vt),Dt("YYYYYY",kt,vt),It(["YYYYY","YYYYYY"],Ft),It("YYYY",(function(t,e){e[Ft]=2===t.length?o.parseTwoDigitYear(t):T(t)})),It("YY",(function(t,e){e[Ft]=o.parseTwoDigitYear(t)})),It("Y",(function(t,e){e[Ft]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return T(t)+(T(t)>68?1900:2e3)};var Xt,Jt=Qt("FullYear",!0);function Kt(){return qt(this.year())}function Qt(t,e){return function(n){return null!=n?(ee(this,t,n),o.updateOffset(this,e),this):te(this,t)}}function te(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ee(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&qt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),oe(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function ne(t){return P(this[t=K(t)])?this[t]():this}function re(t,e){if("object"===(void 0===t?"undefined":i(t)))for(var n=nt(t=Q(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(P(this[t=K(t)]))return this[t](e);return this}function ie(t,e){return(t%e+e)%e}function oe(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ie(e,12);return t+=(e-n)/12,1===n?qt(t)?29:28:31-n%7%2}Xt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},lt("M",["MM",2],"Mo",(function(){return this.month()+1})),lt("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),lt("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),J("month","M"),et("month",8),Dt("M",gt),Dt("MM",gt,pt),Dt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Dt("MMMM",(function(t,e){return e.monthsRegex(t)})),It(["M","MM"],(function(t,e){e[Bt]=T(t)-1})),It(["MMM","MMMM"],(function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[Bt]=i:g(n).invalidMonth=t}));var ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,se="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function le(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ae).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone}var ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ue(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ae.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function de(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Xt.call(this._shortMonthsParse,a))?i:null:-1!==(i=Xt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=Xt.call(this._shortMonthsParse,a))||-1!==(i=Xt.call(this._longMonthsParse,a))?i:null:-1!==(i=Xt.call(this._longMonthsParse,a))||-1!==(i=Xt.call(this._shortMonthsParse,a))?i:null}function he(t,e,n){var r,i,o;if(this._monthsParseExact)return de.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function fe(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=T(e);else if(!d(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),oe(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function pe(t){return null!=t?(fe(this,t),o.updateOffset(this,!0),this):te(this,"Month")}function me(){return oe(this.year(),this.month())}var _e=Et;function ve(t){return this._monthsParseExact?(p(this,"_monthsRegex")||be.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=_e),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}var ge=Et;function ye(t){return this._monthsParseExact?(p(this,"_monthsRegex")||be.call(this),t?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=ge),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function be(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=_([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Pt(r[e]),i[e]=Pt(i[e]);for(e=0;e<24;e++)o[e]=Pt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function xe(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function we(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function ke(t,e,n){var r=7+e-n;return-(7+we(t,0,r).getUTCDay()-e)%7+r-1}function Me(t,e,n,r,i){var o,a,s=1+7*(e-1)+(7+n-r)%7+ke(t,r,i);return s<=0?a=Gt(o=t-1)+s:s>Gt(t)?(o=t+1,a=s-Gt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Ce(t,e,n){var r,i,o=ke(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?r=a+Se(i=t.year()-1,e,n):a>Se(t.year(),e,n)?(r=a-Se(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Se(t,e,n){var r=ke(t,e,n),i=ke(t+1,e,n);return(Gt(t)-r+i)/7}function Te(t){return Ce(t,this._week.dow,this._week.doy).week}lt("w",["ww",2],"wo","week"),lt("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),et("week",5),et("isoWeek",5),Dt("w",gt),Dt("ww",gt,pt),Dt("W",gt),Dt("WW",gt,pt),Yt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=T(t)}));var Le={dow:0,doy:6};function Ee(){return this._week.dow}function Ae(){return this._week.doy}function De(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Oe(t){var e=Ce(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function ze(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function je(t,e){return t.slice(e,7).concat(t.slice(0,e))}lt("d",0,"do","day"),lt("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),lt("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),lt("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),lt("e",0,0,"weekday"),lt("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),et("day",11),et("weekday",11),et("isoWeekday",11),Dt("d",gt),Dt("e",gt),Dt("E",gt),Dt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Dt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Dt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Yt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:g(n).invalidWeekday=t})),Yt(["d","e","E"],(function(t,e,n,r){e[r]=T(t)}));var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Ye(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?je(n,this._week.dow):t?n[t.day()]:n}var Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Fe(t){return!0===t?je(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}var Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ne(t){return!0===t?je(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function $e(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Xt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Xt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Xt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=Xt.call(this._weekdaysParse,a))||-1!==(i=Xt.call(this._shortWeekdaysParse,a))||-1!==(i=Xt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Xt.call(this._shortWeekdaysParse,a))||-1!==(i=Xt.call(this._weekdaysParse,a))||-1!==(i=Xt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Xt.call(this._minWeekdaysParse,a))||-1!==(i=Xt.call(this._weekdaysParse,a))||-1!==(i=Xt.call(this._shortWeekdaysParse,a))?i:null}function Ze(t,e,n){var r,i,o;if(this._weekdaysParseExact)return $e.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function He(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=ze(t,this.localeData()),this.add(t-e,"d")):e}function Ve(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}var We=Et;function Ge(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}var qe=Et;function Xe(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Je=Et;function Ke(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qe(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=_([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=Pt(s[e]),l[e]=Pt(l[e]),c[e]=Pt(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function tn(){return this.hours()%12||12}function en(){return this.hours()||24}function nn(t,e){lt(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function rn(t,e){return e._meridiemParse}function on(t){return"p"===(t+"").toLowerCase().charAt(0)}lt("H",["HH",2],0,"hour"),lt("h",["hh",2],0,tn),lt("k",["kk",2],0,en),lt("hmm",0,0,(function(){return""+tn.apply(this)+rt(this.minutes(),2)}
vendor: 4,723 bytes, line 2
2)),lt("hmmss",0,0,(function(){return""+tn.apply(this)+rt(this.minutes(),2)+rt(this.seconds(),2)})),lt("Hmm",0,0,(function(){return""+this.hours()+rt(this.minutes(),2)})),lt("Hmmss",0,0,(function(){return""+this.hours()+rt(this.minutes(),2)+rt(this.seconds(),2)})),nn("a",!0),nn("A",!1),J("hour","h"),et("hour",13),Dt("a",rn),Dt("A",rn),Dt("H",gt),Dt("h",gt),Dt("k",gt),Dt("HH",gt,pt),Dt("hh",gt,pt),Dt("kk",gt,pt),Dt("hmm",yt),Dt("hmmss",bt),Dt("Hmm",yt),Dt("Hmmss",bt),It(["H","HH"],$t),It(["k","kk"],(function(t,e,n){var r=T(t);e[$t]=24===r?0:r})),It(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),It(["h","hh"],(function(t,e,n){e[$t]=T(t),g(n).bigHour=!0})),It("hmm",(function(t,e,n){var r=t.length-2;e[$t]=T(t.substr(0,r)),e[Zt]=T(t.substr(r)),g(n).bigHour=!0})),It("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[$t]=T(t.substr(0,r)),e[Zt]=T(t.substr(r,2)),e[Ht]=T(t.substr(i)),g(n).bigHour=!0})),It("Hmm",(function(t,e,n){var r=t.length-2;e[$t]=T(t.substr(0,r)),e[Zt]=T(t.substr(r))})),It("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[$t]=T(t.substr(0,r)),e[Zt]=T(t.substr(r,2)),e[Ht]=T(t.substr(i))}));var an=/[ap]\.?m?\.?/i;function sn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var ln,cn=Qt("Hours",!0),un={calendar:R,longDateFormat:B,invalidDate:$,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:W,months:se,monthsShort:ce,week:Le,weekdays:Ie,weekdaysMin:Be,weekdaysShort:Re,meridiemParse:an},dn={},hn={};function fn(t){return t?t.toLowerCase().replace("_","-"):t}function pn(t){for(var e,n,r,i,o=0;o<t.length;){for(e=(i=fn(t[o]).split("-")).length,n=(n=fn(t[o+1]))?n.split("-"):null;e>0;){if(r=mn(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&L(i,n,!0)>=e-1)break;e--}o++}return ln}function mn(e){var n=null;if(!dn[e]&&t&&t.exports)try{n=ln._abbr,r("./locale/"+e),_n(n)}catch(t){}return dn[e]}function _n(t,e){var n;return t&&((n=u(e)?yn(t):vn(t,e))?ln=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function vn(t,e){if(null!==e){var n,r=un;if(e.abbr=t,null!=dn[t])z("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=dn[t]._config;else if(null!=e.parentLocale)if(null!=dn[e.parentLocale])r=dn[e.parentLocale]._config;else{if(null==(n=mn(e.parentLocale)))return hn[e.parentLocale]||(hn[e.parentLocale]=[]),hn[e.parentLocale].push({name:t,config:e}),null;r=n._config}return dn[t]=new Y(I(r,e)),hn[t]&&hn[t].forEach((function(t){vn(t.name,t.config)})),_n(t),dn[t]}return delete dn[t],null}function gn(t,e){if(null!=e){var n,r,i=un;null!=(r=mn(t))&&(i=r._config),(n=new Y(e=I(i,e))).parentLocale=dn[t],dn[t]=n,_n(t)}else null!=dn[t]&&(null!=dn[t].parentLocale?dn[t]=dn[t].parentLocale:null!=dn[t]&&delete dn[t]);return dn[t]}function yn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!s(t)){if(e=mn(t))return e;t=[t]}return pn(t)}function bn(){return D(dn)}function xn(t){var e,n=t._a;return n&&-2===g(t).overflow&&(e=n[Bt]<0||n[Bt]>11?Bt:n[Nt]<1||n[Nt]>oe(n[Ft],n[Bt])?Nt:n[$t]<0||n[$t]>24||24===n[$t]&&(0!==n[Zt]||0!==n[Ht]||0!==n[Vt])?$t:n[Zt]<0||n[Zt]>59?Zt:n[Ht]<0||n[Ht]>59?Ht:n[Vt]<0||n[Vt]>999?Vt:-1,g(t)._overflowDayOfYear&&(e<Ft||e>Nt)&&(e=Nt),g(t)._overflowWeeks&&-1===e&&(e=Ut),g(t)._overflowWeekday&&-1===e&&(e=Wt),g(t).overflow=e),t}function wn(t,e,n){return null!=t?t:null!=e?e:n}function kn(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Mn(t){var e,n,r,i,o,a=[];if(!t._d){for(r=kn(t),t._w&&null==t._a[Nt]&&null==t._a[Bt]&&Cn(t),null!=t._dayOfYear&&(o=wn(t._a[Ft],r[Ft]),(t._dayOfYear>Gt(o)||0===t._dayOfYear)&&(g(t)._overflowDayOfYear=!0),n=we(o,0,t._dayOfYear),t._a[Bt]=n.getUTCMonth(),t._a[Nt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[$t]&&0===t._a[Zt]&&0===t._a[Ht]&&0===t._a[Vt]&&(t._nextDay=!0,t._a[$t]=0),t._d=(t._useUTC?we:xe).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[$t]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(g(t).weekdayMismatch=!0)}}function Cn(t){var e,n,r,i,o,a,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,a=4,n=wn(e.GG,t._a[Ft],Ce(Xn(),1,4).year),r=wn(e.W,1),((i=wn(e.E,1))<1||i>7)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=Ce(Xn(),o,a);n=wn(e.gg,t._a[Ft],c.year),r=wn(e.w,c.week),null!=e.d?((i=e.d)<0||i>
vendor: 5,467 bytes, line 2
26)&&(l=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(l=!0)):i=o}r<1||r>Se(n,o,a)?g(t)._overflowWeeks=!0:null!=l?g(t)._overflowWeekday=!0:(s=Me(n,r,i,o,a),t._a[Ft]=s.year,t._dayOfYear=s.dayOfYear)}var Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/Z|[+-]\d\d(?::?\d\d)?/,En=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],An=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Dn=/^\/?Date\((\-?\d+)/i;function On(t){var e,n,r,i,o,a,s=t._i,l=Sn.exec(s)||Tn.exec(s);if(l){for(g(t).iso=!0,e=0,n=En.length;e<n;e++)if(En[e][1].exec(l[1])){i=En[e][0],r=!1!==En[e][2];break}if(null==i)return void(t._isValid=!1);if(l[3]){for(e=0,n=An.length;e<n;e++)if(An[e][1].exec(l[3])){o=(l[2]||" ")+An[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(l[4]){if(!Ln.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),$n(t)}else t._isValid=!1}var zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Pn(t,e,n,r,i,o){var a=[jn(t),ce.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function jn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function In(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Yn(t,e,n){return!t||Re.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Rn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Fn(t,e,n){if(t)return Rn[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Bn(t){var e=zn.exec(In(t._i));if(e){var n=Pn(e[4],e[3],e[2],e[5],e[6],e[7]);if(!Yn(e[1],n,t))return;t._a=n,t._tzm=Fn(e[8],e[9],e[10]),t._d=we.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),g(t).rfc2822=!0}else t._isValid=!1}function Nn(t){var e=Dn.exec(t._i);null===e?(On(t),!1===t._isValid&&(delete t._isValid,Bn(t),!1===t._isValid&&(delete t._isValid,o.createFromInputFallback(t)))):t._d=new Date(+e[1])}function $n(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],g(t).empty=!0;var e,n,r,i,a,s=""+t._i,l=s.length,c=0;for(r=ht(t._f,t._locale).match(it)||[],e=0;e<r.length;e++)i=r[e],(n=(s.match(Ot(i,t))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&g(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),st[i]?(n?g(t).empty=!1:g(t).unusedTokens.push(i),Rt(i,n,t)):t._strict&&!n&&g(t).unusedTokens.push(i);g(t).charsLeftOver=l-c,s.length>0&&g(t).unusedInput.push(s),t._a[$t]<=12&&!0===g(t).bigHour&&t._a[$t]>0&&(g(t).bigHour=void 0),g(t).parsedDateParts=t._a.slice(0),g(t).meridiem=t._meridiem,t._a[$t]=Zn(t._locale,t._a[$t],t._meridiem),Mn(t),xn(t)}else Bn(t);else On(t)}function Zn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Hn(t){var e,n,r,i,o;if(0===t._f.length)return g(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],$n(e),y(e)&&(o+=g(e).charsLeftOver,o+=10*g(e).unusedTokens.length,g(e).score=o,(null==r||o<r)&&(r=o,n=e));m(t,n||e)}function Vn(t){if(!t._d){var e=Q(t._i);t._a=f([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Mn(t)}}function Un(t){var e=new M(xn(Wn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Wn(t){var e=t._i,n=t._f;return t._locale=t._locale||yn(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),C(e)?new M(xn(e)):(h(e)?t._d=e:s(n)?Hn(t):n?$n(t):Gn(t),y(t)||(t._d=null),t))}function Gn(t){var e=t._i;u(e)?t._d=new Date(o.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Nn(t):s(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),Mn(t)):l(e)?Vn(t):d(e)?t._d=new Date(e):o.createFromInputFallback(t)}function qn(t,e,n,r,i){var o={};return!0!==n&&!1!==n||(r=n,n=void 0),(l(t)&&c(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=t,o._f=e,o._strict=r,Un(o)}function Xn(t,e,n,r){return qn(t,e,n,r,!1)}o.createFromInputFallback=A("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){}
vendor: 5,575 bytes, line 2
2,o.RFC_2822=function(){};var Jn=A("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()})),Kn=A("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()}));function Qn(t,e){var n,r;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Xn();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function tr(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(t){for(var e in t)if(-1===Xt.call(rr,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<rr.length;++r)if(t[rr[r]]){if(n)return!1;parseFloat(t[rr[r]])!==T(t[rr[r]])&&(n=!0)}return!0}function or(){return this._isValid}function ar(){return Lr(NaN)}function sr(t){var e=Q(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=ir(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(t){return t instanceof sr}function cr(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ur(t,e){lt(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+rt(~~(t/60),2)+e+rt(~~t%60,2)}))}ur("Z",":"),ur("ZZ",""),Dt("Z",Tt),Dt("ZZ",Tt),It(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=hr(Tt,t)}));var dr=/([\+\-]|\d\d)/gi;function hr(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(dr)||["-",0,0],i=60*r[1]+T(r[2]);return 0===i?0:"+"===r[0]?i:-i}function fr(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(C(t)||h(t)?t.valueOf():Xn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Xn(t).local()}function pr(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function mr(t,e,n){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=hr(Tt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=pr(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?zr(this,Lr(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:pr(this)}function _r(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function vr(t){return this.utcOffset(0,t)}function gr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(pr(this),"m")),this}function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=hr(St,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function br(t){return!!this.isValid()&&(t=t?Xn(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t={};if(w(t,this),(t=Wn(t))._a){var e=t._isUTC?_(t._a):Xn(t._a);this._isDSTShifted=this.isValid()&&L(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Sr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lr(t,e){var n,r,o,a=t,s=null;return lr(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:d(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Sr.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:T(s[Nt])*n,h:T(s[$t])*n,m:T(s[Zt])*n,s:T(s[Ht])*n,ms:T(cr(1e3*s[Vt]))*n}):(s=Tr.exec(t))?(n="-"===s[1]?-1:1,a={y:Er(s[2],n),M:Er(s[3],n),w:Er(s[4],n),d:Er(s[5],n),h:Er(s[6],n),m:Er(s[7],n),s:Er(s[8],n)}):null==a?a={}:"object"===(void 0===a?"undefined":i(a))&&("from"in a||"to"in a)&&(o=Dr(Xn(a.from),Xn(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),r=new sr(a),lr(t)&&p(t,"_locale")&&(r._locale=t._locale),r}function Er(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ar(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Dr(t,e){var n;return t.isValid()&&e.isValid()?(e=fr(e,t),t.isBefore(e)?n=Ar(t,e):((n=Ar(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Or(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(z(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),zr(this,Lr(n="string"==typeof n?+n:n,r),t),this}}function zr(t,e,n,r){var i=e._milliseconds,a=cr(e._days),s=cr(e._months);t.isValid()&&(r=null==r||r,s&&fe(t,te(t,"Month")+s*n),a&&ee(t,"Date",te(t,"Date")+a*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&o.updateOffset(t,a||s))}
vendor: 5,063 bytes, line 2
2Lr.fn=sr.prototype,Lr.invalid=ar;var Pr=Or(1,"add"),jr=Or(-1,"subtract");function Ir(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(t,e){var n=t||Xn(),r=fr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=e&&(P(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Xn(n)))}function Rr(){return new M(this)}function Fr(t,e){var n=C(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=K(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Br(t,e){var n=C(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=K(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Nr(t,e,n,r){var i=C(t)?t:Xn(t),o=C(e)?e:Xn(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function $r(t,e){var n,r=C(t)?t:Xn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=K(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Zr(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Hr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Vr(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=fr(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=K(e)){case"year":o=Ur(this,r)/12;break;case"month":o=Ur(this,r);break;case"quarter":o=Ur(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)}function Ur(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Wr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Gr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?dt(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",dt(n,"Z")):dt(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function qr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=e+'[")]';return this.format(n+r+i+o)}function Xr(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=dt(this,t);return this.localeData().postformat(e)}function Jr(t,e){return this.isValid()&&(C(t)&&t.isValid()||Xn(t).isValid())?Lr({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Kr(t){return this.from(Xn(),t)}function Qr(t,e){return this.isValid()&&(C(t)&&t.isValid()||Xn(t).isValid())?Lr({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ti(t){return this.to(Xn(),t)}function ei(t){var e;return void 0===t?this._locale._abbr:(null!=(e=yn(t))&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ni=A("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ri(){return this._locale}var ii=1e3,oi=60*ii,ai=60*oi,si=3506328*ai;function li(t,e){return(t%e+e)%e}function ci(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-si:new Date(t,e,n).valueOf()}function ui(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-si:Date.UTC(t,e,n)}function di(t){var e;if(void 0===(t=K(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ui:ci;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=li(e+(this._isUTC?0:this.utcOffset()*oi),ai);break;case"minute":e=this._d.valueOf(),e-=li(e,oi);break;case"second":e=this._d.valueOf(),e-=li(e,ii)}return this._d.setTime(e),o.updateOffset(this,!0),this}function hi(t){var e;if(void 0===(t=K(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ui:ci;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 1,668 bytes, line 2
2case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ai-li(e+(this._isUTC?0:this.utcOffset()*oi),ai)-1;break;case"minute":e=this._d.valueOf(),e+=oi-li(e,oi)-1;break;case"second":e=this._d.valueOf(),e+=ii-li(e,ii)-1}return this._d.setTime(e),o.updateOffset(this,!0),this}function fi(){return this._d.valueOf()-6e4*(this._offset||0)}function pi(){return Math.floor(this.valueOf()/1e3)}function mi(){return new Date(this.valueOf())}function _i(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function vi(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function gi(){return this.isValid()?this.toISOString():null}function yi(){return y(this)}function bi(){return m({},g(this))}function xi(){return g(this).overflow}function wi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ki(t,e){lt(0,[t,t.length],0,e)}function Mi(t){return Li.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ci(t){return Li.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Si(){return Se(this.year(),1,4)}function Ti(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function Li(t,e,n,r,i){var o;return null==t?Ce(this,r,i).year:(e>
vendor: 10,852 bytes, line 2
2(o=Se(t,r,i))&&(e=o),Ei.call(this,t,e,n,r,i))}function Ei(t,e,n,r,i){var o=Me(t,e,n,r,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ai(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}lt(0,["gg",2],0,(function(){return this.weekYear()%100})),lt(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ki("gggg","weekYear"),ki("ggggg","weekYear"),ki("GGGG","isoWeekYear"),ki("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),et("weekYear",1),et("isoWeekYear",1),Dt("G",Ct),Dt("g",Ct),Dt("GG",gt,pt),Dt("gg",gt,pt),Dt("GGGG",wt,_t),Dt("gggg",wt,_t),Dt("GGGGG",kt,vt),Dt("ggggg",kt,vt),Yt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=T(t)})),Yt(["gg","GG"],(function(t,e,n,r){e[r]=o.parseTwoDigitYear(t)})),lt("Q",0,"Qo","quarter"),J("quarter","Q"),et("quarter",7),Dt("Q",ft),It("Q",(function(t,e){e[Bt]=3*(T(t)-1)})),lt("D",["DD",2],"Do","date"),J("date","D"),et("date",9),Dt("D",gt),Dt("DD",gt,pt),Dt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),It(["D","DD"],Nt),It("Do",(function(t,e){e[Nt]=T(t.match(gt)[0])}));var Di=Qt("Date",!0);function Oi(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}lt("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),et("dayOfYear",4),Dt("DDD",xt),Dt("DDDD",mt),It(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=T(t)})),lt("m",["mm",2],0,"minute"),J("minute","m"),et("minute",14),Dt("m",gt),Dt("mm",gt,pt),It(["m","mm"],Zt);var zi=Qt("Minutes",!1);lt("s",["ss",2],0,"second"),J("second","s"),et("second",15),Dt("s",gt),Dt("ss",gt,pt),It(["s","ss"],Ht);var Pi,ji=Qt("Seconds",!1);for(lt("S",0,0,(function(){return~~(this.millisecond()/100)})),lt(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),lt(0,["SSS",3],0,"millisecond"),lt(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),lt(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),lt(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),lt(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),lt(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),lt(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),et("millisecond",16),Dt("S",xt,ft),Dt("SS",xt,pt),Dt("SSS",xt,mt),Pi="SSSS";Pi.length<=9;Pi+="S")Dt(Pi,Mt);function Ii(t,e){e[Vt]=T(1e3*("0."+t))}for(Pi="S";Pi.length<=9;Pi+="S")It(Pi,Ii);var Yi=Qt("Milliseconds",!1);function Ri(){return this._isUTC?"UTC":""}function Fi(){return this._isUTC?"Coordinated Universal Time":""}lt("z",0,0,"zoneAbbr"),lt("zz",0,0,"zoneName");var Bi=M.prototype;function Ni(t){return Xn(1e3*t)}function $i(){return Xn.apply(null,arguments).parseZone()}function Zi(t){return t}Bi.add=Pr,Bi.calendar=Yr,Bi.clone=Rr,Bi.diff=Vr,Bi.endOf=hi,Bi.format=Xr,Bi.from=Jr,Bi.fromNow=Kr,Bi.to=Qr,Bi.toNow=ti,Bi.get=ne,Bi.invalidAt=xi,Bi.isAfter=Fr,Bi.isBefore=Br,Bi.isBetween=Nr,Bi.isSame=$r,Bi.isSameOrAfter=Zr,Bi.isSameOrBefore=Hr,Bi.isValid=yi,Bi.lang=ni,Bi.locale=ei,Bi.localeData=ri,Bi.max=Kn,Bi.min=Jn,Bi.parsingFlags=bi,Bi.set=re,Bi.startOf=di,Bi.subtract=jr,Bi.toArray=_i,Bi.toObject=vi,Bi.toDate=mi,Bi.toISOString=Gr,Bi.inspect=qr,Bi.toJSON=gi,Bi.toString=Wr,Bi.unix=pi,Bi.valueOf=fi,Bi.creationData=wi,Bi.year=Jt,Bi.isLeapYear=Kt,Bi.weekYear=Mi,Bi.isoWeekYear=Ci,Bi.quarter=Bi.quarters=Ai,Bi.month=pe,Bi.daysInMonth=me,Bi.week=Bi.weeks=De,Bi.isoWeek=Bi.isoWeeks=Oe,Bi.weeksInYear=Ti,Bi.isoWeeksInYear=Si,Bi.date=Di,Bi.day=Bi.days=He,Bi.weekday=Ve,Bi.isoWeekday=Ue,Bi.dayOfYear=Oi,Bi.hour=Bi.hours=cn,Bi.minute=Bi.minutes=zi,Bi.second=Bi.seconds=ji,Bi.millisecond=Bi.milliseconds=Yi,Bi.utcOffset=mr,Bi.utc=vr,Bi.local=gr,Bi.parseZone=yr,Bi.hasAlignedHourOffset=br,Bi.isDST=xr,Bi.isLocal=kr,Bi.isUtcOffset=Mr,Bi.isUtc=Cr,Bi.isUTC=Cr,Bi.zoneAbbr=Ri,Bi.zoneName=Fi,Bi.dates=A("dates accessor is deprecated. Use date instead.",Di),Bi.months=A("months accessor is deprecated. Use month instead",pe),Bi.years=A("years accessor is deprecated. Use year instead",Jt),Bi.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_r),Bi.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var Hi=Y.prototype;function Vi(t,e,n,r){var i=yn(),o=_().set(r,e);return i[n](o,t)}function Ui(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return Vi(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vi(t,r,n,"month");return i}function Wi(t,e,n,r){"boolean"==typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var i,o=yn(),a=t?o._week.dow:0;if(null!=n)return Vi(e,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Vi(e,(i+a)%7,r,"day");return s}function Gi(t,e){return Ui(t,e,"months")}function qi(t,e){return Ui(t,e,"monthsShort")}function Xi(t,e,n){return Wi(t,e,n,"weekdays")}function Ji(t,e,n){return Wi(t,e,n,"weekdaysShort")}function Ki(t,e,n){return Wi(t,e,n,"weekdaysMin")}Hi.calendar=F,Hi.longDateFormat=N,Hi.invalidDate=Z,Hi.ordinal=U,Hi.preparse=Zi,Hi.postformat=Zi,Hi.relativeTime=G,Hi.pastFuture=q,Hi.set=j,Hi.months=le,Hi.monthsShort=ue,Hi.monthsParse=he,Hi.monthsRegex=ye,Hi.monthsShortRegex=ve,Hi.week=Te,Hi.firstDayOfYear=Ae,Hi.firstDayOfWeek=Ee,Hi.weekdays=Ye,Hi.weekdaysMin=Ne,Hi.weekdaysShort=Fe,Hi.weekdaysParse=Ze,Hi.weekdaysRegex=Ge,Hi.weekdaysShortRegex=Xe,Hi.weekdaysMinRegex=Ke,Hi.isPM=on,Hi.meridiem=sn,_n("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===T(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),o.lang=A("moment.lang is deprecated. Use moment.locale instead.",_n),o.langData=A("moment.langData is deprecated. Use moment.localeData instead.",yn);var Qi=Math.abs;function to(){var t=this._data;return this._milliseconds=Qi(this._milliseconds),this._days=Qi(this._days),this._months=Qi(this._months),t.milliseconds=Qi(t.milliseconds),t.seconds=Qi(t.seconds),t.minutes=Qi(t.minutes),t.hours=Qi(t.hours),t.months=Qi(t.months),t.years=Qi(t.years),this}function eo(t,e,n,r){var i=Lr(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function no(t,e){return eo(this,t,e,1)}function ro(t,e){return eo(this,t,e,-1)}function io(t){return t<0?Math.floor(t):Math.ceil(t)}function oo(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*io(so(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=S(o/1e3),l.seconds=t%60,e=S(t/60),l.minutes=e%60,n=S(e/60),l.hours=n%24,a+=S(n/24),s+=i=S(ao(a)),a-=io(so(i)),r=S(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function ao(t){return 4800*t/146097}function so(t){return 146097*t/4800}function lo(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=K(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+ao(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(so(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function co(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function uo(t){return function(){return this.as(t)}}var ho=uo("ms"),fo=uo("s"),po=uo("m"),mo=uo("h"),_o=uo("d"),vo=uo("w"),go=uo("M"),yo=uo("Q"),bo=uo("y");function xo(){return Lr(this)}function wo(t){return t=K(t),this.isValid()?this[t+"s"]():NaN}function ko(t){return function(){return this.isValid()?this._data[t]:NaN}}var Mo=ko("milliseconds"),Co=ko("seconds"),So=ko("minutes"),To=ko("hours"),Lo=ko("days"),Eo=ko("months"),Ao=ko("years");function Do(){return S(this.days()/7)}var Oo=Math.round,zo={ss:44,s:45,m:45,h:22,d:26,M:11};function Po(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function jo(t,e,n){var r=Lr(t).abs(),i=Oo(r.as("s")),o=Oo(r.as("m")),a=Oo(r.as("h")),s=Oo(r.as("d")),l=Oo(r.as("M")),c=Oo(r.as("y")),u=i<=zo.ss&&["s",i]||i<zo.s&&["ss",i]||o<=1&&["m"]||o<zo.m&&["mm",o]||a<=1&&["h"]||a<zo.h&&["hh",a]||s<=1&&["d"]||s<zo.d&&["dd",s]||l<=1&&["M"]||l<zo.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=e,u[3]=+t>0,u[4]=n,Po.apply(null,u)}function Io(t){return void 0===t?Oo:"function"==typeof t&&(Oo=t,!0)}function Yo(t,e){return void 0!==zo[t]&&(void 0===e?zo[t]:(zo[t]=e,"s"===t&&(zo.ss=e-1),!0))}function Ro(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=jo(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}var Fo=Math.abs;function Bo(t){return(t>0)-(t<0)||+t}function No(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Fo(this._milliseconds)/1e3,r=Fo(this._days),i=Fo(this._months);t=S(n/60),e=S(t/60),n%=60,t%=60;var o=S(i/12),a=i%=12,s=r,l=e,c=t,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Bo(this._months)!==Bo(d)?"-":"",p=Bo(this._days)!==Bo(d)?"-":"",m=Bo(this._milliseconds)!==Bo(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var $o=sr.prototype;return $o.isValid=or,$o.abs=to,$o.add=no,$o.subtract=ro,$o.as=lo,$o.asMilliseconds=ho,$o.asSeconds=fo,$o.asMinutes=po,$o.asHours=mo,$o.asDays=_o,$o.asWeeks=vo,$o.asMonths=go,$o.asQuarters=yo,$o.asYears=bo,$o.valueOf=co,$o._bubble=oo,$o.clone=xo,$o.get=wo,$o.milliseconds=Mo,$o.seconds=Co,$o.minutes=So,$o.hours=To,$o.days=Lo,$o.weeks=Do,$o.months=Eo,$o.years=Ao,$o.humanize=Ro,$o.toISOString=No,$o.toString=No,$o.toJSON=No,$o.locale=ei,$o.localeData=ri,$o.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",No),$o.lang=ni,lt("X",0,0,"unix"),lt("x",0,0,"valueOf"),Dt("x",Ct),Dt("X",Lt),It("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),It("x",(function(t,e,n){n._d=new Date(T(t))})),o.version="2.24.0",a(Xn),o.fn=Bi,o.min=tr,o.max=er,o.now=nr,o.utc=_,o.unix=Ni,o.months=Gi,o.isDate=h,o.locale=_n,o.invalid=b,o.duration=Lr,o.isMoment=C,o.weekdays=Xi,o.parseZone=$i,o.localeData=yn,o.isDuration=lr,o.monthsShort=qi,o.weekdaysMin=Ki,o.defineLocale=vn,o.updateLocale=gn,o.locales=bn,o.weekdaysShort=Ji,o.normalizeUnits=K,o.relativeTimeRounding=Io,o.relativeTimeThreshold=Yo,o.calendarFormat=Ir,o.prototype=Bi,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}))}
2)),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function s(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var l={install:function(t,e){var n=e&&e.moment?e.moment:o;Object.defineProperties(t.prototype,{$moment:{get:function(){return n}}}),t.moment=n,t.filter("moment",(function(){for(var t=arguments,e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=t[i];var o=(r=Array.prototype.slice.call(r)).shift(),s=void 0;if(s=Array.isArray(o)&&"string"==typeof o[0]?n(o[0],o[1],!0):"number"==typeof o&&o.toString().length<12?n.unix(o):n(o),!o||!s.isValid())return console.warn("Could not build a valid `moment` object from input."),o;function l(){for(var t=arguments,e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=t[i];var o=(r=Array.prototype.slice.call(r)).shift();switch(o){case"add":for(var c=r.shift().split(",").map(Function.prototype.call,String.prototype.trim),u={},d=0;d<c.length;d++){var h=c[d].split(" ");u[h[1]]=h[0]}s.add(u);break;case"subtract":for(var f=r.shift().split(",").map(Function.prototype.call,String.prototype.trim),p={},m=0;m<f.length;m++){var _=f[m].split(" ");p[_[1]]=_[0]}s.subtract(p);break;case"from":var v="now",g=!1;"now"===r[0]&&r.shift(),n(r[0]).isValid()&&(v=n(r.shift())),!0===r[0]&&(r.shift(),g=!0),s="now"!==v?s.from(v,g):s.fromNow(g);break;case"diff":var y=n(),b="",x=!1;n(r[0]).isValid()?y=n(r.shift()):null!==r[0]&&"now"!==r[0]||r.shift(),r[0]&&(b=r.shift()),!0===r[0]&&(x=r.shift()),s=s.diff(y,b,x);break;case"calendar":var w=n(),k={};n(r[0]).isValid()?w=n(r.shift()):null!==r[0]&&"now"!==r[0]||r.shift(),"object"===a(r[0])&&(k=r.shift()),s=s.calendar(w,k);break;case"utc":s.utc();break;case"timezone":s.tz(r.shift());break;default:var M=o;s=s.format(M)}r.length&&l.apply(l,r)}return l.apply(l,r),s})),t.filter("duration",(function(){for(var t=arguments,e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=t[i];var o=(r=Array.prototype.slice.call(r)).shift(),a=r.shift();function l(t){Array.isArray(t)||(t=[t]);var e=n.duration.apply(n,s(t));return e.isValid()||console.warn("Could not build a valid `duration` object from input."),e}var c=l(o);if("add"===a||"subtract"===a){var u=l(r);c[a](u)}else if(c&&c[a]){var d;c=(d=c)[a].apply(d,s(r))}return c}))}},c=l.install;t.default=l,t.install=c,Object.defineProperty(t,"__esModule",{value:!0})}(e)},47907:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(49)("wks"),i=n(30),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(0),i=n(10),o=n(8),a=n(6),s=n(11),l=function(t,e,n){var c,u,d,h,f=t&l.F,p=t&l.G,m=t&l.S,_=t&l.P,v=t&l.B,g=p?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,y=p?i:i[e]||(i[e]={}),b=y.prototype||(y.prototype={});for(c in p&&(n=e),n)d=((u=!f&&g&&void 0!==g[c])?g:n)[c],h=v&&u?s(d,r):_&&"function"==typeof d?s(Function.call,d):d,g&&a(g,c,d,t&l.U),y[c]!=d&&o(y,c,h),_&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(0),i=n(8),o=n(12),a=n(30)("src"),s=Function.toString,l=(""+s).split("toString");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:l.join(String(e)))
vendor: 43,400 bytes, line 2
2),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),i=n(25);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(2),i=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(23),i=n(16);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(53),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(11),i=n(23),o=n(28),a=n(19),s=n(64);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,d=6==t,h=5==t||d,f=e||s;return function(e,s,p){for(var m,_,v=o(e),g=i(v),y=r(s,p,3),b=a(g.length),x=0,w=n?f(e,b):l?f(e,0):void 0;b>x;x++)if((h||x in g)&&(_=y(m=g[x],x,v),t))if(n)w[x]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(u)return!1;return d?-1:c||u?u:w}}},function(t,e,n){var r=n(5),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(13).f,i=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(49)("keys"),i=n(30);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(9),a=n(67),s=n(29),l=n(7),c=n(77).f,u=n(45).f,d=n(13).f,h=n(51).trim,f=r.Number,p=f,m=f.prototype,_="Number"==o(n(44)(m)),v="trim"in String.prototype,g=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=v?e.trim():h(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,l=e.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>i)return NaN;return parseInt(l,r)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(_?l((function(){m.valueOf.call(n)})):"Number"!=o(n))?a(new p(g(e)),n,f):g(e)};for(var y,b=n(4)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(p,y=b[x])&&!i(f,y)&&d(f,y,u(p,y));f.prototype=m,m.constructor=f,n(6)(r,"Number",f)}},function(t,e,n){"use strict";function r(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function i(t){return function(){return!t.apply(void 0,arguments)}}function o(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}function a(t,e,n,r){return t.filter((function(t){return o(r(t,n),e)}))}function s(t){return t.filter((function(t){return!t.$isLabel}))}function l(t,e){return function(n){return n.reduce((function(n,r){return r[t]&&r[t].length?(n.push({$groupLabel:r[e],$isLabel:!0}),n.concat(r[t])):n}),[])}}function c(t,e,r,i,o){return function(s){return s.map((function(s){var l;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var c=a(s[r],t,e,o);return c.length?(l={},n.i(p.a)(l,i,s[i]),n.i(p.a)(l,r,c),l):[]}))}}var u=n(59),d=n(54),h=(n.n(d),n(95)),f=(n.n(h),n(31)),p=(n.n(f),n(58)),m=n(91),_=(n.n(m),n(98)),v=(n.n(_),n(92)),g=(n.n(v),n(88)),y=(n.n(g),n(97)),b=(n.n(y),n(89)),x=(n.n(b),n(96)),w=(n.n(x),n(93)),k=(n.n(w),n(90)),M=(n.n(k),function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}});e.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(t,e){return r(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var t=this.search||"",e=t.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):a(n,e,this.label,this.customLabel):this.groupValues?l(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(i(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.internalValue.map((function(e){return e[t.trackBy]})):this.internalValue},optionKeys:function(){var t=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(e){return t.customLabel(e,t.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(t,e,n){return M(c(e,n,this.groupValues,this.groupLabel,this.customLabel),l(this.groupValues,this.groupLabel))(t)},flatAndStrip:function(t){return M(l(this.groupValues,this.groupLabel),s)(t)},updateSearch:function(t){this.search=t},isExistingOption:function(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(r(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return r(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",r,this.id)}else{var i=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(u.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var i=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var r=n(54),i=(n.n(r),n(31));n.n(i),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var r=n(36),i=n(74),o=n(15),a=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(31),i=(n.n(r),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;null==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(18),i=n(19),o=n(85);t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var r=n(9),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(9);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=i(e),this.reject=i(n)}var i=n(14);t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(2),i=n(76),o=n(22),a=n(27)("IE_PROTO"),s=function(){},l=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(79),i=n(25),o=n(18),a=n(29),s=n(12),l=n(41),c=Object.getOwnPropertyDescriptor;e.f=n(4)?c:function(t,e){if(t=o(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(12),i=n(18),o=n(37)(!1),a=n(27)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(46),i=n(22);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(2),i=n(5),o=n(43);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(10),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(2),i=n(14),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r=n(3),i=n(16),o=n(7),a=n(84),s="["+a+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var i={},s=o((function(){return!!a[t]()||l[t]()!=l})),c=i[t]=s?e(h):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},h=d.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},function(t,e,n){var r,i,o,a=n(11),s=n(68),l=n(40),c=n(21),u=n(0),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,_=0,v={},g=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){g.call(t.data)};h&&f||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++_]=function(){s("function"==typeof t?t:Function(t),e)},r(_),_},f=function(t){delete v[t]},"process"==n(9)(d)?r=function(t){d.nextTick(a(g,t,1))}:m&&m.now?r=function(t){m.now(a(g,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:h,clear:f}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(3),i=n(20)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(t,e,n){"use strict";var r,i,o,a,s=n(24),l=n(0),c=n(11),u=n(38),d=n(3),h=n(5),f=n(14),p=n(61),m=n(66),_=n(50),v=n(52).set,g=n(75)(),y=n(43),b=n(80),x=n(86),w=n(48),k=l.TypeError,M=l.process,C=M&&M.versions,S=C&&C.v8||"",T=l.Promise,L="process"==u(M),E=function(){},A=i=y.f,D=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(E,E)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==S.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),O=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},z=function(t,e){if(!t._n){t._n=!0;var n=t._c;g((function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=i?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===e.promise?c(k("Promise-chain cycle")):(o=O(n))?o.call(n,l,c):l(n)):c(r)}catch(t){u&&!a&&u.exit(),c(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&P(t)}))}},P=function(t){v.call(l,(function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=b((function(){L?M.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=L||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){v.call(l,(function(){var e;L?M.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Y=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),z(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=O(t))?g((function(){var r={_w:n,_d:!1};try{e.call(t,c(R,r,1),c(Y,r,1))}catch(t){Y.call(r,t)}})):(n._v=t,n._s=1,z(n,!1))}catch(t){Y.call({_w:n,_d:!1},t)}}};D||(T=function(t){p(this,T,"Promise","_h"),f(t),r.call(this);try{t(c(R,this,1),c(Y,this,1))}catch(t){Y.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(81)(T.prototype,{then:function(t,e){var n=A(_(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&z(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c(Y,t,1)},y.f=A=function(t){return t===T||t===a?new o(t):i(t)}),d(d.G+d.W+d.F*!D,{Promise:T}),n(26)(T,"Promise"),n(83)("Promise"),a=n(10).Promise,d(d.S+d.F*!D,"Promise",{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!D),"Promise",{resolve:function(t){return w(s&&this===a?T:this,t)}}),d(d.S+d.F*!(D&&n(73)((function(t){T.all(t).catch(E)}))),"Promise",{all:function(t){var e=this,n=A(e),r=n.resolve,i=n.reject,o=b((function(){var n=[],o=0,a=1;m(t,!1,(function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,i=b((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(3),i=n(10),o=n(0),a=n(50),s=n(48);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";function r(t){n(99)}var i=n(35),o=n(101),a=r,s=n(100)(i.a,o.a,!1,a,null,null);e.a=s.exports},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(34),i=(n.n(r),n(55)),o=(n.n(i),n(56)),a=(n.n(o),n(57)),s=n(32),l=n(33);n.d(e,"Multiselect",(function(){return a.a})),n.d(e,"multiselectMixin",(function(){return s.a})),n.d(e,"pointerMixin",(function(){return l.a})),e.default=a.a},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(14),i=n(28),o=n(23),a=n(19);t.exports=function(t,e,n,s,l){r(e);var c=i(t),u=o(c),d=a(c.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in u){s=u[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in u&&(s=e(s,u[h],h,c));return s}},function(t,e,n){var r=n(5),i=n(42),o=n(1)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(63);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(8),i=n(6),o=n(7),a=n(16),s=n(1);t.exports=function(t,e,n){var l=s(t),c=n(a,l,""[t]),u=c[0],d=c[1];o((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)}))&&(i(String.prototype,t,u),r(RegExp.prototype,l,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)}))}},function(t,e,n){var r=n(11),i=n(70),o=n(69),a=n(2),s=n(19),l=n(87),c={},u={};e=t.exports=function(t,e,n,d,h){var f,p,m,_,v=h?function(){return t}:l(t),g=r(n,d,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=s(t.length);f>y;y++)if((_=e?g(a(p=t[y])[0],p[1]):g(t[y]))===c||_===u)return _}else for(m=v.call(t);!(p=m.next()).done;)if((_=i(m,g,p.value,e))===c||_===u)return _},e.BREAK=c,e.RETURN=u},function(t,e,n){var r=n(5),i=n(82).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(15),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(2);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){"use strict";var r=n(44),i=n(25),o=n(26),a={};n(8)(a,n(1)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(24),i=n(3),o=n(6),a=n(8),s=n(15),l=n(71),c=n(26),u=n(78),d=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,p,m,_,v){l(n,e,p);var g,y,b,x=function(t){if(!h&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",k="values"==m,M=!1,C=t.prototype,S=C[d]||C["@@iterator"]||m&&C[m],T=S||x(m),L=m?k?x("entries"):T:void 0,E="Array"==e&&C.entries||S;if(E&&(b=u(E.call(new t)))!==Object.prototype&&b.next&&(c(b,w,!0),r||"function"==typeof b[d]||a(b,d,f)),k&&S&&"values"!==S.name&&(M=!0,T=function(){return S.call(this)}),r&&!v||!h&&!M&&C[d]||a(C,d,T),s[e]=T,s[w]=f,m)if(g={values:k?T:x("values"),keys:_?T:x("keys"),entries:L},v)for(y in g)y in C||o(C,y,g[y]);else i(i.P+i.F*(h||M),e,g);return g}},function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(0),i=n(52).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(9)(a);t.exports=function(){var t,e,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(13),i=n(2),o=n(47);t.exports=n(4)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var r=n(46),i=n(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(12),i=n(28),o=n(27)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(6);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(5),i=n(2),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var r=n(0),i=n(13),o=n(4),a=n(1)("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(53),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(0).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(38),i=n(1)("iterator"),o=n(15);t.exports=n(10).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(3),i=n(20)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(3),i=n(37)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(17)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(3);r(r.S,"Array",{isArray:n(42)})},function(t,e,n){"use strict";var r=n(3),i=n(20)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(3),i=n(62);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(t,e,n){n(65)("search",1,(function(t,e,n){return[function(n){"use strict";var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]}))},function(t,e,n){"use strict";n(94);var r=n(2),i=n(39),o=n(4),a=/./.toString,s=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(7)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(t,e,n){"use strict";n(51)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){for(var r=n(34),i=n(47),o=n(6),a=n(0),s=n(8),l=n(15),c=n(1),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),m=0;m<p.length;m++){var _,v=p[m],g=f[v],y=a[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,h),b[d]||s(b,d,v),l[v]=h,g))for(_ in r)b[_]||o(b,_,r[_],!0)}},function(t,e){},function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(t,e){return c.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"multiselect",class:{"multiselect--active":t.isOpen,"multiselect--disabled":t.disabled,"multiselect--above":t.isAbove},attrs:{tabindex:t.searchable?-1:t.tabindex},on:{focus:function(e){t.activate()},blur:function(e){!t.searchable&&t.deactivate()},keydown:[function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerForward()):null},function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerBackward()):null}],keypress:function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:(e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e))},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()}}},[t._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}}})],{toggle:t.toggle}),t._v(" "),t._t("clear",null,{search:t.search}),t._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[t._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[t._l(t.visibleValues,(function(e,r){return[t._t("tag",[n("span",{key:r,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:t._s(t.getOptionLabel(e))}}),t._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&t._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),t.removeElement(e)},mousedown:function(n){n.preventDefault(),t.removeElement(e)}}})])],{option:e,search:t.search,remove:t.removeElement})]}))],2),t._v(" "),t.internalValue&&t.internalValue.length>t.limit?[t._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})])]:t._e()],{search:t.search,remove:t.removeElement,values:t.visibleValues,isOpen:t.isOpen}),t._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),t._v(" "),t.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:t.inputStyle,attrs:{name:t.name,id:t.id,type:"text",autocomplete:"nope",placeholder:t.placeholder,disabled:t.disabled,tabindex:t.tabindex},domProps:{value:t.search},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()},keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.pointerForward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.pointerBackward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete"]))return null;e.stopPropagation(),t.removeLastElement()}],keypress:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e)):null}}}):t._e(),t._v(" "),t.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("singleLabel",[[t._v(t._s(t.currentOptionLabel))]],{option:t.singleValue})],2):t._e(),t._v(" "),t.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("placeholder",[t._v("\n          "+t._s(t.placeholder)+"\n        ")])],2):t._e()],2),t._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:t.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:t.activate,mousedown:function(t){t.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:t.contentStyle},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],2)]):t._e(),t._v(" "),!t.max||t.internalValue.length<t.max?t._l(t.filteredOptions,(function(e,r){return n("li",{key:r,staticClass:"multiselect__element"},[e&&(e.$isLabel||e.$isDisabled)?t._e():n("span",{staticClass:"multiselect__option",class:t.optionHighlight(r,e),attrs:{"data-select":e&&e.isTag?t.tagPlaceholder:t.selectLabelText,"data-selected":t.selectedLabelText,"data-deselect":t.deselectLabelText},on:{click:function(n){n.stopPropagation(),t.select(e)},mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.pointerSet(r)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2),t._v(" "),e&&(e.$isLabel||e.$isDisabled)?n("span",{staticClass:"multiselect__option",class:t.groupHighlight(r,e),attrs:{"data-select":t.groupSelect&&t.selectGroupLabelText,"data-deselect":t.groupSelect&&t.deselectGroupLabelText},on:{mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.groupSelect&&t.pointerSet(r)},mousedown:function(n){n.preventDefault(),t.selectGroup(e)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2):t._e()])})):t._e(),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoResults&&0===t.filteredOptions.length&&t.search&&!t.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noResult",[t._v("No elements found. Consider changing the search query.")],{search:t.search})],2)]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoOptions&&0===t.options.length&&!t.search&&!t.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noOptions",[t._v("List is empty.")])],2)]),t._v(" "),t._t("afterList")],2)])])],2)},i={render:r,staticRenderFns:[]};e.a=i}])},66988:function(t){var e;"undefined"!=typeof self&&self,e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
vendor: 2,606 bytes, line 2
2),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"24fb":function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,i,o=t[1]||"",a=t[3];if(!a)return o;if(e&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(i," */")),l=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[o].concat(l).concat([s]).join("\n")}return[o].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=o[0],s={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,d=i||{};var a=r(t,e);return m(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i];(l=o[s.id]).refs--,n.push(l)}for(e?m(a=r(t,e)):a=[],i=0;i<n.length;i++){var l;if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;
2i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function _(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=_()),e=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=_(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var g,y=(g=[],function(t,e){return g[t]=e,g.filter(Boolean).join("\n")});function b(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function x(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},8875:function(t,e,n){var r,i,o;"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(t){var n,r,i,o=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(t.stack)||o.exec(t.stack),s=a&&a[1]||!1,l=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");s===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var d=0;d<u.length;d++){if("interactive"===u[d].readyState)return u[d];if(u[d].src===s)return u[d];if(s===c&&u[d].innerHTML&&u[d].innerHTML.trim()===i)return u[d]}return null}}return t})?r.apply(e,i):r)||(t.exports=o)},ad2f:function(t,e,n){"use strict";n("b422")},b422:function(t,e,n){var r=n("e874");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("8239be8a",r,!0,{sourceMap:!1,shadowMode:!1})},e874:function(t,e,n){(e=n("24fb")(!1)).push([t.i,".po-password-strength-bar{border-radius:2px;-webkit-transition:all .2s linear;transition:all .2s linear;height:5px;margin-top:8px}.po-password-strength-bar.risky{background-color:#f95e68;width:10%}.po-password-strength-bar.guessable{background-color:#fb964d;width:32.5%}.po-password-strength-bar.weak{background-color:#fdd244;width:55%}.po-password-strength-bar.safe{background-color:#b0dc53;width:77.5%}.po-password-strength-bar.secure{background-color:#35cc62;width:100%}",""]),t.exports=e},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=function(t){var e=0,n=0,r=0,i=0,o=0,a=/[^A-Za-z0-9]/g.test(t),s=/(.*[a-z].*)/g.test(t),l=/(.*[A-Z].*)/g.test(t),c=/(.*[0-9].*)/g.test(t),u=/(\w)(\1+\1+\1+\1+)/g.test(t);return t.length>4&&((s||l)&&c&&(o=1),l&&s&&(i=1),(s||l||c)&&a&&(r=1),t.length>8&&(n=1),t.length>12&&!u&&(n=2),t.length>25&&!u&&(n=3),(e=n+r+i+o)>4&&(e=4)),e},l=function(t){switch(t){case 0:return"risky";case 1:return"guessable";case 2:return"weak";case 3:return"safe";case 4:return"secure";default:return null}},c=function(t){var e=s(t);return l(e)},u={name:"password-meter",props:{password:String},computed:{passwordClass:function(){var t;if(!this.password)return null;var e=c(this.password),n=s(this.password);return this.$emit("score",{score:n,strength:e}),a(t={},e,!0),a(t,"scored",!0),t}}};n("ad2f");var d=function(t,e,n,r,i,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}(u,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"po-password-strength-bar",class:t.passwordClass})}),[],!1,null,null,null),h=d.exports;e.default=h}}).default}
2,t.exports=e()},32982:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=".",e(e.s=10)}([function(t,e){t.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},"!":{escape:!0}}},function(t,e,n){"use strict";function r(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}var i=n(2),o=n(0),a=n.n(o);e.a=function(t,e){var o=e.value;if((Array.isArray(o)||"string"==typeof o)&&(o={mask:o,tokens:a.a}),"INPUT"!==t.tagName.toLocaleUpperCase()){var s=t.getElementsByTagName("input");if(1!==s.length)throw new Error("v-mask directive requires 1 input, found "+s.length);t=s[0]}t.oninput=function(e){if(e.isTrusted){var a=t.selectionEnd,s=t.value[a-1];for(t.value=n.i(i.a)(t.value,o.mask,!0,o.tokens);a<t.value.length&&t.value.charAt(a-1)!==s;)a++;t===document.activeElement&&(t.setSelectionRange(a,a),setTimeout((function(){t.setSelectionRange(a,a)}),0)),t.dispatchEvent(r("input"))}};var l=n.i(i.a)(t.value,o.mask,!0,o.tokens);l!==t.value&&(t.value=l,t.dispatchEvent(r("input")))}},function(t,e,n){"use strict";var r=n(6),i=n(5);e.a=function(t,e){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments[3];return Array.isArray(e)?n.i(i.a)(r.a,e,a)(t,e,o,a):n.i(r.a)(t,e,o,a)}},function(t,e,n){"use strict";function r(t){t.component(l.a.name,l.a),t.directive("mask",a.a)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n.n(i),a=n(1),s=n(7),l=n.n(s);n.d(e,"TheMask",(function(){return l.a})),n.d(e,"mask",(function(){return a.a})),n.d(e,"tokens",(function(){return o.a})),n.d(e,"version",(function(){return c}));var c="0.11.1";e.default=r,"undefined"!=typeof window&&window.Vue&&window.Vue.use(r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n.n(i),a=n(2);e.default={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:function(){return o.a}}},directives:{mask:r.a},data:function(){return{lastValue:null,display:this.value}},watch:{value:function(t){t!==this.lastValue&&(this.display=t)},masked:function(){this.refresh(this.display)}},computed:{config:function(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput:function(t){t.isTrusted||this.refresh(t.target.value)},refresh:function(t){this.display=t,(t=n.i(a.a)(t,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=t,this.$emit("input",t))}}}},function(t,e,n){"use strict";function r(t,e,n){return e=e.sort((function(t,e){return t.length-e.length})),function(r,i){for(var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=0;a<e.length;){var s=e[a];a++;var l=e[a];if(!(l&&t(r,l,!0,n).length>s.length))return t(r,s,o,n)}return""}}e.a=r},function(t,e,n){"use strict";function r(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];t=t||"",e=e||"";for(var i=0,o=0,a="";i<e.length&&o<t.length;){var s=r[u=e[i]],l=t[o];s&&!s.escape?(s.pattern.test(l)&&(a+=s.transform?s.transform(l):l,i++),o++):(s&&s.escape&&(u=e[++i]),n&&(a+=u),l===u&&o++,i++)}for(var c="";i<e.length&&n;){var u;if(r[u=e[i]]){c="";break}c+=u,i++}return a+c}e.a=r},function(t,e,n){var r=n(8)(n(4),n(9),null,null);t.exports=r.exports},function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach((function(t){var e=r[t];l[t]=function(){return e}}))}return{esModule:i,exports:o,options:s}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{directives:[{name:"mask",rawName:"v-mask",value:t.config,expression:"config"}],attrs:{type:"text"},domProps:{value:t.display},on:{input:t.onInput}})},staticRenderFns:[]}},function(t,e,n){t.exports=n(3)}])},70538:(t,e,n)=>{"use strict";n.r(e),n.d(e,{EffectScope:()=>Pn,computed:()=>ce,customRef:()=>ne,default:()=>oi,defineAsyncComponent:()=>ir,defineComponent:()=>br,del:()=>It,effectScope:()=>jn,getCurrentInstance:()=>ft,getCurrentScope:()=>In,h:()=>Nn,inject:()=>Bn,isProxy:()=>Ht,isReactive:()=>Nt,isReadonly:()=>Zt,isRef:()=>Gt,isShallow:()=>$t,markRaw:()=>Ut,mergeDefaults:()=>qe,nextTick:()=>er,onActivated:()=>hr,onBeforeMount:()=>ar,onBeforeUnmount:()=>ur,onBeforeUpdate:()=>lr,onDeactivated:()=>fr,onErrorCaptured:()=>gr,onMounted:()=>sr,onRenderTracked:()=>mr,onRenderTriggered:()=>_r,onScopeDispose:()=>Yn,onServerPrefetch:()=>pr,onUnmounted:()=>dr,onUpdated:()=>cr,provide:()=>Rn,proxyRefs:()=>te,reactive:()=>Rt,readonly:()=>oe,ref:()=>qt,set:()=>jt,shallowReactive:()=>Ft,shallowReadonly:()=>le,shallowRef:()=>Xt,toRaw:()=>Vt,toRef:()=>ie,toRefs:()=>re,triggerRef:()=>Kt,unref:()=>Qt,useAttrs:()=>Ue,useCssModule:()=>nr,useCssVars:()=>rr,useListeners:()=>We,useSlots:()=>Ve,version:()=>yr,watch:()=>On,watchEffect:()=>Tn,watchPostEffect:()=>Ln,watchSyncEffect:()=>En});var r=Object.freeze({}),i=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var d=Object.prototype.toString;function h(t){return"[object Object]"===d.call(t)}function f(t){return"[object RegExp]"===d.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}
vendor: 33,987 bytes, line 2
2function m(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function _(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var y=g("slot,component",!0),b=g("key,ref,slot,slot-scope,is");function x(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function k(t,e){return w.call(t,e)}function M(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var C=/-(\w)/g,S=M((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),T=M((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),L=/\B([A-Z])/g,E=M((function(t){return t.replace(L,"-$1").toLowerCase()}));var A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function D(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function O(t,e){for(var n in e)t[n]=e[n];return t}function z(t){for(var e={},n=0;n<t.length;n++)t[n]&&O(e,t[n]);return e}function P(t,e,n){}var j=function(t,e,n){return!1},I=function(t){return t};function Y(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return Y(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return Y(t[n],e[n])}))}catch(t){return!1}}function R(t,e){for(var n=0;n<t.length;n++)if(Y(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function B(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var N="data-server-rendered",$=["component","directive","filter"],Z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:P,parsePlatformTagName:I,mustUseProp:j,async:!0,_lifecycleHooks:Z},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function W(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var G=new RegExp("[^".concat(V.source,".$_\\d]"));var q="__proto__"in{},X="undefined"!=typeof window,J=X&&window.navigator.userAgent.toLowerCase(),K=J&&/msie|trident/.test(J),Q=J&&J.indexOf("msie 9.0")>0,tt=J&&J.indexOf("edge/")>0;J&&J.indexOf("android");var et=J&&/iphone|ipad|ipod|ios/.test(J);J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J);var nt,rt=J&&J.match(/firefox\/(\d+)/),it={}.watch,ot=!1;if(X)try{var at={};Object.defineProperty(at,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var st=function(){return void 0===nt&&(nt=!X&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),nt},lt=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,dt="undefined"!=typeof Symbol&&ct(Symbol)&&"undefined"!=typeof Reflect&&ct(Reflect.ownKeys);ut="undefined"!=typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ht=null;function ft(){return ht&&{proxy:ht}}function pt(t){void 0===t&&(t=null),t||ht&&ht._scope.off(),ht=t,t&&t._scope.on()}var mt=function(){function t(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new mt;return e.text=t,e.isComment=!0,e};function vt(t){return new mt(void 0,void 0,void 0,String(t))}function gt(t){var e=new mt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var yt=0,bt=[],xt=function(){function t(){this._pending=!1,this.id=yt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,bt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){0,e[n].update()}},t}();xt.target=null;var wt=[];function kt(t){wt.push(t),xt.target=t}function Mt(){wt.pop(),xt.target=wt[wt.length-1]}var Ct=Array.prototype,St=Object.create(Ct);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Ct[t];W(St,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Tt=Object.getOwnPropertyNames(St),Lt={},Et=!0;function At(t){Et=t}var Dt={notify:P,depend:P,addSub:P,removeSub:P},Ot=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Dt:new xt,this.vmCount=0,W(t,"__ob__",this),i(t)){if(!n)if(q)t.__proto__=St;else for(var r=0,o=Tt.length;r<o;r++){W(t,s=Tt[r],St[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(r=0;r<a.length;r++){var s;Pt(t,s=a[r],Lt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)zt(t[e],!1,this.mock)},t}();function zt(t,e,n){return t&&k(t,"__ob__")&&t.__ob__ instanceof Ot?t.__ob__:!Et||!n&&st()||!i(t)&&!h(t)||!Object.isExtensible(t)||t.__v_skip||Gt(t)||t instanceof mt?void 0:new Ot(t,e,n)}function Pt(t,e,n,r,o,a){var s=new xt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var c=l&&l.get,u=l&&l.set;c&&!u||n!==Lt&&2!==arguments.length||(n=t[e]);var d=!o&&zt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=c?c.call(t):n;return xt.target&&(s.depend(),d&&(d.dep.depend(),i(e)&&Yt(e))),Gt(e)&&!o?e.value:e},set:function(e){var r=c?c.call(t):n;if(B(r,e)){if(u)u.call(t,e);else{if(c)return;if(!o&&Gt(r)&&!Gt(e))return void(r.value=e);n=e}d=!o&&zt(e,!1,a),s.notify()}}}),s}}function jt(t,e,n){if(!Zt(t)){var r=t.__ob__;return i(t)&&p(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&zt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Pt(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function It(t,e){if(i(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Zt(t)||k(t,e)&&(delete t[e],n&&n.dep.notify())}}function Yt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&Yt(e)}function Rt(t){return Bt(t,!1),t}function Ft(t){return Bt(t,!0),W(t,"__v_isShallow",!0),t}function Bt(t,e){if(!Zt(t)){zt(t,e,st());0}}function Nt(t){return Zt(t)?Nt(t.__v_raw):!(!t||!t.__ob__)}function $t(t){return!(!t||!t.__v_isShallow)}function Zt(t){return!(!t||!t.__v_isReadonly)}function Ht(t){return Nt(t)||Zt(t)}function Vt(t){var e=t&&t.__v_raw;return e?Vt(e):t}function Ut(t){return Object.isExtensible(t)&&W(t,"__v_skip",!0),t}var Wt="__v_isRef";function Gt(t){return!(!t||!0!==t.__v_isRef)}function qt(t){return Jt(t,!1)}function Xt(t){return Jt(t,!0)}function Jt(t,e){if(Gt(t))return t;var n={};return W(n,Wt,!0),W(n,"__v_isShallow",e),W(n,"dep",Pt(n,"value",t,null,e,st())),n}function Kt(t){t.dep&&t.dep.notify()}function Qt(t){return Gt(t)?t.value:t}function te(t){if(Nt(t))return t;for(var e={},n=Object.keys(t),r=0;r<n.length;r++)ee(e,t,n[r]);return e}function ee(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Gt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Gt(r)&&!Gt(t)?r.value=t:e[n]=t}})}function ne(t){var e=new xt,n=t((function(){e.depend()}),(function(){e.notify()})),r=n.get,i=n.set,o={get value(){return r()},set value(t){i(t)}};return W(o,Wt,!0),o}function re(t){var e=i(t)?new Array(t.length):{};for(var n in t)e[n]=ie(t,n);return e}function ie(t,e,n){var r=t[e];if(Gt(r))return r;var i={get value(){var r=t[e];return void 0===r?n:r},set value(n){t[e]=n}};return W(i,Wt,!0),i}function oe(t){return ae(t,!1)}function ae(t,e){if(!h(t))return t;if(Zt(t))return t;var n=e?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=t[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(t));W(t,n,i),W(i,"__v_isReadonly",!0),W(i,"__v_raw",t),Gt(t)&&W(i,Wt,!0),(e||$t(t))&&W(i,"__v_isShallow",!0);for(var o=Object.keys(t),a=0;a<o.length;a++)se(i,t,o[a],e);return i}function se(t,e,n,r){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return r||!h(t)?t:oe(t)},set:function(){}})}function le(t){return ae(t,!0)}function ce(t,e){var n,r,i=c(t);i?(n=t,r=P):(n=t.get,r=t.set);var o=st()?null:new Cr(ht,n,P,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),xt.target&&o.depend(),o.value):n()},set value(t){r(t)}};return W(a,Wt,!0),W(a,"__v_isReadonly",i),a}var ue=M((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function de(t,e){function n(){var t=n.fns;if(!i(t))return Zn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)Zn(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function he(t,e,n,r,i,a){var l,c,u,d;for(l in t)c=t[l],u=e[l],d=ue(l),o(c)||(o(u)?(o(c.fns)&&(c=t[l]=de(c,a)),s(d.once)&&(c=t[l]=i(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)o(t[l])&&r((d=ue(l)).name,e[l],d.capture)}function fe(t,e,n){var r;t instanceof mt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function l(){n.apply(this,arguments),x(r.fns,l)}o(i)?r=de([l]):a(i.fns)&&s(i.merged)?(r=i).fns.push(l):r=de([i,l]),r.merged=!0,t[e]=r}function pe(t,e,n,r,i){if(a(e)){if(k(e,n))return t[n]=e[n],i||delete e[n],!0;if(k(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function me(t){return l(t)?[vt(t)]:i(t)?ve(t):void 0}function _e(t){return a(t)&&a(t.text)&&!1===t.isComment}function ve(t,e){var n,r,c,u,d=[];for(n=0;n<t.length;n++)o(r=t[n])||"boolean"==typeof r||(u=d[c=d.length-1],i(r)?r.length>0&&(_e((r=ve(r,"".concat(e||"","_").concat(n)))[0])&&_e(u)&&(d[c]=vt(u.text+r[0].text),r.shift()),d.push.apply(d,r)):l(r)?_e(u)?d[c]=vt(u.text+r):""!==r&&d.push(vt(r)):_e(r)&&_e(u)?d[c]=vt(u.text+r.text):(s(t._isVList)&&a(r.tag)&&o(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),d.push(r)));return d}function ge(t,e,n,r,o,d){return(i(n)||l(n))&&(o=r,r=n,n=void 0),s(d)&&(o=2),function(t,e,n,r,o){if(a(n)&&a(n.__ob__))return _t();a(n)&&a(n.is)&&(e=n.is);if(!e)return _t();0;i(r)&&c(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===o?r=me(r):1===o&&(r=function(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var s,l;if("string"==typeof e){var d=void 0;l=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),s=H.isReservedTag(e)?new mt(H.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(d=Qr(t.$options,"components",e))?new mt(e,n,r,void 0,void 0,t):Zr(d,n,t,r,e)}else s=Zr(e,n,t,r);return i(s)?s:a(s)?(a(l)&&ye(s,l),a(n)&&function(t){u(t.style)&&wr(t.style);u(t.class)&&wr(t.class)}(n),s):_t()}(t,e,n,r,o)}function ye(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,i=t.children.length;r<i;r++){var l=t.children[r];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&ye(l,e,n)}}function be(t,e){var n,r,o,s,l=null;if(i(t)||"string"==typeof t)for(l=new Array(t.length),n=0,r=t.length;n<r;n++)l[n]=e(t[n],n);else if("number"==typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(u(t))if(dt&&t[Symbol.iterator]){l=[];for(var c=t[Symbol.iterator](),d=c.next();!d.done;)l.push(e(d.value,l.length)),d=c.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,r=o.length;n<r;n++)s=o[n],l[n]=e(t[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function xe(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=O(O({},r),n)),i=o(n)||(c(e)?e():e)):i=this.$slots[t]||(c(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function we(t){return Qr(this.$options,"filters",t,!0)||I}function ke(t,e){return i(t)?-1===t.indexOf(e):t!==e}function Me(t,e,n,r,i){var o=H.keyCodes[e]||n;return i&&r&&!H.keyCodes[e]?ke(i,r):o?ke(o,t):r?E(r)!==e:void 0===t}function Ce(t,e,n,r,o){if(n)if(u(n)){i(n)&&(n=z(n));var a=void 0,s=function(i){if("class"===i||"style"===i||b(i))a=t;else{var s=t.attrs&&t.attrs.type;a=r||H.mustUseProp(e,s,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=S(i),c=E(i);l in a||c in a||(a[i]=n[i],o&&((t.on||(t.on={}))["update:".concat(i)]=function(t){n[i]=t}))};for(var l in n)s(l)}else;return t}function Se(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Le(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function Te(t,e,n){return Le(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function Le(t,e,n){if(i(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Ee(t[r],"".concat(e,"_").concat(r),n);else Ee(t,e,n)}function Ee(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ae(t,e){if(e)if(h(e)){var n=t.on=t.on?O({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function De(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];i(a)?De(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function Oe(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ze(t,e){return"string"==typeof t?e+t:t}function Pe(t){t._o=Te,t._n=v,t._s=_,t._l=be,t._t=xe,t._q=Y,t._i=R,t._m=Se,t._f=we,t._k=Me,t._b=Ce,t._v=vt,t._e=_t,t._u=De,t._g=Ae,t._d=Oe,t._p=ze}function je(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(Ie)&&delete n[c];return n}function Ie(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ye(t){return t.isComment&&t.asyncFactory}function Re(t,e,n,i){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==r&&l===i.$key&&!a&&!i.$hasNormal)return i;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=Fe(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=Be(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),W(o,"$stable",s),W(o,"$key",l),W(o,"$hasNormal",a),o}function Fe(t,e,n,r){var o=function(){var e=ht;pt(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:me(n))&&n[0];return pt(e),n&&(!o||1===n.length&&o.isComment&&!Ye(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Be(t,e){return function(){return t[e]}}function Ne(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};W(e,"_v_attr_proxy",!0),$e(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||$e(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||He(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:A(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ee(t,e,n)}))}}}function $e(t,e,n,r,i){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,Ze(t,a,r,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function Ze(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function He(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ve(){return Ge().slots}function Ue(){return Ge().attrs}function We(){return Ge().listeners}function Ge(){var t=ht;return t._setupContext||(t._setupContext=Ne(t))}function qe(t,e){var n=i(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var o=n[r];o?i(o)||c(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}var Xe,Je=null;function Ke(t,e){return(t.__esModule||dt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function Qe(t){if(i(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||Ye(n)))return n}}function tn(t,e){Xe.$on(t,e)}function en(t,e){Xe.$off(t,e)}function nn(t,e){var n=Xe;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function rn(t,e,n){Xe=t,he(e,n||{},tn,en,nn,t),Xe=void 0}var on=null;function an(t){var e=on;return on=t,function(){on=e}}function sn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function ln(t,e){if(e){if(t._directInactive=!1,sn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)ln(t.$children[n]);un(t,"activated")}}function cn(t,e){if(!(e&&(t._directInactive=!0,sn(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)cn(t.$children[n]);un(t,"deactivated")}}function un(t,e,n,r){void 0===r&&(r=!0),kt();var i=ht;r&&pt(t);var o=t.$options[e],a="".concat(e," hook");if(o)for(var s=0,l=o.length;s<l;s++)Zn(o[s],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&pt(i),Mt()}var dn=[],hn=[],fn={},pn=!1,mn=!1,_n=0;var vn=0,gn=Date.now;if(X&&!K){var yn=window.performance;yn&&"function"==typeof yn.now&&gn()>document.createEvent("Event").timeStamp&&(gn=function(){return yn.now()})}var bn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function xn(){var t,e;for(vn=gn(),mn=!0,dn.sort(bn),_n=0;_n<dn.length;_n++)(t=dn[_n]).before&&t.before(),e=t.id,fn[e]=null,t.run();var n=hn.slice(),r=dn.slice();_n=dn.length=hn.length=0,fn={},pn=mn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,ln(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&un(r,"updated")}}(r),function(){for(var t=0;t<bt.length;t++){var e=bt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}bt.length=0}(),lt&&H.devtools&&lt.emit("flush")}function wn(t){var e=t.id;if(null==fn[e]&&(t!==xt.target||!t.noRecurse)){if(fn[e]=!0,mn){for(var n=dn.length-1;n>_n&&dn[n].id>t.id;)n--;dn.splice(n+1,0,t)}else dn.push(t);pn||(pn=!0,er(xn))}}var kn="watcher",Mn="".concat(kn," callback"),Cn="".concat(kn," getter"),Sn="".concat(kn," cleanup");function Tn(t,e){return zn(t,null,e)}function Ln(t,e){return zn(t,null,{flush:"post"})}function En(t,e){return zn(t,null,{flush:"sync"})}var An,Dn={};function On(t,e,n){return zn(t,e,n)}function zn(t,e,n){var o=void 0===n?r:n,a=o.immediate,s=o.deep,l=o.flush,u=void 0===l?"pre":l;o.onTrack,o.onTrigger;var d,h,f=ht,p=function(t,e,n){return void 0===n&&(n=null),Zn(t,null,n,f,e)},m=!1,_=!1;if(Gt(t)?(d=function(){return t.value},m=$t(t)):Nt(t)?(d=function(){return t.__ob__.dep.depend(),t},s=!0):i(t)?(_=!0,m=t.some((function(t){return Nt(t)||$t(t)})),d=function(){return t.map((function(t){return Gt(t)?t.value:Nt(t)?wr(t):c(t)?p(t,Cn):void 0}))}):d=c(t)?e?function(){return p(t,Cn)}:function(){if(!f||!f._isDestroyed)return h&&h(),p(t,kn,[g])}:P,e&&s){var v=d;d=function(){return wr(v())}}var g=function(t){h=y.onStop=function(){p(t,Sn)}};if(st())return g=P,e?a&&p(e,Mn,[d(),_?[]:void 0,g]):d(),P;var y=new Cr(ht,d,P,{lazy:!0});y.noRecurse=!e;var b=_?[]:Dn;return y.run=function(){if(y.active)if(e){var t=y.get();(s||m||(_?t.some((function(t,e){return B(t,b[e])})):B(t,b)))&&(h&&h(),p(e,Mn,[t,b===Dn?void 0:b,g]),b=t)}else y.get()},"sync"===u?y.update=y.run:"post"===u?(y.post=!0,y.update=function(){return wn(y)}):y.update=function(){if(f&&f===ht&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);t.indexOf(y)<0&&t.push(y)}else wn(y)},e?a?y.run():b=y.get():"post"===u&&f?f.$once("hook:mounted",(function(){return y.get()})):y.get(),function(){y.teardown()}}var Pn=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=An,!t&&An&&(this.index=(An.scopes||(An.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=An;try{return An=this,t()}finally{An=e}}else 0},t.prototype.on=function(){An=this},t.prototype.off=function(){An=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function jn(t){return new Pn(t)}function In(){return An}function Yn(t){An&&An.cleanups.push(t)}function Rn(t,e){ht&&(Fn(ht)[t]=e)}function Fn(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function Bn(t,e,n){void 0===n&&(n=!1);var r=ht;if(r){var i=r.$parent&&r.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return n&&c(e)?e.call(r):e}else 0}function Nn(t,e,n){return ge(ht,t,e,n,2,!0)}function $n(t,e,n){kt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Hn(t,r,"errorCaptured hook")}}Hn(t,e,n)}finally{Mt()}}function Zn(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return $n(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){$n(t,r,i)}return o}function Hn(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Vn(e,null,"config.errorHandler")}Vn(t,e,n)}function Vn(t,e,n){if(!X||"undefined"==typeof console)throw t;console.error(t)}var Un,Wn=!1,Gn=[],qn=!1;function Xn(){qn=!1;var t=Gn.slice(0);Gn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ct(Promise)){var Jn=Promise.resolve();Un=function(){Jn.then(Xn),et&&setTimeout(P)},Wn=!0}else if(K||"undefined"==typeof MutationObserver||!ct(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Un="undefined"!=typeof setImmediate&&ct(setImmediate)?function(){setImmediate(Xn)}:function(){setTimeout(Xn,0)};else{var Kn=1,Qn=new MutationObserver(Xn),tr=document.createTextNode(String(Kn));Qn.observe(tr,{characterData:!0}),Un=function(){Kn=(Kn+1)%2,tr.data=String(Kn)},Wn=!0}function er(t,e){var n;if(Gn.push((function(){if(t)try{t.call(e)}catch(t){$n(t,e,"nextTick")}else n&&n(e)})),qn||(qn=!0,Un()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function nr(t){if(void 0===t&&(t="$style"),!ht)return r;var e=ht[t];return e||r}function rr(t){if(X){var e=ht;e&&Ln((function(){var n=e.$el,r=t(e,e._setupProxy);if(n&&1===n.nodeType){var i=n.style;for(var o in r)i.setProperty("--".concat(o),r[o])}}))}}function ir(t){c(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,r=t.errorComponent,i=t.delay,o=void 0===i?200:i,a=t.timeout,s=(t.suspensible,t.onError);var l=null,u=0,d=function(){var t;return l||(t=l=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,n){s(t,(function(){return e((u++,l=null,d()))}),(function(){return n(t)}),u+1)}));throw t})).then((function(e){return t!==l&&l?l:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){return{component:d(),delay:o,timeout:a,error:r,loading:n}}}function or(t){return function(e,n){if(void 0===n&&(n=ht),n)return function(t,e,n){var r=t.$options;r[e]=qr(r[e],n)}(n,t,e)}}var ar=or("beforeMount"),sr=or("mounted"),lr=or("beforeUpdate"),cr=or("updated"),ur=or("beforeDestroy"),dr=or("destroyed"),hr=or("activated"),fr=or("deactivated"),pr=or("serverPrefetch"),mr=or("renderTracked"),_r=or("renderTriggered"),vr=or("errorCaptured");function gr(t,e){void 0===e&&(e=ht),vr(t,e)}var yr="2.7.14";function br(t){return t}var xr=new ut;function wr(t){return kr(t,xr),xr.clear(),t}function kr(t,e){var n,r,o=i(t);if(!(!o&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof mt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)kr(t[n],e);else if(Gt(t))kr(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)kr(t[r[n]],e)}}var Mr=0,Cr=function(){function t(t,e,n,r,i){var o,a;o=this,void 0===(a=An&&!An._vm?An:t?t._scope:void 0)&&(a=An),a&&a.active&&a.effects.push(o),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Mr,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",c(e)?this.getter=e:(this.getter=function(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;kt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;$n(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&wr(t),Mt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():wn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Zn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),Sr={enumerable:!0,configurable:!0,get:P,set:P};function Tr(t,e,n){Sr.get=function(){return this[e][n]},Sr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Sr)}function Lr(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Ft({}),i=t.$options._propKeys=[];t.$parent&&At(!1);var o=function(o){i.push(o);var a=ti(o,e,n,t);Pt(r,o,a),o in t||Tr(t,"_props",o)};for(var a in e)o(a);At(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Ne(t);pt(t),kt();var i=Zn(n,null,[t._props||Ft({}),r],t,"setup");if(Mt(),pt(),c(i))e.render=i;else if(u(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&ee(o,i,a)}else for(var a in i)U(a)||ee(t,i,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?P:A(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;h(e=t._data=c(e)?function(t,e){kt();try{return t.call(e,e)}catch(t){return $n(t,e,"data()"),{}}finally{Mt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&k(r,o)||U(o)||Tr(t,"_data",o)}var a=zt(e);a&&a.vmCount++}(t);else{var n=zt(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=st();for(var i in e){var o=e[i],a=c(o)?o:o.get;0,r||(n[i]=new Cr(t,a||P,P,Er)),i in t||Ar(t,i,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var r=e[n];if(i(r))for(var o=0;o<r.length;o++)zr(t,n,r[o]);else zr(t,n,r)}}(t,e.watch)}var Er={lazy:!0};function Ar(t,e,n){var r=!st();c(n)?(Sr.get=r?Dr(e):Or(n),Sr.set=P):(Sr.get=n.get?r&&!1!==n.cache?Dr(e):Or(n.get):P,Sr.set=n.set||P),Object.defineProperty(t,e,Sr)}function Dr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),xt.target&&e.depend(),e.value}}function Or(t){return function(){return t.call(this,this)}}function zr(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Pr(t,e){if(t){for(var n=Object.create(null),r=dt?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=c(s)?s.call(e):s}else 0}}return n}}var jr=0;function Ir(t){var e=t.options;if(t.super){var n=Ir(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&O(t.extendOptions,r),(e=t.options=Kr(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Yr(t,e,n,o,a){var l,c=this,u=a.options;k(o,"_uid")?(l=Object.create(o))._original=o:(l=o,o=o._original);var d=s(u._compiled),h=!d;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=Pr(u.inject,o),this.slots=function(){return c.$slots||Re(o,t.scopedSlots,c.$slots=je(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Re(o,t.scopedSlots,this.slots())}}),d&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Re(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var a=ge(l,t,e,n,r,h);return a&&!i(a)&&(a.fnScopeId=u._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,r){return ge(l,t,e,n,r,h)}}function Rr(t,e,n,r,i){var o=gt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Fr(t,e){for(var n in e)t[S(n)]=e[n]}function Br(t){return t.name||t.__name||t._componentTag}Pe(Yr.prototype);var Nr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Nr.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,on)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||l),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var d=i.data.attrs||r;t._attrsProxy&&$e(t._attrsProxy,d,u.data&&u.data.attrs||r,t,"$attrs")&&(c=!0),t.$attrs=d,n=n||r;var h=t.$options._parentListeners;if(t._listenersProxy&&$e(t._listenersProxy,n,h||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,rn(t,n,h),e&&t.$options.props){At(!1);for(var f=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var _=p[m],v=t.$options.props;f[_]=ti(_,v,e,t)}At(!0),t.$options.propsData=e}c&&(t.$slots=je(o,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,un(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,hn.push(e)):ln(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?cn(e,!0):e.$destroy())}},$r=Object.keys(Nr);function Zr(t,e,n,l,c){if(!o(t)){var d=n.$options._base;if(u(t)&&(t=d.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Je;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],i=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return x(r,n)}));var d=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},h=F((function(n){t.resolved=Ke(n,e),i?r.length=0:d(!0)})),f=F((function(e){a(t.errorComp)&&(t.error=!0,d(!0))})),p=t(h,f);
vendor: 9,004 bytes, line 2
2return u(p)&&(m(p)?o(t.resolved)&&p.then(h,f):m(p.component)&&(p.component.then(h,f),a(p.error)&&(t.errorComp=Ke(p.error,e)),a(p.loading)&&(t.loadingComp=Ke(p.loading,e),0===p.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,d(!1))}),p.delay||200)),a(p.timeout)&&(c=setTimeout((function(){c=null,o(t.resolved)&&f(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}(h=t,d),void 0===t))return function(t,e,n,r,i){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,l,c);e=e||{},Ir(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],l=e.model.callback;a(s)?(i(s)?-1===s.indexOf(l):s!==l)&&(o[r]=[l].concat(s)):o[r]=l}(t.options,e);var f=function(t,e,n){var r=e.options.props;if(!o(r)){var i={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var c in r){var u=E(c);pe(i,l,c,u,!0)||pe(i,s,c,u,!1)}return i}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var l=t.options,c={},u=l.props;if(a(u))for(var d in u)c[d]=ti(d,u,e||r);else a(n.attrs)&&Fr(c,n.attrs),a(n.props)&&Fr(c,n.props);var h=new Yr(n,c,s,o,t),f=l.render.call(null,h._c,h);if(f instanceof mt)return Rr(f,n,h.parent,l);if(i(f)){for(var p=me(f)||[],m=new Array(p.length),_=0;_<p.length;_++)m[_]=Rr(p[_],n,h.parent,l);return m}}(t,f,e,n,l);var p=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var _=e.slot;e={},_&&(e.slot=_)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<$r.length;n++){var r=$r[n],i=e[r],o=Nr[r];i===o||i&&i._merged||(e[r]=i?Hr(o,i):o)}}(e);var v=Br(t.options)||c;return new mt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:c,children:l},h)}}}function Hr(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var Vr=P,Ur=H.optionMergeStrategies;function Wr(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,i,o,a=dt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(i=t[r],o=e[r],n&&k(t,r)?i!==o&&h(i)&&h(o)&&Wr(i,o):jt(t,r,o));return t}function Gr(t,e,n){return n?function(){var r=c(e)?e.call(n,n):e,i=c(t)?t.call(n,n):t;return r?Wr(r,i):i}:e?t?function(){return Wr(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function qr(t,e){var n=e?t?t.concat(e):i(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Xr(t,e,n,r){var i=Object.create(t||null);return e?O(i,e):i}Ur.data=function(t,e,n){return n?Gr(t,e,n):e&&"function"!=typeof e?t:Gr(t,e)},Z.forEach((function(t){Ur[t]=qr})),$.forEach((function(t){Ur[t+"s"]=Xr})),Ur.watch=function(t,e,n,r){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in O(o,t),e){var s=o[a],l=e[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(l):i(l)?l:[l]}return o},Ur.props=Ur.methods=Ur.inject=Ur.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return O(i,t),e&&O(i,e),i},Ur.provide=function(t,e){return t?function(){var n=Object.create(null);return Wr(n,c(t)?t.call(this):t),e&&Wr(n,c(e)?e.call(this):e,!1),n}:e};var Jr=function(t,e){return void 0===e?t:e};function Kr(t,e,n){if(c(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,a={};if(i(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(a[S(o)]={type:null});else if(h(n))for(var s in n)o=n[s],a[S(s)]=h(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(h(n))for(var a in n){var s=n[a];r[a]=h(s)?O({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];c(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Kr(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Kr(t,e.mixins[r],n);var a,s={};for(a in t)l(a);for(a in e)k(t,a)||l(a);function l(r){var i=Ur[r]||Jr;s[r]=i(t[r],e[r],n,r)}return s}function Qr(t,e,n,r){if("string"==typeof n){var i=t[e];if(k(i,n))return i[n];var o=S(n);if(k(i,o))return i[o];var a=T(o);return k(i,a)?i[a]:i[n]||i[o]||i[a]}}function ti(t,e,n,r){var i=e[t],o=!k(n,t),a=n[t],s=ii(Boolean,i.type);if(s>-1)if(o&&!k(i,"default"))a=!1;else if(""===a||a===E(t)){var l=ii(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!k(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return c(r)&&"Function"!==ni(e.type)?r.call(t):r}(r,i,t);var u=Et;At(!0),zt(a),At(u)}return a}var ei=/^\s*function (\w+)/;function ni(t){var e=t&&t.toString().match(ei);return e?e[1]:""}function ri(t,e){return ni(t)===ni(e)}function ii(t,e){if(!i(e))return ri(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(ri(e[n],t))return n;return-1}function oi(t){this._init(t)}function ai(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=Br(t)||Br(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Kr(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Tr(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Ar(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,$.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),i[r]=a,a}}function si(t){return t&&(Br(t.Ctor.options)||t.tag)}function li(t,e){return i(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function ci(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&ui(n,o,r,i)}}}function ui(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,x(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=jr++,e._isVue=!0,e.__v_skip=!0,e._scope=new Pn(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Kr(Ir(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&rn(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=je(e._renderChildren,i),t.$scopedSlots=n?Re(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return ge(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return ge(t,e,n,r,i,!0)};var o=n&&n.data;Pt(t,"$attrs",o&&o.attrs||r,null,!0),Pt(t,"$listeners",e._parentListeners||r,null,!0)}(e),un(e,"beforeCreate",void 0,!1),function(t){var e=Pr(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){Pt(t,n,e[n])})),At(!0))}(e),Lr(e),function(t){var e=t.$options.provide;if(e){var n=c(e)?e.call(t):e;if(!u(n))return;for(var r=Fn(t),i=dt?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),un(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(oi),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=jt,t.prototype.$delete=It,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return zr(r,t,e,n);(n=n||{}).user=!0;var i=new Cr(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');kt(),Zn(e,r,[i.value],r,o),Mt()}return function(){i.teardown()}}}(oi),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(i(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var l=s.length;l--;)if((a=s[l])===e||a.fn===e){s.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?D(n):n;
vendor: 18,318 bytes, line 2
2for(var r=D(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Zn(n[o],e,r,e,i)}return e}}(oi),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=an(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){un(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),un(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(oi),function(t){Pe(t.prototype),t.prototype.$nextTick=function(t){return er(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=Re(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&He(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{pt(e),Je=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){$n(n,e,"render"),t=e._vnode}finally{Je=null,pt()}return i(t)&&1===t.length&&(t=t[0]),t instanceof mt||(t=_t()),t.parent=o,t}}(oi);var di=[String,RegExp,Array],hi={name:"keep-alive",abstract:!0,props:{include:di,exclude:di,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:si(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&ui(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ui(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ci(t,(function(t){return li(e,t)}))})),this.$watch("exclude",(function(e){ci(t,(function(t){return!li(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Qe(t),n=e&&e.componentOptions;if(n){var r=si(n),i=this.include,o=this.exclude;if(i&&(!r||!li(i,r))||o&&r&&li(o,r))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,x(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},fi={KeepAlive:hi};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:Vr,extend:O,mergeOptions:Kr,defineReactive:Pt},t.set=jt,t.delete=It,t.nextTick=er,t.observable=function(t){return zt(t),t},t.options=Object.create(null),$.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,O(t.options.components,fi),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=D(arguments,1);return n.unshift(this),c(t.install)?t.install.apply(t,n):c(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Kr(this.options,t),this}}(t),ai(t),function(t){$.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&c(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(oi),Object.defineProperty(oi.prototype,"$isServer",{get:st}),Object.defineProperty(oi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(oi,"FunctionalRenderContext",{value:Yr}),oi.version=yr;var pi=g("style,class"),mi=g("input,textarea,option,select,progress"),_i=function(t,e,n){return"value"===n&&mi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},vi=g("contenteditable,draggable,spellcheck"),gi=g("events,caret,typing,plaintext-only"),yi=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),bi="http://www.w3.org/1999/xlink",xi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},wi=function(t){return xi(t)?t.slice(6,t.length):""},ki=function(t){return null==t||!1===t};function Mi(t){for(var e=t.data,n=t,r=t;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Ci(r.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Ci(e,n.data));return function(t,e){if(a(t)||a(e))return Si(t,Ti(e));return""}(e.staticClass,e.class)}function Ci(t,e){return{staticClass:Si(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Si(t,e){return t?e?t+" "+e:t:e||""}function Ti(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)a(e=Ti(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Li={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ei=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ai=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Di=function(t){return Ei(t)||Ai(t)};function Oi(t){return Ai(t)?"svg":"math"===t?"math":void 0}var zi=Object.create(null);var Pi=g("text,number,password,search,email,tel,url");function ji(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Ii=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Li[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Yi={create:function(t,e){Ri(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ri(t,!0),Ri(e))},destroy:function(t){Ri(t,!0)}};function Ri(t,e){var n=t.data.ref;if(a(n)){var r=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(c(n))Zn(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,d="string"==typeof n||"number"==typeof n,h=Gt(n),f=r.$refs;if(d||h)if(u){var p=d?f[n]:n.value;e?i(p)&&x(p,o):i(p)?p.includes(o)||p.push(o):d?(f[n]=[o],Fi(r,n,f[n])):n.value=[o]}else if(d){if(e&&f[n]!==o)return;f[n]=l,Fi(r,n,s)}else if(h){if(e&&n.value!==o)return;n.value=s}else 0}}}function Fi(t,e,n){var r=t._setupState;r&&k(r,e)&&(Gt(r[e])?r[e].value=n:r[e]=n)}var Bi=new mt("",{},[]),Ni=["create","activate","update","remove","destroy"];function $i(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||Pi(r)&&Pi(i)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Zi(t,e,n){var r,i,o={};for(r=e;r<=n;++r)a(i=t[r].key)&&(o[i]=r);return o}var Hi={create:Vi,update:Vi,destroy:function(t){Vi(t,Bi)}};function Vi(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===Bi,a=e===Bi,s=Wi(t.data.directives,t.context),l=Wi(e.data.directives,e.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,qi(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(qi(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)qi(c[n],"inserted",e,t)};o?fe(e,"insert",d):d()}u.length&&fe(e,"postpatch",(function(){for(var n=0;n<u.length;n++)qi(u[n],"componentUpdated",e,t)}));if(!o)for(n in s)l[n]||qi(s[n],"unbind",t,t,a)}(t,e)}var Ui=Object.create(null);function Wi(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=Ui),i[Gi(r)]=r,e._setupState&&e._setupState.__sfc){var o=r.def||Qr(e,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||Qr(e.$options,"directives",r.name)}return i}function Gi(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function qi(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){$n(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Xi=[Yi,Hi];function Ji(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,i,l=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.attrs=O({},u)),u)i=u[r],c[r]!==i&&Ki(l,r,i,e.data.pre);for(r in(K||tt)&&u.value!==c.value&&Ki(l,"value",u.value),c)o(u[r])&&(xi(r)?l.removeAttributeNS(bi,wi(r)):vi(r)||l.removeAttribute(r))}}function Ki(t,e,n,r){r||t.tagName.indexOf("-")>-1?Qi(t,e,n):yi(e)?ki(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):vi(e)?t.setAttribute(e,function(t,e){return ki(e)||"false"===e?"false":"contenteditable"===t&&gi(e)?e:"true"}(e,n)):xi(e)?ki(n)?t.removeAttributeNS(bi,wi(e)):t.setAttributeNS(bi,e,n):Qi(t,e,n)}function Qi(t,e,n){if(ki(n))t.removeAttribute(e);else{if(K&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var to={create:Ji,update:Ji};function eo(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Mi(e),l=n._transitionClasses;a(l)&&(s=Si(s,Ti(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var no,ro,io,oo,ao,so,lo={create:eo,update:eo},co=/[\w).+\-_$\]]/;function uo(t){var e,n,r,i,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(l)96===e&&92!==n&&(l=!1);else if(c)47===e&&92!==n&&(c=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||u||d||h){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&co.test(m)||(c=!0)}}else void 0===i?(f=r+1,i=t.slice(0,r).trim()):_();function _(){(o||(o=[])).push(t.slice(f,r).trim()),f=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==f&&_(),o)for(r=0;r<o.length;r++)i=ho(i,o[r]);return i}function ho(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var r=e.slice(0,n),i=e.slice(n+1);return'_f("'.concat(r,'")(').concat(t).concat(")"!==i?","+i:i)}function fo(t,e){console.error("[Vue compiler]: ".concat(t))}function po(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function mo(t,e,n,r,i){(t.props||(t.props=[])).push(Mo({name:e,value:n,dynamic:i},r)),t.plain=!1}function _o(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Mo({name:e,value:n,dynamic:i},r)),t.plain=!1}function vo(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Mo({name:e,value:n},r))}function go(t,e,n,r,i,o,a,s){(t.directives||(t.directives=[])).push(Mo({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function yo(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function bo(t,e,n,i,o,a,s,l){var c;(i=i||r).right?l?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete i.right):i.middle&&(l?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),i.capture&&(delete i.capture,e=yo("!",e,l)),i.once&&(delete i.once,e=yo("~",e,l)),i.passive&&(delete i.passive,e=yo("&",e,l)),i.native?(delete i.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Mo({value:n.trim(),dynamic:l},s);i!==r&&(u.modifiers=i);var d=c[e];Array.isArray(d)?o?d.unshift(u):d.push(u):c[e]=d?o?[u,d]:[d,u]:u,t.plain=!1}function xo(t,e,n){var r=wo(t,":"+e)||wo(t,"v-bind:"+e);if(null!=r)return uo(r);if(!1!==n){var i=wo(t,e);if(null!=i)return JSON.stringify(i)}}function wo(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function ko(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function Mo(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Co(t,e,n){var r=n||{},i=r.number,o="$$v",a=o;r.trim&&(a="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),i&&(a="_n(".concat(a,")"));var s=So(e,a);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(o,") {").concat(s,"}")}}function So(t,e){var n=function(t){if(t=t.trim(),no=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<no-1)return(oo=t.lastIndexOf("."))>-1?{exp:t.slice(0,oo),key:'"'+t.slice(oo+1)+'"'}:{exp:t,key:null};ro=t,oo=ao=so=0;for(;!Lo();)Eo(io=To())?Do(io):91===io&&Ao(io);return{exp:t.slice(0,ao),key:t.slice(ao+1,so)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function To(){return ro.charCodeAt(++oo)}function Lo(){return oo>=no}function Eo(t){return 34===t||39===t}function Ao(t){var e=1;for(ao=oo;!Lo();)if(Eo(t=To()))Do(t);else if(91===t&&e++,93===t&&e--,0===e){so=oo;break}}function Do(t){for(var e=t;!Lo()&&(t=To())!==e;);}var Oo,zo="__r";function Po(t,e,n){var r=Oo;return function i(){var o=e.apply(null,arguments);null!==o&&Yo(t,i,n,r)}}var jo=Wn&&!(rt&&Number(rt[1])<=53);function Io(t,e,n,r){if(jo){var i=vn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Oo.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function Yo(t,e,n,r){(r||Oo).removeEventListener(t,e._wrapper||e,n)}function Ro(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Oo=e.elm||t.elm,function(t){if(a(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}a(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),he(n,r,Io,Yo,Po,e.context),Oo=void 0}}var Fo,Bo={create:Ro,update:Ro,destroy:function(t){return Ro(t,Bi)}};function No(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=O({},c)),l)n in c||(i[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===l[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);$o(i,u)&&(i.value=u)}else if("innerHTML"===n&&Ai(i.tagName)&&o(i.innerHTML)){(Fo=Fo||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var d=Fo.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(r!==l[n])try{i[n]=r}catch(t){}}}}function $o(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Zo={create:No,update:No},Ho=M((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Vo(t){var e=Uo(t.style);return t.staticStyle?O(t.staticStyle,e):e}function Uo(t){return Array.isArray(t)?z(t):"string"==typeof t?Ho(t):t}var Wo,Go=/^--/,qo=/\s*!important$/,Xo=function(t,e,n){if(Go.test(e))t.style.setProperty(e,n);else if(qo.test(n))t.style.setProperty(E(e),n.replace(qo,""),"important");else{var r=Ko(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Jo=["Webkit","Moz","ms"],Ko=M((function(t){if(Wo=Wo||document.createElement("div").style,"filter"!==(t=S(t))&&t in Wo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Jo.length;n++){var r=Jo[n]+e;if(r in Wo)return r}}));function Qo(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,s,l=e.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,h=Uo(e.data.style)||{};e.data.normalizedStyle=a(h.__ob__)?O({},h):h;var f=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Vo(i.data))&&O(r,n);(n=Vo(t.data))&&O(r,n);for(var o=t;o=o.parent;)o.data&&(n=Vo(o.data))&&O(r,n);return r}(e,!0);for(s in d)o(f[s])&&Xo(l,s,"");for(s in f)(i=f[s])!==d[s]&&Xo(l,s,null==i?"":i)}}var ta={create:Qo,update:Qo},ea=/\s+/;function na(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>
vendor: 2,817 bytes, line 2
2-1?e.split(ea).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ra(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ea).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ia(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,oa(t.name||"v")),O(e,t),e}return"string"==typeof t?oa(t):void 0}}var oa=M((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),aa=X&&!Q,sa="transition",la="animation",ca="transition",ua="transitionend",da="animation",ha="animationend";aa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ca="WebkitTransition",ua="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(da="WebkitAnimation",ha="webkitAnimationEnd"));var fa=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function pa(t){fa((function(){fa(t)}))}function ma(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),na(t,e))}function _a(t,e){t._transitionClasses&&x(t._transitionClasses,e),ra(t,e)}function va(t,e,n){var r=ya(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===sa?ua:ha,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),t.addEventListener(s,u)}var ga=/\b(transform|all)(,|$)/;function ya(t,e){var n,r=window.getComputedStyle(t),i=(r[ca+"Delay"]||"").split(", "),o=(r[ca+"Duration"]||"").split(", "),a=ba(i,o),s=(r[da+"Delay"]||"").split(", "),l=(r[da+"Duration"]||"").split(", "),c=ba(s,l),u=0,d=0;return e===sa?a>0&&(n=sa,u=a,d=o.length):e===la?c>0&&(n=la,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?sa:la:null)?n===sa?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===sa&&ga.test(r[ca+"Property"])}}function ba(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return xa(e)+xa(t[n])})))}function xa(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function wa(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ia(t.data.transition);if(!o(r)&&!a(n._enterCb)&&1===n.nodeType){for(var i=r.css,s=r.type,l=r.enterClass,d=r.enterToClass,h=r.enterA
vendor: 4,555 bytes, line 2
2ctiveClass,f=r.appearClass,p=r.appearToClass,m=r.appearActiveClass,_=r.beforeEnter,g=r.enter,y=r.afterEnter,b=r.enterCancelled,x=r.beforeAppear,w=r.appear,k=r.afterAppear,M=r.appearCancelled,C=r.duration,S=on,T=on.$vnode;T&&T.parent;)S=T.context,T=T.parent;var L=!S._isMounted||!t.isRootInsert;if(!L||w||""===w){var E=L&&f?f:l,A=L&&m?m:h,D=L&&p?p:d,O=L&&x||_,z=L&&c(w)?w:g,P=L&&k||y,j=L&&M||b,I=v(u(C)?C.enter:C);0;var Y=!1!==i&&!Q,R=Ca(z),B=n._enterCb=F((function(){Y&&(_a(n,D),_a(n,A)),B.cancelled?(Y&&_a(n,E),j&&j(n)):P&&P(n),n._enterCb=null}));t.data.show||fe(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),z&&z(n,B)})),O&&O(n),Y&&(ma(n,E),ma(n,A),pa((function(){_a(n,E),B.cancelled||(ma(n,D),R||(Ma(I)?setTimeout(B,I):va(n,s,B)))}))),t.data.show&&(e&&e(),z&&z(n,B)),Y||R||B()}}}function ka(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ia(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var i=r.css,s=r.type,l=r.leaveClass,c=r.leaveToClass,d=r.leaveActiveClass,h=r.beforeLeave,f=r.leave,p=r.afterLeave,m=r.leaveCancelled,_=r.delayLeave,g=r.duration,y=!1!==i&&!Q,b=Ca(f),x=v(u(g)?g.leave:g);0;var w=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(_a(n,c),_a(n,d)),w.cancelled?(y&&_a(n,l),m&&m(n)):(e(),p&&p(n)),n._leaveCb=null}));_?_(k):k()}function k(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),y&&(ma(n,l),ma(n,d),pa((function(){_a(n,l),w.cancelled||(ma(n,c),b||(Ma(x)?setTimeout(w,x):va(n,s,w)))}))),f&&f(n,w),y||b||w())}}function Ma(t){return"number"==typeof t&&!isNaN(t)}function Ca(t){if(o(t))return!1;var e=t.fns;return a(e)?Ca(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Sa(t,e){!0!==e.data.show&&wa(e)}var Ta=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<Ni.length;++e)for(r[Ni[e]]=[],n=0;n<c.length;++n)a(c[n][Ni[e]])&&r[Ni[e]].push(c[n][Ni[e]]);function d(t){var e=u.parentNode(t);a(e)&&u.removeChild(e,t)}function h(t,e,n,i,o,l,c){if(a(t.elm)&&a(l)&&(t=l[c]=gt(t)),t.isRootInsert=!o,!function(t,e,n,i){var o=t.data;if(a(o)){var l=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return f(t,e),p(n,t.elm,i),s(l)&&function(t,e,n,i){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Bi,s);e.push(s);break}p(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var d=t.data,h=t.children,_=t.tag;a(_)?(t.elm=t.ns?u.createElementNS(t.ns,_):u.createElement(_,t),y(t),m(t,h,e),a(d)&&v(t,e),p(n,t.elm,i)):s(t.isComment)?(t.elm=u.createComment(t.text),p(n,t.elm,i)):(t.elm=u.createTextNode(t.text),p(n,t.elm,i))}}function f(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,_(t)?(v(t,e),y(t)):(Ri(t),e.push(t))}function p(t,e,n){a(t)&&(a(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function m(t,e,n){if(i(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else l(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function _(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function v(t,n){for(var i=0;i<r.create.length;++i)r.create[i](Bi,t);a(e=t.data.hook)&&(a(e.create)&&e.create(Bi,t),a(e.insert)&&n.push(t))}function y(t){var e;if(a(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;a(e=on)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function b(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function x(t){var e,n,i=t.data;if(a(i))for(a(e=i.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)x(t.children[n])}function w(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(k(r),x(r)):d(r.elm))}}function k(t,e){if(a(e)||a(t.data)){var n,i=r.remove.length+1;for(a(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&d(t)}return n.listeners=e,n}(t.elm,i),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&k(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else d(t.elm)}function M(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(a(o)&&$i(t,o))return i}}function C(t,e,n,i,l,c){if(t!==e){a(e.elm)&&a(i)&&(e=i[l]=gt(e));var d=e.elm=t.elm;
vendor: 5,245 bytes, line 2
2if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?L(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,p=e.data;a(p)&&a(f=p.hook)&&a(f=f.prepatch)&&f(t,e);var m=t.children,v=e.children;if(a(p)&&_(e)){for(f=0;f<r.update.length;++f)r.update[f](t,e);a(f=p.hook)&&a(f=f.update)&&f(t,e)}o(e.text)?a(m)&&a(v)?m!==v&&function(t,e,n,r,i){var s,l,c,d=0,f=0,p=e.length-1,m=e[0],_=e[p],v=n.length-1,g=n[0],y=n[v],x=!i;for(;d<=p&&f<=v;)o(m)?m=e[++d]:o(_)?_=e[--p]:$i(m,g)?(C(m,g,r,n,f),m=e[++d],g=n[++f]):$i(_,y)?(C(_,y,r,n,v),_=e[--p],y=n[--v]):$i(m,y)?(C(m,y,r,n,v),x&&u.insertBefore(t,m.elm,u.nextSibling(_.elm)),m=e[++d],y=n[--v]):$i(_,g)?(C(_,g,r,n,f),x&&u.insertBefore(t,_.elm,m.elm),_=e[--p],g=n[++f]):(o(s)&&(s=Zi(e,d,p)),o(l=a(g.key)?s[g.key]:M(g,e,d,p))?h(g,r,t,m.elm,!1,n,f):$i(c=e[l],g)?(C(c,g,r,n,f),e[l]=void 0,x&&u.insertBefore(t,c.elm,m.elm)):h(g,r,t,m.elm,!1,n,f),g=n[++f]);d>p?b(t,o(n[v+1])?null:n[v+1].elm,n,f,v,r):f>v&&w(e,d,p)}(d,m,v,n,c):a(v)?(a(t.text)&&u.setTextContent(d,""),b(d,null,v,0,v.length-1,n)):a(m)?w(m,0,m.length-1):a(t.text)&&u.setTextContent(d,""):t.text!==e.text&&u.setTextContent(d,e.text),a(p)&&a(f=p.hook)&&a(f=f.postpatch)&&f(t,e)}}}function S(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var T=g("attrs,class,staticClass,staticStyle,key");function L(t,e,n,r){var i,o=e.tag,l=e.data,c=e.children;if(r=r||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(i=l.hook)&&a(i=i.init)&&i(e,!0),a(i=e.componentInstance)))return f(e,n),!0;if(a(o)){if(a(c))if(t.hasChildNodes())if(a(i=l)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,h=0;h<c.length;h++){if(!d||!L(d,c[h],n,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(e,c,n);if(a(l)){var p=!1;for(var _ in l)if(!T(_)){p=!0,v(e,n);break}!p&&l.class&&wr(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var l,c=!1,d=[];if(o(t))c=!0,h(e,d);else{var f=a(t.nodeType);if(!f&&$i(t,e))C(t,e,d,null,null,i);else{if(f){if(1===t.nodeType&&t.hasAttribute(N)&&(t.removeAttribute(N),n=!0),s(n)&&L(t,e,d))return S(e,d,!0),t;l=t,t=new mt(u.tagName(l).toLowerCase(),{},[],void 0,l)}var p=t.elm,m=u.parentNode(p);if(h(e,d,p._leaveCb?null:m,u.nextSibling(p)),a(e.parent))for(var v=e.parent,g=_(e);v;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=e.elm,g){for(var b=0;b<r.create.length;++b)r.create[b](Bi,v);var k=v.data.hook.insert;if(k.merged)for(var M=1;M<k.fns.length;M++)k.fns[M]()}else Ri(v);v=v.parent}a(m)?w([t],0,0):a(t.tag)&&x(t)}}return S(e,d,c),e.elm}a(t)&&x(t)}}({nodeOps:Ii,modules:[to,lo,Bo,Zo,ta,X?{create:Sa,activate:Sa,remove:function(t,e){!0!==t.data.show?ka(t,e):e()}}:{}].concat(Xi)});Q&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ja(t,"input")}));var La={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?fe(n,"postpatch",(function(){La.componentUpdated(t,e,n)})):Ea(t,e,n.context),t._vOptions=[].map.call(t.options,Oa)):("textarea"===n.tag||Pi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",za),t.addEventListener("compositionend",Pa),t.addEventListener("change",Pa),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ea(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Oa);if(i.some((function(t,e){return!Y(t,r[e])})))(t.multiple?e.value.some((function(t){return Da(t,i)})):e.value!==e.oldValue&&Da(e.value,i))&&ja(t,"change")}}};function Ea(t,e,n){Aa(t,e,n),(K||tt)&&setTimeout((function(){Aa(t,e,n)}),0)}function Aa(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],i)o=R(r,Oa(a))>-1,a.selected!==o&&(a.selected=o);else if(Y(Oa(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Da(t,e){return e.every((function(e){return!Y(e,t)}))}function Oa(t){return"_value"in t?t._value:t.value}function za(t){t.target.composing=!0}function Pa(t){t.target.composing&&(t.target.composing=!1,ja(t.target,"input"))}function ja(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ia(t){return!t.componentInstance||t.data&&t.data.transition?t:Ia(t.componentInstance._vnode)}var Ya={bind:function(t,e,n){var r=e.value,i=(n=Ia(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,wa(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Ia(n)).data&&n.data.transition?(n.data.show=!0,r?wa(n,(function(){t.style.display=t.__vOriginalDisplay})):ka(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Ra={model:La,show:Ya},Fa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterA
vendor: 30,474 bytes, line 2
2ctiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ba(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ba(Qe(e.children)):t}function Na(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[S(r)]=i[r];return e}function $a(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Za=function(t){return t.tag||Ye(t)},Ha=function(t){return"show"===t.name},Va={name:"transition",props:Fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Za)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=Ba(i);if(!o)return i;if(this._leaving)return $a(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:l(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Na(this),c=this._vnode,u=Ba(c);if(o.data.directives&&o.data.directives.some(Ha)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Ye(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},s);if("out-in"===r)return this._leaving=!0,fe(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),$a(t,i);if("in-out"===r){if(Ye(o))return c;var h,f=function(){h()};fe(s,"afterEnter",f),fe(s,"enterCancelled",f),fe(d,"delayLeave",(function(t){h=t}))}}return i}}},Ua=O({tag:String,moveClass:String},Fa);delete Ua.mode;var Wa={props:Ua,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=an(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Na(this),s=0;s<i.length;s++){if((u=i[s]).tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){var l=[],c=[];for(s=0;s<r.length;s++){var u;(u=r[s]).data.transition=a,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?l.push(u):c.push(u)}this.kept=t(e,null,l),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ga),t.forEach(qa),t.forEach(Xa),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;ma(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ua,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(ua,t),n._moveCb=null,_a(n,e))})}})))},methods:{hasMove:function(t,e){if(!aa)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){ra(n,t)})),na(n,e),n.style.display="none",this.$el.appendChild(n);var r=ya(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Ga(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function qa(t){t.data.newPos=t.elm.getBoundingClientRect()}function Xa(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var Ja={Transition:Va,TransitionGroup:Wa};oi.config.mustUseProp=_i,oi.config.isReservedTag=Di,oi.config.isReservedAttr=pi,oi.config.getTagNamespace=Oi,oi.config.isUnknownElement=function(t){if(!X)return!0;if(Di(t))return!1;if(t=t.toLowerCase(),null!=zi[t])return zi[t];var e=document.createElement(t);return t.indexOf("-")>-1?zi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:zi[t]=/HTMLUnknownElement/.test(e.toString())},O(oi.options.directives,Ra),O(oi.options.components,Ja),oi.prototype.__patch__=X?Ta:P,oi.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=_t),un(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Cr(t,r,P,{before:function(){t._isMounted&&!t._isDestroyed&&un(t,"beforeUpdate")}},!0),n=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==t.$vnode&&(t._isMounted=!0,un(t,"mounted")),t}(this,t=t&&X?ji(t):void 0,e)},X&&setTimeout((function(){H.devtools&&lt&&lt.emit("init",oi)}),0);var Ka=/\{\{((?:.|\r?\n)+?)\}\}/g,Qa=/[-.*+?^${}()|[\]\/\\]/g,ts=M((function(t){var e=t[0].replace(Qa,"\\$&"),n=t[1].replace(Qa,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var es={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=wo(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=xo(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}};var ns,rs={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=wo(t,"style");n&&(t.staticStyle=JSON.stringify(Ho(n)));var r=xo(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}},is=function(t){return(ns=ns||document.createElement("div")).innerHTML=t,ns.textContent},os=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),as=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ss=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ls=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,cs=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,us="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(V.source,"]*"),ds="((?:".concat(us,"\\:)?").concat(us,")"),hs=new RegExp("^<".concat(ds)),fs=/^\s*(\/?)>/,ps=new RegExp("^<\\/".concat(ds,"[^>]*>")),ms=/^<!DOCTYPE [^>]+>/i,_s=/^<!\--/,vs=/^<!\[/,gs=g("script,style,textarea",!0),ys={},bs={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},xs=/&(?:lt|gt|quot|amp|#39);/g,ws=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ks=g("pre,textarea",!0),Ms=function(t,e){return t&&ks(t)&&"\n"===e[0]};function Cs(t,e){var n=e?ws:xs;return t.replace(n,(function(t){return bs[t]}))}function Ss(t,e){for(var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||j,s=e.canBeLeftOpenTag||j,l=0,c=function(){if(n=t,r&&gs(r)){var c=0,h=r.toLowerCase(),f=ys[h]||(ys[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i"));w=t.replace(f,(function(t,n,r){return c=r.length,gs(h)||"noscript"===h||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Ms(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-w.length,t=w,d(h,l-c,l)}else{var p=t.indexOf("<");if(0===p){if(_s.test(t)){var m=t.indexOf("--\x3e");if(m>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,m),l,l+m+3),u(m+3),"continue"}if(vs.test(t)){var _=t.indexOf("]>");if(_>=0)return u(_+2),"continue"}var v=t.match(ms);if(v)return u(v[0].length),"continue";var g=t.match(ps);if(g){var y=l;return u(g[0].length),d(g[1],y,l),"continue"}var b=function(){var e=t.match(hs);if(e){var n={tagName:e[1],attrs:[],start:l};u(e[0].length);for(var r=void 0,i=void 0;!(r=t.match(fs))&&(i=t.match(cs)||t.match(ls));)i.start=l,u(i[0].length),i.end=l,n.attrs.push(i);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=l,n}}();if(b)return function(t){var n=t.tagName,l=t.unarySlash;o&&("p"===r&&ss(n)&&d(r),s(n)&&r===n&&d(n));for(var c=a(n)||!!l,u=t.attrs.length,h=new Array(u),f=0;f<u;f++){var p=t.attrs[f],m=p[3]||p[4]||p[5]||"",_="a"===n&&"href"===p[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[f]={name:p[1],value:Cs(m,_)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n);e.start&&e.start(n,h,c,t.start,t.end)}(b),Ms(b.tagName,t)&&u(1),"continue"}var x=void 0,w=void 0,k=void 0;if(p>=0){for(w=t.slice(p);!(ps.test(w)||hs.test(w)||_s.test(w)||vs.test(w)||(k=w.indexOf("<",1))<0);)p+=k,w=t.slice(p);x=t.substring(0,p)}p<0&&(x=t),x&&u(x.length),e.chars&&x&&e.chars(x,l-x.length,l)}if(t===n)return e.chars&&e.chars(t),"break"};t;){if("break"===c())break}function u(e){l+=e,t=t.substring(e)}function d(t,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),t)for(s=t.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)e.end&&e.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}d()}var Ts,Ls,Es,As,Ds,Os,zs,Ps,js=/^@|^v-on:/,Is=/^v-|^@|^:|^#/,Ys=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Rs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fs=/^\(|\)$/g,Bs=/^\[.*\]$/,Ns=/:(.*)$/,$s=/^:|^\.|^v-bind:/,Zs=/\.[^.\]]+(?=[^\]]*$)/g,Hs=/^v-slot(:|$)|^#/,Vs=/[\r\n]/,Us=/[ \f\t\r\n]+/g,Ws=M(is),Gs="_empty_";function qs(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:nl(e),rawAttrsMap:{},parent:n,children:[]}}function Xs(t,e){Ts=e.warn||fo,Os=e.isPreTag||j,zs=e.mustUseProp||j,Ps=e.getTagNamespace||j;var n=e.isReservedTag||j;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),Es=po(e.modules,"transformNode"),As=po(e.modules,"preTransformNode"),Ds=po(e.modules,"postTransformNode"),Ls=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,l=!1,c=!1;function u(t){if(d(t),l||t.processed||(t=Js(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&Qs(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)a=t,s=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children),s&&s.if&&Qs(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var a,s;t.children=t.children.filter((function(t){return!t.slotScope})),d(t),t.pre&&(l=!1),Os(t.tag)&&(c=!1);for(var u=0;u<Ds.length;u++)Ds[u](t,e)}function d(t){if(!c)for(var e=void 0;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return Ss(t,{warn:Ts,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,d){var h=i&&i.ns||Ps(t);K&&"svg"===h&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];rl.test(r.name)||(r.name=r.name.replace(il,""),e.push(r))}return e}(n));var f,p=qs(t,n,i);h&&(p.ns=h),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||st()||(p.forbidden=!0);for(var m=0;m<As.length;m++)p=As[m](p,e)||p;l||(!function(t){null!=wo(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(l=!0)),Os(p.tag)&&(c=!0),l?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(p):p.processed||(Ks(p),function(t){var e=wo(t,"v-if");if(e)t.if=e,Qs(t,{exp:e,block:t});else{null!=wo(t,"v-else")&&(t.else=!0);var n=wo(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=wo(t,"v-once")&&(t.once=!0)}(p)),r||(r=p),a?u(p):(i=p,o.push(p))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],u(r)},chars:function(t,e,n){if(i&&(!K||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r,o=i.children;if(t=c||t.trim()?"script"===(r=i).tag||"style"===r.tag?t:Ws(t):o.length?s?"condense"===s&&Vs.test(t)?"":" ":a?" ":"":""){c||"condense"!==s||(t=t.replace(Us," "));var u=void 0,d=void 0;!l&&" "!==t&&(u=function(t,e){var n=e?ts(e):Ka;if(n.test(t)){for(var r,i,o,a=[],s=[],l=n.lastIndex=0;r=n.exec(t);){(i=r.index)>l&&(s.push(o=t.slice(l,i)),a.push(JSON.stringify(o)));var c=uo(r[1].trim());a.push("_s(".concat(c,")")),s.push({"@binding":c}),l=i+r[0].length}return l<t.length&&(s.push(o=t.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Ls))?d={type:2,expression:u.expression,tokens:u.tokens,text:t}:" "===t&&o.length&&" "===o[o.length-1].text||(d={type:3,text:t}),d&&o.push(d)}}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function Js(t,e){var n;!function(t){var e=xo(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=xo(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=wo(t,"scope"),t.slotScope=e||wo(t,"slot-scope")):(e=wo(t,"slot-scope"))&&(t.slotScope=e);var n=xo(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||_o(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){if(a=ko(t,Hs)){0;var r=tl(a),i=r.name,o=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=o,t.slotScope=a.value||Gs}}else{var a;if(a=ko(t,Hs)){0;var s=t.scopedSlots||(t.scopedSlots={}),l=tl(a),c=l.name,u=(o=l.dynamic,s[c]=qs("template",[],t));u.slotTarget=c,u.slotTargetDynamic=o,u.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=u,!0})),u.slotScope=a.value||Gs,t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=xo(n,"name")),function(t){var e;(e=xo(t,"is"))&&(t.component=e);null!=wo(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Es.length;r++)t=Es[r](t,e)||t;return function(t){var e,n,r,i,o,a,s,l,c=t.attrsList;for(e=0,n=c.length;e<n;e++){if(r=i=c[e].name,o=c[e].value,Is.test(r))if(t.hasBindings=!0,(a=el(r.replace(Is,"")))&&(r=r.replace(Zs,"")),$s.test(r))r=r.replace($s,""),o=uo(o),(l=Bs.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(r=S(r))&&(r="innerHTML"),a.camel&&!l&&(r=S(r)),a.sync&&(s=So(o,"$event"),l?bo(t,'"update:"+('.concat(r,")"),s,null,!1,0,c[e],!0):(bo(t,"update:".concat(S(r)),s,null,!1,0,c[e]),E(r)!==S(r)&&bo(t,"update:".concat(E(r)),s,null,!1,0,c[e])))),a&&a.prop||!t.component&&zs(t.tag,t.attrsMap.type,r)?mo(t,r,o,c[e],l):_o(t,r,o,c[e],l);else if(js.test(r))r=r.replace(js,""),(l=Bs.test(r))&&(r=r.slice(1,-1)),bo(t,r,o,a,!1,0,c[e],l);else{var u=(r=r.replace(Is,"")).match(Ns),d=u&&u[1];l=!1,d&&(r=r.slice(0,-(d.length+1)),Bs.test(d)&&(d=d.slice(1,-1),l=!0)),go(t,r,i,o,d,l,a,c[e])}else _o(t,r,JSON.stringify(o),c[e]),!t.component&&"muted"===r&&zs(t.tag,t.attrsMap.type,r)&&mo(t,r,"true",c[e])}}(t),t}function Ks(t){var e;if(e=wo(t,"v-for")){var n=function(t){var e=t.match(Ys);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(Fs,""),i=r.match(Rs);i?(n.alias=r.replace(Rs,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&O(t,n)}}function Qs(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function tl(t){var e=t.name.replace(Hs,"");return e||"#"!==t.name[0]&&(e="default"),Bs.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function el(t){var e=t.match(Zs);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function nl(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var rl=/^xmlns:NS\d+/,il=/^NS\d+:/;function ol(t){return qs(t.tag,t.attrsList.slice(),t.parent)}var al=[es,rs,{preTransformNode:function(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=xo(t,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=wo(t,"v-if",!0),o=i?"&&(".concat(i,")"):"",a=null!=wo(t,"v-else",!0),s=wo(t,"v-else-if",!0),l=ol(t);Ks(l),vo(l,"type","checkbox"),Js(l,e),l.processed=!0,l.if="(".concat(r,")==='checkbox'")+o,Qs(l,{exp:l.if,block:l});var c=ol(t);wo(c,"v-for",!0),vo(c,"type","radio"),Js(c,e),Qs(l,{exp:"(".concat(r,")==='radio'")+o,block:c});var u=ol(t);return wo(u,"v-for",!0),vo(u,":type",r),Js(u,e),Qs(l,{exp:i,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var sl,ll,cl={model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Co(t,r,i),!1;if("select"===o)!function(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(i,";");a="".concat(a," ").concat(So(e,o)),bo(t,"change",a,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=xo(t,"value")||"null",o=xo(t,"true-value")||"true",a=xo(t,"false-value")||"false";mo(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(i,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),bo(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(So(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(So(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(So(e,"$$c"),"}"),null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=xo(t,"value")||"null";i=r?"_n(".concat(i,")"):i,mo(t,"checked","_q(".concat(e,",").concat(i,")")),bo(t,"change",So(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?zo:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");a&&(u="_n(".concat(u,")"));var d=So(e,u);l&&(d="if($event.target.composing)return;".concat(d));mo(t,"value","(".concat(e,")")),bo(t,c,d,null,!0),(s||a)&&bo(t,"blur","$forceUpdate()")}(t,r,i);else{if(!H.isReservedTag(o))return Co(t,r,i),!1}return!0},text:function(t,e){e.value&&mo(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&mo(t,"innerHTML","_s(".concat(e.value,")"),e)}},ul={expectHTML:!0,modules:al,directives:cl,isPreTag:function(t){return"pre"===t},isUnaryTag:os,mustUseProp:_i,canBeLeftOpenTag:as,isReservedTag:Di,getTagNamespace:Oi,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(al)},dl=M((function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function hl(t,e){t&&(sl=dl(e.staticKeys||""),ll=e.isReservedTag||j,fl(t),pl(t,!1))}function fl(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||y(t.tag)||!ll(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(sl)))}(t),1===t.type){if(!ll(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];fl(r),r.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var i=t.ifConditions[e].block;fl(i),i.static||(t.static=!1)}}}function pl(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,r=t.children.length;n<r;n++)pl(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,r=t.ifConditions.length;n<r;n++)pl(t.ifConditions[n].block,e)}}var ml=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,_l=/\([^)]*?\);*$/,vl=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,gl={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},yl={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},bl=function(t){return"if(".concat(t,")return null;")},xl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:bl("$event.target !== $event.currentTarget"),ctrl:bl("!$event.ctrlKey"),shift:bl("!$event.shiftKey"),alt:bl("!$event.altKey"),meta:bl("!$event.metaKey"),left:bl("'button' in $event && $event.button !== 0"),middle:bl("'button' in $event && $event.button !== 1"),right:bl("'button' in $event && $event.button !== 2")};function wl(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=kl(t[o]);t[o]&&t[o].dynamic?i+="".concat(o,",").concat(a,","):r+='"'.concat(o,'":').concat(a,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function kl(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return kl(t)})).join(","),"]");var e=vl.test(t.value),n=ml.test(t.value),r=vl.test(t.value.replace(_l,""));if(t.modifiers){var i="",o="",a=[],s=function(e){if(xl[e])o+=xl[e],gl[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;o+=bl(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else a.push(e)};for(var l in t.modifiers)s(l);a.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Ml).join("&&"),")return null;")}(a)),o&&(i+=o);var c=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):r?"return ".concat(t.value):t.value;return"function($event){".concat(i).concat(c,"}")}return e||n?t.value:"function($event){".concat(r?"return ".concat(t.value):t.value,"}")}function Ml(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=gl[t],r=yl[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var Cl={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:P},Sl=function(t){this.options=t,this.warn=t.warn||fo,this.transforms=po(t.modules,"transformCode"),this.dataGenFns=po(t.modules,"genData"),this.directives=O(O({},Cl),t.directives);var e=t.isReservedTag||j;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Tl(t,e){var n=new Sl(e),r=t?"script"===t.tag?"null":Ll(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Ll(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return El(t,e);if(t.once&&!t.onceProcessed)return Al(t,e);if(t.for&&!t.forProcessed)return zl(t,e);if(t.if&&!t.ifProcessed)return Dl(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Yl(t,e),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),o=t.attrs||t.dynamicAttrs?Bl((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:S(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=",".concat(o));a&&(i+="".concat(o?"":",null",",").concat(a));return i+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Yl(e,n,!0);return"_c(".concat(t,",").concat(Pl(e,n)).concat(r?",".concat(r):"",")")}(t.component,t,e);else{var r=void 0,i=e.maybeComponent(t);(!t.plain||t.pre&&i)&&(r=Pl(t,e));var o=void 0,a=e.options.bindings;i&&a&&!1!==a.__isScriptSetup&&(o=function(t,e){var n=S(e),r=T(n),i=function(i){return t[e]===i?e:t[n]===i?n:t[r]===i?r:void 0},o=i("setup-const")||i("setup-reactive-const");if(o)return o;var a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(a)return a}(a,t.tag)),o||(o="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:Yl(t,e,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var l=0;l<e.transforms.length;l++)n=e.transforms[l](t,n);return n}return Yl(t,e)||"void 0"}function El(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Ll(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function Al(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Dl(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Ll(t,e),",").concat(e.onceId++,",").concat(n,")"):Ll(t,e)}return El(t,e)}function Dl(t,e,n,r){return t.ifProcessed=!0,Ol(t.ifConditions.slice(),e,n,r)}function Ol(t,e,n,r){if(!t.length)return r||"_e()";var i=t.shift();return i.exp?"(".concat(i.exp,")?").concat(o(i.block),":").concat(Ol(t,e,n,r)):"".concat(o(i.block));function o(t){return n?n(t,e):t.once?Al(t,e):Ll(t,e)}}function zl(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?",".concat(t.iterator1):"",s=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(a).concat(s,"){")+"return ".concat((n||Ll)(t,e))+"})"}function Pl(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,a,s="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var c=e.directives[o.name];c&&(a=!!c(t,o,e.warn)),a&&(l=!0,s+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}if(l)return s.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:".concat(Bl(t.attrs),",")),t.props&&(n+="domProps:".concat(Bl(t.props),",")),t.events&&(n+="".concat(wl(t.events,!1),",")),t.nativeEvents&&(n+="".concat(wl(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||jl(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==Gs||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(e).map((function(t){return Il(e[t],n)})).join(",");return"scopedSlots:_u([".concat(a,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Tl(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(Bl(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function jl(t){return 1===t.type&&("slot"===t.tag||t.children.some(jl))}function Il(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Dl(t,e,Il,"null");if(t.for&&!t.forProcessed)return zl(t,e,Il);var r=t.slotScope===Gs?"":String(t.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(Yl(t,e)||"undefined",":undefined"):Yl(t,e)||"undefined":Ll(t,e),"}"),o=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function Yl(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||Ll)(a,e)).concat(s)}var l=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Rl(i)||i.ifConditions&&i.ifConditions.some((function(t){return Rl(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,c=i||Fl;return"[".concat(o.map((function(t){return c(t,e)})).join(","),"]").concat(l?",".concat(l):"")}}function Rl(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Fl(t,e){return 1===t.type?Ll(t,e):3===t.type&&t.isComment?function(t){return"_e(".concat(JSON.stringify(t.text),")")}(t):function(t){return"_v(".concat(2===t.type?t.expression:Nl(JSON.stringify(t.text)),")")}(t)}function Bl(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=Nl(i.value);i.dynamic?n+="".concat(i.name,",").concat(o,","):e+='"'.concat(i.name,'":').concat(o,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function Nl(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function $l(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),P}}function Zl(t){var e=Object.create(null);return function(n,r,i){(r=O({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r);var s={},l=[];return s.render=$l(a.render,l),s.staticRenderFns=a.staticRenderFns.map((function(t){return $l
2(t,l)})),e[o]=s}}var Hl,Vl,Ul=(Hl=function(t,e){var n=Xs(t.trim(),e);!1!==e.optimize&&hl(n,e);var r=Tl(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=O(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?o:i).push(t)};var s=Hl(e.trim(),r);return s.errors=i,s.tips=o,s}return{compile:e,compileToFunctions:Zl(e)}}),Wl=Ul(ul).compileToFunctions;function Gl(t){return(Vl=Vl||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Vl.innerHTML.indexOf("&#10;")>0}var ql=!!X&&Gl(!1),Xl=!!X&&Gl(!0),Jl=M((function(t){var e=ji(t);return e&&e.innerHTML})),Kl=oi.prototype.$mount;oi.prototype.$mount=function(t,e){if((t=t&&ji(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Jl(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=Wl(r,{outputSourceRange:!1,shouldDecodeNewlines:ql,shouldDecodeNewlinesForHref:Xl,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Kl.call(this,t,e)},oi.compile=Wl},31485:function(t){t.exports=function(){"use strict";var t,e=(function(t){var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(){r(this,t)}return e(t,[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};var e=this._callbacks[t];if(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0,a=a=e;!(o>=a.length);)a[o++].apply(this,r)}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++)if(n[r]===e){n.splice(r,1);break}return this}}]),t}(),o=function(t){function o(t,e){r(this,o);var i,a=n(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),s=void 0;if(a.element=t,a.version=o.version,a.defaultOptions.previewTemplate=a.defaultOptions.previewTemplate.replace(/\n*/g,""),a.clickableElements=[],a.listeners=[],a.files=[],"string"==typeof a.element&&(a.element=document.querySelector(a.element)),!a.element||null==a.element.nodeType)throw new Error("Invalid dropzone element.");if(a.element.dropzone)throw new Error("Dropzone already attached.");o.instances.push(a),a.element.dropzone=a;var l,c=null!=(i=o.optionsForElement(a.element))?i:{};if(a.options=o.extend({},a.defaultOptions,c,null!=e?e:{}),a.options.forceFallback||!o.isBrowserSupported())return l=a.options.fallback.call(a),n(a,l);if(null==a.options.url&&(a.options.url=a.element.getAttribute("action")),!a.options.url)throw new Error("No URL provided.");if(a.options.acceptedFiles&&a.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(a.options.uploadMultiple&&a.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return a.options.acceptedMimeTypes&&(a.options.acceptedFiles=a.options.acceptedMimeTypes,delete a.options.acceptedMimeTypes),null!=a.options.renameFilename&&(a.options.renameFile=function(t){return a.options.renameFilename.call(a,t.name,t)}),a.options.method=a.options.method.toUpperCase(),(s=a.getExistingFallback())&&s.parentNode&&s.parentNode.removeChild(s),!1!==a.options.previewsContainer&&(a.options.previewsContainer?a.previewsContainer=o.getElement(a.options.previewsContainer,"previewsContainer"):a.previewsContainer=a.element),a.options.clickable&&(!0===a.options.clickable?a.clickableElements=[a.element]:a.clickableElements=o.getElements(a.options.clickable,"clickable")),a.init(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,i),e(o,null,[{key:"initClass",value:function(){this.prototype.Emitter=i,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,
vendor: 9,057 bytes, line 2
2chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var e=0,n=n=this.element.getElementsByTagName("div");!(e>=n.length);){var r=n[e++];if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}t||(t=o.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var i=t.getElementsByTagName("span")[0];return i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var i={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},o=t.width/t.height;null==e&&null==n?(e=i.srcWidth,n=i.srcHeight):null==e?e=n*o:null==n&&(n=e/o);var a=(e=Math.min(e,i.srcWidth))/(n=Math.min(n,i.srcHeight));if(i.srcWidth>e||i.srcHeight>n)if("crop"===r)o>a?(i.srcHeight=t.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=t.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");o>a?n=e/o:e=n*o}return i.srcX=(t.width-i.srcWidth)/2,i.srcY=(t.height-i.srcHeight)/2,i.trgWidth=e,i.trgHeight=n,i},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview">\n  <div class="dz-image"><img data-dz-thumbnail /></div>\n  <div class="dz-details">\n    <div class="dz-size"><span data-dz-size></span></div>\n    <div class="dz-filename"><span data-dz-name></span></div>\n  </div>\n  <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n  <div class="dz-error-message"><span data-dz-errormessage></span></div>\n  <div class="dz-success-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Check</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n      </g>\n    </svg>\n  </div>\n  <div class="dz-error-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Error</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n          <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n        </g>\n      </g>\n    </svg>\n  </div>\n</div>',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=o.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-name]");!(n>=r.length);){var i=r[n++];i.textContent=t.name}for(var a=0,s=s=t.previewElement.querySelectorAll("[data-dz-size]");!(a>=s.length);)(i=s[a++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=o.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink));for(var l=function(n){return n.preventDefault(),n.stopPropagation(),t.status===o.UPLOADING?o.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?o.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},c=0,u=u=t.previewElement.querySelectorAll("[data-dz-remove]");!(c>=u.length);)u[c++].addEventListener("click",l)}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-thumbnail]");!(n>=r.length);){var i=r[n++];i.alt=t.name,i.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-errormessage]");!(n>=r.length);)r[n++].textContent=e}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var r=0,i=i=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");!(r>=i.length);){var o=i[r++];
2"PROGRESS"===o.nodeName?o.value=e:o.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=o=n;!(i>=o.length);){var a=o[i++];for(var s in a){var l=a[s];t[s]=l}}return t}}]),e(o,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(o.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(o.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(o.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===o.UPLOADING||t.status===o.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(o.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",o.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var r=0,i=i=n;!(r>=i.length);){var o=i[r++];t.addFile(o)}return t.emit("addedfiles",n),e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;for(var e=0,n=n=this.events;!(e>=n.length);){var r=n[e++];this.on(r,this.options[r])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var i=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return i(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return i(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}
vendor: 27,262 bytes, line 2
2],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||o.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,o.instances.splice(o.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var r=0,i=i=this.getActiveFiles();!(r>=i.length);){var o=i[r++];e+=o.upload.bytesSent,n+=o.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e=void 0;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var r=o.createElement(n);return"FORM"!==this.element.tagName?(e=o.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;!(e>=n.length);){var r=n[e++];if(/(^| )fallback($| )/.test(r.className))return r}},e=["div","form"],n=0;n<e.length;n++){var r,i=e[n];if(r=t(this.element.getElementsByTagName(i)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.addEventListener(n,r,!1))}return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.removeEventListener(n,r,!1))}return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],i=0;i<r.length;i++){var o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(10*e)/10}return"<strong>"+e+"</strong> "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(this.emit("addedfiles",e),e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}}}},{key:"paste",value:function(t){if(null!=(n=function(t){return t.items},null!=(e=null!=t?t.clipboardData:void 0)?n(e):void 0)){var e,n;this.emit("paste",t);var r=t.clipboardData.items;return r.length?this._addFilesFromItems(r):void 0}}},{key:"handleFiles",value:function(t){for(var e=0,n=n=t;!(e>=n.length);){var r=n[e++];this.addFile(r)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],r=0,i=i=t;!(r>=i.length);){var o,a=i[r++];null!=a.webkitGetAsEntry&&(o=a.webkitGetAsEntry())?o.isFile?n.push(e.addFile(a.getAsFile())):o.isDirectory?n.push(e._addFilesFromDirectory(o,o.name)):n.push(void 0):null==a.getAsFile||null!=a.kind&&"file"!==a.kind?n.push(void 0):n.push(e.addFile(a.getAsFile()))}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),i=function(t){return n="log",r=function(e){return e.log(t)},null!=(e=console)&&"function"==typeof e[n]?r(e,n):void 0;var e,n,r};return function t(){return r.readEntries((function(r){if(r.length>0){for(var i=0,o=o=r;!(i>=o.length);){var a=o[i++];a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,e+"/"+a.name)}t()}return null}),i)}()}},{key:"accept",value:function(t,e){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):o.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;return t.upload={uuid:o.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=o.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;!(e>=n.length);){var r=n[e++];this.enqueueFile(r)}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==o.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=o.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===o.UPLOADING&&this.cancelUpload(t),this.files=a(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var e=0,n=n=this.files.slice();!(e>=n.length);){var r=n[e++];(r.status!==o.UPLOADING||t)&&this.removeFile(r)}return null}},{key:"resizeImage",value:function(t,e,n,r,i){var a=this;return this.createThumbnail(t,e,n,r,!0,(function(e,n){if(null==n)return i(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var s=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(s=c.restore(t.dataURL,s)),i(o.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,r,i,o){var a=this,s=new FileReader;return s.onload=function(){if(t.dataURL=s.result,"image/svg+xml"!==t.type)return a.createThumbnailFromUrl(t,e,n,r,i,o);null!=o&&o(s.result)},s.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,i,o,a){var s=this,c=document.createElement("img");return a&&(c.crossOrigin=a),c.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&i&&(a=function(t){return EXIF.getData(c,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(i){t.width=c.width,t.height=c.height;var a=s.options.resize.call(s,t,e,n,r),u=document.createElement("canvas"),d=u.getContext("2d");switch(u.width=a.trgWidth,u.height=a.trgHeight,i>4&&(u.width=a.trgHeight,u.height=a.trgWidth),i){case 2:d.translate(u.width,0),d.scale(-1,1);break;case 3:d.translate(u.width,u.height),d.rotate(Math.PI);break;case 4:d.translate(0,u.height),d.scale(1,-1);break;case 5:d.rotate(.5*Math.PI),d.scale(1,-1);break;case 6:d.rotate(.5*Math.PI),d.translate(0,-u.width);break;case 7:d.rotate(.5*Math.PI),d.translate(u.height,-u.width),d.scale(-1,1);break;case 8:d.rotate(-.5*Math.PI),d.translate(-u.height,0)}l(d,c,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var h=u.toDataURL("image/png");if(null!=o)return o(h,u)}))},null!=o&&(c.onerror=o),c.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){for(var e=0,n=n=t;!(e>=n.length);){var r=n[e++];r.processing=!0,r.status=o.UPLOADING,this.emit("processing",r)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===o.UPLOADING){for(var e=this._getFilesWithXhr(t.xhr),n=0,r=r=e;!(n>=r.length);)r[n++].status=o.CANCELED;void 0!==t.xhr&&t.xhr.abort();for(var i=0,a=a=e;!(i>=a.length);){var s=a[i++];this.emit("canceled",s)}this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else t.status!==o.ADDED&&t.status!==o.QUEUED||(t.status=o.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(n){if(t[0].upload.chunked){var r=t[0],i=n[0];r.upload.chunks=[];var a=function(){for(var n=0;void 0!==r.upload.chunks[n];)n++;if(!(n>=r.upload.totalChunkCount)){var a=n*e.options.chunkSize,s=Math.min(a+e.options.chunkSize,r.size),l={name:e._getParamName(0),data:i.webkitSlice?i.webkitSlice(a,s):i.slice(a,s),filename:r.upload.filename,chunkIndex:n};r.upload.chunks[n]={file:r,index:n,dataBlock:l,status:o.UPLOADING,progress:0,retries:0},e._uploadData(t,[l])}};if(r.upload.finishedChunkUpload=function(n){var i=!0;n.status=o.SUCCESS,n.dataBlock=null,n.xhr=null;for(var s=0;s<r.upload.totalChunkCount;s++){if(void 0===r.upload.chunks[s])return a();r.upload.chunks[s].status!==o.SUCCESS&&(i=!1)}i&&e.options.chunksUploaded(r,(function(){e._finished(t,"",null)}))},e.options.parallelChunkUploads)for(var s=0;s<r.upload.totalChunkCount;s++)a();else a()}else{for(var l=[],c=0;c<t.length;c++)l[c]={name:e._getParamName(c),data:n[c],filename:t[c].upload.filename};e._uploadData(t,l)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){for(var n=this,r=new XMLHttpRequest,i=0,a=a=t;!(i>=a.length);)a[i++].xhr=r;t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=r);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);r.open(s,l,!0),r.timeout=this.resolveOption(this.options.timeout,t),r.withCredentials=!!this.options.withCredentials,r.onload=function(e){n._finishedUploading(t,r,e)},r.onerror=function(){n._handleUploadError(t,r)},(null!=r.upload?r.upload:r).onprogress=function(e){return n._updateFilesUploadProgress(t,r,e)};var c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var u in this.options.headers&&o.extend(c,this.options.headers),c){var d=c[u];d&&r.setRequestHeader(u,d)}var h=new FormData;if(this.options.params){var f=this.options.params;for(var p in"function"==typeof f&&(f=f.call(this,t,r,t[0].upload.chunked?this._getChunk(t[0],r):null)),f){var m=f[p];h.append(p,m)}}for(var _=0,v=v=t;!(_>=v.length);){var g=v[_++];this.emit("sending",g,r,h)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,r,h),this._addFormElementData(h);for(var y=0;y<e.length;y++){var b=e[y];h.append(b.name,b.data,b.filename)}this.submitRequest(r,h,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],i=0,o=function(o){n.options.transformFile.call(n,t[o],(function(n){r[o]=n,++i===t.length&&e(r)}))},a=0;a<t.length;a++)o(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName)for(var e=0,n=n=this.element.querySelectorAll("input, textarea, select, button");!(e>=n.length);){var r=n[e++],i=r.getAttribute("name"),o=r.getAttribute("type");if(o&&(o=o.toLowerCase()),null!=i)if("SELECT"===r.tagName&&r.hasAttribute("multiple"))for(var a=0,s=s=r.options;!(a>=s.length);){var l=s[a++];l.selected&&t.append(i,l.value)}else(!o||"checkbox"!==o&&"radio"!==o||r.checked)&&t.append(i,r.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var r=void 0;if(void 0!==n){if(r=100*n.loaded/n.total,t[0].upload.chunked){var i=t[0],o=this._getChunk(i,e);o.progress=r,o.total=n.total,o.bytesSent=n.loaded,i.upload.progress=0,i.upload.total=0,i.upload.bytesSent=0;for(var a=0;a<i.upload.totalChunkCount;a++)void 0!==i.upload.chunks[a]&&void 0!==i.upload.chunks[a].progress&&(i.upload.progress+=i.upload.chunks[a].progress,i.upload.total+=i.upload.chunks[a].total,i.upload.bytesSent+=i.upload.chunks[a].bytesSent);i.upload.progress=i.upload.progress/i.upload.totalChunkCount}else for(var s=0,l=l=t;!(s>=l.length);){var c=l[s++];c.upload.progress=r,c.upload.total=n.total,c.upload.bytesSent=n.loaded}for(var u=0,d=d=t;!(u>=d.length);){var h=d[u++];this.emit("uploadprogress",h,h.upload.progress,h.upload.bytesSent)}}else{var f=!0;r=100;for(var p=0,m=m=t;!(p>=m.length);){var _=m[p++];100===_.upload.progress&&_.upload.bytesSent===_.upload.total||(f=!1),_.upload.progress=r,_.upload.bytesSent=_.upload.total}if(f)return;for(var v=0,g=g=t;!(v>=g.length);){var y=g[v++];this.emit("uploadprogress",y,r,y.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,e,n){var r=void 0;if(t[0].status!==o.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e)):this._finished(t,r,n):this._handleUploadError(t,e,r)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==o.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var i=0,a=a=t;!(i>=a.length);)a[i++],this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,e,n){for(var r=0,i=i=t;!(r>=i.length);){var a=i[r++];a.status=o.SUCCESS,this.emit("success",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){for(var r=0,i=i=t;!(r>=i.length);){var a=i[r++];a.status=o.ERROR,this.emit("error",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),o}();o.initClass(),o.version="5.5.1",o.options={},o.optionsForElement=function(t){return t.getAttribute("id")?o.options[s(t.getAttribute("id"))]:void 0},o.instances=[],o.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},o.autoDiscover=!0,o.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],r=0,i=i=e;!(r>=i.length);){var o=i[r++];/(^| )dropzone($| )/.test(o.className)?n.push(t.push(o)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,r=r=t;!(n>=r.length);){var i=r[n++];!1!==o.optionsForElement(i)?e.push(new o(i)):e.push(void 0)}return e}()},o.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],o.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=o.blacklistedBrowsers;!(e>=n.length);)n[e++].test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},o.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),i=new Uint8Array(r),o=0,a=e.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=e.charCodeAt(o);return new Blob([r],{type:n})};var a=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},s=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};o.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},o.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},o.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},o.getElements=function(t,e){var n=void 0,r=void 0;if(t instanceof Array){r=[];try{for(var i=0,o=o=t;!(i>=o.length);)n=o[i++],r.push(this.getElement(n,e))}catch(t){r=null}}else if("string"==typeof t){r=[];for(var a=0,s=s=document.querySelectorAll(t);!(a>=s.length);)n=s[a++],r.push(n)}else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},o.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},o.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,r=n.replace(/\/.*$/,""),i=0,o=o=e;!(i>=o.length);){var a=o[i++];if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(r===a.replace(/\/.*$/,""))return!0}else if(n===a)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new o(this,t)}))}),null!==t?t.exports=o:window.Dropzone=o,o.ADDED="added",o.QUEUED="queued",o.ACCEPTED=o.QUEUED,o.UPLOADING="uploading",o.PROCESSING=o.UPLOADING,o.CANCELED="canceled",o.ERROR="error",o.SUCCESS="success";var l=function(t,e,n,r,i,o,a,s,l,c){var u=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var i=r.getImageData(1,0,1,e).data,o=0,a=e,s=e;s>o;)0===i[4*(s-1)+3]?a=s:o=s,s=a+o>>1;var l=s/e;return 0===l?1:l}(e);return t.drawImage(e,n,r,i,o,a,s,l,c/u)},c=function(){function t(){r(this,t)}return e(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,i="",o=void 0,a=void 0,s=void 0,l="",c=0;o=(n=t[c++])>>2,a=(3&n)<<4|(r=t[c++])>>4,s=(15&r)<<2|(i=t[c++])>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),e=e+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=r=i="",o=a=s=l="",c<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),i=this.exifManipulation(e,r);return"data:image/jpeg;base64,"+this.encode64(i)}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];!(255===t[e]&218===t[e+1]);){if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,i=t.slice(e,r);n.push(i),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,r="",i=void 0,o=void 0,a="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(i=this.KEY_STR.indexOf(t.charAt(s++)))>>4,n=(15&i)<<4|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>2,r=(3&o)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),l.push(e),64!==o&&l.push(n),64!==a&&l.push(r),e=n=r="",i=o=a="",s<t.length;);return l}}]),t}();c.initClass(),o._autoDiscoverFunction=function(){if(o.autoDiscover)return o.discover()},function(t,e){var n=!1,r=!0,i=t.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",l=i.addEventListener?"":"on",c=function r(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?t:i)[s](l+o.type,r,!1),!n&&(n=!0)?e.call(t,o.type||o):void 0};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{o.doScroll("left")}catch(e){return void setTimeout(t,50)}return c("poll")}()}i[a](l+"DOMContentLoaded",c,!1),i[a](l+"readystatechange",c,!1),t[a](l+"load",c,!1)}}(window,o._autoDiscoverFunction)}(t={exports:{}},t.exports),t.exports),n={getSignedURL(t,e){let n={filePath:t.name,contentType:t.type};return new Promise(((r,i)=>{var o=new FormData;let a=new XMLHttpRequest,s="function"==typeof e.signingURL?e.signingURL(t):e.signingURL;a.open("POST",s),a.onload=function(){200==a.status?r(JSON.parse(a.response)):i(a.statusText)},a.onerror=function(t){console.error("Network Error : Could not send request to AWS (Maybe CORS errors)"),i(t)},!0===e.withCredentials&&(a.withCredentials=!0),Object.entries(e.headers||{}).forEach((([t,e])=>{a.setRequestHeader(t,e)})),n=Object.assign(n,e.params||{}),Object.entries(n).forEach((([t,e])=>{o.append(t,e)})),a.send(o)}))},sendFile(t,e,n){var r=n?this.setResponseHandler:this.sendS3Handler;return this.getSignedURL(t,e).then((e=>r(e,t))).catch((t=>t))},setResponseHandler(t,e){e.s3Signature=t.signature,e.s3Url=t.postEndpoint},sendS3Handler(t,e){let n=new FormData,r=t.signature;return Object.keys(r).forEach((function(t){n.append(t,r[t])})),n.append("file",e),new Promise(((e,r)=>{let i=new XMLHttpRequest;i.open("POST",t.postEndpoint),i.onload=function(){if(201==i.status){var t=(new window.DOMParser).parseFromString(i.response,"text/xml").firstChild.children[0].innerHTML;e({success:!0,message:t})}else{var n=(new window.DOMParser).parseFromString(i.response,"text/xml").firstChild.children[0].innerHTML;r({success:!1,message:n+". Request is marked as resolved when returns as status 201"})}},i.onerror=function(t){var e=(new window.DOMParser).parseFromString(i.response,"text/xml").firstChild.children[1].innerHTML;r({success:!1,message:e})},i.send(n)}))}};return e.autoDiscover=!1,function(t,e,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);var u,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),r&&(d._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(){e.call(this,c(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"dropzoneElement",class:{"vue-dropzone dropzone":this.includeStyling},attrs:{id:this.id}},[this.useCustomSlot?e("div",{staticClass:"dz-message"},[this._t("default",[this._v("Drop files here to upload")])],2):this._e()])},staticRenderFns:[]},void 0,{props:{id:{type:String,required:!0,default:"dropzone"},options:{type:Object,required:!0},includeStyling:{type:Boolean,default:!0,required:!1},awss3:{type:Object,required:!1,default:null},destroyDropzone:{type:Boolean,default:!0,required:!1},duplicateCheck:{type:Boolean,default:!1,required:!1},useCustomSlot:{type:Boolean,default:!1,required:!1}},data:()=>({isS3:!1,isS3OverridesServerPropagation:!1,wasQueueAutoProcess:!0}),computed:{dropzoneSettings(){let t={thumbnailWidth:200,thumbnailHeight:200};
2return Object.keys(this.options).forEach((function(e){t[e]=this.options[e]}),this),null!==this.awss3&&(t.autoProcessQueue=!1,this.isS3=!0,this.isS3OverridesServerPropagation=!1===this.awss3.sendFileToServer,void 0!==this.options.autoProcessQueue&&(this.wasQueueAutoProcess=this.options.autoProcessQueue),this.isS3OverridesServerPropagation&&(t.url=t=>t[0].s3Url)),t}},mounted(){if(this.$isServer&&this.hasBeenMounted)return;this.hasBeenMounted=!0,this.dropzone=new e(this.$refs.dropzoneElement,this.dropzoneSettings);let t=this;this.dropzone.on("thumbnail",(function(e,n){t.$emit("vdropzone-thumbnail",e,n)})),this.dropzone.on("addedfile",(function(e){var n,r;if(t.duplicateCheck&&this.files.length)for(n=0,r=this.files.length;n<r-1;n++)this.files[n].name===e.name&&this.files[n].size===e.size&&this.files[n].lastModifiedDate.toString()===e.lastModifiedDate.toString()&&(this.removeFile(e),t.$emit("vdropzone-duplicate-file",e));t.$emit("vdropzone-file-added",e),t.isS3&&t.wasQueueAutoProcess&&!e.manuallyAdded&&t.getSignedAndUploadToS3(e)})),this.dropzone.on("addedfiles",(function(e){t.$emit("vdropzone-files-added",e)})),this.dropzone.on("removedfile",(function(e){t.$emit("vdropzone-removed-file",e),e.manuallyAdded&&null!==t.dropzone.options.maxFiles&&t.dropzone.options.maxFiles++})),this.dropzone.on("success",(function(e,n){if(t.$emit("vdropzone-success",e,n),t.isS3){if(t.isS3OverridesServerPropagation){var r=(new window.DOMParser).parseFromString(n,"text/xml").firstChild.children[0].innerHTML;t.$emit("vdropzone-s3-upload-success",r)}t.wasQueueAutoProcess&&t.setOption("autoProcessQueue",!1)}})),this.dropzone.on("successmultiple",(function(e,n){t.$emit("vdropzone-success-multiple",e,n)})),this.dropzone.on("error",(function(e,n,r){t.$emit("vdropzone-error",e,n,r),this.isS3&&t.$emit("vdropzone-s3-upload-error")})),this.dropzone.on("errormultiple",(function(e,n,r){t.$emit("vdropzone-error-multiple",e,n,r)})),this.dropzone.on("sending",(function(e,n,r){if(t.isS3)if(t.isS3OverridesServerPropagation){let t=e.s3Signature;Object.keys(t).forEach((function(e){r.append(e,t[e])}))}else r.append("s3ObjectLocation",e.s3ObjectLocation);t.$emit("vdropzone-sending",e,n,r)})),this.dropzone.on("sendingmultiple",(function(e,n,r){t.$emit("vdropzone-sending-multiple",e,n,r)})),this.dropzone.on("complete",(function(e){t.$emit("vdropzone-complete",e)})),this.dropzone.on("completemultiple",(function(e){t.$emit("vdropzone-complete-multiple",e)})),this.dropzone.on("canceled",(function(e){t.$emit("vdropzone-canceled",e)})),this.dropzone.on("canceledmultiple",(function(e){t.$emit("vdropzone-canceled-multiple",e)})),this.dropzone.on("maxfilesreached",(function(e){t.$emit("vdropzone-max-files-reached",e)})),this.dropzone.on("maxfilesexceeded",(function(e){t.$emit("vdropzone-max-files-exceeded",e)})),this.dropzone.on("processing",(function(e){t.$emit("vdropzone-processing",e)})),this.dropzone.on("processingmultiple",(function(e){t.$emit("vdropzone-processing-multiple",e)})),this.dropzone.on("uploadprogress",(function(e,n,r){t.$emit("vdropzone-upload-progress",e,n,r)})),this.dropzone.on("totaluploadprogress",(function(e,n,r){t.$emit("vdropzone-total-upload-progress",e,n,r)})),this.dropzone.on("reset",(function(){t.$emit("vdropzone-reset")})),this.dropzone.on("queuecomplete",(function(){t.$emit("vdropzone-queue-complete")})),this.dropzone.on("drop",(function(e){t.$emit("vdropzone-drop",e)})),this.dropzone.on("dragstart",(function(e){t.$emit("vdropzone-drag-start",e)})),this.dropzone.on("dragend",(function(e){t.$emit("vdropzone-drag-end",e)})),this.dropzone.on("dragenter",(function(e){t.$emit("vdropzone-drag-enter",e)})),this.dropzone.on("dragover",(function(e){t.$emit("vdropzone-drag-over",e)})),this.dropzone.on("dragleave",(function(e){t.$emit("vdropzone-drag-leave",e)})),t.$emit("vdropzone-mounted")},beforeDestroy(){this.destroyDropzone&&this.dropzone.destroy()},methods:{manuallyAddFile:function(t,e){t.manuallyAdded=!0,this.dropzone.emit("addedfile",t);let n=!1;if((e.indexOf(".svg")>-1||e.indexOf(".png")>-1||e.indexOf(".jpg")>-1||e.indexOf(".jpeg")>-1||e.indexOf(".gif")>-1||e.indexOf(".webp")>-1)&&(n=!0),this.dropzone.options.createImageThumbnails&&n&&t.size<=1024*this.dropzone.options.maxThumbnailFilesize*1024){e&&this.dropzone.emit("thumbnail",t,e);for(var r=t.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0;i<r.length;i++)r[i].style.width=this.dropzoneSettings.thumbnailWidth+"px",r[i].style.height=this.dropzoneSettings.thumbnailHeight+"px",r[i].style["object-fit"]="contain"}this.dropzone.emit("complete",t),this.dropzone.options.maxFiles&&this.dropzone.options.maxFiles--,this.dropzone.files.push(t),this.$emit("vdropzone-file-added-manually",t)},setOption:function(t,e){this.dropzone.options[t]=e},removeAllFiles:function(t){this.dropzone.removeAllFiles(t)},processQueue:function(){let t=this.dropzone;this.isS3&&!this.wasQueueAutoProcess?this.getQueuedFiles().forEac
2h((t=>{this.getSignedAndUploadToS3(t)})):this.dropzone.processQueue(),this.dropzone.on("success",(function(){t.options.autoProcessQueue=!0})),this.dropzone.on("queuecomplete",(function(){t.options.autoProcessQueue=!1}))},init:function(){return this.dropzone.init()},destroy:function(){return this.dropzone.destroy()},updateTotalUploadProgress:function(){return this.dropzone.updateTotalUploadProgress()},getFallbackForm:function(){return this.dropzone.getFallbackForm()},getExistingFallback:function(){return this.dropzone.getExistingFallback()},setupEventListeners:function(){return this.dropzone.setupEventListeners()},removeEventListeners:function(){return this.dropzone.removeEventListeners()},disable:function(){return this.dropzone.disable()},enable:function(){return this.dropzone.enable()},filesize:function(t){return this.dropzone.filesize(t)},accept:function(t,e){return this.dropzone.accept(t,e)},addFile:function(t){return this.dropzone.addFile(t)},removeFile:function(t){this.dropzone.removeFile(t)},getAcceptedFiles:function(){return this.dropzone.getAcceptedFiles()},getRejectedFiles:function(){return this.dropzone.getRejectedFiles()},getFilesWithStatus:function(){return this.dropzone.getFilesWithStatus()},getQueuedFiles:function(){return this.dropzone.getQueuedFiles()},getUploadingFiles:function(){return this.dropzone.getUploadingFiles()},getAddedFiles:function(){return this.dropzone.getAddedFiles()},getActiveFiles:function(){return this.dropzone.getActiveFiles()},getSignedAndUploadToS3(t){var e=n.sendFile(t,this.awss3,this.isS3OverridesServerPropagation);this.isS3OverridesServerPropagation?e.then((()=>{setTimeout((()=>this.dropzone.processFile(t)))})):e.then((e=>{e.success?(t.s3ObjectLocation=e.message,setTimeout((()=>this.dropzone.processFile(t))),this.$emit("vdropzone-s3-upload-success",e.message)):void 0!==e.message?this.$emit("vdropzone-s3-upload-error",e.message):this.$emit("vdropzone-s3-upload-error","Network Error : Could not send request to AWS. (Maybe CORS error)")})),e.catch((t=>{alert(t)}))},setAWSSigningURL(t){this.isS3&&(this.awss3.signingURL=t)}}},void 0,!1,void 0,void 0,void 0)}()},9980:function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};t.exports=function(t,e,n,_,v,g,y){l(n,e,_);var b,x,w,k=function(t){if(!h&&t in T)return T[t];switch(t){case f:case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},M=e+" Iterator",C=v==p,S=!1,T=t.prototype,L=T[d]||T["@@iterator"]||v&&T[v],E=L||k(v),A=v?C?k("entries"):E:void 0,D="Array"==e&&T.entries||L;if(D&&(w=u(D.call(new t)))!==Object.prototype&&w.next&&(c(w,M,!0),r||"function"==typeof w[d]||a(w,d,m)),C&&L&&L.name!==p&&(S=!0,E=function(){return L.call(this)}),r&&!y||!h&&!S&&T[d]||a(T,d,E),s[e]=E,s[M]=m,v)if(b={values:C?E:k(p),keys:g?E:k(f),entries:A},y)for(x in b)x in T||o(T,x,b[x]);else i(i.P+i.F*(h||S),e,b);return b}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),f=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=f?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={}
vendor: 13,369 bytes, line 2
2,n.constructor[c]=function(){return n}),n[h](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!d){var m=/./[h],_=n(a,h,""[t],(function(t,e,n,r,i){return e.exec===l?f&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=_[0],g=_[1];r(String.prototype,t,v),i(RegExp.prototype,h,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",c=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l=function(){var t,e=n("230e")("iframe"),r=o.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},"520a":function(t,e,n){"use strict";var r,i,o=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,r,i,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(e=l.lastIndex),r=a.call(l,t),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=l},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l=function(t,e,n){var c,u,d,h,f=t&l.F,p=t&l.G,m=t&l.S,_=t&l.P,v=t&l.B,g=p?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,y=p?i:i[e]||(i[e]={}),b=y.prototype||(y.prototype={});for(c in p&&(n=e),n)d=((u=!f&&g&&void 0!==g[c])?g:n)[c],h=v&&u?s(d,r):_&&"function"==typeof d?s(Function.call,d):d,g&&a(g,c,d,t&l.U),y[c]!=d&&o(y,c,h),_&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r}))?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=i.f,d=o.f;l>c;)for(var h,f=s(arguments[c++]),p=u?r(f).concat(u(f)):r(f),m=p.length,_=0;m>_;)d.call(f,h=p[_++])&&(n[h]=f[h]);return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;null==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,p){return[function(r,i){var o=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=p(n,t,this,e);if(i.done)return i.value;var d=r(t),h=String(this),f="function"==typeof e;f||(e=String(e));var _=d.global;if(_){var v=d.unicode;d.lastIndex=0}for(var g=[];;){var y=l(d,h);if(null===y)break;if(g.push(y),!_)break;""===String(y[0])&&(d.lastIndex=s(h,o(d.lastIndex),v))}for(var b,x="",w=0,k=0;k<g.length;k++){y=g[k];for(var M=String(y[0]),C=c(u(a(y.index),h.length),0),S=[],T=1;T<y.length;T++)S.push(void 0===(b=y[T])?b:String(b));var L=y.groups;if(f){var E=[M].concat(S,C,h);void 0!==L&&E.push(L);var A=String(e.apply(void 0,E))}else A=m(M,h,C,S,L,e);C>=w&&(x+=h.slice(w,C)+A,w=C+M.length)}return x+h.slice(w)}];function m(t,e,r,o,a,s){var l=r+t.length,c=o.length,u=f;return void 0!==a&&(a=i(a),u=h),n.call(s,u,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[u-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),m=0;m<p.length;m++){var _,v=p[m],g=f[v],y=a[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,h),b[d]||s(b,d,v),l[v]=h,g))for(_ in r)b[_]||o(b,_,r[_],!0)}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return l})),n("a481");var r,i,o="undefined"!=typeof window?window.console:t.console,a=/-(\w)/g,s=(r=function(t){return t.replace(a,(function(t,e){return e?e.toUpperCase():""}))},i=Object.create(null),function(t){return i[t]||(i[t]=r(t))});function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function c(t,e,n){var r=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,r)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;
2)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="startsWith",s="".startsWith;r(r.P+r.F*n("5147")(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||o(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||o(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(e),"undefined"!=typeof window&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var l=n("a352"),c=n.n(l),u=n("c649");function d(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function h(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),d.call(e,t,n)}}function f(t){return["transition-group","TransitionGroup"].includes(t)}function p(t,e,n){return t[n]||(e[n]?e[n]():void 0)}var m=["Start","Add","Remove","Update","End"],_=["Choose","Unchoose","Sort","Filter","Clone"],v=["Move"].concat(m,_).map((function(t){return"on"+t})),g=null,y={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;
2var e=a(t,1)[0].componentOptions;return!!e&&f(e.tag)}(e);var n=function(t,e,n){var r=0,i=0,o=p(e,n,"header");o&&(r=o.length,t=t?[].concat(s(o),s(t)):s(o));var a=p(e,n,"footer");return a&&(i=a.length,t=t?[].concat(s(t),s(a)):s(a)),{children:t,headerOffset:r,footerOffset:i}}(e,this.$slots,this.$scopedSlots),r=n.children,i=n.headerOffset,o=n.footerOffset;this.headerOffset=i,this.footerOffset=o;var l=function(t,e){var n=null,r=function(t,e){n=function(t,e,n){return void 0===n||((t=t||{})[e]=n),t}(n,t,e)};if(r("attrs",Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{})),!e)return n;var i=e.on,o=e.props,a=e.attrs;return r("on",i),r("props",o),Object.assign(n.attrs,a),n}(this.$attrs,this.componentData);return t(this.getTag(),l,r)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};m.forEach((function(n){e["on"+n]=h.call(t,n)})),_.forEach((function(n){e["on"+n]=d.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(u.a)(n)]=t.$attrs[n],e}),{}),r=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new c.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(u.a)(e);-1===v.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=function(t,e,n,r){if(!t)return[];var i=t.map((function(t){return t.elm})),o=e.length-r,a=s(e).map((function(t,e){return e>=o?i.length:i.indexOf(t)}));return n?a.filter((function(t){return-1!==t})):a}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=function(t,e){return t.map((function(t){return t.elm})).indexOf(e)}(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&f(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=s(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,s(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,r=this.getUnderlyingPotencialDraggableComponent(e);
2if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(e!==n&&i&&r.getUnderlyingVm){var a=r.getUnderlyingVm(n);if(a)return Object.assign(a,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),g=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(u.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var r={element:e,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(t){if(Object(u.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(u.d)(t.clone)},onDragUpdate:function(t){Object(u.d)(t.item),Object(u.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=s(e.to.children).filter((function(t){return"none"!==t.style.display})),r=n.indexOf(e.related),i=t.component.getVmIndex(r);return-1===n.indexOf(g)&&e.willInsertAfter?i+1:i},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(t),i=this.context,o=this.computeFutureIndex(r,t);return Object.assign(i,{futureIndex:o}),n(Object.assign({},t,{relatedContext:r,draggedContext:i}),e)},onDragEnd:function(){this.computeIndexes(),g=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",y);var b=y;e.default=b}}).default},t.exports=r(n(51474))},36368:function(t,e){!function(t){"use strict";function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var n=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.language=e,this.months=n,this.monthsAbbr=r,this.days=i,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var n,r,i;return n=t,(r=[{key:"language",get:function(){return this._language},set:function(t){if("string"!=typeof t)throw new TypeError("Language must be a string");this._language=t}},{key:"months",get:function(){return this._months},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=t}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=t}},{key:"days",get:function(){return this._days},set:function(t){if(7!==t.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=t}}])&&e(n.prototype,r),i&&e(n,i),t}(),r=new n("Afrikaans",["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],["So.","Ma.","Di.","Wo.","Do.","Vr.","Sa."]),i=new n("Arabic",["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوڤمبر","ديسمبر"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوڤمبر","ديسمبر"],["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"]);i.rtl=!0;var o=new n("Bulgarian",["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["Ян","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Ное","Дек"],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"]),a=new n("Bosnian",["Januar","Februar","Mart","April","Maj","Juni","Juli","Avgust","Septembar","Oktobar","Novembar","Decembar"],["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],["Ned","Pon","Uto","Sri","Čet","Pet","Sub"]),s=new n("Catalan",["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],["Diu","Dil","Dmr","Dmc","Dij","Div","Dis"]),l=new n("Czech",["leden","únor","březen","duben","květen","červen","červenec","srpe
2n","září","říjen","listopad","prosinec"],["led","úno","bře","dub","kvě","čer","čec","srp","zář","říj","lis","pro"],["ne","po","út","st","čt","pá","so"]),c=new n("Danish",["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],["Sø","Ma","Ti","On","To","Fr","Lø"]),u=new n("German",["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]),d=new n("Estonian",["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],["P","E","T","K","N","R","L"]),h=new n("Greek",["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάϊος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"]),f=new n("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),p=new n("Spanish",["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"]),m=new n("Persian",["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],["فرو","ارد","خرد","تیر","مرد","شهر","مهر","آبا","آذر","دی","بهم","اسف"],["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]),_=new n("Finnish",["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],["su","ma","ti","ke","to","pe","la"]),v=new n("Faroese",["Januar","Februar","Mars","Apríl","Mai","Juni","Juli","August","Septembur","Oktobur","Novembur","Desembur"],["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],["Sun","Mán","Týs","Mik","Hós","Frí","Ley"]),g=new n("French",["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],["Jan","Fév","Mar","Avr","Mai","Juin","Juil","Août","Sep","Oct","Nov","Déc"],["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"]),y=new n("Georgia",["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"]),b=new n("Galician",["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"]),x=new n("Hebrew",["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],["א","ב","ג","ד","ה","ו","ש"]);x.rtl=!0;var w=new n("Croatian",["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],["Ned","Pon","Uto","Sri","Čet","Pet","Sub"]),k=new n("Hungarian",["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],["Jan","Febr","Márc","Ápr","Máj","Jún","Júl","Aug","Szept","Okt","Nov","Dec"],["Vas","Hét","Ke","Sze","Csü","Pén","Szo"]),M=new n("Indonesian",["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]),C=new n("Icelandic",["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],["Jan","Feb","Mars","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],["Sun","Mán","Þri","Mið","Fim","Fös","Lau"]),S=new n("Italian",["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]),T=new n("Japanese",["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["日","月","火","水","木","金","土"]);T.yearSuffix="年",T.ymd=!0;var L=new n("Kazakh",["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],["Жк","Дй","Сй","Ср","Бй","Жм","Сн"]),E=new n("Korean",["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],["일","월","화","수","목","금","토"]);E.yearSuffix="년",E.ymd=!0;var A=new n("Luxembourgish",["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["So.","Mé.","Dë.","Më.","Do.","Fr.","Sa."]),D=new n("Lithuanian",["S
2ausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],["Sek","Pir","Ant","Tre","Ket","Pen","Šeš"]);D.ymd=!0;var O=new n("Latvian",["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],["Sv","Pr","Ot","Tr","Ce","Pk","Se"]),z=new n("Macedonian",["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],["Нед","Пон","Вто","Сре","Чет","Пет","Саб"]),P=new n("Mongolia",["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар"],["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],["Ня","Да","Мя","Лх","Пү","Ба","Бя"]);P.ymd=!0;var j=new n("Norwegian Bokmål",["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],["Sø","Ma","Ti","On","To","Fr","Lø"]),I=new n("Dutch",["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],["zo","ma","di","wo","do","vr","za"]),Y=new n("Polish",["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lis","Gru"],["Nd","Pn","Wt","Śr","Czw","Pt","Sob"]),R=new n("Brazilian",["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],["Dom","Seg","Ter","Qua","Qui","Sex","Sab"]),F=new n("Romanian",["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Noi","Dec"],["D","L","Ma","Mi","J","V","S"]),B=new n("Russian",["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["Янв","Февр","Март","Апр","Май","Июнь","Июль","Авг","Сент","Окт","Нояб","Дек"],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]),N=new n("Slovakian",["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],["ne","po","ut","st","št","pi","so"]),$=new n("Sloveian",["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],["Ned","Pon","Tor","Sre","Čet","Pet","Sob"]),Z=new n("Serbian in Cyrillic script",["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],["Нед","Пон","Уто","Сре","Чет","Пет","Суб"]),H=new n("Serbian",["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],["Ned","Pon","Uto","Sre","Čet","Pet","Sub"]),V=new n("Swedish",["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]),U=new n("Thai",["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],["อา","จ","อ","พ","พฤ","ศ","ส"]),W=new n("Turkish",["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"]),G=new n("Ukraine",["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],["Січ","Лют","Бер","Квіт","Трав","Чер","Лип","Серп","Вер","Жовт","Лист","Груд"],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"]),q=new n("Urdu",["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","سپتمبر","اکتوبر","نومبر","دسمبر"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","سپتمبر","اکتوبر","نومبر","دسمبر"],["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"]);q.rtl=!0;var X=new n("Vietnamese",["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],["T 01","T 02","T 03","T 04","T 05","T 06","T 07","T 08","T 09","T 10","T 11","T 12"],["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"]),J=new n("Chinese",["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],["日","一","二","三","四","五","六"]);J.yearSuffix="年";var K=new n("Chinese_HK",["壹月","贰月","叁月","肆月","伍月","陆月","柒月","捌月","玖月","拾月","拾壹月","拾贰月"],["壹月","贰月","叁月","肆月","伍月","陆月","柒月","捌月","玖月","拾月","拾壹月","拾贰月"],["日","壹","贰","叁","肆","伍","陆"]);K.yearSuffix="年",t.af=r,t.ar=i,t.bg=o,t.bs=a,t.ca=s,t.cs=l,t.da=c,t.de=u,t.ee=d,t.el=h,t.en=f,t.es=p,t.fa=m,t.fi=_,t.fo=v,t.fr=g,t.ge=y,t.gl=b,t.he=x,t.hr=w,t.hu=k,t.id=M,t.is=C,t.it=S,t.ja=T,t.kk=L,t.ko=E,t.lb=A,t.lt=D,t.lv=O,t.mk=z,t.mn=P,t.nbNO=j,t.nl=I,t.pl=Y,t.ptBR=R,t.ro=F,t.ru=B,t.sk=N,t.slSI=$,t.sr=H,t.srCYRL=Z,t.sv=V,t.th=U,t.tr=W,t.uk=G,t.ur=q,t.vi=X,t.zh=J,t.zhHK=K,Object.defineProperty(t,"__esMo
2dule",{value:!0})}(e)},83218:(t,e,n)=>{var r={"./Ad/Agenda":20477,"./Ad/Agenda.vue":20477,"./Ad/Banner":20821,"./Ad/Banner.vue":20821,"./Ad/Interstitial":79140,"./Ad/Interstitial.vue":79140,"./Admin/Ads/Create":64846,"./Admin/Ads/Create.vue":64846,"./Admin/Ads/Edit":97453,"./Admin/Ads/Edit.vue":97453,"./Admin/Ads/Index":28517,"./Admin/Ads/Index.vue":28517,"./Admin/Ads/Show":6925,"./Admin/Ads/Show.vue":6925,"./Admin/Agendas/Create":46706,"./Admin/Agendas/Create.vue":46706,"./Admin/Agendas/Edit":40071,"./Admin/Agendas/Edit.vue":40071,"./Admin/Agendas/Index":74551,"./Admin/Agendas/Index.vue":74551,"./Admin/Agendas/Refused":52446,"./Admin/Agendas/Refused.vue":52446,"./Admin/Agendas/Show":33220,"./Admin/Agendas/Show.vue":33220,"./Admin/Articles/AddShop":88842,"./Admin/Articles/AddShop.vue":88842,"./Admin/Articles/Create":34244,"./Admin/Articles/Create.vue":34244,"./Admin/Articles/Edit":28935,"./Admin/Articles/Edit.vue":28935,"./Admin/Articles/Index":42528,"./Admin/Articles/Index.vue":42528,"./Admin/Articles/Show":38545,"./Admin/Articles/Show.vue":38545,"./Admin/Authors/Create":74330,"./Admin/Authors/Create.vue":74330,"./Admin/Authors/Edit":59466,"./Admin/Authors/Edit.vue":59466,"./Admin/Authors/Index":92418,"./Admin/Authors/Index.vue":92418,"./Admin/Authors/Show":30473,"./Admin/Authors/Show.vue":30473,"./Admin/BotmanLogs/Index":66912,"./Admin/BotmanLogs/Index.vue":66912,"./Admin/Categories/Create":14039,"./Admin/Categories/Create.vue":14039,"./Admin/Categories/Edit":24993,"./Admin/Categories/Edit.vue":24993,"./Admin/Categories/Index":12261,"./Admin/Categories/Index.vue":12261,"./Admin/Events/Create":66667,"./Admin/Events/Create.vue":66667,"./Admin/Events/Edit":58202,"./Admin/Events/Edit.vue":58202,"./Admin/Events/Index":2
26615,"./Admin/Events/Index.vue":26615,"./Admin/Events/Show":83573,"./Admin/Events/Show.vue":83573,"./Admin/Index":20219,"./Admin/Index.vue":20219,"./Admin/Magazines/Create":60783,"./Admin/Magazines/Create.vue":60783,"./Admin/Magazines/Edit":68205,"./Admin/Magazines/Edit.vue":68205,"./Admin/Magazines/Index":8492,"./Admin/Magazines/Index.vue":8492,"./Admin/Members/Edit":60104,"./Admin/Members/Edit.vue":60104,"./Admin/Members/Index":80842,"./Admin/Members/Index.vue":80842,"./Admin/Pages/Create":28823,"./Admin/Pages/Create.vue":28823,"./Admin/Pages/Edit":76442,"./Admin/Pages/Edit.vue":76442,"./Admin/Pages/Index":25009,"./Admin/Pages/Index.vue":25009,"./Admin/Shops/AddArticle":85191,"./Admin/Shops/AddArticle.vue":85191,"./Admin/Shops/AddVideo":32148,"./Admin/Shops/AddVideo.vue":32148,"./Admin/Shops/Attachments/Create":10139,"./Admin/Shops/Attachments/Create.vue":10139,"./Admin/Shops/Attachments/Index":796,"./Admin/Shops/Attachments/Index.vue":796,"./Admin/Shops/ClosingDates/Create":87429,"./Admin/Shops/ClosingDates/Create.vue":87429,"./Admin/Shops/ClosingDates/Edit":77370,"./Admin/Shops/ClosingDates/Edit.vue":77370,"./Admin/Shops/ClosingDates/Index":39921,"./Admin/Shops/ClosingDates/Index.vue":39921,"./Admin/Shops/Create":53717,"./Admin/Shops/Create.vue":53717,"./Admin/Shops/Edit":8706,"./Admin/Shops/Edit.vue":8706,"./Admin/Shops/Hours/Create":32977,"./Admin/Shops/Hours/Create.vue":32977,"./Admin/Shops/Hours/Edit":13490,"./Admin/Shops/Hours/Edit.vue":13490,"./Admin/Shops/Hours/Index":52211,"./Admin/Shops/Hours/Index.vue":52211,"./Admin/Shops/Index":25169,"./Admin/Shops/Index.vue":25169,"./Admin/Shops/Links/Index":97507,"./Admin/Shops/Links/Index.vue":97507,"./Admin/Shops/Links/Refused":71323,"./Admin/Shops/Links/Refused.vue":71323,"./Admin/Shops/Photos/Create":33505,"./Admin/Shops/Photos/Create.vue":33505,"./Admin/Shops/Photos/Index":27787,"./Admin/Shops/Photos/Index.vue":27787,"./Admin/Shops/Refused":24167,"./Admin/Shops/Refused.vue":24167,"./Admin/Shops/Show":62444,"./Admin/Shops/Show.vue":62444,"./Admin/Types/Create":61870,"./Admin/Types/Create.vue":61870,"./Admin/Types/Edit":29499,"./Admin/Types/Edit.vue":29499,"./Admin/Types/Index":6077,"./Admin/Types/Index.vue":6077,"./Admin/Users/Create":31800,"./Admin/Users/Create.vue":31800,"./Admin/Users/Edit":78650,"./Admin/Users/Edit.vue":78650,"./Admin/Users/Index":50762,"./Admin/Users/Index.vue":50762,"./Admin/Videos/AddShop":87630,"./Admin/Videos/AddShop.vue":87630,"./Admin/Videos/Create":52826,"./Admin/Videos/Create.vue":52826,"./Admin/Videos/Edit":33884,"./Admin/Videos/Edit.vue":33884,"./Admin/Videos/Index":74855,"./Admin/Videos/Index.vue":74855,"./Admin/Videos/Show":22998,"./Admin/Videos/Show.vue":22998,"./Agenda/Filter":26656,"./Agenda/Filter.vue":26656,"./Agenda/Index":2214,"./Agenda/Index.vue":2214,"./Agenda/Show":38078,"./Agenda/Show.vue":38078,"./Article/Categorie":23577,"./Article/Categorie.vue":23577,"./Article/Index":53010,"./Article/Index.vue":53010,"./Article/Show":42016,"./Article/Show.vue":42016,"./Auth/ConfirmPassword":48719,"./Auth/ConfirmPassword.vue":48719,"./Auth/ForgotPassword":45011,"./Auth/ForgotPassword.vue":45011,"./Auth/Login":83049,"./Auth/Login.vue":83049,"./Auth/Register":15553,"./Auth/Register.vue":15553,"./Auth/ResetPassword":24123,"./Auth/ResetPassword.vue":24123,"./Auth/VerifyEmail":9626,"./Auth/VerifyEmail.vue":9626,"./Author/Show":77325,"./Author/Show.vue":77325,"./Chefs/Index":16739,"./Chefs/Index.vue":16739,"./Contact/Index":54487,"./Contact/Index.vue":54487,"./Evenements/Index":31968,"./Evenements/Index.vue":31968,"./Evenements/Show":19494,"./Evenements/Show.vue":19494,"./Kitchen/Index":20398,"./Kitchen/Index.vue":20398,"./Magazine/Index":34874,"./Magazine/Index.vue":34874,"./Map/ComingSoon":91243,"./Map/ComingSoon.vue":91243,"./Map/Index":56140,"./Map/Index.vue":56140,"./Member/Agendas/Create":23038,"./Member/Agendas/Create.vue":23038,"./Member/Agendas/Edit":72868,"./Member/Agendas/Edit.vue":72868,"./Member/Agendas/Index":87553,"./Member/Agendas/Index.vue":87553,"./Member/Agendas/Show":86098,"./Member/Agendas/Show.vue":86098,"./Member/Dashboard":3827,"./Member/Dashboard.vue":3827,"./Member/Profile/DeleteUserForm":80665,"./Member/Profile/DeleteUserForm.vue":80665,"./Member/Profile/Show":65107,"./Member/Profile/Show.vue":65107,"./Member/Profile/UpdatePasswordForm":16175,"./Member/Profile/UpdatePasswordForm.vue":16175,"./Member/Profile/UpdateProfileInformationForm":96891,"./Member/Profile/UpdateProfileInformationForm.vue":96891,"./Member/Shops/Attachments/Create":60474,"./Member/Shops/Attachments/Create.vue":60474,"./Member/Shops/Attachments/Index":40676,"./Member/Shops/Attachments/Index.vue":40676,"./Member/Shops/ClosingDates/Create":62839,"./Member/Shops/ClosingDates/Create.vue":62839,"./Member/Shops/ClosingDates/Edit":883,"./Member/Shops/ClosingDates/Edit.vue":883,"./Member/Shops/ClosingDates/Index":79087,"./Member/Shops/ClosingDates/Index.vue":79087,"./Member/Shops/Create":63180,"./Member/Shops/Create.vue":63180,"./Member/Shops/Edit":52403,"./Member/Shops/Edit.vue":52403,"./Member/Shops/Hours/Create":29849,"./Member/Shops/Hours/Create.vue":29849,"./Member/Shops/Hours/Edit":48282,"./Member/Shops/Hours/Edit.vue":48282,"./Member/Shops/Hours/Index":23123,"./Member/Shops/Hours/Index.vue":23123,"./Member/Shops/Index":36497,"./Member/Shops/Index.vue":36497,"./Member/Shops/Link":94620,"./Member/Shops/Link.vue":94620,"./Member/Shops/Photos/Create":17598,"./Member/Shops/Photos/Create.vue":17598,"./Member/Shops/Photos/Index":36616,"./Member/Shops/Photos/Index.vue":36616,"./Member/Shops/Show":12777,"./Member/Shops/Show.vue":12777,"./Member/Stripe/Subscription/Index":25466,"./Member/Stripe/Subscription/Index.vue":25466,"./Member/Stripe/Subscription/Success":22353,"./Member/Stripe/Subscription/Success.vue":22353,"./Pages/Show":26616,"./Pages/Show.vue":26616,"./Playlists/Edit":82878,"./Playlists/Edit.vue":82878,"./Playlists/Show":6919,"./Playlists/Show.vue":6919,"./Recipes/Index":82670,"./Recipes/Index.vue":82670,"./Search/Index":94697,"./Search/Index.vue":94697,"./Search/Tags":32265,"./Search/Tags.vue":32265,"./Terroir/Index":90927,"./Terroir/Index.vue":90927,"./Test/Index":84219,"./Test/Index.vue":84219,"./Video/Categorie":49519,"./Video/Categorie.vue":49519,"./Video/Favorites":23112,"./Video/Favorites.vue":23112,"./Video/Index":33914,"./Video/Index.vue":33914,"./Video/Show":49405,"./Video/Show.vue":49405,"./Vinocite/Index":83447,"./Vinocite/Index.vue":83447,"./Zestival/Index":86718,"./Zestival/Index.vue":86718};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=83218},24654:()=>{},88593:t=>{"use strict";
vendor: 3,980 bytes, line 2
2t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={id:t,loaded:!1,exports:{}};return r[t].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=r,t=[],o.O=(e,n,r,i)=>{if(!n){var a=1/0;for(u=0;u<t.length;u++){for(var[n,r,i]=t[u],s=!0,l=0;l<n.length;l++)(!1&i||a>=i)&&Object.keys(o.O).every((t=>o.O[t](n[l])))?n.splice(l--,1):(s=!1,i<a&&(a=i));if(s){t.splice(u--,1);var c=r();void 0!==c&&(e=c)}}return e}i=i||0;for(var u=t.length;u>0&&t[u-1][2]>i;u--)t[u]=t[u-1];t[u]=[n,r,i]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t={773:0,170:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var r,i,[a,s,l]=n,c=0;if(a.some((e=>0!==t[e]))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(l)var u=l(o)}for(e&&e(n);c<a.length;c++)i=a[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(u)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),o.nc=void 0,o.O(void 0,[170],(()=>o(95179)));var a=o.O(void 0,[170],(()=>o(12584)));a=o.O(a)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.