"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[53951],{753951(e,n,t){t.r(n),t.d(n,{default:()=>P});var E=t(296540),l=t(979353),A=t(916537),r=t(30611),a=t(151033),s=t(67668),i=t(638595);const o=({[i.j.ID]:e,[i.j.LOG]:n})=>n[a.k1.PARAMETERS]?.[r.ns.APPLICATION]?.[a.bP.NAME]?E.createElement(s.A,{label:E.createElement(A.sA,{id:e}),value:n[a.k1.PARAMETERS][r.ns.APPLICATION][a.bP.NAME]}):null;var c=t(800070),I=t(376458),O=t(935284),R=t(351638);const P=({[l.w.LOG]:e})=>[E.createElement(o,{key:"application",id:"COMMON_APPLICATION",log:e}),E.createElement(c.A,{key:"version",id:"COMMON_VERSION",log:e}),E.createElement(I.A,{key:"previousVersion",id:"LOGS_PRIOR_VERSION",log:e}),E.createElement(O.A,{key:"releaseNotesLink",id:"COMMON_RELEASE_NOTES",target:R.m.APPLICATION,log:e})]},979353(e,n,t){var E;t.d(n,{w:()=>E}),function(e){e.LOG="log"}(E||(E={}))},638595(e,n,t){var E;t.d(n,{j:()=>E}),function(e){e.ID="id",e.LOG="log"}(E||(E={}))},376458(e,n,t){t.d(n,{A:()=>i});var E=t(296540),l=t(916537),A=t(30611),r=t(151033),a=t(67668),s=t(638595);const i=({[s.j.ID]:e,[s.j.LOG]:n})=>n[r.k1.PARAMETERS]?.[A.ns.PREVIOUS_VERSION]?.[r.bP.NAME]?E.createElement(a.A,{label:E.createElement(l.sA,{id:e}),value:n[r.k1.PARAMETERS][A.ns.PREVIOUS_VERSION][r.bP.NAME]}):null},935284(e,n,t){t.d(n,{A:()=>O});var E=t(999589),l=t(469733),A=t(296540),r=t(916537),a=t(187483),s=t(30611),i=t(151033),o=t(383664),c=t(638595),I=t(351638);const O=({[c.j.LOG]:e,[c.j.ID]:n,[I.Q.TARGET]:t})=>{const O=(0,l.useSelector)(a.qf),{name:R,version:P}=(0,A.useMemo)(()=>{switch(t){case I.m.APPLICATION:return{name:"network",version:e[i.k1.PARAMETERS]?.[s.ns.VERSION]?.[i.bP.NAME]};case I.m.DEVICE:return{name:e[i.k1.PARAMETERS]?.[s.ns.DEVICE]?.[s.pq.MODEL_NAME],version:e[i.k1.PARAMETERS]?.[s.ns.VERSION]?.[i.bP.ID]||e[i.k1.PARAMETERS]?.[s.ns.DEVICE]?.[s.pq.VERSION]};default:return{name:void 0,version:void 0}}},[e,t]),u=(0,A.useCallback)(()=>{R&&P&&O(R,(0,E.coerce)(P)?.version||P)},[O,R,P]);return void 0!==O&&R&&P?A.createElement(o.A,{label:A.createElement(r.sA,{id:n}),onPress:u,value:A.createElement(r.sA,{id:"COMMON_ACTION_VIEW"})}):null}},351638(e,n,t){var E,l;t.d(n,{Q:()=>l,m:()=>E}),function(e){e.APPLICATION="application",e.DEVICE="device"}(E||(E={})),function(e){e.TARGET="target"}(l||(l={}))},383664(e,n,t){t.d(n,{A:()=>i});var E=t(296540),l=t(592563),A=t(199582),r=t(491876),a=t(35571),s=t(115829);const i=({label:e,value:n,onPress:t,[A.L]:i})=>E.createElement(a.R,null,E.createElement(r.A,null,e),E.createElement(l.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...i&&{[A.L]:i}},E.createElement(s.A,{size:"medium",color:"inherit"},n)))},800070(e,n,t){t.d(n,{A:()=>i});var E=t(296540),l=t(916537),A=t(30611),r=t(151033),a=t(67668),s=t(638595);const i=({[s.j.ID]:e,[s.j.LOG]:n})=>n[r.k1.PARAMETERS]?.[A.ns.VERSION]?.[r.bP.NAME]?E.createElement(a.A,{label:E.createElement(l.sA,{id:e}),value:n[r.k1.PARAMETERS][A.ns.VERSION][r.bP.NAME]}):null}}]);