1"use strict";(self.webpackChunktourmkr_download=self.webpackChunktourmkr_download||[]).push([[9639],{7237:(C,u,n)=>{n.d(u,{o:()=>_});var g=n(7005),l=n(2133),c=n(6749),p=n(4363),e=n(3841),a=n(1282);class _{constructor(r){if(this.injector=r,this.isMobile=!1,this.observableFunc={},this.subscriptions=[],this.elRef=this.injector.get(l.SBq),this.i18n=this.injector.get(p.T),this.fontsService=this.injector.get(c.C),this.panoService=this.injector.get(e.X),this.statsService=this.injector.get(a.G),(0,g.NF)(this.panoService.platformId)){const o=navigator.userAgent.toLowerCase();this.isMobile=-1!==o.indexOf("mobile")||-1!==o.indexOf("android")}}_updateFontStyle(r,o){!r||Object.keys(o).filter(i=>["family","align","size","line_height"].includes(i)).forEach(i=>{r[i]||(r[i]=o[i])})}setFontStyle(r,o){this.fontsService.setFontStyle(this.elRef,r,o)}setStyleProperties(r){this.setStylePropertiesTo([this.elRef.nativeElement],r)}setStylePropertiesTo(r,o){for(const[i,s]of Object.entries(o)){const[h,t]=i.split(".");r?.forEach(m=>{m?.style.setProperty(h,s?s+(t||""):null)})}}unsubscribeAll(){this.subscriptions.forEach(r=>{r.unsubscribe()}),this.subscriptions=[]}}},4473:(C,u,n)=>{n.d(u,{D:()=>l});var g=n(2133);let l=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})()},3605:(C,u,n)=>{n.d(u,{y:()=>c});var g=n(2133),l=n(8194);let c=(()=>{class p{constructor(a){this.sanitizer=a}transform(a,_){switch(_){case"html":return this.sanitizer.bypassSecurityTrustHtml(a);case"style":return this.sanitizer.bypassSecurityTrustStyle(a);case"script":return this.sanitizer.bypassSecurityTrustScript(a);case"url":return this.sanitizer.bypassSecurityTrustUrl(a);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(a);default:throw new Error(`Invalid safe type specified: ${_}`)}}}return p.\u0275fac=function(a){return new(a||p)(g.Y36(l.H7,16))},p.\u0275pipe=g.Yjl({name:"safe",type:p,pure:!0}),p})()},1282:(C,u,n)=>{n.d(u,{G:()=>d});var g=n(7005),l=n(2133),c=n(642),p=n(3323),e=n(1245),a=n(3841);class d{constructor(o,i,s,h,t){this.http=o,this.windowRef=i,this.viewerDataService=s,this.panoService=h,this.platformId=t,this.session_id=""}send(o){if((0,g.PM)(this.platformId)||(0,l.X6Q)()||this.viewerDataService.editor||!this.panoService.moderationUrl)return;this.session_id||(this.session_id=window.crypto.randomUUID());const i=this._getStats();void 0!==o.type&&(i.type=o.type),void 0!==o.plugin&&(i.plugin=o.plugin),void 0!==o.details&&(i.details=o.details),this.http.post("https://apis.tourmkr.com/tours/stats",i).subscribe()}generateKey(o){return o.toLowerCase().replace(" ","_")}getWidget(o){const i=d.WIDGETS_MAP.get(o);return i?{name:i,key:this.generateKey(i)}:{name:"",key:""}}_getStats(){const{user_id:o,googleApiKey:i,moderationUrl:s}=this.panoService,{t_id:h,id:t}=this.viewerDataService.active,{nativeWindow:m}=this.windowRef,{innerWidth:f,innerHeight:O,location:v,navigator:M}=m;return{ip:null,action:null,returning:null,user_type:null,time:null,m_key:i??null,user_id:o,session_id:this.session_id,browser:M.userAgent,height:O,language:M.language,location:v.href,moderation_id:h,pano_id:t,referer:document.referrer,site:s.substring(2),local_time:Math.floor(Date.now()/1e3),width:f,device:f<600?"mobile":f<1e3?"tablet":"desktop",host:v.href.split("/")[2],tour_type:s?.startsWith("G")?"google":"hosted",plugin:null,type:null,details:null}}}d.WIDGETS_MAP=new Map([["MenuHopenkeComponent","Berlin Menu"],["MenuKavftigComponent","Side Menu"],["MenuLekprogComponent","Top Menu"],["MenuLoppitteComponent","Real Estate Menu"],["SchemeHopenkeComponent","Berlin Map"],["SchemeKavftigComponent","Floor Map"],["SchemeGvesjodComponent","Mapbox"],["HotspotHopenkeComponent","Berlin Hotspot"],["HotspotKavftigComponent","Hotspot"],["HotspotHolmlackComponent","Pano link"],["ControlHopenkeComponent","Berlin Control"],["ControlKavftigComponent","Control Bar"],["ControlLoppitteComponent","Real Estate Control"],["OtherCarouselComponent","Carousel"],["OtherLanguageComponent","Language"],["OtherLogoComponent","Logo"],["OtherCodeComponent","Code"],["OtherPasswordComponent","Password"],["OtherTitleComponent","Pano Label"],["OtherNavigationComponent","Navigation"]]),d.\u
10275fac=function(o){return new(o||d)(l.LFG(c.eN),l.LFG(p.X),l.LFG(e.m),l.LFG(a.X),l.LFG(l.Lbi))},d.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})},1242:(C,u,n)=>{n.r(u),n.d(u,{OtherCompassModule:()=>i});var g=n(7005),l=n(4473),c=n(5405);const p=JSON.parse('{"widget":"OtherCompassComponent","options":[{"key":"needle-rotation","label":"Rotate only needle","type":"toggle","category":"content","value":false},{"key":"width","label":"Size","type":"slider","category":"appearance","help":"px","min":0,"max":800,"value":70},{"key":"margin","label":"Margin","type":"slider","category":"appearance","help":"px","value":10},{"key":"area","label":"Area","areas":["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"],"type":"area","category":"appearance","value":"bottom-right"},{"key":"fill-color","label":"Fill color","type":"color","category":"colors","value":{"color":"rgb(255,255,255)"}},{"key":"needle-color","label":"Needle color","type":"color","category":"colors","value":{"color":"rgb(0,0,0)"}},{"key":"styles","label":"Styles","type":"css","category":"styles","value":""}]}');var e=n(2133),a=n(9471),_=n(3605);function d(s,h){if(1&s&&(e._UZ(0,"code",2),e.ALo(1,"safe")),2&s){const t=e.oxw();e.Q6J("innerHTML",e.xi3(1,1,t.styles,"html"),e.oJD)}}function r(s,h){if(1&s&&(e.TgZ(0,"div",3),e.O4$(),e.TgZ(1,"svg",4)(2,"g",5)(3,"text",6),e._uU(4,"N"),e.qZA(),e.TgZ(5,"text",7),e._uU(6,"E"),e.qZA(),e.TgZ(7,"text",8),e._uU(8,"S"),e.qZA(),e.TgZ(9,"text",9),e._uU(10,"W"),e.qZA(),e._UZ(11,"path",10),e.qZA(),e.TgZ(12,"g"),e._UZ(13,"path",11)(14,"circle",12),e.qZA()()()),2&s){const t=e.oxw();e.Q6J("ngClass",t.options.area.value),e.xp6(2),e.Udp("transform",t.options.needle_rotation.value?"":"rotate("+t.angle+"deg)"),e.xp6(9),e.uIk("d",t.icons[0].icon[4]),e.xp6(2),e.Udp("transform",t.options.needle_rotation.value?"rotate("+t.needleAngle+"deg)":""),e.uIk("d",t.icons[1].icon[4])}}let o=(()=>{class s extends c.P{constructor(t,m){super(t),this._viewerService=m,this.default_options=p,this.icons=[{prefix:"",iconName:"wrap",icon:[100,100,[],"","M50,0C22.386,0,0,22.385,0,50c0,27.613,22.386,50,50,50s50-22.387,50-50 C100,22.385,77.614,0,50,0z M83.375,82.065l-1.948-1.947l-1.309,1.309l1.947,1.948c-2.463,2.367-5.179,4.473-8.118,6.253 l-1.387-2.402l-1.604,0.926l1.385,2.399c-2.971,1.641-6.144,2.957-9.467,3.917l-0.717-2.673l-1.789,0.479l0.718,2.677 c-2.56,0.628-5.201,1.04-7.907,1.224L50,89.814l-3.18,6.36c-2.706-0.184-5.348-0.596-7.907-1.224l0.717-2.677l-1.789-0.479 l-0.716,2.673c-3.324-0.96-6.497-2.276-9.468-3.917l1.385-2.399l-1.604-0.926l-1.386,2.402c-2.938-1.78-5.655-3.886-8.118-6.253 l1.948-1.948l-1.31-1.309l-1.948,1.947c-2.367-2.463-4.473-5.18-6.252-8.118l2.402-1.387l-0.926-1.604l-2.4,1.386 c-1.64-2.972-2.957-6.144-3.917-9.469l2.672-0.716l-0.479-1.789l-2.675,0.717c-0.628-2.559-1.041-5.199-1.225-7.905l6.36-3.18 l-6.361-3.18c0.184-2.706,0.597-5.348,1.226-7.907l2.675,0.717l0.479-1.789l-2.672-0.716c0.96-3.325,2.277-6.498,3.918-9.469 l2.399,1.385l0.926-1.604l-2.402-1.387c1.779-2.938,3.884-5.654,6.251-8.117l1.949,1.949l1.31-1.31l-1.949-1.949 c2.463-2.367,5.18-4.472,8.119-6.251l1.386,2.402l1.604-0.926l-1.385-2.4c2.971-1.64,6.144-2.957,9.468-3.918l0.716,2.672 l1.789-0.479l-0.716-2.675c2.558-0.628,5.2-1.041,7.906-1.225l3.18,6.36l3.18-6.36c2.706,0.184,5.348,0.596,7.906,1.225 l-0.717,2.675l1.789,0.479l0.717-2.672c3.323,0.961,6.496,2.278,9.467,3.918l-1.385,2.4l1.604,0.926l1.387-2.402 c2.939,1.779,5.656,3.884,8.119,6.251l-1.948,1.949l1.309,1.31l1.949-1.949c2.366,2.463,4.472,5.179,6.251,8.118l-2.401,1.386 l0.926,1.604l2.398-1.385c1.642,2.971,2.958,6.144,3.919,9.469l-2.673,0.716l0.479,1.789l2.676-0.717 c0.628,2.559,1.04,5.201,1.224,7.907L89.814,50l6.36,3.18c-0.184,2.706-0.596,5.347-1.224,7.905l-2.676-0.717l-0.479,1.789 l2.673,0.716c-0.961,3.325-2.277,6.497-3.918,9.469l-2.399-1.386l-0.926,1.604l2.402,1.387 C87.848,76.886,85.743,79.603,83.375,82.065z"]},{prefix:"",iconName:"needle",icon:[100,100,[],"","M57.092,38.082c-1.154-0.688-2.412-1.218-3.752-1.549L50,22.222l-3.339,14.311 c-2.102,0.52-4.019,1.508-5.622,2.864l-4.928-3.286l3.286,4.928c-1.356,1.603-2.345,3.519-2.865,5.622L22.222,50l14.31,3.339 c0.331,1.34,0.862,2.599,1.55,3.752l-15.86,20.687l20.687-15.859c1.154,0.688,2.412,1.219,3.751,1.55L50,77.777l3.34-14.31 c2.102-0.521,4.018-1.509,5.62-2.865l4.929,3.286l-3.285-4.929c1.355-1.603,2.344-3.519,2.863-5.621L77.777,50l-14.311-3.339 c-0.33-1.34-0.861-2.599-1.549-3.752l15.859-20.686L57.092,38.082z M39.301,55.5c-0.85-1.649-1.338-3.516-1.338-5.5 c0-6.648,5.389-12.037,12.037-12.037c1.984,0,3.85,0.488,5.5,1.338L50,43.519c-3.58,0-6.481,2.901-6.481,6.481L39.301,55.5z M54.629,50c0,2.557-2.072,4.63-4.629,4.63c-2.557,0-4.629-2.073-4.629-4.63c0-2.557,2.072-4.629,4.629-4.629 C52.557,45.371,54.629,47.443,54.629,50z M62.037,50c0,6.647-5.389,12.037-12.037,12.037c-1.984,0-3.85-0.488-5.5-1.338l5.5-4.218 c3.579,0,6.48
11-2.902,6.481-6.481l4.218-5.5C61.549,46.15,62.037,48.016,62.037,50z"]}]}get angle(){return-1*this._viewerService.angle}get needleAngle(){return-1*this.angle-45}addObservableFunc(){this.observableFunc.width=t=>{this.onWidthChange(t)},this.observableFunc.margin=t=>this.onMarginChange(t),this.observableFunc.fill_color=t=>this.onFillColorChange(t),this.observableFunc.needle_color=t=>this.onNeedleColorChange(t)}onWidthChange(t){this.elRef.nativeElement.style.setProperty("--size",t+"px")}onMarginChange(t){this.elRef.nativeElement.style.setProperty("--margin",t+"px")}onFillColorChange(t){this.elRef.nativeElement.style.setProperty("--fill-color",t.color)}onNeedleColorChange(t){this.elRef.nativeElement.style.setProperty("--needle-color",t.color)}initData(){this.addObservableFunc(),super.initData()}}return s.\u0275fac=function(t){return new(t||s)(e.Y36(e.zs3),e.Y36(a.a))},s.\u0275cmp=e.Xpm({type:s,selectors:[["wdg-other-compass"]],features:[e.qOj],decls:2,vars:2,consts:[[3,"innerHTML",4,"ngIf"],["class","widget other compass",3,"ngClass",4,"ngIf"],[3,"innerHTML"],[1,"widget","other","compass",3,"ngClass"],["id","icon-compass","xmlns","http://www.w3.org/2000/svg","version","1.1","x","0px","y","0px","viewBox","0 0 100 100","enable-background","new 0 0 100 100",0,"xml","space","preserve"],[1,"wrap"],["x","45","y","19",1,"small"],["x","83","y","55",1,"small"],["x","47","y","89",1,"small"],["x","10","y","55",1,"small"],["fill-rule","evenodd","clip-rule","evenodd"],["fill-rule","evenodd","clip-rule","evenodd",1,"needle"],["fill-rule","evenodd","clip-rule","evenodd","cx","50","cy","50","r","2.778"]],template:function(t,m){1&t&&(e.YNc(0,d,2,4,"code",0),e.YNc(1,r,15,7,"div",1)),2&t&&(e.Q6J("ngIf",m.styles),e.xp6(1),e.Q6J("ngIf",m.widgetInit))},dependencies:[g.mk,g.O5,_.y],styles:[".widget[_ngcontent-%COMP%]{position:absolute;width:var(--size);height:var(--size);margin:var(--margin);z-index:2}.widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%}.widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g[_ngcontent-%COMP%] text[_ngcontent-%COMP%]{fill:var(--fill-color)}.widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g[_ngcontent-%COMP%] path.needle[_ngcontent-%COMP%]{transform-origin:center;transform:rotate(-45deg);fill:var(--needle-color)}.widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g[_ngcontent-%COMP%] text[_ngcontent-%COMP%]{font-size:12px}.widget[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] g.wrap[_ngcontent-%COMP%]{transform-origin:center}.widget.bottom[_ngcontent-%COMP%], .widget.top[_ngcontent-%COMP%]{left:50%;transform:translate(-50%);margin-left:initial;margin-right:initial}.widget.left[_ngcontent-%COMP%], .widget.right[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%);margin-top:initial;margin-bottom:initial}.widget.top[_ngcontent-%COMP%], .widget.top-left[_ngcontent-%COMP%], .widget.top-right[_ngcontent-%COMP%]{top:0}.widget.bottom[_ngcontent-%COMP%], .widget.bottom-left[_ngcontent-%COMP%], .widget.bottom-right[_ngcontent-%COMP%]{bottom:0}.widget.bottom-right[_ngcontent-%COMP%], .widget.right[_ngcontent-%COMP%], .widget.top-right[_ngcontent-%COMP%]{right:0}.widget.bottom-left[_ngcontent-%COMP%], .widget.left[_ngcontent-%COMP%], .widget.top-left[_ngcontent-%COMP%]{left:0}code[_ngcontent-%COMP%]{display:none}"]}),s})(),i=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.oAB({type:s,bootstrap:[o]}),s.\u0275inj=e.cJS({imports:[g.ez,l.D]}),s})()}}]);
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.