@signalk/freeboard-sk 3.0.0 → 3.1.0-beta.0

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.
Files changed (46) hide show
  1. package/package.json +2 -2
  2. package/public/assets/features/chart-list-1.jpg +0 -0
  3. package/public/assets/features/chart-list-2.jpg +0 -0
  4. package/public/assets/features/chart-list-3.jpg +0 -0
  5. package/public/assets/features/cursor-eta-1.jpg +0 -0
  6. package/public/assets/features/follow-vessel-1.jpg +0 -0
  7. package/public/assets/features/follow-vessel-2.jpg +0 -0
  8. package/public/assets/features/radar-overlay-1.jpg +0 -0
  9. package/public/assets/features/route-planning-2.jpg +0 -0
  10. package/public/assets/features/unit-preferences-1.jpg +0 -0
  11. package/public/assets/features-corpus.json +1 -1
  12. package/public/assets/help/index.html +119 -43
  13. package/public/{chunk-WX7YZB5N.js → chunk-2BXQ52IR.js} +1 -1
  14. package/public/{chunk-3CRIFTHA.js → chunk-3QUJEXF6.js} +1 -1
  15. package/public/{chunk-4ORQORV3.js → chunk-3XWX2TLZ.js} +1 -1
  16. package/public/{chunk-ZTLTHAPK.js → chunk-4WI4C4IN.js} +1 -1
  17. package/public/chunk-544H55DG.js +4147 -0
  18. package/public/chunk-6234UKZR.js +181 -0
  19. package/public/{chunk-IYNTZMNB.js → chunk-66UI7RYU.js} +1 -1
  20. package/public/{chunk-GGSNNB7Z.js → chunk-A3CJKHA5.js} +1 -1
  21. package/public/chunk-A6XRZETP.js +1 -0
  22. package/public/{chunk-ZNBGUBXU.js → chunk-B3R34QHD.js} +1 -1
  23. package/public/{chunk-I3OUN6B4.js → chunk-DSS236J5.js} +1 -1
  24. package/public/{chunk-LXTM3LEN.js → chunk-EJ5G7BX7.js} +1 -1
  25. package/public/{chunk-XHEJEIFO.js → chunk-HYKTIWCS.js} +1 -1
  26. package/public/chunk-MQJQLOEZ.js +3 -0
  27. package/public/{chunk-4BSA3TDQ.js → chunk-P5GLUSCN.js} +16 -16
  28. package/public/{chunk-4BXCQ655.js → chunk-R7KV75Y6.js} +1 -1
  29. package/public/chunk-SABJ7SCZ.js +1 -0
  30. package/public/{chunk-IURS3QQO.js → chunk-SYVLSUHP.js} +1 -1
  31. package/public/chunk-TKJL2HJ5.js +1 -0
  32. package/public/chunk-VBEF2AKC.js +1 -0
  33. package/public/chunk-WXAH4SWA.js +1 -0
  34. package/public/{chunk-UF7LOYCE.js → chunk-XB3A3UP3.js} +1 -1
  35. package/public/{chunk-BUZHYJBN.js → chunk-XZDYMRQ4.js} +1 -1
  36. package/public/index.html +1 -1
  37. package/public/main-S4SGVPDE.js +466 -0
  38. package/public/chunk-BJM4SVXD.js +0 -3
  39. package/public/chunk-BT4IAQBW.js +0 -181
  40. package/public/chunk-BW2ETQQP.js +0 -1
  41. package/public/chunk-CATOWZ7J.js +0 -1
  42. package/public/chunk-HF67WER7.js +0 -1
  43. package/public/chunk-OTJKIGKW.js +0 -4147
  44. package/public/chunk-OXZNIUU4.js +0 -1
  45. package/public/chunk-ZUWZA665.js +0 -1
  46. package/public/main-GWT4XTZZ.js +0 -466
@@ -1,4 +1,4 @@
1
- import{b as xt}from"./chunk-UF7LOYCE.js";import{a as U}from"./chunk-XHEJEIFO.js";import{$ as at,$a as S,Da as C,Ea as T,Fa as z,Gb as B,I as V,K as tt,Ka as f,La as l,M as E,Ma as _,Md as gt,N as R,Na as L,Nd as bt,P as c,Pc as dt,Qd as ut,S as it,Sd as ft,T as et,U as nt,Vb as W,Wa as D,X as Q,Y as H,Ya as v,Z as F,Za as I,_a as r,_d as vt,a as Y,aa as w,ab as G,bb as d,bc as st,c as $,ca as O,cb as h,gb as M,hd as q,ib as x,id as ht,ja as p,lc as ct,na as ot,nc as rt,pc as lt,ra as g,rc as mt,rd as m,s as J,sa as P,ta as b,va as u,vd as pt,wa as y,wb as A,xc as j,xd as _t}from"./chunk-4BSA3TDQ.js";var Ot=(()=>{class i{get vertical(){return this._vertical}set vertical(t){this._vertical=m(t)}_vertical=!1;get inset(){return this._inset}set inset(t){this._inset=m(t)}_inset=!1;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){e&2&&(C("aria-orientation",n.vertical?"vertical":"horizontal"),x("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[`.mat-divider {
1
+ import{b as xt}from"./chunk-XB3A3UP3.js";import{a as U}from"./chunk-HYKTIWCS.js";import{$ as at,$a as S,Da as C,Ea as T,Fa as z,Gb as B,I as V,K as tt,Ka as f,La as l,M as E,Ma as _,Md as gt,N as R,Na as L,Nd as bt,P as c,Pc as dt,Qd as ut,S as it,Sd as ft,T as et,U as nt,Wa as D,Wb as W,X as Q,Y as H,Ya as v,Z as F,Za as I,_a as r,_d as vt,a as Y,aa as w,ab as G,ac as st,bb as d,c as $,ca as O,cb as h,gb as M,hd as q,ib as x,id as ht,ja as p,lc as ct,na as ot,nc as rt,pc as lt,ra as g,rc as mt,rd as m,s as J,sa as P,ta as b,va as u,vd as pt,wa as y,wb as A,xc as j,xd as _t}from"./chunk-P5GLUSCN.js";var Ot=(()=>{class i{get vertical(){return this._vertical}set vertical(t){this._vertical=m(t)}_vertical=!1;get inset(){return this._inset}set inset(t){this._inset=m(t)}_inset=!1;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){e&2&&(C("aria-orientation",n.vertical?"vertical":"horizontal"),x("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[`.mat-divider {
2
2
  display: block;
3
3
  margin: 0;
4
4
  border-top-style: solid;
@@ -0,0 +1 @@
1
+ import{F as Qe,M as $e,N as et,O as tt,ca as it,da as $,e as xe,ea as ee,ia as nt,ja as at,ka as ot,m as ze,n as B,p as qe,q as je,s as Xe,t as Ye,y as Je,ya as rt,z as L,za as st}from"./chunk-544H55DG.js";import{a as K,b as He,c as Ke}from"./chunk-SYVLSUHP.js";import{a as Ve,h as ke,j as Pe,k as Le}from"./chunk-R7KV75Y6.js";import{a as Be,d as Ie,i as Fe,j as Ae,k as Ne}from"./chunk-EJ5G7BX7.js";import{a as Y,b as J,c as Ze,d as Q}from"./chunk-66UI7RYU.js";import{a as Oe}from"./chunk-3QUJEXF6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import"./chunk-DSS236J5.js";import{b as z,c as Re,f as Ue,i as q,j as Ge,n as j,o as X}from"./chunk-2BXQ52IR.js";import{$d as U,Da as O,Dd as ye,Ea as T,Fa as D,Ha as b,Hd as Se,Ia as y,Ja as S,Jd as Ce,Ka as h,Kb as F,La as i,Ma as n,Na as E,Ob as he,P as W,Pb as A,Q as m,R as c,Rd as Me,S as x,T as ce,Td as we,Ua as V,Wa as p,Wd as N,X as pe,Ya as w,Yd as ve,Z as I,Zd as R,_ as _e,ca as fe,ee as G,gb as M,he as Z,ie as be,ja as r,jb as ue,lb as s,le as Te,mb as C,me as De,nb as k,ne as Ee,oe as We,pb as _,pe as H,qb as f,ra as P,rb as u}from"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";var ht=(l,d)=>d[0];function yt(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),O("stroke-width",a)}}function St(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),O("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=he();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),u("ngModelChange",function(o){return f(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),u("ngModelChange",function(o){return f(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,yt,3,2,"mat-option",8,b),n()(),ce(),i(15,"mat-form-field",3)(16,"mat-label"),s(17,"Style"),n(),i(18,"mat-select",4),u("ngModelChange",function(o){return f(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,St,3,2,"mat-option",8,ht),n()()()),a&2&&(r(4),_("ngModel",e._color),r(4),_("ngModel",e._weight),r(4),O("stroke-width",e._weight()),r(),S(e.line.weights),r(5),_("ngModel",e._dash),r(4),O("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,Ze,Y],encapsulation:2})};var Mt=(l,d)=>d[0];function wt(l,d){if(l&1){let a=V();i(0,"div",4)(1,"mat-radio-button",5,0),p("change",function(){m(a);let g=M(2),o=w().$implicit,t=w();return o[1].current=g.value,c(t.save(!0))}),s(3),n()()}if(l&2){let a=d.$implicit,e=w().$implicit;r(),h("name",e[0])("value",a)("checked",a===e[1].current),r(2),k(" ",a.split(".").slice(-1)," ")}}function vt(l,d){if(l&1&&(i(0,"div",2)(1,"div",3)(2,"div"),s(3),n()(),i(4,"div"),y(5,wt,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 pe;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,vt,7,1,"div",2,Mt),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],bt=(l,d)=>d.id;function Tt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Dt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Et(l,d){if(l&1&&(i(0,"mat-option",127),s(1),n()),l&2){let a=d.$implicit;h("value",a.url)("matTooltip",a.description),r(),k(" ",a.name," ")}}function Wt(l,d){if(l&1){let a=V();i(0,"div",47)(1,"div",38)(2,"mat-form-field",39)(3,"mat-label"),s(4,"Select Instruments App"),n(),i(5,"mat-select",65),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.display.plugins.instruments,g)||(o.facade.settings.display.plugins.instruments=g),c(g)}),p("selectionChange",function(){m(a);let g=w();return c(g.onInstrumentApp())}),y(6,Et,2,3,"mat-option",127,b),n()()(),i(8,"div",38)(9,"mat-form-field",53)(10,"mat-label"),s(11,"Parameters"),n(),i(12,"input",128,21),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.display.plugins.parameters,g)||(o.facade.settings.display.plugins.parameters=g),c(g)}),p("change",function(){m(a);let g=w();return c(g.persistModel("pluginParameters"))}),n()()(),i(14,"div",38)(15,"mat-checkbox",129),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.display.plugins.startOnOpen,g)||(o.facade.settings.display.plugins.startOnOpen=g),c(g)}),p("change",function(){m(a);let g=w();return c(g.persistModel("pluginStartOnOpen"))}),s(16," Halt App on hide "),n()(),i(17,"div",38)(18,"button",130),p("click",function(){m(a);let g=w();return c(g.toggleFavourites())}),i(19,"mat-icon"),s(20,"star"),n(),s(21," FAVOURITES "),n()()()}if(l&2){let a=w();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 Vt(l,d){if(l&1&&(i(0,"mat-list-option",132),s(1),n()),l&2){let a=d.$implicit,e=w(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(),k(" ",a.name," ")}}function kt(l,d){if(l&1){let a=V();i(0,"div",37)(1,"div",38)(2,"div",109),E(3,"br"),s(4,"Select Favourite Apps: "),n(),E(5,"mat-divider"),i(6,"mat-selection-list",131,22),p("selectionChange",function(g){m(a);let o=M(7),t=w();return c(t.onFavSelected(g,o))}),y(8,Vt,2,4,"mat-list-option",132,b),n()()()}if(l&2){let a=w();r(8),S(a.facade.favouritesList)}}function Pt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Lt(l,d){l&1&&(i(0,"mat-error"),s(1,"Please enter a number >= 0"),n())}function xt(l,d){l&1&&(i(0,"mat-error"),s(1,"Please enter a number >= 1"),n())}function Ot(l,d){if(l&1&&(i(0,"mat-option",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function It(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ft(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function At(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Nt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Rt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ut(l,d){if(l&1){let a=V();i(0,"div",38)(1,"mat-form-field",39)(2,"mat-label"),s(3,"Position display format"),n(),i(4,"mat-select",133),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.units.positionFormat,g)||(o.facade.settings.units.positionFormat=g),c(g)}),p("selectionChange",function(){m(a);let g=w();return c(g.persistModel())}),y(5,Rt,2,2,"mat-option",41,b),n()()()}if(l&2){let a=w();r(4),_("ngModel",a.facade.settings.units.positionFormat),r(),S(a.options.preferredValues.coords)}}function Gt(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Zt(l,d){if(l&1){let a=V();i(0,"div",38)(1,"mat-form-field",39)(2,"mat-label"),s(3,"Prefer True / Magnetic values"),n(),i(4,"mat-select",134),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.units.headingAttribute,g)||(o.facade.settings.units.headingAttribute=g),c(g)}),p("selectionChange",function(){m(a);let g=w();return c(g.persistModel("headingAttribute"))}),y(5,Gt,2,2,"mat-option",41,b),n()()()}if(l&2){let a=w();r(4),_("ngModel",a.facade.settings.units.headingAttribute),r(),S(a.options.preferredValues.heading)}}function Ht(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Kt(l,d){if(l&1&&(i(0,"mat-option",41),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",41),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-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function jt(l,d){if(l&1&&(i(0,"mat-option",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Yt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function Jt(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 $t(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ei(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number > 0 "),n())}function ti(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function ii(l,d){if(l&1&&(i(0,"mat-option",41),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-radio-button",41),E(1,"img",135),s(2),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),ue(`transform: scale(${a[0]})`),r(),k(" (",a[1],") ")}}function ai(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -90 and 90 (max 9 decimals) "),n())}function oi(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -180 and 180 (max 9 decimals) "),n())}function ri(l,d){if(l&1&&(i(0,"mat-option",41),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",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function di(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function gi(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number >= 1. "),n())}function mi(l,d){if(l&1&&(i(0,"mat-option",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function pi(l,d){if(l&1&&(i(0,"mat-option",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function fi(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ui(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function hi(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function yi(l,d){if(l&1&&(i(0,"mat-option",41),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",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Ci(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Mi(l,d){if(l&1){let a=V();i(0,"button",136),p("click",function(){m(a),w();let g=M(552);return c(g.value="")}),i(1,"mat-icon"),s(2,"close"),n()()}}function wi(l,d){if(l&1&&(i(0,"mat-list-option",111),s(1),n()),l&2){let a=d.$implicit,e=w();h("selected",e.facade.settings.resources.paths.includes(a))("value",a),r(),k(" ",a," ")}}function vi(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a.id),r(),C(a.name)}}function bi(l,d){if(l&1){let a=V();i(0,"mat-tab",112)(1,"div",32)(2,"div",33)(3,"div",124)(4,"div",35),s(5,"RADAR SETTINGS"),n(),i(6,"mat-card",36)(7,"div",47)(8,"div",38)(9,"mat-form-field",137)(10,"mat-label"),s(11,"Radar Devices"),n(),i(12,"mat-select",138,23),u("ngModelChange",function(g){m(a);let o=w();return f(o.facade.settings.radars.deviceId,g)||(o.facade.settings.radars.deviceId=g),c(g)}),p("selectionChange",function(){m(a);let g=w();return c(g.doRadar())}),y(14,vi,2,2,"mat-option",41,bt),n()()(),i(16,"div",38)(17,"button",139),p("click",function(){m(a);let g=w();return c(g.refreshRadars())}),i(18,"mat-icon"),s(19," refresh"),n(),s(20," REFRESH "),n()()()()()()()()}if(l&2){let a=w();r(12),h("disabled",!a.radarList().length||a.app.uiCtrl().radarLayer),_("ngModel",a.facade.settings.radars.deviceId),r(2),S(a.radarList())}}function Ti(l,d){if(l&1&&(i(0,"mat-option",41),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Di(l,d){l&1&&(i(0,"mat-error"),s(1," Value required. "),n())}var gt=class l{show={favourites:I(!1)};options;centerOffsetLimit=qe;aisStateFilter={moored:!1,anchored:!1};formattedNumberModel={rangeCirclesDistance:1e3};unitsChangedSignal=I(0);radarList=I([]);saveOnClose=!1;facade=W(st);myElement=W(fe);dialogRef=W(ye);wakeLock=W(ze);s57=W(Xe);app=W(L);radarApi=W(Je);constructor(){this.options=new rt,_e(()=>{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(B.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)}parseCenterOffset(d){d.reset(typeof d.model=="number"?je(d.model):0),this.persistModel()}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(B.nauticalMilesToKm(this.formattedNumberModel.rangeCirclesDistance)*1e3),this.persistModel())}fallbackToDefault(){let d=Ye();if(typeof this.facade.settings.display.statusBar.referenceSpeed!="number")return d.display.statusBar.referenceSpeed;if(typeof this.facade.settings.display.statusBar.tapFadeSpeed!="number")return d.display.statusBar.tapFadeSpeed;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 B.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 B.getSymbol(d)}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["settings-dialog"]],decls:647,vars:136,consts:[["refspeed","ngModel"],["tapfade","ngModel"],["serverprefs",""],["distunits",""],["centerOffset","ngModel"],["centerOffsetAbeam","ngModel"],["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",""],["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. Click or tap the chart to hold the readout on that point.",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"],["matInput","","type","number","min","1","step","0.5","matTooltip","How long the marker left by a click or tap takes to fade. The readout stays held on that point until it does.",3,"ngModelChange","change","disabled","ngModel"],["matTooltip","Glyph used to display wind direction and speed.",3,"ngModelChange","selectionChange","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"],["aria-hidden","true",1,"setting-field-group-title"],[3,"ngModelChange","selectionChange","ngModel"],[1,"setting-field-group-title"],[1,"setting-field-group"],["floatLabel","always"],["matInput","","type","number","matTooltip","How far ahead of the vessel to centre the map, as a percentage of the distance to the screen edge. Use a negative value to look behind.",3,"ngModelChange","change","min","max","ngModel"],["matInput","","type","number","matTooltip","How far to one side of the vessel to centre the map, as a percentage of the distance to the screen edge. Positive is to starboard, negative to port.",3,"ngModelChange","change","min","max","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","What panning the chart does while following the vessel.",3,"ngModelChange","selectionChange","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"],["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=V();i(0,"mat-toolbar",24)(1,"span",25)(2,"mat-icon"),s(3,"settings"),n()(),i(4,"span",26),s(5,"Settings"),n(),i(6,"span",27)(7,"button",28),p("click",function(){return e.handleClose()}),i(8,"mat-icon"),s(9,"close"),n()()()(),i(10,"div",29)(11,"mat-tab-group",30)(12,"mat-tab",31)(13,"div",32)(14,"div",33)(15,"div",34)(16,"div",35),s(17,"DISPLAY"),n(),i(18,"mat-card",36)(19,"mat-card-content")(20,"div",37)(21,"div",38)(22,"mat-form-field",39)(23,"mat-label"),s(24,"Dark Mode setting"),n(),i(25,"mat-select",40),u("ngModelChange",function(t){return m(g),f(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,Tt,2,2,"mat-option",41,v),n()()(),i(28,"div",38)(29,"mat-checkbox",42),u("ngModelChange",function(t){return m(g),f(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",38)(32,"mat-form-field",39)(33,"mat-label"),s(34,"Action Button"),n(),i(35,"mat-select",43),u("ngModelChange",function(t){return m(g),f(e.facade.settings.display.fab,t)||(e.facade.settings.display.fab=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(36,Dt,2,2,"mat-option",41,v),n()()(),i(38,"div",38)(39,"mat-checkbox",44),u("ngModelChange",function(t){return m(g),f(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",38)(42,"mat-checkbox",45),u("ngModelChange",function(t){return m(g),f(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",38)(45,"mat-checkbox",46),u("ngModelChange",function(t){return m(g),f(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",36)(49,"mat-card-content"),T(50,Wt,22,4,"div",47),T(51,kt,10,0,"div",37),n()(),E(52,"br"),n(),i(53,"div",34)(54,"div",35),s(55,"SOUND"),n(),i(56,"mat-card",36)(57,"mat-card-content")(58,"div",37)(59,"div",38)(60,"mat-checkbox",48),u("ngModelChange",function(t){return m(g),f(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",38)(63,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(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",38)(66,"mat-form-field",39)(67,"mat-label"),s(68,"Alarm Smoothing Time"),n(),i(69,"mat-select",50),u("ngModelChange",function(t){return m(g),f(e.facade.settings.display.depthAlarm.smoothing,t)||(e.facade.settings.display.depthAlarm.smoothing=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(70,Pt,2,2,"mat-option",41,v),n()()()()()()(),i(72,"div",51)(73,"div",35),s(74,"STATUS BAR OPTIONS"),n(),i(75,"mat-card",36)(76,"mat-card-content")(77,"div",37)(78,"div",38)(79,"mat-checkbox",52),u("ngModelChange",function(t){return m(g),f(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",38)(82,"mat-form-field",53)(83,"mat-label"),s(84),n(),i(85,"input",54,0),u("ngModelChange",function(t){return m(g),f(e.facade.settings.display.statusBar.referenceSpeed,t)||(e.facade.settings.display.statusBar.referenceSpeed=t),c(t)}),p("change",function(){m(g);let t=M(86);return c(e.parseNumber(t))}),n(),T(87,Lt,2,0,"mat-error"),n()(),i(88,"div",38)(89,"mat-form-field",53)(90,"mat-label"),s(91,"Tap Fade Speed (s)"),n(),i(92,"input",55,1),u("ngModelChange",function(t){return m(g),f(e.facade.settings.display.statusBar.tapFadeSpeed,t)||(e.facade.settings.display.statusBar.tapFadeSpeed=t),c(t)}),p("change",function(){m(g);let t=M(93);return c(e.parseNumber(t))}),n(),T(94,xt,2,0,"mat-error"),n()()()()()(),i(95,"div",51)(96,"div",35),s(97,"WEATHER"),n(),i(98,"mat-card",36)(99,"mat-card-content")(100,"div",37)(101,"div",38)(102,"mat-form-field",39)(103,"mat-label"),s(104,"Wind indicator"),n(),i(105,"mat-select",56),u("ngModelChange",function(t){return m(g),f(e.facade.settings.display.windIndicator,t)||(e.facade.settings.display.windIndicator=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(106,Ot,2,2,"mat-option",41,v),n()()()()()()()()()(),i(108,"mat-tab",57)(109,"div",32)(110,"div",33)(111,"div",58)(112,"div",35),s(113,"UNITS & VALUES"),n(),i(114,"mat-card",36)(115,"mat-card-content")(116,"div",37)(117,"div",38)(118,"fieldset")(119,"legend")(120,"mat-checkbox",59,2),u("ngModelChange",function(t){return m(g),f(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(122," Use Server Unit Preferences "),n()(),i(123,"div",37)(124,"div",38)(125,"mat-form-field",39)(126,"mat-label"),s(127,"Distance units"),n(),i(128,"mat-select",60,3),u("ngModelChange",function(t){return m(g),f(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(130,Bt,2,2,"mat-option",41,v),n()()(),i(132,"div",38)(133,"mat-form-field",39)(134,"mat-label"),s(135,"Depth units"),n(),i(136,"mat-select",60),u("ngModelChange",function(t){return m(g),f(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(137,It,2,2,"mat-option",41,v),n()()(),i(139,"div",38)(140,"mat-form-field",39)(141,"mat-label"),s(142,"Length units"),n(),i(143,"mat-select",60),u("ngModelChange",function(t){return m(g),f(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(144,Ft,2,2,"mat-option",41,v),n()()(),i(146,"div",38)(147,"mat-form-field",39)(148,"mat-label"),s(149,"Temperature units"),n(),i(150,"mat-select",60),u("ngModelChange",function(t){return m(g),f(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(151,At,2,2,"mat-option",41,v),n()()(),i(153,"div",38)(154,"mat-form-field",39)(155,"mat-label"),s(156,"Speed units"),n(),i(157,"mat-select",60),u("ngModelChange",function(t){return m(g),f(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(158,Nt,2,2,"mat-option",41,v),n()()()()()()(),i(160,"div",37),T(161,Ut,7,1,"div",38),T(162,Zt,7,1,"div",38),i(163,"div",38)(164,"signalk-preferred-paths",61),p("chosen",function(t){return e.onPreferredPaths(t)}),n()()()()()()()()(),i(165,"mat-tab",62)(166,"div",32)(167,"div",33)(168,"div",63)(169,"div",35),s(170,"MAP"),n(),i(171,"mat-card")(172,"mat-card-content")(173,"div",37)(174,"div",38)(175,"div",64),s(176," \xA0 "),n(),i(177,"mat-form-field",39)(178,"mat-label"),s(179,"Feature label zoom level"),n(),i(180,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.labelsMinZoom,t)||(e.facade.settings.map.labelsMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(181,Ht,2,2,"mat-option",41,b),n()()(),i(183,"div",38)(184,"div",66),s(185," Offset Vessel Center (%) "),n(),i(186,"div",67)(187,"mat-form-field",68)(188,"mat-label"),s(189,"Ahead"),n(),i(190,"input",69,4),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.centerOffset,t)||(e.facade.settings.map.centerOffset=t),c(t)}),p("change",function(){m(g);let t=M(191);return c(e.parseCenterOffset(t))}),n()(),i(192,"mat-form-field",68)(193,"mat-label"),s(194,"Abeam"),n(),i(195,"input",70,5),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.centerOffsetAbeam,t)||(e.facade.settings.map.centerOffsetAbeam=t),c(t)}),p("change",function(){m(g);let t=M(196);return c(e.parseCenterOffset(t))}),n()()()(),i(197,"div",38)(198,"mat-checkbox",71),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.popoverMulti,t)||(e.facade.settings.map.popoverMulti=t),c(t)}),p("change",function(){return e.persistModel()}),s(199," Popovers close with button "),n()(),i(200,"div",38)(201,"mat-checkbox",72),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.doubleClickZoom,t)||(e.facade.settings.map.doubleClickZoom=t),c(t)}),p("change",function(){return e.persistModel()}),s(202," Double click to Zoom "),n()(),i(203,"div",38)(204,"mat-checkbox",73),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.overZoomTiles,t)||(e.facade.settings.map.overZoomTiles=t),c(t)}),p("change",function(){return e.persistModel()}),s(205," Keep tiles visible on max zoom "),n()(),i(206,"div",38)(207,"mat-form-field",39)(208,"mat-label"),s(209,"Map Pan When Following"),n(),i(210,"mat-select",74),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.panBehavior,t)||(e.facade.settings.map.panBehavior=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(211,Kt,2,2,"mat-option",41,v),n()()()()()(),i(213,"div",35),s(214,"VECTOR CHARTS"),n(),i(215,"mat-card")(216,"mat-card-content")(217,"div",37)(218,"div",38)(219,"mat-form-field",39)(220,"mat-label"),s(221,"Graphics Style"),n(),i(222,"mat-select",75),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.graphicsStyle,t)||(e.facade.settings.map.s57Options.graphicsStyle=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(223,zt,2,2,"mat-option",41,v),n()()(),i(225,"div",38)(226,"mat-form-field",39)(227,"mat-label"),s(228,"Boundaries"),n(),i(229,"mat-select",76),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.boundaries,t)||(e.facade.settings.map.s57Options.boundaries=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(230,qt,2,2,"mat-option",41,v),n()()(),i(232,"div",38)(233,"mat-form-field",39)(234,"mat-label"),s(235,"Color Table (Requires refresh)"),n(),i(236,"mat-select",77),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.colorTable,t)||(e.facade.settings.map.s57Options.colorTable=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(237,jt,2,2,"mat-option",41,v),n()()(),i(239,"div",38)(240,"mat-form-field",39)(241,"mat-label"),s(242,"Colors"),n(),i(243,"mat-select",78),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.colors,t)||(e.facade.settings.map.s57Options.colors=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(244,Xt,2,2,"mat-option",41,b),n()()()(),i(246,"div",37)(247,"div",38)(248,"mat-form-field",39)(249,"mat-label"),s(250,"Shallow depth"),n(),i(251,"input",79,6),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.shallowDepth,t)||(e.facade.settings.map.s57Options.shallowDepth=t),c(t)}),p("change",function(){m(g);let t=M(252);return c(e.doS57(t))}),n(),T(253,Yt,2,0,"mat-error"),i(254,"span",80),s(255,"m"),n()()(),i(256,"div",38)(257,"mat-form-field",39)(258,"mat-label"),s(259,"Safety depth"),n(),i(260,"input",79,7),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.safetyDepth,t)||(e.facade.settings.map.s57Options.safetyDepth=t),c(t)}),p("change",function(){m(g);let t=M(261);return c(e.doS57(t))}),n(),T(262,Jt,2,0,"mat-error"),i(263,"span",80),s(264,"m"),n()()(),i(265,"div",38)(266,"mat-form-field",39)(267,"mat-label"),s(268,"Deep depth"),n(),i(269,"input",79,8),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.deepDepth,t)||(e.facade.settings.map.s57Options.deepDepth=t),c(t)}),p("change",function(){m(g);let t=M(270);return c(e.doS57(t))}),n(),T(271,Qt,2,0,"mat-error"),i(272,"span",80),s(273,"m"),n()()(),i(274,"div",38)(275,"mat-form-field",39)(276,"mat-label"),s(277,"Layers"),n(),i(278,"mat-select",81),u("ngModelChange",function(t){return m(g),f(e.facade.settings.map.s57Options.otherLayers,t)||(e.facade.settings.map.s57Options.otherLayers=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(279,$t,2,2,"mat-option",41,v),n()()()()()()()()()(),i(281,"mat-tab",82)(282,"div",32)(283,"div",33)(284,"div",83)(285,"div",35),s(286,"COURSE"),n(),i(287,"mat-card",36)(288,"mat-card-content")(289,"div",37)(290,"div",38)(291,"mat-form-field",39)(292,"mat-label"),s(293,"Arrival Circle"),n(),i(294,"input",79,9),u("ngModelChange",function(t){return m(g),f(e.facade.settings.course.arrivalCircle,t)||(e.facade.settings.course.arrivalCircle=t),c(t)}),p("change",function(){m(g);let t=M(295);return c(e.parseNumber(t))}),n(),T(296,ei,2,0,"mat-error"),i(297,"span",80),s(298,"m"),n()()()(),i(299,"div",37)(300,"div",38)(301,"mat-checkbox",49,10),u("ngModelChange",function(t){return m(g),f(e.facade.settings.course.autoNextPointOnArrival,t)||(e.facade.settings.course.autoNextPointOnArrival=t),c(t)}),p("change",function(){return e.persistModel()}),s(303," Auto-advance to next point on arrival "),n()()(),i(304,"div",37)(305,"div",38)(306,"mat-form-field",39)(307,"mat-label"),s(308,"Notification type to use"),n(),i(309,"mat-select",84,11),u("ngModelChange",function(t){return m(g),f(e.facade.settings.course.autoNextPointTrigger,t)||(e.facade.settings.course.autoNextPointTrigger=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(311,ti,2,2,"mat-option",41,b),n()()(),i(313,"div",38)(314,"mat-form-field",39)(315,"mat-label"),s(316,"Time to wait before advancing"),n(),i(317,"mat-select",85),u("ngModelChange",function(t){return m(g),f(e.facade.settings.course.autoNextPointDelay,t)||(e.facade.settings.course.autoNextPointDelay=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(318,ii,2,2,"mat-option",41,v),n()()()()()()()()()(),i(320,"mat-tab",86)(321,"div",32)(322,"div",33)(323,"div",87)(324,"div",35),s(325,"VESSEL"),n(),i(326,"mat-card",36)(327,"mat-card-content")(328,"div",37)(329,"div",38)(330,"fieldset")(331,"legend"),s(332,"Vessel Icon Size"),n(),i(333,"div",37)(334,"div",38)(335,"mat-radio-group",88),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.iconScale,t)||(e.facade.settings.vessels.iconScale=t),c(t)}),p("change",function(){return e.persistModel()}),y(336,ni,3,4,"mat-radio-button",41,v),n()()()()()(),i(338,"div",38)(339,"fieldset")(340,"legend")(341,"mat-checkbox",89,12),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.fixedLocationMode,t)||(e.facade.settings.vessels.fixedLocationMode=t),c(t)}),p("change",function(){return e.persistModel()}),s(343," Fixed Location Mode "),n()(),i(344,"div",37)(345,"div",38)(346,"mat-form-field",68)(347,"mat-label"),s(348,"Latitude"),n(),i(349,"input",90,13),u("ngModelChange",function(t){return m(g),f(e.facade.fixedPosition[1],t)||(e.facade.fixedPosition[1]=t),c(t)}),p("change",function(){m(g);let t=M(350);return c(e.parseNumber(t,!0))}),n(),T(351,ai,2,0,"mat-error"),n(),i(352,"mat-form-field",68)(353,"mat-label"),s(354,"Longitude"),n(),i(355,"input",91,14),u("ngModelChange",function(t){return m(g),f(e.facade.fixedPosition[0],t)||(e.facade.fixedPosition[0]=t),c(t)}),p("change",function(){m(g);let t=M(356);return c(e.parseNumber(t,!0))}),n(),T(357,oi,2,0,"mat-error"),n()()()()()()(),E(358,"br"),i(359,"mat-card",36)(360,"mat-card-content")(361,"div",38)(362,"fieldset")(363,"legend"),s(364,"Vessel Lines:"),n(),i(365,"div",37)(366,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.windVectors,t)||(e.facade.settings.vessels.windVectors=t),c(t)}),p("change",function(){return e.persistModel()}),s(367," Display Wind Vectors "),n(),i(368,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.laylines,t)||(e.facade.settings.vessels.laylines=t),c(t)}),p("change",function(){return e.persistModel()}),s(369," Display Laylines "),n()(),i(370,"div",37)(371,"div",38)(372,"fieldset")(373,"legend"),s(374,"Heading Line"),n(),i(375,"div",37)(376,"div",38)(377,"mat-form-field")(378,"mat-label"),s(379,"Heading Line Length"),n(),i(380,"mat-select",92),u("ngModelChange",function(t){return m(g),f(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(381,ri,2,2,"mat-option",41,v),n()()(),i(383,"div",38)(384,"linestyle-select",93),p("selectionChange",function(t){return e.onLineStyle("heading",t)}),n()()()()()(),i(385,"div",37)(386,"div",38)(387,"fieldset")(388,"legend"),s(389,"COG Line"),n(),i(390,"div",37)(391,"div",38)(392,"mat-form-field")(393,"mat-label"),s(394,"COG Line Length"),n(),i(395,"mat-select",94),u("ngModelChange",function(t){return m(g),f(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(396,si,2,2,"mat-option",41,v),n()()(),i(398,"div",38)(399,"linestyle-select",93),p("selectionChange",function(t){return e.onLineStyle("cog",t)}),n()()()()()()()(),i(400,"div",38)(401,"fieldset")(402,"legend")(403,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.rangeCircles,t)||(e.facade.settings.vessels.rangeCircles=t),c(t)}),p("change",function(){return e.persistModel()}),s(404," Display Range Circles "),n()(),i(405,"div",37)(406,"div",38)(407,"mat-form-field",39)(408,"mat-label"),s(409,"Number of Range Circles"),n(),i(410,"mat-select",95),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.rangeCircleCount,t)||(e.facade.settings.vessels.rangeCircleCount=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(411,li,2,2,"mat-option",41,b),n()()(),i(413,"div",38)(414,"mat-form-field",39)(415,"mat-label"),s(416,"Minimum Zoom Level"),n(),i(417,"mat-select",95),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.rangeCircleMinZoom,t)||(e.facade.settings.vessels.rangeCircleMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(418,di,2,2,"mat-option",41,b),n()()()(),i(420,"div",37)(421,"div",38)(422,"mat-checkbox",96),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.rangeCirclesFixed,t)||(e.facade.settings.vessels.rangeCirclesFixed=t),c(t)}),p("change",function(){return e.persistModel()}),s(423," Use Fixed Distance "),n()(),i(424,"div",38)(425,"mat-form-field",68)(426,"mat-label"),s(427),n(),i(428,"input",97,15),u("ngModelChange",function(t){return m(g),f(e.formattedNumberModel.rangeCirclesDistance,t)||(e.formattedNumberModel.rangeCirclesDistance=t),c(t)}),p("change",function(){m(g);let t=M(429);return c(e.parseFormattedNumber(t))}),n(),T(430,gi,2,0,"mat-error"),n()()()()()()(),E(431,"br"),i(432,"mat-card",36)(433,"mat-card-content")(434,"div",37)(435,"fieldset")(436,"legend")(437,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trail,t)||(e.facade.settings.vessels.trail=t),c(t)}),p("change",function(){return e.persistModel("vesselTrail")}),s(438," Display Vessel Track "),n()(),i(439,"div",37)(440,"div",38)(441,"mat-checkbox",98),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trailFromServer,t)||(e.facade.settings.vessels.trailFromServer=t),c(t)}),p("change",function(){return e.persistModel("trailFromServer")}),s(442," Get Track from server "),n(),s(443," \xA0\xA0 "),i(444,"mat-slider",99)(445,"input",100),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trailDuration,t)||(e.facade.settings.vessels.trailDuration=t),c(t)}),p("valueChange",function(){return e.deferPersist()}),n()(),s(446),n()(),i(447,"div",37)(448,"div",38)(449,"mat-form-field",39)(450,"mat-label"),s(451,"Resolution: Last hour"),n(),i(452,"mat-select",95),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trailResolution.lastHour,t)||(e.facade.settings.vessels.trailResolution.lastHour=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(453,mi,2,2,"mat-option",41,v),n()()(),i(455,"div",38)(456,"mat-form-field",39)(457,"mat-label"),s(458,"Resolution: 1 hr -> 24 hrs"),n(),i(459,"mat-select",95),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trailResolution.next23,t)||(e.facade.settings.vessels.trailResolution.next23=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(460,ci,2,2,"mat-option",41,v),n()()(),i(462,"div",38)(463,"mat-form-field",39)(464,"mat-label"),s(465,"Resolution: > 24 hrs"),n(),i(466,"mat-select",95),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.trailResolution.beyond24,t)||(e.facade.settings.vessels.trailResolution.beyond24=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(467,pi,2,2,"mat-option",41,v),n()()()()()()()(),i(469,"div",35),s(470,"OTHER VESSELS"),n(),i(471,"mat-card",36)(472,"mat-card-content")(473,"div",37)(474,"div",38)(475,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisShowTrack,t)||(e.facade.settings.vessels.aisShowTrack=t),c(t)}),p("change",function(){return e.persistModel()}),s(476," Show Track "),n(),s(477," \xA0 "),i(478,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.aisStateFilter.moored,t)||(e.aisStateFilter.moored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(479," Hide Moored "),n(),s(480," \xA0 "),i(481,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.aisStateFilter.anchored,t)||(e.aisStateFilter.anchored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(482," Hide Anchored "),n()()(),i(483,"div",37)(484,"div",38)(485,"mat-form-field",39)(486,"mat-label"),s(487,"Mark AIS target inactive after"),n(),i(488,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisStaleAge,t)||(e.facade.settings.vessels.aisStaleAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(489,_i,2,2,"mat-option",41,v),n()()(),i(491,"div",38)(492,"mat-form-field",39)(493,"mat-label"),s(494,"Remove AIS target after"),n(),i(495,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisMaxAge,t)||(e.facade.settings.vessels.aisMaxAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(496,fi,2,2,"mat-option",41,v),n()()(),i(498,"div",38)(499,"mat-form-field",39)(500,"mat-label"),s(501,"Wind Vector Value"),n(),i(502,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisWindApparent,t)||(e.facade.settings.vessels.aisWindApparent=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(503,ui,2,2,"mat-option",41,v),n()()(),i(505,"div",38)(506,"mat-form-field",39)(507,"mat-label"),s(508,"Wind / Track Zoom Level"),n(),i(509,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisWindMinZoom,t)||(e.facade.settings.vessels.aisWindMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(510,hi,2,2,"mat-option",41,b),n()()(),i(512,"div",38)(513,"mat-form-field",39)(514,"mat-label"),s(515,"COG Line"),n(),i(516,"mat-select",65),u("ngModelChange",function(t){return m(g),f(e.facade.settings.vessels.aisCogLine,t)||(e.facade.settings.vessels.aisCogLine=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(517,yi,2,2,"mat-option",41,v),n()()()()()()()()()(),i(519,"mat-tab",101)(520,"div",32)(521,"div",33)(522,"div",102)(523,"div",35),s(524,"NOTES"),n(),i(525,"mat-card",36)(526,"mat-card-content")(527,"div",47)(528,"div",38)(529,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.ui.showNotes,t)||(e.facade.settings.ui.showNotes=t),c(t)}),p("change",function(){return e.persistModel()}),s(530," Display Notes on Map "),n()(),i(531,"div",38)(532,"mat-form-field",39)(533,"mat-label"),s(534,"Notes Zoom Level"),n(),i(535,"mat-select",103),u("valueChange",function(t){return m(g),f(e.facade.settings.resources.notes.minZoom,t)||(e.facade.settings.resources.notes.minZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(536,Si,2,2,"mat-option",41,b),n()()()(),i(538,"div",47)(539,"div",38)(540,"mat-form-field",39)(541,"mat-label"),s(542),n(),i(543,"mat-select",60),u("ngModelChange",function(t){return m(g),f(e.facade.settings.resources.notes.getRadius,t)||(e.facade.settings.resources.notes.getRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(544,Ci,2,2,"mat-option",41,b),n()()()(),i(546,"div",47)(547,"div",38)(548,"mat-form-field",53)(549,"mat-label"),s(550,"Notes fetch filter:"),n(),i(551,"input",104,16),u("ngModelChange",function(t){return m(g),f(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(553,Mi,3,0,"button",105),n()()(),i(554,"div",47)(555,"div",38)(556,"mat-checkbox",106),u("ngModelChange",function(t){return m(g),f(e.facade.settings.resources.notes.groupNameEdit,t)||(e.facade.settings.resources.notes.groupNameEdit=t),c(t)}),p("change",function(){return e.persistModel()}),s(557," Edit Group Names "),n()(),i(558,"div",38)(559,"mat-checkbox",107),u("ngModelChange",function(t){return m(g),f(e.facade.settings.resources.notes.groupRequiresPosition,t)||(e.facade.settings.resources.notes.groupRequiresPosition=t),c(t)}),p("change",function(){return e.persistModel()}),s(560," Position Group Note "),n()()()()()(),i(561,"div",108)(562,"div",35),s(563,"CUSTOM RESOURCES"),n(),i(564,"mat-card",36)(565,"mat-card-content")(566,"div",47)(567,"div",38)(568,"div",109),s(569," Select custom resource types (./resources/<name>) "),n(),i(570,"mat-selection-list",110,17),p("selectionChange",function(){m(g);let t=M(571);return c(e.onResPathSelected(t))}),y(572,wi,2,3,"mat-list-option",111,b),n()()()()()()()()(),T(574,bi,21,2,"mat-tab",112),i(575,"mat-tab",113)(576,"div",32)(577,"div",33)(578,"div",114)(579,"div",35),s(580,"SIGNAL K: CONNECTION"),n(),i(581,"mat-card",36)(582,"mat-card-content")(583,"div",47)(584,"fieldset")(585,"legend"),s(586,"Filter Stream data:"),n(),i(587,"span",115),s(588," Check to include Signal K schema groups on display."),E(589,"br"),i(590,"i"),s(591,"Use to manage display performance."),n()(),i(592,"div",38)(593,"mat-checkbox",116),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.vessels,t)||(e.facade.settings.signalk.vessels=t),c(t)}),p("change",function(){return e.persistModel()}),s(594," Vessels (other than Self) "),n()(),i(595,"div",38)(596,"mat-checkbox",117),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.atons,t)||(e.facade.settings.signalk.atons=t),c(t)}),p("change",function(){return e.persistModel()}),s(597," Aids to Navigation (AtoN) "),n()(),i(598,"div",38)(599,"mat-checkbox",118),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.aircraft,t)||(e.facade.settings.signalk.aircraft=t),c(t)}),p("change",function(){return e.persistModel()}),s(600," Aircraft "),n()(),i(601,"div",38)(602,"mat-checkbox",119),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.sar,t)||(e.facade.settings.signalk.sar=t),c(t)}),p("change",function(){return e.persistModel()}),s(603," Search and Rescue (SaR) "),n()(),i(604,"div",38)(605,"mat-checkbox",120),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.meteo,t)||(e.facade.settings.signalk.meteo=t),c(t)}),p("change",function(){return e.persistModel()}),s(606," Weather (Meteo) "),n()(),i(607,"div",38),E(608,"br"),i(609,"mat-form-field",39)(610,"mat-label"),s(611,"Max. distance from vessel"),n(),i(612,"mat-select",121,18),u("ngModelChange",function(t){return m(g),f(e.facade.settings.signalk.maxRadius,t)||(e.facade.settings.signalk.maxRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(614,Ti,2,2,"mat-option",41,v),n()()()()(),i(616,"div",47)(617,"div",38)(618,"button",122),p("click",function(){return e.clearAuthToken()}),i(619,"mat-icon"),s(620,"key_off"),n()()()()()()()()()(),i(621,"mat-tab",123)(622,"div",32)(623,"div",33)(624,"div",124)(625,"div",35),s(626,"EXPERIMENTS"),n(),i(627,"mat-card",36)(628,"mat-card-content")(629,"div",47)(630,"div",38)(631,"mat-checkbox",49),u("ngModelChange",function(t){return m(g),f(e.facade.settings.resources.video.enable,t)||(e.facade.settings.resources.video.enable=t),c(t)}),p("change",function(){return e.persistModel()}),s(632," Enable Video "),n()(),i(633,"div",38)(634,"mat-form-field",53)(635,"mat-label"),s(636,"url:"),n(),i(637,"input",125,19),u("ngModelChange",function(t){return m(g),f(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(639,Di,2,0,"mat-error"),n()()(),i(640,"div",47)(641,"div",38)(642,"mat-checkbox",126,20),u("ngModelChange",function(t){return m(g),f(e.facade.settings.experiments,t)||(e.facade.settings.experiments=t),c(t)}),p("change",function(){return e.persistModel()}),i(644,"mat-icon"),s(645,"science"),n(),s(646," Experimental Features "),n()()()()()()()()()()()}if(a&2){let g=M(86),o=M(93),t=M(129),ne=M(252),ae=M(261),oe=M(270),re=M(295),ge=M(302),me=M(342),se=M(350),le=M(356),de=M(429),mt=M(552),ct=M(638);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),k("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(5),h("disabled",!e.facade.settings.display.statusBar.liveEta),_("ngModel",e.facade.settings.display.statusBar.tapFadeSpeed),r(2),D(o.invalid&&(o.dirty||o.touched)?94:-1),r(11),_("ngModel",e.facade.settings.display.windIndicator),r(),S(e.options.windIndicator),r(14),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?161:-1),r(),D(e.options.preferredValues.heading.length!==0?162:-1),r(18),_("ngModel",e.facade.settings.map.labelsMinZoom),r(),S(e.options.zoomLevels),r(9),h("min",-e.centerOffsetLimit)("max",e.centerOffsetLimit),_("ngModel",e.facade.settings.map.centerOffset),r(5),h("min",-e.centerOffsetLimit)("max",e.centerOffsetLimit),_("ngModel",e.facade.settings.map.centerOffsetAbeam),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(6),_("ngModel",e.facade.settings.map.panBehavior),r(),S(e.options.map.panBehavior),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(ne.invalid&&(ne.dirty||ne.touched)?253:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.safetyDepth),r(2),D(ae.invalid&&(ae.dirty||ae.touched)?262:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.deepDepth),r(2),D(oe.invalid&&(oe.dirty||oe.touched)?271:-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(re.invalid&&(re.dirty||re.touched)?296:-1),r(5),_("ngModel",e.facade.settings.course.autoNextPointOnArrival),r(8),h("disabled",ge.checked===!1),_("ngModel",e.facade.settings.course.autoNextPointTrigger),r(2),S(e.options.course.nextPointTrigger),r(6),h("disabled",ge.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",!me.checked),r(2),D(se.invalid&&(se.dirty||se.touched)?351:-1),r(4),_("ngModel",e.facade.fixedPosition[0]),h("disabled",!me.checked),r(2),D(le.invalid&&(le.dirty||le.touched)?357:-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),k(" 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(de.invalid&&(de.dirty||de.touched)?430:-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(),k(" 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(t.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(mt.value?553:-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?574:-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(ct.invalid?639:-1),r(3),_("ngModel",e.facade.settings.experiments)}},dependencies:[H,U,be,G,Ee,We,De,Te,Z,Ce,Se,Ne,Ae,ee,it,$,Fe,Be,Ie,Le,Pe,ke,Ve,N,we,Me,R,ve,K,Oe,ot,nt,at,Qe,Q,q,z,Re,Ue,J,Y,Ge,X,j,xe,Ke,He,tt,$e,et,ie,te],styles:["[_nghost-%COMP%] .mat-dialog-content{padding:0 4px}[_nghost-%COMP%] .mat-mdc-dialog-content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;max-height:none;overflow:hidden}[_nghost-%COMP%] .mat-mdc-dialog-content .mat-mdc-tab-group, [_nghost-%COMP%] .mat-mdc-dialog-content .mat-mdc-tab-body-wrapper{flex:1 1 auto;min-height:0}.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}.settings[_ngcontent-%COMP%] .setting-field-group-title[_ngcontent-%COMP%]{font-size:10pt;font-family:Arial,Helvetica,sans-serif;opacity:.7;line-height:1.4;min-height:1.4em;padding-bottom:2px}.settings[_ngcontent-%COMP%] .setting-field-group[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px}.settings[_ngcontent-%COMP%] .setting-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{flex:0 1 150px;min-width:80px}@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{gt as SettingsDialog};
@@ -1,4 +1,4 @@
1
- import{$ as br,$a as Sr,$c as Xr,Cb as qr,Db as Vr,Ea as Le,Fa as Me,Fc as Kr,Ga as ot,Gb as Qr,Ia as ut,Ib as Tt,Ja as at,Ka as I,L as Fr,La as se,M as bt,Ma as ce,Na as Q,Ob as We,P as ze,Qb as Ur,Sb as $r,Ta as Tr,V as Cr,Ya as re,Za as _r,_a as Jt,bb as Br,bc as Wr,ca as yr,cb as Ir,db as zr,dc as Yr,eb as Lr,fa as Er,fb as en,ga as yt,gb as Mr,hb as tn,ib as vr,ja as N,kb as lt,la as wr,lb as ve,lc as Gr,mb as $e,nb as Pr,nd as Zr,oa as Ar,ra as it,sa as Et,sb as Rr,ta as wt,tb as Nr,ub as Or,vb as nn,wa as At,wb as Hr,xc as _t,zb as jr}from"./chunk-4BSA3TDQ.js";import{a as E,b as be,c as Oo,d as Ho,e as jo}from"./chunk-EQVTEUXC.js";var li=Oo((sc,ai)=>{"use strict";var St=Object.prototype.hasOwnProperty,ui=Object.prototype.toString,ei=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,ni=function(n){return typeof Array.isArray=="function"?Array.isArray(n):ui.call(n)==="[object Array]"},ri=function(n){if(!n||ui.call(n)!=="[object Object]")return!1;var t=St.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&St.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||St.call(n,i)},ii=function(n,t){ei&&t.name==="__proto__"?ei(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},oi=function(n,t){if(t==="__proto__")if(St.call(n,t)){if(ti)return ti(n,t).value}else return;return n[t]};ai.exports=function e(){var n,t,r,i,u,o,a=arguments[0],l=1,s=arguments.length,m=!1;for(typeof a=="boolean"&&(m=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<s;++l)if(n=arguments[l],n!=null)for(t in n)r=oi(a,t),i=oi(n,t),a!==i&&(m&&i&&(ri(i)||(u=ni(i)))?(u?(u=!1,o=r&&ni(r)?r:[]):o=r&&ri(r)?r:{},ii(a,{name:t,newValue:e(m,o,i)})):typeof i<"u"&&ii(a,{name:t,newValue:i}));return a}});var Ws=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Et({type:e});static \u0275inj=bt({imports:[Zr,Xr,_t,Kr]})}return e})();var qo=["*",[["mat-toolbar-row"]]],Vo=["*","mat-toolbar-row"],Qo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=wt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return e})(),oc=(()=>{class e{_elementRef=ze(yr);_platform=ze(Gr);_document=ze(Cr);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=it({type:e,selectors:[["mat-toolbar"]],contentQueries:function(r,i,u){if(r&1&&Sr(u,Qo,5),r&2){let o;Br(o=Ir())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,i){r&2&&(lt(i.color?"mat-"+i.color:""),vr("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",i._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Vo,decls:2,vars:0,template:function(r,i){r&1&&(_r(qo),Jt(0),Jt(1,1))},styles:[`.mat-toolbar {
1
+ import{$ as br,$a as Sr,$c as Xr,Cb as qr,Db as Vr,Ea as Le,Fa as Me,Fc as Kr,Ga as ot,Gb as Qr,Ia as ut,Ja as at,Jb as Tt,Ka as I,L as Fr,La as se,M as bt,Ma as ce,Na as Q,P as ze,Pb as We,Rb as Ur,Ta as Tr,Tb as $r,V as Cr,Ya as re,Za as _r,_a as Jt,ac as Wr,bb as Br,ca as yr,cb as Ir,cc as Yr,db as zr,eb as Lr,fa as Er,fb as en,ga as yt,gb as Mr,hb as tn,ib as vr,ja as N,kb as lt,la as wr,lb as ve,lc as Gr,mb as $e,nb as Pr,nd as Zr,oa as Ar,ra as it,sa as Et,sb as Rr,ta as wt,tb as Nr,ub as Or,vb as nn,wa as At,wb as Hr,xc as _t,zb as jr}from"./chunk-P5GLUSCN.js";import{a as E,b as be,c as Oo,d as Ho,e as jo}from"./chunk-EQVTEUXC.js";var li=Oo((sc,ai)=>{"use strict";var St=Object.prototype.hasOwnProperty,ui=Object.prototype.toString,ei=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,ni=function(n){return typeof Array.isArray=="function"?Array.isArray(n):ui.call(n)==="[object Array]"},ri=function(n){if(!n||ui.call(n)!=="[object Object]")return!1;var t=St.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&St.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||St.call(n,i)},ii=function(n,t){ei&&t.name==="__proto__"?ei(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},oi=function(n,t){if(t==="__proto__")if(St.call(n,t)){if(ti)return ti(n,t).value}else return;return n[t]};ai.exports=function e(){var n,t,r,i,u,o,a=arguments[0],l=1,s=arguments.length,m=!1;for(typeof a=="boolean"&&(m=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<s;++l)if(n=arguments[l],n!=null)for(t in n)r=oi(a,t),i=oi(n,t),a!==i&&(m&&i&&(ri(i)||(u=ni(i)))?(u?(u=!1,o=r&&ni(r)?r:[]):o=r&&ri(r)?r:{},ii(a,{name:t,newValue:e(m,o,i)})):typeof i<"u"&&ii(a,{name:t,newValue:i}));return a}});var Ws=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Et({type:e});static \u0275inj=bt({imports:[Zr,Xr,_t,Kr]})}return e})();var qo=["*",[["mat-toolbar-row"]]],Vo=["*","mat-toolbar-row"],Qo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=wt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return e})(),oc=(()=>{class e{_elementRef=ze(yr);_platform=ze(Gr);_document=ze(Cr);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=it({type:e,selectors:[["mat-toolbar"]],contentQueries:function(r,i,u){if(r&1&&Sr(u,Qo,5),r&2){let o;Br(o=Ir())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,i){r&2&&(lt(i.color?"mat-"+i.color:""),vr("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",i._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Vo,decls:2,vars:0,template:function(r,i){r&1&&(_r(qo),Jt(0),Jt(1,1))},styles:[`.mat-toolbar {
2
2
  background: var(--mat-toolbar-container-background-color, var(--mat-sys-surface));
3
3
  color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));
4
4
  }
@@ -0,0 +1 @@
1
+ import{j as a}from"./chunk-66UI7RYU.js";import"./chunk-3QUJEXF6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import"./chunk-DSS236J5.js";import"./chunk-2BXQ52IR.js";import"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";export{a as PlaybackDialog};
@@ -0,0 +1 @@
1
+ import{m as a,n as b,o as c,p as d,q as e,r as f}from"./chunk-EJ5G7BX7.js";import"./chunk-DSS236J5.js";import"./chunk-2BXQ52IR.js";import"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";export{d as AboutDialog,b as AlertDialog,c as ConfirmDialog,e as LoginDialog,f as MessageBarComponent,a as MsgBox};
@@ -0,0 +1 @@
1
+ import{Da as a}from"./chunk-544H55DG.js";import"./chunk-SYVLSUHP.js";import"./chunk-R7KV75Y6.js";import"./chunk-EJ5G7BX7.js";import"./chunk-66UI7RYU.js";import"./chunk-3QUJEXF6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import"./chunk-DSS236J5.js";import"./chunk-2BXQ52IR.js";import"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";export{a as Trail2RouteDialog};
@@ -1,4 +1,4 @@
1
- import{M as a,ib as i,ra as c,sa as r,vd as d,xc as s}from"./chunk-4BSA3TDQ.js";var p=(()=>{class e{_animationsDisabled=d();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=c({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&i("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},styles:[`.mat-pseudo-checkbox {
1
+ import{M as a,ib as i,ra as c,sa as r,vd as d,xc as s}from"./chunk-P5GLUSCN.js";var p=(()=>{class e{_animationsDisabled=d();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=c({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&i("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},styles:[`.mat-pseudo-checkbox {
2
2
  border-radius: 2px;
3
3
  cursor: pointer;
4
4
  display: inline-block;
@@ -1 +1 @@
1
- import{c as y,d as S,e as k,g as E,k as R,o as B}from"./chunk-4BXCQ655.js";import"./chunk-UF7LOYCE.js";import"./chunk-XHEJEIFO.js";import{Dd as b,Ed as I,Gd as L,Hd as C,Ia as f,Id as w,Ja as u,Jd as P,La as e,Ma as a,Q as s,R as g,Td as W,Ua as M,Wa as c,Wd as v,Ya as _,Yd as T,Zd as h,ja as l,lb as o,mb as D,nb as A,oa as r,ob as x,ra as p}from"./chunk-4BSA3TDQ.js";import"./chunk-EQVTEUXC.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,v,W,h,T,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};
1
+ import{c as y,d as S,e as k,g as E,k as R,o as B}from"./chunk-R7KV75Y6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import{Dd as b,Ed as I,Gd as L,Hd as C,Ia as f,Id as w,Ja as u,Jd as P,La as e,Ma as a,Q as s,R as g,Td as W,Ua as M,Wa as c,Wd as v,Ya as _,Yd as T,Zd as h,ja as l,lb as o,mb as D,nb as A,oa as r,ob as x,ra as p}from"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,v,W,h,T,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};
package/public/index.html CHANGED
@@ -54,5 +54,5 @@
54
54
  </div>
55
55
  </div>
56
56
  </app-root>
57
- <link rel="modulepreload" href="chunk-BJM4SVXD.js"><link rel="modulepreload" href="chunk-OTJKIGKW.js"><link rel="modulepreload" href="chunk-IURS3QQO.js"><link rel="modulepreload" href="chunk-4BXCQ655.js"><link rel="modulepreload" href="chunk-LXTM3LEN.js"><link rel="modulepreload" href="chunk-IYNTZMNB.js"><link rel="modulepreload" href="chunk-3CRIFTHA.js"><link rel="modulepreload" href="chunk-UF7LOYCE.js"><link rel="modulepreload" href="chunk-XHEJEIFO.js"><link rel="modulepreload" href="chunk-I3OUN6B4.js"><script src="polyfills-RV3JTMEC.js" type="module"></script><script src="main-GWT4XTZZ.js" type="module"></script></body>
57
+ <link rel="modulepreload" href="chunk-MQJQLOEZ.js"><link rel="modulepreload" href="chunk-544H55DG.js"><link rel="modulepreload" href="chunk-SYVLSUHP.js"><link rel="modulepreload" href="chunk-R7KV75Y6.js"><link rel="modulepreload" href="chunk-EJ5G7BX7.js"><link rel="modulepreload" href="chunk-66UI7RYU.js"><link rel="modulepreload" href="chunk-3QUJEXF6.js"><link rel="modulepreload" href="chunk-XB3A3UP3.js"><link rel="modulepreload" href="chunk-HYKTIWCS.js"><link rel="modulepreload" href="chunk-DSS236J5.js"><script src="polyfills-RV3JTMEC.js" type="module"></script><script src="main-S4SGVPDE.js" type="module"></script></body>
58
58
  </html>