@signalk/freeboard-sk 3.0.0-beta.2 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/public/3rdpartylicenses.txt +66 -66
- package/public/assets/img/wind/barbs/weatherStation-10.svg +4 -0
- package/public/assets/img/wind/barbs/weatherStation-15.svg +5 -0
- package/public/assets/img/wind/barbs/weatherStation-20.svg +5 -0
- package/public/assets/img/wind/barbs/weatherStation-25.svg +6 -0
- package/public/assets/img/wind/barbs/weatherStation-30.svg +6 -0
- package/public/assets/img/wind/barbs/weatherStation-35.svg +7 -0
- package/public/assets/img/wind/barbs/weatherStation-40.svg +7 -0
- package/public/assets/img/wind/barbs/weatherStation-45.svg +8 -0
- package/public/assets/img/wind/barbs/weatherStation-5.svg +4 -0
- package/public/assets/img/wind/barbs/weatherStation-50.svg +4 -0
- package/public/assets/img/wind/barbs/weatherStation-55.svg +5 -0
- package/public/assets/img/wind/barbs/weatherStation-60.svg +5 -0
- package/public/assets/img/wind/barbs/weatherStation-65.svg +6 -0
- package/public/assets/img/wind/barbs/weatherStation-70.svg +6 -0
- package/public/assets/img/wind/barbs/weatherStation-75.svg +7 -0
- package/public/{chunk-QNWLXTD7.js → chunk-25YKCA66.js} +1 -1
- package/public/{chunk-T5SYG6YH.js → chunk-2E6LEX6X.js} +1 -1
- package/public/{chunk-DBEAKA2P.js → chunk-5EMYKEQQ.js} +1 -1
- package/public/{chunk-EU3YXT24.js → chunk-6OLNESWL.js} +1 -1
- package/public/chunk-6U267SFF.js +1 -0
- package/public/chunk-74KWRC7R.js +1 -0
- package/public/chunk-CP3JNVJQ.js +3874 -0
- package/public/{chunk-RS6VYSOP.js → chunk-DI2Z6WN4.js} +1 -1
- package/public/{chunk-CSNMIJA3.js → chunk-E3NU2HIR.js} +2 -2
- package/public/chunk-J7PBTBQW.js +1 -0
- package/public/chunk-MDMA57E3.js +1 -0
- package/public/{chunk-2GXI757Z.js → chunk-PD24DQFJ.js} +1 -1
- package/public/{chunk-7OJ7YZPE.js → chunk-PEC6ZGZT.js} +1 -1
- package/public/{chunk-NM5IDVR6.js → chunk-QYCAVSMC.js} +1 -1
- package/public/{chunk-QEISFNRM.js → chunk-W672EMFZ.js} +1 -1
- package/public/{chunk-VVW6IUIY.js → chunk-WILLX6Y3.js} +1 -1
- package/public/{chunk-P5D5HOAL.js → chunk-XKSYGWTR.js} +15 -15
- package/public/index.html +1 -1
- package/public/{main-IO4X75OS.js → main-OEZGVDMV.js} +9 -9
- package/public/worker-4MQD26BS.js +3 -0
- package/public/chunk-4FRHLR6W.js +0 -3871
- package/public/chunk-C5EZE34F.js +0 -1
- package/public/chunk-EQZM5PXA.js +0 -1
- package/public/chunk-ORHNIL4Z.js +0 -1
- package/public/chunk-XP3I253N.js +0 -1
- package/public/worker-5T47RUMR.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as L,Aa as at,G as Xe,M as Ye,N as Je,O as Qe,da as $e,e as Le,ea as $,f as K,fa as ee,ja as et,ka as tt,la as it,n as Ze,o as He,p as Ke,q as O,s as ze,t as qe,z as je,za as nt}from"./chunk-CP3JNVJQ.js";import{a as We,h as ke,j as Ve,k as Pe}from"./chunk-E3NU2HIR.js";import{a as Be,d as Oe,i as Ie,j as Fe,k as Ae}from"./chunk-25YKCA66.js";import{a as xe,b as Y,c as J,d as Ge,e as Q}from"./chunk-6OLNESWL.js";import"./chunk-QYCAVSMC.js";import{c as z,d as Ne,f as Re,i as q,j as Ue,n as j,o as X}from"./chunk-PEC6ZGZT.js";import{$d as G,Ca as B,Cd as ye,Da as T,Ea as D,Ed as Se,Ga as b,Ha as y,Ia as S,Ib as F,Ja as h,Ka as i,La as n,Ma as E,Mb as fe,Md as Ce,Nb as A,O as W,Od as Me,P as m,Q as c,R as x,Rd as N,S as me,Ta as k,Td as we,Ud as R,Va as p,W as ce,Wd as U,Xa as M,Y as I,Z as pe,ba as _e,ce as Z,de as ve,fb as w,ge as be,he as Te,ia as r,ib as ue,ie as De,je as Ee,kb as s,ke as H,lb as C,mb as V,ob as _,pb as u,qa as P,qb as f,yd as he}from"./chunk-XKSYGWTR.js";import"./chunk-EQVTEUXC.js";var _t=(l,d)=>d[0];function ut(l,d){if(l&1&&(i(0,"mat-option",8),x(),i(1,"svg",6),E(2,"line",7),n()()),l&2){let a=d.$implicit;h("value",a),r(2),B("stroke-width",a)}}function ft(l,d){if(l&1&&(i(0,"mat-option",8),x(),i(1,"svg",6),E(2,"line",9),n()()),l&2){let a=d.$implicit;h("value",a[0]),r(2),B("stroke-dasharray",a[1])}}var te=class l{color=A("#ff0000");dash=A("none");weight=A(1);_color=F(()=>this.color());_dash=F(()=>this.dash());_weight=F(()=>this.weight());selectionChange=fe();app=W(L);line={dashArrays:this.app.lineDashMap,weights:[1,2,3,4,5]};constructor(){}ngOnInit(){}onSelectChange(d){let a=this.app.formatLineDashArray(this._dash());this.selectionChange.emit({lineStyle:{fill:{color:this._color()},stroke:{color:this._color(),width:this._weight(),lineDash:a}},config:{color:this._color(),weight:this._weight(),dash:this._dash()}})}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["linestyle-select"]],inputs:{color:[1,"color"],dash:[1,"dash"],weight:[1,"weight"]},outputs:{selectionChange:"selectionChange"},decls:25,vars:5,consts:[[2,"display","flex"],[2,"width","100px"],["mat-input","","matNativeControl","","type","color",3,"ngModelChange","change","ngModel"],[2,"width","110px"],[3,"ngModelChange","selectionChange","ngModel"],[2,"display","flex","align-items","center","gap","8px"],["width","48","height","10",2,"vertical-align","middle","margin-right","6px"],["x1","0","y1","5","x2","48","y2","5","stroke","currentColor","stroke-array","none"],[3,"value"],["x1","0","y1","5","x2","48","y2","5","stroke","currentColor","stroke-width","2"]],template:function(a,e){a&1&&(i(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),s(3,"Color"),n(),i(4,"input",2),f("ngModelChange",function(o){return u(e._color,o)||(e._color=o),o}),p("change",function(o){return e.onSelectChange({key:"color",value:o.srcElement.value})}),n()(),i(5,"mat-form-field",3)(6,"mat-label"),s(7,"Weight"),n(),i(8,"mat-select",4),f("ngModelChange",function(o){return u(e._weight,o)||(e._weight=o),o}),p("selectionChange",function(o){return e.onSelectChange({key:"weight",value:o.value})}),i(9,"mat-select-trigger")(10,"div",5),x(),i(11,"svg",6),E(12,"line",7),n()()(),y(13,ut,3,2,"mat-option",8,b),n()(),me(),i(15,"mat-form-field",3)(16,"mat-label"),s(17,"Style"),n(),i(18,"mat-select",4),f("ngModelChange",function(o){return u(e._dash,o)||(e._dash=o),o}),p("selectionChange",function(o){return e.onSelectChange({key:"dash",value:o.value})}),i(19,"mat-select-trigger")(20,"div",5),x(),i(21,"svg",6),E(22,"line",9),n()()(),y(23,ft,3,2,"mat-option",8,_t),n()()()),a&2&&(r(4),_("ngModel",e._color),r(4),_("ngModel",e._weight),r(4),B("stroke-width",e._weight()),r(),S(e.line.weights),r(5),_("ngModel",e._dash),r(4),B("stroke-dasharray",e.line.dashArrays.get(e._dash())),r(),S(e.line.dashArrays))},dependencies:[H,U,G,Z,R,N,K,X,j,q,z,Q,J,Ge,Y],encapsulation:2})};var yt=(l,d)=>d[0];function St(l,d){if(l&1){let a=k();i(0,"div",4)(1,"mat-radio-button",5,0),p("change",function(){m(a);let g=w(2),o=M().$implicit,t=M();return o[1].current=g.value,c(t.save(!0))}),s(3),n()()}if(l&2){let a=d.$implicit,e=M().$implicit;r(),h("name",e[0])("value",a)("checked",a===e[1].current),r(2),V(" ",a.split(".").slice(-1)," ")}}function Ct(l,d){if(l&1&&(i(0,"div",2)(1,"div",3)(2,"div"),s(3),n()(),i(4,"div"),y(5,St,4,4,"div",4,b),n()()),l&2){let a=d.$implicit;r(3),C(a[1].name),r(2),S(a[1].available)}}var ie=class l{title="";chosen=new ce;pathChoices={tws:{name:"True Wind Speed",choices:["environment.wind.speedTrue","environment.wind.speedOverGround"],available:[],current:""},twd:{name:"True Wind Direction",choices:["environment.wind.directionTrue","environment.wind.directionMagnetic","environment.wind.angleTrueGround","environment.wind.angleTrueWater"],available:[],current:""},heading:{name:"Heading / COG",choices:["navigation.courseOverGroundTrue","navigation.courseOverGroundMagnetic","navigation.headingTrue","navigation.headingMagnetic"],available:[],current:""}};pathChoicesArray=Object.entries(this.pathChoices);availPaths;app=W(L);constructor(){}ngOnInit(){this.initEntries()}initEntries(){this.availPaths=new Map(Object.entries(this.app.data.vessels.prefAvailablePaths)),this.pathChoices.tws.current=this.app.config.units.preferredPaths.tws,this.pathChoices.twd.current=this.app.config.units.preferredPaths.twd,this.pathChoices.heading.current=this.app.config.units.preferredPaths.heading,Object.entries(this.pathChoices).forEach(a=>{let e=a[1];e.choices.forEach(g=>{this.availPaths.has(g)&&e.available.push(g)}),e.available.length===0&&e.available.push(e.choices[0])})}save(d){let a={};Object.entries(this.pathChoices).forEach(e=>{a[e[0]]=e[1].current}),this.chosen.emit({save:d,value:a})}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["signalk-preferred-paths"]],inputs:{title:"title"},outputs:{chosen:"chosen"},decls:6,vars:1,consts:[["pathopt",""],[2,"font-size","10pt"],[1,"sk-details"],[1,"title"],[2,"margin","5px 0 5px 0"],[3,"change","name","value","checked"]],template:function(a,e){a&1&&(i(0,"fieldset")(1,"legend",1),s(2),n(),i(3,"div"),y(4,Ct,7,1,"div",2,yt),n()()),a&2&&(r(2),C(e.title),r(2),S(e.pathChoicesArray))},dependencies:[ee,$],styles:[".sk-details[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:10pt;max-height:100%;width:60vw;max-width:300px}.sk-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{background:left 1px -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.18)),color-stop(.65,transparent)) #b2bbc2e3;padding:3px 5px 0;margin-top:3px;font-weight:500;line-height:23px;color:#000}.sk-details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:0;line-height:23px;margin:0;flex:1 1 auto;overflow:auto}.sk-details[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:flex;flex-direction:row;line-height:26px;border-width:0 0 0 0;border-style:solid;border-color:gray;padding-left:5px}.sk-details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-width:0 0 1px 0}.sk-details[_ngcontent-%COMP%] .sectionname[_ngcontent-%COMP%]{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;font-weight:500}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;width:100%;background-color:#fff}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0})};var v=(l,d)=>d[0],Mt=(l,d)=>d.id;function wt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function vt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function bt(l,d){if(l&1&&(i(0,"mat-option",117),s(1),n()),l&2){let a=d.$implicit;h("value",a.url)("matTooltip",a.description),r(),V(" ",a.name," ")}}function Tt(l,d){if(l&1){let a=k();i(0,"div",44)(1,"div",35)(2,"mat-form-field",36)(3,"mat-label"),s(4,"Select Instruments App"),n(),i(5,"mat-select",59),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.instruments,g)||(o.facade.settings.display.plugins.instruments=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.onInstrumentApp())}),y(6,bt,2,3,"mat-option",117,b),n()()(),i(8,"div",35)(9,"mat-form-field",50)(10,"mat-label"),s(11,"Parameters"),n(),i(12,"input",118,18),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.parameters,g)||(o.facade.settings.display.plugins.parameters=g),c(g)}),p("change",function(){m(a);let g=M();return c(g.persistModel("pluginParameters"))}),n()()(),i(14,"div",35)(15,"mat-checkbox",119),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.startOnOpen,g)||(o.facade.settings.display.plugins.startOnOpen=g),c(g)}),p("change",function(){m(a);let g=M();return c(g.persistModel("pluginStartOnOpen"))}),s(16," Halt App on hide "),n()(),i(17,"div",35)(18,"button",120),p("click",function(){m(a);let g=M();return c(g.toggleFavourites())}),i(19,"mat-icon"),s(20,"star"),n(),s(21," FAVOURITES "),n()()()}if(l&2){let a=M();r(5),_("ngModel",a.facade.settings.display.plugins.instruments),r(),S(a.facade.applicationList),r(6),h("disabled",a.facade.settings.display.plugins.instruments===null),_("ngModel",a.facade.settings.display.plugins.parameters),r(3),_("ngModel",a.facade.settings.display.plugins.startOnOpen)}}function Dt(l,d){if(l&1&&(i(0,"mat-list-option",122),s(1),n()),l&2){let a=d.$implicit,e=M(2);h("disabled",a.url==e.facade.settings.display.plugins.instruments)("selected",e.facade.settings.display.plugins.favourites.includes(a.url))("value",a.url),r(),V(" ",a.name," ")}}function Et(l,d){if(l&1){let a=k();i(0,"div",34)(1,"div",35)(2,"div",99),E(3,"br"),s(4,"Select Favourite Apps: "),n(),E(5,"mat-divider"),i(6,"mat-selection-list",121,19),p("selectionChange",function(g){m(a);let o=w(7),t=M();return c(t.onFavSelected(g,o))}),y(8,Dt,2,4,"mat-list-option",122,b),n()()()}if(l&2){let a=M();r(8),S(a.facade.favouritesList)}}function Wt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function kt(l,d){l&1&&(i(0,"mat-error"),s(1,"Please enter a number >= 0"),n())}function Vt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Pt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Lt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function xt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Bt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ot(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function It(l,d){if(l&1){let a=k();i(0,"div",35)(1,"mat-form-field",36)(2,"mat-label"),s(3,"Position display format"),n(),i(4,"mat-select",123),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.units.positionFormat,g)||(o.facade.settings.units.positionFormat=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.persistModel())}),y(5,Ot,2,2,"mat-option",38,b),n()()()}if(l&2){let a=M();r(4),_("ngModel",a.facade.settings.units.positionFormat),r(),S(a.options.preferredValues.coords)}}function Ft(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function At(l,d){if(l&1){let a=k();i(0,"div",35)(1,"mat-form-field",36)(2,"mat-label"),s(3,"Prefer True / Magnetic values"),n(),i(4,"mat-select",124),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.units.headingAttribute,g)||(o.facade.settings.units.headingAttribute=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.persistModel("headingAttribute"))}),y(5,Ft,2,2,"mat-option",38,b),n()()()}if(l&2){let a=M();r(4),_("ngModel",a.facade.settings.units.headingAttribute),r(),S(a.options.preferredValues.heading)}}function Nt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Rt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ut(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Gt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Zt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ht(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Kt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function zt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function qt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function jt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Xt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number > 0 "),n())}function Yt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Jt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Qt(l,d){if(l&1&&(i(0,"mat-radio-button",38),E(1,"img",125),s(2),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),ue(`transform: scale(${a[0]})`),r(),V(" (",a[1],") ")}}function $t(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -90 and 90 (max 9 decimals) "),n())}function ei(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -180 and 180 (max 9 decimals) "),n())}function ti(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ii(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ni(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function ai(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function oi(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number >= 1. "),n())}function ri(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function si(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function li(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function di(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function gi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function mi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ci(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function pi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function _i(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function ui(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function fi(l,d){if(l&1){let a=k();i(0,"button",126),p("click",function(){m(a),M();let g=w(519);return c(g.value="")}),i(1,"mat-icon"),s(2,"close"),n()()}}function hi(l,d){if(l&1&&(i(0,"mat-list-option",101),s(1),n()),l&2){let a=d.$implicit,e=M();h("selected",e.facade.settings.resources.paths.includes(a))("value",a),r(),V(" ",a," ")}}function yi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a.id),r(),C(a.name)}}function Si(l,d){if(l&1){let a=k();i(0,"mat-tab",102)(1,"div",29)(2,"div",30)(3,"div",114)(4,"div",32),s(5,"RADAR SETTINGS"),n(),i(6,"mat-card",33)(7,"div",44)(8,"div",35)(9,"mat-form-field",127)(10,"mat-label"),s(11,"Radar Devices"),n(),i(12,"mat-select",128,20),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.radars.deviceId,g)||(o.facade.settings.radars.deviceId=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.doRadar())}),y(14,yi,2,2,"mat-option",38,Mt),n()()(),i(16,"div",35)(17,"button",129),p("click",function(){m(a);let g=M();return c(g.refreshRadars())}),i(18,"mat-icon"),s(19," refresh"),n(),s(20," REFRESH "),n()()()()()()()()}if(l&2){let a=M();r(12),h("disabled",!a.radarList().length||a.app.uiCtrl().radarLayer),_("ngModel",a.facade.settings.radars.deviceId),r(2),S(a.radarList())}}function Ci(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Mi(l,d){l&1&&(i(0,"mat-error"),s(1," Value required. "),n())}var st=class l{show={favourites:I(!1)};options;aisStateFilter={moored:!1,anchored:!1};formattedNumberModel={rangeCirclesDistance:1e3};unitsChangedSignal=I(0);radarList=I([]);saveOnClose=!1;facade=W(at);myElement=W(_e);dialogRef=W(he);wakeLock=W(Ke);s57=W(ze);app=W(L);radarApi=W(je);constructor(){this.options=new nt,pe(()=>{this.unitsChangedSignal(),this.formatNumberModel()})}ngOnInit(){this.facade.refresh(),this.facade.settings.selections.aisState.forEach(d=>{d in this.aisStateFilter&&(this.aisStateFilter[d]=!0)}),this.refreshRadars()}refreshRadars(){this.radarApi.listRadars().then(d=>{this.radarList.set(d)}).catch(()=>{this.radarList.set([])})}formatNumberModel(){this.formattedNumberModel={rangeCirclesDistance:this.facade.settings.units.distance==="kilometer"?Math.floor(this.facade.settings.vessels.rangeCirclesDistance/1e3):Math.floor(O.transform(this.facade.settings.vessels.rangeCirclesDistance,"m","naut-mile"))}}raiseChange(){this.app.alignUnitPrefs(this.app.serverConfig.unitPreferences()),this.unitsChangedSignal.update(d=>d+1)}handleClose(){this.saveOnClose&&this.persistModel(),this.dialogRef.close()}doWakelock(d){this.persistModel(),d?this.wakeLock.disable():this.wakeLock.enable()}doS57(d){this.facade.settings.map.s57Options.depthUnit=this.facade.settings.units.depth,d?this.parseNumber(d):this.persistModel(),this.s57.setOptions(this.facade.settings.map.s57Options)}doRadar(){this.radarApi.init(this.facade.settings.radars.deviceId).then(d=>{d&&this.persistModel()})}onLineStyle(d,a){let e=this.facade.settings.vessels.selfLines[d];e&&(e.color=a.config.color,e.dash=a.config.dash,e.weight=a.config.weight,this.app.selfLines.update(g=>{let o=Object.assign({},g);return o[d]=a.lineStyle,o}),this.persistModel())}toggleFavourites(){this.show.favourites.update(d=>!d)}parseNumber(d,a){if(typeof d.model!="number"){d.reset(this.fallbackToDefault());return}!a&&d.model<0&&d.reset(Math.abs(d.model)),this.persistModel()}parseFormattedNumber(d,a){typeof d.model=="number"&&(!a&&d.model<0&&d.reset(Math.abs(d.model)),this.facade.settings.vessels.rangeCirclesDistance=this.facade.settings.units.distance==="kilometer"?Math.floor(this.formattedNumberModel.rangeCirclesDistance*1e3):Math.floor(O.nauticalMilesToKm(this.formattedNumberModel.rangeCirclesDistance)*1e3),this.persistModel())}fallbackToDefault(){let d=qe();if(typeof this.facade.settings.display.statusBar.referenceSpeed!="number")return d.display.statusBar.referenceSpeed;if(typeof this.facade.settings.map.s57Options.shallowDepth!="number")return d.map.s57Options.shallowDepth;if(typeof this.facade.settings.map.s57Options.safetyDepth!="number")return d.map.s57Options.safetyDepth;if(typeof this.facade.settings.map.s57Options.deepDepth!="number")return d.map.s57Options.deepDepth;if(typeof this.facade.fixedPosition[0]!="number"||typeof this.facade.fixedPosition[1]!="number")return 0;if(typeof this.facade.settings.course.arrivalCircle!="number")return d.course.arrivalCircle}persistModel(d){this.facade.applySettings(),this.facade.emitChangeEvent(d)}get speedUnitSymbol(){return O.getSymbol(this.facade.settings.units.speed)}deferPersist(d){this.saveOnClose=!0,this.facade.emitChangeEvent(d)}onInstrumentApp(){this.persistModel("pluginInstruments"),this.facade.buildFavouritesList()}onPreferredPaths(d){d.save&&(this.facade.settings.units.preferredPaths=d.value,this.persistModel())}onFavSelected(d,a){this.facade.settings.display.plugins.favourites=a.selectedOptions.selected.map(e=>e.value),this.persistModel()}onAisStateFilter(){let d=[];for(let a in this.aisStateFilter)this.aisStateFilter[a]&&d.push(a);this.facade.settings.selections.aisState=[].concat(d),this.persistModel()}onResPathSelected(d){this.facade.settings.resources.paths=d.selectedOptions.selected.map(a=>a.value),this.facade.settings.resources.paths.forEach(a=>{a in this.facade.settings.selections.resourceSets||(this.facade.settings.selections.resourceSets[a]=[])}),this.persistModel()}clearAuthToken(){this.facade.clearToken()}renderSymbol(d){return O.getSymbol(d)}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["settings-dialog"]],decls:614,vars:127,consts:[["refspeed","ngModel"],["serverprefs",""],["distunits",""],["s57shallowDepth","ngModel"],["s57safetyDepth","ngModel"],["s57deepDepth","ngModel"],["coursearrivalcircle","ngModel"],["courseautoadvance",""],["courseautoadvanceon",""],["vesselfixedlocationmode",""],["fixedlat","ngModel"],["fixedlon","ngModel"],["rangeCirclesDistance","ngModel"],["notesrootfilter",""],["respath",""],["skmaxradius",""],["videourl","ngModel"],["experiments",""],["instparams","ngModel"],["favs",""],["radarlist",""],[2,"background-color","transparent"],[1,"dialog-icon"],[2,"flex","1 1 auto","text-align","center"],[2,"text-align","right"],["mat-icon-button","",3,"click"],["mat-dialog-content","",2,"display","flex"],["dynamicHeight","false","mat-stretch-tabs","false","mat-align-tabs","start"],["label","Display"],[1,"theme-page","settings"],[1,"theme-panel"],["id","sectDisplay",1,"setting-group"],[1,"setting-group-title"],[1,"setting-card"],[1,"setting-card-row",2,"padding-bottom","10px"],[1,"setting-card-row-item"],[2,"width","100%"],["matTooltip","Dark Mode setting.",3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["label","after","matTooltip","Auto-set using environment.mode value.",3,"ngModelChange","change","ngModel"],["matTooltip","Action button selection.",3,"ngModelChange","selectionChange","ngModel"],["label","after","matTooltip","Disable wake lock.",3,"ngModelChange","change","disabled","ngModel"],["label","after","matTooltip","Un-check to prefer dialogs over the information panel",3,"ngModelChange","change","ngModel"],["label","after","matTooltip","Open Note details with a single click instead of showing the pop-up options",3,"ngModelChange","change","ngModel"],[1,"setting-card-row"],["matTooltip","Do not play sounds","label","after",3,"ngModelChange","change","ngModel"],["label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Period of time out of alarm state before re-triggering.",3,"ngModelChange","selectionChange","ngModel","disabled"],[1,"setting-group"],["label","after","matTooltip","Show the bearing, distance and ETA from the vessel to the cursor in the status bar (mouse only).",3,"ngModelChange","change","ngModel"],["floatLabel","always",2,"width","100%"],["matInput","","type","number","min","0","matTooltip","Boat speed used to estimate ETA when SOG is unavailable (e.g. at anchor or hove to).",3,"ngModelChange","change","disabled","ngModel"],["label","Units"],["id","sectUnits",1,"setting-group"],["label","after","matTooltip","Use the unit preferences configured on the server.",3,"ngModelChange","change","disabled","ngModel"],[3,"ngModelChange","selectionChange","disabled","ngModel"],["title","Preferred Paths",3,"chosen"],["label","Map"],["id","sectMap",1,"setting-group"],[3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Add close button to popovers","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Double Click map to zoom","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Keep tiles visible when zooming past chart maxZoom","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Do not exit follow vessel when map is panned.","label","after",3,"ngModelChange","change","ngModel"],["placeholder","Graphicsstyle",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Boundaries",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Color Table",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Colors",3,"ngModelChange","selectionChange","ngModel"],["matInput","","type","number","required","","min","0",3,"ngModelChange","change","ngModel"],["matSuffix",""],["multiple","","placeholder","Layers",3,"ngModelChange","selectionChange","ngModel"],["label","Course"],["id","sectCourse",1,"setting-group"],["matTooltip","Select the trigger for advancing to next point.",3,"ngModelChange","selectionChange","disabled","ngModel"],["matTooltip","Period of time before destination is advanced to next waypoint.",3,"ngModelChange","selectionChange","disabled","ngModel"],["label","Vessels"],["id","sectVessels",1,"setting-group"],[3,"ngModelChange","change","ngModel"],["label","after","matTooltip","e.g. Building, Camp, etc.",3,"ngModelChange","change","ngModel"],["floatLabel","always"],["matInput","","type","number","required","","pattern","^-?([1-8]?[0-9])(\\.\\d{1,9})?$","min","-90","max","90",3,"ngModelChange","change","ngModel","disabled"],["matInput","","type","number","required","","pattern","^-?(1[0-7]?[0-9]|[1-9]?[0-9])(\\.\\d{1,9})?$","min","-180","max","180",3,"ngModelChange","change","ngModel","disabled"],["matTooltip","Length of heading line.",3,"ngModelChange","selectionChange","ngModel"],[3,"selectionChange","color","dash","weight"],["matTooltip","Length of COG line.",3,"ngModelChange","selectionChange","ngModel"],[3,"ngModelChange","selectionChange","ngModel","disabled"],["label","after",3,"ngModelChange","change","ngModel","disabled"],["matInput","","type","number","required","","min","1",3,"ngModelChange","change","ngModel","disabled"],["matTooltip","Select to source trail data from the server","label","after",3,"ngModelChange","change","disabled","ngModel"],["discrete","","tickInterval","1","min","1","max","96",3,"disabled"],["matSliderThumb","",3,"ngModelChange","valueChange","ngModel"],["label","Resources"],["id","sectNotes",1,"setting-group"],[3,"valueChange","selectionChange","disabled","value"],["matInput","","type","text","placeholder","?radius=%note:radius%","matTooltip","Filter to apply when retrieving notes",3,"ngModelChange","change","ngModel"],["matSuffix","","mat-icon-button",""],["matTooltip","Allow group name editing.","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Require position information when adding notes to a group.","label","after",3,"ngModelChange","change","ngModel"],["id","sectResLayers",1,"setting-group"],[2,"font-style","italic"],["matTooltip","Select resource layers to show.",3,"selectionChange"],[3,"selected","value"],["label","Radar"],["label","Signal K"],["id","sectSKConnection",1,"setting-group"],[2,"font-size","smaller"],["matToolTip","Check to receive other vessel data","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive AtoN data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Check to receive aircraft data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive SaR data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive Weather / Meteo data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Only include AIS targets within this distance","matTooltipPosition","below",3,"ngModelChange","selectionChange","ngModel"],["mat-icon-button","","matTooltip","Clear Auth Token",3,"click"],["label","Experiments"],["id","sectExperiments",1,"setting-group"],["matInput","","type","text","required","","placeholder","Video stream URL","matTooltip","Enter URL of video stream",3,"ngModelChange","change","disabled","ngModel"],["matTooltip","Enable ALL experimental Features","label","after",3,"ngModelChange","change","ngModel"],["matTooltipPosition","right",3,"value","matTooltip"],["matInput","","type","text","placeholder","e.g. ?layout=mylayout","matTooltip","Enter parameters to pass to Instrument App",3,"ngModelChange","change","disabled","ngModel"],["matTooltip","Stop instrument app when hidden","label","after",3,"ngModelChange","change","ngModel"],["mat-raised-button","","matTooltip","Favourite Apps","label","after",3,"click"],[3,"selectionChange"],[3,"disabled","selected","value"],["matTooltip","Display position in this format",3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Preferred value type for paths not in Preferred Paths above",3,"ngModelChange","selectionChange","ngModel"],["src","./assets/img/vessels/self.png"],["matSuffix","","mat-icon-button","",3,"click"],[2,"width","stretch"],["matToolTip","Select radar device","matTooltipPosition","below",3,"ngModelChange","selectionChange","disabled","ngModel"],["mat-raised-button","",3,"click"]],template:function(a,e){if(a&1){let g=k();i(0,"mat-toolbar",21)(1,"span",22)(2,"mat-icon"),s(3,"settings"),n()(),i(4,"span",23),s(5,"Settings"),n(),i(6,"span",24)(7,"button",25),p("click",function(){return e.handleClose()}),i(8,"mat-icon"),s(9,"close"),n()()()(),i(10,"div",26)(11,"mat-tab-group",27)(12,"mat-tab",28)(13,"div",29)(14,"div",30)(15,"div",31)(16,"div",32),s(17,"DISPLAY"),n(),i(18,"mat-card",33)(19,"mat-card-content")(20,"div",34)(21,"div",35)(22,"mat-form-field",36)(23,"mat-label"),s(24,"Dark Mode setting"),n(),i(25,"mat-select",37),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.darkMode.source,t)||(e.facade.settings.display.darkMode.source=t),c(t)}),p("selectionChange",function(){return e.persistModel("darkTheme")}),y(26,wt,2,2,"mat-option",38,v),n()()(),i(28,"div",35)(29,"mat-checkbox",39),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.nightMode,t)||(e.facade.settings.display.nightMode=t),c(t)}),p("change",function(){return e.persistModel()}),s(30," Auto-set Night Mode "),n()(),i(31,"div",35)(32,"mat-form-field",36)(33,"mat-label"),s(34,"Action Button"),n(),i(35,"mat-select",40),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.fab,t)||(e.facade.settings.display.fab=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(36,vt,2,2,"mat-option",38,v),n()()(),i(38,"div",35)(39,"mat-checkbox",41),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.disableWakelock,t)||(e.facade.settings.display.disableWakelock=t),c(t)}),p("change",function(t){return e.doWakelock(t.checked)}),s(40," Allow Device to Sleep "),n()(),i(41,"div",35)(42,"mat-checkbox",42),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.preferInfoPanel,t)||(e.facade.settings.display.preferInfoPanel=t),c(t)}),p("change",function(){return e.persistModel()}),s(43," Prefer Info-Panel "),n()(),i(44,"div",35)(45,"mat-checkbox",43),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.singleClickNoteDetails,t)||(e.facade.settings.display.singleClickNoteDetails=t),c(t)}),p("change",function(){return e.persistModel()}),s(46," Single Click for Note Details "),n()()()()(),E(47,"br"),i(48,"mat-card",33)(49,"mat-card-content"),T(50,Tt,22,4,"div",44),T(51,Et,10,0,"div",34),n()(),E(52,"br"),n(),i(53,"div",31)(54,"div",32),s(55,"SOUND"),n(),i(56,"mat-card",33)(57,"mat-card-content")(58,"div",34)(59,"div",35)(60,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.muteSound,t)||(e.facade.settings.display.muteSound=t),c(t)}),p("change",function(){return e.persistModel()}),s(61," Do not Play Sounds "),n()(),i(62,"div",35)(63,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.depthAlarm.enabled,t)||(e.facade.settings.display.depthAlarm.enabled=t),c(t)}),p("change",function(){return e.persistModel()}),s(64," Show DEPTH Alarms "),n()(),i(65,"div",35)(66,"mat-form-field",36)(67,"mat-label"),s(68,"Alarm Smoothing Time"),n(),i(69,"mat-select",47),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.depthAlarm.smoothing,t)||(e.facade.settings.display.depthAlarm.smoothing=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(70,Wt,2,2,"mat-option",38,v),n()()()()()()(),i(72,"div",48)(73,"div",32),s(74,"STATUS BAR OPTIONS"),n(),i(75,"mat-card",33)(76,"mat-card-content")(77,"div",34)(78,"div",35)(79,"mat-checkbox",49),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.statusBar.liveEta,t)||(e.facade.settings.display.statusBar.liveEta=t),c(t)}),p("change",function(){return e.persistModel()}),s(80," Live ETA at cursor "),n()(),i(81,"div",35)(82,"mat-form-field",50)(83,"mat-label"),s(84),n(),i(85,"input",51,0),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.statusBar.referenceSpeed,t)||(e.facade.settings.display.statusBar.referenceSpeed=t),c(t)}),p("change",function(){m(g);let t=w(86);return c(e.parseNumber(t))}),n(),T(87,kt,2,0,"mat-error"),n()()()()()()()()(),i(88,"mat-tab",52)(89,"div",29)(90,"div",30)(91,"div",53)(92,"div",32),s(93,"UNITS & VALUES"),n(),i(94,"mat-card",33)(95,"mat-card-content")(96,"div",34)(97,"div",35)(98,"fieldset")(99,"legend")(100,"mat-checkbox",54,1),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.useServerPrefs,t)||(e.facade.settings.units.useServerPrefs=t),c(t)}),p("change",function(){return m(g),e.raiseChange(),c(e.persistModel())}),s(102," Use Server Unit Preferences "),n()(),i(103,"div",34)(104,"div",35)(105,"mat-form-field",36)(106,"mat-label"),s(107,"Distance units"),n(),i(108,"mat-select",55,2),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.distance,t)||(e.facade.settings.units.distance=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(110,Vt,2,2,"mat-option",38,v),n()()(),i(112,"div",35)(113,"mat-form-field",36)(114,"mat-label"),s(115,"Depth units"),n(),i(116,"mat-select",55),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.depth,t)||(e.facade.settings.units.depth=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.doS57())}),y(117,Pt,2,2,"mat-option",38,v),n()()(),i(119,"div",35)(120,"mat-form-field",36)(121,"mat-label"),s(122,"Length units"),n(),i(123,"mat-select",55),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.length,t)||(e.facade.settings.units.length=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(124,Lt,2,2,"mat-option",38,v),n()()(),i(126,"div",35)(127,"mat-form-field",36)(128,"mat-label"),s(129,"Temperature units"),n(),i(130,"mat-select",55),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.temperature,t)||(e.facade.settings.units.temperature=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(131,xt,2,2,"mat-option",38,v),n()()(),i(133,"div",35)(134,"mat-form-field",36)(135,"mat-label"),s(136,"Speed units"),n(),i(137,"mat-select",55),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.speed,t)||(e.facade.settings.units.speed=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(138,Bt,2,2,"mat-option",38,v),n()()()()()()(),i(140,"div",34),T(141,It,7,1,"div",35),T(142,At,7,1,"div",35),i(143,"div",35)(144,"signalk-preferred-paths",56),p("chosen",function(t){return e.onPreferredPaths(t)}),n()()()()()()()()(),i(145,"mat-tab",57)(146,"div",29)(147,"div",30)(148,"div",58)(149,"div",32),s(150,"MAP"),n(),i(151,"mat-card")(152,"mat-card-content")(153,"div",34)(154,"div",35)(155,"mat-form-field",36)(156,"mat-label"),s(157,"Feature label zoom level"),n(),i(158,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.labelsMinZoom,t)||(e.facade.settings.map.labelsMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(159,Nt,2,2,"mat-option",38,b),n()()(),i(161,"div",35)(162,"mat-form-field",36)(163,"mat-label"),s(164,"Offset Vessel Center"),n(),i(165,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.centerOffset,t)||(e.facade.settings.map.centerOffset=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(166,Rt,2,2,"mat-option",38,v),n()()(),i(168,"div",35)(169,"mat-checkbox",60),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.popoverMulti,t)||(e.facade.settings.map.popoverMulti=t),c(t)}),p("change",function(){return e.persistModel()}),s(170," Popovers close with button "),n()(),i(171,"div",35)(172,"mat-checkbox",61),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.doubleClickZoom,t)||(e.facade.settings.map.doubleClickZoom=t),c(t)}),p("change",function(){return e.persistModel()}),s(173," Double click to Zoom "),n()(),i(174,"div",35)(175,"mat-checkbox",62),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.overZoomTiles,t)||(e.facade.settings.map.overZoomTiles=t),c(t)}),p("change",function(){return e.persistModel()}),s(176," Keep tiles visible on max zoom "),n()(),i(177,"div",35)(178,"mat-checkbox",63),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.lockMoveMap,t)||(e.facade.settings.map.lockMoveMap=t),c(t)}),p("change",function(){return e.persistModel()}),s(179," Lock Follow Vessel "),n()()()()(),i(180,"div",32),s(181,"VECTOR CHARTS"),n(),i(182,"mat-card")(183,"mat-card-content")(184,"div",34)(185,"div",35)(186,"mat-form-field",36)(187,"mat-label"),s(188,"Graphics Style"),n(),i(189,"mat-select",64),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.graphicsStyle,t)||(e.facade.settings.map.s57Options.graphicsStyle=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(190,Ut,2,2,"mat-option",38,v),n()()(),i(192,"div",35)(193,"mat-form-field",36)(194,"mat-label"),s(195,"Boundaries"),n(),i(196,"mat-select",65),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.boundaries,t)||(e.facade.settings.map.s57Options.boundaries=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(197,Gt,2,2,"mat-option",38,v),n()()(),i(199,"div",35)(200,"mat-form-field",36)(201,"mat-label"),s(202,"Color Table (Requires refresh)"),n(),i(203,"mat-select",66),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.colorTable,t)||(e.facade.settings.map.s57Options.colorTable=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(204,Zt,2,2,"mat-option",38,v),n()()(),i(206,"div",35)(207,"mat-form-field",36)(208,"mat-label"),s(209,"Colors"),n(),i(210,"mat-select",67),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.colors,t)||(e.facade.settings.map.s57Options.colors=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(211,Ht,2,2,"mat-option",38,b),n()()()(),i(213,"div",34)(214,"div",35)(215,"mat-form-field",36)(216,"mat-label"),s(217,"Shallow depth"),n(),i(218,"input",68,3),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.shallowDepth,t)||(e.facade.settings.map.s57Options.shallowDepth=t),c(t)}),p("change",function(){m(g);let t=w(219);return c(e.doS57(t))}),n(),T(220,Kt,2,0,"mat-error"),i(221,"span",69),s(222,"m"),n()()(),i(223,"div",35)(224,"mat-form-field",36)(225,"mat-label"),s(226,"Safety depth"),n(),i(227,"input",68,4),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.safetyDepth,t)||(e.facade.settings.map.s57Options.safetyDepth=t),c(t)}),p("change",function(){m(g);let t=w(228);return c(e.doS57(t))}),n(),T(229,zt,2,0,"mat-error"),i(230,"span",69),s(231,"m"),n()()(),i(232,"div",35)(233,"mat-form-field",36)(234,"mat-label"),s(235,"Deep depth"),n(),i(236,"input",68,5),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.deepDepth,t)||(e.facade.settings.map.s57Options.deepDepth=t),c(t)}),p("change",function(){m(g);let t=w(237);return c(e.doS57(t))}),n(),T(238,qt,2,0,"mat-error"),i(239,"span",69),s(240,"m"),n()()(),i(241,"div",35)(242,"mat-form-field",36)(243,"mat-label"),s(244,"Layers"),n(),i(245,"mat-select",70),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.otherLayers,t)||(e.facade.settings.map.s57Options.otherLayers=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(246,jt,2,2,"mat-option",38,v),n()()()()()()()()()(),i(248,"mat-tab",71)(249,"div",29)(250,"div",30)(251,"div",72)(252,"div",32),s(253,"COURSE"),n(),i(254,"mat-card",33)(255,"mat-card-content")(256,"div",34)(257,"div",35)(258,"mat-form-field",36)(259,"mat-label"),s(260,"Arrival Circle"),n(),i(261,"input",68,6),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.arrivalCircle,t)||(e.facade.settings.course.arrivalCircle=t),c(t)}),p("change",function(){m(g);let t=w(262);return c(e.parseNumber(t))}),n(),T(263,Xt,2,0,"mat-error"),i(264,"span",69),s(265,"m"),n()()()(),i(266,"div",34)(267,"div",35)(268,"mat-checkbox",46,7),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointOnArrival,t)||(e.facade.settings.course.autoNextPointOnArrival=t),c(t)}),p("change",function(){return e.persistModel()}),s(270," Auto-advance to next point on arrival "),n()()(),i(271,"div",34)(272,"div",35)(273,"mat-form-field",36)(274,"mat-label"),s(275,"Notification type to use"),n(),i(276,"mat-select",73,8),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointTrigger,t)||(e.facade.settings.course.autoNextPointTrigger=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(278,Yt,2,2,"mat-option",38,b),n()()(),i(280,"div",35)(281,"mat-form-field",36)(282,"mat-label"),s(283,"Time to wait before advancing"),n(),i(284,"mat-select",74),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointDelay,t)||(e.facade.settings.course.autoNextPointDelay=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(285,Jt,2,2,"mat-option",38,v),n()()()()()()()()()(),i(287,"mat-tab",75)(288,"div",29)(289,"div",30)(290,"div",76)(291,"div",32),s(292,"VESSEL"),n(),i(293,"mat-card",33)(294,"mat-card-content")(295,"div",34)(296,"div",35)(297,"fieldset")(298,"legend"),s(299,"Vessel Icon Size"),n(),i(300,"div",34)(301,"div",35)(302,"mat-radio-group",77),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.iconScale,t)||(e.facade.settings.vessels.iconScale=t),c(t)}),p("change",function(){return e.persistModel()}),y(303,Qt,3,4,"mat-radio-button",38,v),n()()()()()(),i(305,"div",35)(306,"fieldset")(307,"legend")(308,"mat-checkbox",78,9),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.fixedLocationMode,t)||(e.facade.settings.vessels.fixedLocationMode=t),c(t)}),p("change",function(){return e.persistModel()}),s(310," Fixed Location Mode "),n()(),i(311,"div",34)(312,"div",35)(313,"mat-form-field",79)(314,"mat-label"),s(315,"Latitude"),n(),i(316,"input",80,10),f("ngModelChange",function(t){return m(g),u(e.facade.fixedPosition[1],t)||(e.facade.fixedPosition[1]=t),c(t)}),p("change",function(){m(g);let t=w(317);return c(e.parseNumber(t,!0))}),n(),T(318,$t,2,0,"mat-error"),n(),i(319,"mat-form-field",79)(320,"mat-label"),s(321,"Longitude"),n(),i(322,"input",81,11),f("ngModelChange",function(t){return m(g),u(e.facade.fixedPosition[0],t)||(e.facade.fixedPosition[0]=t),c(t)}),p("change",function(){m(g);let t=w(323);return c(e.parseNumber(t,!0))}),n(),T(324,ei,2,0,"mat-error"),n()()()()()()(),E(325,"br"),i(326,"mat-card",33)(327,"mat-card-content")(328,"div",35)(329,"fieldset")(330,"legend"),s(331,"Vessel Lines:"),n(),i(332,"div",34)(333,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.windVectors,t)||(e.facade.settings.vessels.windVectors=t),c(t)}),p("change",function(){return e.persistModel()}),s(334," Display Wind Vectors "),n(),i(335,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.laylines,t)||(e.facade.settings.vessels.laylines=t),c(t)}),p("change",function(){return e.persistModel()}),s(336," Display Laylines "),n()(),i(337,"div",34)(338,"div",35)(339,"fieldset")(340,"legend"),s(341,"Heading Line"),n(),i(342,"div",34)(343,"div",35)(344,"mat-form-field")(345,"mat-label"),s(346,"Heading Line Length"),n(),i(347,"mat-select",82),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.selfLines.heading.length,t)||(e.facade.settings.vessels.selfLines.heading.length=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(348,ti,2,2,"mat-option",38,v),n()()(),i(350,"div",35)(351,"linestyle-select",83),p("selectionChange",function(t){return e.onLineStyle("heading",t)}),n()()()()()(),i(352,"div",34)(353,"div",35)(354,"fieldset")(355,"legend"),s(356,"COG Line"),n(),i(357,"div",34)(358,"div",35)(359,"mat-form-field")(360,"mat-label"),s(361,"COG Line Length"),n(),i(362,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.selfLines.cog.length,t)||(e.facade.settings.vessels.selfLines.cog.length=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(363,ii,2,2,"mat-option",38,v),n()()(),i(365,"div",35)(366,"linestyle-select",83),p("selectionChange",function(t){return e.onLineStyle("cog",t)}),n()()()()()()()(),i(367,"div",35)(368,"fieldset")(369,"legend")(370,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircles,t)||(e.facade.settings.vessels.rangeCircles=t),c(t)}),p("change",function(){return e.persistModel()}),s(371," Display Range Circles "),n()(),i(372,"div",34)(373,"div",35)(374,"mat-form-field",36)(375,"mat-label"),s(376,"Number of Range Circles"),n(),i(377,"mat-select",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircleCount,t)||(e.facade.settings.vessels.rangeCircleCount=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(378,ni,2,2,"mat-option",38,b),n()()(),i(380,"div",35)(381,"mat-form-field",36)(382,"mat-label"),s(383,"Minimum Zoom Level"),n(),i(384,"mat-select",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircleMinZoom,t)||(e.facade.settings.vessels.rangeCircleMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(385,ai,2,2,"mat-option",38,b),n()()()(),i(387,"div",34)(388,"div",35)(389,"mat-checkbox",86),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCirclesFixed,t)||(e.facade.settings.vessels.rangeCirclesFixed=t),c(t)}),p("change",function(){return e.persistModel()}),s(390," Use Fixed Distance "),n()(),i(391,"div",35)(392,"mat-form-field",79)(393,"mat-label"),s(394),n(),i(395,"input",87,12),f("ngModelChange",function(t){return m(g),u(e.formattedNumberModel.rangeCirclesDistance,t)||(e.formattedNumberModel.rangeCirclesDistance=t),c(t)}),p("change",function(){m(g);let t=w(396);return c(e.parseFormattedNumber(t))}),n(),T(397,oi,2,0,"mat-error"),n()()()()()()(),E(398,"br"),i(399,"mat-card",33)(400,"mat-card-content")(401,"div",34)(402,"fieldset")(403,"legend")(404,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trail,t)||(e.facade.settings.vessels.trail=t),c(t)}),p("change",function(){return e.persistModel("vesselTrail")}),s(405," Display Vessel Track "),n()(),i(406,"div",34)(407,"div",35)(408,"mat-checkbox",88),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailFromServer,t)||(e.facade.settings.vessels.trailFromServer=t),c(t)}),p("change",function(){return e.persistModel("trailFromServer")}),s(409," Get Track from server "),n(),s(410," \xA0\xA0 "),i(411,"mat-slider",89)(412,"input",90),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailDuration,t)||(e.facade.settings.vessels.trailDuration=t),c(t)}),p("valueChange",function(){return e.deferPersist()}),n()(),s(413),n()(),i(414,"div",34)(415,"div",35)(416,"mat-form-field",36)(417,"mat-label"),s(418,"Resolution: Last hour"),n(),i(419,"mat-select",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.lastHour,t)||(e.facade.settings.vessels.trailResolution.lastHour=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(420,ri,2,2,"mat-option",38,v),n()()(),i(422,"div",35)(423,"mat-form-field",36)(424,"mat-label"),s(425,"Resolution: 1 hr -> 24 hrs"),n(),i(426,"mat-select",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.next23,t)||(e.facade.settings.vessels.trailResolution.next23=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(427,si,2,2,"mat-option",38,v),n()()(),i(429,"div",35)(430,"mat-form-field",36)(431,"mat-label"),s(432,"Resolution: > 24 hrs"),n(),i(433,"mat-select",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.beyond24,t)||(e.facade.settings.vessels.trailResolution.beyond24=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(434,li,2,2,"mat-option",38,v),n()()()()()()()(),i(436,"div",32),s(437,"OTHER VESSELS"),n(),i(438,"mat-card",33)(439,"mat-card-content")(440,"div",34)(441,"div",35)(442,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisShowTrack,t)||(e.facade.settings.vessels.aisShowTrack=t),c(t)}),p("change",function(){return e.persistModel()}),s(443," Show Track "),n(),s(444," \xA0 "),i(445,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.aisStateFilter.moored,t)||(e.aisStateFilter.moored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(446," Hide Moored "),n(),s(447," \xA0 "),i(448,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.aisStateFilter.anchored,t)||(e.aisStateFilter.anchored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(449," Hide Anchored "),n()()(),i(450,"div",34)(451,"div",35)(452,"mat-form-field",36)(453,"mat-label"),s(454,"Mark AIS target inactive after"),n(),i(455,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisStaleAge,t)||(e.facade.settings.vessels.aisStaleAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(456,di,2,2,"mat-option",38,v),n()()(),i(458,"div",35)(459,"mat-form-field",36)(460,"mat-label"),s(461,"Remove AIS target after"),n(),i(462,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisMaxAge,t)||(e.facade.settings.vessels.aisMaxAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(463,gi,2,2,"mat-option",38,v),n()()(),i(465,"div",35)(466,"mat-form-field",36)(467,"mat-label"),s(468,"Wind Vector Value"),n(),i(469,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisWindApparent,t)||(e.facade.settings.vessels.aisWindApparent=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(470,mi,2,2,"mat-option",38,v),n()()(),i(472,"div",35)(473,"mat-form-field",36)(474,"mat-label"),s(475,"Wind / Track Zoom Level"),n(),i(476,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisWindMinZoom,t)||(e.facade.settings.vessels.aisWindMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(477,ci,2,2,"mat-option",38,b),n()()(),i(479,"div",35)(480,"mat-form-field",36)(481,"mat-label"),s(482,"COG Line"),n(),i(483,"mat-select",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisCogLine,t)||(e.facade.settings.vessels.aisCogLine=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(484,pi,2,2,"mat-option",38,v),n()()()()()()()()()(),i(486,"mat-tab",91)(487,"div",29)(488,"div",30)(489,"div",92)(490,"div",32),s(491,"NOTES"),n(),i(492,"mat-card",33)(493,"mat-card-content")(494,"div",44)(495,"div",35)(496,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.ui.showNotes,t)||(e.facade.settings.ui.showNotes=t),c(t)}),p("change",function(){return e.persistModel()}),s(497," Display Notes on Map "),n()(),i(498,"div",35)(499,"mat-form-field",36)(500,"mat-label"),s(501,"Notes Zoom Level"),n(),i(502,"mat-select",93),f("valueChange",function(t){return m(g),u(e.facade.settings.resources.notes.minZoom,t)||(e.facade.settings.resources.notes.minZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(503,_i,2,2,"mat-option",38,b),n()()()(),i(505,"div",44)(506,"div",35)(507,"mat-form-field",36)(508,"mat-label"),s(509),n(),i(510,"mat-select",55),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.getRadius,t)||(e.facade.settings.resources.notes.getRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(511,ui,2,2,"mat-option",38,b),n()()()(),i(513,"div",44)(514,"div",35)(515,"mat-form-field",50)(516,"mat-label"),s(517,"Notes fetch filter:"),n(),i(518,"input",94,13),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.rootFilter,t)||(e.facade.settings.resources.notes.rootFilter=t),c(t)}),p("change",function(){return e.persistModel("fetchNotes")}),n(),T(520,fi,3,0,"button",95),n()()(),i(521,"div",44)(522,"div",35)(523,"mat-checkbox",96),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.groupNameEdit,t)||(e.facade.settings.resources.notes.groupNameEdit=t),c(t)}),p("change",function(){return e.persistModel()}),s(524," Edit Group Names "),n()(),i(525,"div",35)(526,"mat-checkbox",97),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.groupRequiresPosition,t)||(e.facade.settings.resources.notes.groupRequiresPosition=t),c(t)}),p("change",function(){return e.persistModel()}),s(527," Position Group Note "),n()()()()()(),i(528,"div",98)(529,"div",32),s(530,"CUSTOM RESOURCES"),n(),i(531,"mat-card",33)(532,"mat-card-content")(533,"div",44)(534,"div",35)(535,"div",99),s(536," Select custom resource types (./resources/<name>) "),n(),i(537,"mat-selection-list",100,14),p("selectionChange",function(){m(g);let t=w(538);return c(e.onResPathSelected(t))}),y(539,hi,2,3,"mat-list-option",101,b),n()()()()()()()()(),T(541,Si,21,2,"mat-tab",102),i(542,"mat-tab",103)(543,"div",29)(544,"div",30)(545,"div",104)(546,"div",32),s(547,"SIGNAL K: CONNECTION"),n(),i(548,"mat-card",33)(549,"mat-card-content")(550,"div",44)(551,"fieldset")(552,"legend"),s(553,"Filter Stream data:"),n(),i(554,"span",105),s(555," Check to include Signal K schema groups on display."),E(556,"br"),i(557,"i"),s(558,"Use to manage display performance."),n()(),i(559,"div",35)(560,"mat-checkbox",106),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.vessels,t)||(e.facade.settings.signalk.vessels=t),c(t)}),p("change",function(){return e.persistModel()}),s(561," Vessels (other than Self) "),n()(),i(562,"div",35)(563,"mat-checkbox",107),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.atons,t)||(e.facade.settings.signalk.atons=t),c(t)}),p("change",function(){return e.persistModel()}),s(564," Aids to Navigation (AtoN) "),n()(),i(565,"div",35)(566,"mat-checkbox",108),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.aircraft,t)||(e.facade.settings.signalk.aircraft=t),c(t)}),p("change",function(){return e.persistModel()}),s(567," Aircraft "),n()(),i(568,"div",35)(569,"mat-checkbox",109),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.sar,t)||(e.facade.settings.signalk.sar=t),c(t)}),p("change",function(){return e.persistModel()}),s(570," Search and Rescue (SaR) "),n()(),i(571,"div",35)(572,"mat-checkbox",110),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.meteo,t)||(e.facade.settings.signalk.meteo=t),c(t)}),p("change",function(){return e.persistModel()}),s(573," Weather (Meteo) "),n()(),i(574,"div",35),E(575,"br"),i(576,"mat-form-field",36)(577,"mat-label"),s(578,"Max. distance from vessel"),n(),i(579,"mat-select",111,15),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.maxRadius,t)||(e.facade.settings.signalk.maxRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(581,Ci,2,2,"mat-option",38,v),n()()()()(),i(583,"div",44)(584,"div",35)(585,"button",112),p("click",function(){return e.clearAuthToken()}),i(586,"mat-icon"),s(587,"key_off"),n()()()()()()()()()(),i(588,"mat-tab",113)(589,"div",29)(590,"div",30)(591,"div",114)(592,"div",32),s(593,"EXPERIMENTS"),n(),i(594,"mat-card",33)(595,"mat-card-content")(596,"div",44)(597,"div",35)(598,"mat-checkbox",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.video.enable,t)||(e.facade.settings.resources.video.enable=t),c(t)}),p("change",function(){return e.persistModel()}),s(599," Enable Video "),n()(),i(600,"div",35)(601,"mat-form-field",50)(602,"mat-label"),s(603,"url:"),n(),i(604,"input",115,16),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.video.url,t)||(e.facade.settings.resources.video.url=t),c(t)}),p("change",function(){return e.persistModel("videoUrl")}),n(),T(606,Mi,2,0,"mat-error"),n()()(),i(607,"div",44)(608,"div",35)(609,"mat-checkbox",116,17),f("ngModelChange",function(t){return m(g),u(e.facade.settings.experiments,t)||(e.facade.settings.experiments=t),c(t)}),p("change",function(){return e.persistModel()}),i(611,"mat-icon"),s(612,"science"),n(),s(613," Experimental Features "),n()()()()()()()()()()()}if(a&2){let g=w(86),o=w(109),t=w(219),ne=w(228),ae=w(237),oe=w(262),de=w(269),ge=w(309),re=w(317),se=w(323),le=w(396),lt=w(519),dt=w(605);r(25),_("ngModel",e.facade.settings.display.darkMode.source),r(),S(e.options.darkMode),r(3),_("ngModel",e.facade.settings.display.nightMode),r(6),_("ngModel",e.facade.settings.display.fab),r(),S(e.options.buttons.fab),r(3),h("disabled",!e.wakeLock.isAvailable),_("ngModel",e.facade.settings.display.disableWakelock),r(3),_("ngModel",e.facade.settings.display.preferInfoPanel),r(3),_("ngModel",e.facade.settings.display.singleClickNoteDetails),r(5),D(e.facade.applicationList.length>1?50:-1),r(),D(e.show.favourites()?51:-1),r(9),_("ngModel",e.facade.settings.display.muteSound),r(3),_("ngModel",e.facade.settings.display.depthAlarm.enabled),r(6),_("ngModel",e.facade.settings.display.depthAlarm.smoothing),h("disabled",!e.facade.settings.display.depthAlarm.enabled),r(),S(e.options.alarm.smoothing),r(9),_("ngModel",e.facade.settings.display.statusBar.liveEta),r(5),V("Reference Boat Speed (",e.speedUnitSymbol,")"),r(),h("disabled",!e.facade.settings.display.statusBar.liveEta),_("ngModel",e.facade.settings.display.statusBar.referenceSpeed),r(2),D(g.invalid&&(g.dirty||g.touched)?87:-1),r(13),h("disabled",!e.app.serverConfig.unitPreferences()),_("ngModel",e.facade.settings.units.useServerPrefs),r(8),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.distance),r(2),S(e.options.availableUnits.distance),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.depth),r(),S(e.options.availableUnits.depth),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.length),r(),S(e.options.availableUnits.length),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.temperature),r(),S(e.options.availableUnits.temperature),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.speed),r(),S(e.options.availableUnits.speed),r(3),D(e.options.preferredValues.coords.length!==0?141:-1),r(),D(e.options.preferredValues.heading.length!==0?142:-1),r(16),_("ngModel",e.facade.settings.map.labelsMinZoom),r(),S(e.options.zoomLevels),r(6),_("ngModel",e.facade.settings.map.centerOffset),r(),S(e.options.map.centerOffset),r(3),_("ngModel",e.facade.settings.map.popoverMulti),r(3),_("ngModel",e.facade.settings.map.doubleClickZoom),r(3),_("ngModel",e.facade.settings.map.overZoomTiles),r(3),_("ngModel",e.facade.settings.map.lockMoveMap),r(11),_("ngModel",e.facade.settings.map.s57Options.graphicsStyle),r(),S(e.options.map.s57.graphicsStyle),r(6),_("ngModel",e.facade.settings.map.s57Options.boundaries),r(),S(e.options.map.s57.boundaries),r(6),_("ngModel",e.facade.settings.map.s57Options.colorTable),r(),S(e.options.map.s57.colorTables),r(6),_("ngModel",e.facade.settings.map.s57Options.colors),r(),S(e.options.map.s57.colors),r(7),_("ngModel",e.facade.settings.map.s57Options.shallowDepth),r(2),D(t.invalid&&(t.dirty||t.touched)?220:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.safetyDepth),r(2),D(ne.invalid&&(ne.dirty||ne.touched)?229:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.deepDepth),r(2),D(ae.invalid&&(ae.dirty||ae.touched)?238:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.otherLayers),r(),S(e.options.map.s57.otherLayers),r(15),_("ngModel",e.facade.settings.course.arrivalCircle),r(2),D(oe.invalid&&(oe.dirty||oe.touched)?263:-1),r(5),_("ngModel",e.facade.settings.course.autoNextPointOnArrival),r(8),h("disabled",de.checked===!1),_("ngModel",e.facade.settings.course.autoNextPointTrigger),r(2),S(e.options.course.nextPointTrigger),r(6),h("disabled",de.checked===!1),_("ngModel",e.facade.settings.course.autoNextPointDelay),r(),S(e.options.course.nextPointDelay),r(17),_("ngModel",e.facade.settings.vessels.iconScale),r(),S(e.options.vessel.selfIconScale),r(5),_("ngModel",e.facade.settings.vessels.fixedLocationMode),r(8),_("ngModel",e.facade.fixedPosition[1]),h("disabled",!ge.checked),r(2),D(re.invalid&&(re.dirty||re.touched)?318:-1),r(4),_("ngModel",e.facade.fixedPosition[0]),h("disabled",!ge.checked),r(2),D(se.invalid&&(se.dirty||se.touched)?324:-1),r(9),_("ngModel",e.facade.settings.vessels.windVectors),r(2),_("ngModel",e.facade.settings.vessels.laylines),r(12),_("ngModel",e.facade.settings.vessels.selfLines.heading.length),r(),S(e.options.vessel.headingLine),r(3),h("color",e.facade.settings.vessels.selfLines.heading.color)("dash",e.facade.settings.vessels.selfLines.heading.dash)("weight",e.facade.settings.vessels.selfLines.heading.weight),r(11),_("ngModel",e.facade.settings.vessels.selfLines.cog.length),r(),S(e.options.vessel.cogLine),r(3),h("color",e.facade.settings.vessels.selfLines.cog.color)("dash",e.facade.settings.vessels.selfLines.cog.dash)("weight",e.facade.settings.vessels.selfLines.cog.weight),r(4),_("ngModel",e.facade.settings.vessels.rangeCircles),r(7),_("ngModel",e.facade.settings.vessels.rangeCircleCount),h("disabled",!e.facade.settings.vessels.rangeCircles),r(),S(e.options.rangeCircles.count),r(6),_("ngModel",e.facade.settings.vessels.rangeCircleMinZoom),h("disabled",!e.facade.settings.vessels.rangeCircles),r(),S(e.options.rangeCircles.zoomLevels),r(4),_("ngModel",e.facade.settings.vessels.rangeCirclesFixed),h("disabled",!e.facade.settings.vessels.rangeCircles),r(5),V(" Distance between circles (",e.renderSymbol(e.facade.settings.units.distance),") "),r(),_("ngModel",e.formattedNumberModel.rangeCirclesDistance),h("disabled",!e.facade.settings.vessels.rangeCircles||!e.facade.settings.vessels.rangeCirclesFixed),r(2),D(le.invalid&&(le.dirty||le.touched)?397:-1),r(7),_("ngModel",e.facade.settings.vessels.trail),r(4),h("disabled",!e.facade.settings.vessels.trail),_("ngModel",e.facade.settings.vessels.trailFromServer),r(3),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),_("ngModel",e.facade.settings.vessels.trailDuration),r(),V(" Length (",e.facade.settings.vessels.trailDuration," hrs) "),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.lastHour),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.highResolution),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.next23),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.highResolution),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.beyond24),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.mediumResolution),r(8),_("ngModel",e.facade.settings.vessels.aisShowTrack),r(3),_("ngModel",e.aisStateFilter.moored),r(3),_("ngModel",e.aisStateFilter.anchored),r(7),_("ngModel",e.facade.settings.vessels.aisStaleAge),r(),S(e.options.vessel.aisTimeouts),r(6),_("ngModel",e.facade.settings.vessels.aisMaxAge),r(),S(e.options.vessel.aisTimeouts),r(6),_("ngModel",e.facade.settings.vessels.aisWindApparent),r(),S(e.options.preferredValues.wind),r(6),_("ngModel",e.facade.settings.vessels.aisWindMinZoom),r(),S(e.options.zoomLevels),r(6),_("ngModel",e.facade.settings.vessels.aisCogLine),r(),S(e.options.vessel.aisCogLine),r(12),_("ngModel",e.facade.settings.ui.showNotes),r(6),h("disabled",!e.facade.settings.ui.showNotes),_("value",e.facade.settings.resources.notes.minZoom),r(),S(e.options.zoomLevels),r(6),C("Fetch Notes radius: ("+e.options.availableUnits.distance.get(o.value)+")"),r(),h("disabled",!e.facade.settings.ui.showNotes),_("ngModel",e.facade.settings.resources.notes.getRadius),r(),S(e.options.resources.noteRadius),r(7),_("ngModel",e.facade.settings.resources.notes.rootFilter),r(2),D(lt.value?520:-1),r(3),_("ngModel",e.facade.settings.resources.notes.groupNameEdit),r(3),_("ngModel",e.facade.settings.resources.notes.groupRequiresPosition),r(13),S(e.facade.resourcePathList),r(2),D(e.app.featureFlags().radarApi?541:-1),r(19),_("ngModel",e.facade.settings.signalk.vessels),r(3),_("ngModel",e.facade.settings.signalk.atons),r(3),_("ngModel",e.facade.settings.signalk.aircraft),r(3),_("ngModel",e.facade.settings.signalk.sar),r(3),_("ngModel",e.facade.settings.signalk.meteo),r(7),_("ngModel",e.facade.settings.signalk.maxRadius),r(2),S(e.options.vessel.aisMaxRadius),r(17),_("ngModel",e.facade.settings.resources.video.enable),r(6),h("disabled",!e.facade.settings.resources.video.enable),_("ngModel",e.facade.settings.resources.video.url),r(2),D(dt.invalid?606:-1),r(3),_("ngModel",e.facade.settings.experiments)}},dependencies:[H,U,ve,G,De,Ee,Te,be,Z,Se,ye,Ae,Fe,ee,$e,$,Ie,Be,Oe,Pe,Ve,ke,We,N,Me,Ce,R,we,K,xe,it,et,tt,Xe,Q,q,z,Ne,Re,J,Y,Ue,X,j,Le,He,Ze,Qe,Ye,Je,ie,te],styles:["[_nghost-%COMP%] .mat-dialog-content{padding:0 4px}.settings[_ngcontent-%COMP%] .setting-group-title[_ngcontent-%COMP%]{font-weight:700;font-size:10pt;font-family:Arial,Helvetica,sans-serif;padding:10px 0}.setting-card-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.settings[_ngcontent-%COMP%] .setting-card-row-item[_ngcontent-%COMP%]{padding-right:15px;flex:1 1 auto}@media only screen and (max-width:599px){.settings[_ngcontent-%COMP%] .setting-group[_ngcontent-%COMP%]{padding:5px 5%}}@media only screen and (min-width:600px)and (max-width:959px),screen and (min-width:960px)and (max-width:1279px),screen and (min-width:1280px)and (max-width:1919px),screen and (min-width:1920px)and (max-width:5000px){.settings[_ngcontent-%COMP%] .setting-group[_ngcontent-%COMP%]{padding:5px 5%}}"]})};export{st as SettingsDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as a}from"./chunk-6OLNESWL.js";import"./chunk-QYCAVSMC.js";import"./chunk-PEC6ZGZT.js";import"./chunk-XKSYGWTR.js";import"./chunk-EQVTEUXC.js";export{a as PlaybackDialog};
|