PageSourceSearch

https://teliportme.com/_next/static/chunks/1891.3d21310b0ebdd174.js

js teliportme.com collected 2026-10-01 12:34:23 UTC 43,634 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1891,5697],{32818:function(){!function(){var e=L.Marker.prototype._initIcon,t=L.Marker.prototype._setPos,n="msTransform"===L.DomUtil.TRANSFORM;L.Marker.addInitHook((function(){var e=this.options.icon&&this.options.icon.options&&this.options.icon.options.iconAnchor;e&&(e=e[0]+"px "+e[1]+"px"),this.options.rotationOrigin=this.options.rotationOrigin||e||"center bottom",this.options.rotationAngle=this.options.rotationAngle||0,this.on("drag",(function(e){e.target._applyRotation()}))})),L.Marker.include({_initIcon:function(){e.call(this)},_setPos:function(e){t.call(this,e),this._applyRotation()},_applyRotation:function(){this.options.rotationAngle&&(this._icon.style[L.DomUtil.TRANSFORM+"Origin"]=this.options.rotationOrigin,n?this._icon.style[L.DomUtil.TRANSFORM]="rotate("+this.options.rotationAngle+"deg)":this._icon.style[L.DomUtil.TRANSFORM]+=" rotateZ("+this.options.rotationAngle+"deg)")},setRotationAngle:function(e){return this.options.rotationAngle=e,this.update(),this},setRotationOrigin:function(e){return this.options.rotationOrigin=e,this.update(),this}})}()},40741:function(e,t){"use strict";t.Z={src:"/_next/static/media/marker-icon-2x.93fdb12c.png",height:82,width:50,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAoUlEQVR42mNwq5rH7zb5+FLdiadfuU4+vty9ZqEAg2P/0R1+M87/b1xz+b8/kAbydzIwthz7373+yt//////m7Dx6l+G5mP/GfSbD17xmXD2/8wtV377A2k9IJ/BunZDglrjif8MpSd/qTac+G9TuyGWAQQMavcd1607/d+wdt8xBhjQL13nplF58D+QdoUL6iQUMesXr2jQSShkZmBgYAAAnntNXpTByKMAAAAASUVORK5CYII=",blurWidth:5,blurHeight:8}},35536:function(e,t){"use strict";t.Z={src:"/_next/static/media/marker-icon.d577052a.png",height:41,width:25,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAoUlEQVR42mNwK5vB4zr5+EL9iadfAulFbhVzeBkc+45u8Jtx/n/Dmiv//YE0kL+JgbPl2N/2tZf//f///2/X+iv/GFuO/mUwaD54ybv/zP/pmy//9p1w5r9+88GLDFa1GxLUGk/8Zyg9+Uut4cR/q5oNcQwgYFCz97hu3Zn/IJoBBvRL17lrVB78r1+61g0uqJvcyKJfvLxJN6mKhYGBgQEAd2dNMQ5zpzwAAAAASUVORK5CYII=",blurWidth:5,blurHeight:8}},65619:function(e,t){"use strict";t.Z={src:"/_next/static/media/marker-shadow.612e3b52.png",height:41,width:41,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAASElEQVR42o3BsQmAMAAAsLRYinSWbkJXL7C46+QgOHiB/5/gCyZ+CgZZEgUgmTWTYgCaXbeoMmSXx6mrEkS316EZBQJWmyLCB7UNBGZ+qNRZAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},65470:function(e,t,n){"use strict";var i=n(85893),o=n(67294),r=n(5434),s=n(97864);t.Z=function(e){var t=e.collectionItems,n=e.changeCurrentItem,a=e.hideBackground,l=e.currentItemId,c=e.fixedPosition,u=void 0!==c&&c,d=e.hideDetails,m=void 0!==d&&d,h=e.showBranding,p=void 0!==h&&h,f=(0,o.useRef)(null),x=(0,o.useState)(!1),g=x[0],v=x[1],y=function(){f.current&&f.current.clientWidth<f.current.scrollWidth&&t.length>1?v(!0):v(!1)},b=function(e){var t=0,n=setInterval((function(){"left"===e?f.current.scrollLeft-=5:f.current.scrollLeft+=5,(t+=5)>=150&&window.clearInterval(n)}),12)};return(0,o.useEffect)((function(){return y(),window.addEventListener("resize",y),function(){window.removeEventListener("resize",y)}}),[]),(0,i.jsxs)("div",{id:"pano-thumb",className:" ".concat(u?"fixed":"absolute"," tme-avoid-clicks z-30 flex w-full items-center justify-center overflow-hidden py-1 ").concat(a?"":"bg-gray-950"," ").concat(p?"bottom-8":"bottom-0"),children:[(0,i.jsx)("div",{className:" tme-allow-clicks cursor-pointer items-center justify-center rounded-lg rounded-r-none bg-black/[.4] py-4 ".concat(g?"block":"hidden"),onClick:function(){b("left")},children:(0,i.jsx)(r.D68,{size:"18",className:"inline-block text-gray-100"})}),(0,i.jsx)(s.C,{ref:f,children:t.map((function(e,t){return(0,i.jsxs)("li",{className:" relative inline-block cursor-pointer border-2 ".concat(l===e.id?"border-white":"border-gray-950"," "),onClick:function(){n(e)},children:[!m&&e.item_title&&(0,i.jsx)("div",{className:"absolute bottom-0 w-full truncate bg-black/[.4] px-1 text-center text-xs leading-none text-gray-200",children:e.item_title}),(0,i.jsx)("div",{className:"h-16 w-32 bg-cover bg-center",style:{backgroundImage:"url(".concat(e.thumb_url,"8
100_300.jpg)")}})]},e.id)}))}),(0,i.jsx)("div",{className:" tme-allow-clicks cursor-pointer items-center justify-center rounded-lg rounded-l-none bg-black/[.4] py-4 ".concat(g?"block":"hidden"),onClick:function(){b("right")},children:(0,i.jsx)(r.sOJ,{size:"18",className:"inline-block text-gray-100"})})]})}},45597:function(e,t,n){"use strict";var i=n(51438),o=n(52951),r=n(14924),s=n(88029),a=n(26042),l=n(69396),c=n(26626),u=n(85893),d=(n(67294),n(45243)),m=n(51299),h=n(12821),p=(n(32818),function(e){(0,s.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"createLeafletElement",value:function(e){var t=new d.Marker(e.position,this.getOptions(e));return this.contextValue=(0,l.Z)((0,a.Z)({},e.leaflet),{popupContainer:t}),t}},{key:"updateLeafletElement",value:function(e,t){t.position!==e.position&&this.leafletElement.setLatLng(t.position),t.icon!==e.icon&&this.leafletElement.setIcon(t.icon),t.zIndexOffset!==e.zIndexOffset&&this.leafletElement.setZIndexOffset(t.zIndexOffset),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),t.draggable!==e.draggable&&(!0===t.draggable?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),t.rotationAngle!==e.rotationAngle&&this.leafletElement.setRotationAngle(t.rotationAngle),t.rotationOrigin!==e.rotationOrigin&&this.leafletElement.setRotationOrigin(t.rotationOrigin)}},{key:"render",value:function(){var e=this.props.children;return null==e||null==this.contextValue?null:(0,u.jsx)(m.UO,{value:this.contextValue,children:e})}}]),n}(h.Z));(0,r.Z)(p,"defaultProps",{rotationOrigin:"center"}),t.Z=(0,m.K5)(p)},8511:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(85893),o=n(67294),r=n(4111),s=n(51438),a=n(52951),l=n(14924),c=n(88029),u=n(26042),d=n(69396),m=n(99534),h=n(29815),p=n(26626),f=n(45697),x=n.n(f),g=function(e){(0,c.Z)(n,e);var t=(0,p.Z)(n);function n(){for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var c;return(0,s.Z)(this,n),c=t.call.apply(t,[this].concat((0,h.Z)(o))),(0,l.Z)((0,r.Z)(c),"state",{}),(0,l.Z)((0,r.Z)(c),"extractReplaceLinksKeys",(function(e){var t=(0,r.Z)(c),n=0;return c.replacedLinks=[],e.replace(/(<a[\s]+([^>]+)>((?:.(?!\<\/a\>))*.)<\/a>)/g,(function(){var i=Array.prototype.slice.call(arguments,1,4);i.key="["+"@".repeat(i[2].length-1)+"="+n+++"]",t.replacedLinks.push(i),e=e.replace(i[0],i.key)})),e})),(0,l.Z)((0,r.Z)(c),"restoreReplacedLinks",(function(e){return c.replacedLinks.forEach((function(t){e=e.replace(t.key,t[0])})),c.createMarkup(e)})),(0,l.Z)((0,r.Z)(c),"innerText",(function(e){var t=document.createElement("div"),n="innerText"in window.HTMLElement.prototype?"innerText":"textContent",i=e.innerHTML.replace(/\r\n|\r|\n/g," ");t.innerHTML=c.extractReplaceLinksKeys(i);var o=t[n],r=document.createElement("div");return r.innerHTML="foo<br/>bar","foo\nbar"!==r[n].replace(/\r\n|\r/g,"\n")&&(t.innerHTML=t.innerHTML.replace(/<br.*?[\/]?>/gi,"\n"),o=t[n]),o})),(0,l.Z)((0,r.Z)(c),"onResize",(function(){c.calcTargetWidth()})),(0,l.Z)((0,r.Z)(c),"onTruncate",(function(e){var t=c.props.onTruncate;"function"===typeof t&&(c.timeout=window.requestAnimationFrame((function(){t(e)})))})),(0,l.Z)((0,r.Z)(c),"calcTargetWidth",(function(e){var t=(0,r.Z)(c),n=t.elements.target,i=t.calcTargetWidth,o=t.canvasContext,s=t.props.width;if(n){var a=s||Math.floor(n.parentNode.getBoundingClientRect().width);if(!a)return window.requestAnimationFrame((function(){return i(e)}));var l=window.getComputedStyle(n),u=[l["font-weight"],l["font-style"],l["font-size"],l["font-family"]].join(" ");o.font=u,c.setState({targetWidth:a},e)}}
1)),(0,l.Z)((0,r.Z)(c),"measureWidth",(function(e){return c.canvasContext.measureText(e).width})),(0,l.Z)((0,r.Z)(c),"ellipsisWidth",(function(e){return e.offsetWidth})),(0,l.Z)((0,r.Z)(c),"trimRight",(function(e){return e.replace(/\s+$/,"")})),(0,l.Z)((0,r.Z)(c),"createMarkup",(function(e){return(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})})),(0,l.Z)((0,r.Z)(c),"getLines",(function(){for(var e=(0,r.Z)(c),t=e.elements,n=e.props,o=n.lines,s=n.ellipsis,a=n.trimWhitespace,l=e.state.targetWidth,u=e.innerText,d=e.measureWidth,m=e.onTruncate,h=e.trimRight,p=e.renderLine,f=e.restoreReplacedLinks,x=[],g=u(t.text).split("\n").map((function(e){return e.split(" ")})),v=!0,y=c.ellipsisWidth(c.elements.ellipsis),b=1;b<=o;b++){var w=g[0];if(0!==w.length){var j=w.join(" ");if(d(j)<=l&&1===g.length){v=!1,j=f(j),x.push(j);break}if(b===o){for(var N=w.join(" "),k=0,C=N.length-1;k<=C;){var A=Math.floor((k+C)/2);d(N.slice(0,A+1))+y<=l?k=A+1:C=A-1}var Z=N.slice(0,k);if(a)for(Z=h(Z);!Z.length&&x.length;){Z=h(x.pop())}"]["===Z.substr(Z.length-2)&&(Z=Z.substring(0,Z.length-1)),Z=f(Z=Z.replace(/\[(@)\1{2,}$/,"")),j=(0,i.jsxs)("span",{children:[Z,s]})}else{for(var I=0,E=w.length-1;I<=E;){var T=Math.floor((I+E)/2);d(w.slice(0,T+1).join(" "))<=l?I=T+1:E=T-1}if(0===I){b=o-1;continue}j=f(j=w.slice(0,I).join(" ")),g[0].splice(0,I)}x.push(j)}else x.push(),g.shift(),b--}return m(v),x.map(p)})),(0,l.Z)((0,r.Z)(c),"renderLine",(function(e,t,n){if(t===n.length-1)return(0,i.jsx)("span",{children:e},t);var o=(0,i.jsx)("br",{},t+"br");return e?[(0,i.jsx)("span",{children:e},t),o]:o})),(0,l.Z)((0,r.Z)(c),"styles",{ellipsis:{position:"fixed",visibility:"hidden",top:0,left:0}}),c.elements={},c.replacedLinks=[],c}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=e.elements.text,n=e.calcTargetWidth,i=e.onResize,o=document.createElement("canvas");this.canvasContext=o.getContext("2d"),n((function(){t&&t.parentNode.removeChild(t)})),window.addEventListener("resize",i)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&this.forceUpdate(),this.props.width!==e.width&&this.calcTargetWidth()}},{key:"componentWillUnmount",value:function(){var e=this,t=e.elements.ellipsis,n=e.onResize,i=e.timeout;t.parentNode.removeChild(t),window.removeEventListener("resize",n),window.cancelAnimationFrame(i)}},{key:"render",value:function(){var e,t=this,n=this,o=n.elements.target,r=n.props,s=r.children,a=r.ellipsis,l=r.lines,c=n.state.targetWidth,h=n.getLines,p=n.onTruncate,f=(0,m.Z)(n.props,["children","ellipsis","lines"]);return!(!o||!c)&&(l>0?e=h():(e=s,p(!1))),delete f.onTruncate,delete f.trimWhitespace,(0,i.jsxs)("span",(0,d.Z)((0,u.Z)({},f),{ref:function(e){t.elements.target=e},children:[(0,i.jsx)("span",{children:e}),(0,i.jsx)("span",{ref:function(e){t.elements.text=e},children:s}),(0,i.jsx)("span",{ref:function(e){t.elements.ellipsis=e},style:this.styles.ellipsis,children:a})]}))}}]),n}(o.Component);(0,l.Z)(g,"propTypes",{children:x().node,ellipsis:x().node,lines:x().oneOfType([x().oneOf([!1]),x().number]),trimWhitespace:x().bool,width:x().number,onTruncate:x().func}),(0,l.Z)(g,"defaultProps",{children:"",ellipsis:"\u2026",lines:1,trimWhitespace:!1,width:0});var v=function(e){var t=e.children,n=e.more,r=void 0===n?"Show more":n,s=e.less,a=void 0===s?"Show less":s,l=e.lines,c=void 0===l?3:l,u=e.anchorClass,d=void 0===u?"":u,m=e.onClick,h=e.expanded,p=void 0!==h&&h,f=e.className,x=e.width,v=void 0===x?0:x,y=e.keepNewLines,b=void 0===y||y,w=e.enabled,j=void 0===w||w,N=(0,o.useState)(p),k=N[0],C=N[1],A=(0,o.useState)(!1),Z=A[0],I=A[1],E=(0,o.useRef)();(0,o.useEffect)((function(){C(p)}),[p]);var T=function(e){e.preventDefault(),m&&m(!k),C(!k)};return(0,i.jsxs)("div",{className:f,children:[(0,i.jsx)(g,{width:v,lines:!k&&c,ellipsis:(0,i.jsxs)("span",{children:["...",j&&(0,i.jsx)("span",{className:d,onClick:T,children:r})]}),onTruncate:function(e){e!==Z&&(I(e),Z&&E.current.onResize())},ref:E,children:b?t.split("\n").map((function(e,t,n){return e=(0,i.jsx)("span",{children:e},t),t===n.length-1?e:[e,(0,i.jsx)("br",{},t+"br")]})):t}),!Z&&k&&(0,i.jsxs)("span",{children:[" ",j&&(0,i.jsx)("span",{className:d,onClick:T,children:a})]})]})}},97864:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});var i=n(7297);function o(){var e=(0,i.Z)(["\n  -ms-overflow-style: none;\n  scrollbar-width: none;\n  &::-webkit-scrollbar {\n    display: none;\n  }\n"]);return o=function(){return e},e}var r=n(29430).ZP.ul.attrs({className:"list-none whitespace-nowrap pl-0 overflow-hidden my-0 overflow-x-scroll flex items-center tme-allow-clicks"})(o())},16276:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var i=n(7297);function o(){var e=(0,i.Z)(["\n  -ms-overflow-style: none;\n  scrollbar-width: none;\n  &::-webkit-scrollbar {\n    display: none;\n  }\n"]);return o=function(){return e},e}var r=n(29430).ZP.div(o())},74506:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var i=n(7297);function o(){var e=(0,i.Z)(["\n  ","\n"]);return o=function(){return e},e}var r=n(29430).ZP.div(o(),(function(e){return e.fullWidth?"width: 100% !important":"\n  @media screen and (min-width: 30em) {\n    width: 100%;\n  }\n  @media screen and (min-width: 60em) {\n    width: 83%;\n  }\n  @media screen and (min-width: 66.5em) {\n    width: 85%;\n  }\n  @media screen and (min-width: 71.26em) {\n    width: 86%;\n  }\n  @media screen and (min-width: 76.875em) {\n    width: 87%;\n  }\n  @media screen and (min-width: 82.625em) {\n    width: 77%;\n  }\n  @media screen and (min-width: 86.375em) {\n    width: 78%;\n  }\n  @media screen and (min-width: 90.5em) {\n    width: 79%;\n  }\n  @media screen and (min-width: 95em) {\n    width: 80%;\n  }\n  @media screen and (min-width: 100em) {\n    width: 81%;\n  }\n  @media screen and (min-width: 105.875em) {\n    width: 82%;\n  }\n  @media screen and (min-width: 112em) {\n    width: 83%;\n  }\n  @media screen and (min-width: 119em) {\n    width: 84%;\n  }\n"}))},85804:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var i=n(67294);function o(){var e=(0,i.useState)(0),t=e[0],n=e[1];return(0,i.useEffect)((function(){var e=function(){n((function(e){return++e}))};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),t}},29542:function(e,t,n){"use strict";n.r(t);var i=n(85893),o=n(67294),r=n(50828),s=n(34749),a=n(82529),l=n(32877),c=n(40803),u=n(66010),d=n(11355),m=n(92485),h=n(5434),p=n(74506),f=n(8511),x=n(16276),g=n(85804),v=n(65470),y=n(56009),b=n(5e4),w=n(53990),j=n(89583),N=n(49106);function k(e){var t=e.open,n=e.onClose,r=e.type,s=void 0===r?"hotspot":r;return(0,i.jsx)(d.u.Root,{show:t,as:o.Fragment,children:(0,i.jsxs)(m.V,{as:"div",className:"relative z-10",onClose:function(){return null},children:[(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,i.jsx)("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:(0,i.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,i.jsxs)(m.V.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-sm sm:p-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:(0,i.jsx)(h.NAS,{className:"h-6 w-6 text-green-600","aria-hidden":"true"})}),(0,i.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,i.jsx)(m.V.Title,{as:"h3",className:"text-base font-semibold leading-6 text-gray-900",children:"Upgrade Needed"}),(0,i.jsx)("div",{className:"w-full p-4",children:(0,i.jsx)("video",{className:"w-full rounded object-cover",src:"/news/videos/learn_video_720p.mp4",playsInl
1ine:!0,autoPlay:!0,muted:!0,loop:!0,preload:"metadata"})}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsxs)("p",{className:"text-sm text-gray-500",children:["Signup for Free and try our Unlimited trial.",(0,i.jsx)("br",{})," To add","hotspot"==s?" Hotspots ":" your own Branding ","you will need to purchase our subscription"]})})]})]}),(0,i.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,i.jsx)("button",{type:"button",className:"inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:function(){return window.location="/signup"},children:"Supercharge Your Tour"})}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)("button",{type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:col-start-1 sm:mt-0",onClick:function(){return n()},children:"No Thanks"})})]})})})})]})})}function C(e){var t=e.open,n=e.onClose,r=e.collection,s=e.onClaim,a=(0,o.useState)(""),l=a[0],c=a[1],u=(0,o.useState)(!1),p=u[0],f=u[1];return(0,o.useEffect)((function(){t&&f(!1)}),[t]),(0,i.jsx)(d.u.Root,{show:t,as:o.Fragment,children:(0,i.jsxs)(m.V,{as:"div",className:"relative z-10",onClose:function(){return null},children:[(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,i.jsx)("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:(0,i.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,i.jsxs)(m.V.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-sm sm:p-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:(0,i.jsx)(h.vB0,{className:"h-6 w-6 text-green-600","aria-hidden":"true"})}),(0,i.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,i.jsx)(m.V.Title,{as:"h3",className:"text-base font-semibold leading-6 text-gray-900",children:"Claim this Tour"}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)("p",{className:"text-sm text-gray-500",children:"Get a secret code so that you can claim this tour in future"})})]})]}),(0,i.jsxs)("form",{onSubmit:function(e){e.preventDefault(),l&&(f(!0),N.Z.Collections.claimCollection(r.id,{user_hash:r.user.name,email:l}).then((function(){s(!0)})).catch((function(){s(!1)})).finally((function(){f(!1)})))},children:[(0,i.jsxs)("div",{className:"sm:col-span-4",children:[(0,i.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium leading-6 text-gray-900",children:"Email"}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)("div",{className:"flex rounded-md shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-inset focus-within:ring-indigo-600 sm:max-w-md",children:(0,i.jsx)("input",{type:"text",name:"email",id:"email",pattern:"^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",autoComplete:"email",required:!0,className:"block flex-1 border-0 bg-transparent px-3 py-1.5 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm sm:leading-6",placeholder:"email",value:l,onChange:function(e){return c(e.target.value)}})})})]}),(0,i.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,i.jsxs)("button",{type:"submit",className:"inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:[p&&(0,i.jsxs)("svg",{className:"-ml-0.5 mr-1.5 h-5 w-5 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,i.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,i.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Get Claim Code"]})})]}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)("button",{type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:col-start-1 sm:mt-0",onClick:function(){return n()},children:"No Thanks"})})]})})})})]})})}function A(e){var t=e.open,n=e.panos,r=e.onEdit,s=e.onDelete,a=e.onClose,l=e.onUpload,c=e.isUploading;return(0,i.jsx)(d.u.Root,{show:t,as:o.Fragment,children:(0,i.jsxs)(m.V,{as:"div",className:"relative z-10",onClose:a,children:[(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,i.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,i.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,i.jsx)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10",children:(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,i.jsxs)(m.V.Panel,{className:"pointer-events-auto relative w-96",children:[(0,i.jsx)(d.u.Child,{as:o.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)("div",{className:"absolute left-0 top-0 -ml-8 flex pr-2 pt-4 sm:-ml-10 sm:pr-4",children:(0,i.jsxs)("button",{type:"button",className:"relative rounded-md text-gray-300 hover:text-white focus:outline-none",onClick:a,children:[(0,i.jsx)("span",{className:"absolute -inset-2.5"}),(0,i.jsx)("span",{className:"sr-only",children:"Close panel"}),(0,i.jsx)(h.FU5,{className:"h-6 w-6","aria-hidden":"true"})]})})}),(0,i.jsxs)("div",{className:"flex h-full flex-col bg-white ",children:[(0,i.jsx)("div",{className:"mb-16 overflow-hidden ",children:(0,i.jsx)("div",{className:"h-full overflow-y-auto p-8 ",children:n&&n.map((function(e){return(0,i.jsxs)("div",{className:"space-y-6 pb-16",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-500",children:(0,i.jsx)("img",{src:e.image_url,alt:"",className:"object-cover"})}),(0,i.jsx)("div",{className:"mt-4 flex items-start justify-between",children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("h2",{className:"text-base font-semibold leading-6 text-gray-900",children:[(0,i.jsxs)("span",{className:"sr-only",children:["Details for"," "]}),e.item_title||e.name]}),(0,i.jsx)("p",{className:"text-sm font-medium text-gray-500",children:e.display_address||e.photo_where||e.address||"\u2026"})]})})]}),(0,i.jsxs)("div",{className:"flex",children:[(0,i.jsx)("button",{type:"button",className:"flex-1 rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:function(){r(e)},children:"Edit"}),(0,i.jsx)("button",{type:"button",className:"ml-3 flex-1 rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50",onClick:function(){s(e)},children:"Delete"})]})]},e.id)}))})}),(0,i.jsx)("div",{className:"absolute bottom-0 h-16 w-full",children:(0,i.jsxs)("button",{onClick:function(){l()},className:"relative flex h-full w-full cursor-pointer items-center justify-center border-none bg-green-500 text-base font-bold text-white outline-0 hover:bg-green-700",children:[c?(0,i.jsxs)("svg",{className:"-ml-0.5 mr-1.5 h-5 w-5 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,i.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,i.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):(0,i.jsx)(h.UKH,{className:"-ml-0.5 mr-1.5 h-5 w-5","aria-hidden":"true"}),"Upload Panorama"]})})]})]})})})})})]})})}var Z=(0,r.Pi)((function(e){var t=e.match,n=e.history,r=(0,a.Z)(),d=r.collectionStore,m=r.userStore,N=(r.commonStore,(0,o.useState)(!1)),Z=N[0],I=N[1],E=(0,o.useState)(!1),T=E[0],R=E[1],S=(0,o.useState)(!1),_=S[0],L=S[1],P=(0,o.useState)(!1),O
1=P[0],F=P[1],M=(0,o.useState)(1e3),z=(M[0],M[1]),U=(0,o.useState)(!1),B=U[0],D=U[1],W=(0,o.useState)("hotpsot"),V=W[0],K=W[1],H=(0,o.useState)(!1),G=H[0],Q=H[1],q=(0,o.useState)(!1),$=q[0],Y=q[1],J=(0,g.D)(),X=(0,o.useRef)(),ee=(0,o.useRef)(null),te=(0,o.useRef)();(0,o.useEffect)((function(){ee.current&&z(Math.max(750,ee.current.offsetWidth))}),[J]),(0,o.useEffect)((function(){return d.loadTour(t.params.streamKey).then((function(e){"public_list"!==e.collection.type&&n.push("/404"),Y(0!=e.collection.private);var i=t.params.panoId||d.tourEnvItems[0].id,o=d.getTourEnvItemById(parseInt(i));d.setCurrentPanoId(parseInt(i)),d.setCurrentItem(o);var r={};d.tourEnvItems.forEach((function(e){var t=e.camera&&e.camera.yfov||115,n=e.camera&&e.camera.min_zoom||40,i=e.camera&&e.camera.max_zoom||150,o=e.camera&&e.camera.heading||0,s=e.camera&&e.camera.min_yaw?e.camera.min_yaw:-180,a=e.camera&&e.camera.max_yaw?e.camera.max_yaw:180,l=e.camera&&e.camera.heading_pitch||0,c=e.camera&&e.camera.min_pitch?e.camera.min_pitch:-90,u=e.camera&&e.camera.max_pitch?e.camera.max_pitch:90,d={hfov:t,minHfov:n,maxHfov:i,multiResMinHfov:!0,compass:!1,pitch:l,minPitch:-90===c?void 0:c,maxPitch:90===u?void 0:u,yaw:o,minYaw:s,maxYaw:a,horizonPitch:e.source&&e.source.pitch||0,horizonRoll:e.source&&e.source.roll||0,autoRotate:0,showFullscreenCtrl:!0,showInfoButton:!1},m=!0;try{m="true"===window.localStorage.getItem("use_multires")}catch(h){console.log(h)}!e.is_multires_ready||e.can_use_image_url_for_editing&&!m?r[e.id]=Object.assign(d,{type:"equirectangular",panorama:e.image_url}):(e.multires.cubeResolution=parseInt(e.multires.cubeResolution)/6,e.multires.tileResolution=parseInt(e.multires.tileResolution),r[e.id]=Object.assign(d,{type:"multires",multiRes:e.multires}))})),X.current=y.Z.viewer(ee.current,{scenes:r,default:{firstScene:d.currentItem.id,sceneFadeDuration:1e3}},te.current),X.current.on("scenechange",(function(e){"object"===typeof e&&(e=e.sceneId),d.setApplyFovToAll(!1);var t=d.getTourEnvItemById(e);d.setCurrentItem(t)}));X.current.on("click",(function(){F(!1)}));var s=Object.values(e.hotspots.environment).map((function(e){return e.map((function(e){return e.text_font}))})),a=e.items.map((function(e){return e.title_font})).filter((function(e){return e})),l=s.concat(a);return(0,b.hR)(l,"editortour"),function(){X.current.destroy()}})).catch((function(e){e&&404===e.status&&n.push("/404")})),function(){d.setCurrentItem(null)}}),[]);var ne=function(e,t){var n,i=t||e.camera;d.setCurrentHotspot(null),d.setCurrentPanoId(e.id);var o=i&&i.heading||0,r=i&&i.heading_pitch||0;null===(n=X.current)||void 0===n||n.loadScene(e.id,r,o)};return(0,i.jsxs)("div",{className:"min-h-screen",children:[(0,i.jsxs)("div",{className:"absolute--fill fixed flex h-full flex-col",children:[d.currentCollection&&(0,i.jsx)("div",{className:"my-8 hidden px-4 sm:my-2",children:(0,i.jsx)(l.Z,{userHash:d.currentCollection.user.name,onUploadStart:function(){L(!0)},onUploadComplete:function(e){e.item_title=e.name,function(e,t){if(!d.doesTourItemExist(e.id)){var n;d.addEnvItemToRegistry(e);var i=e.camera&&e.camera.yfov||115,o=e.camera&&e.camera.heading||0,r={},s={hfov:i,compass:!1,pitch:e.camera&&e.camera.heading_pitch||0,yaw:o,horizonPitch:e.source&&e.source.pitch||0,horizonRoll:e.source&&e.source.roll||0,autoRotate:0,showFullscreenCtrl:!1,showInfoButton:!1,showCameraButton:!1},a=!0;try{a="true"===window.localStorage.getItem("use_multires")}catch(l){console.log(l)}r=!e.is_multires_ready||e.can_use_image_url_for_editing&&!a?Object.assign(s,{type:"equirectangular",panorama:e.image_url}):Object.assign(s,{type:"multires",multiRes:Object.assign({},e.multires,{cubeResolution:parseInt(e.multires.cubeResolution)/6,tileResolution:parseInt(e.multires.tileResolution)})}),null===(n=X.current)||void 0===n||n.addScene(e.id,r),t&&ne(d.getTourEnvItemById(e.id))}}(e,!0),L(!1)},onUploadError:function(e){u.ZP.error(e),L(!1)},isCollection:!0,streamKey:d.currentCollection.stream_key})}),(0,i.jsx)("div",{className:"flex h-full py-5",children:(0,i.jsx)("div",{className:"grow",children:(0,i.jsxs)("div",{className:"flex h-full flex-col px-5",children:[(0,i.jsxs)("div",{className:"flex justify-center pb-5",children:[(0,i.jsxs)("button",{type:"button",onClick:function(){return R(!0)},className:"mr-5 inline-flex items-center gap-x-2 rounded-md bg-indigo-50 px-3.5 py-2.5 text-sm font-semibold text-indigo-600 shadow-sm outline outline-2 outline-indigo-600 hover:bg-indigo-600 hover:text-white",children:[(0,i.jsx)(h.x06,{className:"-ml-0.5 h-5 w-5","aria-hidden":"true"}),(0,i.jsx)("span",{className:"hidden sm:inline-block",children:"Add Panorama"})]}),(0,i.jsxs)("button",{type:"button",onClick:function(){K("hotspot"),D(!0)},className:"mr-5 inline-flex items-center gap-x-2 rounded-md bg-indigo-50 px-3.5 py-2.5 text-sm font-semibold text-indigo-600 shadow-sm outline outline-2 outline-indigo-600 hover:bg-indigo-600 hover:text-white",children:[(0,i.jsx)(j.CVn,{className:"-ml-0.5 h-5 w-5","aria-hidden":"true"}),(0,i.jsx)("span",{className:"hidden sm:inline-block",children:"Add Hotspot"})]}),(0,i.jsxs)("button",{type:"button",onClick:function(){$?(navigator.clipboard.writeText("".concat("https://teliportme.com","/virtualtour/").concat(t.params.streamKey,"/edit")),u.ZP.success("Copied to Clipboard",{position:"top-center"})):Q(!0)},className:"mr-5 inline-flex items-center gap-x-2 rounded-md bg-indigo-50 px-3.5 py-2.5 text-sm font-semibold text-indigo-600 shadow-sm outline outline-2 outline-indigo-600 hover:bg-indigo-600 hover:text-white",children:[(0,i.jsx)(h.zmo,{className:"-ml-0.5 h-5 w-5","aria-hidden":"true"}),(0,i.jsx)("span",{className:"hidden sm:inline-block",children:"Get Edit Link"})]}),(0,i.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard.writeText("".concat("https://teliportme.com","/virtualtour/").concat(t.params.streamKey)),u.ZP.success("Copied to Clipboard",{position:"top-center"})},className:"mr-5 inline-flex items-center gap-x-2 rounded-md bg-indigo-50 px-3.5 py-2.5 text-sm font-semibold text-indigo-600 shadow-sm outline outline-2 outline-indigo-600 hover:bg-indigo-600 hover:text-white",children:[(0,i.jsx)(h.KQY,{className:"-ml-0.5 h-5 w-5","aria-hidden":"true"}),(0,i.jsx)("span",{className:"hidden sm:inline-block",children:"Share Link"})]}),(0,i.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard.writeText('<script src="'.concat("https://teliportme.com",'/js/embed.js" data-teliportme="').concat("https://teliportme.com","/embed/tour/").concat(t.params.streamKey,'" data-height="480px" data-width="640px"><\/script>')),u.ZP.success("Copied to Clipboard",{position:"top-center"})},className:"inline-flex items-center gap-x-2 rounded-md bg-indigo-50 px-3.5 py-2.5 text-sm font-semibold text-indigo-600 shadow-sm outline outline-2 outline-indigo-600 hover:bg-indigo-600 hover:text-white",children:[(0,i.jsx)(w.Kpy,{className:"-ml-0.5 h-5 w-5","aria-hidden":"true"}),(0,i.jsx)("span",{className:"hidden sm:inline-block",children:"Embed"})]})]}),(0,i.jsx)("div",{className:"relative h-full w-full",children:(0,i.jsx)("div",{className:"tme-container",children:(0,i.jsx)("div",{className:"tme-centered h-full w-full bg-gray-950",children:(0,i.jsx)("div",{className:"relative float-left h-full w-full bg-black",ref:te,style:{fontFamily:d.tourSettings.fontFamily||b.rk},children:d.currentItem?(0,i.jsx)(p.m,{className:"float-left h-full w-full",fullWidth:!0,children:(0,i.jsxs)("div",{className:"tme-container",children:[(0,i.jsx)("div",{id:"viewer",ref:ee}),(0,i.jsxs)("div",{id:"viewer-overlay",className:"absolute--fill tme-avoid-clicks absolute",children:[(0,i.jsx)("div",{id:"header-gradient",className:"absolute z-10 w-full",style:{height:"100px",background:"linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%)"}}),d.currentItem&&(d.currentItem.item_title||d.currentItem.item_description)&&(0,i.jsxs)("div",{className:"tme-avoid-clicks tme-translate-x--50 tme-left-50 absolute top-4 z-30 w-3/5 p-2 pt-0 text-center",children:[d.currentItem.item_title&&(0,i.jsx)("h2",{className:"my-0 truncate text-xs text-white sm:text-base",style:{textShadow:"1px 1px 1.9px rgba(0, 0, 0, 0.55)"},children:d.currentItem.item_title}),d.currentItem.item_description&&(0,i.jsx)(x.W,{className:" mb-0 mt-2 overflow-auto text-xs leading-normal text-white sm:text-sm ".concat(O?"br2 tme-allow-clicks p-2":""),style:{textShadow:"1px 1px 1.9px rgba(0, 0, 0, 0.55)",whiteSpace:"whitespace-pre-line",maxHeight:"21rem"},onClick:function(e){e.stopPropagation()},children:(0,i.jsx)(f.Z,{lines:(0,b.l9)()?1:2,anchorClass:"bg-gray-600 rounded px-1 text-white tme-allow-clicks cursor-pointer",onClick:function(){F(!O)},expanded:O,width:600,children:d.currentItem.item_description})})]}),(0,i.jsx)(v.Z,{collectionItems:d.tourEnvItems,changeCurrentItem:ne,currentItemId:d.currentItem.id,hideBackgroun
1d:!0,hideDetails:!d.tourSettings.showPanoDetails,showBranding:!0}),(0,i.jsx)("div",{className:"absolute bottom-0 block w-full bg-black/80 p-1 text-xs text-white",onClick:function(){K("branding"),D(!0)},children:(0,i.jsxs)("span",{className:"tme-allow-clicks cursor-pointer",children:["Powered by"," ",(0,i.jsx)("img",{alt:"Best Virtual Tour Software TeliportMe logo",src:"/image/teliportme-logo-full-white.svg",className:"inline-block",style:{width:"120px",opacity:1}}),(0,i.jsx)(h.zmo,{className:"ml-0.5 inline-block h-2.5 w-2.5","aria-hidden":"true"})]})})]})]})}):d.currentCollection?(0,i.jsx)("div",{children:"Empty"}):(0,i.jsx)(s.Z,{})})})})})]})})})]}),(0,i.jsx)(A,{open:T,onClose:function(){return R(!1)},onEdit:function(e){var t;t=e.id,d.tourEnvItems.find((function(e){return e.id===t})),I(!0)},onDelete:function(e){!function(e,t){if(window.confirm("Are you sure you want to remove this pano from this tour?")){var n=(d.tourEnvItems.findIndex((function(e){return e.id===t}))+1)%d.tourEnvItems.length,i=d.tourEnvItems[n];i&&(d.setCurrentItem(i),ne(i)),d.deleteEnvItem(e,t,!1,d.currentCollection.user.name)}}(d.currentCollection.id,e.id)},panos:d.tourEnvItems,onUpload:function(){document.querySelector("#upload-click-here").click()},isUploading:_}),(0,i.jsx)(c.Z,{currentPano:d.currentItem,isOpen:Z,onRequestClose:function(){I(!1)},handleSubmitForm:function(e){d.editCollectionPanoItem(d.currentCollection.id,e,d.currentCollection.user.name).then((function(){u.ZP.success("Details updated",{position:"bottom-center"})})),I(!1)},showPrivate:!1,isSubscriber:m.isSubscriber,isTourItem:!0}),(0,i.jsx)(k,{type:V,open:B,onClose:function(){D(!1)}}),(0,i.jsx)(C,{open:G,onClose:function(){Q(!1),Y(!0)},collection:d.currentCollection,onClaim:function(e){Q(!1),e?(u.ZP.success("Code sent to email",{position:"top-center"}),Y(!0)):u.ZP.error("Already Claimed",{position:"top-center"})}}),(0,i.jsx)(u.x7,{})]})}));t.default=Z},33795:function(){},35614:function(){},58758:function(){},92703:function(e,t,n){"use strict";var i=n(50414);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,s){if(s!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},41352:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r}});var i=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i.throw(e))}catch(t){r(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};var o=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i.throw(e))}catch(t){r(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};var r={OpenStreetMap:class{constructor(e){let t="",n="";if(e&&e.searchBounds&&e.searchBounds.length){t=`&bounded=1&viewbox=${e.searchBounds.reduce(((e,t)=>[...e,t.lng,t.lat]),[]).join(",")}`}e&&"region"in e&&(n=`&countrycodes=${e.region}`),this.url=`https://nominatim.openstreetmap.org/search?format=json&addressdetails=1&polygon_svg=1&namedetails=1${t}${n}&q=`}search(e){return i(this,void 0,void 0,(function*(){const t=yield fetch(this.url+e),n=yield t.json();return this.formatResponse(n)}))}formatResponse(e){const t=e;return{info:e.length>0?t.map((e=>({bounds:e.boundingbox.map((e=>Number(e))),latitude:Number(e.lat),longitude:Number(e.lon),name:e.display_name}))):"Not Found",raw:e}}},BingMap:class{constructor(e){var t,n,i;this.key=null===(t=e)||void 0===t?void 0:t.providerKey;let o="";if(null===(i=null===(n=e)||void 0===n?void 0:n.searchBounds)||void 0===i?void 0:i.length){o=`&umv=${e.searchBounds.reduce(((e,t)=>[...e,t.lat,t.lng]),[]).join(",")}`}this.url=`https://dev.virtualearth.net/REST/v1/Locations?output=json${o}&key=${this.key}&q=`}search(e){return o(this,void 0,void 0,(function*(){if("undefined"===typeof this.key)return{error:"BingMap requires an api key"};const t=yield fetch(this.url+e).then((e=>e.json()));return this.formatResponse(t)}))}formatResponse(e){const t=e.resourceSets[0].resources;return{info:e.resourceSets[0].estimatedTotal>0?t.map((e=>({bounds:e.bbox.map((e=>Number(e))),latitude:Number(e.point.coordinates[0]),longitude:Number(e.point.coordinates[1]),name:e.name}))):"Not Found",raw:e}}}}},39592:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var i=n(67294);function o({className:e="",onClick:t=(e=>{e.preventDefault(),e.stopPropagation()})}){return i.createElement("button",{className:"search-control-close-button"+(e?` ${e}`:""),onClick:t},i.createElement("svg",{viewBox:"0 0 50 50"},i.createElement("path",{d:"M5 5 L45 45 M45 5 L5 45"}),"Sorry, your browser does not support inline SVG."))}},92713:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var i=n(67294);function o({className:e="",onClick:t=(()=>{}),onMouseEnter:n=(()=>{}),onMouseLeave:o=(()=>{})}){return i.createElement("button",{className:`${e||""}`,onClick:t,onMouseEnter:n,onMouseLeave:o},i.createElement("svg",{viewBox:"0 0 50 50"},i.createElement("line",{x1:"35",y1:"35",x2:"46",y2:"46"}),i.createElement("circle",{cx:"23",cy:"23",r:"16",fill:"none"}),"Sorry, your browser does not support inline SVG."))}},28308:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var i=n(67294);const o=({value:e,className:t,candidate:n,onClick:o,onKeyDown:r,children:s})=>{const a=i.useRef(null);return i.useEffect((()=>{e===n&&a.current&&a.current.offsetParent&&a.current.scrollIntoView({behavior:"smooth",block:"nearest"})}),[n,e]),i.createElement("li",{ref:a,value:e,className:t,onClick:o,onKeyDown:r},s)},r=(e,t)=>{const{handler:n,list:r,tabIndex:s,activeIndex:a}=e,[l,c]=i.useState(0),u=i.useCallback((e=>{if(Array.isArray(r)){e.stopPropagation(),9!==e.keyCode&&e.preventDefault();const t=r.length;if((t<=l||l<0||13!==e.keyCode)&&32!==e.keyCode){const n=t<=l||l<0?0:l;38===e.keyCode?c(0===n?r.length-1:n-1):40===e.keyCode&&c(n+1===r.length?0:n+1)}else n(r[l],r,l)}}),[c,l,r]);return i.useLayoutEffect((()=>c(0)),[r]),Array.isArray(r)?i.createElement("ul",Object.assign({ref:t},void 0!==s?{tabIndex:e.tabIndex}:{},{className:"search-control-info-list",onKeyDown:u}),r.map(((e,t)=>i.createElement(o,{value:t,candidate:l,key:`${e.name}-${t}`,className:`search-control-info-list-item${t===a||e.checked?" active":""}${l===t?" candidate":""}`,onClick:()=>{c(t),n(e,r,t)},onKeyDown:u},e.name)))):i.createElement("span",{className:"search-control-info-span"},r)};r.displayName="SearchInfoList";const s=i.forwardRef(r)},96908:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(67294);const o=i.forwardRef((({placeholder:e="PlaceHolder",type:t="text",initialValue:n="",className:o="",debounceTime:r=400,getInputValueSetter:s=(()=>{}),onClick:a=(()=>{}),onDoubleClick:l=(()=>{}),onMouseDown:c=(()=>{}),onMouseEnter:u=(()=>{}),onMouseLeave:d=(()=>{}),onChange:m=(()=>{}),onChangeAsync:h=(()=>{}),onFocus:p=(()=>{}),onBlur:f=(()=>{}),onKeyUp:x=(()=>{}),onKeyDown:g=(()=>{}),onKeyPress:v=(()=>{}),onSubmit:y=(()=>{}),tabIndex:b=0},w)=>{const[j,N]=i.useState(n),k=i.useCallback(((e,t)=>{t(e)}),[]),C=i.useCallback(function(e,t,n=400){let i;return o=>{o.persist(),t&&t(o),clearTimeout(i),i=window.setTimeout((()=>{e(o)}),n)}}((e=>{e.preventDefault(),e.stopPropagation(),h(e)}),(e=>{e.preventDefault(),e.stopPropagation(),N(e.target.value),m(e)}
1),r),[N]);return i.useLayoutEffect((()=>{s(N)})),i.createElement("input",{tabIndex:b,ref:w,type:t,name:"SearchInput",value:j,placeholder:e,className:"search-input"+(o?` ${o}`:""),onClick:e=>k(e,a),onDoubleClick:e=>k(e,l),onMouseEnter:e=>k(e,u),onMouseLeave:e=>k(e,d),onMouseDown:e=>k(e,c),onChange:C,onFocus:e=>k(e,p),onBlur:e=>k(e,f),onKeyUp:e=>k(e,x),onKeyDown:e=>k(e,g),onKeyPress:e=>k(e,v),onSubmit:e=>k(e,y)})}))},45785:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(82662);function o(e,t,n){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,i.Z)(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(n||e):r.value}},o(e,t,n)}function r(e,t,n){return o(e,t,n)}},82670:function(e,t,n){"use strict";function i(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{Z:function(){return i}})}}]);

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.