/*! For license information please see main.b5b9f7c3.js.LICENSE.txt */ (function(){var __webpack_modules__={78391:function(e,n,t){"use strict";t(96902);n.Z=t.p+"static/media/Lens_Abstracted.10e2268bff8848b05023eacdbe2723b2.svg"},83715:function(e,n,t){"use strict";t(96902);n.Z=t.p+"static/media/Lens_Abstracted_darkmode.60a4f8744fd783860de8851ad632b807.svg"},31002:function(){},50564:function(){},90497:function(e,n,t){"use strict";t.d(n,{Bg:function(){return $},HB:function(){return ut},bt:function(){return on},fZ:function(){return Vn},ZE:function(){return nt},Ou:function(){return ot},JP:function(){return at},N7:function(){return rt},NM:function(){return tt},AK:function(){return it},Cy:function(){return Kn},j0:function(){return qn},DM:function(){return x},iy:function(){return Ue},XH:function(){return Pe},pq:function(){return Ve},Ie:function(){return je},bV:function(){return Me},g4:function(){return we},oB:function(){return Le},oo:function(){return dn},gX:function(){return cn},zT:function(){return D},ii:function(){return O},x4:function(){return Ln},FJ:function(){return Dn},dk:function(){return kn},q5:function(){return de},kH:function(){return An},ku:function(){return Rn},_K:function(){return On},bs:function(){return N},Rk:function(){return V},vP:function(){return st},xJ:function(){return j},AV:function(){return yn},LR:function(){return Ae},ID:function(){return tn},k:function(){return nn},ox:function(){return He},G6:function(){return Ke},rV:function(){return Je},PI:function(){return qe},ql:function(){return P},RJ:function(){return Be},Y2:function(){return Fe},j$:function(){return Ge},uh:function(){return oe},pd:function(){return Ye},C:function(){return gn},fy:function(){return G},bA:function(){return W},Zn:function(){return Xe},PV:function(){return $e},pl:function(){return en},lX:function(){return Wn},Do:function(){return te},kg:function(){return jn},RQ:function(){return R},XT:function(){return Z},fn:function(){return De},Km:function(){return ue},r1:function(){return ge},Dj:function(){return Ce},Lw:function(){return We},qu:function(){return ze},U_:function(){return J},y7:function(){return rn},BV:function(){return Q},oN:function(){return fe},zQ:function(){return ve},TL:function(){return Te},AH:function(){return Ne},GE:function(){return Se},_7:function(){return ye},mZ:function(){return Ie},YV:function(){return Ee},xG:function(){return _e},xH:function(){return se},fq:function(){return Un},Uk:function(){return Fn},FB:function(){return wn},PW:function(){return Pn},v_:function(){return pt},QZ:function(){return v},GO:function(){return lt},sU:function(){return A},Ej:function(){return _n},nP:function(){return En},Q9:function(){return Tn},PY:function(){return vn},QX:function(){return Sn},rc:function(){return U},Jq:function(){return me},dc:function(){return Y},Mv:function(){return K},hv:function(){return Hn},Sx:function(){return Gn},RE:function(){return I},IY:function(){return In},uj:function(){return Cn},P0:function(){return Nn},Xz:function(){return Yn},Ul:function(){return Re},Ji:function(){return xn},sP:function(){return Qe},cz:function(){return B},_w:function(){return F},U5:function(){return g},Vu:function(){return Mn},Hy:function(){return le},OS:function(){return dt},Aq:function(){return xe},g_:function(){return hn},qk:function(){return pe},oz:function(){return he},af:function(){return ne},xL:function(){return X},WR:function(){return w},Zr:function(){return Jn},WW:function(){return pn},A6:function(){return C},cN:function(){return Zn},D_:function(){return Bn},O7:function(){return Ze},kJ:function(){return an},or:function(){return M},A3:function(){return bn},me:function(){return ee},a4:function(){return ie},zR:function(){return un},Xt:function(){return ct},Yq:function(){return T},Zo:function(){return H},YX:function(){return z},Zf:function(){return be},Xg:function(){return Oe},Lt:function(){return ce},_X:function(){return q},qQ:function(){return sn},Tf:function(){return ln},fE:function(){return fn},e0:function(){return mn},sN:function(){return S},CD:function(){return ke},JN:function(){return b},Yn:function(){return L},ji:function(){return k},e_:function(){return E},FP:function(){return re},lL:function(){return zn},$g:function(){return $n},XJ:function(){return Qn},ev:function(){return Xn},v8:function(){return et},YO:function(){return ae},YK:function(){return _}});var a,i,r,o,l,s,u,c=t(99710),d=t(16798),p=t(45474),f=t(25825),m=t(98907),h=t(57994),y=(0,m.Z)((function e(){(0,h.Z)(this,e)}));y.muteOffAlertOpts=[{value:"false",text:f.ZP.t("TONE")},{value:"true",text:f.ZP.t("VOICE")}],y.acousticFenceOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"60",text:f.ZP.t("NARROW")},{value:"90",text:f.ZP.t("MEDIUM")},{value:"120",text:f.ZP.t("WIDE")},{value:"cameraView",text:f.ZP.t("CAMERA_VIEW")}],y.defaultPhoneLineOpts=[{value:"pstn",text:f.ZP.t("DESK_PHONE")},{value:"voip",text:f.ZP.t("COMPUTER")},{value:"mobile",text:f.ZP.t("MOBILE")}],y.muteReminderTimingOpts=[{value:"1",text:f.ZP.t("MINUTE_NO_PERIOD",{count:1})},{value:"2",text:f.ZP.t("MINUTE_NO_PERIOD",{count:2})},{value:"3",text:f.ZP.t("MINUTE_NO_PERIOD",{count:3})},{value:"4",text:f.ZP.t("MINUTE_NO_PERIOD",{count:4})},{value:"5",text:f.ZP.t("MINUTE_NO_PERIOD",{count:5})},{value:"6",text:f.ZP.t("MINUTE_NO_PERIOD",{count:6})},{value:"7",text:f.ZP.t("MINUTE_NO_PERIOD",{count:7})},{value:"8",text:f.ZP.t("MINUTE_NO_PERIOD",{count:8})},{value:"9",text:f.ZP.t("MINUTE_NO_PERIOD",{count:9})},{value:"10",text:f.ZP.t("MINUTE_NO_PERIOD",{count:10})},{value:"11",text:f.ZP.t("MINUTE_NO_PERIOD",{count:11})},{value:"12",text:f.ZP.t("MINUTE_NO_PERIOD",{count:12})},{value:"13",text:f.ZP.t("MINUTE_NO_PERIOD",{count:13})},{value:"14",text:f.ZP.t("MINUTE_NO_PERIOD",{count:14})},{value:"15",text:f.ZP.t("MINUTE_NO_PERIOD",{count:15})}],y.muteAlertTypeOpts=[{value:"voice",text:f.ZP.t("VOICE")},{value:"singleTone",text:f.ZP.t("SINGLE_TONE")},{value:"doubleTone",text:f.ZP.t("DOUBLE_TONE")}],y.muteReminderModeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"timed",text:f.ZP.t("TIME_BASED")},{value:"voiceAudible",text:f.ZP.t("VOICE_DETECTED_AUDIO")},{value:"voiceVisible",text:f.ZP.t("VISUAL")},{value:"voiceVisibleAndAudible",text:f.ZP.t("AUDIO_VISUAL")}],y.connectionIndicationOpts=[{value:"voice",text:f.ZP.t("VOICE")},{value:"tone",text:f.ZP.t("TONE")}],y.closeConversationLimitingOpts=[{value:"no",text:f.ZP.t("NO_LIMITING")},{value:"moderate",text:f.ZP.t("STANDARD")},{value:"agressive",text:f.ZP.t("MAXIMUM")}],y.ancTimeoutOpts=[{value:"2",text:f.ZP.t("HOUR",{count:2})},{value:"4",text:f.ZP.t("HOUR",{count:4})},{value:"off",text:f.ZP.t("OFF")}],y.rocketButtonOpts=[{value:"playPause",text:f.ZP.t("PLAY_PAUSE")},{value:"redial",text:f.ZP.t("REDIAL_MOBILE")},{value:"vpa",text:f.ZP.t("VIRTUAL_PERSONAL_ASSISTANT")},{value:"clearTrustedDevice",text:f.ZP.t("CLEAR_TRUSTED_DEVICE_LIST")},{value:"statusCheck",text:f.ZP.t("STATUS_CHECK")},{value:"holdResume",text:f.ZP.t("HOLD_RESUME_CALL")}],y.languageOpts=[{value:"3076",text:"Cantonese"},{value:"1030",text:"Danish"},{value:"2057",text:"English - United Kingdom"},{value:"1033",text:"English - United States"},{value:"1036",text:"French"},{value:"1031",text:"German"},{value:"1040",text:"Italian"},{value:"1041",text:"Japanese"},{value:"1042",text:"Korean"},{value:"1045",text:"Polish"},{value:"2052",text:"Mandarin"},{value:"1044",text:"Norwegian - Bokml"},{value:"2068",text:"Norwegian - Nynorsk"},{value:"1049",text:"Russian"},{value:"1034",text:"Spanish"},{value:"1053",text:"Swedish"},{value:"16393",text:"English - India"},{value:"1057",text:"Indonesian"},{value:"1054",text:"Thai"},{value:"1046",text:"Portuguese - Brazil"}],y.activeCallAudioOpts=[{value:"doNothing",text:f.ZP.t("DO_NOTHING")},{value:"transferAudioToMobile",text:f.ZP.t("TRANSFER_AUDIO_TO_MOBILE_PHONE")},{value:"muteMic",text:f.ZP.t("MUTE_MICROPHONE")}],y.audioQualityOpts=[{value:"homeMode",text:f.ZP.t("MUSIC")},{value:"enterpriseMode",text:f.ZP.t("HYBRID")},{value:"mono",text:f.ZP.t("CONVERSATION")}],y.computerAudioBandwidthOpts=[{value:"narrowband",text:f.ZP.t("NARROWBAND")},{value:"wideband",text:f.ZP.t("WIDEBAND")}],y.deskPhoneAudioBandwidthOpts=[{value:"narrowband",text:f.ZP.t("NARROWBAND")},{value:"wideband",text:f.ZP.t("WIDEBAND")}],y.hdVoiceOpts=[{value:"narrowband",text:f.ZP.t("OFF")},{value:"wideband",text:f.ZP.t("ON")},{value:"stereo",text:f.ZP.t("STEREO")},{value:"widebandStereo",text:f.ZP.t("WIDEBAND_STEREO")}],y.bluetoothStreamingOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"on",text:f.ZP.t("ON")}],y.secondIncomingCallOpts=[{value:"ignore",text:f.ZP.t("IGNORE")},{value:"once",text:f.ZP.t("RING_ONCE")},{value:"continuous",text:f.ZP.t("RING_CONTINUOUSLY")}],y.computerVolumeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"low",text:f.ZP.t("LOW_VOLUME")},{value:"standard",text:f.ZP.t("STANDARD_VOLUME")}],y.deskPhoneVolumeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"low",text:f.ZP.t("LOW_VOLUME")},{value:"standard",text:f.ZP.t("STANDARD_VOLUME")}],y.mobilePhoneVolumeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"low",text:f.ZP.t("LOW_VOLUME")},{value:"standard",text:f.ZP.t("STANDARD_VOLUME")}],y.computerRingtoneOpts=[{value:"sound1",text:f.ZP.t("TONE_ONE")},{value:"sound2",text:f.ZP.t("TONE_TWO")},{value:"sound3",text:f.ZP.t("TONE_THREE")},{value:"off",text:f.ZP.t("OFF")}],y.deskPhoneRingtoneOpts=[{value:"sound1",text:f.ZP.t("TONE_ONE")},{value:"sound2",text:f.ZP.t("TONE_TWO")},{value:"sound3",text:f.ZP.t("TONE_THREE")},{value:"off",text:f.ZP.t("OFF")}],y.mobilePhoneRingtoneOpts=[{value:"sound1",text:f.ZP.t("TONE_ONE")},{value:"sound2",text:f.ZP.t("TONE_TWO")},{value:"sound3",text:f.ZP.t("TONE_THREE")},{value:"off",text:f.ZP.t("OFF")}],y.muteReminderVolumeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"low",text:f.ZP.t("LOW_VOLUME")},{value:"standard",text:f.ZP.t("STANDARD_VOLUME")}],y.audioPromptVolumeOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"low",text:f.ZP.t("LOW_VOLUME")},{value:"standard",text:f.ZP.t("STANDARD_VOLUME")}],y.volumeLevelIndicatorsOpts=[{value:"atEveryLevel",text:f.ZP.t("EVERY_LEVEL")},{value:"minMaxOnly",text:f.ZP.t("MIN_MAX_ONLY")}],y.sidetoneOpts=[{value:"low",text:f.ZP.t("LOW")},{value:"medium",text:f.ZP.t("MEDIUM")},{value:"high",text:f.ZP.t("HIGH")}],y.volumeAlertsOpts=[{value:"voice",text:f.ZP.t("VOICE")},{value:"tone",text:f.ZP.t("TONE")}],y.noiseExposureLimitOpts=[{value:"85db",text:f.ZP.t("LIMITED_85DBA")},{value:"80db",text:f.ZP.t("LIMITED_80DBA")},{value:"off",text:f.ZP.t("NO_LIMITING")}],y.hoursOnPhoneDayOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"2",text:"2"},{value:"4",text:"4"},{value:"6",text:"6"},{value:"8",text:"8"}],y.increaseQdHeadsetVolumeOpts=[{value:"new",text:f.ZP.t("ENCORE_PRO_500")},{value:"legacy",text:f.ZP.t("ENCORE_PRO_700")}],y.wearingPreferenceOpts=[{value:"unknown",text:f.ZP.t("NO_CHANGE")},{value:"left",text:f.ZP.t("LEFT_EAR")},{value:"right",text:f.ZP.t("RIGHT_EAR")},{value:"leftRight",text:f.ZP.t("BOOM_ON_RIGHT")},{value:"leftRightSwapped",text:f.ZP.t("BOOM_ON_LEFT")}],y.toneControlOpts=[{value:"maxBass",text:f.ZP.t("MAX_BASS")},{value:"midBass",text:"-2"},{value:"minBass",text:"-1"},{value:"noBoost",text:"0"},{value:"minTreble",text:"1"},{value:"midTreble",text:"2"},{value:"maxTreble",text:f.ZP.t("MAX_TREBLE")}],y.trackingSpeedOpts=[{value:"slow",text:f.ZP.t("SLOW")},{value:"normal",text:f.ZP.t("NORMAL")},{value:"fast",text:f.ZP.t("FAST")}],y.trackingModeOpts=[{value:"speaker",text:f.ZP.t("SPEAKER")},{value:"off",text:f.ZP.t("OFF")},{value:"group",text:f.ZP.t("GROUP")}],y.antiFlickerOpts=[{value:"0",text:f.ZP.t("DISABLED")},{value:"1",text:f.ZP.t("FIFTY_HZ")},{value:"2",text:f.ZP.t("SIXTY_HZ")}],y.frameSizeOpts=[{value:"tight",text:f.ZP.t("TIGHT")},{value:"medium",text:f.ZP.t("MEDIUM")},{value:"wide",text:f.ZP.t("WIDE")}],y.maxZoomOpts=[{value:"2x",text:"2x"},{value:"3x",text:"3x"},{value:"4x",text:"4x"}],y.cameraMovementOpts=[{value:"auto pan",text:f.ZP.t("AUTO_PAN")},{value:"cut",text:f.ZP.t("CUT")}],y.antiStartleOpts=[{value:"off",text:f.ZP.t("OFF")},{value:"standard",text:f.ZP.t("G616_STANDARD")},{value:"enhanced",text:f.ZP.t("G616_ENHANCED")}],y.autoConnectMobileOpts=[{value:"never",text:f.ZP.t("NEVER")},{value:"whenUndocked",text:f.ZP.t("HEADSET_UNDOCKED")},{value:"always",text:f.ZP.t("ALWAYS")}],y.rangeOpts=[{value:"low",text:f.ZP.t("LOW")},{value:"medium",text:f.ZP.t("MEDIUM")},{value:"high",text:f.ZP.t("HIGH")}],y.updateSourceOpts=[{value:p.EOh.StandardUrl,text:f.ZP.t("POLY_LENS")},{value:p.EOh.CustomUrl,text:f.ZP.t("CUSTOM_SERVER")}],y.delaySwUpdateOptions=[{value:"-1",text:f.ZP.t("NONE")},{value:"3",text:f.ZP.t("DELAY_MAX_TIMES",{max:3})}];var g,T,v=100,E="https://lens.poly.com/is_new",_="https://lens.poly.com/info",S="all",N="com.poly.lens.proxy.agent.lens.base",I="com.poly.lens.proxy.agent.lens.mtr",C=1e3,A=60,R=60*A,O=24*R,b=20,L=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],k=function(e){return L[e]},D={YEAR:"yyyy",MONTH:"MMMM",MONTH_SHORT:"MMM",MONTH_YEAR:"MMMM yyyy",MONTH_SHORT_YEAR:"MMM yyyy",MONTH_SHORT_DATE_YEAR:"MMM do yyyy",MONTH_LONG_DATE_YEAR:"MMMM d, yyyy",DAY:"cccc",DAY_INITIAL:"ccccc",LOCALIZED:"P",ISO_SHORT:"yyyy-MM-dd",US_SHORT:"M/d/yyyy",US_SHORT_PADDED:"MM/dd/yyyy",WITH_TIME_LONG:"PPpp",DATE_TIME_SHORT:"M/d/y h:mm:ss a",DATE_TIME_SHORT_NO_SECONDS:"M/d/y h:mm a",DATE_TIME_OFFSET_SHORT:"M/d/y h:mm:ss a xxx"},x={CARD_GREY:"#242d37",SITE_GREY:"#2b2b2d",BLACK:"#000000",WHITE:"#ffffff",SITE_BLUE:"#3298ff",MAP_LAND:"#353332",MAP_WATER:"#191a1a",THRESHOLD_RED:"#F34C4C",CHART_LABELS_LIGHT:"#666666",CHART_GRID_DARK:"#4D545C",CHART_GRID_LIGHT:"#e6e6e6"},P={id:"MAC_ADDRESS",organization:"ACCOUNT",room:"ROOM",site:"SITE",roomRef:"ROOM",siteRef:"SITE",hardwareModel:"DEVICE_MODEL",softwareVersion:"SOFTWARE_VERSION",internalIp:"PRIVATE_IP",externalIp:"PUBLIC_IP",macAddress:"MAC_ADDRESS",serialNumber:"SERIAL_NUMBER"},U="1.5",w="prod",M="stage",V="dev",j="Development",F="online",B="offline",Z={Development:"https://lensuistagepreviewdocs.z19.web.core.windows.net/",dev:"https://lensuistagepreviewdocs.z19.web.core.windows.net/",stage:"https://info.stage.lens.poly.com/",prod:"https://info.lens.poly.com/"},G={IMPORT_MIGRATION:"docs/import/import-migration",BLOG:"blog",NOTIFICATION_OVERVIEW:"docs/notification/nc-overview",PIN_ONBOARDING:"docs/onboard/onboarding",POLY_PLUS_FEATURES:"docs/licenses/poly-plus-features",ASSIGN_DEVICE_TO_SITE:"docs/sites/assign-device-to-site",MANAGE_DEVICE_GROUPS:"docs/devicegroups/device-groups-manage",MANAGE_DEVICE_USER_GROUPS:"docs/devicegroups/device-groups-manage",LENS_DESKTOP_RELEASE_NOTES:"lens-dt-rn",CSV_IMPORT:"docs/policy/csv-import",VISUAL_ANALYTICS:"docs/category/visual-analytics",POWER_BI:"docs/account/Integrations/Visual%20Analytics/integrations-bi"},J="Invite Not Found",H="Request failed with status code 429",W="does not match invite email",Y="https://polycom.centercode.com/key/PolyLensMobile",q="https://polycom.centercode.com/key/BetaTesting",K="https://support.poly.com/support/s/article/SF22514",z="https://www.poly.com/us/en/legal/terms/lens-supplemental-service-terms",X="https://www.poly.com/us/en/legal/privacy",$="https://www.poly.com/us/en/legal/terms/api-marketplace-agreement",Q="https://www.poly.com/us/en/legal/terms/application-end-user-license-agreement",ee="https://status.plcm.vc",ne="https://www.poly.com/us/en/products/services/support";!function(e){e.MAC="MacOS",e.WINDOWS="Windows",e.LINUX="Linux",e.IOS="iOS",e.ANDROID="Android",e.UNKNOWN="Not known"}(g||(g={})),function(e){e.DEVICES="DEVICES",e.LENS="LENS"}(T||(T={}));var te,ae=(a={},(0,d.Z)(a,T.DEVICES,"SUPPORT_DEVICES"),(0,d.Z)(a,T.LENS,"SUPPORT_LENS"),a),ie=(i={},(0,d.Z)(i,T.DEVICES,"https://www.poly.com/us/en/support"),(0,d.Z)(i,T.LENS,Z.prod),i),re=["G7500","Studio X30","Studio X50","Studio X70"],oe=([].concat(re,["Trio 8300","Trio 8500","Trio 8800","Trio C60","CCX 400","CCX 500","CCX 600","CCX 700","VVX 101","VVX 150","VVX 201","VVX 250","VVX 301","VVX 311","VVX 350","VVX 401","VVX 411","VVX 450","VVX 501","VVX 601","Studio USB","EagleEye Cube"]),{STRING:"String",STRING_PASSWORD:"StringPassword",UINT:"UInt",UINT_NULL:"UIntNull",SINT:"SInt",SINT_NULL:"SIntNull",ENUM:"Enum",BOOL:"Bool",XBOOL:"xBool"}),le={PARAM:"param",PARAM_ARRAY:"paramArray",PARAM_2D_ARRAY:"param2DArray"},se={SIMPLE_USER:1},ue=(r={},(0,d.Z)(r,p.KZ$.Global,1),(0,d.Z)(r,p.KZ$.DeviceModel,2),(0,d.Z)(r,p.KZ$.Group,3),(0,d.Z)(r,p.KZ$.Site,4),(0,d.Z)(r,p.KZ$.Device,5),(0,d.Z)(r,p.KZ$.ExternalDevice,6),r),ce="unassigned",de="DESKTOP",pe="Poly Lens Desktop",fe="Lens Desktop",me="MOBILE",he="Poly Lens Mobile",ye="Lens Mobile",ge="initialClient",Te="Lens Desktop Windows",ve="Lens Desktop Mac",Ee="Lens Mobile Android",_e="Lens Mobile iOS",Se="lens-desktop-windows",Ne="lens-desktop-mac",Ie="lens-mobile-android",Ce="invalid cidr value",Ae={OFFLINE_DEVICES:"Devices Offline",AVAILABLE_UPDATES:"Available Updates",SITE_UNASSIGNED:"Unassigned Site"},Re={DEVICE_CAN_BE_UPDATED:"SOFTWARE_UPDATES_AVAILABLE",DEVICE_OFFLINE:"DEVICES_OFFLINE",LICENSES_EXPIRING:"LICENSES_EXPIRING"};!function(e){e.ZIP=".zip",e.CSV=".csv"}(te||(te={}));var Oe,be,Le=[".csv","text/csv","application/vnd.ms-excel","application/csv","text/x-csv","application/x-csv","text/comma-separated-values","text/x-comma-separated-values"],ke=["application/zip","application/x-zip-compressed","application/x-winzip","application/x-zip","multipart/x-zip"],De=(o={},(0,d.Z)(o,te.ZIP,ke),(0,d.Z)(o,te.CSV,Le),o),xe=["application/x-pkcs12"],Pe={MIGRATION:[],DEVICE:["device_model","mac_address","serial_number"],DEVICE_GROUP:["group_name","device_models"],SITE:["site_name"],DEVICE_MODEL:["device_models"]},Ue="device_groups",we="site_name",Me="room_name",Ve=35e5,je=Ve/1e6,Fe="mac_address,serial_number,device_model,feature.lens.enabled,lcl.datetime.time.24HourClock,powerSaving.enable,lcl.ml.lang\n64167F8ABCDE,64167F8ABCDE,Trio 8300,1,1,0,English_United_States",Be="group_name,description,device_models,feature.lens.enabled,lcl.datetime.time.24HourClock,powerSaving.enable,lcl.ml.lang\nMy Group,group description,Trio 8300|Trio 8500,1,1,0,English_United_States",Ze='site_name,description,location_name,subnets,device_models,feature.lens.enabled,lcl.datetime.time.24HourClock,powerSaving.enable,lcl.ml.lang\nMy Site,site description,Austin,"{""public-subnet-list"":[{""mask-length"":32,""ip-address"":""86.183.98.84"",""private-subnet-list"":[{""mask-length"":24,""ip-address"":""192.168.1.0""}]}]}",Trio 8300|Trio 8500,1,1,0,English_United_States',Ge="device_models,feature.lens.enabled,lcl.datetime.time.24HourClock,powerSaving.enable,lcl.ml.lang\nTrio 8300|Trio 8500|Trio 8800,1,1,0,English_United_States",Je="DEVICE EXISTS ON THIS TENANT",He="DEVICE EXISTS ON DIFFERENT TENANT",We="INVALID MAC OR SN",Ye="INCORRECT",qe="IMPORT_ERROR_DEVICE_EXISTS_SAME_TENANT",Ke="IMPORT_ERROR_DEVICE_EXISTS_DIFFERENT_TENANT",ze="IMPORT_ERROR_INVALID_MAC_OR_SN",Xe="FAILED TO SET SITE",$e="FAILED TO SET SITE CONFIGURATION",Qe="no models provided",en="FAILED TO SET SITE TOPOLOGY",nn="IMPORT_ERROR_DEVICE_COULD_NOT_BE_ASSIGNED_TO_SITE",tn="DEVICE COULD NOT BE ASSIGNED TO SITE",an="Software Update",rn="LATEST",on="autoUpdateLatest",ln="swUpdateSource",sn="swUpdatePath",un="swSupportUpdatePath",cn="customSwUpdatePath",dn="customSwSupportUpdatePath",pn="upgradeTimeFrameEnable",fn="upgradeTimeFrameStart",mn="upgradeTimeFrameStop",hn="upgradePollingInterval",yn=[{models:["Rove B2","Rove B4"],additionalUpdatePathsToDisplay:["Rove B2","Rove B4","Rove 30","Rove 40","Rove R8"]}],gn=[].concat(["VVX","CCX","Trio","RealPresence Trio","VVX Family","Trio Family","CCX Family","Edge","Poly Edge E Family"],["ATA Family"]),Tn="3.4",vn="3.5",En="1.0.1.5589",_n="5.9.8",Sn="4.1",Nn="policy",In="changes",Cn="device-config",An={LANGUAGE:[{label:f.ZP.t("LANGUAGE"),tooltipText:f.ZP.t("LANGUAGE_DESC"),options:y.languageOpts,accessor:"general.language",type:"dropdown"}],GENERAL:[{label:f.ZP.t("PARTICIPANT_COUNT"),tooltipText:f.ZP.t("PARTICIPANT_COUNT_DESC"),options:[],accessor:"video.participant_count",type:"checkbox"},{label:f.ZP.t("ANTI_FLICKER"),tooltipText:f.ZP.t("ANTI_FLICKER_DESC"),options:y.antiFlickerOpts,accessor:"video.anti_flicker",type:"dropdown"},{label:f.ZP.t("ANSWER_VOICE_PROMPT"),tooltipText:f.ZP.t("ANSWER_VOICE_PROMPT_DESC"),options:[],accessor:"call_control.answer_voice_prompt",type:"checkbox"},{label:f.ZP.t("ANSWERING_CALL_ALERT"),tooltipText:f.ZP.t("ANSWERING_CALL_ALERT_DESC"),options:[],accessor:"call_control.answering_call_alert",type:"checkbox"},{label:f.ZP.t("AUDIO_CHANNEL_TONE"),tooltipText:f.ZP.t("AUDIO_CHANNEL_TONE_DESC"),options:[],accessor:"call_control.audio_channel_tone",type:"checkbox"},{label:f.ZP.t("AUDIO_SENSING"),tooltipText:f.ZP.t("AUDIO_SENSING_DESC"),options:[],accessor:"call_control.audio_sensing",type:"checkbox"},{label:f.ZP.t("CLOSE_CONVERSATION_LIMITING"),tooltipText:f.ZP.t("CLOSE_CONVERSATION_LIMITING_DESC"),options:y.closeConversationLimitingOpts,accessor:"call_control.close_conversation_limiting",type:"dropdown"},{label:f.ZP.t("CALLER_ID"),tooltipText:f.ZP.t("CALLER_ID_DESC"),options:[],accessor:"call_control.caller_id",type:"checkbox"},{label:f.ZP.t("MUTE_OFF_ALERT"),tooltipText:f.ZP.t("MUTE_OFF_ALERT_DESC"),options:y.muteOffAlertOpts,accessor:"call_control.mute_off_alert",type:"dropdown"},{label:f.ZP.t("MUTE_REMINDER_MODE"),tooltipText:f.ZP.t("MUTE_REMINDER_MODE_DESC"),options:y.muteReminderModeOpts,accessor:"call_control.mute_reminder_mode",type:"dropdown"},{label:f.ZP.t("MUTE_REMINDER_TIMING"),tooltipText:f.ZP.t("MUTE_REMINDER_TIMING_DESC"),options:y.muteReminderTimingOpts,accessor:"call_control.mute_reminder_timing",type:"dropdown"},{label:f.ZP.t("ONLINE_INDICATOR"),tooltipText:f.ZP.t("ONLINE_INDICATOR_DESC"),options:[],accessor:"call_control.online_indicator",type:"checkbox"},{label:f.ZP.t("AUTO_ANSWER_CRADLE"),tooltipText:f.ZP.t("AUTO_ANSWER_CRADLE_DESC"),options:[],accessor:"call_control.auto_answer_cradle",type:"checkbox"},{label:f.ZP.t("DEFAULT_PHONE_LINE"),tooltipText:f.ZP.t("DEFAULT_PHONE_LINE_DESC"),options:y.defaultPhoneLineOpts,accessor:"call_control.default_phone_line",type:"dropdown"},{label:f.ZP.t("SECOND_INCOMING_CALL"),tooltipText:f.ZP.t("SECOND_INCOMING_CALL_DESC"),options:y.secondIncomingCallOpts,accessor:"call_control.second_incoming_call",type:"dropdown"},{label:f.ZP.t("TONE_CONTROL"),tooltipText:f.ZP.t("TONE_CONTROL_DESC"),options:y.toneControlOpts,accessor:"audio.tone_control",type:"dropdown"},{label:f.ZP.t("MUTE_ALERTS"),tooltipText:f.ZP.t("MUTE_ALERTS_DESC"),options:[],accessor:"call_control.mute_alerts",type:"checkbox"},{label:f.ZP.t("MUTE_ALERT_TYPES"),tooltipText:f.ZP.t("MUTE_ALERT_TYPES_DESC"),options:y.muteAlertTypeOpts,accessor:"call_control.mute_alert_type",type:"dropdown"},{label:f.ZP.t("NOTIFICATION_TONES"),tooltipText:f.ZP.t("NOTIFICATION_TONES_DESC"),options:[],accessor:"call_control.notification_tones",type:"checkbox"},{label:f.ZP.t("CALL_ANNOUNCEMENT"),tooltipText:f.ZP.t("CALL_ANNOUNCEMENT_DESC"),options:[],accessor:"call_control.call_announcement",type:"dropdown"},{label:f.ZP.t("CONNECTION_INDICATION"),tooltipText:f.ZP.t("CONNECTION_INDICATION_DESC"),options:y.connectionIndicationOpts,accessor:"wireless.connection_indication",type:"dropdown"},{label:f.ZP.t("ROCKET_BUTTON"),tooltipText:f.ZP.t("ROCKET_BUTTON_DESC"),options:y.rocketButtonOpts,accessor:"call_control.rocket_button",type:"dropdown"},{label:f.ZP.t("BATTERY_STATUS"),tooltipText:f.ZP.t("BATTERY_STATUS_DESC"),options:[],accessor:"general.battery_status_alert",type:"checkbox"}],RINGTONES_AND_VOLUME:[{label:f.ZP.t("DESK_PHONE_RINGTONE"),tooltipText:f.ZP.t("DESK_PHONE_RINGTONE_DESC"),options:y.deskPhoneRingtoneOpts,accessor:"call_control.desk_phone_ringtone",type:"dropdown"},{label:f.ZP.t("DESK_PHONE_VOLUME"),tooltipText:"",options:y.deskPhoneVolumeOpts,accessor:"call_control.desk_phone_volume",type:"dropdown"},{label:f.ZP.t("MOBILE_PHONE_RINGTONE"),tooltipText:f.ZP.t("MOBILE_PHONE_RINGTONE_DESC"),options:y.mobilePhoneRingtoneOpts,accessor:"call_control.mobile_phone_ringtone",type:"dropdown"},{label:f.ZP.t("MOBILE_PHONE_VOLUME"),tooltipText:"",options:y.mobilePhoneVolumeOpts,accessor:"call_control.mobile_phone_volume",type:"dropdown"},{label:f.ZP.t("COMPUTER_RINGTONE"),tooltipText:f.ZP.t("COMPUTER_RINGTONE_DESC"),options:y.computerRingtoneOpts,accessor:"call_control.computer_ringtone",type:"dropdown"},{label:f.ZP.t("COMPUTER_VOLUME"),tooltipText:"",options:y.computerVolumeOpts,accessor:"call_control.computer_volume",type:"dropdown"},{label:f.ZP.t("CHARGE_VIBRATION"),tooltipText:f.ZP.t("CHARGE_VIBRATION_DESC"),options:[],accessor:"general.charge_vibration",type:"checkbox"},{label:f.ZP.t("SIDETONE"),tooltipText:f.ZP.t("SIDETONE_DESC"),options:y.sidetoneOpts,accessor:"call_control.sidetone",type:"dropdown"},{label:f.ZP.t("RING_VIBRATION"),tooltipText:f.ZP.t("RING_VIBRATION_DESC"),options:[],accessor:"call_control.ring_vibration",type:"checkbox"},{label:f.ZP.t("VOLUME_LEVEL_TONES"),tooltipText:f.ZP.t("VOLUME_LEVEL_TONES_DESC"),options:y.volumeLevelIndicatorsOpts,accessor:"audio.volume_level_indicators",type:"dropdown"},{label:f.ZP.t("INDEPENDENT_VOLUME_CONTROL"),tooltipText:f.ZP.t("INDEPENDENT_VOLUME_CONTROL_DESC"),options:[],accessor:"audio.independent_volume_control",type:"checkbox"},{label:f.ZP.t("ANC_TIMEOUT"),tooltipText:f.ZP.t("ANC_TIMEOUT_DESC"),options:y.ancTimeoutOpts,accessor:"audio.anc_timeout",type:"dropdown"},{label:f.ZP.t("MUTE_REMINDER_VOLUME"),tooltipText:f.ZP.t("MUTE_REMINDER_VOLUME_DESC"),options:y.muteReminderVolumeOpts,accessor:"call_control.mute_reminder_volume",type:"dropdown"},{label:f.ZP.t("AUDIO_PROMPT_VOLUME"),tooltipText:f.ZP.t("AUDIO_PROMPT_VOLUME_DESC"),options:y.audioPromptVolumeOpts,accessor:"call_control.audio_prompt_volume",type:"dropdown"},{label:f.ZP.t("WEARING_PREFERENCE"),tooltipText:f.ZP.t("WEARING_PREFERENCE_DESC"),options:y.wearingPreferenceOpts,accessor:"call_control.wearing_preference",type:"dropdown"},{label:f.ZP.t("RINGTONE"),tooltipText:f.ZP.t("RINGTONE_DESC"),options:[],accessor:"call_control.default_ringtone",type:"checkbox"},{label:f.ZP.t("VOLUME_ALERTS"),tooltipText:f.ZP.t("VOLUME_ALERTS_DESC"),options:y.volumeAlertsOpts,accessor:"audio.volume_alerts",type:"dropdown"}],AUDIO:[{label:f.ZP.t("POLY_ACOUSTIC_FENCE"),tooltipText:f.ZP.t("POLY_ACOUSTIC_FENCE_DESC"),options:y.acousticFenceOpts,accessor:"audio.acoustic_fence",type:"dropdown"},{label:f.ZP.t("NOISE_BLOCK_AI"),tooltipText:f.ZP.t("NOISE_BLOCK_AI_DESC"),options:[],accessor:"audio.noise_block_ai",type:"checkbox"},{label:f.ZP.t("STEREO_AUDIO"),tooltipText:f.ZP.t("STEREO_AUDIO_DESC"),options:[],accessor:"audio.stereo",type:"checkbox"},{label:f.ZP.t("AUDIO_BASS"),tooltipText:f.ZP.t("AUDIO_BASS_DESC"),options:[],accessor:"audio.bass",type:"slider"},{label:f.ZP.t("AUDIO_TREBLE"),tooltipText:f.ZP.t("AUDIO_TREBLE_DESC"),options:[],accessor:"audio.treble",type:"slider"}],SENSORS_AND_PRESENCE:[{label:f.ZP.t("SENSOR_SETTINGS"),tooltipText:f.ZP.t("SENSOR_SETTINGS_DESC"),options:[],accessor:"general.sensor_settings_enabled",type:"checkbox"},{label:f.ZP.t("ACTIVE_CALL_AUDIO"),tooltipText:f.ZP.t("ACTIVE_CALL_AUDIO_DESC"),options:y.activeCallAudioOpts,accessor:"call_control.active_call_audio",type:"dropdown"},{label:f.ZP.t("AUTO_ANSWER"),tooltipText:f.ZP.t("AUTO_ANSWER_DESC"),options:[],accessor:"call_control.auto_answer",type:"checkbox"},{label:f.ZP.t("AUTO_PAUSE_MUSIC"),tooltipText:f.ZP.t("AUTO_PAUSE_MUSIC_DESC"),options:[],accessor:"audio.auto_pause_music",type:"checkbox"},{label:f.ZP.t("CALL_BUTTON_LOCK"),tooltipText:f.ZP.t("CALL_BUTTON_LOCK_DESC"),options:[],accessor:"call_control.call_button_lock",type:"checkbox"},{label:f.ZP.t("SMART_AUDIO_TRANSFER"),tooltipText:f.ZP.t("SMART_AUDIO_TRANSFER_DESC"),options:[],accessor:"call_control.smart_audio_transfer",type:"checkbox"},{label:f.ZP.t("AUTO_MUTE"),tooltipText:f.ZP.t("AUTO_MUTE_DESC"),options:[],accessor:"call_control.auto_mute",type:"checkbox"}],SOFTPHONES_AND_MEDIA_PLAYERS:[{label:f.ZP.t("DIALTONE"),tooltipText:f.ZP.t("DIALTONE_DESC"),options:[],accessor:"call_control.dialtone",type:"checkbox"}],WIRELESS:[{label:f.ZP.t("AUDIO_QUALITY"),tooltipText:f.ZP.t("AUDIO_QUALITY_DESC"),options:y.audioQualityOpts,accessor:"audio.audio_quality",type:"dropdown"},{label:f.ZP.t("EXTENDED_RANGE"),tooltipText:f.ZP.t("EXTENDED_RANGE_DESC"),options:[],accessor:"audio.extended_range",type:"checkbox"},{label:f.ZP.t("HD_VOICE"),tooltipText:f.ZP.t("HD_VOICE_DESC"),options:y.hdVoiceOpts,accessor:"call_control.hd_voice",type:"dropdown"},{label:f.ZP.t("AUTO_CONNECT_MOBILE"),tooltipText:f.ZP.t("AUTO_CONNECT_MOBILE_DESC"),options:y.autoConnectMobileOpts,accessor:"call_control.auto_connect_mobile",type:"dropdown"},{label:f.ZP.t("BLUETOOTH"),tooltipText:f.ZP.t("BLUETOOTH_DESC"),options:[],accessor:"wireless.bluetooth",type:"checkbox"},{label:f.ZP.t("BLUETOOTH_STREAMING"),tooltipText:f.ZP.t("BLUETOOTH_STREAMING_DESC"),options:y.bluetoothStreamingOpts,accessor:"wireless.bluetooth_streaming",type:"dropdown"},{label:f.ZP.t("DESK_PHONE_AUDIO_BANDWIDTH"),tooltipText:f.ZP.t("DEVICE_AUDIO_BANDWIDTH_DESC",{device:"desk phone"}),options:y.deskPhoneAudioBandwidthOpts,accessor:"call_control.desk_phone_audio_bandwidth",type:"dropdown"},{label:f.ZP.t("COMPUTER_AUDIO_BANDWIDTH"),tooltipText:f.ZP.t("DEVICE_AUDIO_BANDWIDTH_DESC",{device:"computer"}),options:y.computerAudioBandwidthOpts,accessor:"call_control.computer_audio_bandwidth",type:"dropdown"},{label:f.ZP.t("MOBILE_VOICE_COMMANDS"),tooltipText:f.ZP.t("MOBILE_VOICE_COMMANDS_DESC"),options:[],accessor:"call_control.mobile_voice_commands",type:"checkbox"},{label:f.ZP.t("OVER_AIR_SUBSCRIPTION"),tooltipText:f.ZP.t("OVER_AIR_SUBSCRIPTION_DESC"),options:[],accessor:"call_control.over_air_subscription",type:"checkbox"},{label:f.ZP.t("RANGE"),tooltipText:f.ZP.t("RANGE_DESC"),options:y.rangeOpts,accessor:"call_control.range",type:"dropdown"},{label:f.ZP.t("STREAMING_AUDIO"),tooltipText:f.ZP.t("STREAMING_AUDIO_DESC"),options:[],accessor:"audio.streaming_audio",type:"checkbox"},{label:f.ZP.t("EXCLUSIVE_CONNECTION"),tooltipText:f.ZP.t("EXCLUSIVE_CONNECTION_DESC"),options:[],accessor:"wireless.exclusive_connection",type:"checkbox"},{label:f.ZP.t("SECURE_BLUETOOTH"),tooltipText:f.ZP.t("SECURE_BLUETOOTH_DESC"),options:[],accessor:"wireless.secure_bluetooth",type:"checkbox"},{label:f.ZP.t("AUTO_DISCONNECT_CRADLE"),tooltipText:f.ZP.t("AUTO_DISCONNECT_CRADLE_DESC"),options:[],accessor:"call_control.auto_disconnect_cradle",type:"checkbox"}],ADVANCED:[{label:f.ZP.t("G616"),tooltipText:f.ZP.t("G616_DESC"),options:[],accessor:"audio.g616",type:"checkbox"},{label:f.ZP.t("ANTI_STARTLE"),tooltipText:f.ZP.t("ANTI_STARTLE_DESC"),options:y.antiStartleOpts,accessor:"audio.anti_startle",type:"dropdown"},{label:f.ZP.t("NOISE_EXPOSURE_LIMIT"),tooltipText:f.ZP.t("NOISE_EXPOSURE_LIMIT_DESC"),options:y.noiseExposureLimitOpts,accessor:"audio.noise_exposure_limit",type:"dropdown"},{label:f.ZP.t("HOURS_ON_PHONE_DAY"),tooltipText:f.ZP.t("HOURS_ON_PHONE_DAY_DESC"),options:y.hoursOnPhoneDayOpts,accessor:"audio.hours_on_phone_per_day",type:"dropdown"},{label:f.ZP.t("INCREASE_QD_HEADSET_VOLUME"),tooltipText:f.ZP.t("INCREASE_QD_HEADSET_VOLUME_DESC"),options:y.increaseQdHeadsetVolumeOpts,accessor:"call_control.increase_qd_headset_volume",type:"dropdown"}],VIDEO_CONTROLS:[{label:f.ZP.t("BRIGHTNESS"),tooltipText:f.ZP.t("BRIGHTNESS_DESC"),options:[],accessor:"video.brightness",type:"slider"},{label:f.ZP.t("CONTRAST"),tooltipText:f.ZP.t("CONTRAST_DESC"),options:[],accessor:"video.contrast",type:"slider"},{label:f.ZP.t("HUE"),tooltipText:f.ZP.t("HUE_DESC"),options:[],accessor:"video.hue",type:"slider"},{label:f.ZP.t("SATURATION"),tooltipText:f.ZP.t("SATURATION_DESC"),options:[],accessor:"video.saturation",type:"slider"},{label:f.ZP.t("SHARPNESS"),tooltipText:f.ZP.t("SHARPNESS_DESC"),options:[],accessor:"video.sharpness",type:"slider"},{label:f.ZP.t("GAMMA"),tooltipText:f.ZP.t("GAMMA_DESC"),options:[],accessor:"video.gamma",type:"slider"},{label:f.ZP.t("WHITE_BALANCE"),tooltipText:f.ZP.t("WHITE_BALANCE_DESC"),options:[],accessor:"video.white_balance",type:"slider"},{label:f.ZP.t("BACK_LIGHT_COMPENSATION"),tooltipText:f.ZP.t("BACK_LIGHT_COMPENSATION_DESC"),options:[],accessor:"video.back_light_compensation",type:"slider"},{label:f.ZP.t("GAIN"),tooltipText:f.ZP.t("GAIN_DESC"),options:[],accessor:"video.gain",type:"slider"},{label:f.ZP.t("FOCUS"),tooltipText:f.ZP.t("FOCUS_DESC"),options:[],accessor:"video.focus",type:"slider"},{label:f.ZP.t("EXPOSURE"),tooltipText:f.ZP.t("EXPOSURE_DESC"),options:[],accessor:"video.exposure",type:"slider"},{label:f.ZP.t("WIDE_DYNAMIC_RANGE"),tooltipText:f.ZP.t("WIDE_DYNAMIC_RANGE_DESC"),options:[],accessor:"video.wide_dynamic_range",type:"checkbox"},{label:f.ZP.t("TRACKING_MODE"),tooltipText:f.ZP.t("TRACKING_MODE_DESC"),options:y.trackingModeOpts,accessor:"video.tracking_mode",type:"dropdown"},{label:f.ZP.t("MAX_ZOOM"),tooltipText:f.ZP.t("MAX_ZOOM_DESC"),options:y.maxZoomOpts,accessor:"video.max_zoom",type:"dropdown"},{label:f.ZP.t("CAMERA_MOVEMENT"),tooltipText:f.ZP.t("CAMERA_MOVEMENT_DESC"),options:y.cameraMovementOpts,accessor:"video.camera_movement",type:"dropdown"},{label:f.ZP.t("TRACKING_SPEED"),tooltipText:f.ZP.t("TRACKING_SPEED_DESC"),options:y.trackingSpeedOpts,accessor:"video.tracking_speed",type:"dropdown"},{label:f.ZP.t("FRAME_SIZE"),tooltipText:f.ZP.t("FRAME_SIZE_DESC"),options:y.frameSizeOpts,accessor:"video.frame_size",type:"dropdown"},{label:f.ZP.t("ZOOM"),tooltipText:f.ZP.t("ZOOM_DESC"),options:[],accessor:"video.zoom",type:"slider"},{label:f.ZP.t("SKIN_ENHANCEMENT"),tooltipText:f.ZP.t("SKIN_ENHANCEMENT_DESC"),options:[],accessor:"video.skin_enhancement",type:"checkbox"},{label:f.ZP.t("PAN"),tooltipText:f.ZP.t("PAN_DESC"),options:[],accessor:"video.pan",type:"slider"},{label:f.ZP.t("TILT"),tooltipText:f.ZP.t("TILT_DESC"),options:[],accessor:"video.tilt",type:"slider"}],DIAGNOSTICS:[{label:f.ZP.t("ONSCREEN_DISPLAY"),tooltipText:f.ZP.t("ONSCREEN_DISPLAY_DESC"),options:[],accessor:"video.onscreen_display",type:"checkbox"}],RESET_DEVICE:[{label:f.ZP.t("RESTORE_DEFAULTS"),tooltipText:"",options:[],accessor:"general.restore_defaults",type:"button"}],SOFTWARE_UPDATE:[{label:f.ZP.t("AUTO_UPDATE_LATEST"),tooltipText:f.ZP.t("AUTO_UPDATE_LATEST_DESC",{setting:f.ZP.t("DELAY_SOFTWARE_UPDATE")}),options:[],accessor:"software_update.policy.use_latest",type:"checkbox"},{label:f.ZP.t("DOWNLOAD_SOURCE"),tooltipText:"",options:y.updateSourceOpts,accessor:"software_update.policy.url_source",type:"dropdown"},{label:f.ZP.t("UPDATE_SERVER_ADDRESS"),tooltipText:f.ZP.t("UPDATE_SERVER_ADDRESS_DESC"),options:[],accessor:"software_update.policy.custom_storage_location",type:"text"},{label:f.ZP.t("SELECT_VERSION"),tooltipText:"",options:[],accessor:"software_update.policy.version",type:"dropdown"},{label:f.ZP.t("DELAY_SOFTWARE_UPDATE"),tooltipText:f.ZP.t("DELAY_SOFTWARE_UPDATE_DESC",{max:3,maxOrdinal:"3rd"}),options:y.delaySwUpdateOptions,accessor:"software_update.policy.allow_update_postpone_times",type:"dropdown",convert:{in:String,out:Number}}]},Rn=[{accessor:"call_control.auto_answer",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"call_control.smart_audio_transfer",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"call_control.call_button_lock",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"audio.auto_pause_music",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"call_control.auto_mute",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"call_control.active_call_audio",action:"disable",when:[{accessor:"general.sensor_settings_enabled",value:!1}]},{accessor:"audio.hours_on_phone_per_day",action:"hide",when:[{accessor:"audio.noise_exposure_limit",value:"off"}]},{accessor:"call_control.mute_reminder_timing",action:"hide",when:[{accessor:"call_control.mute_reminder_mode",value:"off"}]},{accessor:"call_control.mute_reminder_timing",action:"disable",when:[{accessor:"call_control.mute_reminder_mode",value:"voiceAudible"},{accessor:"call_control.mute_reminder_mode",value:"voiceVisible"},{accessor:"call_control.mute_reminder_mode",value:"voiceVisibleAndAudible"}]},{accessor:"call_control.mute_alert_type",action:"disable",when:[{accessor:"call_control.mute_alerts",value:!1}]},{accessor:"video.exposure",action:"disable",when:[{accessor:"video.exposure_auto_enabled",value:!0}]},{accessor:"video.white_balance",action:"disable",when:[{accessor:"video.white_balance_auto_enabled",value:!0}]},{accessor:"video.focus",action:"disable",when:[{accessor:"video.focus_auto_enabled",value:!0}]},{accessor:"software_update.policy.url_source",action:"hide",when:[{accessor:"software_update.policy.use_latest",value:!0}]},{accessor:"software_update.policy.version",action:"hide",when:[{accessor:"software_update.policy.use_latest",value:!0}]},{accessor:"software_update.policy.custom_storage_location",action:"hide",when:[{accessor:"software_update.policy.use_latest",value:!0},{accessor:"software_update.policy.url_source",value:p.EOh.StandardUrl},{accessor:"software_update.policy.url_source",value:""}]}],On=[{accessor:"software_update.policy.version",rule:"required",when:[{accessor:"software_update.policy.url_source",value:p.EOh.StandardUrl},{accessor:"software_update.policy.url_source",value:p.EOh.CustomUrl}]},{accessor:"software_update.policy.custom_storage_location",rule:"required",when:[{accessor:"software_update.policy.url_source",value:p.EOh.CustomUrl}]}],bn=10,Ln="General",kn="Other",Dn=1,xn="no_grouping",Pn="Main",Un="Line",wn="reg.limit",Mn="NUM_REPLACE_",Vn="Call Configuration",jn="Global Settings",Fn="Lines",Bn="reg.NUM_REPLACE_1.server",Zn="Server",Gn="_lens.integration.teams.sipgw.enable",Jn={MTR:"mtr"},Hn={STUDIO_E70:"d0c6cda0-7ac0-4d81-8219-ad119648d8b5",STUDIO_P15:"7c5ecee1-52e1-47a6-8e13-7f31c429bd76",STUDIO_R30:"ac6d7572-f858-461c-9431-e962d2155dfc",STUDIO_USB:"2aee7671-9dfc-4970-b197-bbe27508e220",MTR:"099331ed-293e-44a1-b9f1-21b78d298e6d"},Wn={Clariti:"99192d2a-5006-4199-bef6-ddfaff7136e4",RoomPC:"547d9157-2c2f-40ae-ac6d-cc53389afea0"},Yn="\xa0",qn="75GABnONZmg",Kn="https://www.poly.com/us/en/products/video-conferencing/clariti";!function(e){e.DEVICE_ADOPTION="DEVICE_ADOPTION",e.DEVICE_HEALTH="DEVICE_HEALTH",e.ROOM_UTILIZATION="ROOM_UTILIZATION",e.MEETING_BEHAVIORS="MEETING_BEHAVIORS"}(Oe||(Oe={})),function(e){e.CALL_USAGE="CALL_USAGE",e.DEVICES_USED="DEVICES_USED",e.DEVICES_UNUSED="DEVICES_UNUSED",e.DEVICES_OFFLINE="DEVICES_OFFLINE",e.DEVICES_OUT_OF_SERVICE="DEVICES_OUT_OF_SERVICE",e.MEETING_SIZE="MEETING_SIZE",e.ROOM_USAGE="ROOM_USAGE",e.MEETINGS_EMPTY="MEETINGS_EMPTY",e.MEETINGS_SERIES_EMPTY="MEETINGS_SERIES_EMPTY",e.ROOM_USAGE_UNSCHEDULED="ROOM_USAGE_UNSCHEDULED",e.MEETINGS_LONG="MEETINGS_LONG",e.MEETINGS_LATE="MEETINGS_LATE"}(be||(be={}));var zn=(l={},(0,d.Z)(l,p.WDG.Device,[Oe.DEVICE_ADOPTION,Oe.DEVICE_HEALTH]),(0,d.Z)(l,p.WDG.Room,[Oe.ROOM_UTILIZATION,Oe.MEETING_BEHAVIORS]),l),Xn=(s={},(0,d.Z)(s,Oe.DEVICE_ADOPTION,[be.CALL_USAGE,be.DEVICES_USED,be.DEVICES_UNUSED]),(0,d.Z)(s,Oe.DEVICE_HEALTH,[be.DEVICES_OFFLINE,be.DEVICES_OUT_OF_SERVICE]),(0,d.Z)(s,Oe.ROOM_UTILIZATION,[be.MEETING_SIZE,be.ROOM_USAGE]),(0,d.Z)(s,Oe.MEETING_BEHAVIORS,[be.MEETINGS_EMPTY,be.MEETINGS_SERIES_EMPTY,be.ROOM_USAGE_UNSCHEDULED,be.MEETINGS_LONG,be.MEETINGS_LATE]),s),$n=(u={},(0,d.Z)(u,be.CALL_USAGE,"Call Usage"),(0,d.Z)(u,be.DEVICES_USED,"Devices used"),(0,d.Z)(u,be.DEVICES_UNUSED,"Devices unused"),(0,d.Z)(u,be.DEVICES_OFFLINE,"Offline devices"),(0,d.Z)(u,be.DEVICES_OUT_OF_SERVICE,"Devices out of service"),(0,d.Z)(u,be.MEETING_SIZE,"Average meeting size"),(0,d.Z)(u,be.ROOM_USAGE,"Room usage"),(0,d.Z)(u,be.MEETINGS_EMPTY,"Rooms scheduled but not used"),(0,d.Z)(u,be.MEETINGS_SERIES_EMPTY,"Recurring meetings with no participants"),(0,d.Z)(u,be.ROOM_USAGE_UNSCHEDULED,"Unscheduled room usage"),(0,d.Z)(u,be.MEETINGS_LONG,"Meetings that run long"),(0,d.Z)(u,be.MEETINGS_LATE,"Meetings that start late"),u),Qn=Object.fromEntries(Object.entries($n).map((function(e){var n=(0,c.Z)(e,2),t=n[0];return[n[1],t]}))),et=[be.MEETING_SIZE,be.DEVICES_USED,be.ROOM_USAGE_UNSCHEDULED],nt={PATTENS:"#E0F6FF",DAINTREE:"#00263e",FUSCHIA:"#b366af",PUERTO:"#4ac6b0",NAVAJO:"#FFdeAC",MONA_LISA:"#FF9597"},tt={PRIMARY:"#D1E5FA",LINE_1:"#012244",LINE_2:"#014388",LINE_3:"#0270E3",LINE_4:"#67A9EE"},at={PRIMARY:"#3A4958",LINE_1:"#2C6199",LINE_2:"#49A1FF",LINE_3:"#92C7FF",LINE_4:"#C8E3FF"},it={PRIMARY:"#F3F9FB",LINE_1:"#806EF1",LINE_2:"#E956AD",LINE_3:"#4DB0C4",LINE_4:"#9FAFB2"},rt={PRIMARY:"#4A677D",LINE_1:"#8E84CF",LINE_2:"#E180BA",LINE_3:"#58CAE2",LINE_4:"#9FAFB2"},ot={LIGHT:{PRIMARY:{fillColorRGBA:"rgba(209, 229, 250, 0.6)"}},DARK:{PRIMARY:{fillColorRGBA:"rgba(58, 73, 88, 0.6)",strokeColor:"#576E85"}},LIGHT_HIGH_CONTRAST:{PRIMARY:{fillColorRGBA:"rgba(243, 249, 251, 0.6)",strokeColor:"#83B2C1"}},DARK_HIGH_CONTRAST:{PRIMARY:{fillColorRGBA:"rgba(74, 103, 125, 0.6)"}}},lt=5,st="https://developer.poly.com/",ut="https://api.lens.poly.com/",ct={MIN_LENGTH:8,MAX_LENGTH:128},dt="PC Room registration mismatch",pt=3},73451:function(e,n,t){"use strict";t.d(n,{Lq:function(){return f},Ls:function(){return _},Vd:function(){return d},YY:function(){return E},i1:function(){return T},ig:function(){return y},uR:function(){return v},xU:function(){return g},xb:function(){return m},zf:function(){return p}});var a=t(95764),i=t(81034),r=(t(96902),t(82933)),o=t(54831),l=t(77485),s=t(8960),u=t(29938),c=["requirement","redirectUrl"],d=function(e){return o.Vd(e)},p=function(e){return o.zf(d(e))},f=function(e){return o.Lq(d(e))},m=function(e){var n=e.requirement,t=e.children,a=e.redirectUrl,i="string"===typeof n?d(n):n;return(0,u.jsx)(o.xb,{requirement:i,reqName:n,redirectUrl:a,children:t})};function h(e){return function(n){var t=n.requirement,r=n.redirectUrl,o=(0,i.Z)(n,c);return(0,u.jsx)(m,{requirement:t,redirectUrl:r,children:(0,u.jsx)(e,(0,a.Z)({},o))})}}var y=h(r.rU),g=h(r.OL),T=h(r.AW),v=h(l.Z),E=h((function(e){return(0,u.jsx)("button",(0,a.Z)((0,a.Z)({},e),{},{children:e.children}))})),_=h(s.PS)},87698:function(e,n,t){"use strict";t.d(n,{Ho:function(){return p},c7:function(){return _},gn:function(){return m},GI:function(){return f},aU:function(){return d}});var a=t(96902),i=t(25825),r=t(95764),o=t(58512),l=t(14563),s=t(82933),u=t(88654),c=t(29938),d=function(){var e=(0,o.D3)().logout;return(0,a.useCallback)((function(n){return function(e,n){return(0,u._B)(),n((0,r.Z)({returnTo:window.location.origin,federated:!0},e))}(n,e)}),[e])},p=function(e){var n=e.history,t=e.children,a=(0,l.kF)(),i=a.authOClientId,r=a.auth0Domain,u=a.rootUrl,d=(0,s.Qc)(n.location.search).initialScreen;"login"!==d&&"signUp"!==d&&(d="login");return(0,c.jsx)(o.tw,{domain:r,clientId:i,redirectUri:window.location.origin+u+"/auth_callback",onRedirectCallback:function(e){n.replace((null===e||void 0===e?void 0:e.returnTo)||window.location.pathname)},initialScreen:d,useRefreshTokens:!0,maxAge:43200,cacheLocation:"localstorage",children:t})},f={returnTo:function(){var e,n=null!==(e=window.location)&&void 0!==e?e:{pathname:"/",search:"",hash:""};return[n.pathname,n.search,n.hash].join("")}},m=function(){var e=(0,i.$G)().t,n=d();return(0,c.jsxs)("span",{children:[(0,c.jsx)("p",{children:e("AUTH_EXPIRED")}),(0,c.jsx)("p",{children:(0,c.jsx)("button",{className:"btn",onClick:function(){return n()},children:e("AUTH_ERROR_ACTION")})})]})},h=t(99710),y=t(7584),g=t(90666),T=function(){var e=(0,i.$G)().t,n=d();return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:e("AUTH_ERROR")}),(0,c.jsx)("p",{children:(0,c.jsx)("button",{className:"btn",onClick:function(){return n()},children:e("AUTH_ERROR_ACTION")})})]})},v=t(47969),E=y.fy.createLogger("auth0",v.x),_=function(){var e=(0,o.D3)().error,n=(0,g.lm)(),t=(0,h.Z)(n,1)[0];return(0,a.useEffect)((function(){e&&(E.error("Authentication Error",e),t({id:"failed_to_renew_auth",message:(0,c.jsx)(T,{}),type:"error",dismiss:"NOT_DISMISSIBLE"}))}),[e]),(0,c.jsx)(c.Fragment,{})}},57049:function(e,n,t){"use strict";t.d(n,{k:function(){return M},f:function(){return L}});var a,i=t(95764),r=t(99710),o=t(96902),l=t(769),s=t(58141),u=t(86656),c=t(88729),d=t(75575),p=t(48930),f=t(25825),m=t(37473),h=t(90497),y=t(8960),g=t(1765),T=t(10631),v=t(97318),E=t(65860),_=t(86778),S=t(15705),N=t(89810),I=t(94597);!function(e){e[e.AddChart=0]="AddChart",e[e.DuplicateChart=1]="DuplicateChart",e[e.UpdateChart=2]="UpdateChart",e[e.RemoveChart=3]="RemoveChart"}(a||(a={}));var C=function(e,n){var t=(0,N.Z)(e.charts);switch(n.type){case a.AddChart:var r=n.payload.options;t.push((0,i.Z)({},r));break;case a.DuplicateChart:var o=n.payload.index;t.splice(o,0,(0,i.Z)({},t[o]));break;case a.RemoveChart:var l=n.payload.index;t.splice(l,1);break;case a.UpdateChart:var s=n.payload,u=s.index,c=s.options;t[u]=(0,i.Z)((0,i.Z)({},t[u]),c)}return{charts:t}},A=t(1987),R=t(53849),O=t(30290),b=t(29938),L=function(e,n){if(!e||!n)return"";switch(e){case p._AU.Year:return(0,s.Z)(n,h.zT.YEAR);case p._AU.Quarter:var t=(0,u.Z)(n),a=(0,c.Z)(n);return"".concat((0,s.Z)(t,h.zT.MONTH_SHORT)," - ").concat((0,s.Z)(a,h.zT.MONTH_SHORT_YEAR));case p._AU.Month:return(0,s.Z)(n,h.zT.MONTH_SHORT_YEAR);default:return(0,s.Z)(n,h.zT.MONTH_SHORT_DATE_YEAR)}},k=function(e){var n=e.className,t=e.topicGroup,a=e.currentTopic,i=e.onChange,r=(0,f.$G)().t;return(0,b.jsx)("div",{className:n,children:(0,b.jsxs)(y.lg,{children:[(0,b.jsx)("label",{className:"type-label selected letter-space-2 text-uppercase",htmlFor:"topics-select",children:r("INSIGHT")}),(0,b.jsx)(y.sV,{className:"lg box-shadow mt-5 border-radius-4",name:"topics",testid:t,value:a,placeholder:r("SELECT"),options:h.ev[t].map((function(e){return{value:e,text:(0,R.WB)(e)}})),onChange:function(e){return i({topic:e})}})]})})},D=function(e){var n=e.className,t=e.timeScope,a=e.timeStart,i=e.onChange,r=(0,f.$G)().t;return(0,b.jsx)("div",{className:n,"data-testid":"timescope-dropdown",children:(0,b.jsxs)(y.lg,{children:[(0,b.jsx)("label",{className:"type-label selected letter-space-2 text-uppercase",htmlFor:"date-select",children:r(t||"DATE_RANGE")}),(0,b.jsx)("div",{className:"dropdown-list md mt-5 box-shadow border-radius-4",children:(0,b.jsx)(S.Z,{timeScope:t||p._AU.Year,timeStart:a||(0,d.Z)(),onSubmit:function(e,n){return i({timeScope:e,timeStart:n})},children:function(e){return(0,b.jsxs)("div",{className:"input-wrapper","data-testid":"timescope-dropdown-list",children:[(0,b.jsx)("span",{className:"toggle-area","data-testid":"timescope-dropdown-input",children:(0,b.jsx)("input",{type:"text",placeholder:r("SELECT"),value:L(t,a),onClick:e,readOnly:!0,"data-testid":"timescope-input-element"})}),(0,b.jsx)("span",{className:"icon",onClick:e,children:(0,b.jsx)(y.si,{icon:"caret_down",className:"white"})})]})}})})]})})},x=function(e){var n,t=e.locationId,a=e.locationScope,i=e.category,o=e.options,l=o.topic,s=o.timeScope,u=o.timeStart,c=m.up[l],d=(0,f.$G)().t,p=(0,A.Aj)(),h=(0,m.Jd)(p,t,a,l,s,u,c),T=h.chartSeries,v=h.chartMeta,E=h.topicIndicator,S=h.fetching,N=(0,y.v$)("ANALYSIS_CHARTS_AGGREGATE_VALUE"),I=(0,r.Z)(N,1)[0],C=null===(n=(0,_.vm)(null===E||void 0===E?void 0:E.indicator))||void 0===n?void 0:n.toString(),O=null===v||void 0===v?void 0:v.childCount,L="".concat(i).concat(1===O?"":"_other");return(0,b.jsx)("div",{className:"full-height border-box relative",children:S?(0,b.jsx)(y.TF,{}):(0,b.jsxs)(b.Fragment,{children:[I&&(0,b.jsxs)("div",{className:"d-flex align-center",children:[(0,b.jsx)("h4",{className:"mr-5 text-lowercase",children:(0,R.zA)(l,C)}),(0,b.jsx)(y.eE,{size:"lg",className:"font-xs to-right",icon:"circle_info",iconTitle:"",position:"bottom",children:(0,R.tm)(l)})]}),(0,b.jsx)(g.U,{series:T,options:null===c||void 0===c?void 0:c.chartOptions}),I&&void 0!==O&&0!==O&&(0,b.jsxs)("div",{className:"count-overlay text-right font-xs",children:[(0,b.jsx)("strong",{children:O}),(0,b.jsxs)("span",{className:"opacity-50",children:[" ",d(L)]})]})]})})},P=function(e){var n=e.topicGroup,t=e.locationId,a=e.locationScope,i=e.category,o=e.options,l=e.updateChart,s=e.duplicateChart,u=e.removeChart,c=o.topic,d=o.timeScope,p=o.timeStart,m=o.minimized,h=(0,f.$G)().t,g=(0,y.v$)("ANALYSIS_CHARTS_AGGREGATE_VALUE"),T=(0,r.Z)(g,1)[0];return(0,b.jsxs)(E.Zb,{className:"mb-1 box-shadow",children:[(0,b.jsxs)("div",{className:"d-flex align-start ".concat(T||m?"p-15":"pt-15 ph-15"),children:[(0,b.jsx)(k,{className:"mr-15",topicGroup:n,currentTopic:c,onChange:l}),(0,b.jsx)(D,{className:T?"flex-1 mr-15":"mr-1",timeScope:d,timeStart:p,onChange:l}),!T&&(0,b.jsx)("div",{className:"flex-1 v-bottom",children:(0,b.jsx)(y.eE,{className:"font-xs pb-5",icon:"circle_info",iconTitle:"",position:"bottom",size:"lg",children:(0,R.tm)(c)})}),(0,b.jsxs)(y.PS,{className:"font-md mr-1",icon:"more_menu",iconTitle:h("MORE_OPTIONS"),"aria-label":h("MORE_OPTIONS"),children:[(0,b.jsx)("div",{className:"clickable pv-5 pl-15 pr-2 mt-5",onClick:s,children:h("DUPLICATE")}),(0,b.jsx)("div",{className:"clickable pv-5 pl-15 pr-2 mb-5",onClick:u,children:h("REMOVE")})]}),(0,b.jsx)(y.LD,{iconClassName:"white",icon:m?"arrows_expand":"arrows_shrink",title:h(m?"SHOW_CHART":"HIDE_CHART"),"aria-label":h(m?"SHOW_CHART":"HIDE_CHART"),onClick:function(){return l({minimized:!m})}})]}),(0,b.jsx)("div",{className:(0,O.e9)(["chart-container ph-15",m?"minimized":"",T?"":"aggregate-hidden"]),"data-testid":"chart-container",children:(0,b.jsx)(x,{locationId:t,locationScope:a,category:i,options:o})})]})},U=function(e){var n=e.topicGroup,t=e.addChart,a=(0,f.$G)().t,s=(0,o.useState)(!1),u=(0,r.Z)(s,2),c=u[0],d=u[1],m=l.Ry().shape({topic:l.nK().oneOf(h.ev[n]).required(),timeScope:l.nK().oneOf(Object.values(p._AU)).required(),timeStart:l.hT().required()});return(0,b.jsx)(E.Zb,{className:"add-chart mb-0 box-shadow".concat(c?"":" collapsed"),children:c?(0,b.jsx)(T.J9,{name:"TimeScopePicker",initialValues:{},validationSchema:m,onSubmit:function(e){t((0,i.Z)((0,i.Z)({},e),{},{minimized:!1})),d(!1)},onReset:function(){return d(!1)},validateOnChange:!0,children:function(e){var t=e.values,i=e.setFieldValue,r=e.submitForm,o=e.resetForm;return(0,b.jsxs)("div",{className:"d-flex align-center p-15",children:[(0,b.jsx)(k,{className:"mr-15",topicGroup:n,currentTopic:t.topic,onChange:function(e){var n=e.topic;return i("topic",n,!0)}}),(0,b.jsx)(D,{className:"flex-1 mr-15",timeScope:t.timeScope,timeStart:t.timeStart,onChange:function(e){var n=e.timeScope,t=e.timeStart;i("timeScope",n,!0),i("timeStart",t,!0)}}),(0,b.jsx)("button",{className:"btn ph-1 pv-5",type:"button",onClick:function(){return o()},children:a("CANCEL")}),(0,b.jsx)("button",{className:"btn btn-primary ph-1 pv-5 ml-1",type:"button",onClick:r,disabled:!t.topic||!t.timeScope,children:a("ADD")})]})}}):(0,b.jsx)("div",{className:"d-flex p-1",children:(0,b.jsxs)("span",{className:"d-flex align-center clickable",role:"button",onClick:function(){return d(!0)},children:[(0,b.jsx)(y.si,{icon:"circle_plus",className:"white pr-5"}),a("ADD_CHART")]})})})},w=function(e){var n=e.topicGroup,t=e.id,i=e.locationScope,l=e.category,s=(0,f.$G)().t,u=function(e){var n={charts:[{topic:h.ev[e][0],timeScope:p._AU.Year,timeStart:(0,I.Z)(new Date),minimized:!1}]};return(0,o.useReducer)(C,n)}(n),c=(0,r.Z)(u,2),d=c[0],m=c[1];return(0,b.jsxs)(v.$,{className:"mb-15",children:[(0,b.jsx)("div",{className:"mb-1 d-flex",children:(0,b.jsx)("h5",{children:s(n)})}),(0,b.jsxs)("div",{className:"ml-15",children:[d.charts.map((function(e,r){return(0,b.jsx)(P,{options:e,topicGroup:n,locationScope:i,locationId:t,category:l,updateChart:function(e){m({type:a.UpdateChart,payload:{index:r,options:e}})},duplicateChart:function(){return m({type:a.DuplicateChart,payload:{index:r}})},removeChart:function(){return m({type:a.RemoveChart,payload:{index:r}})}},"chart-".concat(r))})),(0,b.jsx)(U,{topicGroup:n,addChart:function(e){m({type:a.AddChart,payload:{options:e}})}})]})]},n)},M=function(e){var n=e.id,t=e.locationScope,a=e.category,i=e.topicGroupList,r=(0,o.useRef)(null);return(0,o.useEffect)((function(){var e;null!==(e=r.current)&&void 0!==e&&e.scrollTop&&r.current.scrollTo(0,0)}),[r,n,a,t]),(0,b.jsx)("div",{className:"analysis-charts scrollable",ref:r,children:i.map((function(e){return(0,b.jsx)(w,{id:n,locationScope:t,category:a,topicGroup:e},e)}))})}},65860:function(e,n,t){"use strict";t.d(n,{Zb:function(){return y},x4:function(){return g},eR:function(){return v},cE:function(){return E}});var a=t(99710),i=t(81034),r=t(96902),o=t(8960),l=t(25825),s=t(30290),u=t(29938),c=["children","className","fluid"],d=["label","key","content","indicator"],p=["label","key","content","indicator"],f=["label","key","content","indicator"],m=["label","key","content","indicator"],h=["label","key","content","indicator"],y=function(e){var n=e.children,t=e.className,a=e.fluid,r=(0,i.Z)(e,c),o=(0,s.e9)(["card",t,a&&"fluid"]);return(0,u.jsx)("div",{className:o,"data-testid":r["data-testid"],children:n})},g=function(e){var n=e.collapsedContent,t=e.image,i=e.dropdown,c=e.expanded,d=e.scrollIntoView,p=e.tooltip,f=e.children,m=e.disabled,h=e.titleCard,y=void 0===h||h,g=e.styling,T=void 0===g?[]:g,v=(0,l.$G)().t,E=(0,r.useRef)(null),_=(0,r.useState)(c),S=(0,a.Z)(_,2),N=S[0],I=S[1],C=(0,r.useState)(!1),A=(0,a.Z)(C,2),R=A[0],O=A[1];function b(e){O("mouseenter"===e)}(0,r.useEffect)((function(){var e;i&&N&&d&&(null===(e=E.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}))}),[N,i,d]);var L="caret_down";(i||R)&&(L=N?"caret_up":"caret_down");var k=v(N?"CLOSE":"OPEN"),D=!!t,x=y&&(D||i)?"grid":"",P=D?i?"col-xl-9":"col-xl-10":"",U=i?"col-1 expand-control-right":"text-center col-12 expand-control",w="controls white ".concat(i?"controls-right":"");if(!0===m)return(0,u.jsx)("div",{className:"card table-card expandable-card ".concat(x),"data-testid":"expandable-card",children:(0,u.jsx)("div",{className:"col-12 ".concat(P),children:n})});var M=(0,s.e9)(T);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"card table-card expandable-card ".concat(x," ").concat(M),"data-testid":"expandable-card",onMouseEnter:function(e){return b(e.type)},onMouseLeave:function(e){return b(e.type)},ref:E,children:[(0,u.jsxs)("div",{className:"col-12 ".concat(P),children:[n,!i&&N&&f]}),D&&(0,u.jsx)("div",{className:"col-2 d-none d-block-xl center-container",children:(0,u.jsx)("div",{className:"center-item",children:t})}),(0,u.jsx)(o.eE,{className:U,disablePopup:!p||N,iconReplacement:(0,u.jsx)("div",{"data-testid":"arrow",onClick:function(){I(!N)},children:(0,u.jsx)(o.si,{className:w,icon:L,title:k})}),iconTitle:k,position:"bottom",size:"sm",children:(0,u.jsx)("span",{children:p})})]}),i&&N&&f]})},T=function(e){var n=e.width,t=e.className,a=e.label,i=e.children;return(0,u.jsxs)("div",{className:"col-".concat(n," ").concat(t),"data-testid":e["data-testid"],children:[(0,u.jsx)("label",{children:a}),(0,u.jsx)("span",{"aria-label":a,children:i})]},a)},v=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=12/n;return(0,u.jsxs)(u.Fragment,{children:[a&&e[0].content,(0,u.jsx)(_,{className:a?t+" inline":t,children:e.map((function(e){var n=e.label,t=e.key,a=e.content,o=e.indicator,l=(0,i.Z)(e,d);return o?null:(0,u.jsx)(T,{label:n,className:t,width:r,"data-testid":l["data-testid"],children:a},t)}))})]})},E=function(e,n,t,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=12/t,c=12/a;return(0,u.jsxs)("div",{className:"grid fitted mb-5",children:[(0,u.jsx)("div",{className:"col-".concat(t," mb-5"),children:Array.isArray(e[0])?e.map((function(e,n,t){return(0,u.jsx)("div",{className:"".concat(r&&t.length!==n+1?"bottom-border":""),children:e.map((function(e){var n=e.label,t=e.key,a=e.content,r=(e.indicator,(0,i.Z)(e,p));return(0,u.jsx)(T,{label:n,className:"card-field",width:l,"data-testid":r["data-testid"],children:a},t)}))})})):e.map((function(e){var n=e.label,t=e.key,a=e.content,r=e.indicator,o=(0,i.Z)(e,f);return r?null:(0,u.jsx)(T,{label:n,className:t,width:l,"data-testid":o["data-testid"],children:a},t)}))}),(0,u.jsx)("div",{className:"col-".concat(a," grid mr-15"),children:Array.isArray(n[0])?n.map((function(e,n,t){var a=Math.floor(12/e.length);return e.map((function(e){var r=e.label,l=e.key,c=e.content,d=(e.indicator,(0,i.Z)(e,m));return(0,u.jsx)(T,{label:r,className:(0,s.e9)(["card-field","pv-5",o&&t.length!==n+1&&"bottom-border"]),width:a,"data-testid":d["data-testid"],children:c},l)}))})):n.map((function(e){var n=e.label,t=e.key,a=e.content,r=(e.indicator,(0,i.Z)(e,h));return(0,u.jsx)(T,{label:n,className:t,width:c,"data-testid":r["data-testid"],children:a},t)}))})]})},_=function(e){var n=e.className,t=e.children,a="grid ".concat(n);return(0,u.jsx)("div",{className:a,children:t})}},20893:function(e,n,t){"use strict";t.d(n,{hR:function(){return d}});var a=t(99710),i=t(96902),r=t(25825),o=t(8960),l=t(51077),s=t(29938),u=function(e){var n=e.open,t=e.setOpen;return(0,s.jsx)("div",{className:"collapse-icon ".concat(n?"open":""),onClick:function(e){return t(!n)},"data-testid":"collapse-icon",children:(0,s.jsx)("div",{})})},c=function(e){var n=e.subHeader;return"string"===typeof n?(0,s.jsx)("p",{className:"metric-sub-header",children:n}):null!==n&&void 0!==n?n:null},d=function(e){var n=e.filters,t=void 0===n?[]:n,d=e.areFiltersSelected,p=e.isGeofilterActive,f=e.filterValues,m=e.resetFilters,h=e.clearGeofilter,y=e.metric,g=e.iconName,T=e.subHeader,v=e.appendix,E=e.collapsible,_=void 0!==E&&E,S=e.geofiltered,N=void 0!==S&&S,I=(0,i.useState)(!0),C=(0,a.Z)(I,2),A=C[0],R=C[1],O=(0,r.$G)().t,b=!1;d&&f&&(b=d(f));var L=!1;p&&f&&(L=p(f));var k="";b&&t.length&&(k="visible");var D="";L&&(D="visible");var x=y?(0,l.Jk)(y.count):void 0;return(0,s.jsxs)(s.Fragment,{children:[_&&(0,s.jsx)(u,{open:A,setOpen:R}),(0,s.jsxs)("div",{className:"filter-group ".concat(A?"":"collapsed"),"data-testid":"filter-modal-test",children:[y&&(0,s.jsxs)("div",{className:"filter-metric",children:[(0,s.jsx)("div",{className:"metric","data-testid":"filter-modal-metric",children:(0,s.jsx)(o.eE,{iconReplacement:(0,s.jsx)(s.Fragment,{}),className:"metric text-center",iconPosition:"right",iconTitle:"info",size:"xs",position:"bottom",title:x.hrOutput,disablePopup:!x.isAbbreviated,children:(0,s.jsx)("div",{className:"metric-tooltip",children:x.fmtOutput})})}),(0,s.jsxs)("p",{className:"metric-type",children:[y.type,g&&(0,s.jsx)(o.si,{icon:g,className:"white"})]}),(0,s.jsx)(c,{subHeader:T})]}),(0,s.jsxs)("div",{className:"filters",children:[(0,s.jsxs)("span",{onClick:function(){h&&h(),m&&m()},className:"filter-action-button ".concat(k),"data-testid":"clear-filters-button",role:"button",children:[(0,s.jsx)(o.si,{icon:"x",className:"white"}),O("CLEAR_FILTERS")]}),N?(0,s.jsxs)("span",{onClick:function(){h&&h()},className:"filter-action-button ".concat(D),"data-testid":"clear-geofilter-button",role:"button",children:[(0,s.jsx)(o.si,{icon:"x",className:"white"}),O("CLEAR_GEOFILTER")]}):null,(0,s.jsx)("ul",{className:"filter-list",children:t.map((function(e,n){return(0,s.jsx)("li",{className:"filter-list-item",children:e},"".concat(n,"-filter"))}))})]}),v]})]})}},3592:function(e,n,t){"use strict";t.d(n,{h:function(){return a.hR}});var a=t(20893)},5194:function(e,n,t){"use strict";t.d(n,{_:function(){return s}});t(96902);var a=t(25796),i=t(54370),r=t(25825),o=t(8960),l=t(29938),s=function(e,n){var t=document.createElement("div");t.setAttribute("navigation-confirmation",""),document.body.appendChild(t);var a=function(){(0,i.unmountComponentAtNode)(t),document.body.removeChild(t)},s=function(){a(),n(!1)};(0,i.render)((0,l.jsxs)("div",{className:"modal",children:[(0,l.jsx)("div",{className:"overlay",onClick:s}),(0,l.jsxs)("div",{className:"modal-content form grid fixed theme-independent",id:"confirm-modal",children:[(0,l.jsx)("h4",{children:r.ZP.t("USER_UNSAVED_CHANGES")}),(0,l.jsx)("div",{className:"contents-container",children:(0,l.jsxs)("div",{"data-testid":"confirm-modal",children:[(0,l.jsx)("div",{className:"small-text","data-testid":"confirmation",children:e}),(0,l.jsxs)("div",{className:"btn-container",children:[(0,l.jsx)(o.Lw,{className:"btn theme-independent",onClick:s,children:r.ZP.t("CANCEL")}),(0,l.jsx)(o.Mm,{isSubmitting:!1,testId:"confirm",onClick:function(){a(),n(!0)},labelKey:"LEAVE"})]})]})})]})]}),t)};n.Z=function(e){var n=e.unsavedChanges,t=e.children,i=e.allowedSubRoutes,o=(0,r.$G)().t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.NL,{when:n,message:function(e){return!(!i||!i.some((function(n){return e.pathname.includes(n)})))||o("UNSAVED_CHANGES_WARNING")}}),t]})}},70926:function(e,n,t){"use strict";t.d(n,{l0:function(){return C},Ts:function(){return I},Ab:function(){return A}});var a=t(95764),i=t(81034),r=t(96902),o=t(92858),l=t(16798),s=t(9363),u=t(7584),c=t(769);function d(e){return(0,s.isPlainObject)(e)}var p=new DOMParser,f={xmlString:function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if((0,s.isString)(e)&&(0,s.isString)(n)){var r=function(e){var n=e.getElementsByTagName("PHONE_CONFIG").item(0);if(!n)return{};var t=n.nodeName,a=Array.from(n.children).flatMap((function(e){return e.getAttributeNames().map((function(n){return[["".concat(t,".").concat(e.nodeName,".").concat(n),e.getAttribute(n)]]}))})).reduce((function(e,n){return e.concat(n)}),[]);return Object.fromEntries(a)},o=p.parseFromString(e,"text/xml"),l=p.parseFromString(n,"text/xml"),u=r(o),c=r(l);return m(u,c,void 0,a+1,i)}return[]},array:function(){return[]}},m=function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return a>=500?(u.fy.logger.warn("Exceeding depth for form fields"),[]):d(n)&&d(e)?Object.keys(n).reduce((function(r,o){var l=e[o],u=n[o];if(u===l)return r;var c=i?"".concat(i,".").concat(o):o,d=function(){return[c]};(Array.isArray(l)||Array.isArray(u))&&(d=f.array),((0,s.isPlainObject)(l)||(0,s.isPlainObject)(u))&&(d=f.object);var p=function(){try{return t?t(c).describe().type:null}catch(e){console.warn("Error when attempting to describe key",{diffKey:c})}return null}();if(p){var m=f[p];m&&(d=m)}return d?r.concat(d(l,u,t,a+1,c)):r}),[]):[]};f.object=m;var h=t(22816),y=t(36263),g=t(60366),T=function(e){return function(n){return function(t,a,i,r){return function(o,s){try{var c,d=null===r||void 0===r?void 0:r.model,p=null===r||void 0===r?void 0:r.software_version;h.ZP.ga("send","event",n,"Submitted","".concat(n,"-Submitted"),(c={},(0,l.Z)(c,g._H.model,d),(0,l.Z)(c,g._H.software_version,p),(0,l.Z)(c,"nonInteraction",!1),c));var f=e(t,o,i);y.v.addUserAction("Submitted",{form:n,fields:f,model:null!==d&&void 0!==d?d:"not specified",software_version:null!==p&&void 0!==p?p:"not specified"}),f.forEach((function(e){var t;h.ZP.ga("send","event",n,"Changed Field",e,(t={},(0,l.Z)(t,g._H.model,d),(0,l.Z)(t,g._H.software_version,p),(0,l.Z)(t,"nonInteraction",!1),t)),y.v.addUserAction("Changed Field",{form:n,field:e,model:null!==d&&void 0!==d?d:"not specified",software_version:null!==p&&void 0!==p?p:"not specified"})}))}catch(T){var m;u.fy.logger.error("Error on Differ",{exception:null!==(m=null===T||void 0===T?void 0:T.message)&&void 0!==m?m:T})}return a(o,s)}}}},v=T((function(e,n,t){return m(e,n,t?function(e){return(0,c.ct)(t,e)}:void 0)})),E=(T((function(){return[]})),t(50800)),_=t(29938),S=["initialValues","onSubmit","name","children","tracker","validationSchema","customDimensions"],N=["initialValues","onSubmit","name","tracker","validationSchema","customDimensions"];function I(e){var n=e.initialValues,t=e.onSubmit,l=e.name,s=e.children,c=e.tracker,d=void 0===c?v:c,p=e.validationSchema,f=e.customDimensions,m=(0,i.Z)(e,S),h=(0,r.useCallback)((function(e,a){if(d)try{return d(l)(n,t,p,f)(e,a)}catch(i){u.fy.logger.error("Failed to initialize tracker",{name:l})}return t(e,a)}),[t,d,f,n,l,p]),y=(0,r.useMemo)((function(){return(0,E.w)(p)}),[p]);return(0,_.jsx)(o.J9,(0,a.Z)((0,a.Z)({},m),{},{children:function(e){if(s&&"function"===typeof s){var n={field:y};return s((0,a.Z)((0,a.Z)({},e),n))}return s},onSubmit:h,initialValues:n,validationSchema:p}))}function C(e){return(0,_.jsx)(o.l0,(0,a.Z)({},e))}function A(e){var n=e.initialValues,t=e.onSubmit,r=e.name,l=e.tracker,s=void 0===l?v:l,c=e.validationSchema,d=e.customDimensions,p=(0,i.Z)(e,N),f=t;if(s)try{f=s(r)(n,t,c,d)}catch(m){u.fy.logger.error("Failed to initialize tracker",{name:r})}return(0,_.jsx)(o.J9,(0,a.Z)((0,a.Z)({},p),{},{onSubmit:f,initialValues:n,validationSchema:c}))}},61589:function(e,n,t){"use strict";t.d(n,{I:function(){return m}});var a=t(95764),i=t(99710),r=t(81034),o=t(96902),l=t(92858),s=t(8960),u=t(3541),c=t(30290),d=t(29938),p=["className","inputClassName","label","name","type","tabIndex","placeholder","min","max","validate","showErrorMessage","chooseNewErrorComponent","onFocus","onBlur","resourceSelector"],f=["onBlur"],m=function(e){var n=e.className,t=e.inputClassName,m=e.label,h=e.name,y=e.type,g=e.tabIndex,T=e.placeholder,v=e.min,E=e.max,_=e.validate,S=e.showErrorMessage,N=void 0===S||S,I=e.chooseNewErrorComponent,C=void 0!==I&&I,A=e.onFocus,R=e.onBlur,O=e.resourceSelector,b=void 0!==O&&O,L=(0,r.Z)(e,p),k=(0,o.useState)(!1),D=(0,i.Z)(k,2),x=D[0],P=D[1],U=(0,o.useState)(!1),w=(0,i.Z)(U,2),M=w[0],V=w[1],j=function(e){P(!0),A&&A(e)},F=[m?"floating-label-input":"form-input",n],B=(0,c.e9)(["form-control floating-input",t,L.disabled&&"readonly"]),Z=null!==m&&void 0!==m?m:h,G=(v||0===v)&&(E||0===E)&&Number.parseInt("".concat(E))<65535,J=null!==y&&void 0!==y?y:"text";return"password"!==J||L.autoComplete||(L.autoComplete="off"),"checkbox"===J&&F.push("checkbox"),(0,d.jsx)(l.gN,{name:h,type:J,validate:_,children:function(e){var n,t=e.field,i=e.meta,o=e.form,p=t.onBlur,y=(0,r.Z)(t,f),_=(n=p,function(e){var t=e.target;P(t.value.length>0),n&&n(e),R&&R(e)});return i.touched&&i.error&&F.push("has-error"),(x||t.value||"string"!==typeof t.value||L.value)&&F.push("active"),G&&F.push("range"),b&&F.push("resource-selector"),(0,d.jsxs)("div",{className:(0,c.e9)(F),"data-testid":"input-container-for-".concat(h),children:[(0,d.jsxs)("div",{className:"label-container",children:[m&&(0,d.jsx)("label",{className:"floating-label",htmlFor:t.name+"-input",children:m}),(0,d.jsx)("input",(0,a.Z)((0,a.Z)({type:J,id:t.name+"-input",role:"textbox","aria-label":Z,className:B,onFocus:j,onBlur:_,tabIndex:g||-1,placeholder:T,"data-testid":"value-input"},y),L)),G&&(0,d.jsx)("span",{className:"limiter after",children:"(".concat(v," - ").concat(E,")")}),(0,d.jsxs)(s.yR,{feature:"RESOURCE_FILES",andIf:b,children:[(0,d.jsx)(s.LD,{type:"button",icon:"file",className:"ml-1",onClick:function(){return V(!0)},disabled:L.disabled,"data-testid":"select-resource-file"}),M&&(0,d.jsx)(u.Nt,{selectedFile:t.value,onSelect:function(e){o.setFieldValue(h,e)},onClose:function(){return V(!1)}})]})]}),N&&C&&i.error&&(0,d.jsx)("div",{className:"has-error error-message","data-testid":"error-msg-for-".concat(h),children:i.error}),N&&!C&&(0,d.jsx)(l.Bc,{component:"div",className:"error-message","data-testid":"error-msg-for-".concat(h),name:h})]})}})}},56878:function(e,n,t){"use strict";t.d(n,{W:function(){return s}});var a=t(99710),i=t(96902),r=t(61589),o=t(8960),l=t(29938),s=function(e){var n=e.name,t=e.label,s=(0,i.useState)(!0),u=(0,a.Z)(s,2),c=u[0],d=u[1];return(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsxs)("label",{className:"col-4 text-right",htmlFor:n+"-input",children:[t,":"]}),(0,l.jsx)("div",{className:"col-4",children:(0,l.jsx)(r.I,{name:n,"data-testid":n,type:c?"password":"text"})}),(0,l.jsx)("div",{className:"col-1",children:(0,l.jsx)(o.LD,{className:"clickable","data-testid":"show-password",type:"button",icon:c?"eye":"eye_slash",onClick:function(){return d(!c)}})})]})}},15002:function(e,n,t){"use strict";t.d(n,{Ph:function(){return p},_Y:function(){return f},dp:function(){return m},hF:function(){return d}});var a=t(81034),i=t(95764),r=t(99710),o=t(8960),l=t(92858),s=(t(96902),t(29938)),u=["label"],c=["label"],d=function(e){var n,t,a=(0,l.U$)(e.name),u=(0,r.Z)(a,3),c=u[0],d=c.onChange,p=c.value,f=u[2].setTouched,m=e.onSelectionChange,h=e.disabled,y=e.dividerIndices;return(0,s.jsx)(o.sV,(0,i.Z)((0,i.Z)({onOpen:function(){return f(!0)},onChange:function(n){m&&m(n),d({target:{name:e.name,value:n}})},value:"".concat(null!==(n=null!==(t=e.value)&&void 0!==t?t:p)&&void 0!==n?n:"")},e),{},{disabled:h,dividerIndices:y}))},p=function(e){var n=(0,l.U$)(e.name),t=(0,r.Z)(n,2)[1],a=t.error,o=t.touched,u="";return a&&o&&(u="has-error touched"),(0,s.jsxs)("div",{className:u,children:[(0,s.jsx)(d,(0,i.Z)((0,i.Z)({},e),{},{disabled:!!e.disabled,dividerIndices:e.dividerIndices})),(0,s.jsx)(l.Bc,{component:"div",className:"error-message","data-testid":"".concat(e.name,"-errormsg"),name:e.name})]})},f=function(e){var n=e.label,t=(0,a.Z)(e,u),c=(0,l.U$)(t.name),p=(0,r.Z)(c,1)[0].value;return(0,s.jsxs)(o.lg,{children:[(0,s.jsx)(o.Rv,{label:n,value:p,name:t.name}),(0,s.jsx)(d,(0,i.Z)((0,i.Z)({},t),{},{placeholder:n}))]})},m=function(e){var n=e.label,t=(0,a.Z)(e,c),u=(0,l.U$)(t.name),d=(0,r.Z)(u,1)[0].value;return(0,s.jsxs)(o.lg,{children:[(0,s.jsx)(o.Rv,{label:n,value:d,name:t.name}),(0,s.jsx)(p,(0,i.Z)((0,i.Z)({},t),{},{placeholder:n}))]})}},50800:function(e,n,t){"use strict";t.d(n,{w:function(){return s}});var a=t(769),i={object:"object",string:"string",boolean:"boolean",number:"number",array:"array",date:"date",xmlString:"xmlString",mixed:"mixed"},r=function(e){return e.split(".").pop()||e},o=function(e){var n=e.fieldPath;return function(e){var t=e.describe().label;return{"data-testid":n,name:n,id:n,label:t||r(n)}}},l=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fieldPath:""},t=n.fieldPath;function l(e,n){var t=n.describe().type,a=i[t];return a?(0,e[a])(n):null}return{object:function(n){var i=n.describe().fields,o=Object.keys(i);return Object.fromEntries(o.map((function(i){var o=t?"".concat(t,".").concat(i):i,s=function(){try{return(0,a.ct)(n,i)}catch(e){throw console.error("Failed at",o),e}}(),u=s.describe().label,c=l(e({fieldPath:o}),s)||{"data-testid":i,name:i,id:i,label:u||r(t)};return[i,c]})))},array:function(n){var i=n.describe().label,o=(0,a.ct)(n,"[1]");return{label:i||r(t),name:t,id:t,"data-testid":t,get:function(n){var a="".concat(t,"[").concat(n,"]");return l(e({fieldPath:a}),o)||{name:t,label:i||r(t)}}}},boolean:o({fieldPath:t}),string:o({fieldPath:t}),xmlString:o({fieldPath:t}),number:o({fieldPath:t}),date:o({fieldPath:t}),mixed:o({fieldPath:t})}};function s(e){var n=e.describe().type;return l()[n](e)}},3541:function(e,n,t){"use strict";t.d(n,{Jg:function(){return A},uh:function(){return I},XZ:function(){return m},Mt:function(){return B},wg:function(){return U},gN:function(){return s.gN},l0:function(){return Z},J9:function(){return J},hF:function(){return h.hF},ZA:function(){return S},II:function(){return y.I},_Y:function(){return h._Y},Nt:function(){return E},Ph:function(){return h.Ph},dp:function(){return h.dp},Kx:function(){return d},Zh:function(){return f},Ab:function(){return G},CB:function(){return _.CB},w2:function(){return i.w},u9:function(){return s.u9},tP:function(){return s.tP},pq:function(){return _.pq},U$:function(){return s.U$},u6:function(){return s.u6},Jd:function(){return _.Jd}});var a=t(70926),i=t(50800),r=t(95764),o=t(99710),l=t(96902),s=t(92858),u=t(30290),c=t(29938),d=function(e){var n=(0,s.U$)(e.name),t=(0,o.Z)(n,2),a=t[0],i=t[1],l=[null===e||void 0===e?void 0:e.className];i.error&&l.push("has-error"),i.touched&&l.push("touched");var d=null,p=(0,c.jsx)(s.Bc,{component:"div",className:"error-message",name:e.name});if(null!==e&&void 0!==e&&e.errorAbove){var f=[p,d];d=f[0],p=f[1]}var m=e.id||"".concat(e.name,"-textarea"),h=["form-control","code",e.inputClassName,e.disabled&&"disabled"];return(0,c.jsxs)("div",{className:(0,u.e9)(l),children:[d,(0,c.jsx)("textarea",(0,r.Z)({className:(0,u.e9)(h),style:{width:"100%"},id:m,"data-testid":m,disabled:e.disabled,readOnly:e.readOnly},a)),p]})},p=t(8960),f=function(e){var n,t,a=(0,s.U$)(e.name),i=(0,o.Z)(a,1)[0],l=i.onChange,u=i.value;return(0,c.jsx)(p.OZ,(0,r.Z)({checked:null!==(n=null!==(t=e.checked)&&void 0!==t?t:u)&&void 0!==n&&n,onChange:l,disabled:e.disabled},e))},m=function(e){var n=e.onChange,t=e.onBlur,a=e.checked,i=e.name,r=e.value;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("input",{className:"sr-only",type:"checkbox","data-testid":"welcome-modal-checkbox",name:i,onChange:n,onBlur:t,checked:a,value:r}),(0,c.jsx)("span",{className:"checkbox-custom"})]})},h=t(15002),y=t(61589),g=t(87591),T=t(82192),v=t(25825),E=function(e){var n=e.selectedFile,t=e.onSelect,a=e.onClose,i=(0,v.$G)().t,r=(0,l.useState)(n),s=(0,o.Z)(r,2),u=s[0],d=s[1],f=T.ji.RESOURCE_FILES.COLUMNS;return(0,c.jsxs)("div",{className:"modal",children:[(0,c.jsx)("div",{className:"overlay",onClick:a}),(0,c.jsxs)("div",{className:"modal-content",children:[(0,c.jsx)("h4",{children:i("SELECT_RESOURCE_FILE")}),(0,c.jsx)("div",{className:"mt-2",children:(0,c.jsx)(g.E,{shownColumns:Object.values(f),hiddenColumns:[],singleSelection:!0,selected:u?[u]:void 0,onSelect:d,inModal:!0})}),(0,c.jsxs)("div",{className:"btn-container",children:[(0,c.jsx)(p.Lw,{onClick:a}),(0,c.jsx)("button",{type:"button",className:"btn btn-primary",onClick:function(){u&&t(u),a()},disabled:!u,children:i("OK")})]})]})]})},_=t(28230),S=function(e){var n;return(0,c.jsx)("div",{className:"form-group ".concat(null!==(n=e.className)&&void 0!==n?n:""),children:e.children})},N=t(9363),I=function(e){var n=e.debounceMs,t=(0,s.u6)(),a=t.submitForm,i=t.isSubmitting,r=t.isValid,o=t.values,u=function(e){var n=(0,l.useRef)();return(0,l.useEffect)((function(){n.current=e})),n.current}(o),c=(0,l.useMemo)((function(){return(0,N.debounce)((function(){return a()}),n)}),[n,a]);return(0,l.useEffect)((function(){i||!r||(0,N.isEqual)(u,o)||void 0===u||c()}),[c,o,i,r,u]),null},C=t(48930),A=function(e){var n,t=e.onSelect,a=e.tabIndex,i=void 0===a?0:a,r=(0,l.useState)(""),d=(0,o.Z)(r,2),f=d[0],m=d[1],h=(0,l.useState)(!1),y=(0,o.Z)(h,2),g=y[0],T=y[1],E=(0,l.useRef)(null),_=(0,v.$G)().t,S=[],I=" ";f&&""!==f&&(I=f);var A=(0,C.prZ)({variables:{address:I}}),R=A.data,O=A.fetching,b=(0,s.U$)({name:e.name}),L=(0,o.Z)(b,3),k=L[0],D=L[1],x=L[2];R&&R.postalLookup&&""!==f&&(S=R.postalLookup);var P=(0,l.useMemo)((function(){return(0,N.debounce)((function(e){return m(e)}),300)}),[m]),U=[];D.touched&&D.error&&U.push("has-error"),(g||k.value)&&U.push("active");var w=(0,u.e9)(["options-list",e.small&&"small",g&&"open",e.inline&&"inline"]);return(0,c.jsxs)("div",{className:"address-select dropdown-list dropdown-group mt-0 pb-0",ref:E,children:[e.label&&(0,c.jsx)(p.Rv,{label:e.label,value:e.label,name:e.label}),(0,c.jsx)("div",{"data-testid":"address-field",className:"textarea-wrapper input-wrapper ".concat(g?"open":""," ").concat(e.disabled?"disabled":""),children:(0,c.jsxs)("div",{className:(0,u.e9)(U),children:[e.placeholder&&(0,c.jsx)("label",{id:"address-input",className:"hidden",children:null!==(n=e.placeholderLabel)&&void 0!==n?n:_("ADDRESS")}),(0,c.jsx)("div",{className:"textarea",contentEditable:!e.disabled,suppressContentEditableWarning:!0,"aria-labelledby":"address-input","data-testid":"address-textarea",onInput:function(n){e.disabled||(P(n.currentTarget.innerText),T(!0))},onFocus:function(){e.disabled||(m(f||k.value),x.setTouched(!0),k.value&&T(!0))},onBlur:function(){T(!1)},tabIndex:i,"data-text":e.placeholder?e.placeholderLabel?e.placeholderLabel:_("ADDRESS"):"",children:k.value}),!e.disabled&&(0,c.jsx)("div",{className:(0,u.e9)([].concat(U,["icon-wrapper"])),children:(0,c.jsx)(p.si,{icon:"search",className:"white"})})]})}),(0,c.jsx)("div",{className:(0,u.e9)(["shadow-blocker",g&&"visible"])}),(0,c.jsxs)("ul",{className:w,children:[S.map((function(e,n){var a;return(0,c.jsx)("li",{className:"option",role:"option","data-testid":"address-option","aria-selected":!1,onMouseDown:function(){t(e),T(!1),m(e.formattedAddress||"")},children:(0,c.jsx)("span",{className:"option-content",children:null!==(a=e.formattedAddress)&&void 0!==a?a:null})},n+(e.formattedAddress||""))})),S.length||O?null:(0,c.jsx)("li",{className:"option",children:_("NO_ADDRESS_MATCH")},"no-results")]}),(0,c.jsx)("div",{className:(0,u.e9)(U),children:(0,c.jsx)(s.Bc,{component:"div",className:"error-message","data-testid":"error-msg-for-".concat(e.name),name:e.name})})]})},R=t(3313),O=t.n(R),b=t(71421),L=t(76366),k=t(50888);function D(e){(0,k.Z)(1,arguments);var n=(0,b.Z)(e),t=n.getFullYear(),a=n.getMonth(),i=new Date(0);return i.setFullYear(t,a+1,0),i.setHours(0,0,0,0),i.getDate()}function x(e,n){(0,k.Z)(2,arguments);var t=(0,b.Z)(e),a=(0,L.Z)(n),i=t.getFullYear(),r=t.getDate(),o=new Date(0);o.setFullYear(i,a,15),o.setHours(0,0,0,0);var l=D(o);return t.setMonth(a,Math.min(r,l)),t}function P(e,n){if((0,k.Z)(2,arguments),"object"!==typeof n||null===n)throw new RangeError("values parameter must be an object");var t=(0,b.Z)(e);return isNaN(t)?new Date(NaN):(null!=n.year&&t.setFullYear(n.year),null!=n.month&&(t=x(t,n.month)),null!=n.date&&t.setDate((0,L.Z)(n.date)),null!=n.hours&&t.setHours((0,L.Z)(n.hours)),null!=n.minutes&&t.setMinutes((0,L.Z)(n.minutes)),null!=n.seconds&&t.setSeconds((0,L.Z)(n.seconds)),null!=n.milliseconds&&t.setMilliseconds((0,L.Z)(n.milliseconds)),t)}var U,w=t(55688),M=new Date,V=P(M,{hours:0,minutes:0,seconds:0,milliseconds:0}),j=P(M,{hours:23,minutes:59,seconds:59,milliseconds:999});function F(e,n){return e&&n?(0,w.Z)(e,n):!e&&!n}!function(e){e[e.NONE=0]="NONE",e[e.START=1]="START",e[e.END=2]="END"}(U||(U={}));var B=function(e){var n,t,a=e.label,i=e.name,d=e.otherName,f=e.tabIndex,m=e.minDate,h=e.maxDate,y=e.minTime,g=e.maxTime,T=e.disabled,v=e.readOnly,E=e.rangeType,_=void 0===E?U.NONE:E,S=e.showMonthDropdown,N=void 0===S||S,I=e.showTimeSelect,C=void 0===I||I,A=e.showYearDropdown,R=void 0===A||A,b=e.clearable,L=void 0===b||b,k=(0,s.U$)(i),D=(0,o.Z)(k,3),x=D[0],P=D[1],w=D[2],M=(0,s.u6)().values,B=(0,l.useState)(!1),Z=(0,o.Z)(B,2),G=Z[0],J=Z[1],H=(0,l.useRef)(null),W=null!==(n=x.value)&&void 0!==n?n:null,Y=null!==(t=d&&M[d])&&void 0!==t?t:null,q={},K=i+"-input";switch(_){case U.NONE:q.minDate=m,q.maxDate=h,q.minTime=y,q.maxTime=g;break;case U.START:q.startDate=W,q.endDate=Y,q.minDate=m,q.maxDate=Y,q.minTime=null!==y&&void 0!==y?y:V,q.maxTime=Y&&F(W,Y)?Y:j,q.selectsStart=!0;break;case U.END:q.startDate=Y,q.endDate=W,q.minDate=Y,q.maxDate=h,q.minTime=Y&&F(W,Y)?Y:V,q.maxTime=null!==h&&void 0!==h?h:j,q.selectsEnd=!0}var z=!!x.value,X=[a?"floating-label-input":"form-input"];P.touched&&P.error&&X.push("has-error"),(G||z)&&X.push("active");var $=a||i,Q=(0,u.e9)([T||v?"disabled":""]);return(0,c.jsxs)("div",{className:(0,u.e9)(X),children:[(0,c.jsxs)("div",{className:"datepicker",children:[a&&(0,c.jsx)("label",{className:"floating-label",htmlFor:K,children:a}),(0,c.jsxs)("div",{className:"input-wrapper",children:[(0,c.jsx)("span",{className:"toggle-area",children:(0,c.jsx)(O(),(0,r.Z)({ref:H,name:i,id:K,"aria-label":$,className:Q,popperClassName:"poly-datepicker",wrapperClassName:"poly-datepicker-wrapper","data-testid":"value-input",tabIndex:f||-1,onFocus:function(e){J(!0);var n=q.onFocus;n&&n(e)},onBlur:function(e){var n=e.target;J(n.value.length>0);var t=x.onBlur;t&&t(e);var a=q.onBlur;a&&a(e)},onChange:function(e){var n;if(e&&Y)switch(_){case U.START:e>Y&&(e=Y);break;case U.END:et?1:-1},D=function(e){return e?"CountOfTotalIndicator"===e.__typename?(0,_.ts)(100*e.percentage):(0,_.ts)(e.average):null},x=function(){return function(e,n){var t;return e?n&&"AverageIndicator"!==e.__typename?(0,_.ts)(e.count).toString():"CountOfTotalIndicator"===e.__typename?s.ZP.t("PERCENTAGE_INDICATOR",{percentage:D(e)}):s.ZP.t("AVERAGE_INDICATOR",{average:null===(t=D(e))||void 0===t?void 0:t.toLocaleString()}):""}},P=function(e){var n=e.count,t=e.title,a=e.sites,i=e.details,r=(0,s.$G)().t,o="";return a.length>R.v_&&(o=r("MORE_COUNT",{count:a.length-R.v_})),(0,b.jsxs)("div",{className:"insight-card p-15 hover-shadow","data-testid":"device-actions-test",children:[(0,b.jsxs)("div",{className:"insight-header d-flex",children:[(0,b.jsx)("div",{className:"metric mr-5",children:n}),(0,b.jsx)("div",{className:"insight",children:t})]}),a.length?(0,b.jsx)("div",{className:"insight-card-text location mt-5",children:(0,b.jsxs)("ul",{className:"tags pl-0 d-flex",children:[(0,b.jsx)("li",{children:(0,b.jsxs)("div",{className:"scope-tag more pl-0",children:[r("SITES"),":"]})}),a.slice(0,R.v_).map((function(e,n){return(0,b.jsx)("li",{children:(0,b.jsx)("div",{className:"scope-tag mr-5",children:e})},null!==e&&void 0!==e?e:n)})),o&&(0,b.jsx)("li",{children:(0,b.jsx)("div",{className:"scope-tag more",children:o})})]})}):null,i&&(0,b.jsx)("div",{className:"insight-card-text description mt-15",children:i})]})},U=function(e){var n=e.id,t=e.metric,a=e.category,o=e.title,u=e.model,d=e.version,p=e.locationScope,f=e.details,m=e.cursor,h=e.endCursor,y=e.hasNextPage,g=e.timePeriodStart,T=e.groupBy,v=e.period,_=(0,s.$G)().t,S=x(),C=(0,N.I0)(),A=(0,r.useState)(!1),R=(0,i.Z)(A,2),O=R[0],k=R[1];return(0,b.jsx)(c(),{offset:{bottom:-1e3},active:!O,onChange:function(e){e&&(k(e),m===h&&y&&C((0,I.CS)(m)))},children:(0,b.jsxs)("div",{className:"insight-card hover-shadow restore-".concat(n),"data-testid":"insight-details-test",children:[(0,b.jsx)("div",{className:"insight-card-text period mt-n1 mr-n5",children:L(g||"",v)}),(0,b.jsxs)("div",{className:"insight-header d-flex mt-5",children:[(0,b.jsx)("div",{className:"metric mr-5",children:S(t)}),(0,b.jsx)("div",{className:"insight",children:o})]}),(0,b.jsx)("div",{className:"d-flex mt-5",children:p===l.dwg.ModelVersion?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"scope-tag mr-5",children:_("DEVICE_MODEL_WITH_NAME",{model:u})}),(0,b.jsx)("div",{className:"scope-tag",children:"".concat(_("VERSION"),": ").concat(d)})]}):(0,b.jsx)("div",{className:"scope-tag",children:"".concat(_(p),": ").concat(T)})}),(0,b.jsx)("div",{className:"insight-card-text description mt-15",children:f}),a===l.WDG.Room&&(0,b.jsx)(E.si,{icon:"star_badge",className:"md absolute right-0 bottom-0 m-1"})]})})},w=function(e){var n=e.additionalClasses,t=e.insightList,i=void 0===t?null:t,l=e.actionsList,u=void 0===l?null:l,c=(0,s.$G)().t,d=(0,C.k6)();if((0,r.useEffect)((function(){var e=document.querySelector(".restore-"+(null===d||void 0===d?void 0:d.location.state));e&&e.scrollIntoView()})),!u&&(!i||0===i.insights.length))return(0,b.jsx)(E.c7,{title:c("NO_INSIGHTS_AVAILABLE")});var p=null===i||void 0===i?void 0:i.pageInfo.endCursor,f=null===i||void 0===i?void 0:i.pageInfo.hasNextPage,m=(0,O.e9)([n,"insight-list","p-0"]);return(0,b.jsxs)("ul",{className:m,children:[null===i||void 0===i?void 0:i.insights.map((function(e,n){return(0,b.jsx)("li",{className:"mb-2",children:(0,b.jsx)(o.rU,{persist:["InsightsFilterState"],to:(0,C.Gn)("/insights/details/:id",{id:e.id}),onClick:(0,A._U)(e.title,"PriorityInsights",e.locationScope,e.period),children:(0,b.jsx)(U,(0,a.Z)((0,a.Z)({},e),{},{endCursor:p,hasNextPage:!!f,groupBy:(0,S.Ce)(e)}))})},e.id+":"+n)})),null===u||void 0===u?void 0:u.map((function(e,n){return(0,b.jsx)("li",{className:"mb-2",children:(0,b.jsx)(o.rU,{to:e.link,"data-testid":"DeviceActionLink",onClick:(0,A._U)(e.action.toLowerCase(),"DeviceActions"),children:(0,b.jsx)(P,(0,a.Z)({},e))})},"".concat(e.model,".").concat(e.action,".").concat(e.version,":").concat(n))}))]})}},96742:function(e,n,t){"use strict";t.d(n,{$E:function(){return y},PG:function(){return _},WZ:function(){return g},Ws:function(){return m},Yr:function(){return T},u_:function(){return S}});var a=t(95764),i=t(81034),r=t(96902),o=t(8960),l=t(82933),s=t(3541),u=t(769),c=t(25825),d=t(1987),p=t(29938),f=["title","closeOnDimmerClick","closeIcon","onClose","fluid","className","contentId","children","onSubmit","initialValues","name","validationSchema","customDimensions"];function m(){var e=(0,d.Aj)(),n=(0,l.k6)(),t=n.length,a=n.goBack,i=n.replace;if(t>1)return a;var r=e?"/?tenantId="+e:"/";return function(){return i(r)}}var h=function(){};function y(e){var n=e.title,t=e.content;return(0,p.jsxs)("div",{className:"modal",children:[(0,p.jsx)("div",{className:"overlay",onClick:function(){}}),(0,p.jsxs)("div",{className:"modal-content form grid fixed",id:"generic-modal",children:[(0,p.jsx)("h4",{children:n}),(0,p.jsx)("div",{className:"contents-container",children:t})]})]})}function g(e){var n=e.title,t=e.onConfirm,a=e.onCancel,i=e.open,r=e.message,o=e.confirmLabel,l=(0,c.$G)().t;return i?(0,p.jsxs)("div",{className:"modal",children:[(0,p.jsx)("div",{className:"overlay",onClick:function(){}}),(0,p.jsxs)("div",{className:"modal-content form grid fixed",id:"confirm-modal",children:[(0,p.jsx)("h4",{children:n}),(0,p.jsx)("div",{className:"contents-container",children:(0,p.jsxs)("div",{"data-testid":"confirm-modal",children:[(0,p.jsx)("div",{className:"small-text","data-testid":"confirmation",children:r}),(0,p.jsxs)("div",{className:"btn-container",children:[(0,p.jsx)("button",{type:"button",className:"btn","data-testid":"cancel",onClick:a,children:l("CANCEL")}),(0,p.jsx)("button",{type:"button",className:"btn btn-primary","data-testid":"confirm",onClick:t,children:null!==o&&void 0!==o?o:l("CONFIRM")})]})]})})]})]}):(0,p.jsx)(p.Fragment,{})}function T(e){var n=e.title,t=e.closeOnDimmerClick,r=e.closeIcon,l=void 0!==r&&r,u=e.onClose,c=e.fluid,d=e.className,y=e.contentId,g=e.children,T=e.onSubmit,v=e.initialValues,E=e.name,_=e.validationSchema,N=(e.customDimensions,(0,i.Z)(e,f)),I=c?"fluid":"fixed",C=null!==d&&void 0!==d?d:"",A=m();return u||(u=A),(0,p.jsxs)(S,{onClose:u,closeOnDimmerClick:t,contentId:y,contentClasses:"form grid ".concat(I," ").concat(C),children:[l&&(0,p.jsx)("span",{className:"clear-icon","data-testid":"clear",onClick:u,children:(0,p.jsx)(o.si,{title:"close",icon:"x",className:"white"})}),n&&(0,p.jsx)("h4",{children:n}),(0,p.jsx)("div",{className:"contents-container",children:(0,p.jsx)(s.J9,(0,a.Z)({name:E,initialValues:v,onSubmit:T||h,validationSchema:_,children:g},N))})]})}var v=(0,u.Ry)({val:(0,u.Z_)()}),E={val:""};function _(e){var n=e.title,t=e.onSubmit,a=e.className,i=e.children,r=e.name,o=e.closeIcon,l=e.closeOnDimmerClick,u=e.fluid,c=e.validationSchema,d=m(),f=(0,p.jsx)(s.l0,{children:i});if("function"===typeof i){var h=i;f=function(e){return(0,p.jsx)(s.l0,{children:h(e)})}}return(0,p.jsx)(T,{title:n,onClose:d,onSubmit:t,className:a||"",name:r,initialValues:E,validationSchema:c||v,closeIcon:o,closeOnDimmerClick:l,fluid:u,children:f})}function S(e){var n=e.onClose,t=e.closeOnDimmerClick,a=e.contentId,i=e.children,o=e.contentClasses,l=void 0===o?"":o;(0,r.useEffect)((function(){return document.body.classList.toggle("no-scroll",!0),function(){document.body.classList.toggle("no-scroll",!1)}}));var s=m();return n||(n=s),(0,p.jsxs)("div",{className:"modal",children:[!1===t?(0,p.jsx)("div",{className:"overlay blocking"}):(0,p.jsx)("div",{className:"overlay",onClick:n}),(0,p.jsx)("div",{className:"modal-content ".concat(l),id:a,children:i})]})}},37718:function(e,n,t){"use strict";t.d(n,{PG:function(){return a.PG},pf:function(){return l},$E:function(){return a.$E},u_:function(){return a.u_},WZ:function(){return a.WZ},Yr:function(){return a.Yr},Ws:function(){return a.Ws}});var a=t(96742),i=(t(96902),t(25825)),r=t(8960),o=t(29938),l=function(e){var n=e.onDelete,t=e.children,l=e.action,s=e.entity,u=e.confirmationString,c=e.disabled,d=e.name,p=e.title,f=(0,i.$G)().t,m=(0,a.Ws)(),h=f(l||"DELETE");return(0,o.jsx)(a.PG,{title:null!==p&&void 0!==p?p:"\n ".concat(h,"\n ").concat(s&&s.length<30?s:(null===s||void 0===s?void 0:s.substr(0,30))+"...","\n "),onSubmit:n,name:d,children:(0,o.jsxs)("div",{"data-testid":"delete-modal",children:[(0,o.jsx)("div",{className:"small-text","data-testid":"confirmation",children:u}),t,(0,o.jsxs)("div",{className:"btn-container",children:[(0,o.jsx)(r.Lw,{onClick:m,disabled:c}),(0,o.jsx)("button",{type:"submit",className:"btn btn-primary","data-testid":"delete",disabled:c,children:h})]})]})})}},90666:function(e,n,t){"use strict";t.d(n,{GP:function(){return a},Tx:function(){return _},lm:function(){return S}});var a,i=t(95764),r=t(62178),o=t(42993),l=t(57994),s=t(98907),u=t(64428),c=t(82359),d=t(99710),p=t(96902),f=t(8960),m=t(25796),h=t(82192),y=t(30290),g=t(29938),T=function(e){var n=(0,r.I0)(),t=(0,p.useState)(void 0),a=(0,d.Z)(t,2),i=a[0],l=a[1],s=(0,y.e9)(["notification",e.id,e.type,"".concat(e.type,"-notification")]),u={info:"chat_bubble",error:"triangle_warning",success:"circle_check"}[e.type];return(0,p.useEffect)((function(){if(e.dismiss&&"number"===typeof e.dismiss){var t=setTimeout((function(){n((0,o.FV)(e.id))}),e.dismiss);l(t)}}),[n,e.id,e.dismiss]),(0,g.jsxs)("div",{className:s,"data-testid":"notification",children:[(0,g.jsx)("div",{className:"icon",children:(0,g.jsx)(f.si,{icon:u})}),(0,g.jsx)("div",{"data-testid":"".concat(e.messageTestId),className:(0,y.e9)(["message","beta"===e.type&&"beta"]),children:e.message}),"NOT_DISMISSIBLE"!==e.dismiss&&(0,g.jsx)("div",{className:"dismiss","data-testid":"dismiss-notification",onClick:function(){i&&clearTimeout(i),n((0,o.FV)(e.id))},children:(0,g.jsx)(f.si,{icon:"x"})})]})},v=function(e){(0,u.Z)(t,e);var n=(0,c.Z)(t);function t(){return(0,l.Z)(this,t),n.apply(this,arguments)}return(0,s.Z)(t,[{key:"componentDidUpdate",value:function(e){var n=this.props.location,t=e.location;n.pathname!==t.pathname&&this.props.clearNotifications()}},{key:"render",value:function(){return(0,g.jsx)(g.Fragment,{})}}]),t}(p.PureComponent),E=(0,r.$j)(null,{clearNotifications:o.e_})((0,m.EN)(v)),_=function(){var e,n=(0,r.v9)((function(e){return e.notifications})),t=(0,r.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.theme)&&void 0!==n?n:h.KH})),a="beta"===(null===(e=n.beta)||void 0===e?void 0:e.type),o=(0,y.e9)(["LIGHT"===t&&"theme-light","notifications-container",a&&"beta"]);return(0,g.jsxs)("div",{className:o,children:[(0,g.jsx)(E,{}),Object.values(n).map((function(e){return(0,g.jsx)(T,(0,i.Z)({},e),e.id)}))]})};!function(e){e[e._TESTING_ONLY=200]="_TESTING_ONLY",e[e.FAST=3e3]="FAST",e[e.DEFAULT=5e3]="DEFAULT",e[e.SLOW=8e3]="SLOW",e.USER_ONLY="USER_ONLY",e.NOT_DISMISSIBLE="NOT_DISMISSIBLE"}(a||(a={}));var S=function(){var e=(0,r.I0)();return[function(n){e((0,o.wN)((0,i.Z)({id:n.id||""+Math.floor(9999999*Math.random())},n)))}]}},97318:function(e,n,t){"use strict";t.d(n,{$:function(){return m}});var a=t(95764),i=t(81034),r=t(57994),o=t(98907),l=t(64428),s=t(82359),u=t(96902),c=t(30290),d=t(29938),p=["children","className","fluid"],f=["children","className"],m=function(e){(0,l.Z)(t,e);var n=(0,s.Z)(t);function t(){return(0,r.Z)(this,t),n.apply(this,arguments)}return(0,o.Z)(t,[{key:"render",value:function(){var e=this.props,n=e.children,t=e.className,r=e.fluid,o=(0,i.Z)(e,p),l=(0,c.e9)(["section",t,r&&"fluid"]);return(0,d.jsx)("div",(0,a.Z)((0,a.Z)({className:l},o),{},{children:n}))}}]),t}(u.PureComponent);m.Header=function(e){var n=e.children,t=e.className,r=(0,i.Z)(e,f),o=(0,c.e9)(["header",t]);return(0,d.jsx)("h4",(0,a.Z)((0,a.Z)({className:o},r),{},{children:n}))},m.Content=function(e){var n=e.children;return(0,d.jsx)("div",{className:"content",children:n})}},7699:function(e,n,t){"use strict";t.d(n,{$t:function(){return B},D_:function(){return x},Eg:function(){return U},Eo:function(){return J},JZ:function(){return D},NU:function(){return F},Op:function(){return Y},Pu:function(){return M},RM:function(){return V},SC:function(){return j},WZ:function(){return L},XL:function(){return K},dV:function(){return w},f4:function(){return z},jA:function(){return $},jr:function(){return Z},ke:function(){return G},li:function(){return P},rh:function(){return X},xC:function(){return k},xD:function(){return q}});var a=t(16798),i=t(99710),r=t(95764),o=t(81034),l=t(89810),s=t(96902),u=t(8960),c=t(25825),d=t(19462),p=t(21645),f=t(33975),m=t(58630),h=t(82933),y=t(9363),g=t.n(y),T=t(90497),v=t(62178),E=t(82192),_=t(31667),S=t(50663),N=t(59614),I=t(8893),C=t.n(I),A=t(30290),R=t(29938),O=["children","className","checked","data-testid"],b=["children","className","checked","onCheck","replaceCheckWith","showChecks","singleSelection","data-testid"],L="HEADER_ID",k=function(e){var n=new Set(e);return function(e){return n.has(e)}},D=function(e,n){return function(t){k(e)(t)?n([]):n([t])}},x=function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return function(i){k(n)(i)?t(n.filter((function(e){return e!==L&&e!==i&&e!==a}))):n.length>=e-1?t([].concat((0,l.Z)(n.filter((function(e){return e!==a}))),[i,L])):t([].concat((0,l.Z)(n.filter((function(e){return e!==a}))),[i]))}},P=function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=k(n),r=i(L)?[]:[].concat((0,l.Z)(e.filter((function(e){return e!==a}))),[L]);t(r)},U=function(e){return e.filter((function(e){return e!==L}))};function w(e,n,t){var a=n.field;if(a||t){var i="ASC"===n.direction?1:-1;e.sort((function(e,n){if(t){var r=t(e,n);if(0!==r)return r;if(!a)return 0}if(null==e[a])return 1;if(null==n[a])return-1;if("string"===typeof e[a]){var o=e[a],l=n[a];if((0,p.j_)(o))return-1;if((0,p.j_)(l))return 1;var s=(0,S.Z)(o,T.zT.US_SHORT_PADDED,new Date),u=(0,S.Z)(l,T.zT.US_SHORT_PADDED,new Date);if((0,N.Z)(s)&&(0,N.Z)(u)){if(s.getTime()===u.getTime())return 0;var c=s.getTime()>u.getTime()?1:-1;return i*c}return i*o.localeCompare(l,void 0,{sensitivity:"base"})}if("number"===typeof e[a]){var d=e[a],f=n[a];return i*(d-f)}if("boolean"===typeof e[a]){var m=e[a],h=n[a];return mh?i:0}return 0}))}}var M=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return e.filter((function(e){return t(e)})).map((function(e){return{key:e,title:n[e]}}))},V=s.forwardRef((function(e,n){var t=e.loading,a=e.loaderClassName,i=e.cols,r=e.className,o=e.accommodateScrollbar,l=void 0!==o&&o,c=e.children,d=(0,s.useRef)(null);(0,s.useImperativeHandle)(n,(function(){return d.current})),(0,s.useEffect)((function(){if(l){var e=function(){var e=d.current;if(e){var n=e.offsetWidth-e.clientWidth;e.style.width="calc(100% + ".concat(n,"px)")}};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[l]);var p=(0,A.e9)(["loader",a]);return(0,R.jsx)("tbody",{ref:d,className:r,children:t?(0,R.jsx)("tr",{className:p,children:(0,R.jsx)("td",{colSpan:i,className:"text-center",children:(0,R.jsx)(u.TF,{className:"inline"})})}):(0,R.jsx)(R.Fragment,{children:c})})})),j=s.forwardRef((function(e,n){var t=e.children,a=e.className,i=e.checked,l=e["data-testid"],s=(0,o.Z)(e,O),u=(0,A.e9)([i?"checked":"",a]);return(0,R.jsx)("tr",(0,r.Z)((0,r.Z)({},s),{},{className:u,"data-testid":l,ref:n,children:t}))})),F=function(e){var n=e.onCheck,t=e.checked,a=e.singleSelection,i=void 0!==a&&a,r=e.className,o=(0,A.e9)(["bulk-item",t&&"checked",r]);return(0,R.jsx)("td",{className:o,children:i?(0,R.jsx)("input",{type:"radio",onChange:n,"data-testid":"check-item-radio",checked:t,name:"table-radio-group"}):(0,R.jsx)("input",{type:"checkbox",onChange:n,"data-testid":"check-item",checked:t})})},B=s.forwardRef((function(e,n){var t=e.children,a=e.className,i=e.checked,l=e.onCheck,s=e.replaceCheckWith,u=e.showChecks,c=void 0===u||u,d=e.singleSelection,p=e["data-testid"],f=(0,o.Z)(e,b);return(0,R.jsxs)(j,(0,r.Z)((0,r.Z)({},f),{},{className:a,"data-testid":p,checked:i,ref:n,children:[c?s?(0,R.jsx)("td",{className:"bulk-item",children:s}):(0,R.jsx)(F,{onCheck:l,checked:i,singleSelection:d}):null,t]}))})),Z=s.forwardRef((function(e,n){var t=e.fieldName,a=e.leftTitle,i=e.title,o=e.rightTitle,l=e.className,s=e.dataTestId,d=e.sort,p=e.filter,f=e.tooltip,m=(0,c.$G)().t,h=!!d,y=!!p,g=!1,T=function(){};if(h){var v=d,E=v.currentSort,_=v.onSort;g=E.field===t,T=function(e){var n="ASC";e===E.field&&(n="ASC"===E.direction?"DESC":"ASC"),_({field:e,direction:n})}}return(0,R.jsx)("th",{className:"table-header ".concat(null!==l&&void 0!==l?l:""),"data-testid":s,ref:n,children:(0,R.jsxs)("span",{className:a||o||f?"header-container":"",children:[a,y?(0,R.jsx)(G,(0,r.Z)({fieldName:t,title:i},p)):(0,R.jsx)("span",{className:g?"sorted":"",children:i}),o,h?(0,R.jsx)("span",{"data-testid":"sort-icon",onClick:function(){return T(t)},children:(0,R.jsx)(u.si,{icon:"".concat(g?"arrow_up":"arrow_up_down"),title:m("SORT"),className:(0,A.e9)(["sort-icon clickable white",g?"active ".concat("DESC"===d.currentSort.direction?"flipped":""):"",y?"mt-5":""])})}):null,f?(0,R.jsx)("div",{className:"tooltip-container",children:(0,R.jsx)(u.eE,(0,r.Z)((0,r.Z)({},f),{},{position:"bottom",size:"lg",children:f.content}))}):null]})})})),G=function(e){var n,t,a=e.fieldName,i=e.title,r=e.filterValue,o=e.filterOptions,l=e.onFilter,s=(0,c.$G)().t,d=o.map((function(e){return"string"===typeof e?{value:e,text:e}:e})).sort((function(e,n){return e.text>n.text?1:-1})),p=null!==(n=null===(t=d.find((function(e){return e.value===r})))||void 0===t?void 0:t.text)&&void 0!==n?n:"";return(0,R.jsx)("span",{className:"table-filter",children:(0,R.jsxs)(u.lg,{children:[(0,R.jsx)(u.Rv,{value:r,name:a,label:i}),r?(0,R.jsxs)("span",{className:"badge info",children:[(0,R.jsx)("span",{className:"filter-value",children:p}),(0,R.jsx)(u.si,{icon:"circle_x",title:s("CLEAR"),onClick:function(){return l(a,"")},className:"clickable pl-5 white"})]}):(0,R.jsx)(u.sV,{name:a,options:d,onChange:function(e){return l(a,e)},value:r,placeholder:i,search:!0})]})})},J=function(e){var n=e.className,t=e.search,a=e.edit,i=(0,A.e9)(["table-search-edit",n,a&&"has-edit"]);return(0,R.jsxs)("div",{className:i,children:[t&&(0,R.jsx)(H,(0,r.Z)({},t)),a&&(0,R.jsx)(Y,(0,r.Z)({},a))]})},H=function(e){var n=e.onSearch,t=e.searchPlaceholder,a=e.evaluateOnDemand,r=e.debouncePeriod,o=void 0===r?500:r,l=(0,c.$G)().t,d=(0,h.dX)("searchTerm"),p=(0,i.Z)(d,3),f=p[0],y=p[1],v=p[2],E=s.useRef(null),_=(0,s.useRef)(g().debounce((function(e){return y(e,a)}),o)),S=_.current;return(0,s.useEffect)((function(){_.current=g().debounce((function(e){return y(e,a)}),o)}),[_,y,o,a]),(0,s.useEffect)((function(){n(f||void 0)}),[f,n]),(0,s.useEffect)((function(){E.current.value=null!==f&&void 0!==f?f:""}),[]),(0,R.jsxs)("div",{className:"table-search",children:[(0,R.jsx)(u.si,{icon:"search",className:"white"}),(0,R.jsx)("input",{type:"text",ref:E,placeholder:null!==t&&void 0!==t?t:l("SEARCH_TABLE"),"aria-label":null!==t&&void 0!==t?t:l("SEARCH_TABLE"),"data-testid":"search-table",onChange:function(e){return S((0,m.G7)(e.target.value))},maxLength:T.QZ}),f&&(0,R.jsx)(u.si,{icon:"x",className:"white",onClick:function(){E.current.value="",v(a)}})]})},W=function(e){var n=e.category,t=e.heading,a=e.columns,i=e.changeColumnStatus,o=e.onDragEnd;return(0,R.jsx)(_.Z5,{onDragEnd:o,children:(0,R.jsx)(_.bK,{droppableId:n,children:function(e,o){return(0,R.jsxs)("ul",(0,r.Z)((0,r.Z)({className:"m-0 p-0 ".concat(o.isDraggingOver?"is-dragging":"")},e.droppableProps),{},{ref:e.innerRef,children:[(0,R.jsx)("li",{className:"heading",children:t}),a.map((function(e,t){var a=e.key,o=e.title;return(0,R.jsx)(_._l,{draggableId:a,index:t,children:function(e,t){return(0,R.jsxs)("li",(0,r.Z)((0,r.Z)({className:"\n ".concat(t.isDragging?"dragging":"","\n ")},e.draggableProps),{},{ref:e.innerRef,children:[(0,R.jsx)("span",{className:"mr-1","data-testid":"change-status",onClick:function(){return i(a)},children:(0,R.jsx)(u.si,{className:"white",icon:n===E.oM.SHOWN?"eye":"eye_slash"})}),(0,R.jsx)("span",{"data-testid":"column",children:o}),(0,R.jsx)("span",(0,r.Z)((0,r.Z)({className:"ml-1","data-testid":"drag-handle"},e.dragHandleProps),{},{children:(0,R.jsx)(u.si,{icon:"move",className:"white"})}))]}))}},a)})),e.placeholder]}))}})})},Y=function(e){var n=e.tableName,t=e.shownColumns,o=e.hiddenColumns,l=(0,c.$G)().t,p=(0,s.useRef)(null),m=(0,s.useRef)(null),h=(0,s.useState)(!1),y=(0,i.Z)(h,2),g=y[0],T=y[1],_=(0,v.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.tables)&&void 0!==n?n:{}})),S=(0,f.o)(),N=(0,i.Z)(S,1)[0];(0,s.useEffect)((function(){var e=function(e){var n,t;null!==(n=p.current)&&void 0!==n&&n.contains(e.target)||null!==m&&void 0!==m&&null!==(t=m.current)&&void 0!==t&&t.contains(e.target)||T(!1)};return document.addEventListener("mousedown",e,!1),function(){document.removeEventListener("mousedown",e,!1)}}),[]);var I=function(e){var t,i=_[n],o=i.SHOWN,l=i.HIDDEN;o=(0,d.kb)(o,e),l=(0,d.kb)(l,e),N({tables:(0,r.Z)((0,r.Z)({},_),{},(0,a.Z)({},n,(t={},(0,a.Z)(t,E.oM.SHOWN,o),(0,a.Z)(t,E.oM.HIDDEN,l),t)))})},C=function(e,t){var i,o,l=e.destination,s=e.source;if(l&&(l.droppableId!==s.droppableId||l.index!==s.index)){var u=null!==(i=_[n])&&void 0!==i?i:{},c=s.droppableId,p=Array.from(null!==(o=u[c])&&void 0!==o?o:[]),f=p.indexOf(t[s.index].key),m=p.indexOf(t[l.index].key);(0,d.pB)(p,f,m),N({tables:(0,r.Z)((0,r.Z)({},_),{},(0,a.Z)({},n,(0,r.Z)((0,r.Z)({},u),{},(0,a.Z)({},c,p))))})}};return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("div",{className:"table-edit","data-testid":"edit-table",onClick:function(){return T(!g)},ref:p,children:(0,R.jsx)(u.si,{icon:"pencil",className:(0,A.e9)(["white",g?"active":""])})}),g&&(0,R.jsxs)("div",{className:"edit-dropdown",ref:m,"data-testid":"edit-dropdown",children:[(0,R.jsx)(W,{category:E.oM.SHOWN,heading:l("SHOWN"),columns:t,changeColumnStatus:I,onDragEnd:function(e){return C(e,t)}}),(0,R.jsx)(W,{category:E.oM.HIDDEN,heading:l("HIDDEN"),columns:o,changeColumnStatus:I,onDragEnd:function(e){return C(e,o)}})]})]})},q=function(e){var n=e.children,t=e.className,a=e.nested;return(0,R.jsx)("thead",{className:a?"nested":"","data-testid":"table-header",children:(0,R.jsx)("tr",{className:t,children:n})})},K=function(e){var n=e.onCheck,t=e.checked;return(0,R.jsx)("th",{className:"bulk-item",children:(0,R.jsx)("input",{type:"checkbox",onChange:n,"data-testid":"check-all",checked:t,className:"checkbox"})})},z=function(e){var n=e.showClearFilters,t=e.onClearFilters,a=(0,c.$G)().t;return(0,R.jsx)("th",{className:"clear-filters fixed-width",children:(0,R.jsx)("div",{children:n&&(0,R.jsx)(u.si,{icon:"circle_x",title:a("CLEAR_FILTERS"),onClick:t,className:"clickable"})})})},X=function(e){var n=e.children,t=e.className,a=e.checked,i=e.onCheck,r=e.replaceCheckWith,o=e.showChecks,l=void 0===o||o,s=e.onClearFilters,u=e.showClearFilters,c=e.showClearFiltersHeader,d=void 0!==c?c:void 0!==u;return(0,R.jsxs)(q,{className:t,children:[l?r?(0,R.jsx)("th",{className:"bulk-item",children:r}):(0,R.jsx)(K,{onCheck:i,checked:a}):null,n,d&&(0,R.jsx)(z,{showClearFilters:u,onClearFilters:s})]})},$=function(e){var n=e.onChange;return(0,R.jsx)(C(),{offset:{bottom:-300},onChange:n,children:(0,R.jsx)(j,{checked:!1,children:(0,R.jsx)("td",{"data-testid":"Loading",children:(0,R.jsx)(u.TF,{className:"inline"})})})})}},43214:function(e,n,t){"use strict";t.d(n,{$t:function(){return a.$t},D_:function(){return a.D_},Eg:function(){return a.Eg},Eo:function(){return a.Eo},JZ:function(){return a.JZ},NU:function(){return a.NU},Op:function(){return a.Op},Pu:function(){return a.Pu},RM:function(){return a.RM},SC:function(){return a.SC},WZ:function(){return a.WZ},XL:function(){return a.XL},dV:function(){return a.dV},f4:function(){return a.f4},jA:function(){return a.jA},jr:function(){return a.jr},ke:function(){return a.ke},li:function(){return a.li},rh:function(){return a.rh},xC:function(){return a.xC},xD:function(){return a.xD}});var a=t(7699)},15705:function(e,n,t){"use strict";t.d(n,{Z:function(){return te}});var a=t(99710),i=t(89810),r=t(95764),o=t(96902),l=t(769),s=t(92858),u=t(75575),c=t(80132),d=t(59614),p=t(71421),f=t(50888);function m(e){var n,t;if((0,f.Z)(1,arguments),e&&"function"===typeof e.forEach)n=e;else{if("object"!==typeof e||null===e)return new Date(NaN);n=Array.prototype.slice.call(e)}return n.forEach((function(e){var n=(0,p.Z)(e);(void 0===t||t>n||isNaN(n))&&(t=n)})),t||new Date(NaN)}function h(e){var n,t;if((0,f.Z)(1,arguments),e&&"function"===typeof e.forEach)n=e;else{if("object"!==typeof e||null===e)return new Date(NaN);n=Array.prototype.slice.call(e)}return n.forEach((function(e){var n=(0,p.Z)(e);(void 0===t||t=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,p.Z)(e),s=l.getDay(),u=6+(s').concat(e,"")}},tooltip:{valueDecimals:1,shared:!0},time:{useUTC:!0},lang:{noData:u.ZP.t("NO_CHARTING_DATA_AVAILABLE")},credits:{enabled:!1}},f=a.forwardRef((function(e,n){var t=e.series,a=e.options;return(0,d.jsx)(s(),{highcharts:o(),containerProps:{className:"combo-chart"},ref:n,options:(0,i.merge)({series:t},p,a)})}))},76223:function(e,n,t){"use strict";t.d(n,{X:function(){return N},z$:function(){return I},VH:function(){return f},xh:function(){return S},mi:function(){return p},BI:function(){return _},KC:function(){return T},uP:function(){return E},Yh:function(){return v}});var a=t(81034),i=t(99710),r=t(25825),o=t(8960),l=t(36265),s=t(90497),u=t(68550),c=t(50888),d=36e5;var p,f,m=t(30290),h=t(29938),y=["connected","className"],g=["connected","className"];!function(e){e.NOT_PROVISIONED="not_provisioned",e.ACTIVE="active",e.INACTIVE="inactive",e.STAGED="staged"}(p||(p={})),function(e){e.LINKED="linked",e.UNLINKED="unlinked"}(f||(f={}));var T=function(e){var n=p.NOT_PROVISIONED;if(e){var t=new Date(e).getTime();n=t===s.A3?p.STAGED:function(e,n){(0,c.Z)(2,arguments);var t=(0,u.Z)(e,n)/d;return t>0?Math.floor(t):Math.ceil(t)}(Date.now(),t)<24?p.ACTIVE:p.INACTIVE}return n},v=function(e,n){return(0,l.Ab)(e||"")||!!n},E=function(e){return r.ZP.t(e?"ONLINE":"OFFLINE")},_=function(e){var n=[r.ZP.t("STAGED"),"provisioning-status-staged","server_staged"];switch(e){case p.ACTIVE:n=["".concat(r.ZP.t("PROVISIONED")," (").concat(r.ZP.t("ACTIVE"),")"),"provisioning-status-connected","server_active"];break;case p.INACTIVE:n=[r.ZP.t("PROVISIONED"),"provisioning-status-disconnected","server"];break;case p.STAGED:n=[r.ZP.t("STAGED"),"provisioning-status-staged","server_staged"]}var t=n,a=(0,i.Z)(t,3);return{provConnectionString:a[0],provConnectionClass:a[1],provConnectionIcon:a[2]}},S=function(e){var n,t=e.connected,i=e.className,r=(0,a.Z)(e,y);return i=null===(n=i)||void 0===n?void 0:n.replace(/\bwhite\b/gi,""),(0,h.jsx)("span",{"data-testid":r["data-testid"],children:(0,h.jsx)(o.si,{title:"",icon:t?"linked_yes":"linked_no",className:(0,m.e9)(["status-indicator","linked-device-status-indicator",i])})})},N=function(e){var n,t=e.connected,i=e.className,r=(0,a.Z)(e,g);return i=null===(n=i)||void 0===n?void 0:n.replace(/\bwhite\b/gi,""),(0,h.jsx)("span",{"data-testid":r["data-testid"],children:(0,h.jsx)(o.si,{title:"",icon:t?"connected":"circle_disconnected_filled",className:(0,m.e9)(["status-indicator",i])})})},I=function(e){var n=e.device,t=e.accountProvisioningDisabled,a=(0,r.$G)().t,i=E(!(null===n||void 0===n||!n.connected)),l=v(null===n||void 0===n?void 0:n.hardwareModel,null===n||void 0===n?void 0:n.lastConfigRequestDate),s=T(null===n||void 0===n?void 0:n.lastConfigRequestDate),u=_(s),c=u.provConnectionString,d=u.provConnectionClass,p=u.provConnectionIcon,f=l&&!t;return(0,h.jsx)(h.Fragment,{children:null===(null===n||void 0===n?void 0:n.connected)?f&&p&&(0,h.jsx)(o.eE,{iconTitle:a("STATUS_INDICATORS"),position:"bottom",className:"status font-sm font-regular",iconReplacement:(0,h.jsx)("span",{"data-testid":"server-icon",className:d,children:(0,h.jsx)(o.si,{icon:p})}),children:(0,h.jsx)("p",{className:"provisioning-status-text",children:c})}):(0,h.jsx)(o.eE,{iconTitle:a("STATUS_INDICATORS"),position:"bottom",className:"status font-sm font-regular",iconReplacement:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(N,{connected:!(null===n||void 0===n||!n.connected),className:(0,m.e9)(["nu-2",f&&"provisioned"]),"data-testid":"connection-status-dot"}),f&&p&&(0,h.jsx)("span",{"data-testid":"server-icon",className:d,children:(0,h.jsx)(o.si,{icon:p,className:"white"})})]}),children:(0,h.jsxs)("div",{className:"line-height-normal",children:[i,f&&c&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"divider mv-5"}),(0,h.jsx)("div",{className:"provisioning-status-text",children:c})]})]})})})}},40348:function(e,n,t){"use strict";t.d(n,{IG:function(){return d},v$:function(){return u},yR:function(){return c}});var a,i=t(99710),r=t(81084),o=(t(96902),t(1987)),l=t(58512),s=t(29938);function u(e,n){var t=(0,o.Aj)(),s=(0,l.D3)().user,u={};(n||t)&&(u.tenantId=n||t),null!==s&&void 0!==s&&s.email&&(u.email=s.email);var c=(0,r.SS)(a[e],{},{overrideAttributes:u}),d=(0,i.Z)(c,4);return[d[0],d[1],d[2],d[3]]}!function(e){e.ACCOUNT_CONSOLIDATION="account-consolidation",e.ANALYSIS_CHARTS_AGGREGATE_VALUE="analysis-charts-aggregate-value",e.CALL_CONTROL="call_control",e.DEBUG_USER_ROLES="user-roles-debug",e.EDGE_RELAY="edge-relay",e.INSIGHTS_CHARTS="insight-charts",e.INSIGHTS_DEVICE_LIST="lens-insight-device-list",e.INSIGHTS_LEGACY="legacy-insight-details",e.INSIGHTS_ROOM_CATEGORIES="room-insights-categories",e.INTEGRATION_AZURE_AD="integration-azure-ad",e.IS_POLY_USER="poly-users-flag",e.LENS_LANGUAGE_SELECT="lens-language-select",e.LENS_MOBILE_BETA="lens_mobile_beta",e.MOBILE_APP_REGISTRATION_TOAST="mobile_app_registration_toast",e.MOTD_TOAST_ENABLED="motd_toast_enabled",e.POLYOS_LOGGING_TO_FLASH="polyos_logging_to_flash",e.POLYOS_MANAGEMENT="polyos_management",e.POWERBI_INTEGRATION="powerbi-integration",e.RELAY_RPRM="relay_rprm",e.SITE_REBOOT="site_reboot",e.SITE_TOPOLOGY_IMPORT="site_topology_import",e.MANAGE_CALL_STATUS="manage-call-status",e.LOGINLESS_TOKENS="loginless_tokens",e.RESOURCE_FILES="resource_files",e.SYSTEM_STATUS="polyos-system-status",e.LENS_DESKTOP_POLICIES="lens_desktop_policies"}(a||(a={}));var c=function(e){var n=p(e),t=(0,i.Z)(n,2),a=t[0],r=t[1],o=u(e.feature);return(0,i.Z)(o,1)[0]&&a||r?(0,s.jsx)(s.Fragment,{children:e.children}):(0,s.jsx)(s.Fragment,{children:e.elseRender||null})},d=function(e){var n=p(e),t=(0,i.Z)(n,2),a=t[0],r=t[1],o=u(e.feature),l=(0,i.Z)(o,1)[0];return(0,s.jsx)(c,{feature:e.orFeature,andIf:a,orIf:l||r,elseRender:e.elseRender,children:e.children})},p=function(e){return[void 0===e.andIf||e.andIf,void 0!==e.orIf&&e.orIf]}},63255:function(e,n,t){"use strict";var a=t(99710),i=t(96902),r=t(25825),o=t(55713),l=t(8960),s=t(30290),u=t(29938);n.Z=function(e){var n=e.title,t=e.field,c=e.options,d=e.additionalClasses,p=e.onChange,f=e.enableTooltip,m=void 0!==f&&f,h=e.filterValues,y=e.sort,g=void 0!==y&&y,T=e.search,v=void 0!==T&&T,E=e.loading,_=void 0!==E&&E,S=e.clearable,N=void 0!==S&&S,I=e.customValue,C=void 0!==I&&I,A=(0,i.useState)(!1),R=(0,a.Z)(A,2),O=R[0],b=R[1],L=(0,r.$G)().t,k=function(e,n){if(g){var t=n?n.direction:"DESC";p(""!==e?{field:e,direction:t}:void 0)}else p(e)},D=(0,o.Uh)(h,t),x=h[t],P=x;g&&P&&(P=P.field);var U="ASC"===(null===x||void 0===x?void 0:x.direction),w="floating-label-filter border-box border-radius-4 ph-5 pv-0 mv-15 clickable ".concat(D?"selected":""," ").concat(null!==d&&void 0!==d?d:""," ").concat(O?"open":"").trim();return(0,u.jsxs)("div",{className:w,children:[g&&D?(0,u.jsx)(l.LD,{icon:"arrow_up",title:L(U?"ASCENDING":"DESCENDING"),className:"filter-arrow",iconClassName:(0,s.e9)(["white",U?"desc":""]),onClick:function(){return function(e){var n={field:e.field,direction:"ASC"===e.direction?"DESC":"ASC"};p(n)}(x)}}):null,(0,u.jsx)(l.xB,{name:n,options:c,enableTooltip:m,onChange:function(e){return k(e,x)},label:n,value:D?P:"",search:v,busy:_,clearable:N,customValue:C,handleParentOpen:b})]})}},14491:function(e,n,t){"use strict";t.d(n,{B:function(){return s}});var a=t(99710),i=t(90497),r=(t(96902),t(22209)),o=t(8960),l=t(29938),s=function(e){var n=e.testId,t=e.location,s=void 0===t?null:t,u=e.className,c=e.children,d=(0,r.kF)().envName,p=(0,o.v$)("LENS_MOBILE_BETA"),f=(0,a.Z)(p,1)[0];return(0,l.jsx)("a",{href:f?i.XT[d===i.WR?i.or:d]+(null!==s&&void 0!==s?s:""):i.XT[d]+(null!==s&&void 0!==s?s:""),className:u||"",target:"_blank",rel:"noopener noreferrer","data-testid":n,children:c})};n.Z=s},536:function(e,n,t){"use strict";t.d(n,{T:function(){return l}});t(96902);var a=t(8960),i=t(25825),r=t(30290),o=t(29938),l=function(e){var n=(0,i.$G)().t,t=(0,r.e9)(["loading-indicator",e.className]),l=e.title||n("LOADING");return(0,o.jsxs)("div",{className:t,"data-testid":"loading-indicator",children:[(0,o.jsx)(a.si,{icon:"refresh",className:"spin mr-5"}),l]})}},89412:function(e,n,t){"use strict";t.d(n,{si:function(){return m},LD:function(){return h},ZP:function(){return g}});var a=t(95764),i=t(81034);t(96902);var r=t.p+"static/media/symbol-defs.375d17954a3261e44a29e9d13f5a2227.svg";var o=t.p+"static/media/star_badge.83cb6f351bac642ed093975701e64b16.svg",l=t(25825),s=t(30290),u=t(29938),c=["title","className","onClick","onMouseEnter","onMouseLeave"],d=["icon","title","className","iconClassName"],p={star_badge:o},f={connected:"circle_filled"},m=function(e){var n=e.title,t=e.className,a=e.onClick,o=e.onMouseEnter,l=e.onMouseLeave,d=(0,i.Z)(e,c),m=Object.hasOwnProperty.call(f,e.icon)?f[e.icon]:e.icon,h=(0,s.e9)(["poly-icon",m,t,m.match(/_filled$/i)&&"icon-filled",m===e.icon?"":e.icon]);return Object.keys(p).includes(m)?(0,u.jsx)(y,{className:h,icon:m,dataTestId:d["data-testid"]}):(0,u.jsx)("svg",{className:h,xmlnsXlink:"http://www.w3.org/1999/xlink",onClick:a,onMouseEnter:o,onMouseLeave:l,"data-testid":d["data-testid"],children:(0,u.jsx)("use",{xlinkHref:"".concat(r,"#").concat(m),children:n&&(0,u.jsx)("title",{children:n})})})},h=function(e){var n=e.icon,t=e.title,r=e.className,o=e.iconClassName,l=(0,i.Z)(e,d);return(0,u.jsx)("button",(0,a.Z)((0,a.Z)({className:"btn-poly-icon ".concat(r)},l),{},{children:(0,u.jsx)(m,{icon:n,title:t,className:o})}))},y=function(e){var n=e.className,t=e.icon,a=e.dataTestId,i=(0,l.$G)().t,r=p[t];return(0,u.jsx)("img",{className:n,src:r,alt:i("PREMIUM_FEATURE"),"data-testid":a})},g=m},35315:function(e,n,t){"use strict";t.d(n,{e:function(){return u}});var a=t(81034),i=t(96902),r=t(8960),o=t(30290),l=t(29938),s=["disablePopup","messageClassName"],u=function(e){var n=e.disablePopup,t=void 0!==n&&n,u=e.messageClassName,c=void 0===u?null:u,d=(0,a.Z)(e,s),p=(0,i.useRef)(null),f=d.showTooltipOnClick;(0,i.useEffect)((function(){var e=function(e){var n;null!==p&&void 0!==p&&null!==(n=p.current)&&void 0!==n&&n.contains(e.target)||!f||f(!0)};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),[f]);var m=d.icon||"circle_help",h=d.iconSize?" icon-".concat(d.iconSize):"",y=d.iconPosition||"left",g=d.title||"",T=d.position||"top",v=d.size||"md",E=d.className||"",_=d.iconClassName||"",S=(0,o.e9)(["tooltip-message","tooltip-".concat(v),"arrow-".concat({top:"bottom",right:"left",bottom:"top",left:"right"}[T]),void 0!==d.showTooltipOnClick?"scroll-behind-header":null,"dynamic"===v?"dynamic":null,c]);return(0,l.jsxs)("div",{ref:p,className:"tooltip ".concat(void 0!==d.showTooltipOnClick?"click-only":"hover"," tooltip-").concat(T," icon-").concat(y," ").concat(E),"data-testid":null===d||void 0===d?void 0:d.testDataId,children:["right"===y?g:null,d.iconReplacement?d.hideTextOverflow?(0,l.jsx)("div",{className:"tool-tip-text",children:d.iconReplacement}):d.iconReplacement:(0,l.jsx)(r.si,{onClick:function(){f&&d.showTooltipOnClick(!1)},icon:m,title:d.iconTitle,className:"tooltip-icon icon-".concat(y).concat(h," ").concat(_).trim()}),"left"===y?g:null,t?null:(0,l.jsx)("div",{className:S,"data-testid":"".concat((null===d||void 0===d?void 0:d.testDataId)||"default","-tooltip-message"),children:(0,l.jsx)("div",{className:"tooltip-liner",children:d.children})})]})}},8960:function(e,n,t){"use strict";t.d(n,{RV:function(){return o},Tm:function(){return Me},TH:function(){return X},vw:function(){return A},Lw:function(){return b.L},iu:function(){return P},EK:function(){return U},gI:function(){return w},X:function(){return ue.X},m:function(){return de},Ft:function(){return fe},q3:function(){return xe},tW:function(){return s},Rv:function(){return Se},PS:function(){return me},sV:function(){return Ee},lg:function(){return _e},O7:function(){return Ie},R5:function(){return u},mf:function(){return Ae},yR:function(){return v.yR},IG:function(){return v.IG},wT:function(){return c},b_:function(){return Fe},xB:function(){return Ne},A6:function(){return Ze},BQ:function(){return Ge.B},z$:function(){return ue.z$},pd:function(){return Ue},aN:function(){return Je},p6:function(){return d},TF:function(){return pe.T},V0:function(){return f},Jp:function(){return He},c7:function(){return p},BN:function(){return We},si:function(){return y.si},LD:function(){return y.LD},pJ:function(){return O},Ce:function(){return ze},TC:function(){return I},jM:function(){return tn},cR:function(){return an},PE:function(){return R},qN:function(){return Rn},wV:function(){return On},ko:function(){return bn},Mj:function(){return Un},yG:function(){return Mn},fv:function(){return rn},bS:function(){return ne},Mm:function(){return jn},Ll:function(){return Fn},Cx:function(){return Kn},NG:function(){return Jn},OZ:function(){return Wn},eE:function(){return Yn.e},id:function(){return qn},dn:function(){return te},Ql:function(){return ke},nQ:function(){return we},tG:function(){return De},v$:function(){return v.v$}});var a=t(96902),i=t(89006),r=t(29938),o=function(){var e=(0,i.v)(t.e(900).then(t.t.bind(t,66824,19)),t.e(900).then(t.t.bind(t,52053,19))),n=e.light,a=e.dark;return n&&a?(0,r.jsx)(i.Z,{animation:{light:n,dark:a}}):(0,r.jsx)(r.Fragment,{})},l=t(30290),s=function(e){var n=e.className,a=e.title,o=e.titleClass,s=e.children,u=e.animationClasses,c=(0,l.e9)(["no-results-indicator",n]),d=(0,i.v)(t.e(900).then(t.t.bind(t,45131,19)),t.e(900).then(t.t.bind(t,74722,19))),p=d.light,f=d.dark;return p&&f?(0,r.jsxs)("div",{className:c,id:"mobile-astronaut-download",children:[(0,r.jsx)(i.Z,{className:u,animation:{light:p,dark:f},title:a,titleClass:o}),s]}):(0,r.jsx)(r.Fragment,{})},u=function(e){var n=e.className,a=e.title,o=e.titleClass,l=(0,i.v)(t.e(900).then(t.t.bind(t,12896,19)),t.e(900).then(t.t.bind(t,71630,19))),s=l.light,u=l.dark;return s&&u?(0,r.jsx)(i.Z,{className:n,animation:{light:s,dark:u},title:a,titleClass:o}):(0,r.jsx)(r.Fragment,{})},c=function(){var e=(0,i.v)(t.e(900).then(t.t.bind(t,74782,19))).light;return e?(0,r.jsx)(i.Z,{animation:{light:e,dark:e},className:"upload-icon-animated",loop:!1}):(0,r.jsx)(r.Fragment,{})},d=function(){var e=(0,i.v)(t.e(900).then(t.t.bind(t,15982,19)),t.e(900).then(t.t.bind(t,26657,19))),n=e.light,a=e.dark;return n&&a?(0,r.jsx)(i.Z,{animation:{light:n,dark:a}}):(0,r.jsx)(r.Fragment,{})},p=function(e){var n=e.className,a=e.title,o=e.titleClass,s=e.children,u=(0,l.e9)(["no-results-indicator",n]),c=(0,i.v)(t.e(900).then(t.t.bind(t,12896,19)),t.e(900).then(t.t.bind(t,71630,19))),d=c.light,p=c.dark;return d&&p?(0,r.jsxs)("div",{className:u,id:"no-results-animation",children:[(0,r.jsx)(i.Z,{animation:{light:d,dark:p},title:a,titleClass:null!==o&&void 0!==o?o:""}),s]}):(0,r.jsx)("div",{className:u,id:"no-results-animation",children:s})},f=function(e){var n=e.className,a=e.title,o=e.titleClass,l=(0,i.v)(t.e(900).then(t.t.bind(t,6609,19)),t.e(900).then(t.t.bind(t,41183,19))),s=l.light,u=l.dark;return s&&u?(0,r.jsx)(i.Z,{animation:{light:s,dark:u},className:n,title:a,titleClass:o}):null},m=t(62178),h=t(82192),y=t(89412);var g=t.p+"static/media/premium_beta.4cab85cf8e9e3fb2b69046a5f6e679af.svg";var T=t.p+"static/media/premium_beta_alternate.9ea83ead90f0e23ea21c8050da82af3c.svg",v=t(40348);var E=t.p+"static/media/beta.dca903740ad31f7020909ac7c0bd6849.svg";var _=t.p+"static/media/beta_alternate.fa929d5dc91dddea73f6b05fdb0f52d8.svg";var S=t.p+"static/media/preview.2e0d5ae49cae2fce9677ff3d14155573.svg",N=t(25825),I=function(){var e=(0,m.v9)((function(e){return e.userMeta.theme}))===h.qx?g:T;return(0,r.jsx)("img",{className:"card-badge premium-beta ml-1",src:e,alt:"Premium Beta","data-testid":"premium-beta-badge"})},C=function(e){var n=e.badge,t=e.alt,a=e.testId,i=e.className,o=(0,m.v9)((function(e){return e.userMeta.theme}))===h.qx?n.light:n.dark;return(0,r.jsx)("img",{className:null!==i&&void 0!==i?i:"",src:o,alt:t,"data-testid":a})},A=function(e){var n=e.className;return(0,r.jsx)(C,{badge:{light:E,dark:_},alt:"Beta",testId:"beta-badge",className:n})},R=function(e){var n=e.className;return(0,r.jsx)(C,{badge:{light:S,dark:S},alt:"Preview",testId:"preview-badge",className:n})},O=function(){var e=(0,N.$G)().t;return(0,r.jsx)(v.yR,{feature:"IS_POLY_USER",children:(0,r.jsxs)("div",{className:"card-badge poly-internal d-flex",children:[(0,r.jsx)(y.ZP,{icon:"poly_propeller_filled",className:"mr-5"}),e("POLY_INTERNAL")]})})},b=t(50660),L=t(81034),k=t(82933),D=["className","children"],x=["label","active","onClick","disabled","fetching","divClass","polyIcon","polyIconClasses"],P=function(e){var n=e.label,t=e.active,a=e.onClick,i=e.disabled,o=e.fetching,s=e.divClass,u=e.polyIcon,c=e.polyIconClasses,d=(0,L.Z)(e,x),p=(0,N.$G)().t,f=i?"disabled":"",m=(0,l.e9)([f,s]),h=(0,l.e9)(["xs ml-5",null!==c&&void 0!==c?c:""]);return(0,r.jsx)("li",{className:t?"active":f,children:(0,r.jsx)("div",{onClick:a,"data-testid":d["data-testid"],className:m,children:o?p("LOADING"):u?(0,r.jsxs)("div",{className:"d-flex justify-center",children:[(0,r.jsx)("div",{children:n}),(0,r.jsx)(y.si,{icon:u,className:h})]}):n})})},U=function(e){var n,t=e.className,a=void 0===t?"":t,i=e.children,o=(0,L.Z)(e,D);return(0,r.jsx)("div",{className:"menu category-switcher ".concat(a),"data-testid":null!==(n=o["data-testid"])&&void 0!==n?n:"switcher-test",children:(0,r.jsx)("ul",{children:i})})},w=function(e){var n=e.title,t=e.subtitle,a=e.className,i=(0,l.e9)(["category-title font-xxl mb-15",a]);return(0,r.jsxs)("div",{className:i,children:[(0,r.jsx)("span",{className:"font-bold",children:n}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"font-light separator",children:"|"}),(0,r.jsx)("span",{className:"font-light",children:t})]})]})},M=t(95764),V=t(16179),j=t.n(V),F=t(97884),B=t.n(F),Z=t(90497),G=t(91938),J=t.n(G),H=t(60943),W=t.n(H),Y=t(37473);J()(j()),W()(j()),j().setOptions({lang:{thousandsSep:","}});var q,K=function(e){var n=e.options,t=e.colors,a=e.plotOptions,i=(0,m.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.theme)&&void 0!==n?n:h.KH})),o=(0,Y.NP)(i),l=o.backgroundColor,s=o.textColor,u=o.titleColor,c=o.chartColor;return(0,r.jsx)(B(),{highcharts:j(),options:(0,M.Z)((0,M.Z)({},n),{},{colors:t,chart:(0,M.Z)({spacingBottom:20,spacingTop:10,spacingLeft:10,spacingRight:10,marginTop:45,backgroundColor:l,style:{fontFamily:"Lato, sans-serif"}},n.chart),title:(0,M.Z)({align:"left",margin:32,style:{color:u,fontWeight:"bold"}},n.title),subtitle:(0,M.Z)({style:{color:u}},n.subtitle),lang:{noData:N.ZP.t("NO_CHARTING_DATA_AVAILABLE")},noData:{style:{fontFamily:"Lato",color:Z.DM.WHITE}},legend:(0,M.Z)({itemStyle:{color:u,opacity:.7},itemHoverStyle:{color:u,opacity:1}},n.legend),xAxis:(0,M.Z)({labels:{style:{color:s}}},n.xAxis),yAxis:(0,M.Z)({labels:{style:{color:s}},gridLineColor:c},n.yAxis),credits:{enabled:!1},time:{useUTC:!0},tooltip:(0,M.Z)({valueDecimals:1},n.tooltip),plotOptions:(0,M.Z)({},a)})})},z=t(48930),X=function(e){var n=e.series,t=e.colors,a=e.title,i=e.timeScope,o=e.theme,l=e.height,s=e.yAxis,u=(0,Y.Rv)(n,o);return(0,r.jsx)(K,{options:{chart:{type:"area",height:l},xAxis:{tickmarkPlacement:"on",crosshair:{width:1},type:"datetime"},yAxis:{allowDecimals:!1,title:{text:s}},tooltip:{dateTimeLabelFormats:{hour:i===z._AU.Day?"%A, %b %e, %H:%M":"%A, %b %e, %Y"},shared:!0},title:{text:a},series:u},colors:t,plotOptions:{series:{marker:{enabled:!1}},area:{stacking:"normal",lineWidth:1}}})};!function(e){e.LINEAR="linear",e.LOGARITHMIC="logarithmic",e.DATE_TIME="datetime",e.CATEGORY="category"}(q||(q={}));var $=t(89810),Q=t(51077),ee=function(e){var n=e.figure,t=e.desc,a=e.width;return(0,r.jsxs)("div",{"data-testid":"".concat(n,",").concat(t),className:"simple-bar",children:[(0,r.jsx)("div",{className:"simple-bar-title",children:n}),(0,r.jsx)("div",{className:"simple-bar-display",style:{width:a},children:(0,r.jsx)("div",{className:"simple-bar-desc",children:t})})]})},ne=function(e){var n=e.data,t=e.percentage,a=e.single?1:Math.max.apply(Math,(0,$.Z)(n.map((function(e){return e.figure}))));return(0,r.jsx)("div",{className:"simple-chart",children:n.map((function(e,n){return(0,r.jsx)(ee,{figure:t?"".concat((0,Q.ts)(100*e.figure),"%"):(0,Q.ts)(e.figure),desc:e.desc,width:"".concat(e.figure/a*100,"%")},n)}))})},te=function(e){var n=e.categories,t=void 0===n?[]:n,a=e.colors,i=void 0===a?[]:a,o=e.height,l=e.legendItemClickable,s=void 0!==l&&l,u=e.series,c=e.title,d=e.yLabel,p=(0,Y.Ck)(u),f=(0,Y.pH)(p),m=f.min,h=f.max;return(0,r.jsx)(K,{colors:i,options:{chart:{type:"xrange",height:o},title:{text:c||"",align:"left",style:{color:Z.DM.WHITE}},series:p,xAxis:{min:m,max:h,endOnTick:!0,type:"datetime",tickInterval:36e5,dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"}},yAxis:{title:{text:d},gridLineWidth:0,tickAmount:0,categories:t,reversed:!0,labels:{enabled:!0}},legend:{itemStyle:{color:Z.DM.WHITE,cursor:"default"},itemHoverStyle:{color:Z.DM.WHITE}}},plotOptions:{series:{events:{legendItemClick:function(){return s}}}}})},ae=t(82333),ie=t(85358),re=t(99710),oe=t(90666),le=t(18891);function se(e){var n=e.notify,t=void 0===n||n,i=e.notifyName,r=e.onCopyText,o=(0,N.$G)().t,l=(0,oe.lm)(),s=(0,re.Z)(l,1)[0],u=(0,a.useCallback)(function(){var e=(0,ie.Z)((0,ae.Z)().mark((function e(n){var a,l;return(0,ae.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,le.v)(n);case 2:a=e.sent;try{r&&r(n,a)}finally{t&&(l=null!==i&&void 0!==i?i:o("DATA"),s({id:a?"copy-to-clipboard-success":"copy-to-clipboard-failed",type:a?"success":"error",message:o(a?"COPIED_TO_CLIPBOARD":"COPY_TO_CLIPBOARD_FAILED",{name:l}),dismiss:oe.GP.SLOW}))}return e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),[t,i,r]);return{copyText:u}}var ue=t(76223),ce=["icon","iconClassName","iconButton","getTextToCopy","notify","notifyName","onCopyText","className","children","type","onClick"],de=function(e){var n=e.icon,t=e.iconClassName,a=e.iconButton,i=e.getTextToCopy,o=e.notify,s=void 0===o||o,u=e.notifyName,c=e.onCopyText,d=e.className,p=e.children,f=e.type,m=e.onClick,h=(0,L.Z)(e,ce),g=(0,N.$G)().t,T=se({notify:s,notifyName:u,onCopyText:c}),v=function(){var e=(0,ie.Z)((0,ae.Z)().mark((function e(n){var t;return(0,ae.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.preventDefault(),t=T.copyText(i()),m&&t.finally((function(){m(n)}));case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),E=f||"button",_=null!==n&&void 0!==n?n:"clipboard";return(0,r.jsxs)("button",(0,M.Z)((0,M.Z)({type:E,className:(0,l.e9)([a?"btn-poly-icon":"btn",d]),"data-testid":"copy-to-clipboard-button",onClick:v},h),{},{children:[_&&(0,r.jsx)(y.ZP,{className:t,icon:_}),a?p:p||g("COPY")]}))},pe=t(536),fe=function(e){var n=e.loading,t=e.children,i=e.title,o=e.overlayOpacity,s=e.className,u=(0,a.useRef)(null),c=(0,a.useRef)(n);c.current=n,(0,a.useEffect)((function(){var e=u.current;if(e){var n=function(e){c.current&&e.preventDefault()};return e.addEventListener("keydown",n),function(){e.removeEventListener("keydown",n)}}}),[]);var d=n?Math.trunc(100*(null!==o&&void 0!==o?o:1)):0,p=(0,l.e9)([s,"loading-container",n?"loading":"",d?"loading-opacity-".concat(d):""]);return(0,r.jsxs)("div",{ref:u,className:p,"data-testid":"loading-container",children:[t,(0,r.jsx)("div",{className:"loading-overlay",children:(0,r.jsx)(pe.T,{title:i})})]})},me=function(e){var n=e.title,t=e.icon,i=e.iconTitle,o=e.iconClassName,s=e.disabled,u=e.className,c=e.children,d=(0,a.useState)(!1),p=(0,re.Z)(d,2),f=p[0],m=p[1],h=a.useRef(null);(0,a.useEffect)((function(){var e=function(e){var n;null!==h&&void 0!==h&&null!==(n=h.current)&&void 0!==n&&n.contains(e.target)||m(!1)};return document.addEventListener("mousedown",e,!1),function(){document.removeEventListener("mousedown",e,!1)}}),[]);var g=(0,l.e9)([u,t?"btn-poly-icon":"btn",s?"disabled":""]),T=f?"open":"";return(0,r.jsxs)("div",{className:"dropdown-btn d-inline-block relative",children:[(0,r.jsx)("button",{className:"d-inline-block ".concat(g),disabled:s,onClick:function(){m(!f)},ref:h,children:t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.ZP,{icon:t,title:i,className:o}),n]}):n}),(0,r.jsx)("ul",{className:"dropdown-menu p-0 mt-5 absolute ".concat(T),"data-testid":"dropdown-menu",children:a.Children.map(c,(function(e,n){var t;return a.isValidElement(e)&&(0,r.jsx)("li",{children:a.cloneElement(e,(0,M.Z)((0,M.Z)({},e.props),{},{className:"dropdown-item block p-5 font-sm ".concat(null!==(t=e.props.className)&&void 0!==t?t:"")}))},n)}))})]})},he=t(9363),ye=t.n(he),ge=["label","name","value"],Te=function(e){var n,t=e.name,i=e.options,o=e.enableTooltip,s=void 0!==o&&o,u=e.visible,c=e.onClick,d=e.noResultsKey,p=e.onChange,f=e.value,m=e.focusIndex,h=e.inline,y=e.disabled,g=e.testid,T=e.dividerIndices;f=null!==(n=f)&&void 0!==n?n:void 0;var v=(0,N.$G)().t;(0,a.useEffect)((function(){var e=document.getElementById("option-".concat(m));e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}),[m]);var E=function(e){return g?"".concat(g,"-option-text-").concat(e):"option-text"};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("select",{id:t+"-select","data-testid":t+"-select",name:t,onChange:function(e){return p(e.target.value)},value:f,className:"hidden-select-state",role:"listbox",disabled:y,children:i.map((function(e,n){return(0,r.jsx)("option",{value:e.value,onClick:function(){return c(e)},disabled:y||e.disabled,children:e.text},JSON.stringify(e.value)+n)}))}),(0,r.jsx)("div",{className:"shadow-blocker ".concat(u?"visible":"")}),(0,r.jsxs)("ul",{className:"options-list ".concat(u?"open":""," ").concat(h?"inline":""),children:[i.map((function(e,n){var t=(0,l.e9)(["option",n===m?"focus":"",e.value===f?"active":"",e.disabled?"disabled":""]),i=e.icon,o=e.iconPosition,u=void 0===o?"before":o,d=(0,l.e9)(["d-flex align-center","after"===u?"flex-row-reverse justify-space-between":""]),p="before"===u?"mr-5":"ml-15";return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("li",{className:t,onClick:function(){return c(e)},id:"option-".concat(n),children:[(0,r.jsx)("span",{"data-testid":E(n),className:"option-content",title:s?e.text:void 0,children:i?(0,r.jsxs)("span",{className:d,children:[(0,r.jsx)("span",{className:p,children:i}),(0,r.jsx)("span",{children:e.text})]}):e.text}),void 0!==e.count&&(0,r.jsx)("span",{className:"option-count",children:e.count})]},e.value+n),(null===T||void 0===T?void 0:T.includes(n))&&(0,r.jsx)("li",{className:"divider"},"".concat(e.value+n,"-divider"))]},e.value+n)})),i.length?null:(0,r.jsx)("li",{className:"option",children:v(d)},"no-results")]})]})},ve={inputDebounce:500},Ee=function(e){var n=e.name,t=e.onChange,i=e.onOpen,o=e.value,s=e.options,u=void 0===s?[]:s,c=e.inputReplacement,d=e.enableTooltip,p=void 0!==d&&d,f=e.className,m=void 0===f?"":f,h=e.search,g=void 0!==h&&h,T=e.busy,v=void 0!==T&&T,E=e.clearable,_=void 0!==E&&E,S=e.customValue,I=void 0!==S&&S,C=e.noResults,A=void 0===C?"NO_RESULTS":C,R=e.fitted,O=void 0!==R&&R,b=e.selectOnInput,L=void 0!==b&&b,k=e.tabIndex,D=void 0===k?0:k,x=e.placeholder,P=e.inline,U=void 0!==P&&P,w=e.disabled,M=void 0!==w&&w,V=e.testid,j=e.dividerIndices,F=e.handleParentOpen,B=(0,a.useState)(!1),Z=(0,re.Z)(B,2),G=Z[0],J=Z[1],H=o||!1,W=(0,a.useState)(""),Y=(0,re.Z)(W,2),q=Y[0],K=Y[1],z=(0,a.useState)(-1),X=(0,re.Z)(z,2),$=X[0],Q=X[1],ee=(0,a.useRef)(null),ne=(0,N.$G)().t,te=function(){return Q(-1)},ae=u.filter((function(e){return o&&e.value===o})),ie=null!==o&&void 0!==o?o:"";1===ae.length&&(ie=ae[0].text);var oe=function(){G||K(""),J(!G),F&&F(!G),!G&&i&&i()};(0,a.useEffect)((function(){var e=function(e){var n;null!==ee&&void 0!==ee&&null!==(n=ee.current)&&void 0!==n&&n.contains(e.target)||(J(!1),F&&F(!1),te())};return document.addEventListener("mousedown",e,!1),function(){document.removeEventListener("mousedown",e,!1)}}),[F]);var le=(0,a.useMemo)((function(){return(0,he.debounce)((function(e){t(e)}),ve.inputDebounce)}),[t]),se=function(e){e.disabled||(t(e.value),J(!1),F&&F(!1),K(""),te())},ue=u,ce=(0,r.jsx)(y.si,{icon:"caret_down",className:(0,l.e9)(["white",G?"open":""])});g&&q&&(ue=u.filter((function(e){return e.text.toLowerCase().includes(q.toLowerCase())}))),H&&_?ce=(0,r.jsx)(y.si,{icon:"x",className:"white"}):v&&(ce=(0,r.jsx)(y.si,{icon:"refresh",className:"spin white"})),I&&g&&q&&ue.unshift({text:ne("CUSTOM_VALUE",{value:q}),value:q});var de=(0,l.e9)(["dropdown-list",m,O?"fitted":"",G?"dropdown-open":""]);return(0,r.jsxs)("div",{className:de,ref:ee,"data-testid":"".concat(n),children:[(0,r.jsxs)("div",{className:"input-wrapper ".concat(G?"open":""),"data-testid":"".concat(n,"-dropdown-list"),children:[(0,r.jsx)("span",{className:"toggle-area","data-testid":"".concat(n,"-dropdown-input"),onClick:M?function(){}:oe,children:c||(0,r.jsx)("input",{className:M?"disabled":G?"open":"",id:n,type:"text","data-testid":"".concat(n,"-input-element"),onChange:function(e){return n=e.target.value,G||(J(!0),F&&F(!0)),L&&le(n),void K(n);var n},onKeyDown:function(e){var n=e.key;"Enter"===n?(e.preventDefault(),$>=0?(se(ue[$]),te()):null!==q&&void 0!==q&&q.length&&g&&I&&se({text:q,value:q})):"Tab"===n&&g?(K(""),J(!1),F&&F(!1),te()):"ArrowDown"===n?Q($=0?$-1:$)},placeholder:x,value:G?q:ie,readOnly:!g,tabIndex:D,disabled:M})}),!M&&(0,r.jsx)("span",{className:"icon",onClick:function(){H&&_?(K(""),t("")):(oe(),te())},"data-testid":"action-icon",children:ce})]}),!M&&(0,r.jsx)(Te,{name:n,options:ue,enableTooltip:p,visible:G,onClick:se,value:o,noResultsKey:A,onChange:t,focusIndex:$,inline:U,disabled:M,testid:V,dividerIndices:j})]})},_e=function(e){var n=e.children;return(0,r.jsx)("div",{className:"dropdown-group",children:n})},Se=function(e){var n=e.value,t=e.name,a=e.label,i=n||!1;return(0,r.jsx)("label",{className:"type-label ".concat(i?"selected":""),id:t+"-select-label",htmlFor:t+"-select",children:a})},Ne=function(e){var n=e.label,t=e.name,a=e.value,i=(0,L.Z)(e,ge);return(0,r.jsxs)(_e,{children:[(0,r.jsx)(Se,{value:a,name:t,label:n}),(0,r.jsx)(Ee,(0,M.Z)((0,M.Z)({name:t,value:a},i),{},{placeholder:n}))]})},Ie=function(e){var n=e.text,t=e.linkTo,a=e.keepParams,i=e.onClose;return(0,r.jsx)("div",{className:"edge-link","data-testid":"edge-link",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"edge-link-close","data-testid":"close-edge-link",onClick:function(){i&&i()},children:(0,r.jsx)(y.si,{title:"close",icon:"x"})}),(0,r.jsx)("div",{className:"edge-link-content",children:(0,r.jsx)(k.rU,{to:t,persist:a,children:n})})]})})},Ce=t(88341),Ae=function(e){var n=e.k,t=void 0===n?"ERROR_FATAL_APPLICATION":n,a=(0,N.$G)().t;return(0,r.jsx)(Ce.A,{children:(0,r.jsx)(Ce.A.Content,{children:a(t)})})},Re=t(63255),Oe=t(55713),be=t(38097),Le={model:void 0,version:void 0,insight:void 0,connected:void 0,site:void 0,sort:{field:"model",direction:"ASC"},status:void 0,provisioningState:void 0,client:void 0,linkedDeviceState:void 0},ke=function(e){var n=!1;return(0,be.X8)(Le).forEach((function(t){"sort"!==t&&(0,Oe.Uh)(e,t)&&(n=!0)})),n};function De(){return(0,k.XC)("DeviceFilterState",Le)}var xe=function(e){return(0,r.jsx)(Re.Z,(0,M.Z)({},e))},Pe=t(33639),Ue=function(e){return(0,r.jsx)(Re.Z,(0,M.Z)({},e))},we=function(e){var n=!1;return(0,be.X8)(Pe.m).forEach((function(t){"sort"!==t&&(0,Oe.Uh)(e,t)&&(n=!0)})),n},Me=function(e){return(0,r.jsx)(Re.Z,(0,M.Z)({},e))},Ve=t(1049),je=t(40218),Fe=function(e){var n=e.onUpload,t=e.readyText,i=e.draggingText,o=e.errorText,s=e.returnAs,u=void 0===s?"text":s,d=e.mimeTypes,p=void 0===d?[]:d,f=(0,Ve.u)({accept:p.join(", "),onDropAccepted:function(e){O(e)},onDropRejected:function(e){b(e)}}),m=f.getRootProps,h=f.getInputProps,g=f.isDragActive,T=f.fileRejections,v=(0,a.useState)(""),E=(0,re.Z)(v,2),_=E[0],S=E[1],N=(0,a.useState)(!1),I=(0,re.Z)(N,2),C=I[0],A=I[1],R=(0,a.useCallback)((function(e){n({content:"",name:"",size:0,error:e||""}),S(""),A(!!e)}),[n,S]);(0,a.useEffect)(je.VW,[]);var O=(0,a.useCallback)((function(e){if(e.length)for(var t=function(t){var a=e[t];if(!a||!a.type)return"continue";var i=new FileReader;i.onerror=function(e){var n;console.error("File reader event error",e.type,null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.error)},i.onabort=function(e){var n;console.error("File reader event aborted",e.type,null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.error)},i.onload=function(e){var t,i=(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.result)||"";i=i.replace(/^data:.+?\/.+?base64,/i,""),"text"===u&&(i=window.atob(i)),n({content:i,name:a.name,size:a.size}),S(a.name),A(!1)},i.readAsDataURL(a)},a=0;a<=e.length;a++)t(a)}),[n,u]),b=(0,a.useCallback)((function(e){e.length&&R(e[0].errors[0].code)}),[R]),L=(0,l.e9)(["dropzone",g&&"dropzone-active",T.length>0&&"has-error"]);return _?(0,r.jsxs)("div",{className:"d-flex mb-5 nu-2 align-center","data-testid":"file-uploader-selected-file",children:[(0,r.jsx)("span",{className:"d-inline-block",children:_}),(0,r.jsx)("button",{className:"btn btn-icon",onClick:function(){R()},children:(0,r.jsx)(y.si,{icon:"trash",className:"clickable ml-5 sm"})})]}):(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)("div",{className:"error-message d-block",children:o}),(0,r.jsxs)("div",(0,M.Z)((0,M.Z)({"data-testid":"file-upload-dropzone",className:L},m()),{},{style:(0,M.Z)({},m().style),children:[(0,r.jsx)("input",(0,M.Z)((0,M.Z)({},h()),{},{"data-testid":"file-input",style:(0,M.Z)({},h().style)})),(0,r.jsxs)("div",{className:"drag-area",children:[g&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{}),(0,r.jsx)("span",{className:"drag-text",children:i})]}),!g&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.si,{icon:"cloud_up_arrow",className:"upload-icon outline white"}),(0,r.jsx)("div",{children:t})]})]})]}))]})},Be=["id","classes","label","name","type","validityFn","errorMessages"],Ze=function(e){var n,t,i,o,s,u,c;if(!e.id&&!e.name)throw new Error("expected id or name but none present");var d,p=(0,N.$G)().t,f=(0,a.useRef)(null),m={active:!!e.value,touched:!1},h=(0,a.useState)(m),y=(0,re.Z)(h,2),g=y[0],T=y[1],v=e.id,E=e.classes,_=void 0===E?[]:E,S=e.label,I=void 0===S?"":S,C=e.name,A=e.type,R=void 0===A?"text":A,O=e.validityFn,b=e.errorMessages,k=(0,L.Z)(e,Be),D=g.active,x=g.touched,P=["floating-label-input"];(D&&P.push("active"),x)&&(P.push("touched"),null!==(d=f.current)&&void 0!==d&&d.validity.valid||P.push("has-error"));v||(v="".concat(C,"-").concat(I));var U,w={badInput:p("FORM_VALIDATE_BAD_VALUE"),customError:p("FORM_VALIDATE_CUSTOM_ERROR"),patternMismatch:p("FORM_VALIDATE_PATTERN_MISMATCH",{pattern:null===(n=f.current)||void 0===n?void 0:n.pattern}),rangeOverflow:p("FORM_VALIDATE_RANGE_OVERFLOW",{max:null===(t=f.current)||void 0===t?void 0:t.max}),rangeUnderflow:p("FORM_VALIDATE_RANGE_UNDERFLOW",{min:null===(i=f.current)||void 0===i?void 0:i.min}),stepMismatch:p("FORM_VALIDATE_STEP_MISMATCH",{step:null===(o=f.current)||void 0===o?void 0:o.step}),tooLong:p("FORM_VALIDATE_TOO_LONG",{minLength:null===(s=f.current)||void 0===s?void 0:s.maxLength}),tooShort:p("FORM_VALIDATE_TOO_SHORT",{maxLength:null===(u=f.current)||void 0===u?void 0:u.minLength}),typeMismatch:p("FORM_VALIDATE_TYPE_MISMATCH"),valid:p("FORM_VALIDATE_VALID"),valueMissing:p("FORM_VALIDATE_VALUE_MISSING")},V=(null!==O&&void 0!==O?O:(U=null!==b&&void 0!==b?b:w,function(e){return e?["badInput","customError","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valid","valueMissing"].map((function(n){return e[n]?U[n]:""})).filter((function(e){return""!==e})).join(", "):null}))(null===(c=f.current)||void 0===c?void 0:c.validity);return(0,r.jsxs)("div",{className:(0,l.e9)(P),children:[(0,r.jsxs)("div",{className:"label-container",children:[(0,r.jsx)("label",{className:"floating-label",htmlFor:v,children:I}),(0,r.jsx)("input",(0,M.Z)({id:v,className:(0,l.e9)([].concat(["form-control"],(0,$.Z)(_))),"aria-label":I,onBlur:function(n){var t=n.target.value.length>0;T({active:t,touched:!0}),e.onBlur&&e.onBlur(n)},onFocus:function(n){T((0,M.Z)((0,M.Z)({},g),{},{active:!0})),e.onFocus&&e.onFocus(n)},name:C,ref:f,type:R},k))]}),x&&null!==V?(0,r.jsx)("p",{className:"error-message",children:V}):null]})},Ge=t(14491),Je=function(e){var n=e.loading,t=e.className,a=e.children;return n?(0,r.jsx)(pe.T,{className:t}):(0,r.jsx)(r.Fragment,{children:a})},He=function(e){var n=(0,N.$G)().t,t=(0,l.e9)(["no-results-indicator",e.className]),a=e.title||n("NO_RESULTS");return(0,r.jsx)("div",{className:t,"data-testid":"no-results-indicator",children:a})},We=function(e){var n=e.title,t=e.filePathLight,a=e.filePathDark,i=(0,N.$G)().t,o=(0,m.v9)((function(e){return e.userMeta.theme}))===h.qx;return(0,r.jsxs)("div",{className:"no-results-indicator",children:[o?(0,r.jsx)("img",{src:t,alt:i("ASTRONAUT_ALT")}):(0,r.jsx)("img",{src:a,alt:i("ASTRONAUT_ALT")}),(0,r.jsx)("p",{className:"text-md",children:i(n)})]})};var Ye=t.p+"static/media/poly_logo.c5efb374207b66da4672019880e6b5e6.svg";var qe,Ke=t.p+"static/media/poly_logo_orange.a1684f8262976a4a793b40b5f9b65674.svg",ze=function(){var e=(0,m.v9)((function(e){return e.userMeta.theme}));return(0,r.jsx)("div",{className:"footer-bottom-centered",children:"DARK"!==e?(0,r.jsx)("img",{src:Ye,alt:"Poly","data-testid":"poly-logo"}):(0,r.jsx)("img",{src:Ke,alt:"Poly","data-testid":"poly-logo"})})},Xe=t(16798),$e=t(78391),Qe=t(83715),en=t(45474),nn=(qe={},(0,Xe.Z)(qe,en.rcI.Dark,Qe.Z),(0,Xe.Z)(qe,en.rcI.Light,$e.Z),qe),tn=function(e){var n=e.title,t=e.description,a=e.className,i=void 0===a?"":a,o=(0,l.e9)(["d-flex flex-column align-center justify-space-around",i]);return(0,r.jsxs)("div",{className:o,children:[(0,r.jsxs)("div",{className:"d-flex align-center",children:[(0,r.jsx)(y.si,{icon:"star_badge",className:"md mr-75"}),(0,r.jsx)("h6",{children:n})]}),(0,r.jsxs)("div",{className:"d-flex align-baseline",children:[(0,r.jsx)("p",{className:"font-sm mb-0 mr-75",children:t}),(0,r.jsx)(on,{})]})]})},an=function(e){var n=e.title,t=e.description,a=e.testid,i=e.className,o=e.compact,s=void 0!==o&&o,u=(0,m.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.theme)&&void 0!==n?n:h.KH})),c=(0,l.e9)(["card d-flex flex-column align-center text-center",s?"ph-1 pv-15":"p-35",i]);return(0,r.jsxs)("div",{"data-testid":a,className:c,children:[(0,r.jsx)("img",{className:"full-width mb-1",src:nn[u],alt:""}),(0,r.jsx)(y.si,{icon:"star_badge",className:(0,l.e9)([s?"lg":"xl"])}),(0,r.jsx)("h6",{className:(0,l.e9)(["mv-14",s?"font-md":"font-xxl"]),children:n}),(0,r.jsx)("p",{className:(0,l.e9)(["mb-15",s?"font-xs":"font-sm"]),children:t}),(0,r.jsx)(on,{className:(0,l.e9)([s?"font-sm":"font-md"])})]})},rn=function(e){var n=e.premiumFeature,t=e.children,a=Ce.A.Sidebar;return(0,r.jsx)(a,{children:(0,r.jsxs)("div",{className:"d-flex flex-column justify-space-between full-height",children:[(0,r.jsx)("div",{children:t}),n.show&&(0,r.jsx)(an,{className:"fixed-width-sm v-center justify-end overflow-hidden",compact:!0,title:n.title,description:n.description})]})})},on=function(e){var n=e.className,t=(0,N.$G)().t;return(0,r.jsx)("a",{className:(0,l.e9)(["link d-inline-block font-bold",n]),href:Z.af,target:"_blank",rel:"noopener",referrerPolicy:"no-referrer-when-downgrade",children:t("LEARN_HOW")})},ln="/img/products/",sn="unknown_device",un="".concat(ln).concat(sn,".png"),cn="Studio USB",dn="EagleEye Cube",pn=function(e){var n=[],t=function(e){return n.map((function(n){return n(e)})).find((function(e){return e}))};return{then:function a(i,r,o){return n.push(function(n,t,a){return function(i){if(e(n,t,i))return a}}(i,r,o)),{then:a,build:t}},build:t}},fn=function(e,n,t){return t>=e&&to&&(y="width"),(m>=T||i&&m>=i)&&(y="width"),"width"===y?(o&&f>o&&(i=Math.ceil(o*g)),r=i?"".concat(i,"px"):d,l=d):(i&&m>i&&(o=Math.ceil(i/g)),l="".concat(o,"px"),r=d),h({width:r,height:l})}},ref:c,src:n,alt:t,style:{width:y,height:g,maxWidth:"100%",maxHeight:"100%"}})})},In=function(e){return e?e.toLowerCase().split(" ").filter((function(e){return!["poly","series"].includes(e.toLowerCase())})):[]},Cn=(0,he.memoize)((function(e){return e?e.filter((function(e){var n,t,a,i;return(null===e||void 0===e||null===(n=e.images)||void 0===n?void 0:n.length)||(null===e||void 0===e||null===(t=e.hardwareModel)||void 0===t||null===(a=t.modelImages)||void 0===a||null===(i=a.edges)||void 0===i?void 0:i.length)})).map((function(e){var n=In(e.hardwareModel.name),t=function(e){var n=e.hardwareModel.modelImages.edges;return!!n&&n.some((function(e){return e.node.tags&&e.node.tags.length>0}))}(e),a=e.images;if(t){var i=function(e){var n=e.hardwareModel.modelImages.edges,t=null===n||void 0===n?void 0:n.map((function(e){var n,t;return{id:e.node.id,url:e.node.url,tags:e.node.tags,priority:parseInt(null===(n=e.node.tags)||void 0===n||null===(t=n.find((function(e){return e.key===en.jxN.Priority})))||void 0===t?void 0:t.value)||99}}));return null===t||void 0===t?void 0:t.sort((function(e,n){return e.priority>n.priority?1:-1}))}(e);a=i.map((function(e){return{__typename:"HardwareImage",id:e.id,url:e.url}}))}return{name:e.hardwareModel.name,images:a,words:n}})):[]}),(function(){return arguments.length})),An=function(e){var n=(0,N.$G)().t,t=function(){var e,n=(0,z.sdr)(),t=n.data,a=n.fetching;return!a&&t&&(e=Cn(t.hardwareProducts)),{images:e,fetching:a}}(),a=t.images,i=t.fetching,r=n("IMAGE_OF",{hardwareModel:null!==e&&void 0!==e?e:n("UNKNOWN_MODEL")});if(i||!a)return{src:"",alt:r,fetching:i};if(!e)return{src:"".concat(ln).concat(sn,".png"),alt:r,fetching:i};var o,l=In(e),s=a.filter((function(e){return e.words.filter((function(e){return l.includes(e)})).length===e.words.length}));return s.length&&(s.sort((function(e,n){return e.words.length>n.words.length?-1:1})),o=s.length?s[0]:void 0),{src:o?o.images[0].url:Sn(e),alt:r,fetching:i}},Rn=function(e){var n=e.hardwareModel,t=e.className,a=An(n),i=a.src,o=a.alt;return t=t||"",a.fetching?(0,r.jsx)(pe.T,{className:"inline pv-1",title:" "}):(0,r.jsx)("img",{className:t,src:i,alt:o})},On=function(e){var n=e.hardwareModel,t=e.maxWidth,a=e.maxHeight,i=e.className,o=An(n),l=o.src,s=o.alt;return o.fetching?(0,r.jsx)(pe.T,{className:"inline pv-1",title:" "}):(0,r.jsx)(Nn,{src:l,alt:s,className:i,maxHeight:a,maxWidth:t})},bn=function(e){var n=e.progress,t=e.className,a=Math.min(n,100),i=(0,l.e9)(["progress-bar",t]);return(0,r.jsx)("div",{className:i,children:(0,r.jsx)("div",{className:"complete","data-testid":"progress-bar-complete",style:{width:"".concat(a,"%")}})})},Ln=t(94222),kn=t(58630),Dn=t(1987),xn=function(e){var n=e.search,t=(0,Dn.Aj)(),a=n.substr(0,Z.QZ),i=a.split(" ").map((function(e){return{searchTerm:e}})),o=(0,z.PiN)({variables:{from:0,filter:{AND:[{field:"tenantId",eq:t},{AND:i}]},limit:10}}),l=o.data,s=o.fetching;return(0,r.jsx)(Pn,{results:(null===l||void 0===l?void 0:l.devices)||[],loading:s,search:a,count:(null===l||void 0===l?void 0:l.countDevices)||0})},Pn=function(e){var n=e.results,t=e.loading,a=e.search,i=e.count,o=(0,N.$G)().t,l=(0,m.I0)();return(0,r.jsx)("div",{className:"search-suggestions",children:(0,r.jsx)("ul",{children:(0,r.jsxs)("li",{children:[(0,r.jsxs)(k.rU,{className:"search-header",onClick:function(){return l((0,Ln.ct)())},to:{pathname:"/manage/inventory/table",search:(0,k.Pz)({searchTerm:a},{parseNumbers:!1})},children:[o("DEVICES"),t?null:(0,r.jsx)("span",{className:"view-devices",children:o("VIEW_ALL_DEVICES",{count:i})})]}),(0,r.jsx)(Je,{className:"inline pt-1",loading:t,children:(0,r.jsxs)("ul",{children:[n.map((function(e,n){var t={field:"MAC_ADDRESS",value:e.macAddress};return Object.keys(e).forEach((function(n){var i=e[n];"room"!==n&&"site"!==n||!i||(i=e[n].name),i&&"string"===typeof i&&i.toLowerCase().includes(a.toLowerCase())&&(t={field:Z.ql[n],value:i})})),(0,r.jsx)("li",{children:(0,r.jsxs)(k.rU,{"data-testid":"search-result",to:"/manage/inventory/details/".concat(e.id),onClick:function(){return l((0,Ln.ct)())},children:[(0,r.jsx)("strong",{children:t.value}),"MAC_ADDRESS"!==t.field&&(0,r.jsxs)("span",{children:[" - ",e.macAddress]}),(0,r.jsx)("p",{className:"matching-field",children:o(t.field)})]})},"device-".concat(n))})),0===n.length?(0,r.jsx)("li",{children:(0,r.jsx)("span",{className:"search-empty",children:o("NO_RESULTS")})}):null]})})]})})})},Un=function(e){var n=e.debounce,t=void 0===n?500:n,i=(0,N.$G)().t,o=(0,k.dX)("search"),l=(0,re.Z)(o,3),s=l[0],u=l[1],c=l[2],d=(0,m.I0)(),p=(0,k.k6)(),f=a.useRef(null),h=a.useRef(null),g=(0,a.useRef)(null),T=(0,m.v9)((function(e){return e.search.open})),v=i("SEARCH_DEVICES"),E=(0,k.aM)(),_=(0,a.useRef)(ye().debounce((function(e){return u(e)}),t)),S=_.current,I=function(){c(),d((0,Ln.ct)())},C=function(e){f.current&&f.current.contains(e.target)||!T||g.current&&g.current.contains(e.target)||I()};return(0,a.useEffect)((function(){_.current=ye().debounce((function(e){return u(e)}),t)}),[E,_,u,t]),(0,a.useEffect)((function(){return document.addEventListener("mousedown",C),s&&(h.current.focus(),d((0,Ln.Xe)()),s.length>Z.QZ&&u(s.substr(0,Z.QZ))),function(){document.removeEventListener("mousedown",C)}})),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{"data-testid":"search-icon",title:i("OPEN_SEARCH"),className:"icon-wrap nd-1 ".concat(T?"active":""),onClick:function(){T?I():(h.current.focus(),d((0,Ln.Xe)()))},ref:f,children:(0,r.jsx)(y.si,{icon:"search",className:"white main-icon"})}),(0,r.jsx)("label",{ref:g,className:"search-input ".concat(T?"open":""),children:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"sr-only",children:v}),(0,r.jsx)(y.si,{className:"white",icon:"search"}),(0,r.jsx)("input",{ref:h,onFocus:function(){return h.current.value=s||""},"data-testid":"search-input-field","aria-label":v,className:"search-field",placeholder:v,onKeyDown:function(e){if("Enter"===e.key&&s){var n=(0,k.Pz)((0,M.Z)((0,M.Z)({},E),{},{searchTerm:(null===s||void 0===s?void 0:s.trim())||""}),{parseNumbers:!1});p.push((0,k.Gn)("/manage/inventory/table?:search",{search:n}))}},onChange:function(e){return S((0,kn.G7)(e.target.value))},maxLength:Z.QZ}),(0,r.jsx)("span",{"data-testid":"search-clear",title:"search-clear",className:"clear-wrap search-"+(s?"full":"empty"),onClick:function(){return c()},children:(0,r.jsx)(y.si,{className:"white",icon:"x"})}),s&&s.trim().length>2&&(0,r.jsx)(xn,{search:s.trim()})]})})]})},wn=t(21645),Mn=function(e){var n=e.loading,t=e.persist,a=e.hasData,i=e.link,o=e.display;return!n&&a?(0,r.jsx)(k.rU,{persist:t,to:i,children:(0,wn.wv)(o)}):(0,r.jsx)("div",{"data-testid":n&&"shimmer",className:n?"shimmer":"greyed-out",children:"".concat((0,wn.wv)(o)," ").concat(n?"":"*")})},Vn=["isSubmitting","disabled","name","testId","labelKey","labelKeyData","submittingLabelKey","className"],jn=function(e){var n=e.isSubmitting,t=e.disabled,a=void 0!==t&&t,i=e.name,o=void 0===i?"submit":i,l=e.testId,s=void 0===l?"submit-button":l,u=e.labelKey,c=void 0===u?"APPLY":u,d=e.labelKeyData,p=void 0===d?{}:d,f=e.submittingLabelKey,m=void 0===f?"APPLYING":f,h=e.className,g=void 0===h?"btn btn-primary":h,T=(0,L.Z)(e,Vn),v=(0,N.$G)().t;return(0,r.jsx)("button",(0,M.Z)((0,M.Z)({type:"submit",className:g,name:o,disabled:n||a,"data-testid":s},T),{},{children:n?(0,r.jsxs)("span",{children:[(0,r.jsx)(y.si,{icon:"refresh",className:"refresh spin mr-5"}),v(m)]}):v(c,p)}))},Fn=function(e){var n=e.location,t=e.text,a=e.icon,i=(0,N.$G)().t,o=Z.a4[Z.Yq.DEVICES]+(n?"/"+n:"");return(0,r.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",children:[a&&(0,r.jsx)(y.ZP,{className:"mr-5 white",icon:a}),i(t||Z.YO[Z.Yq.DEVICES])]})},Bn=t(58512),Zn=t(1378);function Gn(e){var n=(0,Bn.D3)().isAuthenticated,t=""===e,a=(0,z.pot)({variables:{id:e},pause:!n||t,context:Zn.noLogoutOnAuthErrorContext,requestPolicy:"cache-and-network"}),i=a.data,r=a.fetching,o=a.error,l=a.executor;return{tenant:t||null===i||void 0===i?void 0:i.tenant,fetching:r,error:o,executor:l}}var Jn=function(e){var n=e.children,t=function(){var e=(0,k.dX)("tenantId"),n=(0,re.Z)(e,2),t=n[0],i=n[1],r=Gn(null!==t&&void 0!==t?t:""),o=r.tenant,l=r.fetching,s=r.error,u=r.executor,c=(0,m.v9)((function(e){var n;return null===(n=e.userMeta)||void 0===n?void 0:n.lastTenantId})),d=Gn(null!==c&&void 0!==c?c:""),p=d.tenant,f=d.fetching,h=(0,k.XQ)(),y=h.data,g=h.fetching,T=h.error,v=h.executor,E=(0,oe.lm)(),_=(0,re.Z)(E,1)[0],S=(0,k.k6)();return(0,a.useEffect)((function(){var e=!l||!t,n=!f||!c,a=null===y||void 0===y?void 0:y.tenants;if(!o&&e&&n&&a){var r=null!==p&&void 0!==p?p:a.find((function(e){return e.id!==t}));r&&(t&&("/home"!==window.location.pathname&&S.push("/home"),_({id:"changing-selected-tenant",type:"info",message:"Changing the tenant to ".concat(r.name),dismiss:oe.GP.SLOW,persistThroughNav:!0})),i(r.id))}}),[o,l,t,f,c,y,i,S,p,_]),{tenant:o,fetching:l,error:s,refetch:function(){v({requestPolicy:"network-only"}),u({requestPolicy:"network-only"})},tenants:{tenants:y,fetching:g,error:T}}}(),i=t.tenant,o=t.error,l=t.fetching,s=t.tenants,u=s.tenants,c=s.fetching,d=s.error,p=o||d,f=l||c,h=(0,k.k6)(),y=h.push,g=h.location;return(0,a.useEffect)((function(){var e,n,t=0===(null!==(e=null===u||void 0===u||null===(n=u.tenants)||void 0===n?void 0:n.length)&&void 0!==e?e:0);d||c||i||!t||"/accept-invite"===g.pathname||y("/complete-profile")}),[u,d,i,c,y,g.pathname]),f||!p||u||i?(0,r.jsx)(Dn.qH.Provider,{value:t,children:(0,r.jsx)(Je,{className:"theme-independent",loading:!i&&f,children:n})}):(0,r.jsx)(k.l_,{to:"/error"})},Hn=["id","label","className","name","onChange","disabled"],Wn=function(e){var n=e.id,t=e.label,i=e.className,o=e.name,s=e.onChange,u=e.disabled,c=void 0!==u&&u,d=(0,L.Z)(e,Hn),p=(0,a.useRef)(null),f=c?"disabled":"";return(0,r.jsxs)("span",{className:(0,l.e9)(["toggle-switch-wrapper",i,f]),children:[(0,r.jsx)("input",(0,M.Z)({id:n||o,name:o,"data-testid":"".concat(n||o),onChange:s,ref:p,"aria-label":t,type:"checkbox",disabled:c},d)),(0,r.jsx)("label",{className:"toggle-switch-indicator ".concat(c?"disabled":""),htmlFor:n||o,"data-testid":"".concat(n||o,"-label")})]})},Yn=t(35315),qn=function(e){var n,t=e.id,i=e.updating,o=e.setUpdating,l=(0,N.$G)().t,s=(0,a.useState)("UPDATING"),u=(0,re.Z)(s,2),c=u[0],d=u[1],p=(0,a.useState)(!1),f=(0,re.Z)(p,2),m=f[0],h=f[1],g=(0,a.useState)(0),T=(0,re.Z)(g,2),v=T[0],E=T[1],_=(0,a.useState)(!1),S=(0,re.Z)(_,2),I=S[0],C=S[1],A=(0,oe.lm)(),R=(0,re.Z)(A,1)[0],O=(0,a.useState)(!1),b=(0,re.Z)(O,2),L=b[0],k=b[1],D=(0,a.useState)(i?1e3:void 0),x=(0,re.Z)(D,2),P=x[0],U=x[1],w=(0,z.JKP)({variables:{id:t},requestPolicy:"network-only",pollInterval:P}),M=w.fetching,V=w.data,j=(0,a.useMemo)((function(){return null}),[]);if(!M&&null!==V&&void 0!==V&&V.device){var F,B=null===V||void 0===V?void 0:V.device;j=null===(F=B.currentOSState)||void 0===F?void 0:F.updateStatus,B.connected&&I&&i&&m&&v>90?(o(!1),U(void 0),R({id:"device-os-update-success",type:"success",message:l("DEVICE_OS_UPDATE_SUCCESS"),dismiss:oe.GP.DEFAULT})):I===B.connected&&C(!B.connected)}((0,a.useEffect)((function(){var e=z.d_H.DownloadingPackage,n=z.d_H.Installing,t=z.d_H.Authenticating;if(j){var a=j,r=a.softUpdateStage,s=a.progressState,u=a.percentageComplete,c=[e,n,t];u&&u>v&&E(u),(r&&c.includes(r)||s&&["MODULE_UPDATING","LOCAL_UPDATING"].includes(s))&&!i?(o(!0),U(1e4)):i&&(I||v>75)?(h(!0),(!P||P<15e3)&&U(15e3)):r===n?k(!0):"IDLE"===s&&j.softUpdateStatus===z._Vz.NoUpdate&&i&&L&&(o(!1),U(void 0),R({id:"device-os-update-success",type:"success",message:l("DEVICE_OS_UPDATE_SUCCESS"),dismiss:oe.GP.DEFAULT}))}}),[M,V,j,o,U,i,P,I,L,v,R,l]),null!==(n=j)&&void 0!==n&&n.softUpdateStage&&j.softUpdateStage!==c)&&d("".concat(j.softUpdateStage||"UPDATING"));var Z=l(c);return null===j&&(I||m)&&(Z=l("REBOOTING")),i?(0,r.jsxs)("div",{className:"sw-update d-block","data-testid":"update-modal",children:[(0,r.jsx)(y.si,{icon:"refresh",className:"refresh spin d-inline-block white"}),(0,r.jsxs)("div",{className:"indicator d-inline-block",children:[(0,r.jsx)("div",{className:"complete",style:{width:"".concat(v,"%")}}),(0,r.jsxs)("div",{className:"info p-0","data-testid":"progress-content",children:[Z,(0,r.jsx)("span",{className:"percentage pl-1",children:m&&null===j?"":"".concat(v,"%")})]})]})]}):null},Kn=function(e){var n=e.normal,t=e.shownOnHover,i=e.checkForOverflow,o=void 0!==i&&i,s=e.className,u=void 0===s?"":s,c=e.delay,d=void 0===c?0:c,p=e.truncateText,f=void 0!==p&&p,m=(0,a.useState)(!1),h=(0,re.Z)(m,2),y=h[0],g=h[1],T=(0,a.useState)(),v=(0,re.Z)(T,2),E=v[0],_=v[1],S=(0,a.useRef)(null),N=f?"line-height-normal truncate-end":"",I=(0,l.e9)([u,"relative"]);return(0,r.jsx)("td",{className:I,onMouseEnter:function(e){o&&S.current&&S.current.scrollWidth<=S.current.clientWidth||(d<=0?g(!0):_(window.setTimeout((function(){g(!0)}),d)))},onMouseLeave:function(){d<=0||clearTimeout(E),g(!1)},children:y?(0,r.jsx)("div",{className:"hover-text-box",children:t}):(0,r.jsx)("div",{ref:S,className:N,children:n})})}},45474:function(e,n,t){"use strict";var a,i,r,o,l,s,u,c,d,p,f,m,h,y,g,T,v,E,_,S,N,I,C,A,R,O,b,L,k,D,x,P,U,w,M,V,j,F,B,Z,G,J,H,W,Y,q,K,z,X,$,Q,ee,ne,te,ae,ie,re,oe,le,se,ue,ce,de,pe,fe,me,he,ye,ge,Te,ve,Ee,_e,Se,Ne,Ie,Ce,Ae,Re,Oe,be,Le,ke,De,xe,Pe,Ue,we,Me,Ve,je,Fe,Be,Ze,Ge,Je,He,We,Ye,qe,Ke,ze,Xe,$e,Qe,en,nn,tn,an,rn,on,ln,sn,un,cn,dn,pn,fn,mn,hn,yn,gn,Tn,vn,En,_n,Sn,Nn,In,Cn,An,Rn,On,bn,Ln,kn,Dn,xn,Pn,Un,wn,Mn,Vn,jn,Fn,Bn,Zn,Gn,Jn,Hn,Wn,Yn,qn,Kn,zn,Xn,$n,Qn,et,nt,tt,at,it,rt,ot,lt,st,ut,ct,dt,pt,ft,mt,ht,yt,gt,Tt,vt,Et,_t,St,Nt,It,Ct,At,Rt,Ot,bt,Lt,kt,Dt,xt,Pt,Ut,wt,Mt,Vt,jt,Ft,Bt,Zt,Gt,Jt,Ht,Wt,Yt,qt,Kt,zt,Xt,$t,Qt,ea,na,ta,aa,ia,ra,oa,la,sa,ua,ca;t.d(n,{$5V:function(){return oa},$nh:function(){return we},A7d:function(){return b},AK1:function(){return Xn},BBF:function(){return ct},BS_:function(){return mn},BzC:function(){return it},DNN:function(){return Tt},EOh:function(){return $t},Fkm:function(){return R},HYq:function(){return On},Ijm:function(){return Ut},KDP:function(){return An},KXO:function(){return Ue},KZ$:function(){return bt},KnK:function(){return ea},MPt:function(){return qn},MVO:function(){return je},MiJ:function(){return Lt},Pv$:function(){return Gt},RRK:function(){return ot},ScA:function(){return Zt},ShM:function(){return rt},T4e:function(){return yn},TJ2:function(){return u},TSw:function(){return pt},Uov:function(){return $},UtM:function(){return xt},WDG:function(){return _},WNy:function(){return zn},ZPU:function(){return It},ZuM:function(){return P},_AU:function(){return ia},_Vz:function(){return qt},aGw:function(){return hn},dLL:function(){return ht},dUd:function(){return Bt},d_H:function(){return Yt},dpn:function(){return mt},dwg:function(){return at},gMk:function(){return la},gQQ:function(){return p},hLW:function(){return ee},j8t:function(){return Dt},jxN:function(){return Qt},jym:function(){return Te},k8e:function(){return Et},lDZ:function(){return L},mmJ:function(){return vt},nGJ:function(){return lt},nWO:function(){return wt},nYQ:function(){return kn},nkS:function(){return Ct},noX:function(){return Pt},oji:function(){return et},qT8:function(){return ue},rC0:function(){return Ve},rcI:function(){return $n},rf5:function(){return f},rgu:function(){return nt},tRc:function(){return Fn},tty:function(){return aa},twY:function(){return Vn},u4M:function(){return Qn},vhl:function(){return Rn},vw1:function(){return yt},x5N:function(){return ta},xCL:function(){return de},xDX:function(){return k},xcx:function(){return Xt},y5W:function(){return Cn}}),function(e){e.Aggregate="AGGREGATE",e.Incident="INCIDENT"}(a||(a={})),function(e){e.EventType="EVENT_TYPE",e.Model="MODEL",e.Room="ROOM",e.Site="SITE",e.User="USER"}(i||(i={})),function(e){e.CallEnd="CALL_END",e.CallStart="CALL_START",e.DbAfter="DB_AFTER",e.DbBefore="DB_BEFORE",e.DeviceModel="DEVICE_MODEL",e.Duration="DURATION",e.DurationThreshold="DURATION_THRESHOLD",e.EventTime="EVENT_TIME",e.GainThreshold="GAIN_THRESHOLD"}(r||(r={})),function(e){e.Closed="CLOSED",e.Open="OPEN"}(o||(o={})),function(e){e.DeviceCanBeUpdated="DEVICE_CAN_BE_UPDATED",e.DeviceOffline="DEVICE_OFFLINE",e.LicensesExpiring="LICENSES_EXPIRING"}(l||(l={})),function(e){e.And="AND",e.Or="OR"}(s||(s={})),function(e){e.Desktop="DESKTOP",e.Mobile="MOBILE",e.Playground="PLAYGROUND",e.Web="WEB"}(u||(u={})),function(e){e.Authenticated="AUTHENTICATED",e.Public="PUBLIC"}(c||(c={})),function(e){e.Connected="Connected",e.Connecting="Connecting",e.Disconnected="Disconnected",e.Disconnecting="Disconnecting",e.Unknown="Unknown"}(d||(d={})),function(e){e.InCall="IN_CALL",e.NotInCall="NOT_IN_CALL",e.Unknown="UNKNOWN",e.Unsupported="UNSUPPORTED"}(p||(p={})),function(e){e.Auto="AUTO",e.Gateway="GATEWAY",e.H320="H320",e.H323="H323",e.IsdnVoice="ISDN_VOICE",e.Loopback="LOOPBACK",e.Pots="POTS",e.PotsSpeakerphone="POTS_SPEAKERPHONE",e.Sip="SIP",e.SipSpeakerphone="SIP_SPEAKERPHONE",e.Tel="TEL",e.Video="VIDEO",e.Voice="VOICE",e.VoiceGateway="VOICE_GATEWAY",e.VoiceH323="VOICE_H323",e.VoiceSip="VOICE_SIP"}(f||(f={})),function(e){e.Name="NAME"}(m||(m={})),function(e){e.Equal="EQUAL",e.NotEqual="NOT_EQUAL"}(h||(h={})),function(e){e.Name="NAME"}(y||(y={})),function(e){e.Name="NAME"}(g||(g={})),function(e){e.Name="NAME"}(T||(T={})),function(e){e.Name="NAME"}(v||(v={})),function(e){e.Name="NAME"}(E||(E={})),function(e){e.Device="DEVICE",e.Room="ROOM"}(_||(_={})),function(e){e.Average="AVERAGE",e.Count="COUNT",e.Percentage="PERCENTAGE",e.Total="TOTAL"}(S||(S={})),function(e){e.Line="LINE",e.Special="SPECIAL"}(N||(N={})),function(e){e.Contain="contain",e.ContainedWithin="containedWithin",e.ContainedWithinOrEqual="containedWithinOrEqual",e.ContainOrContainedWithin="containOrContainedWithin",e.ContainOrEqual="containOrEqual",e.Equal="equal",e.NotEqual="notEqual"}(I||(I={})),function(e){e.CreatedAt="createdAt",e.Name="name",e.Status="status",e.UpdatedAt="updatedAt"}(C||(C={})),function(e){e.CreatedAt="createdAt",e.Name="name",e.Status="status",e.UpdatedAt="updatedAt"}(A||(A={})),function(e){e.Active="ACTIVE",e.Inactive="INACTIVE"}(R||(R={})),function(e){e.Equal="EQUAL",e.NotEqual="NOT_EQUAL"}(O||(O={})),function(e){e.CountDisconnects="COUNT_DISCONNECTS",e.DistinctDevices="DISTINCT_DEVICES"}(b||(b={})),function(e){e.AppName="APP_NAME",e.Device="DEVICE",e.Model="MODEL",e.Room="ROOM",e.Tenant="TENANT",e.Weekday="WEEKDAY"}(L||(L={})),function(e){e.Count="COUNT",e.Sum="SUM"}(k||(k={})),function(e){e.Appname="APPNAME",e.DeviceId="DEVICE_ID",e.HardwareModel="HARDWARE_MODEL",e.Ipaddress="IPADDRESS",e.Mac="MAC",e.ProductFamily="PRODUCT_FAMILY",e.RoomId="ROOM_ID",e.SiteId="SITE_ID",e.SoftwareRelease="SOFTWARE_RELEASE"}(D||(D={})),function(e){e.NoMockRecordsFound="NO_MOCK_RECORDS_FOUND",e.Success="SUCCESS"}(x||(x={})),function(e){e.Asc="ASC",e.Ascending="Ascending",e.Desc="DESC",e.Descending="Descending"}(P||(P={})),function(e){e.Automatic="AUTOMATIC",e.Manual="MANUAL",e.None="None"}(U||(U={})),function(e){e.Asc="ASC",e.Ascending="Ascending",e.Desc="DESC",e.Descending="Descending"}(w||(w={})),function(e){e.ArgumentDefinition="ARGUMENT_DEFINITION",e.Enum="ENUM",e.Field="FIELD",e.FieldDefinition="FIELD_DEFINITION",e.FragmentDefinition="FRAGMENT_DEFINITION",e.FragmentSpread="FRAGMENT_SPREAD",e.InlineFragment="INLINE_FRAGMENT",e.InputFieldDefinition="INPUT_FIELD_DEFINITION",e.InputObject="INPUT_OBJECT",e.Interface="INTERFACE",e.Mutation="MUTATION",e.Object="OBJECT",e.Query="QUERY",e.Scalar="SCALAR",e.Schema="SCHEMA",e.Union="UNION"}(M||(M={})),function(e){e.Mutation="MUTATION",e.Query="QUERY"}(V||(V={})),function(e){e.AllEntitlementsUsed="ALL_ENTITLEMENTS_USED",e.AlreadyEntitled="ALREADY_ENTITLED",e.ItApiError="IT_API_ERROR",e.LicenseActivatedByDifferentTenant="LICENSE_ACTIVATED_BY_DIFFERENT_TENANT",e.LicenseExpired="LICENSE_EXPIRED",e.LicenseNotActivated="LICENSE_NOT_ACTIVATED",e.LicenseNotFound="LICENSE_NOT_FOUND",e.NoShipmentFound="NO_SHIPMENT_FOUND",e.ProductNotSupportedByLicense="PRODUCT_NOT_SUPPORTED_BY_LICENSE",e.ShipmentTooOld="SHIPMENT_TOO_OLD",e.Success="SUCCESS"}(j||(j={})),function(e){e.Peap="PEAP",e.Pwd="PWD",e.Tls="TLS",e.Ttls="TTLS"}(F||(F={})),function(e){e.Gtc="GTC",e.Mschapv2="MSCHAPV2",e.None="NONE"}(B||(B={})),function(e){e.Tone_1="Tone_1",e.Tone_2="Tone_2",e.Tone_3="Tone_3",e.Tone_4="Tone_4"}(Z||(Z={})),function(e){e.Tone_1="Tone_1",e.Tone_10="Tone_10",e.Tone_2="Tone_2",e.Tone_3="Tone_3",e.Tone_4="Tone_4",e.Tone_5="Tone_5",e.Tone_6="Tone_6",e.Tone_7="Tone_7",e.Tone_8="Tone_8",e.Tone_9="Tone_9"}(G||(G={})),function(e){e.Two3="TWO3",e.Two4="TWO4"}(J||(J={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Zero="ZERO"}(H||(H={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Zero="ZERO"}(W||(W={})),function(e){e.Fixed="fixed",e.Variable="variable"}(Y||(Y={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Neg_1="NEG_1",e.Neg_2="NEG_2",e.Neg_3="NEG_3",e.Neg_4="NEG_4",e.Neg_5="NEG_5",e.Neg_6="NEG_6",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.One3="ONE3",e.One4="ONE4",e.One5="ONE5",e.One6="ONE6",e.One7="ONE7",e.One8="ONE8",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Zero="ZERO"}(q||(q={})),function(e){e.Md5="MD5",e.Sha="SHA"}(K||(K={})),function(e){e.Anonymous="anonymous",e.Basic="basic",e.Ntlm="ntlm"}(z||(z={})),function(e){e.DoNotDisturb="Do_Not_Disturb",e.No="No",e.Yes="Yes"}(X||(X={})),function(e){e.PreferTcp="Prefer_TCP",e.PreferUdp="Prefer_UDP",e.TcpOnly="TCP_ONLY",e.UdpOnly="UDP_ONLY"}($||($={})),function(e){e.False="False",e.True="True"}(Q||(Q={})),function(e){e.Five="FIVE",e.None="None",e.One="ONE",e.One0="ONE0",e.One5="ONE5",e.Three0="THREE0"}(ee||(ee={})),function(e){e.Medium="Medium",e.Tight="Tight",e.Wide="Wide"}(ne||(ne={})),function(e){e.Inverted="Inverted",e.Normal="Normal"}(te||(te={})),function(e){e.FastWakeUp="Fast_Wake_Up",e.SaveEnergy="Save_Energy"}(ae||(ae={})),function(e){e.FrameGroup="FrameGroup",e.FrameGroupWithTransition="FrameGroupWithTransition",e.FrameSpeaker="FrameSpeaker",e.Off="Off"}(ie||(ie={})),function(e){e.Fast="Fast",e.Normal="Normal",e.Slow="Slow"}(re||(re={})),function(e){e.EagleEyeCubeUsb="EagleEyeCubeUSB",e.EagleEyeDirectorIi="EagleEyeDirectorII",e.EagleEyeIv12x="EagleEyeIV12x",e.EagleEyeIv4x="EagleEyeIV4x",e.EagleEyeProducer="EagleEyeProducer"}(oe||(oe={})),function(e){e.Motion="Motion",e.Sharpness="Sharpness"}(le||(le={})),function(e){e.Atw="atw",e.Eight000k="EIGHT000k",e.Five120k="FIVE120k",e.Five200k="FIVE200k",e.Five600k="FIVE600k",e.Five800k="FIVE800k",e.Four160k="FOUR160k",e.Four230k="FOUR230k",e.Four640k="FOUR640k",e.Four700k="FOUR700k",e.Manual="Manual",e.Six500k="SIX500k",e.Six504k="SIX504k",e.Three200k="THREE200k",e.Three450k="THREE450k",e.Three600k="THREE600k",e.Three680k="THREE680k",e.Two300k="TWO300k",e.Two500k="TWO500k",e.Two856k="TWO856k"}(se||(se={})),function(e){e.Both="Both",e.Content="Content",e.People="People"}(ue||(ue={})),function(e){e.Afghanistan="Afghanistan",e.Albania="Albania",e.Algeria="Algeria",e.AmericanSamoa="American_Samoa",e.Andorra="Andorra",e.Angola="Angola",e.Anguilla="Anguilla",e.Antarctica="Antarctica",e.Antigua="Antigua",e.Argentina="Argentina",e.Armenia="Armenia",e.Aruba="Aruba",e.AscensionIslands="Ascension_Islands",e.Australia="Australia",e.AustralianExtTerritories="Australian_Ext__Territories",e.Austria="Austria",e.Azerbaijan="Azerbaijan",e.Bahamas="Bahamas",e.Bahrain="Bahrain",e.Bangladesh="Bangladesh",e.Barbados="Barbados",e.Barbuda="Barbuda",e.Belarus="Belarus",e.Belgium="Belgium",e.Belize="Belize",e.BeninRepublic="Benin_Republic",e.Bermuda="Bermuda",e.Bhutan="Bhutan",e.Bolivia="Bolivia",e.BosniaAndHerzegovina="Bosnia_and_Herzegovina",e.Botswana="Botswana",e.Brazil="Brazil",e.BritishIndianOceanTerritory="British_Indian_Ocean_Territory",e.BritishVirginIslands="British_Virgin_Islands",e.Brunei="Brunei",e.Bulgaria="Bulgaria",e.BurkinaFaso="Burkina_Faso",e.BurmaMyanmar="Burma__Myanmar_",e.Burundi="Burundi",e.Cambodia="Cambodia",e.CameroonUnitedRepublic="Cameroon_United_Republic",e.Canada="Canada",e.CapeVerdeIsland="Cape_Verde_Island",e.CaymanIslands="Cayman_Islands",e.CentralAfricanRepublic="Central_African_Republic",e.ChadRepublic="Chad_Republic",e.Chile="Chile",e.China="China",e.ChristmasIsland="Christmas_Island",e.CocosIslands="Cocos_Islands",e.Colombia="Colombia",e.Comoros="Comoros",e.Congo="Congo",e.CongoDemocraticRepublic="Congo_Democratic_Republic",e.CookIslands="Cook_Islands",e.CostaRica="Costa_Rica",e.Croatia="Croatia",e.Cuba="Cuba",e.Curacao="Curacao",e.Cyprus="Cyprus",e.CzechRepublic="Czech_Republic",e.Denmark="Denmark",e.DiegoGarcia="Diego_Garcia",e.Djibouti="Djibouti",e.Dominica="Dominica",e.DominicanRepublic="Dominican_Republic",e.EastTimor="East_Timor",e.EasterIsland="Easter_Island",e.Ecuador="Ecuador",e.Egypt="Egypt",e.ElSalvador="El_Salvador",e.EquatorialGuinea="Equatorial_Guinea",e.Eritrea="Eritrea",e.Estonia="Estonia",e.Ethiopia="Ethiopia",e.FaeroeIslands="Faeroe_Islands",e.FalklandIslands="Falkland_Islands",e.FijiIslands="Fiji_Islands",e.Finland="Finland",e.France="France",e.FrenchAntilles="French_Antilles",e.FrenchGuiana="French_Guiana",e.FrenchPolynesia="French_Polynesia",e.FrenchSouthernAndAntarcticLands="French_Southern_and_Antarctic_Lands",e.Gabon="Gabon",e.Gambia="Gambia",e.Georgia="Georgia",e.Germany="Germany",e.Ghana="Ghana",e.Gibraltar="Gibraltar",e.Global="Global",e.Greece="Greece",e.Greenland="Greenland",e.Grenada="Grenada",e.Guadeloupe="Guadeloupe",e.Guam="Guam",e.GuantanamoBay="Guantanamo_Bay",e.Guatemala="Guatemala",e.Guernsey="Guernsey",e.Guinea="Guinea",e.GuineaBissau="Guinea_Bissau",e.Guyana="Guyana",e.Haiti="Haiti",e.Honduras="Honduras",e.HongKong="Hong_Kong",e.Hungary="Hungary",e.Iceland="Iceland",e.India="India",e.Indonesia="Indonesia",e.InmarsatAtlanticOceanEast="Inmarsat__Atlantic_Ocean_East_",e.InmarsatAtlanticOceanWest="Inmarsat__Atlantic_Ocean_West_",e.InmarsatIndianOcean="Inmarsat__Indian_Ocean_",e.InmarsatPacificOcean="Inmarsat__Pacific_Ocean_",e.InmarsatSnac="Inmarsat__SNAC_",e.Iran="Iran",e.Iraq="Iraq",e.Ireland="Ireland",e.Israel="Israel",e.Italy="Italy",e.IvoryCoast="Ivory_Coast",e.Jamaica="Jamaica",e.Japan="Japan",e.Jersey="Jersey",e.Jordan="Jordan",e.Kazakhstan="Kazakhstan",e.Kenya="Kenya",e.Kiribati="Kiribati",e.KoreaNorth="Korea_North",e.KoreaSouth="Korea_South",e.Kosovo="Kosovo",e.Kuwait="Kuwait",e.Kyrgyzstan="Kyrgyzstan",e.Laos="Laos",e.Latvia="Latvia",e.Lebanon="Lebanon",e.Lesotho="Lesotho",e.Liberia="Liberia",e.Libya="Libya",e.Liechtenstein="Liechtenstein",e.Lithuania="Lithuania",e.Luxembourg="Luxembourg",e.Macao="Macao",e.Macedonia="Macedonia",e.Madagascar="Madagascar",e.Malawi="Malawi",e.Malaysia="Malaysia",e.Maldives="Maldives",e.Mali="Mali",e.Malta="Malta",e.ManIsleOf="Man__Isle_of",e.MarianaIslands="Mariana_Islands",e.MarshallIslands="Marshall_Islands",e.Martinique="Martinique",e.Mauritania="Mauritania",e.Mauritius="Mauritius",e.MayotteIsland="Mayotte_Island",e.Mexico="Mexico",e.Micronesia="Micronesia",e.MidwayIsland="Midway_Island",e.Moldova="Moldova",e.Monaco="Monaco",e.Mongolia="Mongolia",e.Montenegro="Montenegro",e.Montserrat="Montserrat",e.Morocco="Morocco",e.Mozambique="Mozambique",e.MyanmarBurma="Myanmar__Burma_",e.Namibia="Namibia",e.Nauru="Nauru",e.Nepal="Nepal",e.Netherlands="Netherlands",e.NetherlandsAntillies="Netherlands_Antillies",e.Nevis="Nevis",e.NewCaledonia="New_Caledonia",e.NewZealand="New_Zealand",e.Nicaragua="Nicaragua",e.Niger="Niger",e.Nigeria="Nigeria",e.Niue="Niue",e.NorfolkIsland="Norfolk_Island",e.Norway="Norway",e.Oman="Oman",e.Pakistan="Pakistan",e.Palau="Palau",e.Palestine="Palestine",e.Panama="Panama",e.PapuaNewGuinea="Papua_New_Guinea",e.Paraguay="Paraguay",e.Peru="Peru",e.Philippines="Philippines",e.Pitcairn="Pitcairn",e.Poland="Poland",e.Portugal="Portugal",e.PuertoRico="Puerto_Rico",e.Qatar="Qatar",e.ReunionIsland="Reunion_Island",e.Romania="Romania",e.Russia="Russia",e.Rwanda="Rwanda",e.SanMarino="San_Marino",e.SaoTomeAndPrincipe="Sao_Tome_and_Principe",e.SaudiArabia="Saudi_Arabia",e.Senegal="Senegal",e.Serbia="Serbia",e.Seychelles="Seychelles",e.SierraLeone="Sierra_Leone",e.Singapore="Singapore",e.Slovakia="Slovakia",e.Slovenia="Slovenia",e.SolomonIslands="Solomon_Islands",e.SomaliaRepublic="Somalia_Republic",e.SouthAfrica="South_Africa",e.Spain="Spain",e.SriLanka="Sri_Lanka",e.StHelena="St_Helena",e.StKitts="St_Kitts",e.StLucia="St_Lucia",e.StPierreAndMiquelon="St_Pierre_and_Miquelon",e.StVincent="St_Vincent",e.Sudan="Sudan",e.Suriname="Suriname",e.Swaziland="Swaziland",e.Sweden="Sweden",e.Switzerland="Switzerland",e.Syria="Syria",e.Taiwan="Taiwan",e.Tajikistan="Tajikistan",e.Tanzania="Tanzania",e.Thailand="Thailand",e.Togo="Togo",e.Tonga="Tonga",e.TrinidadAndTobago="Trinidad_and_Tobago",e.Tunisia="Tunisia",e.Turkey="Turkey",e.Turkmenistan="Turkmenistan",e.TurksAndCaicos="Turks_and_Caicos",e.Tuvalu="Tuvalu",e.Uganda="Uganda",e.Ukraine="Ukraine",e.UnitedArabEmirates="United_Arab_Emirates",e.UnitedKingdom="United_Kingdom",e.UnitedStates="United_States",e.Uruguay="Uruguay",e.UsMinorOutlyingIslands="US_Minor_Outlying_Islands",e.UsVirginIslands="US_Virgin_Islands",e.Uzbekistan="Uzbekistan",e.Vanuatu="Vanuatu",e.VaticanCity="Vatican_City",e.Venezuela="Venezuela",e.Vietnam="Vietnam",e.WakeIsland="Wake_Island",e.WallisAndFutunaIslands="Wallis_And_Futuna_Islands",e.WesternSamoa="Western_Samoa",e.Yemen="Yemen",e.Zambia="Zambia",e.Zanzibar="Zanzibar",e.Zimbabwe="Zimbabwe"}(ce||(ce={})),function(e){e.DdMmYyyy="dd_mm_yyyy",e.MmDdYyyy="mm_dd_yyyy",e.YyyyMmDd="yyyy_mm_dd"}(de||(de={})),function(e){e.Ldap="LDAP",e.Microsoft="Microsoft",e.Off="Off",e.PolycomGds="Polycom_GDS"}(pe||(pe={})),function(e){e.Off="Off",e.RequiredAll="Required_All",e.RequiredVideo="Required_Video",e.WhenAvailable="When_Available"}(fe||(fe={})),function(e){e.Full="Full",e.Half="Half"}(me||(me={})),function(e){e.One000Mbps="ONE000Mbps",e.One00Mbps="ONE00Mbps",e.One0Mbps="ONE0Mbps"}(he||(he={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.Off="Off",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.One3="ONE3",e.One4="ONE4",e.One5="ONE5",e.One6="ONE6",e.One7="ONE7",e.One8="ONE8",e.One9="ONE9",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Two0="TWO0",e.Two1="TWO1",e.Two2="TWO2",e.Two3="TWO3",e.Two4="TWO4"}(ye||(ye={})),function(e){e.Private="Private",e.Public="Public"}(ge||(ge={})),function(e){e.Auto="Auto",e.Off="Off",e.Specify="Specify"}(Te||(Te={})),function(e){e.None="None",e.PowerOff="Power_Off",e.Sleep="Sleep"}(ve||(ve={})),function(e){e.Five="FIVE",e.Four5="FOUR5",e.Four80="FOUR80",e.One="ONE",e.One0="ONE0",e.One20="ONE20",e.One5="ONE5",e.Six0="SIX0",e.Three="THREE",e.Three0="THREE0",e.Two0="TWO0",e.Two40="TWO40"}(Ee||(Ee={})),function(e){e.Automatically="Automatically",e.Manually="Manually"}(_e||(_e={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.Off="Off",e.One0="ONE0",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO"}(Se||(Se={})),function(e){e.Five="FIVE",e.Four80="FOUR80",e.One="ONE",e.One0="ONE0",e.One20="ONE20",e.Six0="SIX0",e.Three="THREE",e.Three0="THREE0",e.Two="TWO",e.Two0="TWO0",e.Two40="TWO40"}(Ne||(Ne={})),function(e){e.Five="FIVE",e.One="ONE",e.Three="THREE",e.Two="TWO"}(Ie||(Ie={})),function(e){e.Adminpassword="adminpassword",e.None="none",e.Usernamepassword="usernamepassword"}(Ce||(Ce={})),function(e){e.Critical="Critical",e.Debug="Debug",e.Error="Error",e.Info="Info",e.Warning="Warning"}(Ae||(Ae={})),function(e){e.Custom="Custom",e.SystemNameAndTimestamp="SystemNameAndTimestamp",e.Timestamp="Timestamp"}(Re||(Re={})),function(e){e.Eight0="EIGHT0",e.Five0="FIVE0",e.Four0="FOUR0",e.Nine0="NINE0",e.Off="Off",e.One0="ONE0",e.Seven0="SEVEN0",e.Six0="SIX0",e.Three0="THREE0",e.Two0="TWO0"}(Oe||(Oe={})),function(e){e.Eight32="EIGHT32",e.Eight96="EIGHT96",e.Five12="FIVE12",e.Five76="FIVE76",e.Four096="FOUR096",e.Four48="FOUR48",e.Nine60="NINE60",e.One024="ONE024",e.One088="ONE088",e.One152="ONE152",e.One216="ONE216",e.One28="ONE28",e.One280="ONE280",e.One344="ONE344",e.One408="ONE408",e.One472="ONE472",e.One536="ONE536",e.One600="ONE600",e.One664="ONE664",e.One728="ONE728",e.One792="ONE792",e.One856="ONE856",e.One92="ONE92",e.One920="ONE920",e.Seven04="SEVEN04",e.Seven68="SEVEN68",e.Six144="SIX144",e.Six4="SIX4",e.Six40="SIX40",e.Three20="THREE20",e.Three84="THREE84",e.Three840="THREE840",e.Two048="TWO048",e.Two56="TWO56"}(be||(be={})),function(e){e.Five0="FIVE0",e.Four0="FOUR0",e.Four5="FOUR5",e.One0="ONE0",e.One5="ONE5",e.Three0="THREE0",e.Three5="THREE5",e.Two0="TWO0",e.Two5="TWO5"}(Le||(Le={})),function(e){e.EightHours="EIGHT_hours",e.FiveHours="FIVE_hours",e.FourHours="FOUR_hours",e.Four8Hours="FOUR8_hours",e.NineHours="NINE_hours",e.Off="Off",e.OneHour="ONE_hour",e.One0Hours="ONE0_hours",e.One1Hours="ONE1_hours",e.One2Hours="ONE2_hours",e.SevenHours="SEVEN_hours",e.SixHours="SIX_hours",e.ThreeHours="THREE_hours",e.TwoHours="TWO_hours",e.Two4Hours="TWO4_hours"}(ke||(ke={})),function(e){e.Tlsv1="tlsv1",e.Tlsv1_1="tlsv1_1",e.Tlsv1_2="tlsv1_2"}(De||(De={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO"}(xe||(xe={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Four0="FOUR0",e.Four4="FOUR4",e.Four8="FOUR8",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Three6="THREE6",e.Two="TWO"}(Pe||(Pe={})),function(e){e.Auto="auto",e.Manual="manual"}(Ue||(Ue={})),function(e){e.Auto="auto",e.Off="off"}(we||(we={})),function(e){e.One920x1080p_50Hz="ONE920x1080p_50Hz",e.One920x1080p_60Hz="ONE920x1080p_60Hz",e.Three840x2160p_25Hz="THREE840x2160p_25Hz",e.Three840x2160p_30Hz="THREE840x2160p_30Hz",e.Three840x2160p_50Hz="THREE840x2160p_50Hz",e.Three840x2160p_60Hz="THREE840x2160p_60Hz"}(Me||(Me={})),function(e){e.Default="Default",e.Specify="Specify"}(Ve||(Ve={})),function(e){e.Nine00="NINE00",e.One020="ONE020",e.One140="ONE140",e.One260="ONE260",e.One500="ONE500",e.Seven80="SEVEN80",e.Six60="SIX60"}(je||(je={})),function(e){e.Auto="Auto",e.Manual="Manual",e.Off="Off"}(Fe||(Fe={})),function(e){e.Presets="Presets",e.Tones="Tones"}(Be||(Be={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.Off="Off",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.One3="ONE3",e.One4="ONE4",e.One5="ONE5",e.One6="ONE6",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Three2="THREE2",e.Two="TWO"}(Ze||(Ze={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.Off="Off",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.One3="ONE3",e.One4="ONE4",e.One5="ONE5",e.One6="ONE6",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO"}(Ge||(Ge={})),function(e){e.All="All",e.Off="Off",e.One="ONE",e.Two="TWO"}(Je||(Je={})),function(e){e.Five="FIVE",e.Off="Off",e.One="ONE",e.One0="ONE0",e.One5="ONE5",e.Three0="THREE0",e.Two0="TWO0"}(He||(He={})),function(e){e.All="All",e.Four="FOUR",e.Off="Off",e.One="ONE",e.Three="THREE",e.Two="TWO"}(We||(We={})),function(e){e.Four="FOUR",e.Off="Off",e.One="ONE",e.Three="THREE",e.Two="TWO"}(Ye||(Ye={})),function(e){e.Five="FIVE",e.Four="FOUR",e.Off="Off",e.One="ONE",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO"}(qe||(qe={})),function(e){e.Nine0="NINE0",e.Off="Off",e.One00="ONE00",e.One10="ONE10",e.One20="ONE20",e.One30="ONE30",e.One40="ONE40",e.One50="ONE50",e.One60="ONE60",e.One70="ONE70",e.One80="ONE80",e.Six0="SIX0",e.Three0="THREE0"}(Ke||(Ke={})),function(e){e.Eight="EIGHT",e.Nine="NINE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.One3="ONE3",e.One4="ONE4",e.One5="ONE5",e.One6="ONE6",e.Three2="THREE2"}(ze||(ze={})),function(e){e.Globaldir="globaldir",e.Keypad="keypad",e.Recentcalls="recentcalls"}(Xe||(Xe={})),function(e){e.PlaybackToAllLocations="Playback_to_All_Locations",e.PlaybackToFarSitesMuteControlledEchoCancelled="Playback_to_Far_Sites__Mute_Controlled__Echo_Cancelled"}($e||($e={})),function(e){e.AtThenPound="at_then_pound",e.PoundThenAt="pound_then_at"}(Qe||(Qe={})),function(e){e.Five0="FIVE0",e.Six0="SIX0"}(en||(en={})),function(e){e.Five12="FIVE12",e.Four096="FOUR096",e.One024="ONE024",e.One28="ONE28",e.One472="ONE472",e.One920="ONE920",e.Seven68="SEVEN68",e.Six144="SIX144",e.Three072="THREE072",e.Three84="THREE84",e.Three840="THREE840",e.Two048="TWO048",e.Two56="TWO56"}(nn||(nn={})),function(e){e.CbcDes="CBC_DES",e.CfbAes128="CFB_AES128"}(tn||(tn={})),function(e){e.Neg_2="NEG_2",e.Neg_4="NEG_4",e.Neg_6="NEG_6",e.Pos_2="POS_2",e.Pos_4="POS_4",e.Pos_6="POS_6",e.Zero="ZERO"}(an||(an={})),function(e){e.Five0="FIVE0",e.One00="ONE00",e.Seven5="SEVEN5",e.Two5="TWO5"}(rn||(rn={})),function(e){e.Black="Black",e.NoSignal="NoSignal"}(on||(on={})),function(e){e.None="None",e.WiFi="WiFi"}(ln||(ln={})),function(e){e.Five7600="FIVE7600",e.Nine600="NINE600",e.One15200="ONE15200",e.One9200="ONE9200",e.Three8400="THREE8400"}(sn||(sn={})),function(e){e.Hardware="hardware",e.None="none"}(un||(un={})),function(e){e.Control="Control",e.Off="Off"}(cn||(cn={})),function(e){e.Even="even",e.None="none",e.Odd="odd"}(dn||(dn={})),function(e){e.One="ONE",e.Two="TWO"}(pn||(pn={})),function(e){e.Tcp="TCP",e.Tls="TLS",e.Udp="UDP"}(fn||(fn={})),function(e){e.Auto="Auto",e.Specify="Specify"}(mn||(mn={})),function(e){e.Microsoft="Microsoft",e.StandardSip="Standard_SIP",e.Unknown="unknown"}(hn||(hn={})),function(e){e.Auto="Auto",e.Tcp="TCP",e.Tls="TLS",e.Udp="UDP"}(yn||(yn={})),function(e){e.Four5="FOUR5",e.Four80="FOUR80",e.One="ONE",e.One20="ONE20",e.One5="ONE5",e.Six0="SIX0",e.Three="THREE",e.Three0="THREE0",e.Two40="TWO40",e.Zero="ZERO"}(gn||(gn={})),function(e){e.V1="v1",e.V2c="v2c",e.V3="v3"}(Tn||(Tn={})),function(e){e.Inform="Inform",e.Trap="Trap"}(vn||(vn={})),function(e){e.AutoAtThreshold="AutoAtThreshold",e.Manual="Manual"}(En||(En={})),function(e){e.Eight="EIGHT",e.Eight0="EIGHT0",e.Eight2="EIGHT2",e.Eight4="EIGHT4",e.Eight6="EIGHT6",e.Eight8="EIGHT8",e.Five0="FIVE0",e.Five2="FIVE2",e.Five4="FIVE4",e.Five6="FIVE6",e.Five8="FIVE8",e.Four="FOUR",e.Four0="FOUR0",e.Four2="FOUR2",e.Four4="FOUR4",e.Four6="FOUR6",e.Four8="FOUR8",e.Nine0="NINE0",e.Nine2="NINE2",e.Nine4="NINE4",e.Nine6="NINE6",e.Nine8="NINE8",e.One0="ONE0",e.One00="ONE00",e.One2="ONE2",e.One4="ONE4",e.One6="ONE6",e.One8="ONE8",e.Seven0="SEVEN0",e.Seven2="SEVEN2",e.Seven4="SEVEN4",e.Seven6="SEVEN6",e.Seven8="SEVEN8",e.Six="SIX",e.Six0="SIX0",e.Six2="SIX2",e.Six4="SIX4",e.Six6="SIX6",e.Six8="SIX8",e.Three0="THREE0",e.Three2="THREE2",e.Three4="THREE4",e.Three6="THREE6",e.Three8="THREE8",e.Two="TWO",e.Two0="TWO0",e.Two2="TWO2",e.Two4="TWO4",e.Two6="TWO6",e.Two8="TWO8",e.Zero="ZERO"}(_n||(_n={})),function(e){e.Eight="EIGHT",e.Five="FIVE",e.Four="FOUR",e.Nine="NINE",e.One="ONE",e.One0="ONE0",e.One1="ONE1",e.One2="ONE2",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Zero="ZERO"}(Sn||(Sn={})),function(e){e.PeriodThenStar="period_then_star",e.StarThenPeriod="star_then_period"}(Nn||(Nn={})),function(e){e.GuestWiFiIpAddress="Guest_Wi_Fi_IP_Address",e.H_323Extension="H_323_Extension",e.None="None",e.PrimaryIpAddress="Primary_IP_Address",e.SipAddress="SIP_Address"}(In||(In={})),function(e){e.One2Hour="ONE2_Hour",e.Two4Hour="TWO4_Hour"}(Cn||(Cn={})),function(e){e.Auto="Auto",e.Manual="Manual",e.Off="Off"}(An||(An={})),function(e){e.AfricaBangui="Africa_Bangui",e.AfricaCasablanca="Africa_Casablanca",e.AfricaDarEsSalaam="Africa_Dar__es__Salaam",e.AfricaHarare="Africa_Harare",e.AfricaNairobi="Africa_Nairobi",e.AmericaAdak="America_Adak",e.AmericaAnchorage="America_Anchorage",e.AmericaCaracas="America_Caracas",e.AmericaCordoba="America_Cordoba",e.AmericaGodthab="America_Godthab",e.AmericaGuatemala="America_Guatemala",e.AmericaIndianapolis="America_Indianapolis",e.AmericaLaPaz="America_La__Paz",e.AmericaLima="America_Lima",e.AmericaMazatlan="America_Mazatlan",e.AmericaMonterrey="America_Monterrey",e.AmericaNoronha="America_Noronha",e.AmericaPhoenix="America_Phoenix",e.AmericaRegina="America_Regina",e.AmericaSantiago="America_Santiago",e.AmericaSaoPaulo="America_Sao__Paulo",e.AsiaBaghdad="Asia_Baghdad",e.AsiaBaku="Asia_Baku",e.AsiaBangkok="Asia_Bangkok",e.AsiaCalcutta="Asia_Calcutta",e.AsiaColombo="Asia_Colombo",e.AsiaDhaka="Asia_Dhaka",e.AsiaHongKong="Asia_Hong__Kong",e.AsiaJerusalem="Asia_Jerusalem",e.AsiaKabul="Asia_Kabul",e.AsiaKarachi="Asia_Karachi",e.AsiaKatmandu="Asia_Katmandu",e.AsiaKrasnoyarsk="Asia_Krasnoyarsk",e.AsiaKuwait="Asia_Kuwait",e.AsiaMagadan="Asia_Magadan",e.AsiaMumbai="Asia_Mumbai",e.AsiaMuscat="Asia_Muscat",e.AsiaNovosibirsk="Asia_Novosibirsk",e.AsiaRangoon="Asia_Rangoon",e.AsiaSeoul="Asia_Seoul",e.AsiaSingapore="Asia_Singapore",e.AsiaTaipei="Asia_Taipei",e.AsiaUlaanbaatar="Asia_Ulaanbaatar",e.AsiaVladivostok="Asia_Vladivostok",e.AsiaYakutsk="Asia_Yakutsk",e.AsiaYekaterinburg="Asia_Yekaterinburg",e.AtlanticAzores="Atlantic_Azores",e.AtlanticCapeVerde="Atlantic_Cape__Verde",e.AustraliaAdelaide="Australia_Adelaide",e.AustraliaBrisbane="Australia_Brisbane",e.AustraliaDarwin="Australia_Darwin",e.AustraliaHobart="Australia_Hobart",e.AustraliaPerth="Australia_Perth",e.AustraliaSydney="Australia_Sydney",e.Baja="BAJA",e.CanadaAtlantic="Canada_Atlantic",e.CanadaNewfoundland="Canada_Newfoundland",e.Cst="CST",e.Egypt="Egypt",e.Est="EST",e.EtcGmtminus12="Etc_GMTMINUS12",e.EtcGreenwich="Etc_Greenwich",e.EuropeAmsterdam="Europe_Amsterdam",e.EuropeAthens="Europe_Athens",e.EuropeBelgrade="Europe_Belgrade",e.EuropeBucharest="Europe_Bucharest",e.EuropeHelsinki="Europe_Helsinki",e.EuropeLondon="Europe_London",e.EuropeMoscow="Europe_Moscow",e.EuropeParis="Europe_Paris",e.EuropeSofia="Europe_Sofia",e.EuropeTirane="Europe_Tirane",e.EuropeWarsaw="Europe_Warsaw",e.IndianChagos="Indian_Chagos",e.IndianKerguelen="Indian_Kerguelen",e.Iran="Iran",e.Japan="Japan",e.Mst="MST",e.PacificAuckland="Pacific_Auckland",e.PacificFiji="Pacific_Fiji",e.PacificGuam="Pacific_Guam",e.PacificHonolulu="Pacific_Honolulu",e.PacificMidway="Pacific_Midway",e.PacificPitcairn="Pacific_Pitcairn",e.PacificTongatapu="Pacific_Tongatapu",e.Pst="PST"}(Rn||(Rn={})),function(e){e.DiffServ="DiffServ",e.IpPrecedence="IP_Precedence"}(On||(On={})),function(e){e.Tcp="TCP",e.Udp="UDP"}(bn||(bn={})),function(e){e.Calendar="calendar",e.Favorites="favorites",e.None="none"}(Ln||(Ln={})),function(e){e.MicrosoftTeamsDeviceManagement="microsoft_teams_device_management",e.PolycomSupportServer="polycom_support_server",e.ProvServer="prov_server",e.UserDefinedServer="user_defined_server"}(kn||(kn={})),function(e){e.H323="h323",e.Sip="sip"}(Dn||(Dn={})),function(e){e.Five="FIVE",e.Four="FOUR",e.One="ONE",e.Seven="SEVEN",e.Six="SIX",e.Three="THREE",e.Two="TWO",e.Zero="ZERO"}(xn||(xn={})),function(e){e.H323="h323",e.Sip="sip"}(Pn||(Pn={})),function(e){e.Eight02_1xEap="EIGHT02_1xEAP",e.None="None",e.Wep="WEP",e.WpaPsk="WPA_PSK"}(Un||(Un={})),function(e){e.Active="ACTIVE",e.All="ALL"}(wn||(wn={})),function(e){e.TopicIndicator="TOPIC_INDICATOR"}(Mn||(Mn={})),function(e){e.DisassociateWithResource="disassociateWithResource",e.InviteUser="inviteUser",e.Login="login",e.SwitchRole="switchRole"}(Vn||(Vn={})),function(e){e.Configfiles="CONFIGFILES",e.Device="DEVICE",e.Local="LOCAL",e.Web="WEB"}(jn||(jn={})),function(e){e.Beta="Beta",e.Deprecated="Deprecated",e.Preview="Preview",e.Released="Released"}(Fn||(Fn={})),function(e){e.Basic="BASIC",e.Premium="PREMIUM"}(Bn||(Bn={})),function(e){e.Inferred="INFERRED",e.Standard="STANDARD",e.Transitive="TRANSITIVE"}(Zn||(Zn={})),function(e){e.Standard="STANDARD",e.Transitive="TRANSITIVE"}(Gn||(Gn={})),function(e){e.Model="MODEL"}(Jn||(Jn={})),function(e){e.HardwareFamily="HardwareFamily",e.HardwareModel="HardwareModel",e.HardwareProduct="HardwareProduct",e.Vendor="Vendor"}(Hn||(Hn={})),function(e){e.All="ALL",e.List="LIST"}(Wn||(Wn={})),function(e){e.Ata="ATA",e.Ccx="CCX",e.Ec="EC",e.Edge="EDGE",e.Polyos="POLYOS",e.Rove="ROVE",e.Ucs="UCS",e.Utopia="UTOPIA"}(Yn||(Yn={})),function(e){e.Day="DAY",e.Hour="HOUR",e.Month="MONTH",e.Week="WEEK",e.Year="YEAR"}(qn||(qn={})),function(e){e.Average="AVERAGE",e.CountAverage="COUNT_AVERAGE",e.CountTotal="COUNT_TOTAL"}(Kn||(Kn={})),function(e){e.Microsoft="MICROSOFT"}(zn||(zn={})),function(e){e.List="LIST",e.Map="MAP"}(Xn||(Xn={})),function(e){e.Dark="DARK",e.Light="LIGHT"}($n||($n={})),function(e){e.ActivationDate="ACTIVATION_DATE",e.EndDate="END_DATE",e.LicenseKey="LICENSE_KEY",e.Quantity="QUANTITY",e.Type="TYPE",e.UserId="USER_ID"}(Qn||(Qn={})),function(e){e.Clariti="CLARITI",e.PolyPlus="POLY_PLUS",e.PolyPlusElite="POLY_PLUS_ELITE",e.PolyPlusEnterprisePersonal="POLY_PLUS_ENTERPRISE_PERSONAL",e.PolyPlusEnterpriseVideoa="POLY_PLUS_ENTERPRISE_VIDEOA",e.PolyPlusEnterpriseVideob="POLY_PLUS_ENTERPRISE_VIDEOB",e.PolyPlusEnterpriseVideoc="POLY_PLUS_ENTERPRISE_VIDEOC",e.PolyPlusEnterpriseVideod="POLY_PLUS_ENTERPRISE_VIDEOD",e.PolyPlusEnterpriseVoicea="POLY_PLUS_ENTERPRISE_VOICEA",e.PolyPlusEnterpriseVoiceb="POLY_PLUS_ENTERPRISE_VOICEB",e.Unknown="UNKNOWN"}(et||(et={})),function(e){e.Clariti="CLARITI",e.MockOnly="MOCK_ONLY",e.PolyPlus="POLY_PLUS",e.PolyPlusElite="POLY_PLUS_ELITE",e.PolyPlusEnterprisePersonal="POLY_PLUS_ENTERPRISE_PERSONAL",e.PolyPlusEnterpriseVideoa="POLY_PLUS_ENTERPRISE_VIDEOA",e.PolyPlusEnterpriseVideob="POLY_PLUS_ENTERPRISE_VIDEOB",e.PolyPlusEnterpriseVideoc="POLY_PLUS_ENTERPRISE_VIDEOC",e.PolyPlusEnterpriseVideod="POLY_PLUS_ENTERPRISE_VIDEOD",e.PolyPlusEnterpriseVoicea="POLY_PLUS_ENTERPRISE_VOICEA",e.PolyPlusEnterpriseVoiceb="POLY_PLUS_ENTERPRISE_VOICEB",e.Unknown="UNKNOWN"}(nt||(nt={})),function(e){e.Asc="ASC",e.Desc="DESC"}(tt||(tt={})),function(e){e.Device="DEVICE",e.DeviceType="DEVICE_TYPE",e.Family="FAMILY",e.Model="MODEL",e.ModelVersion="MODEL_VERSION",e.Room="ROOM",e.RoomMeeting="ROOM_MEETING",e.Site="SITE",e.Tenant="TENANT",e.Version="VERSION"}(at||(at={})),function(e){e.Api="API",e.Unknown="UNKNOWN",e.Webui="WEBUI"}(it||(it={})),function(e){e.Duration="DURATION",e.Headcount="HEADCOUNT"}(rt||(rt={})),function(e){e.AppName="APP_NAME",e.Model="MODEL",e.Room="ROOM",e.Tenant="TENANT",e.Weekday="WEEKDAY"}(ot||(ot={})),function(e){e.Mean="MEAN",e.Sum="SUM"}(lt||(lt={})),function(e){e.AnsweredInSoftphone="ANSWERED_IN_SOFTPHONE",e.Appname="APPNAME",e.CallDirection="CALL_DIRECTION",e.CallRate="CALL_RATE",e.DeviceId="DEVICE_ID",e.Disconnectinfo="DISCONNECTINFO",e.HardwareModel="HARDWARE_MODEL",e.Ipaddress="IPADDRESS",e.Mac="MAC",e.Name="NAME",e.ProductFamily="PRODUCT_FAMILY",e.Protocol="PROTOCOL",e.RoomId="ROOM_ID",e.SiteId="SITE_ID",e.SoftphoneVersion="SOFTPHONE_VERSION",e.SoftwareRelease="SOFTWARE_RELEASE",e.UserId="USER_ID"}(st||(st={})),function(e){e.Temp="TEMP"}(ut||(ut={})),function(e){e.Cdr="CDR",e.Headcount="HEADCOUNT",e.Mediashare="MEDIASHARE",e.Usage="USAGE"}(ct||(ct={})),function(e){e.Accept="ACCEPT",e.Cancel="CANCEL",e.Confirm="CONFIRM",e.Reject="REJECT",e.Request="REQUEST",e.RollbackConfirm="ROLLBACK_CONFIRM"}(dt||(dt={})),function(e){e.Default="DEFAULT",e.DirReadAll="DIR_READ_ALL"}(pt||(pt={})),function(e){e.Description="description",e.Id="id",e.Name="name",e.SupportsPolicies="supportsPolicies",e.SupportsProvisioning="supportsProvisioning"}(ft||(ft={})),function(e){e.AdminAcceptEntitlement="ADMIN_ACCEPT_ENTITLEMENT",e.AdminAssignEntitlement="ADMIN_ASSIGN_ENTITLEMENT",e.AdminChangeEntitlementValue="ADMIN_CHANGE_ENTITLEMENT_VALUE",e.AdminChangeProductVersion="ADMIN_CHANGE_PRODUCT_VERSION",e.AdminChangeTenantAccount="ADMIN_CHANGE_TENANT_ACCOUNT",e.AdminCombineEntitlement="ADMIN_COMBINE_ENTITLEMENT",e.AdminCreateClientAuthToken="ADMIN_CREATE_CLIENT_AUTH_TOKEN",e.AdminCreateEntitlement="ADMIN_CREATE_ENTITLEMENT",e.AdminCreateInstance="ADMIN_CREATE_INSTANCE",e.AdminCreatePolyUser="ADMIN_CREATE_POLY_USER",e.AdminCreateProductVersion="ADMIN_CREATE_PRODUCT_VERSION",e.AdminCreateTenantAccount="ADMIN_CREATE_TENANT_ACCOUNT",e.AdminCreateTenantUser="ADMIN_CREATE_TENANT_USER",e.AdminDeleteAppData="ADMIN_DELETE_APP_DATA",e.AdminDeleteAuditRecord="ADMIN_DELETE_AUDIT_RECORD",e.AdminDeleteClientAuthToken="ADMIN_DELETE_CLIENT_AUTH_TOKEN",e.AdminDeleteEntitlement="ADMIN_DELETE_ENTITLEMENT",e.AdminDeleteInstance="ADMIN_DELETE_INSTANCE",e.AdminDeletePolyUser="ADMIN_DELETE_POLY_USER",e.AdminDeleteProductVersion="ADMIN_DELETE_PRODUCT_VERSION",e.AdminDeleteTenantAccount="ADMIN_DELETE_TENANT_ACCOUNT",e.AdminDeleteTenantUser="ADMIN_DELETE_TENANT_USER",e.AdminEditTenantInformation="ADMIN_EDIT_TENANT_INFORMATION",e.AdminExpireEntitlement="ADMIN_EXPIRE_ENTITLEMENT",e.AdminIncreaseEntitlementExpireValue="ADMIN_INCREASE_ENTITLEMENT_EXPIRE_VALUE",e.AdminLogin="ADMIN_LOGIN",e.AdminMergeTenantAccount="ADMIN_MERGE_TENANT_ACCOUNT",e.AdminModifyPolyUser="ADMIN_MODIFY_POLY_USER",e.AdminModifyTenantUser="ADMIN_MODIFY_TENANT_USER",e.AdminMoveEntitlementToTenant="ADMIN_MOVE_ENTITLEMENT_TO_TENANT",e.AdminPerformAltLicense="ADMIN_PERFORM_ALT_LICENSE",e.AdminPerformLicense="ADMIN_PERFORM_LICENSE",e.AdminPerformMaint="ADMIN_PERFORM_MAINT",e.AdminReleaseEntitlement="ADMIN_RELEASE_ENTITLEMENT",e.AdminResetPolyUserPwd="ADMIN_RESET_POLY_USER_PWD",e.AdminResetTenantUserPwd="ADMIN_RESET_TENANT_USER_PWD",e.AdminSplitEntitlement="ADMIN_SPLIT_ENTITLEMENT",e.AdminUnassignEntitlement="ADMIN_UNASSIGN_ENTITLEMENT",e.AuditorLogin="AUDITOR_LOGIN",e.InstanceCreationFromRequest="INSTANCE_CREATION_FROM_REQUEST",e.IntegrationAddEntitlement="INTEGRATION_ADD_ENTITLEMENT",e.IntegrationAddTenantUser="INTEGRATION_ADD_TENANT_USER",e.IntegrationChangeEntitlement="INTEGRATION_CHANGE_ENTITLEMENT",e.IntegrationChangeProductVersion="INTEGRATION_CHANGE_PRODUCT_VERSION",e.IntegrationChangeTenantAccount="INTEGRATION_CHANGE_TENANT_ACCOUNT",e.IntegrationCreateProductVersion="INTEGRATION_CREATE_PRODUCT_VERSION",e.IntegrationCreateTenantAccount="INTEGRATION_CREATE_TENANT_ACCOUNT",e.IntegrationDeleteEntitlement="INTEGRATION_DELETE_ENTITLEMENT",e.IntegrationDeleteProductVersion="INTEGRATION_DELETE_PRODUCT_VERSION",e.IntegrationDeleteTenantAccount="INTEGRATION_DELETE_TENANT_ACCOUNT",e.IntegrationIncreaseEntitlementExpire="INTEGRATION_INCREASE_ENTITLEMENT_EXPIRE",e.IntegrationMergeTenantAccount="INTEGRATION_MERGE_TENANT_ACCOUNT",e.TenantAdminAcceptEntitlement="TENANT_ADMIN_ACCEPT_ENTITLEMENT",e.TenantAdminAssignEntitlement="TENANT_ADMIN_ASSIGN_ENTITLEMENT",e.TenantAdminCombineEntitlement="TENANT_ADMIN_COMBINE_ENTITLEMENT",e.TenantAdminCreateClientAuthToken="TENANT_ADMIN_CREATE_CLIENT_AUTH_TOKEN",e.TenantAdminCreateInstance="TENANT_ADMIN_CREATE_INSTANCE",e.TenantAdminDeleteClientAuthToken="TENANT_ADMIN_DELETE_CLIENT_AUTH_TOKEN",e.TenantAdminDeleteInstance="TENANT_ADMIN_DELETE_INSTANCE",e.TenantAdminDeleteUser="TENANT_ADMIN_DELETE_USER",e.TenantAdminLogin="TENANT_ADMIN_LOGIN",e.TenantAdminModifyUser="TENANT_ADMIN_MODIFY_USER",e.TenantAdminPerformAltLicense="TENANT_ADMIN_PERFORM_ALT_LICENSE",e.TenantAdminPerformLicense="TENANT_ADMIN_PERFORM_LICENSE",e.TenantAdminResetUserPwd="TENANT_ADMIN_RESET_USER_PWD",e.TenantAdminSplitEntitlement="TENANT_ADMIN_SPLIT_ENTITLEMENT",e.TenantAdminUnassignEntitlement="TENANT_ADMIN_UNASSIGN_ENTITLEMENT",e.TenantAuditorLogin="TENANT_AUDITOR_LOGIN",e.TenantCreateUser="TENANT_CREATE_USER",e.TenantResetUserPwd="TENANT_RESET_USER_PWD",e.Unknown="UNKNOWN",e.UserSelfResetPwd="USER_SELF_RESET_PWD"}(mt||(mt={})),function(e){e.Assigned="ASSIGNED",e.AwaitingRelease="AWAITING_RELEASE",e.Normal="NORMAL",e.Orphaned="ORPHANED",e.PendingReleaseAck="PENDING_RELEASE_ACK",e.Used="USED"}(ht||(ht={})),function(e){e.Normal="NORMAL",e.Perpetual="PERPETUAL",e.Trial="TRIAL"}(yt||(yt={})),function(e){e.NoPolyRole="NO_POLY_ROLE",e.PolyAdmin="POLY_ADMIN",e.PolyAuditor="POLY_AUDITOR",e.PolyIntegration="POLY_INTEGRATION",e.PolySuperAdmin="POLY_SUPER_ADMIN"}(gt||(gt={})),function(e){e.AudioDevices="AUDIO_DEVICES",e.BurstEnabled="BURST_ENABLED",e.ClaritiManagerBaseLicense="CLARITI_MANAGER_BASE_LICENSE",e.ClaritiSubscription="CLARITI_SUBSCRIPTION",e.EasySchedule="EASY_SCHEDULE",e.ElasticConcurrentAudioCalls="ELASTIC_CONCURRENT_AUDIO_CALLS",e.ElasticConcurrentCalls="ELASTIC_CONCURRENT_CALLS",e.ElasticConcurrentP2PCalls="ELASTIC_CONCURRENT_P2P_CALLS",e.ElasticConcurrentVmrs="ELASTIC_CONCURRENT_VMRS",e.LongTermLicensing="LONG_TERM_LICENSING",e.MediaEncryption="MEDIA_ENCRYPTION",e.MeetingDirector="MEETING_DIRECTOR",e.Otd="OTD",e.PerpetualConcurrentAudioCalls="PERPETUAL_CONCURRENT_AUDIO_CALLS",e.PerpetualConcurrentCalls="PERPETUAL_CONCURRENT_CALLS",e.PerpetualConcurrentP2PCalls="PERPETUAL_CONCURRENT_P2P_CALLS",e.PerpetualConcurrentVmrs="PERPETUAL_CONCURRENT_VMRS",e.Sdk="SDK",e.SubLicServer="SUB_LIC_SERVER",e.SubscriptionConcurrentAudioCalls="SUBSCRIPTION_CONCURRENT_AUDIO_CALLS",e.SubscriptionConcurrentCalls="SUBSCRIPTION_CONCURRENT_CALLS",e.SubscriptionConcurrentP2PCalls="SUBSCRIPTION_CONCURRENT_P2P_CALLS",e.SubscriptionConcurrentVmrs="SUBSCRIPTION_CONCURRENT_VMRS",e.Unknown="UNKNOWN",e.VideoDevices="VIDEO_DEVICES"}(Tt||(Tt={})),function(e){e.Boolean="BOOLEAN",e.Counted="COUNTED",e.Unknown="UNKNOWN"}(vt||(vt={})),function(e){e.ClaritiCe="CLARITI_CE",e.ClaritiManager="CLARITI_MANAGER",e.ClaritiRelay="CLARITI_RELAY",e.ClaritiWorkflow="CLARITI_WORKFLOW",e.Endpoint="ENDPOINT",e.Rm="RM",e.SubLicServer="SUB_LIC_SERVER",e.Unknown="UNKNOWN"}(Et||(Et={})),function(e){e.LicenseObtainer="LICENSE_OBTAINER",e.TenantAdmin="TENANT_ADMIN",e.TenantAuditor="TENANT_AUDITOR",e.Unknown="UNKNOWN"}(_t||(_t={})),function(e){e.AuthorizationCode="AUTHORIZATION_CODE",e.ClientCredentials="CLIENT_CREDENTIALS",e.Implicit="IMPLICIT",e.RefreshToken="REFRESH_TOKEN"}(St||(St={})),function(e){e.Code="CODE",e.IdToken="ID_TOKEN"}(Nt||(Nt={})),function(e){e.FirstPage="FIRST_PAGE",e.LastPage="LAST_PAGE",e.NextPage="NEXT_PAGE",e.PreviousPage="PREVIOUS_PAGE"}(It||(It={})),function(e){e.Asc="ASC",e.Desc="DESC"}(Ct||(Ct={})),function(e){e.Clariti="CLARITI",e.PolyPlus="POLY_PLUS",e.PolyPlusElite="POLY_PLUS_ELITE",e.PolyPlusEnterprisePersonal="POLY_PLUS_ENTERPRISE_PERSONAL",e.PolyPlusEnterpriseVideoa="POLY_PLUS_ENTERPRISE_VIDEOA",e.PolyPlusEnterpriseVideob="POLY_PLUS_ENTERPRISE_VIDEOB",e.PolyPlusEnterpriseVideoc="POLY_PLUS_ENTERPRISE_VIDEOC",e.PolyPlusEnterpriseVideod="POLY_PLUS_ENTERPRISE_VIDEOD",e.PolyPlusEnterpriseVoicea="POLY_PLUS_ENTERPRISE_VOICEA",e.PolyPlusEnterpriseVoiceb="POLY_PLUS_ENTERPRISE_VOICEB",e.Unknown="UNKNOWN"}(At||(At={})),function(e){e.Au="AU"}(Rt||(Rt={})),function(e){e.Dst="DST",e.Fw="FW",e.Sst="SST",e.Sw="SW"}(Ot||(Ot={})),function(e){e.Device="DEVICE",e.DeviceModel="DEVICE_MODEL",e.ExternalDevice="EXTERNAL_DEVICE",e.Global="GLOBAL",e.Group="GROUP",e.Site="SITE"}(bt||(bt={})),function(e){e.DeviceSettingsUpdate="DEVICE_SETTINGS_UPDATE",e.DeviceSwUpdate="DEVICE_SW_UPDATE"}(Lt||(Lt={})),function(e){e.Description="description",e.Id="id",e.Name="name",e.Pid="pid",e.ProductBuildId="productBuildId",e.ProductId="productId",e.ReleaseChannel="releaseChannel",e.Version="version"}(kt||(kt={})),function(e){e.Daily="DAILY",e.Immediate="IMMEDIATE",e.Interval_12H="INTERVAL_12H",e.Interval_15M="INTERVAL_15M",e.Interval_1H="INTERVAL_1H",e.Interval_2H="INTERVAL_2H",e.Interval_30M="INTERVAL_30M",e.Interval_4H="INTERVAL_4H",e.Interval_6H="INTERVAL_6H",e.Weekly="WEEKLY"}(Dt||(Dt={})),function(e){e.Name="NAME",e.Size="SIZE",e.Type="TYPE"}(xt||(xt={})),function(e){e.Focus="FOCUS",e.Huddle="HUDDLE",e.Large="LARGE",e.Medium="MEDIUM",e.None="NONE",e.Small="SMALL"}(Pt||(Pt={})),function(e){e.RoomCapacity="ROOM_CAPACITY",e.RoomName="ROOM_NAME",e.RoomSize="ROOM_SIZE",e.RoomType="ROOM_TYPE",e.SiteName="SITE_NAME",e.UnassignedRoomNameFirst="UNASSIGNED_ROOM_NAME_FIRST",e.UnassignedSiteNameFirst="UNASSIGNED_SITE_NAME_FIRST"}(Ut||(Ut={})),function(e){e.Mtr="MTR",e.None="NONE",e.UserCreated="USER_CREATED",e.Zoom="ZOOM"}(wt||(wt={})),function(e){e.Email="EMAIL",e.OfflineAccess="OFFLINE_ACCESS",e.Openid="OPENID",e.Profile="PROFILE"}(Mt||(Mt={})),function(e){e.Primary="PRIMARY",e.Secondary="SECONDARY"}(Vt||(Vt={})),function(e){e.Active="ACTIVE",e.Disabled="DISABLED",e.Initializing="INITIALIZING"}(jt||(jt={})),function(e){e.EntitlementNotFound="ENTITLEMENT_NOT_FOUND",e.Success="SUCCESS",e.TenantAlreadySet="TENANT_ALREADY_SET",e.UnknownError="UNKNOWN_ERROR"}(Ft||(Ft={})),function(e){e.CaseInsensitiveContains="CASE_INSENSITIVE_CONTAINS",e.Equals="EQUALS",e.NotEquals="NOT_EQUALS"}(Bt||(Bt={})),function(e){e.Name="NAME"}(Zt||(Zt={})),function(e){e.Name="NAME",e.RoomCount="ROOM_COUNT",e.UnassignedFirst="UNASSIGNED_FIRST"}(Gt||(Gt={})),function(e){e.Id="ID",e.SupportDurationYears="SUPPORT_DURATION_YEARS"}(Jt||(Jt={})),function(e){e.Name="name",e.ReleaseChannel="releaseChannel",e.Version="version"}(Ht||(Ht={})),function(e){e.Name="name",e.Version="version"}(Wt||(Wt={})),function(e){e.AuthError="AUTH_ERROR",e.AuthRestart="AUTH_RESTART",e.Authenticating="AUTHENTICATING",e.CheckingVersion="CHECKING_VERSION",e.Cleanup="CLEANUP",e.ConnectingToRepo="CONNECTING_TO_REPO",e.ContinueRestart="CONTINUE_RESTART",e.DownloadCfgFailed="DOWNLOAD_CFG_FAILED",e.DownloadPackageFailed="DOWNLOAD_PACKAGE_FAILED",e.DownloadedCfg="DOWNLOADED_CFG",e.DownloadingCfg="DOWNLOADING_CFG",e.DownloadingPackage="DOWNLOADING_PACKAGE",e.ErrorIncompatible="ERROR_INCOMPATIBLE",e.ErrorTimedout="ERROR_TIMEDOUT",e.ErrorUpdateDb="ERROR_UPDATE_DB",e.ErrorUsbNotcompatible="ERROR_USB_NOTCOMPATIBLE",e.HttpsCert="HTTPS_CERT",e.Installing="INSTALLING",e.InternalError="INTERNAL_ERROR",e.NeedUpgradedKey="NEED_UPGRADED_KEY",e.ReadyWaiting="READY_WAITING",e.Rebooting="REBOOTING",e.ShowSplash="SHOW_SPLASH",e.Stageunknown="STAGEUNKNOWN",e.Started="STARTED"}(Yt||(Yt={})),function(e){e.Blocked="BLOCKED",e.Disconnect="DISCONNECT",e.NoUpdate="NO_UPDATE",e.UpdateComplete="UPDATE_COMPLETE",e.UpdateFailed="UPDATE_FAILED",e.Updating="UPDATING"}(qt||(qt={})),function(e){e.PublishDate="publishDate",e.Version="version"}(Kt||(Kt={})),function(e){e.PublishDate="publishDate",e.Version="version"}(zt||(zt={})),function(e){e.Duplicate="Duplicate",e.Overlap="Overlap",e.Valid="Valid"}(Xt||(Xt={})),function(e){e.CustomUrl="CUSTOM_URL",e.StandardUrl="STANDARD_URL"}($t||($t={})),function(e){e.Color="COLOR",e.DongleType="DONGLE_TYPE",e.FormFactor="FORM_FACTOR",e.Priority="PRIORITY"}(Qt||(Qt={})),function(e){e.ChangingPassword="CHANGING_PASSWORD",e.ChangingPasswordFailed="CHANGING_PASSWORD_FAILED",e.Deleting="DELETING",e.DeletingFailed="DELETING_FAILED",e.Disabled="DISABLED",e.Disabling="DISABLING",e.DisablingFailed="DISABLING_FAILED",e.Enabled="ENABLED",e.Enabling="ENABLING",e.EnablingFailed="ENABLING_FAILED",e.NeverIntegrated="NEVER_INTEGRATED"}(ea||(ea={})),function(e){e.Create="CREATE",e.Delete="DELETE",e.Merge="MERGE",e.Unmerge="UNMERGE",e.Update="UPDATE"}(na||(na={})),function(e){e.Asc="ASC",e.Ascending="ASCENDING",e.Desc="DESC",e.Descending="DESCENDING"}(ta||(ta={})),function(e){e.Distributor="DISTRIBUTOR",e.Enterprise="ENTERPRISE",e.ServiceProvider="SERVICE_PROVIDER"}(aa||(aa={})),function(e){e.Day="DAY",e.Month="MONTH",e.Quarter="QUARTER",e.Week="WEEK",e.Year="YEAR"}(ia||(ia={})),function(e){e.Enum="ENUM",e.InputObject="INPUT_OBJECT",e.Interface="INTERFACE",e.List="LIST",e.NonNull="NON_NULL",e.Object="OBJECT",e.Scalar="SCALAR",e.Union="UNION"}(ra||(ra={})),function(e){e.NoMembershipPermissions="NO_MEMBERSHIP_PERMISSIONS"}(oa||(oa={})),function(e){e.ActiveDirectory="ACTIVE_DIRECTORY",e.Lens="LENS"}(la||(la={})),function(e){e.Imported="IMPORTED",e.NotImported="NOT_IMPORTED"}(sa||(sa={})),function(e){e.Name="NAME"}(ua||(ua={})),function(e){e.LicenseKeyExpired="LICENSE_KEY_EXPIRED",e.LicenseKeyNotFound="LICENSE_KEY_NOT_FOUND",e.LicenseKeyUsed="LICENSE_KEY_USED"}(ca||(ca={}))},48930:function(e,n,t){"use strict";t.d(n,{$1H:function(){return Fc},$1J:function(){return kg},$NE:function(){return Jc},$c9:function(){return Xh},$eU:function(){return Uf},$nV:function(){return Ps},$nh:function(){return xo.$nh},A4n:function(){return wp},A7d:function(){return xo.A7d},ADV:function(){return um},AG4:function(){return Iu},AJl:function(){return Vp},AK1:function(){return xo.AK1},AcH:function(){return _y},Azc:function(){return $c},BBF:function(){return xo.BBF},BS_:function(){return xo.BS_},BVg:function(){return Ym},Bf6:function(){return lT},Bo4:function(){return Nm},BzC:function(){return xo.BzC},BzY:function(){return cd},C3n:function(){return Kh},C4b:function(){return Qg},CAc:function(){return $s},Cg6:function(){return Ws},DNN:function(){return xo.DNN},Dlp:function(){return rg},EOh:function(){return xo.EOh},ETS:function(){return jy},EVX:function(){return jf},EVj:function(){return uc},EX5:function(){return CT},EcK:function(){return sc},Emg:function(){return Rh},EsB:function(){return Gy},F36:function(){return Fd},FGA:function(){return gy},FGc:function(){return Uy},FJM:function(){return Ec},FKE:function(){return Mf},FdZ:function(){return Bh},Fkm:function(){return xo.Fkm},FzX:function(){return Km},G2q:function(){return _m},GWc:function(){return fh},Gcj:function(){return yd},Gi5:function(){return Hg},Gw4:function(){return $p},Gwf:function(){return tu},Gx6:function(){return ng},HWO:function(){return gT},HXx:function(){return $u},HYq:function(){return xo.HYq},HZh:function(){return Op},I7f:function(){return jm},IGR:function(){return yc},Ijm:function(){return xo.Ijm},Itq:function(){return Xf},IwZ:function(){return Vu},Iyu:function(){return vh},J6o:function(){return Sp},JJX:function(){return dm},JKP:function(){return gh},Jbm:function(){return Ky},Juk:function(){return ky},JxB:function(){return wc},KDP:function(){return xo.KDP},KIh:function(){return Yh},KXO:function(){return xo.KXO},KZ$:function(){return xo.KZ$},KnB:function(){return Ed},KnK:function(){return xo.KnK},L5q:function(){return ry},LRP:function(){return Qh},Low:function(){return jh},M2g:function(){return Mg},MPt:function(){return xo.MPt},MUI:function(){return dg},MVO:function(){return xo.MVO},MiJ:function(){return xo.MiJ},MlD:function(){return xf},Mm:function(){return hT},MnT:function(){return Tc},NLW:function(){return mu},NMS:function(){return bf},NRX:function(){return Zc},NWA:function(){return Hh},NXz:function(){return My},Nfs:function(){return bm},Nuh:function(){return ag},Nvn:function(){return RT},O5o:function(){return Xy},OFE:function(){return Cm},ONC:function(){return Sc},OOE:function(){return Ld},OWI:function(){return oc},OkR:function(){return Wp},P2f:function(){return Fs},PMy:function(){return bg},Pd3:function(){return ic},PeD:function(){return vf},PiN:function(){return gf},Pv$:function(){return xo.Pv$},PwH:function(){return nT},Pxq:function(){return rh},QWt:function(){return cp},Qir:function(){return Ju},R3k:function(){return ff},RRK:function(){return xo.RRK},RS9:function(){return By},RgW:function(){return op},RnH:function(){return $d},SGS:function(){return mc},S_Z:function(){return od},ScA:function(){return xo.ScA},Se2:function(){return Pp},ShM:function(){return xo.ShM},Sz:function(){return Cy},T0W:function(){return Wu},T1v:function(){return cu},T4e:function(){return xo.T4e},T94:function(){return Cf},TBf:function(){return fm},TCU:function(){return yu},TJ2:function(){return xo.TJ2},TLO:function(){return Cg},TSw:function(){return xo.TSw},TU1:function(){return Lp},TWP:function(){return rT},Tk$:function(){return tp},U2n:function(){return Vc},U6N:function(){return Zd},Ul5:function(){return xm},Uov:function(){return xo.Uov},UtM:function(){return xo.UtM},Uy1:function(){return cc},V9B:function(){return Js},VHq:function(){return pp},VTQ:function(){return Kf},VUJ:function(){return sp},Vfp:function(){return lg},VhL:function(){return kf},VqP:function(){return Ko},Vrw:function(){return Pc},VwT:function(){return Du},W7H:function(){return fy},W7e:function(){return bh},W8x:function(){return mp},WDG:function(){return xo.WDG},WFU:function(){return Gf},WNy:function(){return xo.WNy},WQU:function(){return df},WR5:function(){return Ny},WWf:function(){return _g},WYH:function(){return Nf},WsP:function(){return Ry},X6Y:function(){return hg},XQt:function(){return ef},XV0:function(){return tf},XeB:function(){return qs},XiQ:function(){return Pu},XlS:function(){return zs},Y38:function(){return Yf},YIv:function(){return qc},YLu:function(){return Eu},Yc:function(){return tc},Ygf:function(){return Ap},Yr3:function(){return nh},Yx5:function(){return Xm},ZPU:function(){return xo.ZPU},Zh8:function(){return Tp},Zii:function(){return Qy},Zmv:function(){return Hy},Zt5:function(){return Dd},ZuM:function(){return xo.ZuM},Zur:function(){return Tu},Zvr:function(){return Rm},_4:function(){return Jp},_AU:function(){return xo._AU},_B8:function(){return Ac},_DU:function(){return Nh},_Dp:function(){return uT},_N3:function(){return zd},_Vz:function(){return xo._Vz},_Wz:function(){return hf},aGw:function(){return xo.aGw},aMX:function(){return Rf},aZs:function(){return md},adM:function(){return Ou},afO:function(){return uf},bW0:function(){return Td},bYR:function(){return Bm},bur:function(){return _f},bwM:function(){return Fp},c8d:function(){return ed},cQ6:function(){return zc},ca$:function(){return Yg},ci6:function(){return dT},csD:function(){return Su},d0e:function(){return Kg},d3_:function(){return Zu},dGi:function(){return Dc},dLL:function(){return xo.dLL},dU9:function(){return vy},dUd:function(){return xo.dUd},d_H:function(){return xo.d_H},dc$:function(){return Au},dd$:function(){return Bs},dpn:function(){return xo.dpn},dwg:function(){return xo.dwg},dzb:function(){return Uh},e$C:function(){return nm},e9K:function(){return Oc},eA5:function(){return Lc},eAe:function(){return td},eGD:function(){return Vd},eYj:function(){return _h},eb_:function(){return Ug},ecv:function(){return wd},ejN:function(){return Qm},ev6:function(){return zu},fHG:function(){return Ic},fSm:function(){return kh},g2v:function(){return xg},g8p:function(){return Jd},gJL:function(){return ws},gMk:function(){return xo.gMk},gQQ:function(){return xo.gQQ},gVu:function(){return uh},gZM:function(){return rf},gzX:function(){return Gh},h4H:function(){return pu},h4M:function(){return ly},hFi:function(){return Mc},hLW:function(){return xo.hLW},hWk:function(){return Ad},hdA:function(){return hh},hi9:function(){return Ip},hu2:function(){return iu},hwm:function(){return fc},iLR:function(){return pd},iig:function(){return dh},j8t:function(){return xo.j8t},jOV:function(){return id},jq7:function(){return ah},jsH:function(){return Fu},jym:function(){return xo.jym},k3V:function(){return bT},k8e:function(){return xo.k8e},kDo:function(){return qd},kuw:function(){return Mp},kxl:function(){return rm},l8T:function(){return xh},lAK:function(){return Xg},lDZ:function(){return xo.lDZ},mj7:function(){return xy},mmJ:function(){return xo.mmJ},nFP:function(){return zy},nGJ:function(){return xo.nGJ},nPd:function(){return Mm},nWO:function(){return xo.nWO},nYQ:function(){return xo.nYQ},nkS:function(){return xo.nkS},noX:function(){return xo.noX},nup:function(){return Gg},oNE:function(){return vg},obk:function(){return Rg},ohO:function(){return Id},oji:function(){return xo.oji},oqH:function(){return ug},p5m:function(){return gg},pRd:function(){return lh},pot:function(){return ec},pps:function(){return sd},prZ:function(){return fg},ps9:function(){return su},qJt:function(){return ip},qM:function(){return uy},qQL:function(){return ny},qT8:function(){return xo.qT8},qZM:function(){return qp},qi:function(){return Hf},r1C:function(){return jg},r1p:function(){return xu},rC0:function(){return xo.rC0},rF0:function(){return Od},rOd:function(){return Bf},rR5:function(){return Mh},rZv:function(){return km},rcI:function(){return xo.rcI},re3:function(){return gm},rf5:function(){return xo.rf5},rgu:function(){return xo.rgu},ryf:function(){return Sd},s2X:function(){return ou},s4v:function(){return Zp},sNk:function(){return Wd},sU3:function(){return lm},s_E:function(){return Zs},sdr:function(){return NT},sik:function(){return ay},skg:function(){return hm},ssw:function(){return Dp},swV:function(){return fT},t7X:function(){return Lu},t8k:function(){return by},tRc:function(){return xo.tRc},tTi:function(){return Ep},taT:function(){return Bg},tdV:function(){return _T},tlp:function(){return Wc},tqz:function(){return yp},tty:function(){return xo.tty},twY:function(){return xo.twY},twi:function(){return hy},u4M:function(){return xo.u4M},u7K:function(){return Vs},uNg:function(){return ig},uje:function(){return Gm},vHB:function(){return Yo},vUF:function(){return Ch},vXO:function(){return qu},vhl:function(){return xo.vhl},vt3:function(){return lf},vw1:function(){return xo.vw1},vww:function(){return am},w0p:function(){return em},w8z:function(){return vm},wF1:function(){return Um},wlE:function(){return Pd},wsN:function(){return Ng},x5N:function(){return xo.x5N},x5X:function(){return vT},xCL:function(){return xo.xCL},xDX:function(){return xo.xDX},xIl:function(){return aT},xcx:function(){return xo.xcx},xxr:function(){return wu},y5W:function(){return xo.y5W},yAJ:function(){return Hm},yIK:function(){return ep},y_h:function(){return dd},yjO:function(){return eu},zPL:function(){return zp},zQM:function(){return dy},zZX:function(){return pc},zcE:function(){return Qf},zfK:function(){return Yy}});var a,i,r,o,l,s,u,c,d,p,f,m,h,y,g,T,v,E,_,S,N,I,C,A,R,O,b,L,k,D,x,P,U,w,M,V,j,F,B,Z,G,J,H,W,Y,q,K,z,X,$,Q,ee,ne,te,ae,ie,re,oe,le,se,ue,ce,de,pe,fe,me,he,ye,ge,Te,ve,Ee,_e,Se,Ne,Ie,Ce,Ae,Re,Oe,be,Le,ke,De,xe,Pe,Ue,we,Me,Ve,je,Fe,Be,Ze,Ge,Je,He,We,Ye,qe,Ke,ze,Xe,$e,Qe,en,nn,tn,an,rn,on,ln,sn,un,cn,dn,pn,fn,mn,hn,yn,gn,Tn,vn,En,_n,Sn,Nn,In,Cn,An,Rn,On,bn,Ln,kn,Dn,xn,Pn,Un,wn,Mn,Vn,jn,Fn,Bn,Zn,Gn,Jn,Hn,Wn,Yn,qn,Kn,zn,Xn,$n,Qn,et,nt,tt,at,it,rt,ot,lt,st,ut,ct,dt,pt,ft,mt,ht,yt,gt,Tt,vt,Et,_t,St,Nt,It,Ct,At,Rt,Ot,bt,Lt,kt,Dt,xt,Pt,Ut,wt,Mt,Vt,jt,Ft,Bt,Zt,Gt,Jt,Ht,Wt,Yt,qt,Kt,zt,Xt,$t,Qt,ea,na,ta,aa,ia,ra,oa,la,sa,ua,ca,da,pa,fa,ma,ha,ya,ga,Ta,va,Ea,_a,Sa,Na,Ia,Ca,Aa,Ra,Oa,ba,La,ka,Da,xa,Pa,Ua,wa,Ma,Va,ja,Fa,Ba,Za,Ga,Ja,Ha,Wa,Ya,qa,Ka,za,Xa,$a,Qa,ei,ni,ti,ai,ii,ri,oi,li,si,ui,ci,di,pi,fi,mi,hi,yi,gi,Ti,vi,Ei,_i,Si,Ni,Ii,Ci,Ai,Ri,Oi,bi,Li,ki,Di,xi,Pi,Ui,wi,Mi,Vi,ji,Fi,Bi,Zi,Gi,Ji,Hi,Wi,Yi,qi,Ki,zi,Xi,$i,Qi,er,nr,tr,ar,ir,rr,or,lr,sr,ur,cr,dr,pr,fr,mr,hr,yr,gr,Tr,vr,Er,_r,Sr,Nr,Ir,Cr,Ar,Rr,Or,br,Lr,kr,Dr,xr,Pr,Ur,wr,Mr,Vr,jr,Fr,Br,Zr,Gr,Jr,Hr,Wr,Yr,qr,Kr,zr,Xr,$r,Qr,eo,no,to,ao,io,ro,oo,lo,so,uo,co,po,fo,mo,ho,yo,go,To,vo,Eo,_o,So,No,Io,Co,Ao,Ro,Oo=t(95764),bo=t(99500),Lo=t(32417),ko=t.n(Lo),Do=t(1378),xo=t(45474),Po=ko()(a||(a=(0,bo.Z)(["\n fragment UserPermisions on Permission {\n name\n}\n "]))),Uo=ko()(i||(i=(0,bo.Z)(["\n fragment auditLog on AuditLog {\n id\n userId\n username\n logTime\n eventType\n eventDetails\n loginType\n publicIpAddress\n authorized\n}\n "]))),wo=ko()(r||(r=(0,bo.Z)(["\n fragment ClientCredentialAccessor on Accessor {\n grants {\n resourceId\n roles {\n name\n }\n }\n}\n "]))),Mo=ko()(o||(o=(0,bo.Z)(["\n fragment ClientCredentialView on ClientCredential {\n id\n name\n secret\n status\n createdAt\n updatedAt\n accessor {\n ...ClientCredentialAccessor\n }\n}\n ",""])),wo),Vo=ko()(l||(l=(0,bo.Z)(["\n fragment ClientToken on Token {\n id\n name\n value\n createdAt\n}\n "]))),jo=ko()(s||(s=(0,bo.Z)(["\n fragment AccountListMergeRequests on MergeEntityRequest {\n id\n createdAt\n acceptedAt\n acceptedById\n cancelledAt\n cancelledById\n confirmedAt\n confirmedById\n mergeFromId\n mergeFromType\n mergeToId\n mergeToType\n rejectedAt\n rejectedById\n updatedAt\n}\n "]))),Fo=ko()(u||(u=(0,bo.Z)(["\n fragment PermisionRoles on Role {\n name\n permissions {\n name\n }\n}\n "]))),Bo=ko()(c||(c=(0,bo.Z)(["\n fragment PermisionsGrants on Grant {\n resourceId\n resourceType\n roles {\n name\n permissions {\n name\n }\n tags\n }\n permissions {\n name\n }\n}\n "]))),Zo=ko()(d||(d=(0,bo.Z)(["\n fragment ConnectedDevice on Device {\n id\n name\n serialNumber\n softwareVersion\n softwareBuild\n lastDetected\n hardwareModel\n hardwareProduct\n hardwareRevision\n macAddress\n tenant {\n id\n }\n connected\n site {\n id\n name\n }\n bandwidth {\n endTime\n pingLatencyMs\n pingJitterMs\n pingLossPercent\n uploadMbps\n downloadMbps\n }\n}\n "]))),Go=ko()(p||(p=(0,bo.Z)(["\n fragment UserFragment on User {\n user_id\n email\n name\n picture\n created_at\n blocked\n last_login\n logins_count\n last_ip\n given_name\n family_name\n identities {\n connection\n isSocial\n }\n user_metadata {\n info {\n defaultInventoryView\n }\n }\n connections {\n ...ConnectedDevice\n connections {\n ...ConnectedDevice\n }\n }\n}\n ",""])),Zo),Jo=ko()(f||(f=(0,bo.Z)(["\n fragment UserData on User {\n user_id\n email\n name\n email_verified\n picture\n created_at\n phone_number\n last_login\n logins_count\n blocked\n}\n "]))),Ho=ko()(m||(m=(0,bo.Z)(["\n fragment UsersListConnection on UserConnection {\n total: count\n pageInfo {\n hasNextPage\n endCursor\n }\n searchData: edges {\n cursor\n node {\n ...UserData\n }\n }\n}\n ",""])),Jo),Wo=ko()(h||(h=(0,bo.Z)(["\n fragment CommonActionConfigurations on ActionConfiguration {\n id\n enabled\n actionType {\n id\n type\n }\n rate\n allowedRates\n}\n "]))),Yo=ko()(y||(y=(0,bo.Z)(["\n fragment CommonAudience on Audience {\n id\n enabled\n recipients {\n id\n confirmed\n email\n }\n actionConfigurations {\n ...CommonActionConfigurations\n }\n}\n ",""])),Wo),qo=ko()(g||(g=(0,bo.Z)(["\n fragment ServiceNowHookPage on ServiceNowWebhook {\n enabled\n id\n name\n url\n username\n lastErrorBody: last_error_body\n lastErrorMessage: last_error_message\n lastErrorStatusCode: last_error_status_code\n lastErrorTime: last_error_time\n succeedingSince: succeeding_since\n actionConfigurations {\n allowedRates\n enabled\n id\n rate\n actionType {\n id\n type\n }\n }\n}\n "]))),Ko=ko()(T||(T=(0,bo.Z)(["\n fragment TeamsHookPage on TeamsHook {\n id\n name\n url\n enabled\n actionConfigurations {\n id\n enabled\n rate\n allowedRates\n actionType {\n id\n type\n }\n }\n}\n "]))),zo=ko()(v||(v=(0,bo.Z)(["\n fragment AccountDetail on ProvisioningAccount {\n uuid\n username\n password\n description\n type\n isDisabled\n downloadPath\n provisioningUri\n}\n "]))),Xo=ko()(E||(E=(0,bo.Z)(["\n fragment RoomDevice on Device {\n id\n name\n macAddress\n hardwareModel\n softwareVersion\n internalIp\n connected\n model {\n id\n name\n }\n}\n "]))),$o=ko()(_||(_=(0,bo.Z)(["\n fragment SiteForTenant on Site {\n id\n name\n rooms {\n id\n name\n devices {\n ...RoomDevice\n }\n }\n address {\n city\n region\n country\n }\n}\n ",""])),Xo),Qo=(ko()(S||(S=(0,bo.Z)(["\n fragment RoomForTenant on Room {\n id\n name\n devices {\n ...RoomDevice\n }\n}\n ",""])),Xo),ko()(N||(N=(0,bo.Z)(["\n fragment TrialUserSubscriptionData on ClaritiTrialUserSubscription {\n id\n meetingUrl\n meetingRoomId\n}\n "])))),el=ko()(I||(I=(0,bo.Z)(["\n fragment TrialConferenceReportData on ClaritiTrialConferenceReport {\n conferenceIdentifier\n conferenceRoomIdentifier\n endTime\n entityTag\n hostName\n id\n numberOfParticipants\n participantsDetails\n startTime\n subscriptionReportId\n}\n "]))),nl=ko()(C||(C=(0,bo.Z)(["\n fragment TrialUsageStatsData on ClaritiTrialUsageStats {\n averageNumberOfParticipants\n conferenceReports {\n ...TrialConferenceReportData\n }\n conferencesUsageCounter\n maxNumberOfParticipants\n minNumberOfParticipants\n totalDurationMinutes\n totalNumberOfParticipants\n}\n ",""])),el),tl=ko()(A||(A=(0,bo.Z)(["\n fragment TrialUserInfoData on ClaritiTrialUserInfo {\n email\n familyName\n givenName\n name\n}\n "]))),al=ko()(R||(R=(0,bo.Z)(["\n fragment TrialSubscriptionReportData on ClaritiTrialSubscriptionReport {\n aboutToExpireEmailSent\n browserType\n createdAt\n eulaAcceptanceDate\n eulaAccepted\n expired\n id\n latestUse\n meetingRoomId\n meetingUrl\n subscriptionDate\n subscriptionExpiredEmailSent\n usageStats {\n ...TrialUsageStatsData\n }\n user {\n ...TrialUserInfoData\n }\n welcomeEmailSent\n}\n ","\n",""])),nl,tl),il=ko()(O||(O=(0,bo.Z)(["\n fragment TrialSubscriptionReportDataEdge on ClaritiTrialSubscriptionReportConnectionEdge {\n cursor\n node {\n ...TrialSubscriptionReportData\n }\n}\n ",""])),al),rl=ko()(b||(b=(0,bo.Z)(["\n fragment TrialSubscriptionReportDataConnection on ClaritiTrialSubscriptionReportConnection {\n total\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...TrialSubscriptionReportDataEdge\n }\n}\n ",""])),il),ol=ko()(L||(L=(0,bo.Z)(["\n fragment AggregateFields on Aggregate {\n field\n buckets {\n __typename\n ... on KeyBucket {\n key\n }\n ... on FieldMissingBucket {\n fieldMissing\n }\n count\n }\n}\n "]))),ll=ko()(k||(k=(0,bo.Z)(["\n fragment detailFields on TopicIndicator {\n id\n type\n topic {\n id\n type\n higherIsBetter\n category\n }\n timeScope\n locationScope\n timePeriodStart\n deviceType\n room {\n name\n id\n }\n site {\n name\n id\n }\n tenant {\n name\n id\n }\n model\n version\n device {\n name\n id\n }\n modelVersion\n family\n indicator {\n ... on AverageIndicator {\n __typename\n average\n }\n ... on CountOfTotalIndicator {\n __typename\n count\n total\n percentage\n }\n ... on CountAverageIndicator {\n __typename\n count\n average\n }\n }\n locationScope\n trendingUpward\n previous {\n ... on AverageIndicator {\n __typename\n average\n }\n ... on CountOfTotalIndicator {\n __typename\n count\n total\n percentage\n }\n ... on CountAverageIndicator {\n __typename\n count\n average\n }\n }\n tenantAverage\n tenantPercentile\n globalAverage\n globalPercentile\n previousTenantPercentile\n previousGlobalPercentile\n}\n "]))),sl=ko()(D||(D=(0,bo.Z)(["\n fragment insightDetails on TopicIndicator {\n ...detailFields\n recommendedDetail {\n locationScope\n connection {\n count\n edges {\n node {\n ...detailFields\n }\n }\n }\n }\n}\n ",""])),ll),ul=ko()(x||(x=(0,bo.Z)(["\n fragment similarInsights on TopicIndicator {\n id\n type\n topic {\n id\n type\n higherIsBetter\n }\n timeScope\n locationScope\n deviceType\n device {\n name\n id\n }\n room {\n name\n id\n }\n site {\n name\n id\n }\n tenant {\n name\n id\n }\n model\n version\n modelVersion\n family\n indicator {\n ... on AverageIndicator {\n average\n }\n ... on CountOfTotalIndicator {\n count\n total\n percentage\n }\n ... on CountAverageIndicator {\n count\n average\n }\n }\n locationScope\n timePeriodStart\n}\n "]))),cl=(ko()(P||(P=(0,bo.Z)(["\n fragment PriorityFieldsNonFederated on TopicIndicator {\n topic {\n higherIsBetter\n }\n}\n "]))),ko()(U||(U=(0,bo.Z)(["\n fragment ContinuingPage on PageInfo {\n endCursor\n hasNextPage\n}\n "])))),dl=ko()(w||(w=(0,bo.Z)(["\n fragment AllIndicators on Indicator {\n __typename\n ... on AverageIndicator {\n average\n }\n ... on CountOfTotalIndicator {\n count\n total\n percentage\n }\n ... on CountAverageIndicator {\n count\n average\n }\n}\n "]))),pl=ko()(M||(M=(0,bo.Z)(["\n fragment PriorityFields on TopicIndicator {\n id\n type\n topic {\n id\n higherIsBetter\n category\n }\n timeScope\n locationScope\n timePeriodStart\n deviceType\n room {\n name\n id\n }\n site {\n name\n id\n }\n tenant {\n name\n id\n }\n model\n version\n device {\n name\n id\n }\n modelVersion\n family\n trendingUpward\n notability\n indicator {\n ...AllIndicators\n }\n previous {\n ...AllIndicators\n }\n}\n ",""])),dl),fl=ko()(V||(V=(0,bo.Z)(["\n fragment PaginatedIndicators on TopicIndicatorConnection {\n pageInfo {\n ...ContinuingPage\n }\n edges {\n cursor\n node {\n ...PriorityFields\n }\n }\n}\n ","\n",""])),cl,pl),ml=ko()(j||(j=(0,bo.Z)(["\n fragment insightChartMetaFields on InsightChartMeta {\n topic\n aggType\n timeScope\n increment\n childCount\n otherCount\n}\n "]))),hl=ko()(F||(F=(0,bo.Z)(["\n fragment meetingRecordAggregateChartMetaFields on MeetingRecordAggregateChartMeta {\n test\n}\n "]))),yl=ko()(B||(B=(0,bo.Z)(["\n fragment chartMetaFields on ChartMeta {\n __typename\n ...insightChartMetaFields\n ...meetingRecordAggregateChartMetaFields\n}\n ","\n",""])),ml,hl),gl=ko()(Z||(Z=(0,bo.Z)(["\n fragment insightSeriesMetaFields on InsightSeriesMeta {\n seriesType\n locationScope\n place\n object {\n __typename\n ... on Site {\n siteName: name\n id\n }\n ... on Room {\n roomName: name\n id\n }\n ... on Tenant {\n tenantName: name\n id\n }\n ... on Device {\n deviceName: name\n id\n }\n ... on Other {\n id\n }\n }\n}\n "]))),Tl=ko()(G||(G=(0,bo.Z)(["\n fragment meetingRecordAggregateSeriesMetaFields on MeetingRecordAggregateSeriesMeta {\n total\n average\n object {\n __typename\n ... on Site {\n siteName: name\n id\n }\n ... on Room {\n roomName: name\n id\n }\n ... on Tenant {\n tenantName: name\n id\n }\n ... on Device {\n deviceName: name\n id\n }\n ... on Other {\n id\n }\n }\n}\n "]))),vl=ko()(J||(J=(0,bo.Z)(["\n fragment connectDevicesAggregateSeriesMetaFields on ConnectDevicesAggregateSeriesMeta {\n total\n object {\n __typename\n ... on Site {\n siteName: name\n id\n }\n ... on Room {\n roomName: name\n id\n }\n ... on Tenant {\n tenantName: name\n id\n }\n ... on Device {\n deviceName: name\n id\n connected\n model {\n id\n name\n }\n room {\n id\n name\n }\n }\n ... on Other {\n id\n }\n }\n}\n "]))),El=ko()(H||(H=(0,bo.Z)(["\n fragment seriesMetaFields on SeriesMeta {\n __typename\n ...insightSeriesMetaFields\n ...meetingRecordAggregateSeriesMetaFields\n ...connectDevicesAggregateSeriesMetaFields\n}\n ","\n","\n",""])),gl,Tl,vl),_l=ko()(W||(W=(0,bo.Z)(["\n fragment seriesDataFields on Point {\n x\n y\n z\n total\n count\n}\n "]))),Sl=ko()(Y||(Y=(0,bo.Z)(["\n fragment seriesFields on Series {\n name\n meta {\n ...seriesMetaFields\n }\n data {\n ...seriesDataFields\n }\n}\n ","\n",""])),El,_l),Nl=ko()(q||(q=(0,bo.Z)(["\n fragment chartFields on Chart {\n meta {\n ...chartMetaFields\n }\n series {\n ...seriesFields\n }\n}\n ","\n",""])),yl,Sl),Il=ko()(K||(K=(0,bo.Z)(["\n fragment SiteAndRoomBucket on Aggregate {\n field\n buckets {\n __typename\n ... on KeyBucket {\n key\n }\n ... on FieldMissingBucket {\n fieldMissing\n }\n }\n}\n "]))),Cl=ko()(z||(z=(0,bo.Z)(["\n fragment VersionBucket on Aggregate {\n field\n buckets {\n __typename\n ... on KeyBucket {\n versionCount: count\n updateVersion: key\n sitesAndRooms: aggregates {\n ...SiteAndRoomBucket\n }\n }\n ... on FieldMissingBucket {\n fieldMissing\n }\n }\n}\n ",""])),Il),Al=ko()(X||(X=(0,bo.Z)(["\n fragment Group on GroupDto {\n id\n name\n createdAt\n deviceSerials\n policies\n}\n "]))),Rl=(ko()($||($=(0,bo.Z)(["\n fragment GroupDevice on Device {\n id\n name\n serialNumber\n hardwareModel\n softwareVersion\n site {\n id\n name\n }\n connected\n supportsSettings\n supportsSoftwareUpdate\n provisioningEnabled\n lastConfigRequestDate\n}\n "]))),ko()(Q||(Q=(0,bo.Z)(["\n fragment GroupPolicy on Policy {\n policyId\n name\n configurationAttributes {\n name\n }\n deviceModel\n deviceModelUuid\n}\n "]))),ko()(ee||(ee=(0,bo.Z)(["\n fragment DeviceUserInfo on User {\n user_id\n name\n email\n last_login\n app_metadata {\n info {\n authedClients\n }\n }\n connections {\n ...ConnectedDevice\n connections {\n ...ConnectedDevice\n }\n }\n}\n ",""])),Zo)),Ol=ko()(ne||(ne=(0,bo.Z)(["\n fragment NetworkDiagnostic on Device {\n bandwidth {\n downloadMbps\n endTime\n pingJitterMs\n pingLatencyMs\n pingLossPercent\n uploadMbps\n }\n}\n "]))),bl=ko()(te||(te=(0,bo.Z)(["\n fragment devicesListProps on Device {\n macAddress\n internalIp\n serialNumber\n softwareVersion\n softwareBuild\n lastDetected\n proxyAgent\n site {\n id\n name\n }\n hardwareModel\n room {\n id\n name\n }\n id\n name\n connected\n provisioningEnabled\n lastConfigRequestDate\n dateRegistered\n activeApplicationName\n supportsSettings\n supportsSoftwareUpdate\n hasPeripherals\n allPeripheralsLinked\n}\n "]))),Ll=ko()(ae||(ae=(0,bo.Z)(["\n fragment DeviceConfigParam on ExtendedConfigParam {\n name\n friendlyName\n value\n type\n categories\n exportConfigType\n}\n "]))),kl=ko()(ie||(ie=(0,bo.Z)(["\n fragment networkSettings on PolyOSConfig {\n content {\n conference {\n qualityPreference\n }\n }\n qos {\n tosType\n intServ {\n video\n audio\n fecc\n oam\n }\n diffServ {\n video\n audio\n fecc\n oam\n }\n mtuSize\n mtuMode\n LPR {\n enable\n }\n rsvp {\n enable\n }\n dynamicBandwidth {\n enable\n }\n }\n}\n "]))),Dl=ko()(re||(re=(0,bo.Z)(["\n fragment calendarSettings on PolyOSConfig {\n exchange {\n enable\n auth {\n domain\n email\n password\n userName\n }\n server {\n url\n }\n meeting {\n reminderInterval\n reminderSound {\n enable\n }\n }\n showPrivateMeeting\n }\n}\n "]))),xl=ko()(oe||(oe=(0,bo.Z)(["\n fragment displaySettings on PolyOSConfig {\n video {\n monitor {\n ONE {\n display\n }\n TWO {\n display\n }\n }\n }\n homeScreen {\n backgroundImage\n }\n}\n "]))),Pl=ko()(le||(le=(0,bo.Z)(["\n fragment callServerSettings on PolyOSConfig {\n voIpProt {\n H323 {\n enable\n e164\n gk {\n auth {\n enable\n password\n userId\n }\n ipAddress\n mode\n }\n name\n }\n SIP {\n enable\n auth {\n userId\n password\n }\n bfcpTransportPreference\n forceConnectionReuse\n proxyServer\n registrarServer\n registrarServerType\n serverType\n transport\n userName\n }\n }\n}\n "]))),Ul=ko()(se||(se=(0,bo.Z)(["\n fragment upgradeSettings on PolyOSConfig {\n upgrade {\n auto {\n enable\n server {\n type\n address\n }\n polling {\n interval\n }\n timeFrame {\n enable\n startTime\n stopTime\n }\n }\n }\n}\n "]))),wl=ko()(ue||(ue=(0,bo.Z)(["\n fragment dateTimeSettings on PolyOSConfig {\n device {\n local {\n timezone\n autoDaylightSavings {\n enable\n }\n datetime {\n date {\n format\n }\n time {\n TWO4HourClock\n }\n }\n ntpServer {\n address\n mode\n }\n }\n }\n}\n "]))),Ml=ko()(ce||(ce=(0,bo.Z)(["\n fragment swSupportUpdatePath on SoftwareSupportUpdatePath {\n deviceModel\n swPath\n}\n "]))),Vl=ko()(de||(de=(0,bo.Z)(["\n fragment policy on Policy {\n policyId\n name\n tenantId\n deviceId\n deviceType\n deviceModelUuid\n deviceModel\n siteId\n groupId\n policyType\n policyDeploymentScope\n configurationAttributes {\n name\n currentValue\n paramArray {\n replace1\n currentValue\n policyDeploymentScope\n }\n param2DArray {\n replace1\n replace2\n currentValue\n policyDeploymentScope\n }\n }\n swUpdatePath\n customSwUpdatePath\n customSwSupportUpdatePath {\n ...swSupportUpdatePath\n }\n swUpdateSource\n}\n ",""])),Ml),jl=ko()(pe||(pe=(0,bo.Z)(["\n fragment ExternalPolicy on Policy {\n lastSuccessfullyUpdated\n lastSuccessfullyUpdatedTime\n}\n "]))),Fl=ko()(fe||(fe=(0,bo.Z)(["\n fragment DeviceParameter on DeviceParameterDTO {\n displayName\n modelName\n name\n friendlyName\n paramType\n type\n defaultValue\n help\n templates\n callback\n accessType\n categories\n grouping\n groupingOrder\n lensUserType\n lensConditional\n lensConditionalValue\n languageKey\n min\n max\n enumVal {\n value\n friendlyValue\n featureCategory\n }\n numReplace1Max\n numReplace2Max\n param2DArray\n paramArray\n featureCategory\n}\n "]))),Bl=ko()(me||(me=(0,bo.Z)(["\n fragment ExtendedDeviceParameter on ExtendedDeviceParameterDTO {\n name\n policyAttribute {\n name\n currentValue\n paramArray {\n replace1\n currentValue\n policyDeploymentScope\n }\n param2DArray {\n replace1\n replace2\n currentValue\n policyDeploymentScope\n }\n }\n policyDeploymentScope\n metadata {\n ...DeviceParameter\n }\n}\n ",""])),Fl),Zl=ko()(he||(he=(0,bo.Z)(["\n fragment UpdateImage on EpUpdateImage {\n imageType\n imagePolicyType\n imageVersion\n fileName\n description\n directory\n status\n size\n swSupportUpdatePath {\n ...swSupportUpdatePath\n }\n}\n ",""])),Ml),Gl=ko()(ye||(ye=(0,bo.Z)(["\n fragment deviceCertificate on CertificateResponse {\n success\n deviceId\n error\n subjectCN\n issuerCN\n expiry\n checksum\n sans\n}\n "]))),Jl=ko()(ge||(ge=(0,bo.Z)(["\n fragment tenantRelayDevice on Device {\n id\n tenantId\n name\n hardwareModel\n}\n "]))),Hl=ko()(Te||(Te=(0,bo.Z)(["\n fragment DeviceWithConnections on Device {\n ...ConnectedDevice\n connections {\n ...ConnectedDevice\n }\n}\n ",""])),Zo),Wl=ko()(ve||(ve=(0,bo.Z)(["\n fragment ConnectedDevices on Device {\n connections {\n ...DeviceWithConnections\n }\n}\n ",""])),Hl),Yl=ko()(Ee||(Ee=(0,bo.Z)(["\n fragment ConnectedEntity on Device {\n id\n name\n serialNumber\n softwareVersion\n lastDetected\n hardwareModel\n hardwareRevision\n hardwareProduct\n macAddress\n tenant {\n id\n }\n connected\n site {\n id\n name\n }\n lastConfigRequestDate\n supportsSettings\n supportsSoftwareUpdate\n provisioningEnabled\n}\n "]))),ql=ko()(_e||(_e=(0,bo.Z)(["\n fragment EntityConnection on EntityConnection {\n entityId\n targetEntityId\n targetEntity {\n ...ConnectedEntity\n }\n type\n connected\n createdOn\n updatedOn\n}\n ",""])),Yl),Kl=ko()(Se||(Se=(0,bo.Z)(["\n fragment EntityConnections on Device {\n entityConnections(params: {directional: true}) {\n total\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n node {\n ...EntityConnection\n }\n cursor\n }\n }\n}\n ",""])),ql),zl=ko()(Ne||(Ne=(0,bo.Z)(["\n fragment StatusState on Status {\n state\n}\n "]))),Xl=ko()(Ie||(Ie=(0,bo.Z)(["\n fragment SystemStatusData on SystemStatusData {\n com {\n poly {\n device {\n status {\n provisioning {\n ...StatusState\n }\n globaldirectory {\n ...StatusState\n }\n ipnetwork {\n ...StatusState\n }\n trackablecamera {\n ...StatusState\n }\n camera {\n ...StatusState\n }\n audio {\n ...StatusState\n }\n remotecontrol {\n ...StatusState\n }\n logthreshold {\n ...StatusState\n }\n autoanswerp2p {\n ...StatusState\n }\n sipserver {\n ...StatusState\n }\n gatekeeper {\n ...StatusState\n }\n calendar {\n ...StatusState\n }\n mcu {\n ...StatusState\n }\n wifi {\n ...StatusState\n }\n inacall {\n ...StatusState\n }\n microphones {\n ...StatusState\n }\n soundstationip7000 {\n ...StatusState\n }\n soundstructure {\n ...StatusState\n }\n eagleeyeview {\n ...StatusState\n }\n timeserver {\n ...StatusState\n }\n cloudsvc {\n ...StatusState\n }\n gspairing {\n ...StatusState\n }\n polyserver {\n ...StatusState\n }\n meetingpassword {\n ...StatusState\n }\n eagleeyedirector {\n ...StatusState\n }\n visualboard {\n ...StatusState\n }\n presenceservice {\n ...StatusState\n }\n cce {\n ...StatusState\n }\n }\n }\n }\n }\n}\n ",""])),zl),$l=ko()(Ce||(Ce=(0,bo.Z)(["\n fragment device on Device {\n id\n name\n tenant {\n id\n }\n user {\n user_id\n name\n }\n organization\n hardwareModel\n hardwareFamily\n hasPeripherals\n allPeripheralsLinked\n softwareVersion\n proxyAgent\n lastDetected\n softwareBuild\n externalIp\n internalIp\n macAddress\n serialNumber\n connected\n product {\n id\n }\n model {\n id\n hardwareFamily {\n id\n }\n }\n site {\n id\n name\n address {\n formattedAddress\n address1\n country\n city\n region\n postalCode\n }\n }\n room {\n id\n name\n floor\n }\n provisioningEnabled\n lastConfigRequestDate\n activeApplicationName\n dateRegistered\n ...ConnectedDevices\n ...EntityConnections\n supportsSettings\n supportsSoftwareUpdate\n systemStatus {\n data {\n ...SystemStatusData\n }\n error {\n message\n }\n }\n manufacturer\n entitlements {\n licenseKey\n endDate\n }\n}\n ","\n","\n",""])),Wl,Kl,Xl),Ql=ko()(Ae||(Ae=(0,bo.Z)(["\n fragment DeviceLine on C10OutputServiceInformation {\n deviceid {\n value\n }\n lineid {\n value\n }\n serveraddr {\n value\n }\n status {\n value\n }\n linetype {\n value\n }\n regtype {\n value\n }\n userid {\n value\n }\n email {\n value\n }\n expiry {\n value\n }\n displayname {\n value\n }\n sipport {\n value\n }\n sipaddr {\n value\n }\n siptranport {\n value\n }\n sipaccountname {\n value\n }\n sipdomainname {\n value\n }\n sipusername {\n value\n }\n srvplatform {\n value\n }\n failurereason {\n value\n }\n outboundproxy {\n value\n }\n outboundproxytransport {\n value\n }\n uploadtime {\n value\n }\n versioninfo {\n value\n }\n registeredip {\n value\n }\n domain {\n value\n }\n authtype {\n value\n }\n basedn {\n value\n }\n defaultgroup {\n value\n }\n enablessl {\n value\n }\n globalserver {\n value\n }\n serverport {\n value\n }\n}\n "]))),es=ko()(Re||(Re=(0,bo.Z)(["\n fragment C10PDI on C10PrimaryDeviceInformation {\n reboottype {\n value\n }\n regioncode {\n value\n }\n powersource {\n value\n }\n softwarebuild {\n value\n }\n hardwarepn {\n value\n }\n versioninfo {\n value\n }\n updaterversion {\n value\n }\n uploadtime {\n value\n }\n hostos {\n value\n }\n hostosbuild {\n value\n }\n hostosversion {\n value\n }\n productname {\n value\n }\n hosthardware {\n value\n }\n eventmonotonictime {\n value\n }\n productid {\n value\n }\n proxyagent {\n value\n }\n proxyagentversion {\n value\n }\n proxyagentid {\n value\n }\n featurevariation {\n value\n }\n devicesignature {\n value\n }\n softwarerelease {\n value\n }\n serialnumber {\n value\n }\n hardwaremodel {\n value\n }\n offsetgmt {\n value\n }\n macaddress {\n value\n }\n productfamily {\n value\n }\n deviceid {\n value\n }\n hardwarerevision {\n value\n }\n manufacturer {\n value\n }\n}\n "]))),ns=ko()(Oe||(Oe=(0,bo.Z)(["\n fragment OSState on Device {\n id\n connected\n softwareVersion\n softwareBuild\n availableOSs {\n version {\n id\n version\n displayName\n }\n }\n currentOSState {\n updateStatus {\n maxTime\n percentage\n percentageComplete\n progressState\n softUpdateStage\n softUpdateStatus\n }\n }\n}\n "]))),ts=ko()(be||(be=(0,bo.Z)(["\n fragment AccessTokenData on ns_ls_ClientAuthToken {\n creationTime\n lastModifiedTime\n lastUsedTime\n recordId\n tenantId\n token\n}\n "]))),as=ko()(Le||(Le=(0,bo.Z)(["\n fragment AccessTokenDataEdge on ns_ls_ClientAuthTokenEdge {\n cursor\n node {\n ...AccessTokenData\n }\n}\n ",""])),ts),is=ko()(ke||(ke=(0,bo.Z)(["\n fragment AccessTokenDataConnection on ns_ls_ClientAuthTokenConnection {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...AccessTokenDataEdge\n }\n}\n ",""])),as),rs=ko()(De||(De=(0,bo.Z)(["\n fragment AuditEventData on ns_ls_AuditEvent {\n additionalInfo\n creationTime\n entitlementName\n etag\n eventTime\n eventType\n instanceName\n newValue\n onObjectId\n previousValue\n recordId\n tenantId\n userName\n}\n "]))),os=ko()(xe||(xe=(0,bo.Z)(["\n fragment AuditEventDataEdge on ns_ls_AuditEventEdge {\n cursor\n node {\n ...AuditEventData\n }\n}\n ",""])),rs),ls=ko()(Pe||(Pe=(0,bo.Z)(["\n fragment AuditEventDataConnection on ns_ls_AuditEventConnection {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...AuditEventDataEdge\n }\n}\n ",""])),os),ss=ko()(Ue||(Ue=(0,bo.Z)(["\n fragment EntitlementGroupingAssignmentSetData on ns_ls_EntitlementGroupingAssignmentSet {\n assignedToTenant\n assignedValueSum\n awaitingReassignEntitlementIds\n awaitingReassignValueSum\n awaitingReleaseValueSum\n entitlementIds\n groupingId\n orphanedCount\n orphanedValueSum\n recordId\n totalAssignedValueSum\n usedValueSum\n valueSum\n}\n "]))),us=ko()(we||(we=(0,bo.Z)(["\n fragment EntitlementData on ns_ls_Entitlement {\n activationCode\n assignedToRecordId\n begins\n creationTime\n etag\n expires\n groupingId\n isComputed\n lastModifiedTime\n mappingId1\n mappingId2\n name\n pendingAssignedToRecordId\n productId\n productVersion\n recordId\n state\n stringValue\n tenantId\n assignedToTenant\n type\n value\n valueType\n}\n "]))),cs=ko()(Me||(Me=(0,bo.Z)(["\n fragment EntitlementGroupingSetData on ns_ls_EntitlementGroupingSet {\n assignedToTenant\n assignedValueSum\n assignmentGroupingSets {\n ...EntitlementGroupingAssignmentSetData\n }\n assignmentRecordIds\n availableValueSum\n awaitingReassignValueSum\n awaitingReleaseValueSum\n entitlements {\n ...EntitlementData\n }\n groupingId\n isBoolean\n isUnlimitedBoolean\n normalValueSum\n orphanedCount\n orphanedValueSum\n totalAssignedValueSum\n usedValueSum\n valueSum\n}\n ","\n",""])),ss,us),ds=ko()(Ve||(Ve=(0,bo.Z)(["\n fragment EntitlementGroupingSetDataEdge on ns_ls_EntitlementGroupingSetEdge {\n cursor\n node {\n ...EntitlementGroupingSetData\n }\n}\n ",""])),cs),ps=ko()(je||(je=(0,bo.Z)(["\n fragment EntitlementGroupingSetDataConnection on ns_ls_EntitlementGroupingSetConnection {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...EntitlementGroupingSetDataEdge\n }\n}\n ",""])),ds),fs=ko()(Fe||(Fe=(0,bo.Z)(["\n fragment ProductLatestVersionData on ns_ls_ProductLatestVersion {\n productId\n latestVersion\n}\n "]))),ms=ko()(Be||(Be=(0,bo.Z)(["\n fragment ProductLatestVersionListData on ns_ls_ProductLatestVersionList {\n latestVersions {\n ...ProductLatestVersionData\n }\n}\n ",""])),fs),hs=ko()(Ze||(Ze=(0,bo.Z)(["\n fragment ProductVersionsData on ns_ls_ProductVersions {\n productId\n versions\n}\n "]))),ys=ko()(Ge||(Ge=(0,bo.Z)(["\n fragment ProductSoftwareEntryData on ns_ls_SoftwareEntry {\n artifactName\n fileSize\n lastModifiedTime\n url\n}\n "]))),gs=ko()(Je||(Je=(0,bo.Z)(["\n fragment ProductSoftwareCatalogData on ns_ls_SoftwareCatalog {\n productId\n version\n softwareArtifacts {\n ...ProductSoftwareEntryData\n }\n}\n ",""])),ys),Ts=ko()(He||(He=(0,bo.Z)(["\n fragment PurchasedProductData on ns_ls_Instance {\n creationTime\n entitlements\n etag\n hasEncodedLicense\n hasInitialEncodedRequest\n hasServerChainToken\n hostname\n instanceId\n lastLicenseExpires\n lastLicenseHadExpiredEntitlements\n lastLicensedTime\n lastModifiedTime\n macs\n niceName\n pendingEntitlements\n productId\n productVersion\n recordId\n serialNumber\n tenantId\n useAlternateLicencing\n systemSerialNumber\n}\n "]))),vs=ko()(We||(We=(0,bo.Z)(["\n fragment PurchasedProductDataEdge on ns_ls_InstanceEdge {\n cursor\n node {\n ...PurchasedProductData\n }\n}\n ",""])),Ts),Es=ko()(Ye||(Ye=(0,bo.Z)(["\n fragment PurchasedProductDataConnection on ns_ls_InstanceConnection {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...PurchasedProductDataEdge\n }\n}\n ",""])),vs),_s=ko()(qe||(qe=(0,bo.Z)(["\n fragment availableLicense on License {\n licenseKey\n quantity\n endDate\n models\n details\n sku\n}\n "]))),Ss=ko()(Ke||(Ke=(0,bo.Z)(["\n fragment hardwareModel on HardwareModel {\n id\n name\n aliases\n supportsProvisioning\n supportsPolicies\n skus {\n id\n }\n}\n "]))),Ns=ko()(ze||(ze=(0,bo.Z)(["\n fragment ResourceFile on ResourceFileDTO {\n tenantId\n fileName\n fileSize\n uploadedBy\n uploadedTime\n}\n "]))),Is=ko()(Xe||(Xe=(0,bo.Z)(["\n fragment MTRRoomDevice on Device {\n ...RoomDevice\n model {\n id\n name\n images {\n url\n }\n hardwareFamily {\n id\n }\n }\n product {\n id\n }\n serialNumber\n}\n ",""])),Xo),Cs=ko()($e||($e=(0,bo.Z)(["\n fragment RoomEntityConnection on EntityConnection {\n entityId\n targetEntityId\n targetEntity {\n ...ConnectedEntity\n }\n via\n type\n connected\n}\n ",""])),Yl),As=ko()(Qe||(Qe=(0,bo.Z)(["\n fragment RoomEntityConnections on Device {\n entityConnections(params: {directional: true}) {\n edges {\n node {\n ...RoomEntityConnection\n }\n }\n }\n}\n ",""])),Cs),Rs=ko()(en||(en=(0,bo.Z)(["\n fragment RoomDevices on Room {\n devices {\n ...MTRRoomDevice\n ...RoomEntityConnections\n }\n}\n ","\n",""])),Is,As),Os=ko()(nn||(nn=(0,bo.Z)(["\n fragment RoomData on Room {\n __typename\n id\n name\n floor\n capacity\n type\n size\n site {\n id\n name\n }\n devices {\n ...RoomDevice\n }\n}\n ",""])),Xo),bs=ko()(tn||(tn=(0,bo.Z)(["\n fragment SitesListEdges on SiteConnectionEdge {\n cursor\n node {\n id\n name\n roomCount\n deviceCount\n devicesOnlinePercentage\n }\n}\n "]))),Ls=ko()(an||(an=(0,bo.Z)(["\n fragment SiteOnRoom on Site {\n id\n name\n}\n "]))),ks=ko()(rn||(rn=(0,bo.Z)(["\n fragment RoomsListEdges on RoomConnectionEdge {\n cursor\n node {\n id\n name\n site {\n ...SiteOnRoom\n }\n type\n size\n deviceCount\n devicesOnlinePercentage\n capacity\n }\n}\n ",""])),Ls),Ds=ko()(on||(on=(0,bo.Z)(["\n fragment product on HardwareProduct {\n id\n name\n images {\n id\n url\n }\n hardwareModel {\n id\n name\n hardwareFamily {\n id\n name\n }\n hardwareManufacturer {\n id\n name\n }\n modelImages {\n edges {\n node {\n id\n url\n tags {\n key\n value\n }\n }\n }\n }\n }\n}\n "]))),xs=ko()(ln||(ln=(0,bo.Z)(['\n query TenantsList($from: Int = 0, $limit: Int = 100, $namePrefix: String, $tenantType: TenantType) {\n tenants(from: $from, limit: $limit, namePrefix: $namePrefix, tenantType: $tenantType, sort: {fields: [{name: "name", direction: ASC}, {name: "id", direction: ASC}]}) {\n id\n name\n type\n sites(first: 0) {\n count\n }\n rooms(first: 0) {\n count\n }\n }\n}\n '])));function Ps(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:xs},e))}var Us=ko()(sn||(sn=(0,bo.Z)(["\n query TenantCreationDate($id: ID!) {\n tenant(id: $id) {\n id\n createdAt\n }\n}\n "])));function ws(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Us},e))}var Ms=ko()(un||(un=(0,bo.Z)(["\n query RolesAndPermisions($accessorId: ID!) {\n accessor(accessorId: $accessorId) {\n id\n grants {\n resourceId\n resourceType\n roles {\n name\n }\n permissions {\n ...UserPermisions\n }\n }\n }\n roles {\n name\n permissions {\n ...UserPermisions\n }\n }\n}\n ",""])),Po);function Vs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ms},e))}var js=ko()(cn||(cn=(0,bo.Z)(["\n mutation acceptInvite($code: ID!) {\n acceptUserInvite(code: $code) {\n invite {\n tenant_id\n }\n }\n}\n "])));function Fs(){return Do.useMutation(js)}var Bs=ko()(dn||(dn=(0,bo.Z)(['\n query AccountsList($from: Int = 0, $limit: Int = 100, $namePrefix: String, $tenantType: TenantType, $sort: TenantSort = {fields: [{name: "name", direction: ASC}]}) {\n tenants(from: $from, limit: $limit, namePrefix: $namePrefix, tenantType: $tenantType, sort: $sort) {\n id\n name\n type\n sites(first: 0) {\n count\n }\n rooms(first: 0) {\n count\n }\n deviceCount\n memberCount\n }\n}\n '])));function Zs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Bs},e))}var Gs=ko()(pn||(pn=(0,bo.Z)(["\n query AuditLogs($filter: LogFilter, $from: Int, $limit: Int, $sort: Sort, $tenantId: String!) {\n getAuditLogs(filter: $filter, from: $from, limit: $limit, sort: $sort, tenantId: $tenantId) {\n ...auditLog\n }\n}\n ",""])),Uo);function Js(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Gs},e))}var Hs=ko()(fn||(fn=(0,bo.Z)(["\n mutation ConsolidateAndRenameAccounts($fromId: ID!, $toId: ID!, $input: UpdateTenantInput!) {\n mergeInternalTenants(mergeFromTenantId: $fromId, mergeToTenantId: $toId) {\n mergeRequest {\n id\n }\n }\n updateTenant(id: $toId, input: $input) {\n tenant {\n id\n }\n }\n}\n "])));function Ws(){return Do.useMutation(Hs)}var Ys=ko()(mn||(mn=(0,bo.Z)(["\n query DualTenantUserCounts($tenant1Id: String!, $tenant2Id: String!) {\n tenant1: users(params: {grants: [{resourceId: $tenant1Id}]}, first: 1) {\n total: count\n }\n tenant2: users(params: {grants: [{resourceId: $tenant2Id}]}, first: 1) {\n total: count\n }\n common: users(params: {grants: [{resourceId: $tenant1Id}, {resourceId: $tenant2Id}]}, first: 1) {\n total: count\n }\n}\n "])));function qs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ys},e))}var Ks=ko()(hn||(hn=(0,bo.Z)(["\n mutation deleteTenant($tenantId: ID!) {\n deleteTenant(id: $tenantId) {\n id\n }\n}\n "])));function zs(){return Do.useMutation(Ks)}var Xs=ko()(yn||(yn=(0,bo.Z)(['\n query DeviceCountForTenant($tenantId: String!) {\n deviceCount: countDevices(filter: {eq: $tenantId, field: "tenantId"})\n}\n '])));function $s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Xs},e))}var Qs=ko()(gn||(gn=(0,bo.Z)(["\n mutation UpdateTenant($id: ID!, $input: UpdateTenantInput!) {\n updateTenant(id: $id, input: $input) {\n account: tenant {\n id\n name\n type\n }\n }\n}\n "])));function eu(){return Do.useMutation(Qs)}var nu=ko()(Tn||(Tn=(0,bo.Z)(["\n query clientCredentials($tenantId: String!, $params: ClientCredentialConnectionParams) {\n clientCredentials(tenantId: $tenantId, params: $params) {\n pageInfo {\n total\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n edges {\n cursor\n node {\n ...ClientCredentialView\n }\n }\n }\n}\n ",""])),Mo);function tu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:nu},e))}var au=ko()(vn||(vn=(0,bo.Z)(["\n mutation upsertClientCredential($clientCredential: ClientCredentialBody!, $tenantId: String!, $credentialId: String) {\n upsertClientCredential(clientCredential: $clientCredential, tenantId: $tenantId, credentialId: $credentialId) {\n ...ClientCredentialView\n }\n}\n ",""])),Mo);function iu(){return Do.useMutation(au)}var ru=ko()(En||(En=(0,bo.Z)(["\n mutation deleteClientCredentials($ids: [String!]!) {\n deleteClientCredentials(ids: $ids) {\n error\n message\n deletedCount\n }\n}\n "])));function ou(){return Do.useMutation(ru)}var lu=ko()(_n||(_n=(0,bo.Z)(["\n query tenantTokens($tenantId: String!) {\n getTenantTokens(tenantId: $tenantId) {\n ...ClientToken\n }\n}\n ",""])),Vo);function su(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:lu},e))}var uu=ko()(Sn||(Sn=(0,bo.Z)(["\n mutation upsertTenantToken($tokenId: String, $tenantId: String!, $name: String!) {\n upsertTenantToken(tokenId: $tokenId, tenantId: $tenantId, name: $name) {\n ...ClientToken\n }\n}\n ",""])),Vo);function cu(){return Do.useMutation(uu)}var du=ko()(Nn||(Nn=(0,bo.Z)(["\n mutation deleteTenantToken($id: String!) {\n deleteTenantToken(id: $id)\n}\n "])));function pu(){return Do.useMutation(du)}var fu=ko()(In||(In=(0,bo.Z)(["\n query eulaAcceptedForTenantUsers($id: ID!) {\n tenant(id: $id) {\n id\n eulaAcceptanceDate\n }\n}\n "])));function mu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:fu},e))}var hu=ko()(Cn||(Cn=(0,bo.Z)(["\n mutation acceptEulaForTenantUsers($tenantId: ID!, $input: UpdateTenantInput!) {\n updateTenant(id: $tenantId, input: $input) {\n tenant {\n id\n eulaAcceptanceDate\n }\n }\n}\n "])));function yu(){return Do.useMutation(hu)}var gu=ko()(An||(An=(0,bo.Z)(["\n query TenantIntegrations($tenantId: ID!, $integration: TenantIntegrationInput) {\n tenantIntegrations(tenantId: $tenantId, integration: $integration) {\n id\n integrationType\n detail {\n MicrosoftTenantId\n scopes\n }\n }\n}\n "])));function Tu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:gu},e))}var vu=ko()(Rn||(Rn=(0,bo.Z)(["\n mutation CreateTenantIntegration($tenantId: ID!, $integration: TenantIntegrationInput!) {\n createTenantIntegration(tenantId: $tenantId, integration: $integration) {\n integration {\n id\n }\n }\n}\n "])));function Eu(){return Do.useMutation(vu)}var _u=ko()(On||(On=(0,bo.Z)(["\n mutation DeleteTenantIntegration($tenantId: ID!, $integration: TenantIntegrationInput!) {\n deleteTenantIntegration(tenantId: $tenantId, integration: $integration) {\n id\n }\n}\n "])));function Su(){return Do.useMutation(_u)}var Nu=ko()(bn||(bn=(0,bo.Z)(["\n query TelemetryTenant($tenantId: ID!) {\n getTelemetryTenant(tenantId: $tenantId) {\n tenantId\n status\n sqlDatabase {\n server\n database\n userId\n password\n }\n storageAccount {\n name\n primaryConnectionString\n primaryKey\n secondaryConnectionString\n secondaryKey\n }\n eventHub {\n name\n consumerGroups\n primaryListenConnectionString\n secondaryListenConnectionString\n }\n }\n}\n "])));function Iu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Nu},e))}var Cu=ko()(Ln||(Ln=(0,bo.Z)(["\n mutation EnableTelemetryTenant($tenantId: ID!) {\n enableTelemetryTenant(tenantId: $tenantId)\n}\n "])));function Au(){return Do.useMutation(Cu)}var Ru=ko()(kn||(kn=(0,bo.Z)(["\n mutation DisableTelemetryTenant($tenantId: ID!) {\n disableTelemetryTenant(tenantId: $tenantId)\n}\n "])));function Ou(){return Do.useMutation(Ru)}var bu=ko()(Dn||(Dn=(0,bo.Z)(["\n mutation DeleteTelemetryTenant($tenantId: ID!) {\n deleteTelemetryTenant(tenantId: $tenantId)\n}\n "])));function Lu(){return Do.useMutation(bu)}var ku=ko()(xn||(xn=(0,bo.Z)(["\n mutation ResetTelemetryTenantSQLDatabasePassword($tenantId: ID!, $password: String) {\n resetTelemetryTenantSQLDatabasePassword(tenantId: $tenantId, password: $password)\n}\n "])));function Du(){return Do.useMutation(ku)}var xu=ko()(Pn||(Pn=(0,bo.Z)(["\n query CountAccounts {\n tenantCount\n}\n "])));function Pu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:xu},e))}ko()(Un||(Un=(0,bo.Z)(["\n query RequestsMade($entityId: String) {\n mergeEntityRequests(entityId: $entityId) {\n mergeRequests {\n from {\n ...AccountListMergeRequests\n }\n to {\n ...AccountListMergeRequests\n }\n }\n }\n}\n ",""])),jo);var Uu=ko()(wn||(wn=(0,bo.Z)(["\n query Accessor($accessorId: ID!) {\n accessor(accessorId: $accessorId) {\n id\n grants {\n resourceId\n resourceType\n roles {\n name\n tags\n }\n }\n }\n}\n "])));function wu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Uu},e))}var Mu=ko()(Mn||(Mn=(0,bo.Z)(["\n mutation InviteMember($emails: [String!]!, $tenant_id: ID!, $role: String!, $validate_email: Boolean!) {\n inviteUser(emails: $emails, tenant_id: $tenant_id, role: $role, validate_email: $validate_email) {\n invites {\n success\n email\n error\n }\n }\n}\n "])));function Vu(){return Do.useMutation(Mu)}ko()(Vn||(Vn=(0,bo.Z)(["\n mutation GrantRole($accessorId: ID!, $resourceId: ID!, $role: String!) {\n grantRole(accessorId: $accessorId, resourceId: $resourceId, role: $role) {\n id\n grants {\n resourceId\n resourceType\n permissions {\n name\n }\n roles {\n name\n }\n }\n }\n}\n "])));ko()(jn||(jn=(0,bo.Z)(["\n mutation RevokeRole($accessorId: ID!, $resourceId: ID!, $role: String!) {\n revokeRole(accessorId: $accessorId, resourceId: $resourceId, role: $role) {\n id\n grants {\n resourceId\n roles {\n name\n }\n }\n }\n}\n "])));var ju=ko()(Fn||(Fn=(0,bo.Z)(["\n query Permissions($accessorId: ID!, $tags: [String!]) {\n loggedInUser: accessor(accessorId: $accessorId) {\n id\n grants {\n ...PermisionsGrants\n }\n }\n tenants {\n id\n name\n }\n roles(tags: $tags) {\n ...PermisionRoles\n }\n}\n ","\n",""])),Bo,Fo);function Fu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ju},e))}var Bu=ko()(Bn||(Bn=(0,bo.Z)(["\n mutation removeUserFromAccount($id: ID!, $tid: ID!) {\n disassociateWithResource(accessorId: $id, resourceId: $tid) {\n id\n grants {\n resourceId\n roles {\n name\n }\n permissions {\n name\n }\n }\n }\n}\n "])));function Zu(){return Do.useMutation(Bu)}var Gu=ko()(Zn||(Zn=(0,bo.Z)(["\n mutation switchRole($accessorId: ID!, $resourceId: ID!, $role: String, $resourceType: String, $tags: [String!]) {\n switchRole(accessorId: $accessorId, resourceId: $resourceId, role: $role, resourceType: $resourceType, tagFilters: {withTags: $tags}) {\n id\n grants {\n resourceId\n resourceType\n roles {\n name\n tags\n }\n }\n }\n}\n "])));function Ju(){return Do.useMutation(Gu)}var Hu=ko()(Gn||(Gn=(0,bo.Z)(["\n query UserById($id: ID!) {\n user(id: $id) {\n user {\n ...UserFragment\n }\n }\n}\n ",""])),Go);function Wu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Hu},e))}var Yu=ko()(Jn||(Jn=(0,bo.Z)(["\n query UserDataById($id: ID!) {\n user(id: $id) {\n user {\n ...UserData\n }\n }\n}\n ",""])),Jo);function qu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Yu},e))}var Ku=ko()(Hn||(Hn=(0,bo.Z)(["\n query Roles($tags: [String!]) {\n roles(tags: $tags) {\n name\n }\n}\n "])));function zu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ku},e))}var Xu=ko()(Wn||(Wn=(0,bo.Z)(["\n query TenantAccessors($params: AccessorSearchParams!) {\n accessors(params: $params) {\n id\n grants {\n resourceId\n roles {\n name\n }\n }\n }\n}\n "])));function $u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Xu},e))}var Qu=ko()(Yn||(Yn=(0,bo.Z)(["\n query Tenant($id: ID!) {\n tenant(id: $id) {\n id\n name\n type\n mockLicenseTenant\n type\n }\n}\n "])));function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Qu},e))}var nc=ko()(qn||(qn=(0,bo.Z)(["\n query UsersCount($params: UserSearchParams!) {\n searchResult: users(params: $params) {\n count\n }\n}\n "])));function tc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:nc},e))}var ac=ko()(Kn||(Kn=(0,bo.Z)(["\n query UsersList($params: UserSearchParams!, $after: Cursor, $first: Int) {\n searchResult: users(params: $params, after: $after, first: $first) {\n ...UsersListConnection\n }\n}\n ",""])),Ho);function ic(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ac},e))}var rc=ko()(zn||(zn=(0,bo.Z)(["\n query PendingInvitesList($tenantId: ID) {\n userInvitesByTenant(tenant_id: $tenantId) {\n invites {\n id\n email\n created_at\n tenant_id\n validate_email\n role_name\n }\n }\n}\n "])));function oc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:rc},e))}var lc=ko()(Xn||(Xn=(0,bo.Z)(["\n mutation DeletePendingInvite($inviteId: ID!) {\n cancelUserInvite(code: $inviteId) {\n invite {\n id\n email\n }\n }\n}\n "])));function sc(){return Do.useMutation(lc)}var uc=ko()($n||($n=(0,bo.Z)(["\n query AudienceForTenant($tenantId: ID!) {\n tenant(id: $tenantId) {\n id\n name\n audience {\n ...CommonAudience\n }\n }\n}\n ",""])),Yo);function cc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:uc},e))}var dc=ko()(Qn||(Qn=(0,bo.Z)(["\n query NCIntegrations($input: IntegrationsFilter) {\n notificationCenter {\n integrations(input: $input) {\n name\n actionConfigurations {\n type {\n id\n type\n }\n allowedRates\n }\n }\n }\n}\n "])));function pc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:dc},e))}var fc=ko()(et||(et=(0,bo.Z)(["\n query AudienceForUser($user_id: String!, $tid: ID!) {\n ncPoly {\n userAudience(input: {user_id: $user_id, tenantId: $tid}) {\n ...CommonAudience\n }\n }\n}\n ",""])),Yo);function mc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:fc},e))}var hc=ko()(nt||(nt=(0,bo.Z)(["\n mutation EnableNotificationsForTenant($id: ID!) {\n ncEnableTenant(id: $id) {\n ...CommonAudience\n }\n}\n ",""])),Yo);function yc(){return Do.useMutation(hc)}var gc=ko()(tt||(tt=(0,bo.Z)(["\n mutation EnableNotificationsForUser($user_id: String!, $tid: ID!) {\n ncEnableUser(input: {user_id: $user_id, tenantId: $tid}) {\n ...CommonAudience\n }\n}\n ",""])),Yo);function Tc(){return Do.useMutation(gc)}var vc=ko()(at||(at=(0,bo.Z)(["\n mutation AddRecipient($audienceId: ID!, $email: Email!) {\n ncAddRecipient(input: {audienceId: $audienceId, email: $email}) {\n id\n confirmed\n email\n }\n}\n "])));function Ec(){return Do.useMutation(vc)}var _c=ko()(it||(it=(0,bo.Z)(["\n mutation RemoveRecipient($recipientId: ID!, $audienceId: ID!) {\n ncRemoveRecipient(input: {recipientId: $recipientId, audienceId: $audienceId}) {\n ...CommonAudience\n }\n}\n ",""])),Yo);function Sc(){return Do.useMutation(_c)}var Nc=ko()(rt||(rt=(0,bo.Z)(["\n mutation DisableNotificationsForTenant($id: ID!) {\n ncDisableTenant(id: $id) {\n id\n enabled\n }\n}\n "])));function Ic(){return Do.useMutation(Nc)}var Cc=ko()(ot||(ot=(0,bo.Z)(["\n mutation DisableNotificationsForUser($user_id: String!, $tid: ID!) {\n ncDisableUser(input: {user_id: $user_id, tenantId: $tid}) {\n id\n enabled\n }\n}\n "])));function Ac(){return Do.useMutation(Cc)}var Rc=ko()(lt||(lt=(0,bo.Z)(["\n mutation EnableAction($actionId: ID!, $audienceId: ID!) {\n ncEnableAction(input: {actionId: $actionId, audienceId: $audienceId}) {\n ...CommonActionConfigurations\n }\n}\n ",""])),Wo);function Oc(){return Do.useMutation(Rc)}var bc=ko()(st||(st=(0,bo.Z)(["\n mutation DisableAction($actionId: ID!, $audienceId: ID!) {\n ncDisableAction(input: {actionId: $actionId, audienceId: $audienceId}) {\n ...CommonActionConfigurations\n }\n}\n ",""])),Wo);function Lc(){return Do.useMutation(bc)}var kc=ko()(ut||(ut=(0,bo.Z)(["\n mutation SetActionFrequency($actionId: ID!, $rate: Rate!) {\n ncSetFrequency(input: {actionId: $actionId, rate: $rate}) {\n ...CommonActionConfigurations\n }\n}\n ",""])),Wo);function Dc(){return Do.useMutation(kc)}var xc=ko()(ct||(ct=(0,bo.Z)(["\n mutation Unsubscribe($id: ID!) {\n ncUnsubscribe(id: $id)\n}\n "])));function Pc(){return Do.useMutation(xc)}var Uc=ko()(dt||(dt=(0,bo.Z)(["\n mutation ConfirmEmail($id: ID!) {\n ncConfirmEmail(id: $id)\n}\n "])));function wc(){return Do.useMutation(Uc)}var Mc=ko()(pt||(pt=(0,bo.Z)(["\n query serviceNowHooksForTenant($id: ID!) {\n tenant(id: $id) {\n id\n serviceNowWebhooks {\n ...ServiceNowHookPage\n }\n }\n}\n ",""])),qo);function Vc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Mc},e))}var jc=ko()(ft||(ft=(0,bo.Z)(["\n query getServiceNowHook($id: ID!) {\n ncServiceNow {\n webhook(id: $id) {\n ...ServiceNowHookPage\n }\n }\n}\n ",""])),qo);function Fc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:jc},e))}var Bc=ko()(mt||(mt=(0,bo.Z)(["\n mutation CreateServiceNowWebhookForTenant($tenantId: ID!, $input: CreateServiceNowInput!) {\n ncCreateServiceNowWebhook(input: $input, tenantId: $tenantId) {\n ...ServiceNowHookPage\n }\n}\n ",""])),qo);function Zc(){return Do.useMutation(Bc)}ko()(ht||(ht=(0,bo.Z)(["\n mutation enableServiceNowHook($id: ID!) {\n ncEnableServiceNowWebhook(id: $id) {\n id\n enabled\n }\n}\n "])));ko()(yt||(yt=(0,bo.Z)(["\n mutation disableServiceNowHook($id: ID!) {\n ncDisableServiceNowWebhook(id: $id) {\n id\n enabled\n }\n}\n "])));var Gc=ko()(gt||(gt=(0,bo.Z)(["\n mutation updateServiceNowWebhook($id: ID!, $input: UpdateServiceNowWebhook!) {\n ncUpdateServiceNowWebhook(id: $id, input: $input) {\n ...ServiceNowHookPage\n }\n}\n ",""])),qo);function Jc(){return Do.useMutation(Gc)}var Hc=ko()(Tt||(Tt=(0,bo.Z)(["\n mutation deleteServiceNowWebhook($id: ID!) {\n ncDeleteServiceNowWebhook(id: $id) {\n serviceNowWebhooks {\n ...ServiceNowHookPage\n }\n }\n}\n ",""])),qo);function Wc(){return Do.useMutation(Hc)}var Yc=ko()(vt||(vt=(0,bo.Z)(["\n mutation testNewServiceNowWebhook($tenantId: ID!, $password: String!, $url: URL!, $username: String!) {\n ncTestServiceNowWebhookWithParams(input: {password: $password, url: $url, username: $username}, tenantId: $tenantId) {\n statusCode\n body\n statusMessage\n }\n}\n "])));function qc(){return Do.useMutation(Yc)}var Kc=ko()(Et||(Et=(0,bo.Z)(["\n mutation testServiceNowWebhookById($id: ID!) {\n ncTestServiceNowWebhook(input: {id: $id}) {\n statusCode\n body\n statusMessage\n }\n}\n "])));function zc(){return Do.useMutation(Kc)}var Xc=ko()(_t||(_t=(0,bo.Z)(["\n mutation updateServiceNowActionConfiguration($input: NcUpdateServiceNowWebhookAction!) {\n ncUpdateServiceNowActionConfiguration(input: $input) {\n id\n enabled\n rate\n }\n}\n "])));function $c(){return Do.useMutation(Xc)}var Qc=ko()(St||(St=(0,bo.Z)(["\n mutation CreateTeamsWebhookForTenant($tenantId: ID!, $input: CreateWebhook) {\n ncCreateTeamsWebhookForTenant(tenantId: $tenantId, input: $input) {\n ...TeamsHookPage\n }\n}\n ",""])),Ko);function ed(){return Do.useMutation(Qc)}ko()(Nt||(Nt=(0,bo.Z)(["\n mutation enableTeamsHook($id: ID!) {\n ncEnableTeamsWebhook(id: $id) {\n id\n enabled\n }\n}\n "])));ko()(It||(It=(0,bo.Z)(["\n mutation disableTeamsHook($id: ID!) {\n ncDisableTeamsWebhook(id: $id) {\n id\n enabled\n }\n}\n "])));var nd=ko()(Ct||(Ct=(0,bo.Z)(["\n mutation updateTeamsWebhook($id: ID!, $input: CreateWebhook!) {\n ncUpdateTeamsWebhook(id: $id, input: $input) {\n ...TeamsHookPage\n }\n}\n ",""])),Ko);function td(){return Do.useMutation(nd)}var ad=ko()(At||(At=(0,bo.Z)(["\n mutation deleteTeamsWebhook($id: ID!) {\n ncDeleteTeamsWebhook(id: $id) {\n teamsWebhooks {\n ...TeamsHookPage\n }\n }\n}\n ",""])),Ko);function id(){return Do.useMutation(ad)}var rd=ko()(Rt||(Rt=(0,bo.Z)(["\n mutation updateTeamsActionConfiguration($input: NcUpdateTeamsWebhookAction!) {\n ncUpdateWebhookActionConfiguration(input: $input) {\n id\n enabled\n rate\n }\n}\n "])));function od(){return Do.useMutation(rd)}var ld=ko()(Ot||(Ot=(0,bo.Z)(["\n mutation testTeamsWebhookById($id: ID, $url: URL) {\n ncTestTeamsWebhook(input: {id: $id, url: $url}) {\n success\n code\n message\n }\n}\n "])));function sd(){return Do.useMutation(ld)}var ud=ko()(bt||(bt=(0,bo.Z)(["\n query getTeamsHook($id: ID!) {\n ncTeams {\n webhook(id: $id) {\n ...TeamsHookPage\n }\n }\n}\n ",""])),Ko);function cd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ud},e))}var dd=ko()(Lt||(Lt=(0,bo.Z)(["\n query teamsHooksForTenant($id: ID!) {\n tenant(id: $id) {\n id\n teamsWebhooks {\n ...TeamsHookPage\n }\n }\n}\n ",""])),Ko);function pd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:dd},e))}var fd=ko()(kt||(kt=(0,bo.Z)(['\n query availableRelaySoftwareOVA($releaseChannel: String) {\n availableProductSoftwareByPid(pid: "lens-relay-image-ova", releaseChannel: $releaseChannel) {\n productBuild {\n build\n archiveUrl\n tags {\n name\n value\n }\n }\n product {\n id\n }\n id\n }\n}\n '])));function md(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:fd},e))}var hd=ko()(Dt||(Dt=(0,bo.Z)(['\n query availableRelaySoftwareVHD($releaseChannel: String) {\n availableProductSoftwareByPid(pid: "lens-relay-image-vhd", releaseChannel: $releaseChannel) {\n productBuild {\n build\n archiveUrl\n tags {\n name\n value\n }\n }\n product {\n id\n }\n id\n }\n}\n '])));function yd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:hd},e))}var gd=ko()(xt||(xt=(0,bo.Z)(["\n mutation createRegisteredEdgeDevice($device: CreateRegisteredDeviceRequest!) {\n createRegisteredEdgeDevice(device: $device) {\n success\n error\n isEdgeDevice\n deviceId\n deviceKey\n }\n}\n "])));function Td(){return Do.useMutation(gd)}var vd=ko()(Pt||(Pt=(0,bo.Z)(["\n query ProvisioningAccounts($tenantUuid: String) {\n getProvisioningAccounts(tenantUuid: $tenantUuid) {\n ...AccountDetail\n }\n}\n ",""])),zo);function Ed(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:vd},e))}var _d=ko()(Ut||(Ut=(0,bo.Z)(["\n mutation updateProvisioningAccount($tenantUuid: String, $account: ProvisioningAccountIn) {\n updateProvisioningAccount(tenantUuid: $tenantUuid, account: $account) {\n ...AccountDetail\n }\n}\n ",""])),zo);function Sd(){return Do.useMutation(_d)}var Nd=ko()(wt||(wt=(0,bo.Z)(["\n query Configuration {\n getConfiguration {\n tenantSyncPeriod\n }\n}\n "])));function Id(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Nd},e))}var Cd=ko()(Mt||(Mt=(0,bo.Z)(["\n query TenantUserPermisions($userId: ID!, $tags: [String!]) {\n accessor(accessorId: $userId) {\n grants {\n ...PermisionsGrants\n }\n }\n roles(tags: $tags) {\n ...PermisionRoles\n }\n}\n ","\n",""])),Bo,Fo);function Ad(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Cd},e))}var Rd=ko()(Vt||(Vt=(0,bo.Z)(['\n query DevicesForTenant($tenantId: String!) {\n deviceCount: countDevices(filter: {eq: $tenantId, field: "tenantId"})\n models: deviceAggregations(aggregations: [{term: "hardwareModel"}], filter: {eq: $tenantId, field: "tenantId"}) {\n field\n buckets {\n __typename\n count\n ... on KeyBucket {\n key\n }\n }\n }\n}\n '])));function Od(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Rd},e))}var bd=ko()(jt||(jt=(0,bo.Z)(["\n query SitesForTenant($tenantId: String!) {\n sites(tenantId: $tenantId) {\n ...SiteForTenant\n }\n}\n ",""])),$o);function Ld(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:bd},e))}ko()(Ft||(Ft=(0,bo.Z)(["\n query UsersForTenantByRole($params: UserSearchParams!) {\n users(params: $params) {\n count\n }\n}\n "])));ko()(Bt||(Bt=(0,bo.Z)(['\n query DevicesAtSite($siteId: String!) {\n count: countDevices(filter: {eq: $siteId, field: "siteUUID"})\n}\n '])));var kd=ko()(Zt||(Zt=(0,bo.Z)(["\n mutation Import($fileName: String!, $file: String!, $tenantId: String!, $importType: String!, $updateExistingDevices: Boolean, $overwriteDeviceRecords: Boolean) {\n importToLens(fileName: $fileName, file: $file, tenantId: $tenantId, importType: $importType, updateExistingDevices: $updateExistingDevices, overwriteDeviceRecords: $overwriteDeviceRecords)\n}\n "])));function Dd(){return Do.useMutation(kd)}var xd=ko()(Gt||(Gt=(0,bo.Z)(["\n query GetImportReport($tenantId: String!) {\n getImportReport(tenantId: $tenantId) {\n progress\n success\n errors\n deviceConfigResult {\n deviceId\n deviceModel\n deviceReport\n }\n siteTopologyResult {\n siteName\n siteTopologyErrors\n }\n siteConfigResult {\n __typename\n siteConfigError\n siteName\n siteConfigSettings {\n deviceModel\n configAttributes\n }\n siteConfigError\n }\n groupConfigResult {\n __typename\n groupName\n groupConfigSettings {\n deviceModel\n configAttributes\n }\n }\n globalConfigResult {\n deviceModel\n globalConfigSettings\n }\n }\n}\n "])));function Pd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:xd},e))}var Ud=ko()(Jt||(Jt=(0,bo.Z)(["\n mutation UpdateUserInfo($id: ID!, $user: Auth0UserUpdateData!) {\n updateUser(id: $id, data: $user) {\n user {\n user_id\n }\n }\n}\n "])));function wd(){return Do.useMutation(Ud)}var Md=ko()(Ht||(Ht=(0,bo.Z)(["\n query GetTrialSubscription {\n getTrialSubscription: getClaritiTrialSubscription {\n ...TrialUserSubscriptionData\n }\n}\n ",""])),Qo);function Vd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Md},e))}var jd=ko()(Wt||(Wt=(0,bo.Z)(["\n mutation CreateTrialSubscription {\n createTrialSubscription: createClaritiTrialSubscription {\n ...TrialUserSubscriptionData\n }\n}\n ",""])),Qo);function Fd(){return Do.useMutation(jd)}var Bd=ko()(Yt||(Yt=(0,bo.Z)(["\n query GetTrialSubscriptionList($params: ClaritiTrialSubscriptionReportConnectionParams!) {\n getTrialSubscriptions: getClaritiTrialSubscriptionReports(params: $params) {\n ...TrialSubscriptionReportDataConnection\n }\n}\n ",""])),rl);function Zd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Bd},e))}var Gd=ko()(qt||(qt=(0,bo.Z)(["\n mutation DeleteTrialSubscription($id: ID!) {\n deleteTrialSubscription: deleteClaritiTrialSubscriptionReport(id: $id) {\n id\n }\n}\n "])));function Jd(){return Do.useMutation(Gd)}var Hd=ko()(Kt||(Kt=(0,bo.Z)(["\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n tenant {\n id\n name\n }\n }\n}\n "])));function Wd(){return Do.useMutation(Hd)}var Yd=ko()(zt||(zt=(0,bo.Z)(["\n mutation updateUser($id: ID!, $data: Auth0UserUpdateData!) {\n updateUser(id: $id, data: $data) {\n user {\n given_name\n family_name\n user_id\n name\n }\n }\n}\n "])));function qd(){return Do.useMutation(Yd)}var Kd=ko()(Xt||(Xt=(0,bo.Z)(["\n query availableProductSoftwareByPid($pidWindows: ID!, $pidMac: ID!, $pidAndroid: ID!) {\n windows: availableProductSoftwareByPid(pid: $pidWindows) {\n productBuild {\n version\n build\n archiveUrl\n }\n id\n releaseChannel\n publishDate\n }\n mac: availableProductSoftwareByPid(pid: $pidMac) {\n productBuild {\n version\n build\n archiveUrl\n }\n id\n releaseChannel\n publishDate\n }\n android: availableProductSoftwareByPid(pid: $pidAndroid) {\n productBuild {\n version\n build\n archiveUrl\n }\n id\n releaseChannel\n publishDate\n }\n}\n "])));function zd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Kd},e))}var Xd=ko()($t||($t=(0,bo.Z)(["\n query DeviceCounts($filter: Filter, $aggregations: [Aggregation]) {\n deviceAggregations(filter: $filter, aggregations: $aggregations) {\n ...AggregateFields\n buckets {\n __typename\n aggregates {\n ...AggregateFields\n }\n }\n }\n}\n ",""])),ol);function $d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Xd},e))}var Qd=ko()(Qt||(Qt=(0,bo.Z)(["\n query nodeDetails($id: ID!, $tenant: [String!]!) {\n nodeDetail: node(id: $id, tenantId: $tenant) {\n __typename\n id\n ... on TopicIndicator {\n ...insightDetails\n }\n }\n}\n ",""])),sl);function ep(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Qd},e))}var np=ko()(ea||(ea=(0,bo.Z)(["\n query similarTopicIndicators($tenant: [String!]!, $input: QueryTopicIndicatorInput) {\n similar: topicIndicators(tenantId: $tenant, input: $input) {\n edges {\n node {\n ...similarInsights\n }\n }\n }\n}\n ",""])),ul);function tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:np},e))}var ap=ko()(na||(na=(0,bo.Z)(["\n query insightsPriority($tenant: [String!]!, $input: QueryTopicIndicatorInput!, $after: String, $first: Int) {\n topicIndicators(tenantId: $tenant, input: $input, after: $after, first: $first) {\n count\n ...PaginatedIndicators\n }\n}\n ",""])),fl);function ip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ap},e))}ko()(ta||(ta=(0,bo.Z)(["\n query insightsCategory($tenant: [String!]!, $input: QueryTopicIndicatorInput!, $after: String, $first: Int) {\n topicIndicators(tenantId: $tenant, input: $input, after: $after, first: $first) {\n ...PaginatedIndicators\n }\n}\n ",""])),fl);ko()(aa||(aa=(0,bo.Z)(["\n query insightsDetails($tenant: [String!]!, $input: QueryTopicIndicatorInput!, $similar: QueryTopicIndicatorInput!) {\n myInsight: topicIndicators(input: $input, tenantId: $tenant) {\n pageInfo {\n ...ContinuingPage\n }\n edges {\n cursor\n node {\n ...PriorityFields\n }\n }\n }\n similarInsights: topicIndicators(input: $similar, first: 3, tenantId: $tenant) {\n edges {\n node {\n ...PriorityFields\n }\n }\n }\n}\n ","\n",""])),cl,pl);var rp=ko()(ia||(ia=(0,bo.Z)(["\n query Topics {\n topics {\n id\n category\n validLocationScopes\n }\n}\n "])));function op(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:rp},e))}var lp=ko()(ra||(ra=(0,bo.Z)(["\n query charts($tenantId: [String!]!, $locationScope: LocationScope!, $timeScope: TimeScope!, $timeStart: Date!, $topic: ID!, $id: ID!) {\n charts(tenantId: $tenantId, locationScope: $locationScope, timeScope: $timeScope, timeStart: $timeStart, topic: $topic, id: $id) {\n ...chartFields\n }\n}\n ",""])),Nl);function sp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:lp},e))}var up=ko()(oa||(oa=(0,bo.Z)(["\n query connectedDevicesAggregates($tenantId: [String!]!, $timeRange: TimeRange!, $mode: ConnectDevicesAggregationMode, $field: ConnectDevicesAggregationField, $input: QueryConnectDevicesAggregationInput, $groupBy: ConnectDevicesAggregationGroup!, $increment: Increment!) {\n connectedDevicesAggregates(tenantId: $tenantId, timeRange: $timeRange, mode: $mode, field: $field, input: $input, groupBy: $groupBy, increment: $increment) {\n ...chartFields\n }\n}\n ",""])),Nl);function cp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:up},e))}var dp=ko()(la||(la=(0,bo.Z)(["\n query meetingRecordAggregates($tenantId: [String!]!, $timeRange: TimeRange!, $mode: MeetingRecordAggregationMode, $field: MeetingRecordAggregationField, $input: QueryMeetingRecordAggregationInput, $groupBy: MeetingRecordAggregationGroup!, $increment: Increment!, $meetingRecordType: MeetingRecordType) {\n meetingRecordAggregates(tenantId: $tenantId, timeRange: $timeRange, mode: $mode, field: $field, input: $input, groupBy: $groupBy, increment: $increment, meetingRecordType: $meetingRecordType) {\n ...chartFields\n }\n}\n ",""])),Nl);function pp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:dp},e))}var fp=ko()(sa||(sa=(0,bo.Z)(['\n query insightsDeviceAction($offlineFilter: Filter, $availableUpdatesFilter: Filter, $siteUnassignedFilter: Filter, $showOfflineDevices: Boolean!, $showAvailableUpdates: Boolean!, $showUnassignedSite: Boolean!) {\n offlineDevices: deviceAggregations(aggregations: {term: "hardwareModel", SUB: [{term: "site"}, {term: "room"}]}, filter: $offlineFilter) @include(if: $showOfflineDevices) {\n __typename\n field\n buckets {\n modelCount: count\n __typename\n ... on KeyBucket {\n model: key\n }\n sitesAndRooms: aggregates {\n ...SiteAndRoomBucket\n }\n }\n }\n availableUpdates: deviceAggregations(aggregations: {term: "hardwareModel", SUB: [{term: "updateVersion", SUB: [{term: "site"}, {term: "room"}]}]}, filter: $availableUpdatesFilter) @include(if: $showAvailableUpdates) {\n __typename\n field\n buckets {\n modelCount: count\n __typename\n ... on KeyBucket {\n model: key\n }\n updateVersions: aggregates {\n ...VersionBucket\n }\n }\n }\n siteUnassigned: deviceAggregations(aggregations: {term: "hardwareModel"}, filter: $siteUnassignedFilter) @include(if: $showUnassignedSite) {\n __typename\n field\n buckets {\n modelCount: count\n __typename\n ... on KeyBucket {\n model: key\n }\n }\n }\n}\n ',"\n",""])),Il,Cl);function mp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:fp},e))}var hp=ko()(ua||(ua=(0,bo.Z)(['\n query UnassignedSite($tenantId: String!) {\n siteData(tenantId: $tenantId, params: {filter: [{value: "unassigned", field: NAME, comparisonOperator: CASE_INSENSITIVE_CONTAINS}]}) {\n edges {\n node {\n id\n name\n }\n }\n }\n}\n '])));function yp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:hp},e))}var gp=ko()(ca||(ca=(0,bo.Z)(["\n query DeviceGroups($tenantId: String!) {\n getAllGroups(tenantId: $tenantId) {\n groups {\n groups {\n ...Group\n }\n }\n }\n}\n ",""])),Al);function Tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:gp},e))}var vp=ko()(da||(da=(0,bo.Z)(["\n query DeviceGroup($id: String!) {\n readGroup(groupId: $id) {\n groupDoc {\n ...Group\n }\n }\n}\n ",""])),Al);function Ep(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:vp},e))}var _p=ko()(pa||(pa=(0,bo.Z)(["\n query DeviceGroupMetadata($id: String!) {\n getGroupMetadata(groupId: $id) {\n groupId\n models {\n deviceModel\n countDevices\n }\n }\n}\n "])));function Sp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:_p},e))}var Np=ko()(fa||(fa=(0,bo.Z)(["\n query GroupsForDevice($serial: String!, $tenantId: String) {\n getDevice(serial: $serial, tenantId: $tenantId) {\n groups\n }\n}\n "])));function Ip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Np},e))}var Cp=ko()(ma||(ma=(0,bo.Z)(["\n mutation CreateDeviceGroup($createSWPolicy: Boolean, $devices: Devices, $groupName: String!, $tenantId: String!) {\n createGroup(createSWPolicy: $createSWPolicy, devices: $devices, groupName: $groupName, tenantId: $tenantId) {\n success\n error\n groupDoc {\n id\n }\n }\n}\n "])));function Ap(){return Do.useMutation(Cp)}var Rp=ko()(ha||(ha=(0,bo.Z)(["\n mutation DeleteDeviceGroups($groups: Groups!) {\n deleteGroups(groupIds: $groups) {\n success\n error\n }\n}\n "])));function Op(){return Do.useMutation(Rp)}var bp=ko()(ya||(ya=(0,bo.Z)(["\n mutation UpdateDeviceGroup($groupId: String!, $groupName: String, $devices: Devices, $createSWPolicy: Boolean) {\n updateGroup(groupId: $groupId, groupName: $groupName, devices: $devices, createSWPolicy: $createSWPolicy) {\n success\n error\n }\n}\n "])));function Lp(){return Do.useMutation(bp)}var kp=ko()(ga||(ga=(0,bo.Z)(["\n mutation updateDeviceGroupPriority($serial: String!, $groups: [String], $tenantId: String) {\n updateDeviceGroupPriority(serial: $serial, groups: $groups, tenantId: $tenantId)\n}\n "])));function Dp(){return Do.useMutation(kp)}var xp=ko()(Ta||(Ta=(0,bo.Z)(["\n mutation RebootDevicesByGroup($groupId: String!) {\n rebootGroup(groupId: $groupId) {\n success\n error\n }\n}\n "])));function Pp(){return Do.useMutation(xp)}var Up=ko()(va||(va=(0,bo.Z)(["\n mutation saveUserGroup($tenantId: String!, $body: UserGroupBody!) {\n saveUserGroup(tenantId: $tenantId, body: $body) {\n name\n id\n createdAt\n updatedAt\n description\n source\n policies {\n priority\n id\n }\n genericUsers {\n __typename\n ... on GenericUserList {\n items {\n user {\n user {\n user_id\n }\n }\n }\n }\n ... on GenericUserMessage {\n value\n }\n }\n }\n}\n "])));function wp(){return Do.useMutation(Up)}var Mp=ko()(Ea||(Ea=(0,bo.Z)(["\n query listUserGroupsForTenant($tenantId: String!) {\n userGroupsForTenant(tenantId: $tenantId) {\n id\n name\n description\n createdAt\n updatedAt\n source\n policies {\n priority\n id\n name\n }\n genericUsers {\n __typename\n ... on GenericUserList {\n items {\n user {\n user {\n user_id\n }\n }\n }\n }\n ... on GenericUserMessage {\n value\n }\n }\n }\n}\n "])));function Vp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Mp},e))}var jp=ko()(_a||(_a=(0,bo.Z)(["\n mutation mutateUserGroupMembership($tenantId: String!, $groupId: String!, $newUsers: [String!]!, $removedUsers: [String!]!) {\n mutateUserGroupMembership(tenantId: $tenantId, groupId: $groupId, newUsers: $newUsers, removedUsers: $removedUsers) {\n name\n id\n }\n}\n "])));function Fp(){return Do.useMutation(jp)}var Bp=ko()(Sa||(Sa=(0,bo.Z)(["\n mutation deleteUserGroup($tenantId: String!, $id: String!) {\n deleteUserGroup(tenantId: $tenantId, id: $id) {\n error\n message\n }\n}\n "])));function Zp(){return Do.useMutation(Bp)}var Gp=ko()(Na||(Na=(0,bo.Z)(["\n query getUserGroupDetails($id: String!, $tenantId: String!) {\n userGroupsForTenant(groupIds: [$id], tenantId: $tenantId) {\n id\n name\n description\n createdAt\n updatedAt\n source\n genericUsers {\n __typename\n ... on GenericUserList {\n items {\n name\n id\n email\n user {\n user {\n ...DeviceUserInfo\n }\n }\n }\n }\n ... on GenericUserMessage {\n value\n }\n }\n }\n}\n ",""])),Rl);function Jp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Gp},e))}var Hp=ko()(Ia||(Ia=(0,bo.Z)(["\n mutation updatePolicyPriority($id: String!, $priority: String!) {\n updatePolicyCapabilities(input: {id: $id, priority: $priority}) {\n id\n priority\n }\n}\n "])));function Wp(){return Do.useMutation(Hp)}var Yp=ko()(Ca||(Ca=(0,bo.Z)(["\n query availableExternalUserGroups($tenantId: String!, $source: UserGroupSourceType!) {\n userGroupsForTenant(tenantId: $tenantId, source: $source, state: NOT_IMPORTED) {\n id\n name\n description\n source\n }\n}\n "])));function qp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Yp},e))}var Kp=ko()(Aa||(Aa=(0,bo.Z)(["\n query usersForExternalGroups($tenantId: String!, $source: UserGroupSourceType!, $groupIds: [String!]!) {\n userGroupsForTenant(tenantId: $tenantId, groupIds: $groupIds, source: $source, state: NOT_IMPORTED) {\n genericUsers {\n __typename\n ... on GenericUserList {\n items {\n email\n name\n id\n user {\n user {\n user_id\n name\n }\n }\n }\n }\n ... on GenericUserMessage {\n value\n }\n }\n }\n}\n "])));function zp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Kp},e))}var Xp=ko()(Ra||(Ra=(0,bo.Z)(["\n mutation importUserGroups($tenantId: String!, $groups: [UserGroupBody!]!, $source: UserGroupSourceType!) {\n importUserGroups(tenantId: $tenantId, groups: $groups, source: $source) {\n id\n }\n}\n "])));function $p(){return Do.useMutation(Xp)}var Qp=ko()(Oa||(Oa=(0,bo.Z)(["\n query DeviceUsersCount($params: UserSearchParams!, $after: Cursor, $first: Int) {\n deviceUsersResult: users(params: $params, after: $after, first: $first) {\n count\n }\n}\n "])));function ef(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Qp},e))}var nf=ko()(ba||(ba=(0,bo.Z)(["\n query DeviceUsersList($params: UserSearchParams!, $after: Cursor, $first: Int) {\n deviceUsersResult: users(params: $params, after: $after, first: $first) {\n pageInfo {\n hasNextPage\n endCursor\n }\n deviceUsersInfo: edges {\n cursor\n node {\n ...DeviceUserInfo\n }\n }\n }\n}\n ",""])),Rl);function tf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:nf},e))}var af=ko()(La||(La=(0,bo.Z)(['\n mutation DeleteDeviceUser($accessorId: ID!, $resourceId: ID!) {\n revokeRole(accessorId: $accessorId, resourceId: $resourceId, role: "device_user") {\n grants {\n resourceId\n roles {\n name\n }\n }\n }\n}\n '])));function rf(){return Do.useMutation(af)}var of=ko()(ka||(ka=(0,bo.Z)(['\n mutation AddDeviceUser($accessorId: ID!, $resourceId: ID!) {\n grantRole(accessorId: $accessorId, resourceId: $resourceId, resourceType: "Tenant", role: "device_user") {\n grants {\n resourceId\n roles {\n name\n }\n }\n }\n}\n '])));function lf(){return Do.useMutation(of)}var sf=ko()(Da||(Da=(0,bo.Z)(["\n query FirmwareUpdateInfo($id: String!) {\n firmwareUpdateInfo(id: $id) {\n updateVersion\n isUpdateAvailable\n }\n}\n "])));function uf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:sf},e))}var cf=ko()(xa||(xa=(0,bo.Z)(["\n query NetworkDiagnostics($id: String!) {\n device(id: $id) {\n id\n name\n connected\n hardwareModel\n hardwareFamily\n softwareVersion\n hardwareRevision\n lastDetected\n ...NetworkDiagnostic\n site {\n name\n }\n product {\n updatedAt\n id\n }\n }\n}\n ",""])),Ol);function df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:cf},e))}var pf=ko()(Pa||(Pa=(0,bo.Z)(["\n mutation DeleteDevices($tenantId: String!, $serials: [String]) {\n deleteDevices(tenantId: $tenantId, serials: $serials)\n}\n "])));function ff(){return Do.useMutation(pf)}var mf=ko()(Ua||(Ua=(0,bo.Z)(["\n mutation UnregisterDevice($deviceId: String!) {\n unregisterDevice(deviceId: $deviceId) {\n success\n error\n }\n}\n "])));function hf(){return Do.useMutation(mf)}var yf=ko()(wa||(wa=(0,bo.Z)(["\n query DevicesList($filter: Filter, $limit: Int, $sort: DeviceSort, $from: Int!) {\n devices(filter: $filter, limit: $limit, sort: $sort, from: $from) {\n ...devicesListProps\n }\n countDevices(filter: $filter)\n}\n ",""])),bl);function gf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:yf},e))}var Tf=ko()(Ma||(Ma=(0,bo.Z)(["\n query DevicesLocation($aggregations: [Aggregation], $noLocationFilter: Filter, $boundsFilter: Filter, $sort: DeviceSort, $from: Int!) {\n unknownLocationCount: countDevices(filter: $noLocationFilter)\n deviceCount: countDevices(filter: $boundsFilter)\n deviceAggregations(aggregations: $aggregations, filter: $boundsFilter) {\n field\n buckets {\n __typename\n count\n ... on KeyBucket {\n key\n }\n }\n }\n deviceList: devices(filter: $boundsFilter, sort: $sort, from: $from, limit: 100) {\n ...devicesListProps\n }\n}\n ",""])),bl);function vf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Tf},e))}var Ef=ko()(Va||(Va=(0,bo.Z)(["\n mutation StartCall($deviceId: String!, $dialString: String!, $options: CallOptions) {\n startCall(deviceId: $deviceId, dialString: $dialString, options: $options) {\n success\n error\n }\n}\n "])));function _f(){return Do.useMutation(Ef)}var Sf=ko()(ja||(ja=(0,bo.Z)(["\n mutation EditDeviceDetails($fields: UpdateDeviceRequest!, $id: String!) {\n updateDevice(id: $id, fields: $fields) {\n ...device\n }\n}\n ",""])),$l);function Nf(){return Do.useMutation(Sf)}ko()(Fa||(Fa=(0,bo.Z)(["\n query ActiveEntitlementsBySerial($tenantId: String!, $productSerial: String!) {\n entitlements(tenantId: $tenantId, productSerials: [$productSerial], includeExpired: false) {\n edges {\n licenseKey\n }\n }\n}\n "])));var If=ko()(Ba||(Ba=(0,bo.Z)(["\n query LinkedDevicesForDevice($id: String!) {\n device(id: $id) {\n ...EntityConnections\n }\n}\n ",""])),Kl);function Cf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:If},e))}var Af=ko()(Za||(Za=(0,bo.Z)(["\n mutation ExportDeviceInventory($tenantId: String!) {\n exportDeviceInventory(tenantId: $tenantId) {\n success\n error\n link\n recipientEmail\n }\n}\n "])));function Rf(){return Do.useMutation(Af)}var Of=ko()(Ga||(Ga=(0,bo.Z)(["\n query ExportDeviceSettings($tenantId: String!) {\n exportDeviceSettings(tenantId: $tenantId)\n}\n "])));function bf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Of},e))}var Lf=ko()(Ja||(Ja=(0,bo.Z)(["\n query capabilities($deviceId: String!) {\n capabilities(deviceId: $deviceId) {\n id\n }\n}\n "])));function kf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Lf},e))}var Df=ko()(Ha||(Ha=(0,bo.Z)(["\n mutation updateCapabilities($deviceId: String!, $input: CapabilitiesInput!) {\n capabilitiesMutate(deviceId: $deviceId, input: $input) {\n com {\n poly {\n audio {\n bass {\n value\n }\n }\n }\n }\n }\n}\n "])));function xf(){return Do.useMutation(Df)}var Pf=ko()(Wa||(Wa=(0,bo.Z)(["\n query startDeviceConfigExport($deviceId: String, $tenantId: String) {\n startExportDeviceConfigs(deviceId: $deviceId, tenantId: $tenantId) {\n status\n errorMessage\n }\n}\n "])));function Uf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Pf},e))}var wf=ko()(Ya||(Ya=(0,bo.Z)(["\n query DeviceConfig($deviceId: String, $deviceModel: String, $tenantId: String) {\n getExtendedConfigParams(deviceId: $deviceId, deviceModel: $deviceModel, tenantId: $tenantId) {\n status\n errorMessage\n configParams {\n ...DeviceConfigParam\n }\n }\n}\n ",""])),Ll);function Mf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:wf},e))}var Vf=ko()(qa||(qa=(0,bo.Z)(["\n query DeviceSettings($id: String!, $noCache: Boolean) {\n deviceSettings(id: $id, waitForDevice: $noCache) {\n id\n fetchedAt\n settings {\n ...networkSettings\n ...displaySettings\n ...calendarSettings\n ...callServerSettings\n ...upgradeSettings\n ...dateTimeSettings\n }\n }\n}\n ","\n","\n","\n","\n","\n",""])),kl,xl,Dl,Pl,Ul,wl);function jf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Vf},e))}var Ff=ko()(Ka||(Ka=(0,bo.Z)(["\n query DeviceSettingsAvailability($id: String!, $noCache: Boolean) {\n deviceSettings(disableError: true, id: $id, waitForDevice: $noCache) {\n fetchedAt\n settings {\n prov {\n enabled\n }\n }\n }\n}\n "])));function Bf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ff},e))}var Zf=ko()(za||(za=(0,bo.Z)(["\n mutation UpsertDeviceSettings($settings: PolyOSConfigInput!, $id: String!) {\n upsertDeviceSettings(settings: $settings, id: $id) {\n fetchedAt\n }\n}\n "])));function Gf(){return Do.useMutation(Zf)}var Jf=ko()(Xa||(Xa=(0,bo.Z)(["\n query DeviceSettingsAsXML($id: String!, $waitForDevice: Boolean) {\n deviceSettingsAsXML(id: $id, waitForDevice: $waitForDevice) {\n id\n fetchedAt\n settings\n }\n}\n "])));function Hf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Jf},e))}var Wf=ko()($a||($a=(0,bo.Z)(["\n mutation SetDeviceSettingsWithXML($settingsXML: String!, $id: String!) {\n setDeviceSettingsWithXML(settingsXML: $settingsXML, id: $id) {\n fetchedAt\n }\n}\n "])));function Yf(){return Do.useMutation(Wf)}var qf=ko()(Qa||(Qa=(0,bo.Z)(["\n query hardwareModelWithAvailableSoftware($id: ID!) {\n hardwareModel(id: $id) {\n name\n hardwareProducts {\n id\n availableProductSoftware {\n version\n productBuild {\n version\n build\n }\n }\n }\n }\n}\n "])));function Kf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:qf},e))}var zf=ko()(ei||(ei=(0,bo.Z)(["\n query NormalizedDeviceSettings($id: String!) {\n normalizedDeviceSettings(id: $id) {\n id\n fetchedAt\n settings {\n name\n value\n }\n }\n}\n "])));function Xf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:zf},e))}var $f=ko()(ni||(ni=(0,bo.Z)(["\n mutation UpsertNormalizedDeviceSettings($id: String!, $settings: [NormalizedDeviceSettingInput!]!) {\n upsertNormalizedDeviceSettings(id: $id, settings: $settings) {\n id\n fetchedAt\n settings {\n name\n value\n }\n }\n}\n "])));function Qf(){return Do.useMutation($f)}var em=ko()(ti||(ti=(0,bo.Z)(["\n query Policies($deviceModel: String, $deviceId: String, $siteId: String, $groupId: String, $scope: PolicyDeploymentScope, $tenantId: String) {\n getPolicies(deviceModel: $deviceModel, deviceId: $deviceId, siteId: $siteId, groupId: $groupId, policyScope: $scope, tenantId: $tenantId) {\n ...policy\n }\n}\n ",""])),Vl);function nm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:em},e))}var tm=ko()(ai||(ai=(0,bo.Z)(["\n query ExternalPolicy($deviceId: String, $tenantId: String) {\n getPolicies(deviceId: $deviceId, tenantId: $tenantId, policyScope: EXTERNAL_DEVICE) {\n ...ExternalPolicy\n }\n}\n ",""])),jl);function am(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:tm},e))}var im=ko()(ii||(ii=(0,bo.Z)(["\n mutation CreatePolicy($policy: PolicyInput, $taskExecuteTime: String, $tenantId: String) {\n createPolicy(policy: $policy, taskExecuteTime: $taskExecuteTime, tenantId: $tenantId)\n}\n "])));function rm(){return Do.useMutation(im)}var om=ko()(ri||(ri=(0,bo.Z)(["\n mutation UpdatePolicy($policy: PolicyInput, $taskExecuteTime: String, $tenantId: String) {\n updatePolicy(policy: $policy, taskExecuteTime: $taskExecuteTime, tenantId: $tenantId) {\n ...policy\n }\n}\n ",""])),Vl);function lm(){return Do.useMutation(om)}var sm=ko()(oi||(oi=(0,bo.Z)(["\n mutation DeletePolicy($policyId: String) {\n deletePolicyById(policyId: $policyId)\n}\n "])));function um(){return Do.useMutation(sm)}var cm=ko()(li||(li=(0,bo.Z)(["\n mutation DeletePolicies($policyIds: [String]) {\n deletePolicies(policyIds: $policyIds) {\n ids\n }\n}\n "])));function dm(){return Do.useMutation(cm)}var pm=ko()(si||(si=(0,bo.Z)(["\n mutation DeletePoliciesForSites($siteIds: [String], $tenantId: String) {\n deletePoliciesBySiteId(siteIds: $siteIds, tenantId: $tenantId) {\n ids\n }\n}\n "])));function fm(){return Do.useMutation(pm)}var mm=ko()(ui||(ui=(0,bo.Z)(["\n query DeviceParameters($deviceId: String, $deviceModel: String, $siteId: String, $sendOnlyChanged: Boolean, $tenantId: String, $groupId: String) {\n getDeviceParametersExtended(tenantId: $tenantId, deviceId: $deviceId, deviceModel: $deviceModel, siteId: $siteId, groupId: $groupId, sendOnlyChanged: $sendOnlyChanged) {\n ...ExtendedDeviceParameter\n }\n}\n ",""])),Bl);function hm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:mm},e))}var ym=ko()(ci||(ci=(0,bo.Z)(["\n mutation ProvisioningSync($deviceId: String!) {\n requestProvisioningSync(deviceId: $deviceId) {\n success\n error\n }\n}\n "])));function gm(){return Do.useMutation(ym)}var Tm=ko()(di||(di=(0,bo.Z)(["\n query EpUpdateImages($deviceModel: String, $isGlobal: Boolean) {\n getEpUpdateImages(deviceModel: $deviceModel, isGlobal: $isGlobal) {\n ...UpdateImage\n }\n}\n ",""])),Zl);function vm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Tm},e))}var Em=ko()(pi||(pi=(0,bo.Z)(["\n query describeCertificate($deviceId: String!) {\n describeCertificate(deviceId: $deviceId) {\n ...deviceCertificate\n }\n}\n ",""])),Gl);function _m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Em},e))}var Sm=ko()(fi||(fi=(0,bo.Z)(["\n mutation InstallCertificate($deviceId: String!, $certificate: DeviceCertificate!) {\n installCertificate(deviceId: $deviceId, certificate: $certificate) {\n ...deviceCertificate\n }\n}\n ",""])),Gl);function Nm(){return Do.useMutation(Sm)}var Im=ko()(mi||(mi=(0,bo.Z)(["\n mutation UninstallCertificate($deviceId: String!) {\n uninstallCertificate(deviceId: $deviceId) {\n success\n error\n deviceId\n }\n}\n "])));function Cm(){return Do.useMutation(Im)}var Am=ko()(hi||(hi=(0,bo.Z)(["\n mutation UpdateDeviceOS($deviceId: String!) {\n updateDeviceOS(deviceId: $deviceId) {\n success\n error\n }\n}\n "])));function Rm(){return Do.useMutation(Am)}var Om=ko()(yi||(yi=(0,bo.Z)(["\n query TenantRelayDevices($filter: Filter, $limit: Int, $sort: DeviceSort, $from: Int) {\n devices(filter: $filter, limit: $limit, sort: $sort, from: $from) {\n ...tenantRelayDevice\n }\n}\n ",""])),Jl);function bm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Om},e))}var Lm=ko()(gi||(gi=(0,bo.Z)(["\n query DeviceDetails($filter: Filter, $limit: Int = 1, $from: Int = 0) {\n devices(filter: $filter, limit: $limit, from: $from) {\n ...device\n }\n}\n ",""])),$l);function km(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Lm},e))}ko()(Ti||(Ti=(0,bo.Z)(["\n query Device($id: String!) {\n device(id: $id) {\n ...device\n }\n}\n ",""])),$l);var Dm=ko()(vi||(vi=(0,bo.Z)(["\n query DeviceStatuses($id: String!) {\n device(id: $id) {\n id\n systemStatus {\n data {\n com {\n poly {\n device {\n status {\n provisioning {\n state\n }\n globaldirectory {\n state\n }\n ipnetwork {\n state\n }\n trackablecamera {\n state\n }\n camera {\n state\n }\n audio {\n state\n }\n remotecontrol {\n state\n }\n logthreshold {\n state\n }\n autoanswerp2p {\n state\n }\n sipserver {\n state\n }\n gatekeeper {\n state\n }\n calendar {\n state\n }\n mcu {\n state\n }\n wifi {\n state\n }\n microphones {\n state\n }\n soundstationip7000 {\n state\n }\n soundstructure {\n state\n }\n eagleeyeview {\n state\n }\n timeserver {\n state\n }\n cloudsvc {\n state\n }\n gspairing {\n state\n }\n polyserver {\n state\n }\n meetingpassword {\n state\n }\n eagleeyedirector {\n state\n }\n visualboard {\n state\n }\n presenceservice {\n state\n }\n cce {\n state\n }\n inacall {\n state\n }\n }\n }\n }\n }\n }\n error {\n message\n }\n }\n }\n}\n "])));function xm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Dm},e))}ko()(Ei||(Ei=(0,bo.Z)(["\n query DeviceDetailsUser($id: ID!) {\n user(id: $id) {\n user {\n user_id\n name\n given_name\n family_name\n connections {\n id\n softwareVersion\n softwareBuild\n lastDetected\n hardwareModel\n hardwareRevision\n hardwareProduct\n connected\n tenantId\n name\n }\n }\n }\n}\n "])));var Pm=ko()(_i||(_i=(0,bo.Z)(["\n query AvailableSoftwareByModelId($hardwareModelId: ID!) {\n hardwareModel(id: $hardwareModelId) {\n modelProducts {\n edges {\n node {\n availableProductSoftware {\n version\n productBuild {\n version\n build\n }\n }\n }\n }\n }\n }\n}\n "])));function Um(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Pm},e))}var wm=ko()(Si||(Si=(0,bo.Z)(["\n mutation RestartDevice($id: String!, $includeLinkedDevices: Boolean) {\n rebootDevice(deviceId: $id, includeLinkedDevices: $includeLinkedDevices) {\n success\n error\n }\n}\n "])));function Mm(){return Do.useMutation(wm)}var Vm=ko()(Ni||(Ni=(0,bo.Z)(["\n mutation FactoryReset($options: FactoryResetOptions, $deviceId: String!) {\n factoryReset(options: $options, deviceId: $deviceId) {\n success\n error\n }\n}\n "])));function jm(){return Do.useMutation(Vm)}var Fm=ko()(Ii||(Ii=(0,bo.Z)(["\n query deviceLines($deviceId: String!) {\n capabilitiesQuery(deviceId: $deviceId) {\n com {\n poly {\n service_information {\n ...DeviceLine\n }\n }\n }\n }\n}\n ",""])),Ql);function Bm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Fm},e))}var Zm=ko()(Ci||(Ci=(0,bo.Z)(["\n mutation RequestDeviceLogs($deviceId: String!) {\n requestUploadDeviceLog(deviceId: $deviceId, erase: true) {\n success\n error\n }\n}\n "])));function Gm(){return Do.useMutation(Zm)}var Jm=ko()(Ai||(Ai=(0,bo.Z)(["\n query FetchDeviceLogs($deviceId: String!) {\n accessLogUrl(deviceId: $deviceId) {\n success\n uploadedOn\n url\n }\n}\n "])));function Hm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Jm},e))}var Wm=ko()(Ri||(Ri=(0,bo.Z)(["\n mutation RequestToggleFlash($deviceId: String!, $enableFlash: Boolean!) {\n toggleLogToFlash(deviceId: $deviceId, enableFlash: $enableFlash) {\n requestedValue\n result\n error\n }\n}\n "])));function Ym(){return Do.useMutation(Wm)}var qm=ko()(Oi||(Oi=(0,bo.Z)(["\n query GetFlashStatus($deviceId: String!) {\n logToFlashStatus(deviceId: $deviceId) {\n requestedValue\n result\n error\n }\n}\n "])));function Km(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:qm},e))}var zm=ko()(bi||(bi=(0,bo.Z)(["\n mutation WakeDeviceCamera($deviceId: String!) {\n wakeDeviceCamera(deviceId: $deviceId) {\n success\n }\n}\n "])));function Xm(){return Do.useMutation(zm)}var $m=ko()(Li||(Li=(0,bo.Z)(["\n mutation RequestStartUploadPCAP($filter: String!, $interval: Int!, $timeout: Int!, $size: Int!, $deviceId: String!) {\n requestStartUploadDevicePCAP(deviceId: $deviceId, interval: $interval, filter: $filter, timeout: $timeout, size: $size) {\n success\n error\n pcapStopTime\n }\n}\n "])));function Qm(){return Do.useMutation($m)}var eh=ko()(ki||(ki=(0,bo.Z)(["\n mutation RequestStopUploadPCAP($deviceId: String!) {\n requestStopUploadDevicePCAP(deviceId: $deviceId) {\n success\n error\n }\n}\n "])));function nh(){return Do.useMutation(eh)}var th=ko()(Di||(Di=(0,bo.Z)(["\n query FetchDevicePCAP($deviceId: String!) {\n accessPCAPUrl(deviceId: $deviceId) {\n success\n error\n uploadedOn\n url\n pcapStopTime\n }\n}\n "])));function ah(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:th},e))}ko()(xi||(xi=(0,bo.Z)(["\n query getPCAPEnabled($deviceId: String!, $tenantId: String!) {\n getPolicies(deviceId: $deviceId, tenantId: $tenantId) {\n ...policy\n groupId\n modifiedBy\n priority\n swSupportUpdatePath {\n deviceModel\n swPath\n }\n }\n}\n ",""])),Vl);var ih=ko()(Pi||(Pi=(0,bo.Z)(["\n mutation setPCAPEnabled($tenantId: String!, $policy: PolicyInput!) {\n updatePolicy(policy: $policy, tenantId: $tenantId) {\n ...policy\n groupId\n modifiedBy\n priority\n swSupportUpdatePath {\n deviceModel\n swPath\n }\n }\n}\n ",""])),Vl);function rh(){return Do.useMutation(ih)}var oh=ko()(Ui||(Ui=(0,bo.Z)(["\n mutation RequestUploadDeviceScreen($deviceId: String!) {\n requestUploadDeviceScreen(deviceId: $deviceId) {\n success\n error\n url\n uploadedOn\n pcapStopTime\n }\n}\n "])));function lh(){return Do.useMutation(oh)}var sh=ko()(wi||(wi=(0,bo.Z)(["\n query AccessScreenUrl($deviceId: String!) {\n accessScreenUrl(deviceId: $deviceId) {\n success\n error\n url\n uploadedOn\n pcapStopTime\n }\n}\n "])));function uh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:sh},e))}var ch=ko()(Mi||(Mi=(0,bo.Z)(["\n query networkLines($deviceId: String!) {\n capabilitiesQuery(deviceId: $deviceId) {\n com {\n poly {\n network_information {\n interfaces {\n value {\n status\n cdpstatus\n connectionmode\n connectionspeed\n connectiontype\n dnsalternativeaddress\n dnsdomain\n dnsprimaryaddress\n eapmethod\n ipv4address\n ipv4addresssource\n ipv4gateway\n ipv4subnet\n ipv4vlan\n ipv6addresssource\n ipv6globaladdress\n ipv6linklocaladdress\n ipv6ula\n lldplocationinformation\n lldpneighbors\n lldpstatus\n ntpserver\n provisioningprotocol\n pcportstatus\n interfacename\n vlan\n security\n ssid\n wifistatus\n }\n }\n }\n }\n }\n }\n}\n "])));function dh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ch},e))}var ph=ko()(Vi||(Vi=(0,bo.Z)(["\n query primaryDeviceInfoLines($deviceId: String!) {\n capabilitiesQuery(deviceId: $deviceId) {\n com {\n poly {\n primary_device_information {\n ...C10PDI\n }\n }\n }\n }\n}\n ",""])),es);function fh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ph},e))}ko()(ji||(ji=(0,bo.Z)(["\n query GetDeviceSettingsName($deviceModel: String) {\n getAllDeviceParameters(deviceModel: $deviceModel) {\n name\n friendlyName\n type\n }\n}\n "])));ko()(Fi||(Fi=(0,bo.Z)(["\n query GetSite($site: String!) {\n getSite(id: $site) {\n id\n name\n address {\n address1\n country\n city\n region\n postalCode\n }\n rooms {\n id\n name\n }\n }\n}\n "])));var mh=ko()(Bi||(Bi=(0,bo.Z)(["\n query HardwareModelDetails($id: ID!) {\n hardwareModel(id: $id) {\n id\n name\n supportsPolicies\n aliases\n }\n}\n "])));function hh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:mh},e))}var yh=ko()(Zi||(Zi=(0,bo.Z)(["\n query OsState($id: String!) {\n device(id: $id) {\n ...OSState\n }\n}\n ",""])),ns);function gh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:yh},e))}var Th=ko()(Gi||(Gi=(0,bo.Z)(["\n mutation UpdateSite($site: UpsertSiteRequest!) {\n upsertSite(fields: $site) {\n id\n name\n }\n}\n "])));function vh(){return Do.useMutation(Th)}var Eh=ko()(Ji||(Ji=(0,bo.Z)(["\n query deviceStateSubscription($id: String!) {\n device(id: $id) {\n id\n callStatus\n systemStatus {\n data {\n ...SystemStatusData\n }\n error {\n message\n }\n }\n }\n}\n ",""])),Xl);function _h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Eh},e))}var Sh=ko()(Hi||(Hi=(0,bo.Z)(["\n query GetAccessTokenList($tenantId: String, $after: Cursor, $first: Int) {\n searchAccessTokens: ns_ls_searchClientAuthTokens(tenantId: $tenantId, after: $after, first: $first) {\n ...AccessTokenDataConnection\n }\n}\n ",""])),is);function Nh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Sh},e))}var Ih=ko()(Wi||(Wi=(0,bo.Z)(["\n query GetAccessToken($recordId: ID!) {\n getAccessToken: ns_ls_getClientAuthToken(recordId: $recordId) {\n ...AccessTokenData\n }\n}\n ",""])),ts);function Ch(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ih},e))}var Ah=ko()(Yi||(Yi=(0,bo.Z)(["\n mutation CreateAccessToken($tenantId: String!) {\n createAccessToken: ns_ls_createAuthToken(tenantId: $tenantId) {\n ...AccessTokenData\n }\n}\n ",""])),ts);function Rh(){return Do.useMutation(Ah)}var Oh=ko()(qi||(qi=(0,bo.Z)(["\n mutation DeleteAccessToken($recordId: ID!) {\n deleteAccessToken: ns_ls_deleteAuthToken(recordId: $recordId) {\n ...AccessTokenData\n }\n}\n ",""])),ts);function bh(){return Do.useMutation(Oh)}var Lh=ko()(Ki||(Ki=(0,bo.Z)(["\n query GetAuditEventList($tenantId: String, $after: Cursor, $first: Int) {\n searchAuditEvents: ns_ls_searchAudits(tenantId: $tenantId, after: $after, first: $first) {\n ...AuditEventDataConnection\n }\n}\n ",""])),ls);function kh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Lh},e))}var Dh=ko()(zi||(zi=(0,bo.Z)(["\n query GetAuditEvent($recordId: ID!) {\n getAuditEvent: ns_ls_getAudit(recordId: $recordId) {\n ...AuditEventData\n }\n}\n ",""])),rs);function xh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Dh},e))}var Ph=ko()(Xi||(Xi=(0,bo.Z)(["\n query GetEntitlementGroupingSetList($tenantId: String!, $groupingId: String, $assignedToTenant: Boolean, $after: Cursor, $first: Int) {\n searchEntitlementGroupingSets: ns_ls_searchEntitlementGroupingSets(tenantId: $tenantId, assignedToTenant: $assignedToTenant, groupingId: $groupingId, after: $after, first: $first) {\n ...EntitlementGroupingSetDataConnection\n }\n}\n ",""])),ps);function Uh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ph},e))}var wh=ko()($i||($i=(0,bo.Z)(["\n query GetEntitlement($recordId: ID!) {\n entitlement: ns_ls_getEntitlement(recordId: $recordId) {\n ...EntitlementData\n }\n}\n ",""])),us);function Mh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:wh},e))}var Vh=ko()(Qi||(Qi=(0,bo.Z)(["\n mutation AssignEntitlementValue($groupingId: ID!, $purchasedProductRecordId: ID!, $value: Int!) {\n assignEntitlementValue: ns_ls_assignEntitlementValue(groupingId: $groupingId, instanceRecordId: $purchasedProductRecordId, value: $value) {\n ...EntitlementGroupingSetData\n }\n}\n ",""])),cs);function jh(){return Do.useMutation(Vh)}var Fh=ko()(er||(er=(0,bo.Z)(["\n mutation DeleteEntitlementGroup($tenantId: String, $groupingId: String!) {\n searchDeleteEntitlements: ns_ls_searchDeleteEntitlements(tenantId: $tenantId, groupingId: $groupingId)\n}\n "])));function Bh(){return Do.useMutation(Fh)}var Zh=ko()(nr||(nr=(0,bo.Z)(["\n mutation ReleaseEntitlementValue($groupingId: ID!, $purchasedProductRecordId: ID!, $value: Int!) {\n releaseEntitlementValue: ns_ls_releaseEntitlementValue(groupingId: $groupingId, instanceRecordId: $purchasedProductRecordId, value: $value) {\n ...EntitlementGroupingSetData\n }\n}\n ",""])),cs);function Gh(){return Do.useMutation(Zh)}var Jh=ko()(tr||(tr=(0,bo.Z)(["\n mutation CreateEntitlement($entitlement: ns_ls_EntitlementIn!) {\n createEntitlement: ns_ls_addEntitlement(entitlement: $entitlement) {\n ...EntitlementData\n }\n}\n ",""])),us);function Hh(){return Do.useMutation(Jh)}var Wh=ko()(ar||(ar=(0,bo.Z)(["\n mutation ReleaseEntitlement($recordId: ID!) {\n releaseEntitlement: ns_ls_releaseEntitlement(recordId: $recordId) {\n ...EntitlementData\n }\n}\n ",""])),us);function Yh(){return Do.useMutation(Wh)}ko()(ir||(ir=(0,bo.Z)(["\n mutation UpdateEntitlement($entitlement: ns_ls_EntitlementIn!) {\n updateEntitlement: ns_ls_updateEntitlement(entitlement: $entitlement) {\n ...EntitlementData\n }\n}\n ",""])),us);var qh=ko()(rr||(rr=(0,bo.Z)(["\n mutation UpdateEntitlementGroup($tenantId: String!, $groupId: String!, $activationCode: String, $mappingId1: String, $mappingId2: String, $value: String, $begins: String, $expires: String) {\n updateEntitlementGroup: ns_ls_setEntitlementGroupEditables(tenantId: $tenantId, groupId: $groupId, activationCode: $activationCode, mappingId1: $mappingId1, mappingId2: $mappingId2, value: $value, begins: $begins, expires: $expires) {\n ...EntitlementGroupingSetData\n }\n}\n ",""])),cs);function Kh(){return Do.useMutation(qh)}var zh=ko()(or||(or=(0,bo.Z)(["\n query GetLatestProductVersionsList {\n getLatestProductVersions: ns_ls_getLatestProductVersions {\n ...ProductLatestVersionListData\n }\n}\n ",""])),ms);function Xh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:zh},e))}var $h=ko()(lr||(lr=(0,bo.Z)(["\n query GetProductIds {\n getProductIds: ns_ls_getProductIds {\n productIds\n }\n}\n "])));function Qh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:$h},e))}var ey=ko()(sr||(sr=(0,bo.Z)(["\n query GetProductVersions($productId: String!) {\n getProductVersions: ns_ls_getProductVersions(productId: $productId) {\n ...ProductVersionsData\n }\n}\n ",""])),hs);function ny(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ey},e))}var ty=ko()(ur||(ur=(0,bo.Z)(["\n query GetProductSoftwareCatalog($productId: String!, $version: String!) {\n getProductSoftwareCatalog: ns_ls_getSoftwareCatalog(productId: $productId, version: $version) {\n ...ProductSoftwareCatalogData\n }\n}\n ",""])),gs);function ay(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ty},e))}var iy=ko()(cr||(cr=(0,bo.Z)(["\n query GetPurchasedProductList($tenantId: String, $after: Cursor, $first: Int) {\n searchPurchasedProducts: ns_ls_searchInstances(tenantId: $tenantId, after: $after, first: $first) {\n ...PurchasedProductDataConnection\n }\n}\n ",""])),Es);function ry(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:iy},e))}var oy=ko()(dr||(dr=(0,bo.Z)(["\n query GetPurchasedProduct($recordId: ID!) {\n getPurchasedProduct: ns_ls_getInstance(recordId: $recordId) {\n ...PurchasedProductData\n }\n}\n ",""])),Ts);function ly(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:oy},e))}var sy=ko()(pr||(pr=(0,bo.Z)(["\n query GetLicense($recordId: ID!) {\n getLicense: ns_ls_getLastLicense(recordId: $recordId)\n}\n "])));function uy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:sy},e))}var cy=ko()(fr||(fr=(0,bo.Z)(["\n query GetInitialLicenseRequest($recordId: ID!) {\n getInitialLicenseRequest: ns_ls_getInitialLicenseRequest(recordId: $recordId)\n}\n "])));function dy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:cy},e))}var py=ko()(mr||(mr=(0,bo.Z)(["\n mutation CreateStandardPurchasedProduct($requestValue: String!, $tenantId: String!) {\n createPurchasedProduct: ns_ls_createInstance(b64Request: $requestValue, tenantId: $tenantId) {\n ...PurchasedProductData\n }\n}\n ",""])),Ts);function fy(){return Do.useMutation(py)}var my=ko()(hr||(hr=(0,bo.Z)(["\n mutation CreateRestrictivePurchasedProduct($createFromData: ns_ls_CreateRestrictiveInstanceDataIn!) {\n createPurchasedProduct: ns_ls_createAltInstance(createFromData: $createFromData) {\n ...PurchasedProductData\n }\n}\n ",""])),Ts);function hy(){return Do.useMutation(my)}var yy=ko()(yr||(yr=(0,bo.Z)(["\n mutation DeletePurchasedProduct($recordId: ID!) {\n deletePurchasedProduct: ns_ls_deleteInstance(recordId: $recordId) {\n ...PurchasedProductData\n }\n}\n ",""])),Ts);function gy(){return Do.useMutation(yy)}var Ty=ko()(gr||(gr=(0,bo.Z)(["\n mutation ProcessLicenseRequest($recordId: ID!, $requestValue: String!) {\n processLicenseRequest: ns_ls_processLicenseRequest(recordId: $recordId, requestValue: $requestValue)\n}\n "])));function vy(){return Do.useMutation(Ty)}var Ey=ko()(Tr||(Tr=(0,bo.Z)(["\n mutation ProcessAltLicenseRequest($recordId: ID!, $requestValue: String!) {\n processLicenseRequest: ns_ls_generateAlternateLicense(recordId: $recordId, ackValue: $requestValue)\n}\n "])));function _y(){return Do.useMutation(Ey)}var Sy=ko()(vr||(vr=(0,bo.Z)(["\n mutation ProcessLicenseAck($recordId: ID!, $requestValue: String!) {\n ackPurchasedProduct: ns_ls_ackInstance(recordId: $recordId, requestValue: $requestValue)\n}\n "])));function Ny(){return Do.useMutation(Sy)}var Iy=ko()(Er||(Er=(0,bo.Z)(["\n mutation ReleasePurchasedProduct($recordId: ID!, $requestValue: String!) {\n releasePurchasedProduct: ns_ls_releaseInstance(recordId: $recordId, requestValue: $requestValue)\n}\n "])));function Cy(){return Do.useMutation(Iy)}var Ay=ko()(_r||(_r=(0,bo.Z)(["\n mutation UpdatePurchasedProduct($recordId: ID!, $hostName: String, $niceName: String, $version: String, $serialNumber: String) {\n updatePurchasedProduct: ns_ls_setInstanceEditables(recordId: $recordId, hostName: $hostName, niceName: $niceName, version: $version, serialNumber: $serialNumber) {\n ...PurchasedProductData\n }\n}\n ",""])),Ts);function Ry(){return Do.useMutation(Ay)}var Oy=ko()(Sr||(Sr=(0,bo.Z)(["\n mutation deleteMockRecords($tenantId: String!) {\n deleteMockRecords(tenantId: $tenantId) {\n resultCode\n }\n}\n "])));function by(){return Do.useMutation(Oy)}var Ly=ko()(Nr||(Nr=(0,bo.Z)(["\n mutation generateLicense($tenantId: String!, $userId: String!, $quantity: Float = 10, $sku: String) {\n generateLicense(tenantId: $tenantId, userId: $userId, quantity: $quantity, sku: $sku) {\n licenseKey\n sku\n endDate\n activationDate\n tenantId\n userId\n details\n quantity\n }\n}\n "])));function ky(){return Do.useMutation(Ly)}var Dy=ko()(Ir||(Ir=(0,bo.Z)(["\n query licenseDetails($licenseKey: String!) {\n license(licenseKey: $licenseKey) {\n licenseKey\n sku\n userId\n endDate\n tenantId\n activationDate\n quantity\n isMockLicense\n consolidatedKey\n type\n expired\n models\n canceled\n details\n }\n}\n "])));function xy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Dy},e))}var Py=ko()(Cr||(Cr=(0,bo.Z)(["\n query licenseCount($tenantId: String!, $type: LicenseTypeInput, $canceled: Boolean) {\n licenseCount(tenantId: $tenantId, type: $type, canceled: $canceled)\n}\n "])));function Uy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Py},e))}var wy=ko()(Ar||(Ar=(0,bo.Z)(["\n query licenses($tenantId: String!, $type: LicenseTypeInput, $searchTerm: String, $canceled: Boolean, $sort: LicenseSortObject, $from: Int, $limit: Int) {\n licenses(tenantId: $tenantId, type: $type, searchTerm: $searchTerm, canceled: $canceled, sort: $sort, from: $from, limit: $limit) {\n licenseKey\n userId\n endDate\n activationDate\n quantity\n type\n }\n count: licenseCount(tenantId: $tenantId, type: $type, searchTerm: $searchTerm, canceled: $canceled)\n}\n "])));function My(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:wy},e))}var Vy=ko()(Rr||(Rr=(0,bo.Z)(["\n mutation activateLicense($tenantId: String!, $userId: String!, $licenseKey: String!) {\n activateLicense(tenantId: $tenantId, userId: $userId, licenseKey: $licenseKey) {\n licenseKey\n sku\n endDate\n activationDate\n tenantId\n userId\n details\n }\n}\n "])));function jy(){return Do.useMutation(Vy)}var Fy=ko()(Or||(Or=(0,bo.Z)(["\n query verifyLicenseKey($licenseKey: String!) {\n verifyLicenseKey(licenseKey: $licenseKey) {\n success\n error\n availableLicenses {\n ...availableLicense\n }\n }\n}\n ",""])),_s);function By(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Fy},e))}var Zy=ko()(br||(br=(0,bo.Z)(["\n mutation CreateGroupPolicy($input: GroupPolicyInput!) {\n createPolicyCapabilities(input: $input) {\n id\n collectionId\n name\n priority\n type\n settingsCount\n hardwareModel {\n id\n name\n }\n }\n}\n "])));function Gy(){return Do.useMutation(Zy)}var Jy=ko()(Lr||(Lr=(0,bo.Z)(["\n mutation UpdateGroupPolicy($input: GroupPolicyInput!) {\n updatePolicyCapabilities(input: $input) {\n id\n }\n}\n "])));function Hy(){return Do.useMutation(Jy)}var Wy=ko()(kr||(kr=(0,bo.Z)(["\n mutation PushGroupPolicyToDevice($deviceId: String!, $productId: String) {\n pushDevicePolicyCapabilities(deviceId: $deviceId, productId: $productId) {\n deviceId\n }\n}\n "])));function Yy(){return Do.useMutation(Wy)}var qy=ko()(Dr||(Dr=(0,bo.Z)(["\n mutation DeleteGroupPolicies($policyIds: [String!]!) {\n deletePoliciesCapabilities(policyIds: $policyIds)\n}\n "])));function Ky(){return Do.useMutation(qy)}var zy=ko()(xr||(xr=(0,bo.Z)(["\n query GroupPolicies($rules: Rule!) {\n policiesCapabilities(rules: $rules) {\n id\n name\n collectionId\n settingsCount\n priority\n type\n hardwareModel {\n id\n name\n }\n }\n}\n "])));function Xy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:zy},e))}var $y=ko()(Pr||(Pr=(0,bo.Z)(["\n query UserGroupPoliciesPriorities($rules: Rule!) {\n policiesCapabilities(rules: $rules) {\n id\n priority\n }\n}\n "])));function Qy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:$y},e))}var eg=ko()(Ur||(Ur=(0,bo.Z)(["\n query AvailablePolicyCapabilities($propertyValue: String!, $propertyPath: String!) {\n capabilitiesSuperset(propertyValue: $propertyValue, propertyPath: $propertyPath) {\n id\n constraints {\n options\n }\n }\n}\n "])));function ng(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:eg},e))}ko()(wr||(wr=(0,bo.Z)(["\n query AutoCreatedPolicies($tenantId: String!) {\n getAutoCreatedPolicies(tenantId: $tenantId) {\n deviceModel\n deviceModelUuid\n }\n}\n "])));ko()(Mr||(Mr=(0,bo.Z)(["\n query ReadGroup($groupId: String!) {\n readGroup(groupId: $groupId) {\n groupId\n }\n}\n "])));var tg=ko()(Vr||(Vr=(0,bo.Z)(["\n query AllPoliciesGroups($tenantId: String!) {\n getAllGroups(tenantId: $tenantId) {\n groups {\n groups {\n name\n id\n policies\n }\n }\n groupId\n }\n}\n "])));function ag(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:tg},e))}var ig=ko()(jr||(jr=(0,bo.Z)(["\n query UserGroupsForTenant($tenantId: String!) {\n userGroupsForTenant(tenantId: $tenantId) {\n id\n name\n source\n }\n}\n "])));function rg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ig},e))}var og=ko()(Fr||(Fr=(0,bo.Z)(["\n query GetUserGroupDevices($id: String!, $tenantId: String!) {\n getUserGroup(id: $id, tenantId: $tenantId) {\n id\n name\n users {\n user {\n user_id\n name\n connections {\n tenantId\n id\n model {\n name\n id\n supportsPolicies\n }\n name\n supportsSettings\n }\n }\n }\n }\n}\n "])));function lg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:og},e))}var sg=ko()(Br||(Br=(0,bo.Z)(["\n query GetUserGroup($id: String!, $tenantId: String!) {\n getUserGroup(id: $id, tenantId: $tenantId) {\n id\n name\n }\n}\n "])));function ug(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:sg},e))}var cg=ko()(Zr||(Zr=(0,bo.Z)(["\n query GetDeviceName($id: String!) {\n device(id: $id) {\n id\n name\n productId\n serialNumber\n hardwareModel\n lastConfigRequestDate\n }\n}\n "])));function dg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:cg},e))}var pg=ko()(Gr||(Gr=(0,bo.Z)(["\n query AddressLookup($address: ID!) {\n postalLookup(q: $address) {\n formattedAddress\n buildingNumber\n street\n countryName\n city\n regionCode\n zip\n geohash\n }\n}\n "])));function fg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:pg},e))}var mg=ko()(Jr||(Jr=(0,bo.Z)(["\n query HardwareModels {\n hardwareModels {\n ...hardwareModel\n }\n}\n ",""])),Ss);function hg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:mg},e))}var yg=ko()(Hr||(Hr=(0,bo.Z)(['\n query SupportsProvisioningOnboarding {\n hardwareModels(query: {filter: {clauses: {field: supportsProvisioning, comparisonOperator: EQUAL, value: "true"}}}) {\n id\n name\n }\n}\n '])));function gg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:yg},e))}var Tg=ko()(Wr||(Wr=(0,bo.Z)(['\n query SupportsUSBOnboarding {\n hardwareModels(query: {filter: {clauses: {field: supportsPolicies, comparisonOperator: EQUAL, value: "true"}}}) {\n id\n name\n skus {\n id\n }\n }\n}\n '])));function vg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Tg},e))}var Eg=ko()(Yr||(Yr=(0,bo.Z)(["\n mutation registerDevice($device: RegisterDeviceRequest!) {\n registerDevice(device: $device) {\n success\n deviceId\n error\n }\n}\n "])));function _g(){return Do.useMutation(Eg)}var Sg=ko()(qr||(qr=(0,bo.Z)(["\n query SitesAndRooms($tenantId: String) {\n sites(tenantId: $tenantId) {\n id\n name\n deviceCount\n address {\n formattedAddress\n address1\n city\n region\n postalCode\n country\n geohash\n }\n roomCount\n rooms {\n id\n name\n floor\n capacity\n devices {\n ...RoomDevice\n }\n }\n }\n}\n ",""])),Xo);function Ng(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Sg},e))}var Ig=ko()(Kr||(Kr=(0,bo.Z)(["\n query getResourceFiles($tenantId: String!) {\n getAllResourceFiles(tenantId: $tenantId) {\n ...ResourceFile\n }\n}\n ",""])),Ns);function Cg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Ig},e))}var Ag=ko()(zr||(zr=(0,bo.Z)(["\n mutation addResourceFile($tenantId: String, $userId: String, $file: String, $fileName: String!, $fileSize: Float) {\n addResourceFile(tenantId: $tenantId, userId: $userId, file: $file, fileName: $fileName, fileSize: $fileSize) {\n status\n errors\n }\n}\n "])));function Rg(){return Do.useMutation(Ag)}var Og=ko()(Xr||(Xr=(0,bo.Z)(["\n mutation deleteResourceFiles($tenantId: String, $fileNames: [String]) {\n deleteResourceFiles(tenantId: $tenantId, fileNames: $fileNames) {\n status\n errors\n }\n}\n "])));function bg(){return Do.useMutation(Og)}var Lg=ko()($r||($r=(0,bo.Z)(["\n mutation createRoom($fields: UpsertRoomRequest!) {\n upsertRoom(fields: $fields) {\n id\n name\n floor\n capacity\n site {\n id\n name\n }\n }\n}\n "])));function kg(){return Do.useMutation(Lg)}var Dg=ko()(Qr||(Qr=(0,bo.Z)(["\n query Room($id: String!) {\n room(id: $id) {\n ...RoomData\n }\n}\n ",""])),Os);function xg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Dg},e))}var Pg=ko()(eo||(eo=(0,bo.Z)(["\n query MTRRoomDevices($id: String!) {\n room(id: $id) {\n id\n ...RoomDevices\n }\n}\n ",""])),Rs);function Ug(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Pg},e))}var wg=ko()(no||(no=(0,bo.Z)(["\n mutation UpdateRoom($details: UpsertRoomRequest!) {\n upsertRoom(fields: $details) {\n ...RoomData\n }\n}\n ",""])),Os);function Mg(){return Do.useMutation(wg)}var Vg=ko()(to||(to=(0,bo.Z)(["\n mutation SwitchRoomSite($tenantId: String!, $siteId: String!, $roomId: String!) {\n switchSite(tenantId: $tenantId, siteId: $siteId, roomId: $roomId) {\n ...RoomData\n }\n}\n ",""])),Os);function jg(){return Do.useMutation(Vg)}var Fg=ko()(ao||(ao=(0,bo.Z)(["\n mutation DeleteRooms($tenantId: String!, $roomIds: [String!]!) {\n deleteRooms(tenantId: $tenantId, ids: $roomIds) {\n error\n success\n id\n }\n}\n "])));function Bg(){return Do.useMutation(Fg)}var Zg=ko()(io||(io=(0,bo.Z)(["\n query CountDevices($totalCountFilter: Filter!, $connectedCountFilter: Filter!) {\n count: countDevices(filter: $totalCountFilter)\n connectedCount: countDevices(filter: $connectedCountFilter)\n}\n "])));function Gg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Zg},e))}ko()(ro||(ro=(0,bo.Z)(['\n query CountUnassignedDevices($tenantId: String!) {\n count: countDevices(filter: {AND: [{eq: "Unassigned", field: "site"}, {eq: $tenantId, field: "tenantId"}]})\n}\n '])));ko()(oo||(oo=(0,bo.Z)(['\n query CountDevicesInUnassignedRooms($tenantId: String!) {\n count: countDevices(filter: {AND: [{eq: "Unassigned", field: "room"}, {eq: $tenantId, field: "tenantId"}]})\n}\n '])));var Jg=ko()(lo||(lo=(0,bo.Z)(["\n query SitesListForTenant($tenantId: ID!, $params: SiteConnectionParams) {\n tenant(id: $tenantId) {\n id\n siteData(params: $params) {\n total\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...SitesListEdges\n }\n }\n }\n}\n ",""])),bs);function Hg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Jg},e))}var Wg=ko()(so||(so=(0,bo.Z)(["\n query SitesCountForTenant($tenantId: ID!) {\n tenant(id: $tenantId) {\n id\n siteCount: siteData(params: {sort: {field: UNASSIGNED_FIRST, direction: DESC}}) {\n total\n edges {\n node {\n id\n name\n }\n }\n }\n }\n}\n "])));function Yg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:Wg},e))}var qg=ko()(uo||(uo=(0,bo.Z)(["\n query RoomsListForTenant($tenantId: ID!, $params: RoomConnectionParams) {\n tenant(id: $tenantId) {\n id\n roomData(params: $params) {\n total\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n ...RoomsListEdges\n }\n }\n roomCount: roomData(params: {sort: {field: ROOM_NAME, direction: DESC}}) {\n total\n }\n }\n}\n ",""])),ks);function Kg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:qg},e))}var zg=ko()(co||(co=(0,bo.Z)(["\n query getSubnetRules($input: GetSubnetRulesInput!) {\n getSubnetRules(getSubnetRulesInput: $input) {\n id\n publicCidr\n privateCidr\n }\n}\n "])));function Xg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:zg},e))}var $g=ko()(po||(po=(0,bo.Z)(["\n query checkSubnetRuleValidity($input: SubnetRuleValidityInput!) {\n getSubnetRuleValidity(subnetRuleValidityInput: $input) {\n result\n ruleId\n siteId\n siteName\n }\n}\n "])));function Qg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:$g},e))}var eT=ko()(fo||(fo=(0,bo.Z)(["\n mutation updateSubnetRule($input: UpdateSubnetRuleInput!) {\n updateSubnetRule(updateSubnetRuleInput: $input) {\n id\n }\n}\n "])));function nT(){return Do.useMutation(eT)}var tT=ko()(mo||(mo=(0,bo.Z)(["\n mutation deleteSubnetRule($input: DeleteSubnetRuleInput!) {\n deleteSubnetRule(deleteSubnetRuleInput: $input) {\n id\n }\n}\n "])));function aT(){return Do.useMutation(tT)}var iT=ko()(ho||(ho=(0,bo.Z)(["\n mutation createSubnetRule($input: CreateSubnetRuleInput!) {\n createSubnetRule(createSubnetRuleInput: $input) {\n id\n publicCidr\n privateCidr\n }\n}\n "])));function rT(){return Do.useMutation(iT)}var oT=ko()(yo||(yo=(0,bo.Z)(['\n query siteOverview($siteId: String!, $tenantId: String!) {\n site(id: $siteId) {\n id\n name\n rooms {\n id\n name\n floor\n capacity\n type\n size\n devices {\n id\n name\n }\n }\n address {\n address1\n formattedAddress\n }\n }\n countDevices(filter: {AND: [{field: "siteUUID", eq: $siteId}, {field: "tenantId", eq: $tenantId}]})\n}\n '])));function lT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:oT},e))}var sT=ko()(go||(go=(0,bo.Z)(["\n query SiteIdsForTenant($tenantId: String!) {\n sites(tenantId: $tenantId) {\n id\n }\n}\n "])));function uT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:sT},e))}var cT=ko()(To||(To=(0,bo.Z)(["\n query siteNameAndAddress($id: String!) {\n site(id: $id) {\n name\n address {\n address1\n address2\n city\n region\n postalCode\n country\n latitude\n longitude\n geohash\n formattedAddress\n }\n }\n}\n "])));function dT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:cT},e))}var pT=ko()(vo||(vo=(0,bo.Z)(["\n query siteName($id: String!) {\n siteName: site(id: $id) {\n id\n name\n }\n}\n "])));function fT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:pT},e))}var mT=ko()(Eo||(Eo=(0,bo.Z)(["\n mutation DeleteSites($ids: [String!]!, $tenantId: String!, $deleteRooms: Boolean) {\n deleteSites(ids: $ids, tenantId: $tenantId, deleteRooms: $deleteRooms) {\n id\n success\n error\n }\n}\n "])));function hT(){return Do.useMutation(mT)}var yT=ko()(_o||(_o=(0,bo.Z)(["\n mutation RestartDevicesBySite($siteId: String!) {\n rebootDevicesBySiteId(siteId: $siteId) {\n success\n error\n }\n}\n "])));function gT(){return Do.useMutation(yT)}var TT=ko()(So||(So=(0,bo.Z)(["\n mutation resendVerifyEmail($id: ID!, $clientId: ID) {\n resendVerifyEmail(id: $id, clientId: $clientId) {\n userId\n }\n}\n "])));function vT(){return Do.useMutation(TT)}var ET=ko()(No||(No=(0,bo.Z)(["\n query emailVerified {\n user {\n user {\n user_id\n email_verified\n }\n }\n}\n "])));function _T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ET},e))}var ST=ko()(Io||(Io=(0,bo.Z)(["\n query HardwareProducts {\n hardwareProducts {\n ...product\n }\n}\n ",""])),Ds);function NT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:ST},e))}var IT=ko()(Co||(Co=(0,bo.Z)(["\n query PolyPlusEnabled($tenantId: String!) {\n polyPlusEnabled(tenantId: $tenantId)\n}\n "])));function CT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:IT},e))}var AT=ko()(Ao||(Ao=(0,bo.Z)(["\n query ActiveLicenseTypes($tenantId: String!) {\n activeLicenseTypes(tenantId: $tenantId)\n}\n "])));function RT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Do.useQuery((0,Oo.Z)({query:AT},e))}var OT=ko()(Ro||(Ro=(0,bo.Z)(["\n mutation SetUserMetaData($input: UserMetaDataInput!) {\n setUserMetaData(input: $input) {\n user {\n user_metadata {\n info {\n acceptedToS\n theme\n highContrastCharts\n lastTenantId\n ackAdblockWarning\n subnetInstructions\n }\n }\n }\n }\n}\n "])));function bT(){return Do.useMutation(OT)}},99156:function(e,n,t){"use strict";var a=t(7584),i=t(14563),r=t(47969),o=i.vm.dataDogToken,l=i.vm.envName,s=i.vm.version;o?a.fy.init({clientToken:o,forwardErrorsToLogs:!1,sampleRate:100,env:l,version:s}):a.fy.init({clientToken:"invalid",datacenter:void 0}),a.fy.logger.setHandler(r.x.handler),a.fy.logger.setLevel(r.x.level),a.fy.setLoggerGlobalContext({env:l}),a.fy.logger.info("Init DD logs",r.x),window.datadogLogs=a.fy},47969:function(e,n,t){"use strict";t.d(n,{x:function(){return u}});var a=t(7584),i=t(14563).vm.dataDogToken,r={development:a.W7.console,production:a.W7.http,test:a.W7.console},o={development:a.i8.info,production:a.i8.warn,test:a.i8.warn},l=r.production||a.W7.console,s=o.production||a.i8.error;i||(l=a.W7.console);var u={handler:l,level:s}},60366:function(e,n,t){"use strict";t.d(n,{_H:function(){return O},mo:function(){return k},Sj:function(){return j},X2:function(){return B},_U:function(){return F}});t(99156);var a=t(57994),i=t(98907),r=t(64428),o=t(82359),l=t(16798),s=t(95764),u=t(96902),c=t(22816),d=t(14563),p=t(50907),f=t(82933),m=t(25796),h=t(62178),y=t(58512),g=t(82333),T=t(85358),v=function(){var e=(0,T.Z)((0,g.Z)().mark((function e(n){var t,a;return(0,g.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(n));case 2:return t=e.sent,a=Array.from(new Uint8Array(t)).map((function(e){return e.toString(16).padStart(2,"0")})).join(""),e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),E=t(21645),_=t(90497),S=function(e){var n=(0,E.Kd)(e.email),t=(0,E._Y)(e.email),a=["@poly.com"].some((function(n){return e.email.endsWith(n)}));return{isPoly:a,domain:t,full_domain:n,isNew:e[_.e_]}},N=t(29938),I="search",C=d.vm.googleAnalyticsId,A=d.vm.isDataDogUser,R=d.vm.verboseAnalyticsLogs;!A&&C?c.ZP.initialize(C,{gaOptions:{cookieFlags:"SameSite=None; Secure"}}):(c.ZP.initialize("invalid",{debug:R,gaOptions:{cookieFlags:"SameSite=None; Secure"}}),c.ZP.set({sendHitTask:null}));var O={model:"dimension1",software_version:"dimension2",free2:"dimension3",domain:"dimension4",full_domain:"dimension5",user_id:"dimension6",location_scope:"dimension7",time_period:"dimension8",tenant_id:"dimension9"},b=function(e,n){var t=e.location,a=(0,f.Qc)(t.search),i="";a[I]&&(i="?"+(0,p.stringify)((0,l.Z)({},I,a[I])));var r=function(e,n){var t=e.reduce((function(e,t){var a=(0,f.LX)(n,{path:t});if(!a)return e;var i=Object.keys(a.params).length;if(!(i>0))return e;var r=e.match,o=e.paramsCount;if(!r)return{match:a,paramsCount:i};var l=i>o,s=i===o,u=a.path.length>r.path.length;return l||s&&u?{match:a,paramsCount:i}:e}),{match:null,paramsCount:0});return t.match||null}(n,t.pathname),o=t.pathname,u=o;r?u=function(e,n){var t=n.params,a=n.path,i=n.url,r=n.isExact,o=Object.keys(t).reduce((function(e,n){return(0,s.Z)((0,s.Z)({},e),{},(0,l.Z)({},n,":"+n))}),{}),u=(0,f.Gn)(a,o);return r?u:e.replace(i,u)}(o,r):"/"===u&&(u="/home"),o+=i,c.ZP.set({page:o,contentGroup5:u}),c.ZP.pageview(o)},L=function(e){(0,r.Z)(t,e);var n=(0,o.Z)(t);function t(){var e;(0,a.Z)(this,t);for(var i=arguments.length,r=new Array(i),o=0;o1&&void 0!==arguments[1]?arguments[1]:"PriorityInsights",t=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;return function(){var i;c.ZP.ga("send","event",n,"Clicked",e,(i={},(0,l.Z)(i,O.location_scope,t),(0,l.Z)(i,O.time_period,a),(0,l.Z)(i,"nonInteraction",!1),i)),D.v.addUserAction("PriorityInsightClicked",{insightName:e,category:n})}},B=function(e){c.ZP.event({action:"Clicked",category:"UserAction",nonInteraction:!1,label:e})}},41338:function(e,n,t){"use strict";t.d(n,{J_:function(){return B},f6:function(){return Q},mL:function(){return d},w9:function(){return G},gr:function(){return J},rY:function(){return u},cQ:function(){return X},RZ:function(){return Y},mg:function(){return W},$Q:function(){return p},xj:function(){return q},UR:function(){return c}});var a=t(82333),i=t(85358),r=t(14380),o=t(31574),l=t(22816),s=t(9363),u=function(e){var n=e.definitions.find((function(e){return e.kind===o.h.OPERATION_DEFINITION&&e.name}));return void 0!==n&&n.name?n.name.value:null};function c(e){var n;return e?(0,s.isString)(e)?e:null!==(n=null===e||void 0===e?void 0:e.message)&&void 0!==n?n:"":""}var d=function(e){var n=function(n){var t=n.error,o=n.operation;if(t)return function(n,t){var o=t.response,s=t.networkError,d=t.graphQLErrors,p=u(n.query)||"Unknown Operation";(0,r.zG)(function(){var n=o,l=function(n){return e.error("Failed to even read the graphql error response",{error:n,operation:p})};if(!n)return e.info("No response on the request",{operation:p}),(0,r._A)(t);var u=n.status,c=n.statusText;if(401===u)return(0,r._A)(t);var f=function(){var e=(0,i.Z)((0,a.Z)().mark((function e(n){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.text();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0="";case 6:return e.abrupt("return",e.t0);case 9:return e.prev=9,e.t1=e.catch(0),l(e.t1),e.abrupt("return","");case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(n){return e.apply(this,arguments)}}(),m=(0,r.zG)((0,r._A)(n),(0,r.hX)((function(){return!d||0===d.length})),(0,r.zg)((function(e){return(0,r.p4)(f(e))})),(0,r.UI)((function(e){try{if(e.length>0&&"application/json"===n.headers.get("content-type"))return JSON.parse(e)}catch(t){return l(t),e}return e})),(0,r.UI)((function(e){return{response:{status:u,statusText:c,body:e},networkError:s,graphQLErrors:d}}))),h=(0,r.zG)((0,r._A)(d),(0,r.hX)((function(){return d&&0!==d.length})),(0,r.UI)((function(){return{response:{status:u,statusText:c,body:""},networkError:s,graphQLErrors:d}})));return(0,r.TS)([m,h])}(),(0,r.hX)((function(e){var n;return 401!==(null===e||void 0===e||null===(n=e.response)||void 0===n?void 0:n.status)})),(0,r.Ld)((function(t){var a=t.response,i=t.networkError,r={graphQLErrors:t.graphQLErrors.slice(0,10).map((function(e){var n,t;return e.message||(null===(n=e.extensions)||void 0===n?void 0:n.code)||(null===(t=e.originalError)||void 0===t?void 0:t.message)})),response:a,networkError:c(i)};e.error("Failed Graphql ".concat(n.kind),{operation:p,error:r}),l.ZP.exception({description:"Failed Graphql ".concat(n.kind),fatal:!1})})))}(o,t)};return function(e){var t=e.forward;return function(e){return(0,r.zG)(e,t,(0,r.bw)(n))}}},p=function(e){var n=e.forward;return function(e){return n(e)}},f=t(96902),m=t(90666),h=t(87698),y=t(25825),g=t(29938),T=function(e){var n=e.error,t=e.i18nKey,a=(0,y.$G)().t;return(0,g.jsx)(g.Fragment,{children:a(t||"ERROR_LOADING_DATA",{message:n.message||""})})},v=t(95764),E=t(99710),_=t(81034),S=t(57994),N=t(98907),I=t(64428),C=t(82359),A=t(4392),R=t(6827);var O=t(60861);function b(e,n,t){return b=(0,O.Z)()?Reflect.construct.bind():function(e,n,t){var a=[null];a.push.apply(a,n);var i=new(Function.bind.apply(e,a));return t&&(0,R.Z)(i,t.prototype),i},b.apply(null,arguments)}function L(e){var n="function"===typeof Map?new Map:void 0;return L=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,a)}function a(){return b(e,arguments,(0,A.Z)(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),(0,R.Z)(a,e)},L(e)}var k=t(15287),D=t(68508),x=t(13403),P=t(9041);function U(e){return void 0!==e.kind}function w(e){return function(n){return n.some((function(n){return!!U(n)&&n.kind===e}))}}w("OperationDefinition"),w("FragmentDefinition");function M(e){return e.name.value}function V(e){var n=[];return(0,x.Vn)(e,{FragmentSpread:function(e){n.push(M(e))}}),n}var j=t(52815),F=["kind","query","context"],B=function(e){(0,I.Z)(t,e);var n=(0,C.Z)(t);function t(){var e;return(0,S.Z)(this,t),(e=n.call(this,"All selections were removed by feature flags.")).code="AllSelectionRemovedError",e}return(0,N.Z)(t,null,[{key:"isType",value:function(e){return"AllSelectionRemovedError"===(null===e||void 0===e?void 0:e.code)}}]),t}(L(Error)),Z=["subscription","mutation","query"],G=function(e){var n=e.flags,t=e.schema,a=e.optimizely,i=e.readyOpts;return function(e){var o=e.forward,l=(0,k.Z)(t),s=a.isReady(),u=a.onReady(i);u.then((function(){s=!0}));var c=function(e){var t=e.kind,i=e.query,r=e.context,o=(0,_.Z)(e,F);if(!Z.includes(t))return e;var s=function(e,n,t,a){var i=new P.a(n),r=function(e,n,t,a){var i=!1,r=function(e){try{var n=t.isFeatureEnabled(e);return i=i||!n,n}catch(a){return!0}};function o(e){var n=e.selectionSet;if(0===(null===n||void 0===n?void 0:n.selections.length))return null}var l=(0,x.Vn)(a,(0,P.y)(n,{SelectionSet:{enter:function(t){var a=t.selections.filter((function(t){if("Field"===t.kind){var a=n.getParentType();if((0,D.lp)(a)||(0,D.oT)(a)){var i,o=a.getFields()[t.name.value];if(!o)return!1;var l=o.name,s=a.name,u=null===(i=e[s])||void 0===i?void 0:i[l];if(u&&function(e){var n=(0,D.zP)(e);n||console.warn("Cannot flag control non nullable field types.");return n}(o.type))return r(u)}}return!0}));return(0,v.Z)((0,v.Z)({},t),{},{selections:a})}},Field:{leave:function(e){return e.selectionSet?o({selectionSet:e.selectionSet}):e}},OperationDefinition:{leave:o}}));return[l,i]}(e,i,t,a),o=(0,E.Z)(r,2),l=o[0],s=o[1];if(!s)return[a,!1];var u=J(l);return[H(l,u),!0]}(n,l,a,i),u=(0,E.Z)(s,2),c=u[0],d=u[1];return 0===c.definitions.length?(0,v.Z)((0,v.Z)({},e),{},{context:(0,v.Z)((0,v.Z)({},r),{},{removeFlags:d,invalidDueToRemovedFlags:!0})}):(0,v.Z)((0,v.Z)({},o),{},{kind:t,context:(0,v.Z)((0,v.Z)({},r),{},{removeFlags:d}),query:c})};return function(e){var n=(0,r.BN)(e),t=(0,r.zG)(n,(0,r.hX)((function(e){return"teardown"===e.kind}))),a=(0,r.zG)(n,(0,r.hX)((function(e){return"teardown"!==e.kind}))),i=(0,r.zG)(a,(0,r.UI)((function(e){return[e,c(e)]})),(0,r.zg)((function(e){var t=(0,E.Z)(e,2),a=t[0],i=t[1];if(s||!i.context.removeFlags)return(0,r._A)(i);var o=(0,r.zG)(n,(0,r.hX)((function(e){return"teardown"===e.kind&&e.key===i.key})));return(0,r.zG)((0,r.p4)(u),(0,r.UI)((function(){return c(a)})),(0,r.Rs)(o))}))),l=(0,r.BN)(i),d=(0,r.zG)((0,r.TS)([l,t]),(0,r.hX)((function(e){var n;return!0!==(null===(n=e.context)||void 0===n?void 0:n.invalidDueToRemovedFlags)})),o),p=(0,r.zG)(l,(0,r.hX)((function(e){var n;return!0===(null===(n=e.context)||void 0===n?void 0:n.invalidDueToRemovedFlags)})),(0,r.UI)((function(e){return{operation:e,error:new j.C({graphQLErrors:[new B]}),data:void 0}})));return(0,r.TS)([p,d])}}};function J(e){var n=function(e){var n=new Set;return(0,x.Vn)(e,{OperationDefinition:function(e){V(e).forEach((function(e){return n.add(e)}))}}),n}(e),t={};return(0,x.Vn)(e,{FragmentSpread:function(e,a,i,r,o){var l,s=M(e),u=function(e){return e.reduce((function(e,n){return U(n)&&"FragmentDefinition"===n.kind?M(n):e}),null)}(o);u&&n.has(u)&&(n.add(s),null===(l=t[s])||void 0===l||l.forEach((function(e){return n.add(e)})))},FragmentDefinition:function(e){var a=M(e),i=V(e);n.has(a)?i.forEach((function(e){return n.add(e)})):t[a]=i}}),n}function H(e,n){return(0,x.Vn)(e,{FragmentDefinition:{enter:function(e){var t=M(e);return n.has(t)?e:null}}})}var W={notify:{handler:function(){},__kind:"handler"}},Y={notify:{handler:function(){},__kind:"handler"},noLogout:!0},q=function(e){var n=function(n){var t,a=null===(t=n.operation.context)||void 0===t?void 0:t.notify;if("handler"===(null===a||void 0===a?void 0:a.__kind)){var i=a.handler;if("function"===typeof i)return void i(n)}var r=n.error;if(r&&!(r.graphQLErrors.length>=1&&r.graphQLErrors.every((function(e){var n=e.originalError;return B.isType(n)})))){var o=r.response;if(!o||401!==o.status){var l=f.createElement(T,{error:r}),s=(null===a||void 0===a?void 0:a.dismiss)||m.GP.SLOW;return"message"===(null===a||void 0===a?void 0:a.__kind)&&(l=a.message),"key"===(null===a||void 0===a?void 0:a.__kind)&&(l=f.createElement(T,{error:r,i18nKey:a.i18nKey})),void e({id:"useQueryResponseError",type:"error",message:l,dismiss:s})}e({id:"token_invalid",message:f.createElement(h.gn),type:"error",dismiss:"NOT_DISMISSIBLE"})}};return function(e){var t=e.forward;return function(e){return(0,r.zG)(e,t,(0,r.bw)(n))}}},K=t(7584),z=t(22209),X=function(e){var n=e.forward,t=new Map,a=function(e){var n=e.key,a=e.query,i=e.kind;"teardown"!==i&&"subscription"!==i&&t.set(n,{startDate:new Date,operation:(0,z.zv)(a)})},i=function(e){var n=e.operation,a=n.key,i=n.kind;if("teardown"!==i&&"subscription"!==i){var r=t.get(a);if(r){var o=r.startDate,l=r.operation,s=(new Date).getTime();t.delete(a);var u=s-o.getTime();K.fy.logger.debug("Completed ".concat(i),{operation:l,duration:u}),u>6e3&&K.fy.logger.warn("Slow ".concat(i),{operation:l,duration:u})}}};return function(e){return(0,r.zG)(e,(0,r.bw)(a),n,(0,r.bw)(i))}},$=["data"],Q=function(e){var n=e.dispatch;return function(e){var t=e.forward,a=function(e){e.data;var t=(0,_.Z)(e,$);n((0,z.ZJ)(t))};return function(e){return(0,r.zG)(e,t,(0,r.bw)(a))}}}},1378:function(e,n,t){"use strict";t.r(n),t.d(n,{AllSelectionRemovedError:function(){return c.J_},Mutation:function(){return Dn.mm},Query:function(){return Dn.AE},Subscription:function(){return Dn.w0},cacheLoggerExchange:function(){return c.f6},default:function(){return Wn},errorLoggerExchange:function(){return c.mL},featureExchange:function(){return c.w9},findUsedFragments:function(){return c.gr},getOperationName:function(){return c.rY},loggerExchange:function(){return c.cQ},noLogoutOnAuthErrorContext:function(){return c.RZ},noOpNotifyContext:function(){return c.mg},noopExchange:function(){return c.$Q},notifyExchange:function(){return c.xj},parseNetworkError:function(){return c.UR},useMutation:function(){return Jn},useQuery:function(){return Gn},useSubscription:function(){return Hn}});var a=t(99710),i=t(96902),r=t(97488),o=t(69368),l=t(14380);function s(){return(s=Object.assign||function(e){for(var n=1;n=a-1||(f(e.operation),!1))}))((0,l.BN)(u((0,l.TS)([c,m]))))}}}var c=t(41338),d=t(95764);function p(){return(p=Object.assign||function(e){for(var n=1;nf)==("after"===a)?p.concat(E):E.concat(p),f=v}}}return r.resolve(l,s,t)?p:o.store.schema?(o.partial=!0,p):void 0}}}var S=t(37122),N=t(31574),I=t(25546);function C(e){return e.name.value}function A(e){return e.typeCondition.name.value}function R(e){return e.alias?e.alias.value:C(e)}function O(e){return e.selectionSet?e.selectionSet.selections:[]}function b(e){return e.typeCondition?C(e.typeCondition):null}function L(e){return e.kind===N.h.FIELD}function k(e){return e.kind===N.h.INLINE_FRAGMENT}function D(e,n){var t={},a=0;if(e.arguments&&e.arguments.length)for(var i=0,r=e.arguments.length;i0?t:null}function x(e,n){if(n&&e.variableDefinitions){for(var t={},a=0,i=e.variableDefinitions.length;a-1?{fieldKey:e,fieldName:e.slice(0,n),arguments:JSON.parse(e.slice(n+1,-1))}:{fieldKey:e,fieldName:e,arguments:null}}function K(e){var n=e.indexOf(".");return{entityKey:e.slice(0,n).replace(/%2e/g,"."),fieldKey:e.slice(n+1)}}function z(){return Object.create(null)}var X=null,$=null,Q=null,ee=null,ne=!1;function te(){return{optimistic:z(),base:new Map}}function ae(e,n,t,a){X=e,$=n,Q=z(),ne=!!a,t?a||n.optimisticOrder.length>0?(a||n.commutativeKeys.has(t)?a&&n.commutativeKeys.delete(t):ve(n,t),ee=t,function(e,n){-1===e.optimisticOrder.indexOf(n)&&e.optimisticOrder.unshift(n),e.refLock[n]||(e.refLock[n]=z(),e.links.optimistic[n]=new Map,e.records.optimistic[n]=new Map)}(n,t)):(ee=null,_e(n,t)):ee=null}function ie(){var e=$,n=ee;if(ne=!1,ee=null,n&&e.optimisticOrder.indexOf(n)>-1)for(var t=e.optimisticOrder.length;--t>=0&&e.refLock[e.optimisticOrder[t]]&&e.commutativeKeys.has(e.optimisticOrder[t]);)Se(e.optimisticOrder[t]);X=null,$=null,Q=null,e.defer||(e.defer=!0,Promise.resolve().then((function(){ae("read",e,null),$.gc.forEach((function(e,n,t){if(($.refCount[e]||0)>0)t.delete(e);else{for(var a in $.refLock){var i=$.refLock[a];if((i[e]||0)>0)return;delete i[e]}delete $.refCount[e],t.delete(e),$.records.base.delete(e);var r=$.links.base.get(e);if(r)for(var o in $.links.base.delete(e),r)ce(t,$.refCount,r[o],-1)}})),function(){if($.storage){ne=!0,X="read";var e=z();$.persist.forEach((function(n){var t,a=K(n),i=a.entityKey,r=a.fieldKey;void 0!==(t=ye(i,r))?e[n]=":"+(0,f.g)(t):void 0!==(t=he(i,r))?e[n]=(0,f.g)(t):e[n]=void 0})),ne=!1,$.storage.writeData(e),$.persist.clear()}}(),ie(),e.defer=!1})))}function re(e,n,t){ae("read",e,n,t),ie()}function oe(){return w(null!==Q,"",2),Q}function le(e,n,t,a){var i=ee?e.optimistic[ee]:e.base,r=i.get(n);void 0===r&&i.set(n,r=z()),void 0!==a||ee?r[t]=a:delete r[t]}function se(e,n,t){for(var a,i=!ne&&"read"===X&&ee&&$.commutativeKeys.has(ee),r=0,o=$.optimisticOrder.length;r0&&e.delete(t))}function ce(e,n,t,a){if("string"==typeof t)ue(e,n,t,a);else if(Array.isArray(t))for(var i=0,r=t.length;i-1&&(e.optimisticOrder.splice(t,1),e.commutativeKeys.delete(n)),Ee(e,n)}function Se(e){var n=Q;Q=z();var t=$.links.optimistic[e];t&&t.forEach((function(e,n){for(var t in e)Te(n,t,e[t])}));var a=$.records.optimistic[e];a&&a.forEach((function(e,n){for(var t in e)ge(n,t,e[t])})),Q=n,_e($,e)}function Ne(e){var n=$.links,t=$.records,a=[],i=new Set;return fe(e),pe(a,i,e,n),pe(a,i,e,t),a}var Ie={current:null};function Ce(e){return e.__internal.path.length>0&&e.__internal.errorMap?e.__internal.errorMap[e.__internal.path.join(".")]:void 0}function Ae(e,n,t,a,i,r,o){var l={store:e,variables:n,fragments:t,parent:{__typename:a},parentTypeName:a,parentKey:i,parentFieldKey:"",fieldName:"",error:void 0,partial:!1,optimistic:!!r,__internal:{path:[],errorMap:void 0}};if(o&&o.graphQLErrors)for(var s=0;s1?t-1:0),i=1;i0&&a.forEach((function(e){t.invalidate({__typename:"Policy",policyId:e})})),en(t)},deletePolicyById:function(e,n,t){n.policyId&&(t.invalidate({__typename:"Policy",policyId:n.policyId}),en(t))},deletePoliciesBySiteId:function(e,n,t){n.siteIds&&n.siteIds.length&&(t.invalidate("Query","getPolicies"),en(t,{siteIds:n.siteIds.filter((function(e){return!!e}))}))},deletePoliciesCapabilities:function(e,n,t){var a=n.policyIds;a&&(null===a||void 0===a?void 0:a.length)>0&&a.forEach((function(e){t.invalidate({__typename:"GroupPolicy",id:e})})),en(t)},disassociateWithResource:function(e,n,t){n.accessorId&&t.invalidate({__typename:"User",user_id:n.accessorId})},setDeviceSettingsWithXML:function(e,n,t){n.id&&(t.invalidate({__typename:"SettingXMLResponse",id:n.id}),t.invalidate({__typename:"SettingResponse",id:n.id}))},updateDevice:function(e,n,t){var a,i,r,o,l,s;n.id&&null!==(a=e.updateDevice)&&void 0!==a&&null!==(i=a.tenant)&&void 0!==i&&i.id&&(null!==(r=n.fields)&&void 0!==r&&r.room||null!==(o=n.fields)&&void 0!==o&&o.site)&&nn(t,null===(l=e.updateDevice)||void 0===l||null===(s=l.tenant)||void 0===s?void 0:s.id)},unregisterDevice:function(e,n,t){n.deviceId&&(t.invalidate({__typename:"Device",id:n.deviceId}),t.invalidate({__typename:"Query",id:"getPolicies"}),en(t,{deviceId:n.deviceId}))},rebootDevice:function(e,n,t){n.deviceId&&t.invalidate({__typename:"Device",id:n.deviceId})},updateProvisioningAccount:function(e,n,t){var a;(null===(a=n.account)||void 0===a?void 0:a.uuid)||t.invalidate({__typename:"Query",id:"getProvisioningAccounts"})},upsertRoom:function(e,n,t){n.fields&&n.fields.siteId&&(n.fields.id||t.invalidate("Query","getSite",{id:n.fields.siteId}),nn(t,n.fields.tenantId))},deleteRooms:function(e,n,t){nn(t,n.tenantId)},upsertSite:function(e,n,t){n.fields&&t.invalidate({__typename:"Query",id:"countDevices"})},deleteSites:function(e,n,t){var a;null===(a=n.ids)||void 0===a||a.forEach((function(e){t.invalidate({__typename:"Site",id:e})}))},registerDevice:function(e,n,t){n.device&&n.device.tenantId&&(t.invalidate("Query","sites",{tenantId:n.device.tenantId}),t.invalidate("Query","devices",{tenantId:n.device.tenantId})),t.invalidate({__typename:"Query",id:"countDevices"}),t.invalidate({__typename:"Query",id:"deviceAggregations"})},upsertDeviceSettings:function(e,n,t){n.id&&(t.invalidate({__typename:"SettingResponse",id:n.id}),t.invalidate({__typename:"SettingXMLResponse",id:n.id}))},mergeInternalTenants:function(e,n,t){t.invalidate({__typename:"Query",id:"countDevices"}),t.invalidate({__typename:"Query",id:"deviceAggregations"}),t.invalidate({__typename:"Query",id:"users"});var a=n.mergeToTenantId;a?t.invalidate({__typename:"Site",id:a}):t.invalidate({__typename:"Query",id:"sites"})},createTenant:function(e,n,t){var a;if(null!==(a=e.createTenant)&&void 0!==a&&a.tenant){var i,r=t.inspectFields("Query").filter((function(e){return"tenants"===e.fieldName})).sort((function(e,n){return e.arguments&&n.arguments?Number(n.arguments.from)-Number(e.arguments.from):0})),o=e.createTenant.tenant,l=o.id,s=o.name,u=o.type,c=null===(i=r[0].arguments)||void 0===i?void 0:i.from,d=r.filter((function(e){var n=e.arguments;return(null===n||void 0===n?void 0:n.from)===c}));d.length&&d.forEach((function(e){t.updateQuery({query:$e.dd$,variables:e.arguments},(function(e){if(!e)return null;var n=e.tenants.slice();return n.push({__typename:"Tenant",id:l,name:s,type:null!==u&&void 0!==u?u:$e.tty.Enterprise,sites:{__typename:"SiteConnection",count:0},rooms:{__typename:"RoomConnection",count:0},deviceCount:0,memberCount:0}),{__typename:"Query",tenants:n}}))})),t.updateQuery({query:$e.r1p},(function(e){return null!==e&&void 0!==e&&e.tenantCount?{__typename:"Query",tenantCount:e.tenantCount+1}:e}))}},deleteTenant:function(e,n,t){var a;if(null!==(a=e.deleteTenant)&&void 0!==a&&a.id){var i=e.deleteTenant.id;t.updateQuery({query:$e.r1p},(function(e){return null!==e&&void 0!==e&&e.tenantCount?{__typename:"Query",tenantCount:e.tenantCount-1}:e})),t.inspectFields("Query").filter((function(e){return"tenants"===e.fieldName})).forEach((function(e){var n=e.arguments;t.updateQuery({query:$e.dd$,variables:n},(function(e){return e?{__typename:"Query",tenants:e.tenants.slice().filter((function(e){return e.id!==i}))}:null}))}))}},createGroup:function(e,n,t){t.invalidate({__typename:"Query",id:"readAllGroups"})},deleteGroups:function(e,n,t){t.invalidate({__typename:"Query",id:"readAllGroups"})},updateGroup:function(e,n,t){n.groupId&&(t.invalidate({__typename:"GroupDto",id:n.groupId}),t.invalidate({__typename:"MetadataResponse",groupId:n.groupId}))},updateDeviceGroupPriority:function(e,n,t){en(t,{deviceId:n.serial})},importUserGroups:function(e,n,t){if(e.importUserGroups){var a=n.tenantId;a&&t.invalidate("Query","userGroupsForTenant",{tenantId:a})}},saveUserGroup:function(e,n,t){var a,i;if(e.saveUserGroup){var r=n.tenantId;if(r){var o=e.saveUserGroup,l=o.id,s=o.name,u=o.updatedAt,c=o.createdAt,d=o.genericUsers,p=o.source;if(l&&s&&u&&c&&void 0!==d&&p){var f=null!==(a=e.saveUserGroup.description)&&void 0!==a?a:null,m=null!==(i=e.saveUserGroup.policies)&&void 0!==i?i:null,h={tenantId:r};t.updateQuery({query:$e.uNg,variables:h},(function(e){if(null===e||void 0===e||!e.userGroupsForTenant.find((function(e){return e.id===l})))return null===e||void 0===e||e.userGroupsForTenant.push({__typename:"UserGroup",id:l,name:s,source:p}),e;var n=e.userGroupsForTenant.map((function(e){return e.id!==l?e:{__typename:"UserGroup",id:l,name:s,source:p}}));return e.userGroupsForTenant=n,e})),t.updateQuery({query:$e.kuw,variables:h},(function(e){return null!==e&&void 0!==e&&e.userGroupsForTenant.find((function(e){return e.id===l}))?(e.userGroupsForTenant.forEach((function(e,n,t){e.id===l&&(t[n]={__typename:"UserGroup",id:l,name:s,updatedAt:u,createdAt:c,genericUsers:d,source:p,description:f,policies:m})})),e):(null===e||void 0===e||e.userGroupsForTenant.push({__typename:"UserGroup",id:l,name:s,updatedAt:u,createdAt:c,genericUsers:d,source:p,description:f,policies:m}),e)})),t.invalidate("Query","getUserGroup",{id:l,tenantId:r})}}}},deleteUserGroup:function(e,n,t){if(null!==e&&void 0!==e&&e.deleteUserGroup&&!e.deleteUserGroup.error){var a=n.tenantId,i=n.id;if(a&&i){var r=function(e){var n,t,a,r=null!==(n=null===e||void 0===e||null===(t=e.userGroupsForTenant)||void 0===t?void 0:t.findIndex((function(e){return e.id===i})))&&void 0!==n?n:-1;r>-1&&(null===e||void 0===e||null===(a=e.userGroupsForTenant)||void 0===a||a.splice(r,1));return e},o={tenantId:a};t.updateQuery({query:$e.kuw,variables:o},r),t.updateQuery({query:$e.uNg,variables:o},r),t.invalidate("Query","getUserGroup",{id:i,tenantId:a})}}},mutateUserGroupMembership:function(e,n,t){if(null!==e&&void 0!==e&&e.mutateUserGroupMembership){var a=n.tenantId,i=n.groupId,r=n.newUsers,o=n.removedUsers;if(a&&i&&void 0!==r&&void 0!==o){var l={tenantId:a};t.updateQuery({query:$e.kuw,variables:l},(function(e){return null!==e&&void 0!==e&&e.userGroupsForTenant?(e.userGroupsForTenant.forEach((function(e,n,t){var a;e.id===i&&(t[n]=(0,d.Z)((0,d.Z)({},e),{},{genericUsers:"GenericUserList"===(null===(a=e.genericUsers)||void 0===a?void 0:a.__typename)?{__typename:"GenericUserList",items:e.genericUsers.items.filter((function(e){var n,t,a;return!o.concat(r).includes(null!==(n=null===e||void 0===e||null===(t=e.user)||void 0===t||null===(a=t.user)||void 0===a?void 0:a.user_id)&&void 0!==n?n:"")})).concat(r.map((function(e){return{__typename:"GenericUser",user:{__typename:"UserResponse",user:{__typename:"User",user_id:e}}}})))}:e.genericUsers}))})),e):e})),t.invalidate("Query","getUserGroup",{id:i,tenantId:a})}}},upsertClientCredential:function(e,n,t){e.upsertClientCredential&&t.invalidate({__typename:"Query",id:"clientCredentials"})},deleteClientCredentials:function(e,n,t){e.deleteClientCredentials&&t.invalidate({__typename:"Query",id:"clientCredentials"})},activateLicense:function(e,n,t){t.invalidate({__typename:"Query",id:"licenses"}),t.invalidate({__typename:"Query",id:"licenseCount"})},generateLicense:function(e,n,t){t.invalidate({__typename:"Query",id:"licenses"}),t.invalidate({__typename:"Query",id:"licenseCount"})},deleteMockRecords:function(e,n,t){t.invalidate({__typename:"Query",id:"licenses"}),t.invalidate({__typename:"Query",id:"licenseCount"})},entitleDevices:function(e,n,t){t.invalidate({__typename:"Query",id:"licenses"})},entitleAllDevicesForModel:function(e,n,t){t.invalidate({__typename:"Query",id:"licenses"})},ncEnableUser:function(e,n,t){var a=n.input;a&&a.user_id&&a.tenantId&&t.updateQuery({query:$e.hwm,variables:{user_id:a.user_id,tid:a.tenantId}},(function(n){if(!n)return null;var t=e.ncEnableUser;return(0,d.Z)((0,d.Z)({},n),{},{ncPoly:(0,d.Z)((0,d.Z)({},n.ncPoly),{},{userAudience:(0,d.Z)((0,d.Z)({},t),{},{__typename:"Audience"})})})}))},ncAddRecipient:function(e,n,t){var a,i=null===(a=n.input)||void 0===a?void 0:a.audienceId,r=t.readFragment($e.vHB,{__typename:"Audience",id:i});r&&(r.recipients.push(e),t.writeFragment($e.vHB,r))},ncEnableTenant:function(e,n,t){var a=n.id;a&&t.updateQuery({query:$e.EVj,variables:{tenantId:a}},(function(n){if(!n)return null;var t=e.ncEnableTenant;return(0,d.Z)((0,d.Z)({},n),{},{tenant:(0,d.Z)((0,d.Z)({},n.tenant),{},{audience:(0,d.Z)((0,d.Z)({},t),{},{__typename:"Audience"})})})}))},ncCreateTeamsWebhookForTenant:function(e,n,t){var a,i=n.tenantId;i&&((null===(a=e.ncCreateTeamsWebhookForTenant)||void 0===a?void 0:a.id)&&t.updateQuery({query:$e.y_h,variables:{id:i}},(function(n){var t;return n?(null===(t=n.tenant.teamsWebhooks)||void 0===t||t.push(e.ncCreateTeamsWebhookForTenant),n):null})))},ncDeleteTeamsWebhook:function(e,n,t){var a=n.id;a&&t.invalidate({__typename:"TeamsHook",id:a})},ncCreateServiceNowWebhook:function(e,n,t){var a,i=n.tenantId;i&&((null===(a=e.ncCreateServiceNowWebhook)||void 0===a?void 0:a.id)&&t.updateQuery({query:$e.hFi,variables:{id:i}},(function(n){var t;return n?(null===(t=n.tenant.serviceNowWebhooks)||void 0===t||t.push(e.ncCreateServiceNowWebhook),n):null})))},ncDeleteServiceNowWebhook:function(e,n,t){var a=n.id;a&&t.invalidate({__typename:"ServiceNowWebhook",id:a})},importToLens:function(e,n,t){e.importToLens&&t.inspectFields("Query").filter((function(e){var t=e.fieldName,a=e.fieldKey;return["devices","deviceAggregations","countDevices"].includes(t)&&(!n.tenantId||a.includes(n.tenantId))})).forEach((function(e){var n=e.fieldKey;t.invalidate("Query",n)}))},ns_ls_createAuthToken:function(e,n,t){Qe(t,"ns_ls_searchClientAuthTokens")},ns_ls_deleteAuthToken:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_ClientAuthToken",recordId:n.recordId})},ns_ls_addEntitlement:function(e,n,t){Qe(t,"ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_updateEntitlement:function(e,n,t){Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_assignEntitlement:function(e,n,t){Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_combineEntitlements:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Entitlement",recordId:n.recordId}),n.toRecordId&&t.invalidate({__typename:"ns_ls_Entitlement",recordId:n.toRecordId}),Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_deleteEntitlement:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Entitlement",recordId:n.recordId}),Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_splitEntitlement:function(e,n,t){n.existingEntitlementRecordId&&t.invalidate({__typename:"ns_ls_Entitlement",recordId:n.existingEntitlementRecordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_unassignEntitlement:function(e,n,t){Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_releaseEntitlement:function(e,n,t){Qe(t,"ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_searchDeleteEntitlements:function(e,n,t){Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_assignEntitlementValue:function(e,n,t){Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_releaseEntitlementValue:function(e,n,t){Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_getInstance","ns_ls_searchInstances")},ns_ls_createAltInstance:function(e,n,t){Qe(t,"ns_ls_searchInstances")},ns_ls_createInstance:function(e,n,t){Qe(t,"ns_ls_searchInstances")},ns_ls_deleteInstance:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Instance",recordId:n.recordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView")},ns_ls_releaseInstance:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Instance",recordId:n.recordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView")},ns_ls_processLicenseRequest:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Instance",recordId:n.recordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView")},ns_ls_generateAlternateLicense:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Instance",recordId:n.recordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView")},ns_ls_ackInstance:function(e,n,t){n.recordId&&t.invalidate({__typename:"ns_ls_Instance",recordId:n.recordId}),Qe(t,"ns_ls_getEntitlement","ns_ls_searchEntitlements","ns_ls_searchEntitlementGroupingSets","ns_ls_getEntitlementsByGroupingView")},addResourceFile:function(e,n,t){Qe(t,"getAllResourceFiles")},deleteResourceFiles:function(e,n,t){Qe(t,"getAllResourceFiles")},createClaritiTrialSubscription:function(e,n,t){Qe(t,"getClaritiTrialSubscription","getClaritiTrialSubscriptionReports")},deleteClaritiTrialSubscriptionReport:function(e,n,t){n.id&&t.invalidate({__typename:"ClaritiTrialSubscriptionReport",id:n.id}),Qe(t,"getClaritiTrialSubscription")},upsertTenantToken:function(e,n,t){t.invalidate({__typename:"Query",id:"getTenantTokens"})},deleteTenantToken:function(e,n,t){n.id&&t.invalidate({__typename:"Token",id:n.id})}},an=tn,rn=t(81034),on=["paging","cursor"],ln={__typename:"PageInformation",endCursor:null,startCursor:null,hasNextPage:!1,hasPreviousPage:!1,total:0},sn=function(e){return"string"===typeof e?e:null},un=function(e,n,t){for(var a=new Set,i=0,r=n.length;i1&&void 0!==arguments[1]?arguments[1]:v,t=Object.keys(e).reduce((function(n,t){var a=e[t];return"object"!==typeof a||Array.isArray(a)?n[t]=a:n[t]=JSON.stringify(a),n}),{});return T.stringify(t,n)}function _(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return e?T.parse(e,n):{}}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,n=(0,i.TH)();return _(n.search,e)}function N(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,t=(0,i.k6)(),a=S(n),r=t.location.hash,o=function(i){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o&&(a=_(t.location.search,n)),i?a[e]=i:delete a[e],t.replace({search:E(a),hash:r})},l=function(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i&&(a=_(t.location.search,n)),delete a[e],t.replace({search:E(a),hash:r})},s=a[e];return[s||null,o,l]}function I(e){var n=N(e,(0,o.Z)((0,o.Z)({},v),{},{parseNumbers:!1})),t=(0,g.Z)(n,3),a=t[0],i=t[1],r=t[2];return a?[a.toString(),i,r]:[null,i,r]}function C(e){var n=N(e),t=(0,g.Z)(n,3),a=t[0],i=t[1],r=t[2];return"boolean"===typeof a?[a,i,r]:[null,i,r]}function A(e){var n=(0,i.k6)(),t=S(),a=n.location.hash,r=function(e,n){return e.reduce((function(e,t){var a=n[t];return a&&(e[t]=a),e}),{})}(e,t);return[r||null,function(e){var i=(0,o.Z)((0,o.Z)({},t),e);n.replace({search:E(i),hash:a})},function(){e.forEach((function(e){delete t[e]})),n.replace({search:E(t),hash:a})}]}function R(e,n){var t=b(e),a=(0,g.Z)(t,3),i=a[0],r=a[1],o=a[2];return i?[i,r,o]:[n,r,o]}var O=JSON.parse;function b(e){var n=N(e),t=(0,g.Z)(n,3),a=t[0],i=t[1],r=t[2],o=function(e){var n=JSON.stringify(e);"{}"!==n?i(n):r()};if("string"===typeof a)try{return[O(a),o,r]}catch(l){return[null,o,r]}return[null,o,r]}var L=t(90497),k=t(48930),D=t(58512);function x(){var e=I("tenantId"),n=(0,g.Z)(e,1)[0];if(n&&n!==L.sN)return n}function P(){var e=x();return e?[e]:[]}function U(){var e=(0,D.D3)().isAuthenticated;return(0,k.$nV)({variables:{limit:L.JN},pause:!e})}var w=function(e){var n,t,a=(0,i.TH)(),r=(0,i.$B)(),l=e.location||a,u=e.nest;return s.Children.forEach(e.children,(function(e){if(null==t&&s.isValidElement(e)){var a;n=e;var c=u||(null===e||void 0===e||null===(a=e.props)||void 0===a?void 0:a.nest)?h(r.path)(e.props.path||e.props.from):e.props.path||e.props.from;t=c?(0,i.LX)(l.pathname,(0,o.Z)((0,o.Z)({},e.props),{},{path:c})):r}})),t&&n?s.cloneElement(n,{location:l,computedMatch:t,computedNest:u}):null}},54831:function(e,n,t){"use strict";t.d(n,{xb:function(){return E},E3:function(){return m},$6:function(){return C},Yj:function(){return I},Vd:function(){return A},lj:function(){return O},Lq:function(){return S},QW:function(){return N},zf:function(){return _},TE:function(){return l},s0:function(){return f}});var a=t(96902),i=t(48930),r=t(82933),o=a.createContext((function(){return!1})),l=function(){return(0,a.useContext)(o)},s=t(58512),u=t(8960),c=t(29938);function d(e,n){return!!n&&(!!n.permissions.some((function(n){return n.name===e||"*"===n.name}))||!!n.roles.some((function(n){return n.permissions.some((function(n){return n.name===e||"*"===n.name}))})))}function p(){var e,n=(0,s.D3)().user,t=n?n.sub:"",a=(0,i.hWk)({variables:{userId:t},pause:!t}),r=a.data;return{error:a.error,fetching:a.fetching,grants:null===r||void 0===r||null===(e=r.accessor)||void 0===e?void 0:e.grants}}function f(){var e=p().grants;if(e){var n=e.find((function(e){return"*"===e.resourceId&&"Tenant"===e.resourceType})),t=e.find((function(e){return"*"===e.resourceId&&"*"===e.resourceType})),a=[];return n&&a.push(n),t&&a.push(t),a.length>0&&a.some((function(e){return e.roles.some((function(e){return"poly-admin"===e.name}))}))}return!1}var m=function(e){var n=e.children,t=function(){var e=(0,r.cJ)(),n=p(),t=n.error,i=n.fetching,o=n.grants;return{error:t,fetching:i,hasPermission:(0,a.useCallback)((function(n,t){if(t||(t=e),!o)return!1;var a=function(e,n){return e?o.find((function(t){return t.resourceId===e&&t.resourceType===n})):void 0};return!!d(n,a(t,"Tenant"))||!!d(n,a(t,"*"))||!!d(n,a("license-server","Service"))||!!d(n,a("clariti-trial","Service"))||!!d(n,a("*","Tenant"))||!!d(n,a("*","*"))}),[o,e])}}(),i=t.error,l=t.fetching,s=t.hasPermission;return!l&&i?(0,c.jsx)(r.l_,{to:"/error"}):(0,c.jsx)(o.Provider,{value:s,children:(0,c.jsx)(u.aN,{className:"theme-independent",loading:l,children:n})})},h=t(95764),y=t(35315),g=t(62178),T=t(90497),v=t(32292),E=function(e){var n=e.requirement,t=e.children,a=e.reqName,i=e.redirectUrl,o=_(n),l=(0,g.v9)((function(e){return e.env.debugUserRoles})),s=(0,g.v9)((function(e){return e.env.envName})),u=s===T.xJ||s===T.Rk,d="string"===typeof a?a:"a complex permission";return!o&&i?(0,c.jsx)(r.l_,{to:i}):(0,c.jsxs)(c.Fragment,{children:[u&&l&&(0,c.jsx)(y.e,{iconTitle:"help",className:"debug-tooltip",children:(0,c.jsx)("div",{"data-testid":"debug-tooltip-message",children:"Needs ".concat(d)})}),o&&t]})},_=function(e){return e(l())},S=function(e){return function(n){return function(t){return(0,c.jsx)(E,{requirement:e,children:(0,c.jsx)(n,(0,h.Z)({},t))})}}};var N=function(){var e,n=(0,s.D3)().user,t=n?n.sub:"",a=(0,g.v9)((function(e){var n,t;return null!==(n=null===(t=e.desktop)||void 0===t?void 0:t.overrideDesktopRoute)&&void 0!==n?n:null})),r=(0,i.u7K)({variables:{accessorId:t},pause:!t}).data,o=null===r||void 0===r||null===(e=r.accessor)||void 0===e?void 0:e.grants;if(n){if(a)return!1;if(0===(null===o||void 0===o?void 0:o.length)&&(0,v.jm)(n[T.YK][T.r1]))return!0;if(o&&o.length>0)return function(e){var n=!1,t=!1;return e.forEach((function(e){e.roles.find((function(e){return"device_user"===e.name}))&&(n=!0),e.roles.some((function(e){return"device_user"!==e.name}))&&(t=!0)})),n&&!t}(o)}return!1},I=function(e){return function(n){return e.some((function(e){return e(n)}))}},C=function(e){return function(n){return e.every((function(e){return e(n)}))}},A=function(e){return function(n){return n(e)}},R=function(e){return!0},O=function(e){return e.length>0?I(e.map((function(e){return A(e)}))):R}},28576:function(e,n,t){"use strict";t.d(n,{wg:function(){return k},ZP:function(){return x}});var a=t(57994),i=t(98907),r=t(64428),o=t(82359),l=t(96902),s=t(22816),u=t(62178),c=t(74456),d=t(71421),p=t(50888);function f(e,n){(0,p.Z)(2,arguments);var t=(0,d.Z)(e),a=(0,d.Z)(n),i=t.getTime()-a.getTime();return i<0?-1:i>0?1:i}var m=t(87156);function h(e,n){(0,p.Z)(2,arguments);var t=(0,d.Z)(e),a=(0,d.Z)(n),i=f(t,a),r=Math.abs((0,m.Z)(t,a));t.setMonth(t.getMonth()-i*r);var o=f(t,a)===-i,l=i*(r-o);return 0===l?0:l}var y=t(68550);function g(e,n){(0,p.Z)(2,arguments);var t=(0,y.Z)(e,n)/1e3;return t>0?Math.floor(t):Math.ceil(t)}var T=t(64077),v=t(64654);function E(e){return(0,v.Z)({},e)}var _=t(41816),S=1440,N=43200;function I(e,n,t){(0,p.Z)(2,arguments);var a=t||{},i=a.locale||T.Z;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var r=f(e,n);if(isNaN(r))throw new RangeError("Invalid time value");var o,l,s=E(a);s.addSuffix=Boolean(a.addSuffix),s.comparison=r,r>0?(o=(0,d.Z)(n),l=(0,d.Z)(e)):(o=(0,d.Z)(e),l=(0,d.Z)(n));var u,c=g(l,o),m=((0,_.Z)(l)-(0,_.Z)(o))/1e3,y=Math.round((c-m)/60);if(y<2)return a.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,s):c<10?i.formatDistance("lessThanXSeconds",10,s):c<20?i.formatDistance("lessThanXSeconds",20,s):c<40?i.formatDistance("halfAMinute",null,s):c<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):0===y?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",y,s);if(y<45)return i.formatDistance("xMinutes",y,s);if(y<90)return i.formatDistance("aboutXHours",1,s);if(y1}}},g=function(e,n){var t=[];return n.forEach((function(n){var a=null===e||void 0===e?void 0:e[n.toLowerCase()];a&&t.push(a)})),t},T=function(e){var n=(0,d.useState)(),t=(0,l.Z)(n,2),a=t[0],i=t[1],r=(0,d.useState)(m),p=(0,l.Z)(r,2),g=p[0],T=p[1],v=(0,c.Aj)(),E=(0,f.bQ)(y,{batches:[],currentBatch:0,hasNextBatch:!1},h),_=(0,l.Z)(E,2),S=_[0],N=S.batches,I=S.currentBatch,C=S.hasNextBatch,A=_[1],R=A.loadNextBatch,O=A.updateBatches;(0,d.useEffect)((function(){O({deviceSerials:e}),T((0,o.Z)((0,o.Z)({},m),{},{fetching:e.length>0}))}),[e,O]),(0,d.useEffect)((function(){i(e)}),[e]);var b=(0,d.useMemo)((function(){var e;return null===(e=N[I])||void 0===e?void 0:e.map((function(e){return{OR:[{field:"serialNumber.lower",eq:e.toLowerCase()},{field:"publicSerialNumber.lower",eq:e.toLowerCase()}]}}))}),[N,I]),L=(0,s.PiN)({variables:{from:0,limit:200,filter:{AND:[{field:"tenantId",eq:v},{OR:b}]}},pause:!(null!==b&&void 0!==b&&b.length)}),k=L.data,D=L.fetching,x=L.stale;return(0,d.useEffect)((function(){var e,n={};(null!==(e=null===k||void 0===k?void 0:k.devices)&&void 0!==e?e:[]).forEach((function(e){var t,a=null===(t=e.serialNumber)||void 0===t?void 0:t.toLowerCase();a&&(n[a]=e)})),T((function(e){return{devices:(0,o.Z)((0,o.Z)({},e.devices),n),fetching:D||C,stale:e.stale||x}})),!D&&C&&R()}),[null===k||void 0===k?void 0:k.devices,x,D,C,R]),(0,o.Z)((0,o.Z)({},g),{},{stale:g.stale||!(0,u.isEqual)(a,e)})},v=function(){var e,n,t=(0,d.useState)([]),a=(0,l.Z)(t,2),i=a[0],r=a[1],p=(0,c.Aj)(),f=(0,s.Zh8)({variables:{tenantId:p}}),m=f.data,h=f.fetching,y=f.stale,v=f.executor;(0,d.useEffect)((function(){var e,n,t=Array.from(null!==(e=null===m||void 0===m||null===(n=m.getAllGroups.groups)||void 0===n?void 0:n.groups.reduce((function(e,n){var t;return null===(t=n.deviceSerials)||void 0===t||t.forEach((function(n){return e.add(n)})),e}),new Set))&&void 0!==e?e:[]);r((function(e){return(0,u.isEqual)(e,t)?e:t}))}),[null===m||void 0===m||null===(e=m.getAllGroups.groups)||void 0===e?void 0:e.groups]);var E=T(i),_=E.devices,S=E.fetching,N=E.stale;return{data:null===m||void 0===m||null===(n=m.getAllGroups.groups)||void 0===n?void 0:n.groups.map((function(e){var n;return(0,o.Z)((0,o.Z)({},e),{},{devices:g(_,null!==(n=e.deviceSerials)&&void 0!==n?n:[])})})),fetching:h||S,stale:y||N,executor:v}},E=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=(0,d.useState)([]),i=(0,l.Z)(a,2),r=i[0],c=i[1],p=(0,s.tTi)({variables:{id:n},pause:!n||t}),f=p.data,m=p.fetching,h=p.stale,y=null===f||void 0===f?void 0:f.readGroup.groupDoc;(0,d.useEffect)((function(){var e,n=null!==(e=null===y||void 0===y?void 0:y.deviceSerials)&&void 0!==e?e:[];c((function(e){return(0,u.isEqual)(e,n)?e:n}))}),[null===y||void 0===y?void 0:y.deviceSerials]);var v=T(r),E=v.devices,_=v.fetching,S=v.stale,N=m||_,I=h||S,C=y?(0,o.Z)((0,o.Z)({},y),{},{devices:g(E,null!==(e=y.deviceSerials)&&void 0!==e?e:[])}):void 0;return{data:C,fetching:N,stale:I}},_=function(){var e=(0,s.TU1)(),n=(0,l.Z)(e,2)[1];return function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,a){var r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,u.uniqBy)(t.devices.filter((function(e){return e.serialNumber&&!a.some((function(n){return n.toLowerCase()===e.serialNumber.toLowerCase()}))})).map((function(e){var n;return{serial:e.serialNumber,deviceModel:null!==(n=e.hardwareModel)&&void 0!==n?n:""}})),"serial"),e.abrupt("return",n({groupId:t.id,devices:{devices:r},createSWPolicy:!1}));case 2:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}()},S=function(){var e=(0,s.TU1)(),n=(0,l.Z)(e,2)[1];return function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,r){var o,l,s;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=(0,u.uniqBy)([].concat((0,a.Z)((null!==(o=t.devices)&&void 0!==o?o:[]).filter((function(e){return!!e.serialNumber})).map((function(e){var n;return{serial:e.serialNumber,deviceModel:null!==(n=e.hardwareModel)&&void 0!==n?n:""}}))),(0,a.Z)(r)),"serial"),e.next=3,n({groupId:t.id,devices:{devices:l},createSWPolicy:!1});case 3:return s=e.sent,e.abrupt("return",{result:s,added:l.length-t.devices.length});case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}()}},80865:function(e,n,t){"use strict";t.d(n,{mX:function(){return T}});var a=t(47427),i=t(82333),r=t(85358),o=t(99710),l=(t(96902),t(25825)),s=t(25796),u=t(82933),c=t(73451),d=t(37718),p=t(10631),f=t(97113),m=t(48930),h=t(1987),y=t(29938),g=function(e){var n=e.deviceId,t=e.deviceName,a=e.connectedDevice,c=(0,m._Wz)(),f=(0,o.Z)(c,2),g=f[0].fetching,T=f[1],v=(0,p.lm)(),E=(0,o.Z)(v,1)[0],_=(0,u.k6)().push,S=(0,h.Aj)(),N=(0,l.$G)().t,I=(0,s.$B)().url;return(0,y.jsx)(d.pf,{disabled:g,onDelete:(0,r.Z)((0,i.Z)().mark((function e(){var r,o,l,u;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t,e.next=3,T({deviceId:n},{notify:{message:N("DELETE_DEVICE_FAILURE",{name:r})}});case 3:o=e.sent,l=o.data,(u=null===l||void 0===l?void 0:l.unregisterDevice.success)&&(_(a?(0,s.Gn)(I.replace("/connected-device/".concat(n,"/delete"),"")):"/manage/inventory/table?tenantId=".concat(S)),E({type:"success",message:N("DELETE_DEVICE_SUCCESS",{name:r}),dismiss:p.GP.DEFAULT})),u||E({type:"error",message:N("DELETE_DEVICE_FAILURE",{name:r}),dismiss:"USER_ONLY"});case 8:case"end":return e.stop()}}),e)}))),entity:t,confirmationString:N("DELETE_DEVICE_CONFIRMATION",{deviceName:t,confirm:"CANNOT_BE_UNDONE"}),name:"DeleteDevice"})},T=function(e){var n=e.devices,t=e.refresh,s=(0,m._Wz)(),u=(0,o.Z)(s,2)[1],c=(0,m.R3k)(),f=(0,o.Z)(c,2)[1],g=(0,h.Aj)(),T=(0,p.lm)(),v=(0,o.Z)(T,1)[0],E=(0,d.Ws)(),_=(0,l.$G)().t,S=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var r,o,l,s,c,d,m,h,y;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=!1,o=[],l=(0,a.Z)(n),e.prev=3,l.s();case 5:if((s=l.n()).done){e.next=15;break}return c=s.value,d=c.id,m=c.name,(h=c.serial)&&o.push(h),e.next=10,u({deviceId:d});case 10:y=e.sent,y.error&&(r=!0,v({type:"error",message:_("DELETE_DEVICE_FAILURE",{name:m}),dismiss:p.GP.USER_ONLY,persistThroughNav:!0}));case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),l.e(e.t0);case 20:return e.prev=20,l.f(),e.finish(20);case 23:return e.next=25,f({tenantId:g,serials:o});case 25:r||v({type:"success",message:_("DELETE_DEVICE_SUCCESS",{name:n[0].name,count:n.length}),dismiss:p.GP.DEFAULT,persistThroughNav:!0}),E(),t();case 28:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})));return function(){return e.apply(this,arguments)}}();return(0,y.jsx)(d.pf,{entity:_("DEVICES"),confirmationString:_("DELETE_BULK_DEVICES_CONFIRMATION"),name:"DeleteDevices",onDelete:S,children:(0,y.jsx)("div",{className:"small-text overflow-list modal-body pt-1 pl-1",children:n.map((function(e){return(0,y.jsx)("div",{className:"mb-1",children:(0,y.jsx)("p",{className:"list-item",children:"".concat(e.name," - ").concat(e.id)})},e.id)}))})})};n.ZP=(0,c.Lq)("unregister:device")((function(e){var n=e.id,t=(0,s.UO)().connectedDeviceId,a=(0,m.rZv)({variables:{filter:{AND:(0,f._3)({id:null!==t&&void 0!==t?t:n})}}}).data,i=null===a||void 0===a?void 0:a.devices[0];return(0,y.jsx)(g,{connectedDevice:!!t,deviceId:null!==t&&void 0!==t?t:n,deviceName:(null===i||void 0===i?void 0:i.name)||(null===i||void 0===i?void 0:i.macAddress)||n})}))},26371:function(e,n,t){"use strict";t.d(n,{gY:function(){return y},r2:function(){return g},on:function(){return T},z5:function(){return v},V1:function(){return E}});var a=t(96902),i=t(8960),r=t(99710),o=t(48930),l=t(25825),s=t(90497),u=t(29938),c=function(e){var n=e.id,t=(0,l.$G)().t,i=(0,a.useState)(!0),c=(0,r.Z)(i,2),d=c[0],p=c[1],f=!(d&&n),m=(0,o.eYj)({variables:{id:null!==n&&void 0!==n?n:""},pause:f,requestPolicy:"cache-and-network",pollInterval:30*s.A6}),h=m.data,y=m.error,g=null===h||void 0===h?void 0:h.device.callStatus;if((0,a.useEffect)((function(){(g===o.gQQ.Unsupported||y)&&p(!1)}),[g,y]),!h)return(0,u.jsx)(u.Fragment,{});switch(h.device.callStatus){case o.gQQ.InCall:return(0,u.jsx)("div",{className:"ml-1 badge success",children:t("ACTIVE_CALL")});case o.gQQ.Unknown:case o.gQQ.NotInCall:case o.gQQ.Unsupported:default:return(0,u.jsx)(u.Fragment,{})}},d=t(82933),p=t(73451),f=t(3541),m=t(55443),h=t(1987),y=function(e){var n=e.device,t=e.pageTitle,a=e.children,i=e.hasActionButtons,r=void 0!==i&&i,o=e.showConfirm,l=void 0!==o&&o,s=e.unsavedChanges,c=e.onDiscard,d=(e.discardKey,e.discardIfNotDirty),p=void 0!==d&&d,f=r?(0,u.jsx)(g,{device:n,showConfirm:l,unsavedChanges:s,onDiscard:c,discardIfNotDirty:p}):null;return(0,u.jsx)(T,{device:n,pageTitle:t,actions:f,children:a})},g=function(e){var n=e.device,t=e.showConfirm,a=void 0!==t&&t,r=e.unsavedChanges,o=e.onDiscard,s=e.discardKey,c=void 0===s?"DISCARD":s,p=e.discardIfNotDirty,h=void 0!==p&&p,y=(0,l.$G)().t;return(0,u.jsxs)(u.Fragment,{children:[r?(0,u.jsx)(m.sA,{unsavedChanges:r,deviceId:null===n||void 0===n?void 0:n.id}):null,(0,u.jsx)(f.gN,{name:"reset",children:function(e){var n=e.form,t=n.dirty,a=n.handleReset,l=n.isSubmitting;return(0,u.jsx)(i.Lw,{disabled:l||!(t||r)&&!h,onClick:function(e){a(e),o&&o()},children:y(c)})}}),(0,u.jsx)(f.gN,{name:"submit",children:function(e){var n=e.form,t=n.dirty,o=n.isSubmitting,l=n.isValid,s=o||!(t||r)||!l;return a?(0,u.jsx)(d.rU,{disabled:s,to:(0,d.dp)("/confirmApply"),className:"btn btn-primary",children:o?(0,u.jsxs)("span",{children:[(0,u.jsx)(i.si,{icon:"refresh",className:"refresh spin mr-5"}),y("APPLYING")]}):y("APPLY")}):(0,u.jsx)(i.Mm,{isSubmitting:o,disabled:s})}})]})},T=function(e){var n,t=e.device,a=e.pageTitle,r=e.actions,l=e.children,s=(0,h.Aj)(),d=(0,o.KnB)({variables:{tenantUuid:s}}).data,f=null===d||void 0===d||null===(n=d.getProvisioningAccounts)||void 0===n?void 0:n[0],m=!f||!!f.isDisabled;return(0,u.jsxs)("div",{className:"header-section",children:[(0,u.jsxs)("div",{className:"header-information grid pb-1",children:[(0,u.jsxs)("h1",{className:"page-title col-6 col-xl-8",children:[t&&(0,u.jsx)(i.z$,{device:t,accountProvisioningDisabled:m}),a,(0,u.jsx)(c,{id:null===t||void 0===t?void 0:t.id})]}),(0,u.jsx)(p.xb,{requirement:"update:device",children:(0,u.jsx)("div",{className:"save-settings text-right col-6 col-xl-4","data-testid":"save-settings-buttons",children:r})})]}),l]})},v=function(e){var n,t=e.device,a=(null===t||void 0===t?void 0:t.hardwareModel)||"",i=(null===t||void 0===t?void 0:t.name)||(null===t||void 0===t||null===(n=t.room)||void 0===n?void 0:n.name)||(null===t||void 0===t?void 0:t.macAddress)||"";return(0,u.jsx)(E,{bold:a,light:i})},E=function(e){var n=e.bold,t=e.light;t=t||"";var a=!!(n=n||"")&&!!t,i=n.toUpperCase().trim()===t.toUpperCase().trim();return(0,u.jsxs)(u.Fragment,{children:[n||t,!i&&a&&(0,u.jsxs)("span",{className:"font-light",children:[(0,u.jsx)("span",{className:"ph-5",children:"|"}),t]})]})}},89497:function(e,n,t){"use strict";t.d(n,{a:function(){return T}});var a,i=t(82333),r=t(85358),o=t(99710),l=t(16798),s=(t(96902),t(769)),u=t(37718),c=t(25825),d=t(3541),p=t(8960),f=t(48930),m=t(10631),h=t(29938),y=(a={},(0,l.Z)(a,f.rf5.Sip,{value:f.rf5.Sip,text:"SIP"}),(0,l.Z)(a,f.rf5.Tel,{value:f.rf5.Tel,text:"TEL"}),(0,l.Z)(a,f.rf5.H323,{value:f.rf5.H323,text:"H.323"}),a),g=s.Ry().shape({callTo:s.Z_().label(c.ZP.t("CALL_TO")).required(),dialType:s.nK().oneOf(Object.values(y).map((function(e){return e.value}))).label(c.ZP.t("DIAL_TYPE")).required(),lineNumber:s.Rx().label(c.ZP.t("LINE_NUMBER")).required().positive()}),T=function(e){var n=e.deviceId,t=(0,c.$G)().t,a=(0,m.lm)(),l=(0,o.Z)(a,1)[0],s=(0,u.Ws)(),T=(0,f.bur)(),v=(0,o.Z)(T,2)[1],E=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(a){var r,o;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v({deviceId:n,dialString:a.callTo,options:{type:a.dialType,line:a.lineNumber.toString()}});case 2:r=e.sent,null!==(o=r.data)&&void 0!==o&&o.startCall.success?(l({id:"dialOutSuccess",type:"success",persistThroughNav:!0,dismiss:m.GP.DEFAULT,message:t("SUCCESSFULLY_STARTED_CALL")}),s()):l({id:"dialOutError",type:"error",persistThroughNav:!0,dismiss:m.GP.DEFAULT,message:t("ERROR_STARTING_CALL")});case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,h.jsx)(u.Yr,{name:"DialOut",title:t("DIAL_OUT"),validationSchema:g,initialValues:{callTo:"",dialType:f.rf5.Sip,lineNumber:1},onSubmit:E,validateOnMount:!0,children:function(e){var n=e.isValid,a=e.isSubmitting;return(0,h.jsxs)(d.l0,{children:[(0,h.jsx)(d.II,{name:"callTo",type:"text",label:t("CALL_TO")}),(0,h.jsx)(d.dp,{name:"dialType",label:t("DIAL_TYPE"),options:Object.values(y)}),(0,h.jsx)(d.II,{name:"lineNumber",type:"number",label:t("LINE_NUMBER")}),(0,h.jsxs)("div",{className:"btn-container",children:[(0,h.jsx)(p.Lw,{onClick:s,disabled:a}),(0,h.jsx)(p.Mm,{isSubmitting:a,disabled:!n,labelKey:"DIAL_OUT",submittingLabelKey:"DIALING"})]})]})}})}},29550:function(e,n,t){"use strict";t.d(n,{C:function(){return s}});var a=t(25825),i=t(35882),r=t(43214),o=t(82933),l=(t(96902),t(29938));function s(e){var n=e.deviceId,t=e.colSpan,s=void 0===t?void 0:t,u=(0,a.$G)().t,c=(0,i.y9)(n,{requestPolicy:"cache-only"}).lines;return 0===(null!==c&&void 0!==c?c:[]).length?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)(r.SC,{checked:!1,className:"expanded",children:[(0,l.jsx)("td",{className:"bulk-item"}),(0,l.jsx)("td",{colSpan:s,children:(0,l.jsxs)("table",{className:"table-secondary",children:[(0,l.jsxs)(r.xD,{nested:!0,children:[(0,l.jsx)("th",{children:u("LINE_NUMBER")}),(0,l.jsx)("th",{className:"connection-status fixed-width text-center",children:u("STATUS")}),(0,l.jsx)("th",{children:u("REGISTRATION_TYPE")}),(0,l.jsx)("th",{children:u("DOMAIN")}),(0,l.jsx)("th",{children:u("SERVER_ADDRESS")})]}),(0,l.jsxs)("tbody",{children:[null===c||void 0===c?void 0:c.slice(0,5).map((function(e,n){return(0,l.jsxs)(r.SC,{checked:!1,children:[(0,l.jsx)("td",{children:e.lineId}),(0,l.jsx)(i.H4,{column:"STATUS",status:e.status}),(0,l.jsx)("td",{children:e.registrationType}),(0,l.jsx)("td",{children:e.domain}),(0,l.jsx)("td",{children:e.registrationAddress})]},"".concat(e.lineId).concat(n))})),(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:5,children:(0,l.jsx)(o.rU,{to:(0,o.Gn)("/manage/inventory/details/:deviceId/troubleshooting/device-information",{deviceId:n}),children:u("VIEW_ALL")})})})]})]})})]})}},27408:function(e,n,t){"use strict";t.d(n,{A:function(){return d}});t(96902);var a=t(25825),i=t(73451),r=t(8960),o=t(82933),l=t(54831),s=t(1987),u=t(29938),c=(0,l.Yj)([(0,l.Vd)("register:device"),(0,l.Vd)("UPDATE_TENANT")]),d=function(){var e=(0,a.$G)().t,n=(0,s.Aj)(),t="";return n&&(t=(0,o.Gn)("/admin/accounts/details/:tenantId/provisioning",{tenantId:n})),(0,u.jsx)(r.c7,{title:e("NO_DEVICES"),children:(0,u.jsxs)("div",{children:[(0,u.jsx)(i.xb,{requirement:c,children:(0,u.jsx)("p",{className:"text-md mb-2",children:e("NO_DEVICES_GET_STARTED")})}),(0,u.jsxs)("div",{className:"controls",children:[(0,u.jsx)(i.ig,{to:"/manage/register",className:"btn btn-primary",requirement:"register:device",children:e("REGISTER_SINGLE_DEVICE")}),(0,u.jsx)(i.ig,{to:t,className:"btn btn-primary",requirement:"UPDATE_TENANT",children:e("PROVISION_MULTIPLE_DEVICES")})]})]})})}},66025:function(e,n,t){"use strict";t.d(n,{RV:function(){return oe},vb:function(){return le},iQ:function(){return $},ZP:function(){return de}});var a=t(81034),i=t(16798),r=t(95764),o=t(89810),l=t(99710),s=t(96902),u=t(58630),c=t(97113),d=t(25825),p=t(48930),f=t(1378),m=t(88341),h=t(59493),y=t(8960),g=t(72846),T=t(44446),v=t(62178),E=t(25796),_=t(95070),S=t(82933),N=t(27408),I=t(43214),C=t(80865),A=t(82192),R=t(36265),O=t(76223),b=t(21645),L=t(8893),k=t.n(L),D=t(73451),x=t(54831),P=t(35882),U=t(86851),w=t(34670),M=t(29550),V=t(90497),j=t(1987),F=t(89497),B=t(4574),Z=t(82333),G=t(85358),J=t(40218),H=t(14191),W=t(10631),Y=t(29938);var q=function(){var e=function(){var e=(0,d.$G)().t,n=(0,v.I0)(),t=(0,W.lm)(),a=(0,l.Z)(t,1)[0],i=(0,j.Aj)(),r=(0,v.v9)((function(e){var n;return null!==(n=e.exportDeviceInventory[i])&&void 0!==n?n:{}})).exporting,o=(0,p.aMX)(),s=(0,l.Z)(o,2)[1];function u(){return(u=(0,G.Z)((0,Z.Z)().mark((function e(){var t,a,r,o;return(0,Z.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n((0,H.Yy)({tenantId:i})),e.next=3,s({tenantId:i});case 3:t=e.sent,a=t.data,r=null===a||void 0===a?void 0:a.exportDeviceInventory.recipientEmail,o=null===a||void 0===a?void 0:a.exportDeviceInventory.link,r?f(r):o&&c(o);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(e){(0,J.uY)(e),f()}function f(t){a(t?{id:"device-inventory-export",type:"info",message:e("EXPORT_DEVICE_INVENTORY_EMAIL",{email:t}),dismiss:W.GP.USER_ONLY}:{id:"device-inventory-export",type:"success",message:e("EXPORT_DEVICE_INVENTORY_SUCCESS_MESSAGE"),dismiss:W.GP.DEFAULT}),n((0,H.kN)({tenantId:i}))}return{exportInventoryData:function(){return u.apply(this,arguments)},exporting:r}}(),n=e.exportInventoryData,t=e.exporting,a=(0,d.$G)().t;return(0,Y.jsx)(D.xb,{requirement:"export:device",children:(0,Y.jsx)(Y.Fragment,{children:t?(0,Y.jsxs)("button",{className:"btn mr-1",disabled:!0,children:[(0,Y.jsx)(y.si,{icon:"refresh",className:"refresh spin mr-5"}),a("EXPORTING")]}):(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsx)(D.YY,{className:"btn btn-secondary mr-1",onClick:n,requirement:"export:device",children:a("EXPORT")})})})})},K=t(98754),z=t(96199),X=["onClick","deviceLinksAreConnected","className"];function $(e){var n=e.id,t=e.onChange;return(0,Y.jsx)(k(),{children:function(e){var a=e.isVisible;return(0,Y.jsx)(Q,{id:n,onChange:t,isVisible:a})}})}function Q(e){var n,t=e.id,a=e.isVisible,i=e.onChange,r=(0,s.useState)(!1),o=(0,l.Z)(r,2),u=o[0],c=o[1],d=(0,s.useState)(!0),p=(0,l.Z)(d,2),f=p[0],m=p[1],h=(0,P.y9)(t,{pause:f}),g=h.lines,T=h.operation,v=h.fetching,E=(0,s.useState)(!1),_=(0,l.Z)(E,2),S=_[0],N=_[1];(0,s.useEffect)((function(){i(u)}),[u,i]),(0,s.useEffect)((function(){a&&m(!1)}),[a,m]);var I="cache-only"===(null===T||void 0===T?void 0:T.context.requestPolicy);(0,s.useEffect)((function(){void 0!==g||I||c(!1)}),[g,I]);var C=void 0===g&&I||(null!==(n=null===g||void 0===g?void 0:g.length)&&void 0!==n?n:0)>0,A=(0,s.useCallback)((function(){C&&c((function(e){return!e}))}),[C,c]),R=function(){return N(!S)};return v?(0,Y.jsx)(y.si,{icon:"refresh",className:"spin opacity-50"}):(0,Y.jsx)(Y.Fragment,{children:C?(0,Y.jsx)("button",{className:"btn btn-icon",onClick:A,children:(0,Y.jsx)(y.si,{icon:S||u?"phone_handset_filled":"phone_handset",className:"white",onMouseEnter:R,onMouseLeave:R})}):(0,Y.jsx)("div",{children:(0,b.wv)(null,!0)})})}var ee=function(e,n,t,a){var i=e.map((function(i){return te(i.key,i.title,n,t,a,e.length)}));return i.length&&i.length<=2&&(i[0].key===A.ji.DEVICES.COLUMNS.PROVISIONING||i[0].key===A.ji.DEVICES.COLUMNS.CONNECTION)?[].concat((0,o.Z)(i),[(0,Y.jsx)("th",{})]):i.length?i:[(0,Y.jsx)("th",{})]},ne=function(e,n){var t=A.ji.DEVICES,a=t.COLUMNS,i=t.HIDDEN,o=(0,r.Z)((0,r.Z)({},a),i);if(n<10)switch(e){case o.LAST_PROVISIONING_SYNC:return"min-width-140px";case o.DATE_LAST_SEEN:return"min-width-100px";case o.DATE_REGISTERED:return"min-width-80px";case o.SITE:case o.ROOM:return"min-width-80px max-width-160px";case o.NAME:return"max-width-160px min-width-100px";case o.SERIAL_NUMBER:return"min-width-160px";case o.MODEL:return"max-width-140px min-width-110px";case o.PROVIDER:return"min-width-100px";case o.MAC_ADDRESS:case o.IPV4:return"min-width-120px";case o.VERSION:return"min-width-130px max-width-160px";case o.LINES:return"fixed-width-40px";default:return""}switch(e){case o.LAST_PROVISIONING_SYNC:return"min-width-140px";case o.DATE_LAST_SEEN:return"min-width-100px truncate-end";case o.DATE_REGISTERED:return"min-width-80px";case o.SITE:case o.ROOM:return"min-width-80px max-width-80px";case o.NAME:return"max-width-100px min-width-90px";case o.SERIAL_NUMBER:return"fixed-width-160px";case o.MODEL:return"min-width-110px max-width-110px";case o.PROVIDER:return"max-width-100px";case o.MAC_ADDRESS:case o.IPV4:return"min-width-120px";case o.VERSION:return"fixed-width-130px";case o.LINES:return"fixed-width-40px";default:return""}},te=function(e,n,t,a,o,l){var s,u=A.ji.DEVICES,p=u.COLUMNS,f=u.HIDDEN,m=(0,r.Z)((0,r.Z)({},p),f);switch(e){case m.CONNECTION:return(0,Y.jsx)(le,{fieldName:"connected",filterState:t,setFilter:a},e);case m.PROVISIONING:var h=[{value:O.mi.INACTIVE,text:d.ZP.t("PROVISIONED"),icon:(0,Y.jsx)(y.si,{icon:"server",className:"white v-middle"})},{value:O.mi.ACTIVE,text:"".concat(d.ZP.t("PROVISIONED")," (").concat(d.ZP.t("ACTIVE"),")"),icon:(0,Y.jsx)(y.si,{icon:"server_active",className:"white v-middle"})},{value:O.mi.STAGED,text:d.ZP.t("STAGED"),icon:(0,Y.jsx)(y.si,{icon:"server_staged",className:"white v-middle"})}];return null!=t.provisioningState&&h.push({value:"",text:d.ZP.t("CLEAR_FILTER")}),(0,Y.jsx)("th",{className:"provisioning-status fixed-width text-center",children:(0,Y.jsx)("span",{className:"icon-container",children:(0,Y.jsx)(y.sV,{name:"provisioning",className:"provisioned-table-filter",placeholder:d.ZP.t("STATE"),options:h,onChange:function(e){return a((0,r.Z)((0,r.Z)({},t),{},{provisioningState:""!==e&&Object.values(O.mi).includes(e)?e:void 0}))},value:t.provisioningState,inputReplacement:t.provisioningState?(0,Y.jsx)(y.si,{icon:(0,O.BI)(t.provisioningState).provConnectionIcon,className:"white"}):null})})},e);case m.LINKED_DEVICES:return(0,Y.jsx)(se,{filterState:t,setFilter:a,column:e},e);case m.LINES:default:var g=Object.keys(c.DD).find((function(n){return c.DD[n]===e})),T=o[e],v=g&&T?{filterValue:null!==(s=t[g])&&void 0!==s?s:"",filterOptions:T,onFilter:function(e,n){return a((0,r.Z)((0,r.Z)({},t),{},(0,i.Z)({},g,""!==n?n:void 0)))}}:void 0,E=t.sort,_=ne(e,l);return(0,Y.jsx)(I.jr,{className:_,fieldName:e,title:n,sort:{currentSort:E?{field:c.DD[E.field],direction:E.direction}:{field:p.NAME,direction:"ASC"},onSort:function(e){return a((0,r.Z)((0,r.Z)({},t),{},{sort:{field:null!==g&&void 0!==g?g:e.field,direction:e.direction}}))}},filter:v},e)}},ae=function(e){var n,t,a=e.entityId,i=(0,p.T94)({variables:{id:a}}),r=i.data,o=i.fetching,l=(0,B.u)(null===r||void 0===r||null===(n=r.device)||void 0===n?void 0:n.entityConnections);return o?(0,Y.jsx)(y.TF,{className:"inline"}):(0,Y.jsx)("ul",{className:"mv-0 pl-0 linked-device-list","data-testid":"linked-devices-list-popup",children:null===l||void 0===l||null===(t=l.sort((function(e,n){return Number(n.connected)-Number(e.connected)})))||void 0===t?void 0:t.map((function(e,n){return(0,Y.jsxs)("div",{children:[!e.connected&&0!==n&&!1!==l[n-1].connected&&(0,Y.jsx)("li",{className:"divider d-block"}),(0,Y.jsxs)("li",{className:"ph-15 pv-5 mv-14 text-left font-sm d-block",children:[null!==e.targetEntity.connected&&(0,Y.jsx)(y.X,{connected:e.targetEntity.connected,className:e.connected?"":"disabled","data-testid":"target-entity-linked-device-icon"}),(0,Y.jsx)(O.xh,{className:"pl-15 pr-1".concat(e.connected?"":" disabled"),connected:!!e.connected,"data-testid":"entity-linked-device-icon"}),(0,Y.jsx)(S.rU,{to:"/manage/inventory/details/".concat(e.targetEntity.id),"data-testid":e.targetEntity.name,children:null!==e.targetEntity.name?e.targetEntity.name:"Unknown"})]})]},e.targetEntity.name)}))})},ie=function(e){var n=e.onClick,t=e.deviceLinksAreConnected,i=void 0===t||t,r=e.className,o=(0,a.Z)(e,X),l=i?"linked_yes":"linked_no";return(0,Y.jsx)("span",{"data-testid":o["data-testid"],className:"linked-device-status-indicator",children:(0,Y.jsx)(y.si,{title:"",onClick:n,icon:l,"data-testid":"linked-device-icon",className:"status-indicator ".concat(null!==r&&void 0!==r?r:"")})})},re=function(e){var n=e.checked,t=e.count,a=e.id,i=e.index,o=e.listLength,u=e.onCheck,c=e.setCursor,p=e.shownColumns,f=e.showChecks,m=e.table,h=void 0===m?"DEVICES":m,g=e.policyView,T=e.alternateColor,v=void 0!==T&&T,E=(0,s.useState)(!0),_=(0,l.Z)(E,2),N=_[0],C=_[1],L=(0,s.useState)(!1),D=(0,l.Z)(L,2),P=D[0],U=D[1],w=(0,s.useState)(!1),j=(0,l.Z)(w,2),F=j[0],B=j[1],Z=function(e){C(e)},G=A.ji[h],J=G.COLUMNS,H=G.HIDDEN,W=(0,x.zf)((0,x.Vd)("unregister:device")),q="";return v&&i%2===1&&(q+=" odd"),(0,Y.jsx)(k(),{offset:{bottom:-300},active:!P,onChange:function(e){e&&(U(e),i===o-1&&o=16)return s=(0,b.AO)(X,16),(0,Y.jsx)(y.Cx,{className:q,normal:s,shownOnHover:X},e);s=X;break;case n.MAC_ADDRESS:s=(0,b.wv)(E),q=ne(e,a);break;case n.IPV4:s=(0,b.wv)(g),q=ne(e,a);break;case n.ROOM:return s=(0,b.wv)(null!==(l=null===N||void 0===N?void 0:N.name)&&void 0!==l?l:""),q=ne(e,a),(0,Y.jsx)(y.Cx,{normal:s,shownOnHover:s,checkForOverflow:!0,truncateText:!0,className:q},e);case n.SITE:return s=(0,b.wv)(null===C||void 0===C?void 0:C.name),q=ne(e,a),(0,Y.jsx)(y.Cx,{normal:s,shownOnHover:s,checkForOverflow:!0,truncateText:!0,className:q},e);case n.MODEL:return s=(0,b.wv)(m),q=ne(e,a),(0,Y.jsx)(y.Cx,{normal:s,shownOnHover:s,checkForOverflow:!0,truncateText:!0,className:q},e);case n.VERSION:if(q=ne(e,a),(X=(0,b.wv)((0,K.J)(L,A,m))).length>14)return s=(0,b.AO)(X,14),(0,Y.jsx)(y.Cx,{className:q,normal:s,shownOnHover:X},e);s=X;break;case n.LINES:i?s=(0,Y.jsx)($,{id:h,onChange:i}):(s="",console.warn("Lines column included in table, but setSubTableOpen argument not provided.")),q=ne(e,a);break;case n.PROVIDER:q=ne(e,a),s=(0,b.wv)(c,!0);break;case n.LAST_PROVISIONING_SYNC:q=ne(e,a),s=j&&!M?F===O.mi.ACTIVE||F===O.mi.INACTIVE?(0,z.p6)(T):(0,b.wv)(null,!0):"-";break;case n.DATE_REGISTERED:return q=ne(e,a),s=f?(0,z.p6)(f):"-",(0,Y.jsx)(y.Cx,{normal:s,shownOnHover:s,checkForOverflow:!0,truncateText:!0,className:q},e);case n.DATE_LAST_SEEN:q=ne(e,a),s=j&&!M?v?(0,z.p6)(v,V.zT.LOCALIZED):(0,b.wv)(v,!0):"-"}return(0,Y.jsx)("td",{className:q,children:s},e)}(n,(0,r.Z)((0,r.Z)({},J),H),(0,r.Z)({hideLinkedDevicesTooltip:Z,linkedDevicesTooltipHidden:N},e),p.length,B,g,t)}))]}),F&&(0,Y.jsx)(M.C,{colSpan:100,deviceId:a})]})})},oe=function(e){var n=e.header,t=e.nested,a=e.children,i=n?"th":"td";return(0,Y.jsx)(i,{className:"connection-status ".concat(t?"nested":""," fixed-width text-center"),"data-testid":"connection-status-nested-cell",children:(0,Y.jsx)("span",{className:"icon-container",children:a})})},le=function(e){var n=e.fieldName,t=e.filterState,a=e.setFilter,o=(0,d.$G)().t,l={value:"status"===n?V._w:"true",text:o("ONLINE")},s={value:"status"===n?V.cz:"false",text:o("OFFLINE")},u="m-0",c=[(0,r.Z)((0,r.Z)({},l),{},{icon:(0,Y.jsx)(y.X,{connected:!0,className:u})}),(0,r.Z)((0,r.Z)({},s),{},{icon:(0,Y.jsx)(y.X,{connected:!1,className:u})})];return null!=t[n]&&c.push({value:"",text:o("CLEAR_FILTER")}),(0,Y.jsx)(oe,{header:!0,children:(0,Y.jsx)(y.sV,{name:"connection",className:"connection-table-filter",placeholder:o("STATUS"),options:c,onChange:function(e){return a((0,r.Z)((0,r.Z)({},t),{},(0,i.Z)({},n,""!==e?e:void 0)))},value:t[n],inputReplacement:t[n]?(0,Y.jsx)(y.X,{connected:t[n]===l.value,className:u}):null})})},se=function(e){var n=e.filterState,t=e.setFilter,a=e.column,i=[{value:O.VH.LINKED,text:d.ZP.t("CONNECTED"),icon:(0,Y.jsx)(O.xh,{connected:!0,className:"m-0"})},{value:O.VH.UNLINKED,text:d.ZP.t("DISCONNECTED"),icon:(0,Y.jsx)(O.xh,{connected:!1,className:"m-0"})}];return null!=n.linkedDeviceState&&i.push({value:"",text:d.ZP.t("CLEAR_FILTER")}),(0,Y.jsx)("th",{className:"fixed-width linked-status text-center",children:(0,Y.jsx)("span",{className:"icon-container",children:(0,Y.jsx)(y.sV,{name:"linkedDevices",className:"linked-status-table-filter",placeholder:d.ZP.t("LINKED"),options:i,onChange:function(e){return t((0,r.Z)((0,r.Z)({},n),{},{linkedDeviceState:""!==e&&Object.values(O.VH).includes(e)?e:void 0}))},value:n.linkedDeviceState,inputReplacement:n.linkedDeviceState&&(0,Y.jsx)(O.xh,{connected:n.linkedDeviceState===O.VH.LINKED,className:"m-0"})})})},a)},ue=function(e){var n=e.disabled,t=(0,d.$G)().t;return(0,Y.jsxs)(y.PS,{className:"btn-secondary",title:t("GROUP"),disabled:n,children:[(0,Y.jsx)(S.rU,{to:(0,S.dp)("/create-group"),children:t("CREATE_NEW_GROUP")}),(0,Y.jsx)(S.rU,{to:(0,S.dp)("/add-to-group"),children:t("ADD_TO_EXISTING_GROUP")})]})},ce=function(e){var n,t,a,o,u=e.setCursor,g=e.devices,T=e.aggregates,E=e.loading,_=e.stale,b=e.count,L=e.totalCount,k=e.geofilter,P=e.clearGeofilterFcn,M=e.refreshDevices,V=e.simpleTableView,B=(0,d.$G)().t,Z=(0,c.Uv)(T),G=(0,j.Aj)(),J=(0,s.useState)([]),H=(0,l.Z)(J,2),W=H[0],K=H[1],z=g.filter((function(e){return W.includes(e.id)})).map((function(e){return{id:e.id,serial:e.serialNumber,name:e.name,hardwareModel:e.hardwareModel,lastConfigRequestDate:e.lastConfigRequestDate,connected:e.connected}})),X=(0,x.zf)((0,x.Vd)("register:device")),$=(0,x.zf)((0,x.Vd)("unregister:device"));(0,s.useEffect)((function(){K([])}),[G]);var Q=(0,s.useState)(!1),ne=(0,l.Z)(Q,2),te=ne[0],ae=ne[1],ie=A.ji.DEVICES,oe=ie.NAME,le=ie.COLUMNS,se=(0,v.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.tables[oe])&&void 0!==n?n:{}})),ce=se[A.oM.SHOWN],de=se[A.oM.HIDDEN],pe=(0,y.tG)(),fe=(0,l.Z)(pe,3),me=fe[0],he=fe[1],ye=fe[2],ge=(0,s.useState)(!1),Te=(0,l.Z)(ge,2),ve=Te[0],Ee=Te[1],_e=function(e){return e.value},Se=(n={},(0,i.Z)(n,le.MODEL,Z("hardwareModel").map(_e)),(0,i.Z)(n,le.SITE,Z("site").map(_e)),(0,i.Z)(n,le.VERSION,Z("softwareVersion").map(_e)),n),Ne=E||_;(0,s.useEffect)((function(){Ne||Ee(!1)}),[Ne]);var Ie=(0,p.KnB)({variables:{tenantUuid:G},context:f.noOpNotifyContext}).data,Ce=null===Ie||void 0===Ie||null===(t=Ie.getProvisioningAccounts)||void 0===t?void 0:t[0],Ae=!Ce||!!Ce.isDisabled,Re=function(){var e,n=A.ji.DEVICES,t=n.COLUMNS,a=n.HIDDEN,o=(0,r.Z)((0,r.Z)({},t),a);return e={},(0,i.Z)(e,o.NAME,d.ZP.t("DEVICE_NAME")),(0,i.Z)(e,o.SERIAL_NUMBER,d.ZP.t("SERIAL_NUMBER")),(0,i.Z)(e,o.LINES,d.ZP.t("LINES")),(0,i.Z)(e,o.MAC_ADDRESS,d.ZP.t("MAC_ADDRESS")),(0,i.Z)(e,o.IPV4,d.ZP.t("IPV4")),(0,i.Z)(e,o.ROOM,d.ZP.t("ROOM")),(0,i.Z)(e,o.SITE,d.ZP.t("SITE")),(0,i.Z)(e,o.MODEL,d.ZP.t("DEVICE_MODEL")),(0,i.Z)(e,o.VERSION,d.ZP.t("VERSION")),(0,i.Z)(e,o.PROVIDER,d.ZP.t("PROVIDER")),(0,i.Z)(e,o.CONNECTION,d.ZP.t("STATUS")),(0,i.Z)(e,o.LINKED_DEVICES,d.ZP.t("LINKED")),(0,i.Z)(e,o.PROVISIONING,d.ZP.t("STATE")),(0,i.Z)(e,o.LAST_PROVISIONING_SYNC,d.ZP.t("LAST_PROVISIONING_TOUCH")),(0,i.Z)(e,o.DATE_REGISTERED,d.ZP.t("DEVICE_ADDED")),(0,i.Z)(e,o.DATE_LAST_SEEN,d.ZP.t("DEVICE_LAST_SEEN")),e}(),Oe=function(e){Ee(!0),u(e)},be=function(e){u(0),he(e)},Le=(0,I.Pu)(ce,Re),ke=(0,I.Pu)(de,Re),De=k?"visible":"",xe=m.A.Content,Pe=(0,I.D_)(g.length,W,K),Ue=(0,I.xC)(W),we=function(e){return e.filter((function(e){return e.serial})).map((function(e){var n;return{serial:e.serial,deviceModel:null!==(n=e.hardwareModel)&&void 0!==n?n:""}}))},Me=z.filter((function(e){var n=e.serial,t=e.hardwareModel,a=e.lastConfigRequestDate;return!!n&&(0,O.Yh)(t,a)})),Ve=Me.length!==z.length,je=1===z.length&&(0,R.jc)(null!==(a=z[0].hardwareModel)&&void 0!==a?a:"")&&!!z[0].connected;return V?(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:"table-actions mb-15",children:(0,Y.jsx)(I.Eo,{search:{onSearch:function(e){void 0!==e&&u(0)}},edit:{tableName:oe,shownColumns:Le,hiddenColumns:ke}})}),(0,Y.jsxs)("div",{className:"table-container","data-testid":"simple-table-view",children:[(0,Y.jsxs)("table",{className:"table custom-table table-filterable",children:[(0,Y.jsxs)(I.xD,{children:[ee(Le,me,be,Se),(0,Y.jsx)(I.f4,{showClearFilters:(0,y.Ql)(me),onClearFilters:ye})]}),(0,Y.jsx)(I.RM,{loading:Ne&&!ve,cols:Le.length,accommodateScrollbar:!0,children:g.map((function(e,n){return(0,s.createElement)(re,(0,r.Z)((0,r.Z)({},e),{},{key:e.id,accountProvisioningDisabled:Ae,checked:Ue(e.id),connectionStatus:null===e||void 0===e?void 0:e.connected,count:b,index:n,listLength:g.length,onCheck:function(){return Pe(e.id)},setCursor:Oe,showChecks:!1,shownColumns:Le.map((function(e){return e.key})),policyView:!0}))}))})]}),Ne||g.length?null:(0,Y.jsx)(y.Jp,{title:B("NO_DEVICES")}),Ne&&ve?(0,Y.jsx)(y.TF,{className:g.length?"inline":""},"loading"):null]})]}):(0,Y.jsxs)("div",{className:"small-header layout-wrapper",children:[(0,Y.jsx)(xe,{className:"device-inventory no-sidebar small-header ph-0","data-testid":"table-view",children:Ne||0!==L?(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)("div",{className:"table-heading padding","data-testid":"metric-heading",children:[(0,Y.jsx)("span",{className:"metric",children:b}),(0,Y.jsx)("span",{className:"title ml-5",children:B("DEVICES")}),(0,Y.jsxs)("span",{onClick:P,className:"clear-geofilter ".concat(De),role:"button",children:[(0,Y.jsx)(y.si,{icon:"x",className:"white"}),B("CLEAR_GEOFILTER")]}),(0,Y.jsx)("div",{className:"right",children:(0,Y.jsx)(h.Z,{className:"m-0"})})]}),(0,Y.jsxs)("div",{className:"table-actions padding mb-15 d-flex justify-space-between",children:[(0,Y.jsxs)("div",{children:[X&&(0,Y.jsx)(S.rU,{to:"/manage/register",className:"btn btn-primary",children:B("ADD_DEVICE")}),(0,Y.jsx)(D.xb,{requirement:"UPDATE_SITES",children:(0,Y.jsx)("div",{className:"inline-block mr-5 ml-5",children:Ve?(0,Y.jsx)(y.eE,{size:"md",messageClassName:"z-index-17",className:"text-md",position:"bottom",iconTitle:"info",iconReplacement:(0,Y.jsx)(ue,{disabled:0===Me.length}),children:0===Me.length?B("DEVICE_GROUP_ONLY_PROVISIONED_ERROR"):B("DEVICE_GROUP_ONLY_PROVISIONED_WARNING")}):(0,Y.jsx)(ue,{disabled:0===Me.length})})}),(0,Y.jsx)(D.ig,{disabled:0===z.length,to:(0,S.dp)("/deleteDevices"),className:"btn",requirement:"unregister:device",children:B("DELETE_DEVICE",z.length>1?{count:z.length}:{})}),(0,Y.jsx)(y.yR,{feature:"CALL_CONTROL",andIf:je,children:(0,Y.jsx)(S.rU,{to:(0,S.dp)("/dialOut"),className:"btn",children:B("DIAL_OUT")})})]}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)(q,{}),(0,Y.jsx)(I.Eo,{search:{onSearch:function(e){void 0!==e&&u(0)}},edit:{tableName:oe,shownColumns:Le,hiddenColumns:ke}})]})]}),(0,Y.jsxs)("div",{onScroll:function(e){e.currentTarget.scrollLeft>0?ae(!0):te&&ae(!1)},className:"table-container mb-0",children:[(0,Y.jsx)("div",{className:"column-shadow".concat(te?"":" disabled")}),(0,Y.jsxs)("table",{className:"table device-table",children:[(0,Y.jsxs)(I.xD,{children:[$&&!!ce.length&&(0,Y.jsx)(I.XL,{checked:Ue(I.WZ),onCheck:function(){return(0,I.li)(g.map((function(e){return e.id})),W,K)}}),ee(Le,me,be,Se)]}),(0,Y.jsx)("tbody",{children:g.map((function(e,n){return(0,s.createElement)(re,(0,r.Z)((0,r.Z)({},e),{},{key:e.id,accountProvisioningDisabled:Ae,checked:Ue(e.id),connectionStatus:e.connected,count:b,index:n,listLength:g.length,onCheck:function(){return Pe(e.id)},setCursor:Oe,showChecks:$&&!!ce.length,shownColumns:Le.map((function(e){return e.key})),policyView:!1,alternateColor:!0}))}))})]}),Ne||g.length?null:(0,Y.jsx)(y.Jp,{title:B("NO_DEVICES")}),Ne?(0,Y.jsx)(y.TF,{className:g.length?"sticky transform-none":"sticky"},"loading"):null]})]}):(0,Y.jsx)(N.A,{})}),(0,Y.jsx)(D.i1,{nest:!0,path:"/deleteDevices",requirement:"unregister:device",children:(0,Y.jsx)(C.mX,{devices:z,refresh:function(){K([]),M({requestPolicy:"network-only"})}})}),(0,Y.jsx)(D.i1,{nest:!0,path:"/create-group",requirement:"UPDATE_SITES",children:(0,Y.jsx)(U.Z,{devices:we(Me),onSuccess:function(){return K([])}})}),(0,Y.jsx)(D.i1,{nest:!0,path:"/add-to-group",requirement:"UPDATE_SITES",children:(0,Y.jsx)(w.B,{devices:we(Me),onSuccess:function(){return K([])}})}),(0,Y.jsx)(y.yR,{feature:"CALL_CONTROL",andIf:je,children:(0,Y.jsx)(S.AW,{nest:!0,path:"/dialOut",children:(0,Y.jsx)(F.a,{deviceId:null===(o=z[0])||void 0===o?void 0:o.id})})})]})},de=function(){var e=(0,u.n0)(),n=(0,l.Z)(e,1)[0],t=(0,s.useState)(0),a=(0,l.Z)(t,2),i=a[0],r=a[1],o=(0,v.I0)(),c=(0,v.v9)((function(e){return e.devicesMap.geofilter})),d=(0,E.$B)().path.includes("policy"),p=(0,g.L)(c,null!==n&&void 0!==n?n:void 0,{},i),f=p.data,m=p.fetching,h=p.stale,y=p.executor,S=(0,T.U)(),N=S.count,I=S.fetching,C=[],A=[],R=0;return f&&f.deviceList&&(C=f.deviceList,R=f.deviceCount,A=f.deviceAggregations),(0,Y.jsx)(ce,{setCursor:r,devices:C,aggregates:A,loading:m||I,refreshDevices:y,stale:h,count:R,totalCount:N,geofilter:c,clearGeofilterFcn:function(){o((0,_.y9)())},simpleTableView:d})}},44446:function(e,n,t){"use strict";t.d(n,{U:function(){return l}});var a=t(48930),i=t(97113),r=t(58071),o=t(1987),l=function(){var e,n,t=(0,o.Aj)(),l=(0,a.RnH)({variables:{filter:{AND:(0,i._3)({},t)},aggregations:[{term:"hardwareFamily"}]}}),s=l.data,u=l.fetching,c=0;null!==s&&void 0!==s&&null!==(e=s.deviceAggregations)&&void 0!==e&&null!==(n=e[0])&&void 0!==n&&n.buckets&&(0,r.s)(s.deviceAggregations[0].buckets)&&(c=s.deviceAggregations[0].buckets.reduce((function(e,n){return e+n.count}),0));return{count:c,fetching:u}}},72846:function(e,n,t){"use strict";t.d(n,{L:function(){return d}});var a=t(95764),i=t(89810),r=t(99710),o=t(48930),l=t(8960),s=t(62178),u=t(97113),c=t(1987),d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,p=arguments.length>4?arguments[4]:void 0,f=(0,l.tG)(),m=(0,r.Z)(f,1),h=m[0],y=(0,c.Aj)(),g=(0,s.v9)((function(e){return e.devicesMap.bounds})),T=n?n.split(" ").map((function(e){return{searchTerm:e}})):[{searchTerm:""}],v=(0,u._3)(h,y),E=(0,u.JI)(t),_=function(){var t=[].concat((0,i.Z)(v),(0,i.Z)(E));return e&&t.push({field:"geohash",within:g}),n&&t.push({AND:T}),""===h.model&&t.push({field:"hardwareModel",exists:!1}),{AND:t}},S=p?{requestPolicy:p}:{};return(0,o.PeD)((0,a.Z)({variables:{sort:(0,u.F7)(h),from:d,boundsFilter:_(),noLocationFilter:{AND:[].concat((0,i.Z)(v),(0,i.Z)(E),[{field:"geohash",exists:!1}])},aggregations:[{term:"hardwareModel"},{term:"softwareVersion"},{term:"site"},{term:"connected"}]}},S))}},51847:function(e,n,t){"use strict";t.d(n,{ZP:function(){return C},iw:function(){return N}});var a=t(99710),i=t(95764),r=t(37718),o=t(90497),l=t(8960),s=t(82933),u=(t(96902),t(25825)),c=t(62178),d=t(49654),p=t(73451),f=(t(31002),t(65860)),m=t(37966),h=t(95611),y=t(71988),g=t(54729),T=t(29938),v=function(e){var n=e.setting,t=(0,y.d2)(),r=(0,a.Z)(t,1)[0],o=(0,m.ze)(),l=(0,c.v9)((function(e){return e.desktopDeviceSettingInheritance[(0,g.TW)(n.accessor)]})),s=(null===l||void 0===l?void 0:l.scope)===r.desktopDevicePolicyScope||r.desktopDevicePolicyScope!==y.T3.Device?function(){return o(n.accessor,n.type)}:void 0;return(0,T.jsx)(h._,(0,i.Z)({revert:{action:s}},n),n.accessor)},E=function(e){var n=e.setting,t=(0,m.Ub)();return(0,T.jsx)(h._,(0,i.Z)({revert:{action:function(){return t(n.accessor)},icon:"circle_x",iconClassName:"outline"}},n),n.accessor)},_=function(e){var n=e.name,t=e.settings,i=e.expanded,r=(0,u.$G)().t,o=(0,s.dX)("view"),l="changes"===(0,a.Z)(o,1)[0],c={LANGUAGE:r("LANGUAGE"),GENERAL:r("GENERAL"),RINGTONES_AND_VOLUME:r("RINGTONES_AND_VOLUME"),AUDIO:r("AUDIO"),SENSORS_AND_PRESENCE:r("SENSORS_AND_PRESENCE"),SOFTPHONES_AND_MEDIA_PLAYERS:r("SOFTPHONES_AND_MEDIA_PLAYERS"),WIRELESS:r("WIRELESS"),ADVANCED:r("SETTINGS_ADVANCED"),VIDEO_CONTROLS:r("VIDEO_CONTROLS"),DIAGNOSTICS:r("DIAGNOSTICS"),SOFTWARE_UPDATE:r("SOFTWARE_UPDATE")};return(0,T.jsx)(f.x4,{collapsedContent:(0,T.jsx)("div",{className:"category-title pl-5",children:c[n]}),dropdown:!0,expanded:i,children:(0,T.jsx)("section",{className:"my-settings-category",children:t.map((function(e){return(0,T.jsx)("div",{children:l?(0,T.jsx)(E,{setting:e}):(0,T.jsx)(v,{setting:e})},e.accessor)}))})})},S=function(e){var n=e.view,t=e.inheritedBy,i=e.settingsToDisplay,r=e.showInheritance,o=(0,u.$G)().t,c=Object.entries(i);return c.length>0?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"my-settings-info mb-15",children:"changes"===n?o("UNSAVED_CHANGES_INFO"):o("MY_SETTINGS_POLICY_INFO",{devices:t})}),(0,T.jsxs)("div",{className:"form grid scrollable","data-testid":"my-settings-view",children:[(0,T.jsxs)("div",{className:"headers mb-1 grid",children:[(0,T.jsx)("span",{className:"col-8 pl-5",children:o("CATEGORY")}),r?(0,T.jsxs)("span",{className:"col-2",children:[o("POLICY_INHERITANCE"),(0,T.jsx)(l.eE,{iconTitle:"info",iconReplacement:(0,T.jsx)(l.si,{icon:"circle_info",className:"ml-5"}),position:"bottom",size:"lg",children:(0,T.jsx)("div",{className:"font-regular",children:o("MY_SETTINGS_INHERITANCE_INFO")})})]}):(0,T.jsx)("span",{className:"col-2"}),"changes"===n?null:(0,T.jsx)("span",{className:"col-2",children:(0,T.jsx)(p.ig,{to:(0,s.dp)("/remove"),className:"remove-all",requirement:"update:device",children:o("REMOVE_ALL")})})]}),(0,T.jsx)(T.Fragment,{children:c.map((function(e,t){var i=(0,a.Z)(e,2),r=i[0],o=i[1];return(0,T.jsx)(_,{name:r,settings:o,expanded:0===t},"".concat(n,"-").concat(r))}))})]})]}):(0,T.jsx)("div",{"data-testid":"no-results",children:"changes"===n?(0,T.jsx)(l.BN,{title:"NO_CHANGED_SETTINGS",filePathLight:"/img/astronaut-namaste-light.png",filePathDark:"/img/astronaut-namaste-dark.png"}):(0,T.jsx)(l.R5,{title:o("NO_POLICY_SETTINGS")})})},N=function(e){var n=0;return Object.values(e).forEach((function(){n++})),n},I=function(e){var n=e.settings,t=e.policyIdentifier,i=e.desktopDevicePolicyScope,o=(0,u.$G)().t,l=(0,r.Ws)(),s=(0,m.ze)(),d=(0,c.v9)((function(e){return e.desktopDeviceSettingInheritance}));return(0,T.jsx)(r.WZ,{title:o("REMOVE_ALL_POLICY_SETTINGS"),onConfirm:function(){Object.entries(n).forEach((function(e){(0,a.Z)(e,2)[1].forEach((function(e){var n;i===y.T3.Device&&(null===(n=d[(0,g.TW)(e.accessor)])||void 0===n?void 0:n.scope)!==i||s(e.accessor,e.type)}))})),l()},onCancel:l,open:!0,message:o("REMOVE_ALL_POLICY_SETTINGS_CONFIRMATION",{name:t}),confirmLabel:o("OK")})},C=function(e){var n=(0,u.$G)().t,t=(0,s.dX)("view"),r=(0,a.Z)(t,2),f=r[0],h=r[1],g=(0,c.v9)((function(e){return e.desktopDeviceSettings})),v=N(g),E=(0,y.d2)(),_=(0,a.Z)(E,1)[0],C=null!==f&&void 0!==f?f:o.P0,A=function(e,n,t){var r={},l=(0,i.Z)({},o.kH);if("changes"===t){var s=Object.keys(e);Object.entries(l).forEach((function(e){var n=(0,a.Z)(e,2),t=n[0],i=n[1].filter((function(e){return s.includes(e.accessor)}));i.length&&(r[t]=i)}))}if("policy"===t&&n){var u=Object.keys(n);Object.entries(l).forEach((function(n){var t=(0,a.Z)(n,2),i=t[0],o=t[1].filter((function(n){return u.some((function(t){var i=!1;Object.entries(e).forEach((function(e){var n=(0,a.Z)(e,2),r=n[0],o=n[1];t.includes(r)&&o===d.Nk.REVERTED&&(i=!0)}));for(var r=!1,o=t.split("."),l=n.accessor.split("."),s=function(e){var n=o.slice(e,e+l.length);if(l.every((function(e,t){return e===n[t]})))return r=!0,"break"},u=0;u0&&(0,T.jsx)("span",{className:"inline-block unsaved-changes-ellipse",children:v}),(0,T.jsx)(S,(0,i.Z)((0,i.Z)({},e),{},{view:C,inheritedBy:b,settingsToDisplay:A,showInheritance:_.desktopDevicePolicyScope===y.T3.Device}))]}),(0,T.jsx)(p.i1,{nest:!0,exact:!0,path:"/remove",requirement:"update:device",children:(0,T.jsx)(I,{settings:A,policyIdentifier:O,desktopDevicePolicyScope:_.desktopDevicePolicyScope})})]})}},95611:function(e,n,t){"use strict";t.d(n,{Kk:function(){return a},_:function(){return V},rC:function(){return j}});var a,i=t(89810),r=t(82333),o=t(85358),l=t(95764),s=t(99710),u=t(81034),c=t(3541),d=t(90666),p=t(48930),f=t(82933),m=t(54831),h=t(96902),y=t(62178),g=(t(50564),t(49654)),T=t(25825),v=t(88341),E=t(26371),_=t(2522),S=t(37966),N=t(51847),I=t(71988),C=t(5268),A=t(44801),R=t(54729),O=t(84578),b=t(1987),L=t(769),k=t(32521),D=t(9363),x=t(95736),P=t(90497),U=t(38097),w=t(29938),M=["disableDependency","hideDependency","dropdownOptions"];!function(e){e.MODEL="model",e.GROUP="group",e.SITE="site",e.USER_GROUP="user_group",e.DEVICE="device"}(a||(a={}));var V=function(e){var n=e.accessor,t=e.options,a=e.label,i=e.tooltipText,r=e.type,o=e.revert,d=e.index,p=e.WhenHidden,f=e.placeholder,v=(0,m.zf)((0,m.Vd)("update:device")),E=(0,y.I0)(),_=(0,T.$G)().t,N=(0,S.CR)(n,t,r),C=N.disableDependency,O=N.hideDependency,b=N.dropdownOptions,L=(0,u.Z)(N,M),k=(0,I.d2)(),D=(0,s.Z)(k,1)[0].desktopDevicePolicyScope===I.T3.Device,x=!v||C,P=(0,y.v9)((function(e){return e.desktopDeviceSettings[n]})),U=(0,y.v9)((function(e){return e.desktopDeviceSettingInheritance[(0,R.TW)(n)]})),V=(0,R.Yl)(n,a),j=(0,c.U$)(V.name),F=(0,s.Z)(j,2)[1],B=F.initialValue,Z=F.value;return(0,h.useEffect)((function(){P!==g.Nk.REVERTED&&E((0,g.Nd)({accessor:n,change:Z!==B?g.Nk.EDITED:""}))}),[Z,B,E,V.name,n,P]),(0,w.jsxs)(w.Fragment,{children:[0===d&&D&&(0,w.jsx)("div",{className:"legend grid",children:(0,w.jsx)("div",{className:"col-4 offset-8",children:_("POLICY_INHERITANCE")})}),O&&!!p&&(0,w.jsx)(p,{options:b}),(0,w.jsx)(A.C,(0,l.Z)({className:"provisioned-setting",accessor:n,inheritance:U,type:r,settings:V,changed:P,tooltipText:i,disabled:x,revert:o,fromPolicy:!0,hideDependency:O,dropdownOptions:b,placeholder:f},L),n)]})},j=function(e){var n=e.device,t=e.hardwareModel,l=e.site,u=e.group,m=e.userGroup,S=e.settingsPolicy,A=e.isPolicyView,M=e.deviceSettings,j=e.categoryWithSettings,F=e.capabilitiesMap,B=e.policyScope,Z=e.refreshData,G=e.devicePolicyInfo,J=(0,T.$G)().t,H=(0,d.lm)(),W=(0,s.Z)(H,1)[0],Y=(0,y.I0)(),q=(0,y.v9)((function(e){return e.desktopDeviceSettings})),K=(0,I.d2)(),z=(0,s.Z)(K,2)[1],X=(0,p.Zmv)(),$=(0,s.Z)(X,2)[1],Q=(0,p.zfK)(),ee=(0,s.Z)(Q,2)[1],ne=(0,p.EsB)(),te=(0,s.Z)(ne,2)[1],ae=(0,b.Aj)(),ie=(0,p.Zii)({variables:{rules:{and:[{equal:{key:"tenantId",value:ae}},{equal:{key:"user_group",value:null===m||void 0===m?void 0:m.id}}]}},pause:!(null!==m&&void 0!==m&&m.id)}).data;(0,h.useEffect)((function(){z((0,I.uC)(B))}),[z,B]);var re=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(n){var t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,Te.validate(n,{context:{values:n},abortEarly:!1});case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),e.t0 instanceof L.p8&&e.t0.inner.forEach((function(e){(0,D.set)(t,e.path,e.message)}));case 9:return e.abrupt("return",t);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(n){return e.apply(this,arguments)}}(),oe=(0,h.useState)(!1),le=(0,s.Z)(oe,2),se=le[0],ue=le[1],ce=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(n){var a,o,c,f,h,y,T,v,E,_,N,C,A,b;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=[],f=[],Object.entries(q).forEach((function(e){var t=(0,s.Z)(e,2),a=t[0];if(t[1]===g.Nk.REVERTED)f.push((0,R.TW)(a,!1));else{var i,r,o=Object.values(P.kH).flat().find((function(e){return e.accessor===a})),l=(null!==(i=null===o||void 0===o||null===(r=o.convert)||void 0===r?void 0:r.out)&&void 0!==i?i:function(e){return e})((0,R.H)(n,(0,R.TW)(a).split(".")));c.push({id:(0,R.TW)(a,!1),value:l})}})),h=(0,R.gO)(c),y=(0,O.Y0)(B,{site:null===l||void 0===l?void 0:l.id,group:null===u||void 0===u?void 0:u.id,user_group:null===m||void 0===m?void 0:m.id,device:null===G||void 0===G?void 0:G.id},null===t||void 0===t?void 0:t.id),T=(0,O.xD)(B,null!==(a=null===S||void 0===S?void 0:S.priority)&&void 0!==a?a:null===ie||void 0===ie||null===(o=ie.policiesCapabilities[0])||void 0===o?void 0:o.priority),null===S||void 0===S||!S.id){e.next=14;break}return e.next=9,$({input:{id:null===S||void 0===S?void 0:S.id,capabilities:h,pathsToRemove:f}});case 9:E=e.sent,_=E.error,v=_,e.next=20;break;case 14:return N={name:(0,I.Qe)((null===t||void 0===t?void 0:t.name)||"",p.MiJ.DeviceSwUpdate,B,null===l||void 0===l?void 0:l.name,null===u||void 0===u?void 0:u.name,null===m||void 0===m?void 0:m.name,null===G||void 0===G?void 0:G.id),priority:T,rule:{and:[{equal:{key:"tenantId",value:ae}},{equal:{key:"modelId",value:null===t||void 0===t?void 0:t.id}}].concat((0,i.Z)(y))},capabilities:h,pathsToRemove:f},e.next=17,te({input:N});case 17:C=e.sent,A=C.error,v=A;case 20:if(v||null===G||void 0===G||!G.id){e.next=23;break}return e.next=23,ee({deviceId:G.id,productId:null===G||void 0===G?void 0:G.productId});case 23:b={MODEL:J("MODEL_POLICY"),GROUP:J("GROUP_POLICY"),SITE:J("SITE_POLICY"),USER_GROUP:J("USER_GROUP_POLICY"),DEVICE:J("DEVICE"),unknown:""},v||(null!==S&&void 0!==S&&S.id?W({id:"save-policy-success",type:"success",message:J("POLICY_SAVED",{policy:b[B||"unknown"]}),dismiss:d.GP.DEFAULT}):(Z({requestPolicy:"network-only"}),W({id:"save-policy-success",type:"success",message:J("POLICY_CREATED"),dismiss:d.GP.DEFAULT})));case 25:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),de=v.A.Content,pe=!(null!==S&&void 0!==S&&S.id),fe=(null===m||void 0===m?void 0:m.name)||(null===l||void 0===l?void 0:l.name)||(null===u||void 0===u?void 0:u.name)||(null===G||void 0===G?void 0:G.name)||void 0,me=function(e,n){var t="";return e===a.MODEL||e===I.T3.Model?t=" ".concat(T.ZP.t("DEVICE_MODEL_POLICY")):e===a.SITE||e===I.T3.Site?t=" ".concat(T.ZP.t("SITE_POLICY")," | ").concat(n):e===a.GROUP||e===I.T3.Group?t=" ".concat(T.ZP.t("GROUP_POLICY")," | ").concat(n):e===a.USER_GROUP||e===I.T3.User_Group?t=" ".concat(T.ZP.t("USER_GROUP_POLICY")," | ").concat(n):e!==a.DEVICE&&e!==I.T3.Device||(t="".concat(T.ZP.t("POLICY"))),t}(B,fe),he=A?(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(E.V1,{bold:B===I.T3.Device?fe:null===t||void 0===t?void 0:t.name,light:me})}):(0,w.jsx)(E.z5,{device:n}),ye=(0,N.iw)(q);if((0,h.useEffect)((function(){Object.keys(M).length<1&&(se&&W({type:"info",message:J("POLICY_UNAVAILABLE",{device:null===t||void 0===t?void 0:t.name}),dismiss:d.GP.DEFAULT,persistThroughNav:!0}),ue(!0))}),[M,se,null===t||void 0===t?void 0:t.name]),se)return(0,w.jsx)(f.l_,{to:"/manage/policy/list/".concat(null===S||void 0===S?void 0:S.type)});var ge=(0,U.HO)(M),Te=(0,x.pX)(ge.com.poly);return(0,w.jsx)(c.J9,{name:"DeviceSettings",initialValues:M,customDimensions:{model:null===n||void 0===n?void 0:n.hardwareModel,software_version:null===n||void 0===n?void 0:n.softwareVersion},enableReinitialize:!0,validationSchema:Te,validate:re,validateOnBlur:!1,validateOnChange:!1,onSubmit:ce,children:function(e){var a=e.dirty;return(0,w.jsx)(k.Sd,{children:(0,w.jsxs)(c.l0,{className:"form pb-2",children:[(0,w.jsxs)(E.gY,{device:n,pageTitle:he,hasActionButtons:!0,unsavedChanges:ye,onDiscard:function(){return Y((0,g.j0)())},children:[pe&&(0,w.jsx)("div",{className:"unchanged-policy-note",children:J("CHANGE_POLICY_TO_SAVE_NOTE")}),(0,w.jsx)(_.Xr,{})]}),(0,w.jsxs)(f.rs,{children:[(0,w.jsx)(f.AW,{nest:!0,path:"my-settings",children:(0,w.jsx)(N.ZP,{deviceSettings:M,capabilitiesMap:F,device:G,deviceModel:(null===t||void 0===t?void 0:t.name)||"",site:null===l||void 0===l?void 0:l.name,group:null===u||void 0===u?void 0:u.name,userGroup:null===m||void 0===m?void 0:m.name,dirty:a||ye>0})}),(0,w.jsxs)(de.ScrollingList,{children:[(0,w.jsx)(f.AW,{nest:!0,path:"general",render:function(){return(0,w.jsx)(C.q$,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"ringtones-volume",render:function(){return(0,w.jsx)(C.h_,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"audio",render:function(){return(0,w.jsx)(C.ow,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"sensors-presence",render:function(){return(0,w.jsx)(C.Eh,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"softphones-media-players",render:function(){return(0,w.jsx)(C.Qq,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"wireless",render:function(){return(0,w.jsx)(C.Jp,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"advanced",render:function(){return(0,w.jsx)(C.de,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"video-controls",render:function(){return(0,w.jsx)(C.N2,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"diagnostics",render:function(){return(0,w.jsx)(C.UR,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:"software-update",render:function(){return(0,w.jsx)(C.lX,{CategorySetting:V})}}),(0,w.jsx)(f.AW,{nest:!0,path:":category?",children:function(e){var n=e.match,t=(null===n||void 0===n?void 0:n.params).category,a="";if(!t){var i,r=j.length>0?j[0]:"GENERAL";t=null===(i=_.jY[r])||void 0===i?void 0:i.url.replace(/^\//,""),a+="/:category"}if(t)return(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(f.l_,{nest:!0,persist:["PolicyFilterState","deviceModel","site","user_group","device","DeviceFilterState","InsightsFilterState","group","previous"],to:(0,f.Gn)(a,{category:t})})})}})]})]})]})})}})}},71988:function(e,n,t){"use strict";t.d(n,{Dl:function(){return U},LH:function(){return F},Qe:function(){return w},T3:function(){return a},ZK:function(){return M},d2:function(){return P},fE:function(){return j},uC:function(){return k}});var a,i=t(89810),r=t(99710),o=t(95764),l=t(5194),s=t(90497),u=t(8960),c=t(48930),d=t(9363),p=t.n(d),f=t(82933),m=t(96902),h=t(62178),y=(t(50564),t(80093)),g=t(49654),T=t(90561),v=t(10278),E=t(97488),_=t(25825),S=t(2522),N=t(61870),I=t(37966),C=t(51847),A=t(95611),R=t(84578),O=t(24514),b=t(29938);!function(e){e.Model="MODEL",e.Group="GROUP",e.Site="SITE",e.User_Group="USER_GROUP",e.Device="DEVICE"}(a||(a={}));var L={desktopDevicePolicyScope:a.Model},k=(0,v.createStandardAction)("SET_DESKTOP_DEVICE_POLICY_SCOPE")(),D=(0,v.createReducer)(L).handleAction(k,(function(e,n){return(0,o.Z)((0,o.Z)({},e),{},{desktopDevicePolicyScope:n.payload})})),x=(0,m.createContext)([L,function(){return null}]),P=function(){return(0,m.useContext)(x)},U=function(e){var n=(0,m.useReducer)(D,L),t=(0,r.Z)(n,2),a=t[0],i=t[1];return(0,b.jsx)(x.Provider,(0,o.Z)({value:[a,i]},e))},w=function(e,n,t,i,r,o,l){var s="Update";n===c.MiJ.DeviceSettingsUpdate&&(s="Settings");var u="Unknown",d="Unknown";return t===a.Site&&(u="Site",d=i),t===a.Group&&(u="Device Group",d=r),t===a.User_Group&&(u="Device User Group",d=o),t===a.Device&&(u="Device",d=l),t===a.Model?(u="Model",_.ZP.t("POLICY_NAME_MODEL",{model:e,policyScope:u,policyType:s})):_.ZP.t("POLICY_NAME",{model:e,policyScope:u,identifier:d,policyType:s})},M=function(){var e=(0,f.k6)(),n=(0,_.$G)().t,t=(0,m.useState)(""),a=(0,r.Z)(t,2),i=a[0],o=a[1],s=(0,h.v9)((function(e){return e.desktopDeviceSettings})),c=(0,C.iw)(s),d=["PolicyFilterState","deviceModel","device","site","user_group","DeviceFilterState","InsightsFilterState","group","previous"],p=(0,h.v9)((function(e){return e.settingsNavItems})),y=p.navItems,g=p.loading;return(0,b.jsx)(u.aN,{loading:g,className:"inline text-left",children:(0,b.jsx)("ul",{className:"menu router sub",children:(0,b.jsx)(l.Z,{unsavedChanges:Object.keys(s).length>0,allowedSubRoutes:["/settings","/my-settings","/manage/policy/details"],children:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("li",{className:"filter mb-1 mt-1",children:[(0,b.jsx)(u.si,{icon:"filter",className:"v-middle"}),(0,b.jsx)("input",{type:"text",id:"filter-input",className:"form-control floating-input",placeholder:n("FILTER_SETTINGS"),value:null!==i&&void 0!==i?i:"",onChange:function(e){return o(e.target.value)}})]}),(0,b.jsx)("li",{children:(0,b.jsxs)(f.OL,{nest:!0,to:{pathname:"/my-settings",search:e.location.search},children:[c>0&&(0,b.jsx)(N.S2,{}),n("MY_SETTINGS")]})}),(0,b.jsx)("li",{className:"divider mt-5"}),y.filter((function(e){var n=e.title;return n.toLowerCase().includes((null!==i&&void 0!==i?i:"").toLowerCase())})).map((function(e){var n,t=e.title,a=e.url;return(0,b.jsx)("li",{children:(0,b.jsxs)(f.OL,{persist:d,nest:!0,exact:!0,to:a,children:[(n=t,!!s[n]&&(0,b.jsx)(N.S2,{})),t]})},t+"key")}))]})})})})},V=function(e){var n=[];Object.values(s.kH).forEach((function(t){t.forEach((function(t){null===e||void 0===e||e.forEach((function(e){var a;e.id.includes(t.accessor)&&n.push({id:e.id,type:t.type,options:null===(a=e.constraints)||void 0===a?void 0:a.options})}))}))}));var t=(0,R.hg)(),a=function e(n,t,a,i){var o=n[0];if(1===n.length)switch(a){case"checkbox":t[o]={value:!1,constraints:{options:i}};break;case"dropdown":case"text":t[o]={value:"",constraints:{options:i}};break;case"slider":if(i){var l=(0,r.Z)(i,3),s=l[0],u=l[1],c=l[2];if("0"===s&&"1"===u&&"1"===c){t[o]={value:!1,constraints:{options:i}};break}}t[o]={value:i?Math.floor(parseInt(i[1])/2):"1",constraints:{options:i}}}else t[o]||(t[o]={}),e(n.slice(1),t[o],a,i)};return(n||[]).forEach((function(e){a(e.id.split("."),t,e.type,e.options)})),t},j=function(e){if(0!==Object.keys(e).length){var n={};return function e(t,a){Object.keys(t).forEach((function(r){if("object"===typeof t[r]&&null!==t[r]&&e(t[r],[].concat((0,i.Z)(a),[r])),["boolean","string","number"].includes(typeof t[r])&&"__typename"!==r){var o,l,u=[].concat((0,i.Z)(a),[r]).join("."),c=a.filter((function(e){return"com"!==e&&"poly"!==e})).join("."),d=Object.values(s.kH).flat().find((function(e){return e.accessor===c})),p=(null!==(o=null===d||void 0===d||null===(l=d.convert)||void 0===l?void 0:l.in)&&void 0!==o?o:function(e){return e})(t[r]);n[u]=p}}))}(e,[]),n}},F=function(e){var n=e.device,t=e.hardwareModel,i=e.site,o=e.group,l=e.userGroup,s=e.devicePolicyInfo,d=(0,h.I0)(),v=(0,m.useRef)(),N=(0,_.$G)().t;(0,m.useEffect)((function(){return function(){d((0,g.J2)())}}),[d]);var C,L=(0,c.Gx6)({variables:{propertyValue:(null===t||void 0===t?void 0:t.id)||"",propertyPath:"com.poly.product.model.catalog_id"}}),k=L.data,D=L.fetching,x=L.executor,P=(null===k||void 0===k?void 0:k.capabilitiesSuperset)&&k.capabilitiesSuperset.length<2,w=V(null===k||void 0===k?void 0:k.capabilitiesSuperset);C=null!==s&&void 0!==s&&s.id?a.Device:null!==l&&void 0!==l&&l.id?a.User_Group:null!==i&&void 0!==i&&i.id?a.Site:null!==o&&void 0!==o&&o.id?a.Group:a.Model;var M=(0,I.fy)(P,null===k||void 0===k?void 0:k.capabilitiesSuperset,s,D),F=M.devicePolicy,B=M.fetchingDevicePolicy,Z=(0,I.GS)(P,k,o,i,l,t,D),G=Z.groupPolicy,J=Z.fetchingGroupPolicy,H=Z.noSettingsToDisplay,W=null===G||void 0===G?void 0:G.policyCapabilities.sources[0],Y=null===G||void 0===G?void 0:G.policyCapabilities.capabilities;C===a.Device&&(W=null===F||void 0===F?void 0:F.devicePolicyCapabilities.sources.find((function(e){return"device"===e.type})),Y=null===F||void 0===F?void 0:F.devicePolicyCapabilities.capabilities),(0,m.useEffect)((function(){H&&d((0,T.c)())}),[H,d]);var q,K=(0,I.Y$)((0,E.tH)(Y));!v.current&&K&&(v.current=K),v.current&&!p().isEqual(v.current,K)&&(d((0,g.j0)()),d((0,y.zM)()),v.current=null),K&&(q=j(K))&&Object.entries(q).forEach((function(e){var n=(0,r.Z)(e,2),t=n[0],a=n[1];p().set(w,t,a)}));var z=(0,m.useMemo)((function(){return(0,R.k_)(w)}),[w]);return(0,m.useEffect)((function(){z.forEach((function(e){d((0,T.GZ)(S.jY[e]))}))}),[z,d]),D||J||B?(0,b.jsx)(u.TF,{}):(0,b.jsx)(b.Fragment,{children:!G&&H?(0,b.jsx)("div",{"data-testid":"no-results",className:"no-results-indicator",children:(0,b.jsx)(u.R5,{title:N("NO_DESKTOP_SETTINGS_AVAILABLE"),titleClass:"font-xl font-regular"})}):(0,b.jsx)(U,{children:(0,b.jsx)(f.rs,{children:(0,b.jsxs)(f.AW,{nest:!0,path:"/",children:[(0,b.jsx)(A.rC,{device:n,isPolicyView:!n,hardwareModel:t,site:i,group:o,userGroup:l,policyScope:C,settingsPolicy:W,deviceSettings:w,categoryWithSettings:z,capabilitiesMap:q,refreshData:x,devicePolicyInfo:s}),(null===s||void 0===s?void 0:s.id)&&(0,b.jsx)(O.X,{device:s,settings:null===F||void 0===F?void 0:F.devicePolicyCapabilities.capabilities,sources:null===F||void 0===F?void 0:F.devicePolicyCapabilities.sources,hardwareModel:t})]})})})})}},5268:function(e,n,t){"use strict";t.d(n,{$b:function(){return T},Eh:function(){return S},Jp:function(){return I},N2:function(){return A},NZ:function(){return O},Qq:function(){return N},UR:function(){return R},an:function(){return g},de:function(){return C},h_:function(){return E},lX:function(){return L},ow:function(){return _},q$:function(){return v}});var a=t(95764),i=t(90497),r=t(8960),o=t(92858),l=t(96902),s=t(62178),u=t(49654),c=t(73451),d=t(25825),p=t(2522),f=t(74237),m=t(37966),h=t(54729),y=t(29938),g=["policy","software_update","video","wireless","general","call_control","audio","com","poly"],T=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("LANGUAGE"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.LANGUAGE.map((function(e){return(0,y.jsx)(n,(0,a.Z)({},e),e.accessor)}))})})},v=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("GENERAL"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.GENERAL.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},E=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("RINGTONES_AND_VOLUME"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.RINGTONES_AND_VOLUME.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},_=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("AUDIO"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.AUDIO.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},S=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("SENSORS_AND_PRESENCE"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.SENSORS_AND_PRESENCE.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},N=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("SOFTPHONES_AND_MEDIA_PLAYERS"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.SOFTPHONES_AND_MEDIA_PLAYERS.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},I=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("WIRELESS"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.WIRELESS.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},C=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("SETTINGS_ADVANCED"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.ADVANCED.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},A=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("VIDEO_CONTROLS"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.VIDEO_CONTROLS.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},R=function(e){var n=e.CategorySetting,t=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:t("DIAGNOSTICS"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.DIAGNOSTICS.map((function(e,t){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:t}),e.accessor)}))})})},O=function(){var e=(0,d.$G)().t;return(0,y.jsx)(p.Jp,{title:e("RESET_DEVICE"),children:(0,y.jsx)("div",{className:"details grid form",children:(0,y.jsxs)("div",{className:"form-group",children:[(0,y.jsxs)("label",{className:"col-4 text-right",htmlFor:"RESTORE_DEFAULTS",children:[(0,y.jsx)(r.eE,{icon:"circle_help",iconTitle:"help",position:"bottom",className:"font-regular",children:e("RESTORE_DEFAULTS_DESC")}),e("RESTORE_DEFAULTS"),":"]}),(0,y.jsx)("div",{className:"col-4",children:(0,y.jsx)(c.ig,{nest:!0,to:{pathname:"/confirm"},"data-testid":"restore-default-settings",className:"btn btn-primary",requirement:"update:device",children:e("RESTORE_DEFAULTS")})})]})})})},b=function(e){var n=e.options;return(0,y.jsx)(y.Fragment,{children:(null===n||void 0===n?void 0:n.length)>0&&(0,y.jsx)(f.CO,{softwareVersion:n[0].text,label:"LATEST_VERSION",className:"latest-version"})})},L=function(e){var n=e.CategorySetting,t=(0,d.$G)().t,r=(0,m.Ub)(),c=(0,s.v9)((function(e){return e.desktopDeviceSettings})),f=(0,o.u6)().values,g=(0,l.useCallback)((function(e){c[e]===u.Nk.EDITED&&r(e)}),[c,r]);(0,l.useEffect)((function(){i.ku.forEach((function(e){e.when.forEach((function(n){var t=(0,h.H)(f,(0,h.TW)(n.accessor,!1).split("."));t&&n.value===t.value&&"hide"===e.action&&g(e.accessor)}))}))}),[f,g]);var T=(0,h.H)(f,(0,h.TW)("software_update.policy.use_latest").split("."));return(0,y.jsx)(p.Jp,{title:t("SOFTWARE_UPDATE"),children:(0,y.jsx)("div",{className:"details grid form",children:i.kH.SOFTWARE_UPDATE.map((function(e,i){return(0,y.jsx)(n,(0,a.Z)((0,a.Z)({},e),{},{index:i,WhenHidden:"software_update.policy.version"===e.accessor?b:void 0,placeholder:"software_update.policy.allow_update_postpone_times"===e.accessor?T?t("NONE"):t("DELAY_MAX_TIMES",{max:3}):void 0}),e.accessor)}))})})}},44801:function(e,n,t){"use strict";t.d(n,{C:function(){return d}});var a=t(95764),i=t(99710),r=t(81034),o=t(3541),l=t(2522),s=t(54729),u=t(29938),c=["accessor","values","hideDependency","settings","type","dropdownOptions","showAutoEnableButton","fromPolicy"],d=function(e){var n=e.accessor,t=e.values,d=e.hideDependency,p=e.settings,f=e.type,m=e.dropdownOptions,h=e.showAutoEnableButton,y=e.fromPolicy,g=(0,r.Z)(e,c),T=(0,o.U$)(p.name),v=(0,i.Z)(T,1)[0].value,E=h&&!y,_=E?"".concat(n,"_auto_enabled"):n,S=(0,s.Yl)(_,p.label);return(0,u.jsxs)("div",{"data-testid":"".concat(n.split(".")[1]),className:"show-hide ".concat(d?"hide":"show"),children:["checkbox"===f&&(0,u.jsx)(l.z8,(0,a.Z)((0,a.Z)({},p),g)),"dropdown"===f&&(0,u.jsx)(l.ih,(0,a.Z)((0,a.Z)({options:m},p),g)),"slider"===f&&(0,u.jsx)(l.An,(0,a.Z)((0,a.Z)((0,a.Z)({},p),g),{},{values:t,children:E&&(0,u.jsx)(l.NJ,(0,a.Z)({},S))})),"text"===f&&void 0!==v&&(0,u.jsx)(l.yt,(0,a.Z)((0,a.Z)({},p),g))]})}},37966:function(e,n,t){"use strict";t.d(n,{CR:function(){return T},GS:function(){return _},Ub:function(){return C},Y$:function(){return v},_5:function(){return E},fy:function(){return S},ze:function(){return I}});var a=t(99710),i=t(90497),r=t(92858),o=t(45474),l=t(9363),s=t.n(l),u=t(63705),c=t(25825),d=t(71988),p=t(5268),f=t(54729),m=t(84578),h=t(1987),y=t(62178),g=t(49654),T=function(e,n,t){var a=(0,r.u6)().values,o=(0,f.H)(a,(0,f.TW)(e,!1).split(".")),l=["video.white_balance","video.exposure","video.focus"].includes(e),s=!1,u=!1;i.ku.forEach((function(n){n.accessor===e&&n.when.forEach((function(e){var t=(0,f.H)(a,(0,f.TW)(e.accessor,!1).split("."));if(t&&e.value===t.value)switch(n.action){case"disable":u=!0;break;case"hide":s=!0}}))}));var c,d,p=[];if(void 0===o)return{values:o,dropdownOptions:p,showAutoEnableButton:l,disableDependency:u,hideDependency:s};"dropdown"===t&&void 0!==o.value&&(p=null===(c=o.constraints)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.map((function(e){var t=null===n||void 0===n?void 0:n.find((function(n){return n.value===e}));return null!==t&&void 0!==t?t:{value:e,text:e}})));return{values:o,dropdownOptions:p,showAutoEnableButton:l,disableDependency:u,hideDependency:s}},v=function(e){if(!e)return null;var n,t=s().cloneDeep(e);return function e(t){return!!t.hasOwnProperty("value")||(Object.keys(t).forEach((function(i){if("object"===typeof t[i]&&null!==t[i]&&(e(t[i])&&null!==t[i])){n=!0;var r=t[i].value,o=t[i].constraints;if(r=(0,m.eU)(r),"mute_off_alert"===i&&(r=t[i].value),null!==o&&void 0!==o&&o.options){var l=(0,a.Z)(o.options,3),s=l[0],u=l[1],c=l[2];"0"===s&&"1"===u&&"1"===c&&(r="1"===r)}t[i].value=r}null===t[i]&&delete t[i]})),!1)}(t),n?t:null},E=function(e,n){var t,a,i,r,l,s=(0,c.$G)().t,u="",p="";switch(e){case o.KZ$.DeviceModel:case d.T3.Model:u=n.deviceModel,p=s("MY_SETTINGS_INHERITANCE_MODEL",{model:n.deviceModel});break;case o.KZ$.Site:case d.T3.Site:u=null!==(t=n.site)&&void 0!==t?t:"",p=s("MY_SETTINGS_INHERITANCE_SITE",{model:n.deviceModel,site:n.site});break;case o.KZ$.Group:case d.T3.Group:u=null!==(a=n.group)&&void 0!==a?a:"",p=s("MY_SETTINGS_INHERITANCE_GROUP",{model:n.deviceModel,group:n.group});break;case d.T3.User_Group:u=null!==(i=n.userGroup)&&void 0!==i?i:"",p=s("MY_SETTINGS_INHERITANCE_USER_GROUP",{model:n.deviceModel,userGroup:n.userGroup});break;case o.KZ$.Device:case d.T3.Device:u=null!==(r=null===(l=n.device)||void 0===l?void 0:l.name)&&void 0!==r?r:"",p=s("MY_SETTINGS_INHERITANCE_DEVICE",{model:n.deviceModel})}return{policyIdentifier:u,inheritedBy:p}},_=function(e,n,t,i,r,o,l){var s,c=(0,h.Aj)(),d={},p="{value, constraints{options}}";e||null===n||void 0===n||n.capabilitiesSuperset.forEach((function(e){N(e.id.split("."),d,p)}));var f=JSON.stringify(d),y=0===Object.keys(d).length||0===Object.keys((null===d||void 0===d||null===(s=d.com)||void 0===s?void 0:s.poly)||{}).length,g=y?"{com{poly{audio{bass".concat(p,"}}}}"):f.replace(/['":]+/g,""),T=(0,m.UL)(t,i,r,o),v='\n query GroupPolicyCapabilities {\n policyCapabilities(\n rules: {\n and: [\n {\n equal: {\n key: "tenantId"\n value: "'.concat(c,'"\n }\n }\n {\n equal: {\n key: "modelId"\n value: "').concat(null===o||void 0===o?void 0:o.id,'"\n }\n }\n ').concat(T,"\n ]\n }) {\n capabilities ").concat(g,"\n sources {\n id\n collectionRule {\n value\n }\n name\n updatedAt\n priority\n type\n capabilities ").concat(g,"\n }\n }\n }\n "),E=(0,u.aM)({query:v,pause:l||y,requestPolicy:"network-only"}),_=(0,a.Z)(E,1)[0];return{groupPolicy:_.data,fetchingGroupPolicy:_.fetching,errorFetchingGroupPolicy:_.error,noSettingsToDisplay:y}},S=function(e,n,t,i){var r,o={},l="{value, constraints{options}}";!e&&n&&n.forEach((function(e){N(e.id.split("."),o,l)}));var s=JSON.stringify(o),c=0===Object.keys(o).length||0===Object.keys((null===o||void 0===o||null===(r=o.com)||void 0===r?void 0:r.poly)||{}).length,d=c?"{com{poly{audio{bass".concat(l,"}}}}"):s.replace(/['":]+/g,""),p='\n query DevicePolicyCapabilities {\n devicePolicyCapabilities(\n productId: "'.concat(null===t||void 0===t?void 0:t.productId,'"\n deviceId: "').concat(null===t||void 0===t?void 0:t.id,'"\n ) {\n deviceId\n capabilities ').concat(d,"\n sources {\n id\n name\n updatedAt\n priority\n type\n collectionRule {\n id\n value\n }\n capabilities ").concat(d,"\n }\n }\n }\n "),f=(0,u.aM)({query:p,pause:!(null!==t&&void 0!==t&&t.id)||i}),m=(0,a.Z)(f,2),h=m[0];return{devicePolicy:h.data,fetchingDevicePolicy:h.fetching,errorFetchingDevicePolicy:h.error,noSettingsToDisplay:c,executeQuery:m[1]}},N=function e(n,t,a){var i=n[0];1===n.length?t[i]=a:p.an.includes(i)&&(t[i]||(t[i]={}),e(n.slice(1),t[i],a))},I=function(){var e=(0,r.u6)().setFieldValue,n=(0,y.I0)();return function(t,a){n((0,g.Nd)({accessor:t,change:g.Nk.REVERTED}));var i="";"boolean"!==a&&"checkbox"!==a||(i=!1);var r=(0,f.TW)(t);setTimeout((function(){e(r,i)}),0)}},C=function(){var e=(0,r.u6)(),n=e.setFieldValue,t=e.getFieldMeta,a=(0,y.I0)();return function(e){a((0,g.Nd)({accessor:e,change:""}));var i=(0,f.TW)(e),r=t(i).initialValue;n(i,r)}}},95736:function(e,n,t){"use strict";t.d(n,{pX:function(){return d}});var a=t(47427),i=t(9363),r=t(769),o=t(90497),l=t(54729),s=t(25825);function u(e){return(0,r.Ry)(e)}function c(e){return(0,r.Z_)().label(e)}var d=function(e){return u({com:u({poly:u((0,i.mapValues)(e,(function(e,n){return p(e,n)})))})})},p=function e(n,t){return u((0,i.mapValues)(n,(function(n,a){var i="".concat(t,".").concat(a);if("value"in n){var r,o=null===n||void 0===n||null===(r=n.constraints)||void 0===r?void 0:r.options;return f(i,o)}return e(n,i)})))},f=function(e,n){var t,a=m(e),o=a.label,l=a.type;if(!l||!o)return u();if("button"===l)return c(o);if("text"===l)t=c(o);else switch(l){case"checkbox":t=function(e){return(0,r.O7)().label(e)}(o);break;case"slider":t=function(e){return(0,r.Z_)().label(e)}(o);break;default:if(!n||(0,i.isEmpty)(n))t=c(o);else{var s=Object.values(n);t=(0,r.nK)().label(o).oneOf([].concat(s,[""]))}}return u({value:t=h(e,o,t)})},m=function(e){var n="",t=null;for(var i in o.kH){var r,l=(0,a.Z)(o.kH[i]);try{for(l.s();!(r=l.n()).done;){var s=r.value;s.accessor===e&&(n=s.label,t=s.type)}}catch(u){l.e(u)}finally{l.f()}}return{label:n,type:t}},h=function(e,n,t){return y(e).forEach((function(e){var a=e.rule,r=e.when;if("required"===a)r.forEach((function(e){t=t.when("$values",{is:function(n){return(0,l.H)(n,(0,l.TW)(e.accessor).split("."))===e.value},then:t.required().test("not empty",s.ZP.t("mixed.required",{ns:"validations",label:n}),(function(e){return!(0,i.isEmpty)(e)})),otherwise:t.notRequired()})}));else t=t.notRequired()})),t},y=function(e){return o._K.filter((function(n){return n.accessor===e}))}},54729:function(e,n,t){"use strict";t.d(n,{H:function(){return r},TW:function(){return o},Yl:function(){return l},gO:function(){return s}});var a=t(9363),i=t.n(a),r=function(e,n){return i().get(e,n)},o=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=n?".value":"";return"com.poly.".concat(e).concat(t)},l=function(e,n){var t=o(e);return{"data-testid":t,id:t,name:t,label:n}},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=["use_latest"],t={},a=function e(t,a,i){var r=t[0];1===t.length?(n.includes(r)||"boolean"!==typeof i||(i=i?"true":"false"),a[r]=i):(a[r]||(a[r]={}),e(t.slice(1),a[r],i))};return e.forEach((function(e){a(e.id.split("."),t,e.value)})),t}},84578:function(e,n,t){"use strict";t.d(n,{UL:function(){return u},Y0:function(){return c},eU:function(){return s},hg:function(){return p},k_:function(){return f},xD:function(){return d}});var a=t(99710),i=t(90497),r=t(95611),o=t(71988),l=t(54729),s=function(e){return"string"!==typeof e?e:["true","false"].includes(e.toLowerCase())?"true"===e.toLowerCase():e},u=function(e,n,t,a){return null!==e&&void 0!==e&&e.id?'{ equal: { key: "group", value: "'.concat(e.id,'" } }'):null!==n&&void 0!==n&&n.id?'{ equal: { key: "site", value: "'.concat(n.id,'" } }'):null!==t&&void 0!==t&&t.id?'{ equal: { key: "user_group", value: "'.concat(t.id,'" } }'):'{ equal: { key: "model", value: "'.concat(null===a||void 0===a?void 0:a.id,'" } }')},c=function(e,n,t){return e===r.Kk.GROUP||e===o.T3.Group?[{equal:{key:"group",value:n.group}}]:e===r.Kk.SITE||e===o.T3.Site?[{equal:{key:"site",value:n.site}}]:e===r.Kk.MODEL||e===o.T3.Model?[{equal:{key:"model",value:t}}]:e===r.Kk.USER_GROUP||e===o.T3.User_Group?[{equal:{key:"user_group",value:n.user_group}}]:e===r.Kk.DEVICE||e===o.T3.Device?[{equal:{key:"device",value:n.device}}]:[]},d=function(e,n){return e===r.Kk.DEVICE||e===o.T3.Device?"0.0":e===r.Kk.USER_GROUP||e===o.T3.User_Group?n||"0.3":e===r.Kk.SITE||e===o.T3.Site?"1":e===r.Kk.GROUP||e===o.T3.Group?"2":e===r.Kk.MODEL||e===o.T3.Model?"3":"4"};function p(){return{com:{poly:{audio:{tone_control:{value:void 0},acoustic_fence:{value:void 0},anc_timeout:{value:void 0},auto_pause_music:{value:void 0},audio_quality:{value:void 0},streaming_audio:{value:void 0},extended_range:{value:void 0},volume_level_indicators:{value:void 0},independent_volume_control:{value:void 0},volume_alerts:{value:void 0},noise_exposure_limit:{value:void 0},hours_on_phone_per_day:{value:void 0},anti_startle:{value:void 0},g616:{value:void 0},noise_block_ai:{value:void 0},stereo:{value:void 0},bass:{value:void 0},treble:{value:void 0}},video:{brightness:{value:void 0},contrast:{value:void 0},hue:{value:void 0},saturation:{value:void 0},sharpness:{value:void 0},gamma:{value:void 0},white_balance:{value:void 0},white_balance_auto_enabled:{value:void 0},back_light_compensation:{value:void 0},gain:{value:void 0},zoom:{value:void 0},exposure:{value:void 0},exposure_auto_enabled:{value:void 0},focus:{value:void 0},focus_auto_enabled:{value:void 0},skin_enhancement:{value:void 0},wide_dynamic_range:{value:void 0},participant_count:{value:void 0},onscreen_display:{value:void 0},tracking_speed:{value:void 0},tracking_mode:{value:void 0},anti_flicker:{value:void 0},frame_size:{value:void 0},max_zoom:{value:void 0},camera_movement:{value:void 0}},call_control:{caller_id:{value:void 0},answering_call_alert:{value:void 0},mute_off_alert:{value:void 0},auto_answer_cradle:{value:void 0},default_phone_line:{value:void 0},audio_sensing:{value:void 0},answer_voice_prompt:{value:void 0},mute_reminder_timing:{value:void 0},mute_alert_type:{value:void 0},audio_channel_tone:{value:void 0},mute_reminder_mode:{value:void 0},mute_alerts:{value:void 0},close_conversation_limiting:{value:void 0},notification_tones:{value:void 0},online_indicator:{value:void 0},rocket_button:{value:void 0},call_announcement:{value:void 0},auto_answer:{value:void 0},smart_audio_transfer:{value:void 0},call_button_lock:{value:void 0},auto_mute:{value:void 0},active_call_audio:{value:void 0},auto_connect_mobile:{value:void 0},auto_disconnect_cradle:{value:void 0},mobile_voice_commands:{value:void 0},over_air_subscription:{value:void 0},range:{value:void 0},computer_audio_bandwidth:{value:void 0},desk_phone_audio_bandwidth:{value:void 0},hd_voice:{value:void 0},second_incoming_call:{value:void 0},computer_volume:{value:void 0},desk_phone_volume:{value:void 0},mobile_phone_volume:{value:void 0},computer_ringtone:{value:void 0},desk_phone_ringtone:{value:void 0},mobile_phone_ringtone:{value:void 0},default_ringtone:{value:void 0},mute_reminder_volume:{value:void 0},audio_prompt_volume:{value:void 0},sidetone:{value:void 0},wearing_preference:{value:void 0},ring_vibration:{value:void 0},increase_qd_headset_volume:{value:void 0},dialtone:{value:void 0}},wireless:{bluetooth:{value:void 0},exclusive_connection:{value:void 0},connection_indication:{value:void 0},bluetooth_streaming:{value:void 0},secure_bluetooth:{value:void 0}},general:{language:{value:void 0},battery_status_alert:{value:void 0},sensor_settings_enabled:{value:void 0},charge_vibration:{value:void 0},restore_defaults:{value:void 0}},software_update:{policy:{use_latest:{value:void 0},url_source:{value:void 0},version:{value:void 0},allow_update_postpone_times:{value:void 0},custom_storage_location:{value:void 0}}}}}}}var f=function(e){var n=[];return e&&Object.entries(i.kH).forEach((function(t){var i=(0,a.Z)(t,2),r=i[0];i[1].filter((function(n){var t=(0,l.H)(e,(0,l.TW)(n.accessor,!1).split("."));return void 0!==t&&void 0!==t.value})).length>0&&n.push(r)})),n}},2522:function(e,n,t){"use strict";t.d(n,{jY:function(){return L},wc:function(){return b},Xr:function(){return w},z8:function(){return U},yt:function(){return P},ih:function(){return x},An:function(){return M},NJ:function(){return V},D$:function(){return k},Jp:function(){return D},RO:function(){return j},UE:function(){return F},tg:function(){return O}});var a=t(95764),i=t(99710),r=t(81034),o=t(96902),l=t(12330),s=t(25825),u=t(3541),c=t(92858),d=t(30290),p=t(29938),f=["min","max","step","disabled","id","name","label","className"],m=function(e){var n=e.min,t=e.max,o=e.step,l=e.disabled,s=e.id,u=e.name,m=e.label,h=e.className,y=(0,r.Z)(e,f),g=(0,c.U$)(u),T=(0,i.Z)(g,3),v=T[1].value,E=T[2].setValue;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("input",(0,a.Z)({className:(0,d.e9)([h]),type:"range",min:n||0,max:t||0,value:v||0,id:u,step:o||1,"data-testid":"".concat(s||u),"aria-label":m,onChange:function(e){return E(e.target.value)},disabled:l},y)),(0,p.jsx)(c.Bc,{name:u})]})},h=t(8960),y=t(82933),g=t(62178),T=t(49654),v=t(71988),E=t(61870),_=t(32521),S=t(48930),N=["name","label","options","disabled","permission","tooltipText","inheritance","changed","revert","placeholder"],I=["name","label","disabled","permission","inheritance","tooltipText","changed","revert"],C=["name","tooltipText","disabled","changed","revert","inheritance"],A=["name","tooltipText","children","values","disabled","changed","inheritance","revert"],R=["name"],O=function(e,n,t,a){var i=(0,l.$)().t;if(e===T.Nk.REVERTED)return i("REVERTED_BY_USER");if("DEVICE"!==t)return null;if(e===T.Nk.EDITED&&t)return i("POLICY_LEVEL_".concat(t));if(n){var r="/manage/policy",o="",s=null===n||void 0===n?void 0:n.scope.toLocaleLowerCase(),u=null===n||void 0===n?void 0:n.id;switch(s&&u&&a&&(o=n.scope===v.T3.Model||n.scope===S.KZ$.DeviceModel?"deviceModel=".concat(a,"&previous=device"):"deviceModel=".concat(a,"&").concat(s,"=").concat(u,"&previous=device")),o&&(r="/manage/policy/details/settings"),n.scope){case v.T3.Device||S.KZ$.Device:return i("POLICY_LEVEL_DEVICE");case S.KZ$.ExternalDevice:return i("EXTERNAL_DEVICE_POLICY");case S.KZ$.Global:return i("GLOBAL_POLICY");default:return(0,p.jsxs)(p.Fragment,{children:[i(null===n||void 0===n?void 0:n.scope)+": ",(0,p.jsx)(y.rU,{to:{pathname:r,search:o},children:null===n||void 0===n?void 0:n.value})]})}}},b={DISPLAY:{url:"/display",title:s.ZP.t("DISPLAY")},DATE:{url:"/date",title:s.ZP.t("DATE_AND_TIME")},CALENDAR:{url:"/calendar",title:s.ZP.t("CALENDAR")},SERVERS:{url:"/servers",title:s.ZP.t("CALL_SERVER")},NETWORK:{url:"/network",title:s.ZP.t("NETWORK_QUALITY")},ADVANCED:{url:"/advanced",title:s.ZP.t("SETTINGS_ADVANCED")}},L={LANGUAGE:{url:"/language",title:s.ZP.t("LANGUAGE")},GENERAL:{url:"/general",title:s.ZP.t("GENERAL")},RINGTONES_AND_VOLUME:{url:"/ringtones-volume",title:s.ZP.t("RINGTONES_AND_VOLUME")},AUDIO:{url:"/audio",title:s.ZP.t("AUDIO")},SENSORS_AND_PRESENCE:{url:"/sensors-presence",title:s.ZP.t("SENSORS_AND_PRESENCE")},SOFTPHONES_AND_MEDIA_PLAYERS:{url:"/softphones-media-players",title:s.ZP.t("SOFTPHONES_AND_MEDIA_PLAYERS")},WIRELESS:{url:"/wireless",title:s.ZP.t("WIRELESS")},ADVANCED:{url:"/advanced",title:s.ZP.t("SETTINGS_ADVANCED")},VIDEO_CONTROLS:{url:"/video-controls",title:s.ZP.t("VIDEO_CONTROLS")},DIAGNOSTICS:{url:"/diagnostics",title:s.ZP.t("DIAGNOSTICS")},RESET_DEVICE:{url:"/reset-device",title:s.ZP.t("RESET_DEVICE")},SOFTWARE_UPDATE:{url:"/software-update",title:s.ZP.t("SOFTWARE_UPDATE")}},k=function(e){var n=e.permission,t=(0,l.$)().t;return(0,p.jsx)(h.eE,{iconTitle:"help",className:"debug-tooltip",position:"right",children:(0,p.jsx)("div",{"data-testid":"inactive-tooltip-message",children:t("NEEDS_PERMISSION",{required:n})})})},D=function(e){var n=e.title,t=e.children;return(0,p.jsxs)("div",{className:"settings",children:[(0,p.jsx)("div",{className:"card title-card",children:n}),t]})},x=function(e){var n,t=e.name,o=e.label,s=e.options,c=e.disabled,f=e.permission,m=e.tooltipText,y=e.inheritance,T=e.changed,S=e.revert,I=e.placeholder,C=(0,r.Z)(e,N),A=(0,u.U$)(t),R=(0,i.Z)(A,2)[1],b=R.value,L=R.touched,D=R.error,x=(0,l.$)().t,P=(0,g.v9)((function(e){return e.env.debugUserRoles})),U=(0,v.d2)(),w=(0,i.Z)(U,1)[0],M=(0,g.v9)((function(e){return e.desktopDeviceSettingInheritance.hardwareModel})),V=O(T,y,w.desktopDevicePolicyScope,null===M||void 0===M?void 0:M.value);if(void 0===b)return null;var j=(0,d.e9)(["form-group",L?"touched":"",D?"has-error":""]);return(0,p.jsxs)("div",{className:"".concat(j),children:[(0,p.jsxs)("label",{className:"col-4 text-right",htmlFor:t,children:[T&&(0,p.jsx)(E.S2,{}),m&&(0,p.jsx)(h.eE,{icon:"circle_help",iconTitle:"help",position:"bottom",children:m}),x(o),":"]}),(0,p.jsx)("div",{className:"col-4",children:(0,p.jsx)(u.Ph,(0,a.Z)((0,a.Z)({placeholder:I||(null===(n=s[0])||void 0===n?void 0:n.text)||"",name:t,options:s},C),{},{disabled:c}))}),(0,p.jsx)("div",{className:"col-2 text-md","data-testid":"inheritance",children:V&&V}),(0,p.jsx)("div",{className:"col-2",children:(0,p.jsx)(_.qY,{settingName:t,revert:S})}),P&&(0,p.jsx)(k,{permission:f||"update:device"})]})},P=function(e){var n=e.name,t=e.label,o=e.disabled,s=e.permission,c=e.inheritance,d=e.tooltipText,f=e.changed,m=e.revert,y=(0,r.Z)(e,I),T=(0,l.$)().t,S=(0,g.v9)((function(e){return e.env.debugUserRoles})),N=(0,v.d2)(),C=(0,i.Z)(N,1)[0],A=(0,g.v9)((function(e){return e.desktopDeviceSettingInheritance.hardwareModel})),R=O(f,c,C.desktopDevicePolicyScope,null===A||void 0===A?void 0:A.value),b=y.id||"".concat(n,"-input");return(0,p.jsxs)("div",{className:"form-group",children:[(0,p.jsxs)("label",{className:"col-4 text-right",htmlFor:b,children:[f&&(0,p.jsx)(E.S2,{}),d&&(0,p.jsx)(h.eE,{icon:"circle_help",iconTitle:"help",position:"bottom",children:d}),t&&T(t),":"]}),(0,p.jsx)("div",{className:"col-4",children:(0,p.jsx)(u.II,(0,a.Z)((0,a.Z)({},y),{},{name:n,disabled:o}))}),(0,p.jsx)("div",{className:"col-2 text-md","data-testid":"inheritance",children:R&&R}),(0,p.jsx)("div",{className:"col-2",children:(0,p.jsx)(_.qY,{settingName:n,revert:m})}),S&&(0,p.jsx)(k,{permission:s||"update:device"})]})},U=function(e){var n=e.name,t=e.tooltipText,o=e.disabled,s=e.changed,c=e.revert,d=e.inheritance,f=(0,r.Z)(e,C),m=(0,l.$)().t,y=(0,u.U$)(n),T=(0,i.Z)(y,1)[0].value,S=(0,g.v9)((function(e){return e.env.debugUserRoles})),N=(0,v.d2)(),I=(0,i.Z)(N,1)[0],A=(0,g.v9)((function(e){return e.desktopDeviceSettingInheritance.hardwareModel})),R=O(s,d,I.desktopDevicePolicyScope,null===A||void 0===A?void 0:A.value);return void 0===T?null:(0,p.jsxs)("div",{className:"form-group",children:[(0,p.jsxs)("label",{className:"col-4 text-right",htmlFor:n,children:[s&&(0,p.jsx)(E.S2,{}),t&&(0,p.jsx)(h.eE,{icon:"circle_help",iconTitle:"help",position:"bottom",children:t}),f.label&&m(f.label),":"]}),(0,p.jsx)("div",{className:"col-4",children:(0,p.jsx)(u.Zh,(0,a.Z)({name:n,disabled:o},f))}),(0,p.jsx)("div",{className:"col-2 text-md","data-testid":"inheritance",children:R&&R}),(0,p.jsx)("div",{className:"col-2",children:(0,p.jsx)(_.qY,{settingName:n,revert:c})}),S&&(0,p.jsx)(k,{permission:"update:device"})]})},w=function(){var e=(0,u.u6)(),n=e.dirty,t=e.errors,a=(0,l.$)().t,i=n&&Object.keys(t).length>0?(0,p.jsx)("div",{className:"alert alert-danger col-12",children:a("DEVICE_SETTINGS_CORRECT_ERRORS")}):null;return i?(0,p.jsx)("div",{className:"alert-container grid text-right pb-1 mb-75 block",children:i}):(0,p.jsx)(p.Fragment,{})},M=function(e){var n=e.name,t=e.tooltipText,o=e.children,s=e.values,u=e.disabled,c=e.changed,d=e.inheritance,f=e.revert,y=(0,r.Z)(e,A),T=(0,l.$)().t,S=(0,g.v9)((function(e){return e.env.debugUserRoles})),N=(0,v.d2)(),I=(0,i.Z)(N,1)[0],C=(0,g.v9)((function(e){return e.desktopDeviceSettingInheritance.hardwareModel})),R=O(c,d,I.desktopDevicePolicyScope,null===C||void 0===C?void 0:C.value);if(!s||void 0===s.value)return null;var b=(0,i.Z)(s.constraints.options,3),L=b[0],D=b[1],x=b[2];return"0"===L&&"1"===D&&"1"===x?(0,p.jsx)(U,(0,a.Z)({changed:c,name:n,tooltipText:t,disabled:u,revert:f},y)):(0,p.jsxs)("div",{className:"form-group",children:[(0,p.jsxs)("label",{className:"col-4 text-right",htmlFor:n,children:[c&&(0,p.jsx)(E.S2,{}),t&&(0,p.jsx)(h.eE,{icon:"circle_help",iconTitle:"help",position:"bottom",children:t}),y.label&&T(y.label),":"]}),(0,p.jsxs)("div",{className:"col-4",children:[(0,p.jsx)(m,{name:n,min:L,max:D,step:x,disabled:u}),o]}),(0,p.jsx)("div",{className:"col-2 text-md","data-testid":"inheritance",children:R&&R}),(0,p.jsx)("div",{className:"col-2",children:(0,p.jsx)(_.qY,{settingName:n,revert:f})}),S&&(0,p.jsx)(k,{permission:"update:device"})]})},V=function(e){var n=e.name,t=(0,r.Z)(e,R),o=(0,l.$)().t,s=(0,u.U$)(n),c=(0,i.Z)(s,3),d=c[1].value,f=c[2].setValue;return(0,p.jsx)("button",(0,a.Z)((0,a.Z)({className:"btn btn-link slider-link ".concat(d?"active":"inactive"),onClick:function(e){e.preventDefault(),f(!d)}},t),{},{children:o("AUTO")}))},j=function(e){var n=e.showAdvanced,t=e.settings,a=(0,l.$)().t,r=(0,o.useState)(void 0),s=(0,i.Z)(r,2),u=s[0],c=s[1];return(0,p.jsxs)("ul",{className:"menu router sub",children:[(0,p.jsx)("li",{className:"filter",children:(0,p.jsx)("input",{"data-testid":"settings-filter",type:"text",id:"filter-input",className:"form-control floating-input",placeholder:a("FILTER_SETTINGS"),value:null!==u&&void 0!==u?u:"",onFocus:function(){return c(void 0)},onChange:function(e){return c(e.target.value)}})}),Object.entries(t).filter((function(e){return"ADVANCED"!==(0,i.Z)(e,1)[0]||n})).map((function(e){return(0,i.Z)(e,2)[1]})).filter((function(e){var n=e.title;return n.toLowerCase().includes((null!==u&&void 0!==u?u:"").toLowerCase())})).map((function(e){var n=e.title,t=e.url;return(0,p.jsx)("li",{children:(0,p.jsx)(y.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!0,to:t,children:n})},n+"key")}))]})},F=function(){var e=(0,l.$)().t,n=(0,g.v9)((function(e){return e.settingsNavItems})),t=n.navItems,a=n.loading,r=(0,o.useState)(void 0),s=(0,i.Z)(r,2),u=s[0],c=s[1];return(0,p.jsx)(h.aN,{loading:a,className:"inline text-left",children:(0,p.jsxs)("ul",{className:"menu router sub",children:[(0,p.jsx)("li",{className:"filter",children:(0,p.jsx)("input",{"data-testid":"settings-filter",type:"text",id:"filter-input",className:"form-control floating-input",placeholder:e("FILTER_SETTINGS"),value:null!==u&&void 0!==u?u:"",onFocus:function(){return c(void 0)},onChange:function(e){return c(e.target.value)}})}),t.filter((function(e){var n=e.title;return n.toLowerCase().includes((null!==u&&void 0!==u?u:"").toLowerCase())})).map((function(e){var n=e.title,t=e.url;return(0,p.jsx)("li",{children:(0,p.jsx)(y.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!0,to:t,children:n})},n+"key")}))]})})}},55443:function(e,n,t){"use strict";t.d(n,{P$:function(){return j},I5:function(){return a},sA:function(){return Z},ZP:function(){return J},iw:function(){return w},Ub:function(){return V},ze:function(){return M}});var a,i=t(95764),r=t(99710),o=t(89810),l=t(3541),s=t(37718),u=t(90497),c=t(8960),d=t(48930),p=t(82933),f=t(96902),m=t(25825),h=t(62178),y=t(72955),g=t(73451),T=t(37966),v=t(74237),E=(t(31002),t(65860)),_=t(32521),S=t(61870),N=t(21645),I=t(29938),C=function(e){var n=e.setting,t=e.category,a=e.subcategory,o=e.collection,l=(0,S.Jj)(),s=(0,r.Z)(l,1)[0].policyScope,u=M(),c=n.policyDeploymentScope===s?function(){var e;return u(t,a,o,n.settingName,null!==(e=n.type)&&void 0!==e?e:"")}:void 0;return(0,I.jsx)(_.yb,{setting:(0,i.Z)((0,i.Z)({},n),{},{category:t,subcategory:a,collection:o,show:!0}),revert:{action:c}})},A=function(e){var n=e.setting,t=e.category,a=e.subcategory,r=e.collection,o=V();return(0,I.jsx)(_.yb,{setting:(0,i.Z)((0,i.Z)({},n),{},{category:t,subcategory:a,collection:r,show:!0}),revert:{action:function(){return o(t,a,r,n.settingName)},icon:"circle_x",iconClassName:"outline"}})},R=function(e){var n=e.configParam,t=(0,m.$G)().t,a=n.name,i=n.friendlyName,r=n.value,o=n.exportConfigType,l=n.type,s=t(o?"DEVICE_CONFIG_SOURCE_".concat(o):"UNKNOWN");return(0,I.jsxs)("div",{className:"form-group","data-testid":"form-setting",children:[(0,I.jsxs)("label",{className:"col-4 text-right",children:[i||a,":"]}),(0,I.jsx)("div",{className:"col-3 overflow-hidden","data-testid":a+"-setting",children:l===u.uh.BOOL||l===u.uh.XBOOL?(0,I.jsx)(c.OZ,{name:null!==a&&void 0!==a?a:"",checked:"True"===r||"1"===r,disabled:!0,onChange:function(){}}):(0,I.jsx)("span",{className:"text-break",children:(0,N.wv)(r)})}),(0,I.jsx)("div",{className:"col-3 text-md v-center","data-testid":"source",children:s})]})},O=function(e){var n=e.category,t=e.subcategory,a=e.settings,i=(0,p.dX)("view"),o=(0,r.Z)(i,1)[0];return(0,I.jsxs)("article",{className:"my-settings-subcategory mt-1",children:[(0,I.jsx)("h6",{className:"subcategory-title",children:t}),Object.entries(a).map((function(e){var a=(0,r.Z)(e,2),i=a[0],l=a[1];return(0,I.jsxs)(f.Fragment,{children:[i!==u.PW?(0,I.jsx)("h6",{className:"collection-title",children:i}):null,Object.entries(l).map((function(e){var a=(0,r.Z)(e,2),l=a[0],s=a[1];return(0,I.jsxs)(f.Fragment,{children:[l!==j?(0,I.jsx)("h6",{className:"group-title",children:l}):null,s.map((function(e){return function(e,a){return function(e){return"settingName"in e}(e)?(0,I.jsx)("div",{children:o===u.IY?(0,I.jsx)(A,{setting:e,category:n,subcategory:t,collection:a}):(0,I.jsx)(C,{setting:e,category:n,subcategory:t,collection:a})},e.settingName):(0,I.jsx)("div",{children:(0,I.jsx)(R,{configParam:e})},e.name)}(e,i)}))]},l)}))]},i)}))]})},b=function(e){var n=e.name,t=e.settings,a=e.expanded;return(0,I.jsx)(E.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5",children:n}),dropdown:!0,expanded:a,children:(0,I.jsx)("section",{className:"my-settings-category",children:Object.entries(t).map((function(e){var t=(0,r.Z)(e,2),a=t[0],i=t[1];return(0,I.jsx)(O,{category:n,subcategory:a,settings:i},a)}))})})},L=function(e){var n=e.id,t=e.model,i=e.connected,o=e.settings,l=e.expanded,s=e.dirty,u=(0,m.$G)().t,c=(0,p.dX)("view"),d="changes"===(0,r.Z)(c,1)[0];return(0,I.jsx)(E.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5",children:u("SOFTWARE_UPDATE")}),dropdown:!0,expanded:l,children:(0,I.jsxs)("section",{className:"my-settings-category",children:[!d&&n&&(0,I.jsx)(v.je,{id:n,model:t,connected:i,dirty:s,className:"text-right"}),(0,I.jsx)(v.bE,{model:t,settings:o,revertAction:d?a.DISCARD:a.REVERT})]})})},k=function(e){var n,t=e.device,a=e.view,i=e.deviceModel,o=e.dirty,l=e.inheritedBy,s=e.settingsToDisplay,f=e.swUpdateSettingsToDisplay,h=e.loading,y=(0,m.$G)().t,T=Object.entries(s),v=Object.keys(f).length>0,E=T.length>0||v,_=(0,S.Jj)(),C=(0,r.Z)(_,1)[0].policyScope===d.KZ$.Device,A="";switch(a){case u.P0:A=y("MY_SETTINGS_POLICY_INFO",{devices:l});break;case u.uj:A=y("MY_SETTINGS_DEVICE_CONFIG_INFO",{device:(0,N.wv)(null===t||void 0===t?void 0:t.name)});break;case u.IY:A=y("UNSAVED_CHANGES_INFO")}return(0,I.jsxs)(c.aN,{loading:h,children:[E&&(0,I.jsx)("div",{className:"my-settings-info mb-15",children:A}),E?(0,I.jsx)("div",{className:"form grid scrollable relative","data-testid":"my-settings-view",children:(0,I.jsxs)("div",{className:"mb-3",children:[(0,I.jsxs)("div",{className:"headers mb-1 grid",children:[(0,I.jsx)("div",{className:"col-7 pl-5",children:y("CATEGORY")}),a===u.uj?(0,I.jsxs)("span",{className:"col-3",children:[y("SOURCE"),(0,I.jsx)(c.eE,{iconTitle:"info",iconReplacement:(0,I.jsx)(c.si,{icon:"circle_info",className:"ml-5"}),position:"bottom",size:"lg",children:(0,I.jsx)("span",{className:"font-regular",children:(0,I.jsxs)(m.cC,{i18nKey:"MY_SETTINGS_SOURCE_INFO",children:["Description: More details can be found in",(0,I.jsx)("strong",{children:"Lens Help"})]})})})]}):C?(0,I.jsxs)("span",{className:"col-3",children:[y("POLICY_INHERITANCE"),(0,I.jsx)(c.eE,{iconTitle:"info",iconReplacement:(0,I.jsx)(c.si,{icon:"circle_info",className:"ml-5"}),position:"bottom",size:"lg",children:(0,I.jsx)("div",{className:"font-regular",children:y("MY_SETTINGS_INHERITANCE_INFO")})})]}):null,a===u.P0?(0,I.jsx)("span",{className:"col-2",children:(0,I.jsx)(g.ig,{to:(0,p.dp)("/remove"),className:"remove-all",requirement:"update:device",children:y("REMOVE_ALL")})}):null]}),(0,I.jsxs)(I.Fragment,{children:[T.map((function(e,n){var t=(0,r.Z)(e,2),i=t[0],o=t[1];return(0,I.jsx)(b,{name:i,settings:o,expanded:0===n},"".concat(a,"-").concat(i))})),v&&(0,I.jsx)(L,{id:null===t||void 0===t?void 0:t.id,model:i,connected:null!==(n=null===t||void 0===t?void 0:t.connected)&&void 0!==n&&n,settings:f,expanded:0===T.length,dirty:o},"".concat(a,"-swupdate"))]})]})}):(0,I.jsx)("div",{"data-testid":"no-results",children:a===u.IY?(0,I.jsx)(c.BN,{title:"NO_CHANGED_SETTINGS",filePathLight:"/img/astronaut-namaste-light.png",filePathDark:"/img/astronaut-namaste-dark.png"}):(0,I.jsx)(c.R5,{title:a===u.P0?y("NO_POLICY_SETTINGS"):y("NO_DEVICE_CONFIG")})})]})},D=t(36265),x=t(1987),P=t(10631),U=t(54831);!function(e){e.REVERT="REVERT",e.DISCARD="DISCARD"}(a||(a={}));var w=function(e){var n=0;return Object.values(e).forEach((function(e){Object.values(e).forEach((function(e){Object.values(e).forEach((function(e){n+=Object.keys(e).length}))}))})),n};function M(){var e=(0,l.u6)(),n=e.setFieldValue,t=e.getFieldMeta,a=(0,h.I0)();return function(e,i,r,o,l){a((0,y.qs)({category:e,subcategory:i,collection:r,settingName:o,change:"reverted"}));var s="['".concat(o,"']"),c="";if(l===u.uh.BOOL||l===u.uh.XBOOL)c=!1;else if(o===u.oo){var d,p;c=null!==(d=null===(p=t(s).initialValue)||void 0===p?void 0:p.map((function(e){return{deviceModel:e.deviceModel,swPath:""}})))&&void 0!==d?d:[]}setTimeout((function(){n(s,c)}))}}function V(){var e=(0,l.u6)(),n=e.setFieldValue,t=e.getFieldMeta,a=(0,h.I0)();return function(e,i,r,o){a((0,y.qs)({category:e,subcategory:i,collection:r,settingName:o,change:""}));var l="['".concat(o,"']"),s=t(l).initialValue;n(l,s)}}var j="DEFAULT",F=function(e,n,t,a,i){var r,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:j,s=[t,a,i,l],u=s.length,c=e;s.forEach((function(e,n){c[e]||(c[e]=n===u-1?[]:{}),c=c[e]})),(r=c).push.apply(r,(0,o.Z)(n))},B=function(e,n,t){var a={};Object.entries(e).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=(0,r.Z)(e,2),o=n[0],l=n[1];Object.entries(l).forEach((function(e){var n=(0,r.Z)(e,2),l=n[0],s=n[1];Object.entries(s).forEach((function(e){var n=(0,r.Z)(e,2),s=n[0],u=n[1];Array.isArray(u)?(u=u.filter((function(e){return t(e,i,o,l)}))).length&&F(a,u,i,o,l):Object.values(u).forEach((function(e){(e=e.filter((function(e){return t(e,i,o,l)}))).length&&F(a,e,i,o,l,s)}))}))}))}))}));var i=Object.entries(n).filter((function(e){var n=(0,r.Z)(e,2),a=(n[0],n[1]);return t(a,a.category,a.subcategory,a.collection)})).reduce((function(e,n){var t=(0,r.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e}),{});return[a,i]},Z=function(e){var n=e.unsavedChanges,t=e.deviceId,a=(0,m.$G)().t,r=(0,p.k6)();if(n<=0)return null;var o="settings/my-settings",l=t?"/manage/inventory/details/".concat(t,"/").concat(o):"/manage/policy/details/".concat(o),s={view:u.IY},c={pathname:l,search:(0,p.Pz)((0,i.Z)((0,i.Z)({},(0,p.Qc)(r.location.search)),s))};return(0,I.jsxs)("p",{children:[(0,I.jsx)("span",{className:"review-changes-dialogue",children:a("REVIEW_CHANGES_DIALOGUE",{unsavedChanges:n})}),(0,I.jsx)(p.rU,{to:c,children:a("REVIEW_CHANGES")})]})},G=function(e){var n=e.settings,t=e.swUpdateSettings,a=e.policyIdentifier,i=e.deploymentScope,o=(0,m.$G)().t,l=(0,s.Ws)(),u=M();return(0,I.jsx)(s.WZ,{title:o("REMOVE_ALL_POLICY_SETTINGS"),onConfirm:function(){Object.entries(n).forEach((function(e){var n=(0,r.Z)(e,2),t=n[0],a=n[1];Object.entries(a).forEach((function(e){var n=(0,r.Z)(e,2),a=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=(0,r.Z)(e,2),o=n[0],l=n[1];Object.values(l).flat().forEach((function(e){var n;e.policyDeploymentScope===i&&u(t,a,o,e.settingName,null!==(n=e.type)&&void 0!==n?n:"")}))}))}))})),Object.values(t).forEach((function(e){var n=e.category,t=e.subcategory,a=e.collection,r=e.settingName;e.policyDeploymentScope!==i||i===d.KZ$.DeviceModel&&v.Yx.includes(r)||u(n,t,a,r)})),l()},onCancel:l,open:!0,message:o("REMOVE_ALL_POLICY_SETTINGS_CONFIRMATION",{name:a}),confirmLabel:o("OK")})},J=function(e){var n,t=(0,m.$G)().t,a=(0,U.TE)(),o=(0,p.dX)("view"),l=(0,r.Z)(o,2),s=l[0],y=l[1],v=(0,h.v9)((function(e){return e.settings})),E=w(v),_=(0,S.Jj)(),C=(0,r.Z)(_,1)[0].policyScope,A=a("set:device:config"),R=(0,x.Aj)(),O=e.deviceModel,b=e.device,L=e.deviceSettings,M=e.updateSettings,V=(0,D.iB)(O,null===b||void 0===b?void 0:b.softwareVersion),j=!(null===b||void 0===b||!b.connected),Z=A&&V,J=function(e){var n,t,a,i,o,l,s=e.deviceId,u=e.deviceModel,c=e.fetchDeviceConfig,p=e.tenantId,h=e.fetchInterval,y=void 0===h?3e3:h,g=(0,P.lm)(),T=(0,r.Z)(g,1)[0],v=(0,m.$G)().t,E=(0,f.useState)("IDLE"),_=(0,r.Z)(E,2),S=_[0],N=_[1],I=(0,f.useState)(0),C=(0,r.Z)(I,2),A=C[0],R=C[1],O=(0,f.useState)(!1),b=(0,r.Z)(O,2),L=b[0],k=b[1],D=!!s&&c,x=(0,d.$eU)({variables:{deviceId:s,tenantId:p},pause:"IDLE"!==S||!D,requestPolicy:"network-only"}),U=x.data,w=x.error,M=x.fetching,V=!1===(null===U||void 0===U||null===(n=U.startExportDeviceConfigs)||void 0===n?void 0:n.status)||!!w;(0,f.useEffect)((function(){var e;!0===(null===U||void 0===U||null===(e=U.startExportDeviceConfigs)||void 0===e?void 0:e.status)&&N("FETCHING")}),[null===U||void 0===U||null===(t=U.startExportDeviceConfigs)||void 0===t?void 0:t.status]);var j=(0,d.FKE)({variables:{deviceId:s,deviceModel:u,tenantId:p},pause:!0}),F=j.data,B=j.error,Z=j.fetching,G=j.executor,J="FETCHING"===S&&A<4&&D;(0,f.useEffect)((function(){if(J&&!Z){var e=setTimeout((function(){G({requestPolicy:"network-only"}),R(A+1)}),y);return function(){return clearTimeout(e)}}}),[J,Z,G,A,y]);var H=A>=4&&!Z,W=H&&(!1===(null===F||void 0===F||null===(a=F.getExtendedConfigParams)||void 0===a?void 0:a.status)||!!B);return(0,f.useEffect)((function(){var e;L||!0!==(null===F||void 0===F||null===(e=F.getExtendedConfigParams)||void 0===e?void 0:e.status)||k(!0)}),[null===F||void 0===F||null===(i=F.getExtendedConfigParams)||void 0===i?void 0:i.status,L]),(0,f.useEffect)((function(){H&&N("DONE")}),[H]),(0,f.useEffect)((function(){(V||W)&&(T({id:"device-config-error",type:"error",message:v("DEVICE_CONFIG_ERROR"),dismiss:P.GP.DEFAULT}),N("DONE"))}),[V,W]),{fetching:M||"FETCHING"===S&&!L,deviceConfig:null!==(o=null===F||void 0===F||null===(l=F.getExtendedConfigParams)||void 0===l?void 0:l.configParams)&&void 0!==o?o:[]}}({deviceId:null!==(n=null===b||void 0===b?void 0:b.id)&&void 0!==n?n:"",deviceModel:O,fetchDeviceConfig:Z&&j,tenantId:R}),H=J.deviceConfig,W=J.fetching;(0,f.useEffect)((function(){(s!==u.P0&&s!==u.uj&&s!==u.IY||s===u.IY&&0===E||s===u.uj&&(!Z||!j))&&y(u.P0)}),[s,y,E,j,Z]);var Y={},q={};switch(s){case u.P0:var K=function(e,n,t,a){return B(e,n,(function(e,n,i,r){var o,l,s;return null!==e.policyDeploymentScope&&(e.policyDeploymentScope===a||a===d.KZ$.Device)&&"reverted"!==(null===(o=t[n])||void 0===o||null===(l=o[i])||void 0===l||null===(s=l[r])||void 0===s?void 0:s[e.settingName])}))}(L,M,v,C),z=(0,r.Z)(K,2);Y=z[0],q=z[1];break;case u.IY:var X=function(e,n,t){return B(e,n,(function(e,n,a,i){var r,o,l;return!(null===(r=t[n])||void 0===r||null===(o=r[a])||void 0===o||null===(l=o[i])||void 0===l||!l[e.settingName])}))}(L,M,v),$=(0,r.Z)(X,2);Y=$[0],q=$[1];break;case u.uj:Y=function(e){var n={};return null===e||void 0===e||e.forEach((function(e){var t,a=null!==(t=null===e||void 0===e?void 0:e.categories)&&void 0!==t?t:[],i=(0,r.Z)(a,2),o=i[0],l=i[1];e&&F(n,[e],(0,N.wv)(o),(0,N.wv)(l),u.PW)})),n}(H)}var Q=(0,T._5)(C,e),ee=Q.policyIdentifier,ne=Q.inheritedBy;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"my-settings",children:[(0,I.jsxs)(c.EK,{children:[(0,I.jsx)(c.iu,{label:t("THIS_POLICY"),active:s===u.P0,onClick:function(){return y(u.P0)},"data-testid":"policy-switcher",divClass:"pl-15 pr-15"}),Z&&(0,I.jsx)(c.eE,{iconTitle:"info",iconReplacement:(0,I.jsx)(c.iu,{label:t("THIS_DEVICE"),active:s===u.uj,onClick:function(){return y(u.uj)},"data-testid":"device-config-switcher",divClass:"pl-15 pr-15",disabled:!j}),position:"bottom",disablePopup:j,children:t("UNAVAILABLE_DEVICE_OFFLINE")}),E>0&&(0,I.jsx)(c.iu,{label:t("CHANGES"),active:s===u.IY,onClick:function(){return y(u.IY)},"data-testid":"changes-switcher",divClass:"pl-15 pr-15"})]}),E>0&&(0,I.jsx)("span",{className:"inline-block unsaved-changes-ellipse",children:E}),(0,I.jsx)(k,(0,i.Z)((0,i.Z)({},e),{},{view:null!==s&&void 0!==s?s:u.P0,inheritedBy:ne,settingsToDisplay:Y,swUpdateSettingsToDisplay:q,loading:s===u.uj&&W}))]}),s===u.P0&&(0,I.jsx)(g.i1,{nest:!0,exact:!0,path:"/remove",requirement:"update:device",children:(0,I.jsx)(G,{settings:Y,swUpdateSettings:q,policyIdentifier:ee,deploymentScope:C})})]})}},32521:function(e,n,t){"use strict";t.d(n,{wA:function(){return te},yb:function(){return ne},qY:function(){return re},Sd:function(){return $},ZP:function(){return oe}});var a=t(16798),i=t(82333),r=t(85358),o=t(81034),l=t(95764),s=t(99710),u=t(96902),c=t(25825),d=t(48930),p=t(3541),f=t(82933),m=t(61870),h=t(90497),y=t(90666),g=t(62178),T=t(8960),v=t(2522),E=(t(50564),t(88341)),_=t(9363),S=t(72955),N=t(58512),I=t(37718),C=t(54831),A=t(26371),R=t(55443),O=t(87976),b=t(10278),L=t(22209),k=t(29938),D={allowDefaultSubmit:!0,inCall:!1,step:null},x={updateCallState:(0,b.createStandardAction)("UpdateCallState")(),interrupt:(0,b.createAction)("Interrupt"),confirm:(0,b.createAction)("Confirm"),refire:(0,b.createAction)("Refire"),reset:(0,b.createAction)("Reset")};function P(e,n){switch(n.type){case(0,b.getType)(x.updateCallState):return(0,l.Z)((0,l.Z)({},e),{},{allowDefaultSubmit:!n.payload,inCall:n.payload});case(0,b.getType)(x.reset):return(0,l.Z)((0,l.Z)({},D),{},{inCall:e.inCall,allowDefaultSubmit:!e.inCall});default:return(0,l.Z)((0,l.Z)({},e),{},{step:n.type})}}var U=function(e){var n=e.openConfirm,t=e.actions,a=t.reset,i=t.confirm,r=(0,p.u6)().submitForm,o=(0,c.$G)().t,l=(0,u.useCallback)((function(){a()}),[a]),s=(0,u.useCallback)((function(){i(),r().then()}),[r,i]);return(0,k.jsx)(I.WZ,{title:o("ACTIVE_CALL"),onConfirm:s,onCancel:l,open:n,message:o("CONFIRM_ACTIVE_CALL")})},w=t(74237),M=t(1987),V=t(58141),j=t(27431),F=t(94026),B=t(98742),Z=t(10631),G=function(e){var n,t,a,i=e.checkExternalPolicy,r=e.tenantId,o=e.deviceId,l=(0,c.$G)().t,p=(0,Z.lm)(),f=(0,s.Z)(p,1)[0],m=(t={tenantId:r,deviceId:o},a=!i,(0,d.vww)({variables:t,pause:a})),h=m.data,y=m.fetching,g=null===h||void 0===h||null===(n=h.getPolicies)||void 0===n?void 0:n[0];return(0,u.useEffect)((function(){i&&!y&&g&&!1===g.lastSuccessfullyUpdated&&f({id:"external-policy-error",type:"error",message:l("EXTERNAL_DEVICE_POLICY_FAILED"),dismiss:Z.GP.SLOW,persistThroughNav:!0})}),[i,y,g]),{fetching:y,policy:g}},J=t(4861),H=t(80864),W=["activeCallInterrupt"],Y=["__typename"],q=["__typename"],K=["name","setting","revert","disabled","hasInput","simpleSetting"],z="default",X=function(e){var n,t=e.settings,a=e.swUpdateSettings,m=e.values,T=e.defaultValues,_=e.settingsPolicy,C=e.swUpdatePolicy,b=e.isPolicyView,V=e.device,F=e.siteName,B=e.groupName,Z=(0,c.$G)().t,G=(0,y.lm)(),J=(0,s.Z)(G,1)[0],K=(0,g.I0)(),z=(0,I.Ws)(),X=(0,g.v9)((function(e){return e})).settings,ee=(0,f.dX)("setting"),ne=(0,s.Z)(ee,1)[0],te=(0,f.ec)("warning"),ae=(0,s.Z)(te,1)[0],ie=(0,M.Aj)(),re=(0,N.D3)().user,oe=(0,d.sU3)(),le=(0,s.Z)(oe,2)[1],se=(0,d.kxl)(),ue=(0,s.Z)(se,2)[1],ce=(0,d.ADV)(),de=(0,s.Z)(ce,2)[1],pe=(0,d.re3)(),fe=(0,s.Z)(pe,2)[1],me=function(e){var n=(0,L.bQ)(P,D,x),t=(0,s.Z)(n,2),a=t[0],o=a.allowDefaultSubmit,l=a.step,c=t[1],d=c.reset,p=c.updateCallState,f=c.interrupt,m=c.refire,h=(0,O.Qu)(e).inCall,y=(0,u.useCallback)((function(e){return function(){var n=(0,r.Z)((0,i.Z)().mark((function n(t,a){return(0,i.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!o){n.next=4;break}return n.next=3,e(t,a);case 3:case 9:return n.abrupt("return",n.sent);case 4:if("Confirm"!==l){n.next=13;break}return m(),n.prev=6,n.next=9,e(t,a);case 10:return n.prev=10,d(),n.finish(10);case 13:return null===l&&(f(),a.setSubmitting(!1)),n.abrupt("return",Promise.resolve());case 15:case"end":return n.stop()}}),n,null,[[6,,10,13]])})));return function(e,t){return n.apply(this,arguments)}}()}),[o,d,l,f,m]);return(0,u.useEffect)((function(){p(h)}),[p,h]),{activeCallInterrupt:y,actions:c,openConfirm:"Interrupt"===l}}(null===V||void 0===V?void 0:V.id),he=me.activeCallInterrupt,ye=(0,o.Z)(me,W),ge=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(n){var a,r,s,u,p,f,m,g,T,v,E,N,I,A,R,O,b,L,k,D,x;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,j.pL)(null!==(a=null===_||void 0===_?void 0:_.configurationAttributes)&&void 0!==a?a:[]),s=(0,j.Zb)(n,X),u=(0,j.JC)(t),p=null,Object.values(s).forEach((function(e){var n,t,a=e.name,i=e.value,o=e.change;switch(a){case h.bt:case h.Tf:case h.qQ:case h.gX:case h.oo:p=null!==(n=p)&&void 0!==n?n:o;break;case h.g_:t={name:(0,j.n2)(a),paramType:h.Hy.PARAM,type:h.uh.UINT};break;case h.WW:t={name:(0,j.n2)(a),paramType:h.Hy.PARAM,type:h.uh.XBOOL};break;case h.fE:case h.e0:t={name:(0,j.n2)(a),paramType:h.Hy.PARAM,type:h.uh.STRING};break;default:t=u[a]}if(t){var l=t,s=l.name,c=l.paramType,d=l.type,f=l.index1,m=l.index2;if("reverted"===o)r=r.filter((function(e){return e.name!==s}));else{i=(0,j.pW)(i,d);var y=r.find((function(e){return e.name===s}));y?(0,j.mp)(y,i,c,f,m):(y=(0,j.DS)(s,i,c,f,m))&&r.push(y)}}})),f=null!==C&&void 0!==C&&C.policyId?le:ue,m=null!==_&&void 0!==_&&_.policyId?le:ue,!(r.length>0)){e.next=16;break}return _.__typename,T=(0,o.Z)(_,Y),v=(0,l.Z)((0,l.Z)({},T),{},{configurationAttributes:r,isExecuteImmediately:!0,modifiedBy:null===re||void 0===re?void 0:re.email}),e.next=12,m({policy:v,tenantId:ie});case 12:E=e.sent,g=E.error,e.next=21;break;case 16:if(null===_||void 0===_||!_.policyId){e.next=21;break}return e.next=19,de({policyId:_.policyId});case 19:N=e.sent,g=N.error;case 21:if("reverted"!==p){e.next=28;break}return e.next=24,de({policyId:null===C||void 0===C?void 0:C.policyId});case 24:A=e.sent,I=A.error,e.next=38;break;case 28:if("edited"!==p){e.next=38;break}return R=n.autoUpdateLatest?d.EOh.StandardUrl:n.swUpdateSource,O=R===d.EOh.StandardUrl,b=R===d.EOh.CustomUrl,C.__typename,L=(0,o.Z)(C,q),k=(0,l.Z)((0,l.Z)({},L),{},{swUpdatePath:n.autoUpdateLatest?h.y7:O?n.swUpdatePath:"",swSupportUpdatePath:!n.autoUpdateLatest&&O?(0,j.SH)(n.swSupportUpdatePath):null,customSwUpdatePath:b?n.customSwUpdatePath:"",customSwSupportUpdatePath:b?(0,j.SH)(n.customSwSupportUpdatePath):null,swUpdateSource:R,isExecuteImmediately:!0,modifiedBy:null===re||void 0===re?void 0:re.email,configurationAttributes:[]}),e.next=36,f({policy:k,tenantId:ie},{i18nKey:"ERROR_SAVING_DEVICE_POLICY"});case 36:D=e.sent,I=D.error;case 38:g||I||(J((i=null!==(x=null===_||void 0===_?void 0:_.policyDeploymentScope)&&void 0!==x?x:d.KZ$.DeviceModel,{id:"save-policy-success",type:"success",message:Ne?c.ZP.t("POLICY_CREATED"):c.ZP.t("POLICY_SAVED",{policy:c.ZP.t("".concat(i,"_POLICY"))}),dismiss:y.GP.DEFAULT})),(null===_||void 0===_?void 0:_.policyDeploymentScope)===d.KZ$.Device&&V&&fe({deviceId:V.id}),K((0,S.sf)()),K((0,H.An)()));case 39:case"end":return e.stop()}var i}),e)})));return function(n){return e.apply(this,arguments)}}(),Te=E.A.Content,ve=F||B||(null===V||void 0===V?void 0:V.name)||void 0,Ee=function(e,n){var t="";return n=n||"",e===d.KZ$.DeviceModel&&(t=c.ZP.t("DEVICE_MODEL_POLICY")),e===d.KZ$.Site&&(t="".concat(c.ZP.t("SITE_POLICY")," | ").concat(n)),e===d.KZ$.Group&&(t="".concat(c.ZP.t("GROUP_POLICY")," | ").concat(n)),e===d.KZ$.Device&&(t="".concat(c.ZP.t("DEVICE_POLICY")," | ").concat(n)),t}(null!==(n=null===_||void 0===_?void 0:_.policyDeploymentScope)&&void 0!==n?n:d.KZ$.DeviceModel,ve),_e=b?(0,k.jsx)(A.V1,{bold:null===_||void 0===_?void 0:_.deviceModel,light:Ee}):(0,k.jsx)(A.z5,{device:V}),Se=(0,R.iw)(X),Ne=b&&!(null!==C&&void 0!==C&&C.policyId)&&!(null!==_&&void 0!==_&&_.policyId);return(0,k.jsx)(p.Ab,{name:"DeviceSettings",initialValues:m,customDimensions:{model:null===V||void 0===V?void 0:V.hardwareModel,software_version:null===V||void 0===V?void 0:V.softwareVersion},enableReinitialize:!0,validate:function(e){var n={},a=(0,j.Zb)(e,X),i=(0,j.JC)(t),r=!1;return Object.values(a).forEach((function(e){var t=e.name,a=e.value;if("edited"===e.change){var o=i[t];if(o){var l,s=o.settingName,u=o.type,c=o.max,d=o.min,p="",f="";switch(u){case h.uh.UINT:case h.uh.UINT_NULL:case h.uh.SINT:case h.uh.SINT_NULL:if("string"===typeof a){var m=parseInt(a);isNaN(m)||(l=m)}else"number"===typeof a&&(l=a);p=Z("FORM_VALIDATE_RANGE_OVERFLOW",{max:c}),f=Z("FORM_VALIDATE_RANGE_UNDERFLOW",{min:d});break;case h.uh.STRING:case h.uh.STRING_PASSWORD:l=a.length,p=Z("FORM_VALIDATE_TOO_LONG",{minLength:c}),f=Z("FORM_VALIDATE_TOO_SHORT",{maxLength:d})}void 0!==l&&null!=c&&l>c?n[s]=p:void 0!==l&&null!=d&&l0})}),(0,k.jsx)(f.AW,{nest:!0,path:"update",children:(0,k.jsx)(w.GJ,{id:null===V||void 0===V?void 0:V.id,model:null!==(o=C.deviceModel)&&void 0!==o?o:"",connected:null!==(s=null===V||void 0===V?void 0:V.connected)&&void 0!==s&&s,settings:a,version:null!==(u=null===V||void 0===V?void 0:V.softwareVersion)&&void 0!==u?u:"",dirty:m||Se>0})}),(0,k.jsx)(f.AW,{nest:!0,path:":category/:subcategory/:collection",children:function(e){var n,a,i=e.match,r=null===i||void 0===i?void 0:i.params,o=r.category,l=r.subcategory,s=r.collection,u=null===(n=t[o])||void 0===n||null===(a=n[l])||void 0===a?void 0:a[s];return u?(0,k.jsx)(Te.ScrollingList,{className:"relative","data-testId":"settings",children:(0,k.jsxs)(v.Jp,{title:s!==h.PW?s:l,children:[ae&&(0,k.jsxs)("span",{className:"text-md pl-75",children:[Z("LINE_WARNING"),(0,k.jsx)(f.OL,{to:"/manage/inventory/details/".concat(null===V||void 0===V?void 0:V.id,"/settings/").concat(h.fZ,"/").concat(h.kg),children:Z("GLOBAL_SETTINGS")}),"."]}),(0,k.jsx)("div",{className:"details grid form mb-3",children:(0,k.jsx)(Q,{collection:s,settings:u,settingFilter:null!==ne&&void 0!==ne?ne:"",values:c,defaultValues:T})})]})}):null}}),(0,k.jsx)(f.AW,{nest:!0,path:":category?/:subcategory?",children:function(e){var n,a=e.match,i=null===a||void 0===a?void 0:a.params,r=i.category,o=i.subcategory,l="";r||(r=Object.keys(t)[0],l+="/:category"),!o&&t[r]&&(o=Object.keys(t[r])[0],l+="/:subcategory");var s,u="";null!==(n=t[r])&&void 0!==n&&n[o]&&(u=Object.keys(null===(s=t[r])||void 0===s?void 0:s[o])[0],l+="/:collection");if(r&&o&&u)return(0,k.jsx)(f.l_,{nest:!0,persist:["PolicyFilterState","deviceModel","site","DeviceFilterState","InsightsFilterState","group","previous"],to:(0,f.Gn)(l,{category:r,subcategory:o,collection:u})})}})]})]})})}})},$=function(e){var n=e.children,t=(0,g.v9)((function(e){return e.settings})),a=(0,p.u6)(),i=a.values,r=a.validateForm;return(0,u.useEffect)((function(){r(i)}),[t,r,i]),(0,k.jsx)(k.Fragment,{children:n})},Q=function(e){var n=e.collection,t=e.settings,a=e.settingFilter,i=e.values,r=e.defaultValues,o=(0,c.$G)().t,u=function(e,t){return e.filter((function(e){return!t||t===e.settingName})).map((function(e){var t=e.lensConditional,a=e.lensConditionalValue,o=!0;if(t){var s="";"True"===a||"False"===a?s=h.uh.XBOOL:"0"!==a&&"1"!==a||(s=h.uh.BOOL),o=(0,j.pW)(i[t.toLowerCase()],s)===a}var u=(0,j.pW)(r[e.settingName],e.type);return(0,l.Z)((0,l.Z)({},e),{},{defaultValue:u,collection:n,show:o})}))},d=[];return Object.keys(t).forEach((function(e){var n={},i=t[e];Array.isArray(i)?n[z]=u(i,a):Object.entries(i).forEach((function(e){var t=(0,s.Z)(e,2),i=t[0],r=t[1];n[i]=u(r,a)})),0!==Object.values(n).flat().filter((function(e){return e.show})).length&&d.push({title:e,settings:n})})),0===d.length?(0,k.jsx)(T.Jp,{title:o("NO_SETTINGS")}):(0,k.jsx)(k.Fragment,{children:d.map((function(e,n){var t=e.title;return(0,k.jsx)(ee,(0,l.Z)((0,l.Z)({},e),{},{first:0===n}),t+"-key")}))})},ee=function(e){var n=e.title,t=e.first,a=e.settings,i=(0,c.$G)().t,r=(0,m.Jj)(),o=(0,s.Z)(r,1)[0].policyScope===d.KZ$.Device,l=n&&n!==h.Ji;return(0,k.jsxs)(k.Fragment,{children:[!t&&(0,k.jsx)("hr",{}),(0,k.jsxs)("div",{className:"legend grid",children:[l&&(0,k.jsx)("div",{className:"col-7",children:n}),t&&o&&(0,k.jsx)("div",{className:"".concat(l?"":"offset-7"," col-5"),children:i("POLICY_INHERITANCE")})]}),Object.entries(a).map((function(e){var t=(0,s.Z)(e,2),a=t[0],i=t[1];return(0,k.jsxs)("div",{children:[a!==z&&(0,k.jsx)("div",{className:"legend text-md pl-3 pt-1",children:a}),i.map((function(e){var n=e.settingName,t=e.show;return n?(0,k.jsx)("div",{className:"show-hide ".concat(t?"show":"hide"),"data-testid":"provisioned-setting",children:(0,k.jsx)(ne,{setting:e})},n+"-setting"):null}))]},"".concat(n,"-subgroup-").concat(a))}))]})},ne=function(e){var n=e.setting,t=e.revert,a=n.settingName,i="['".concat(a,"']");return a===h.FB?(0,k.jsx)(ae,{name:i,setting:n,revert:t}):(0,k.jsx)(te,{name:i,setting:n,revert:t})},te=function(e){var n,t,i,r,f=e.name,y=e.setting,E=e.revert,N=e.disabled,I=e.hasInput,A=void 0===I||I,R=e.simpleSetting,O=void 0!==R&&R,b=(0,o.Z)(e,K),L=(0,c.$G)().t,D=(0,g.I0)(),x=(0,u.useRef)(!0),P=(0,C.zf)((0,C.Vd)("update:device")),U=(0,g.v9)((function(e){return e.env.debugUserRoles})),w=(0,m.uA)(),M=(0,s.Z)(w,1)[0],j=M.externalPolicyLastSuccessfullyUpdated,F=M.externalPolicyLastSuccessfullyUpdatedTime,B=(0,m.Jj)(),Z=(0,s.Z)(B,1)[0].policyScope,G=(0,g.v9)((function(e){return e.provisionedDeviceSettingInheritance[y.settingName.toLocaleLowerCase()]})),J=(0,p.U$)(f),H=(0,s.Z)(J,2)[1],W=H.initialValue,Y=H.value,q=y.category,z=y.subcategory,X=y.collection,$=y.settingName,Q=y.friendlyName,ee=y.help,ne=y.min,te=y.max,ae=y.defaultValue,ie=y.featureCategory,oe=y.policyDeploymentScope===d.KZ$.ExternalDevice,le=(0,g.v9)((function(e){var n,t,a;return null===(n=e.settings[q])||void 0===n||null===(t=n[z])||void 0===t||null===(a=t[X])||void 0===a?void 0:a[$]})),se=null===(n=(0,g.v9)((function(e){return e.provisionedDeviceSettingInheritance.hardwareModel})))||void 0===n?void 0:n.value,ue=(0,u.useRef)((0,_.debounce)((function(e){D((0,S.qs)({category:q,subcategory:z,collection:X,settingName:$,change:e}))}),300)).current;(0,u.useEffect)((function(){x.current?x.current=!1:ue(Y!==W?"edited":"")}),[Y,W,ue]);var ce=(t={},(0,a.Z)(t,d.tRc.Beta,(0,k.jsx)(T.vw,{})),(0,a.Z)(t,d.tRc.Preview,(0,k.jsx)(T.PE,{})),t),de=function(e,n){var t=ce[e];return u.isValidElement(t)?u.cloneElement(t,{className:n}):null},pe=Z===d.KZ$.Device,fe=(0,v.tg)(le,G,Z,se),me="reverted"===le,he=Q||$;return(0,k.jsxs)("div",{className:"form-group","data-testid":"form-setting",children:[(0,k.jsxs)("label",{className:"col-4 text-right",children:[!O&&le&&(0,k.jsx)(m.S2,{}),ee&&(0,k.jsx)(T.eE,{size:"lg",position:"bottom",icon:"circle_help",iconTitle:"help",iconPosition:"left",className:"text-left settings-help to-right",children:(0,k.jsx)("div",{className:"font-regular",children:ee})}),he,":"]}),(0,k.jsx)("div",{className:"col-3","data-testid":$+"-setting",children:(0,k.jsxs)("div",{className:"d-flex",children:[A&&function(e){var n=y.type,t=y.enumVal,a=!P||N||oe;switch(n){case h.uh.ENUM:var i=[],r=e;null===t||void 0===t||t.filter((function(e){return null!==e&&null!==e.value})).forEach((function(n){var t;i.push({value:n.value,text:n.friendlyValue||n.value,icon:de(null!==(t=n.featureCategory)&&void 0!==t?t:d.tRc.Released,"ml-5"),iconPosition:"after"}),n.value===e&&n.friendlyValue&&(r=n.friendlyValue)}));var o=i.find((function(e){return e.value===Y})),s=null!==o&&void 0!==o&&o.icon?(0,k.jsxs)("span",{className:"d-flex",children:[(0,k.jsx)("span",{children:o.text}),o.icon]}):null;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.Ph,{placeholder:r,name:f,options:i,disabled:a,className:"provisioned-setting",inputReplacement:s}),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]});case h.uh.BOOL:case h.uh.XBOOL:return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.Zh,{name:f,disabled:a}),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]});case h.uh.UINT:case h.uh.UINT_NULL:case h.uh.SINT:case h.uh.SINT_NULL:return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.II,(0,l.Z)({type:"number",min:null!==ne&&void 0!==ne?ne:"",max:null!==te&&void 0!==te?te:"",name:f,disabled:a,placeholder:e},b)),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]});case h.uh.STRING:return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.II,(0,l.Z)({type:"text",name:f,disabled:a,placeholder:e,resourceSelector:!0},b)),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]});case h.uh.STRING_PASSWORD:return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.II,(0,l.Z)({type:"password",name:f,disabled:a,placeholder:e},b)),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]});default:return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(p.II,(0,l.Z)({type:"text",name:f,disabled:a,placeholder:e},b)),U&&(0,k.jsx)(v.D$,{permission:"update:device"})]})}}(null!==ae&&void 0!==ae?ae:""),!O&&de(null!==ie&&void 0!==ie?ie:d.tRc.Released,"ml-5")]})}),(pe||me)&&(0,k.jsx)("div",{className:"col-3 text-md",children:!O&&(0,k.jsxs)("div",{"data-testid":"inheritance",children:[oe&&!1===j&&(0,k.jsx)(T.eE,{icon:"triangle_warning",iconTitle:"",position:"right",size:"md",className:"warning ml-5",children:(0,k.jsxs)("span",{children:[L("EXTERNAL_DEVICE_POLICY_STALE"),F?" ".concat(L("EXTERNAL_DEVICE_POLICY_LAST_SUCCESSFUL_UPDATE",{time:(0,V.Z)(F,h.zT.WITH_TIME_LONG)})):""]})}),fe]})}),(0,k.jsx)("div",{className:"col-2",children:!O&&(0,k.jsx)(re,{settingName:null!==(i=null!==(r=y.friendlyName)&&void 0!==r?r:y.name)&&void 0!==i?i:"",revert:E,locked:oe})})]})},ae=function(e){var n=e.name,t=e.setting,a=e.revert,i=(0,m.uA)(),r=(0,s.Z)(i,1)[0].maxConfiguredLine,o=(0,u.useState)(0),l=(0,s.Z)(o,2),c=l[0],d=l[1],f=(0,u.useState)(!1),h=(0,s.Z)(f,2),y=h[0],g=h[1],T=(0,p.U$)(n),v=(0,s.Z)(T,3),E=v[0].onChange,S=v[1].initialValue,N=v[2].setValue,I=(0,u.useRef)((0,_.debounce)((function(e,n){var t=parseInt(e);isNaN(t)||(d(t),t>=1&&t0,allowedSubRoutes:["/settings","/my-settings","/manage/policy/details"],children:[(0,_.jsxs)("li",{className:"filter mb-1 mt-1",children:[(0,_.jsx)(u.si,{icon:"filter",className:"v-middle"}),(0,_.jsx)("input",{type:"text",id:"filter-input",className:"form-control floating-input",placeholder:E("FILTER_SETTINGS"),value:null!==C&&void 0!==C?C:"",onChange:function(e){return R(e.target.value)}})]}),(0,_.jsx)("li",{children:(0,_.jsxs)(s.OL,{nest:!0,to:{pathname:"/my-settings",search:c.location.search},children:[F>0&&(0,_.jsx)(P,{}),E("MY_SETTINGS")]})}),(0,_.jsx)("li",{className:"divider mt-5"}),Object.keys(D).map((function(e){return(0,_.jsxs)("li",{className:"active-transparent",children:[(0,_.jsxs)(s.OL,{nest:!0,to:"/".concat(e),persist:B,children:[j(e)&&(0,_.jsx)(P,{}),e]}),C?(0,_.jsx)("ul",{className:"menu router sub pl-1",children:Object.keys(D[e]).map((function(n){return Object.keys(D[e][n]).map((function(t){return Object.values(D[e][n][t]).map((function(a){return(Array.isArray(a)?a:Object.values(a).flat()).filter((function(e){var n,t=e.settingName.toLowerCase(),a=null===(n=e.friendlyName)||void 0===n?void 0:n.toLowerCase(),i=C.toLowerCase();return(null===a||void 0===a?void 0:a.includes(i))||t.includes(i)})).map((function(a){var i=a.settingName;return(0,_.jsx)("li",{children:(0,_.jsxs)(s.OL,{nest:!0,to:{pathname:"/".concat(e,"/").concat(n,"/").concat(t),search:"setting=".concat(i)},persist:B,isActive:function(e,n){var t=m.parse(n.search).setting;return!!i&&t===i},children:[w(e,n,t,i)&&(0,_.jsx)(P,{}),a.friendlyName||i]})},i+"-key")}))}))}))}))}):(0,_.jsx)(s.AW,{nest:!0,path:"/".concat(e),children:(0,_.jsx)("ul",{className:"menu router sub pl-1",children:Object.keys(D[e]).map((function(n){return(0,_.jsxs)("li",{children:[(0,_.jsxs)(s.OL,{nest:!0,to:"/".concat(n),persist:B,children:[V(e,n)&&(0,_.jsx)(P,{}),n]}),(0,_.jsx)(s.AW,{nest:!0,path:"/".concat(n),children:(0,_.jsx)("ul",{className:"menu router sub pl-1",children:Object.keys(D[e][n]).map((function(t){if(t===d.PW)return null;var a=function(e,n,t,a){var i=!1;if((0,g.n8)(e,n)){var r,o=null===(r=t.match(/\d+/))||void 0===r?void 0:r.map(Number)[0];o&&o>a.regLimit&&(i=!0)}return i}(e,n,t,x);return(0,_.jsx)("li",{children:(0,_.jsxs)(s.OL,{nest:!0,to:{pathname:"/".concat(t),search:"warning=".concat(a)},persist:B,children:[M(e,n,t)&&(0,_.jsx)(P,{}),t,a&&(0,_.jsx)(u.si,{className:"float-right",icon:"eye_slash"})]})},t+"-key")}))})})]},n+"-key")}))})})]},e+"-key")})),(0,_.jsx)("li",{children:(0,_.jsxs)(s.OL,{nest:!0,exact:!0,to:"/update",persist:B,children:[j(d.kJ)&&(0,_.jsx)(P,{}),E("SOFTWARE_UPDATE")]})})]})})})},w=function(e){var n=e.id,t=e.model,a=e.siteId,i=e.siteName,o=e.groupId,l=e.groupName,u=e.isPolicyView,d=void 0!==u&&u,f=(0,p.I0)();return(0,r.useEffect)((function(){f((0,E.An)())}),[f]),(0,_.jsx)(R,{children:(0,_.jsx)(x,{children:(0,_.jsx)(s.rs,{children:(0,_.jsx)(s.AW,{nest:!0,path:"/",children:(0,_.jsx)(c.ZP,{model:t,deviceId:n,siteId:a,siteName:i,groupId:o,groupName:l,isPolicyView:d})})})})})}},74237:function(e,n,t){"use strict";t.d(n,{CO:function(){return B},GJ:function(){return U},GX:function(){return P},Ph:function(){return x},Yx:function(){return D},bE:function(){return M},je:function(){return w},yJ:function(){return F}});var a,i=t(95764),r=t(82333),o=t(85358),l=t(99710),s=t(16798),u=t(48930),c=t(96902),d=t(25825),p=t(10631),f=t(1987),m=t(2522),h=t(769),y=t(88341),g=t(32521),T=t(36265),v=t(21645),E=t(90497),_=t(62178),S=t(73451),N=t(55443),I=t(92858),C=t(9363),A=t(4861),R=t(27431),O=t(61870),b=t(98754),L=t(8960),k=t(29938),D=[E.bt,E.Tf,E.qQ,E.gX,E.oo],x=function(){for(var e=[],n=0;n<24;n++)e.push({value:"".concat(n<10?"0":"").concat(n,":00"),text:"".concat(n>12?n-12:0===n?12:n,":00 ").concat(n>11?"PM":"AM")});return e},P=h.Ry((a={},(0,s.Z)(a,E.bt,h.Xg().required()),(0,s.Z)(a,E.Tf,h.nK().required()),(0,s.Z)(a,E.qQ,h.Z_().label(d.ZP.t("SELECT_VERSION")).when([E.bt,E.Tf],{is:function(e,n){return!e&&n===u.EOh.StandardUrl},then:h.Z_().required()})),(0,s.Z)(a,E.zR,h.IX().of(h.Ry({deviceModel:h.Z_().nullable(),swPath:h.Z_().nullable()}))),(0,s.Z)(a,E.gX,h.Z_().label(d.ZP.t("UPDATE_SERVER_ADDRESS")).when([E.bt,E.Tf],{is:function(e,n){return!e&&n===u.EOh.CustomUrl},then:h.Z_().required()})),(0,s.Z)(a,E.oo,h.IX().of(h.Ry({deviceModel:h.Z_().nullable(),swPath:h.Z_().nullable()})).label(d.ZP.t("ADDITIONAL_UPDATE_SERVER_ADDRESSES"))),(0,s.Z)(a,E.g_,h.Rx().label(d.ZP.t("UPGRADE_POLLING_INTERVAL"))),(0,s.Z)(a,E.WW,h.Xg().label(d.ZP.t("SCHEDULE_UPDATE_CHECKS"))),(0,s.Z)(a,E.fE,h.Z_().label(d.ZP.t("FROM"))),(0,s.Z)(a,E.e0,h.Z_().label(d.ZP.t("TO"))),a)),U=function(e){var n=e.id,t=e.model,a=e.connected,i=e.settings,r=e.version,o=e.dirty,s=(0,d.$G)().t,c=(0,R.fj)(t),p=(0,O.Jj)(),f=(0,l.Z)(p,1)[0].policyScope===u.KZ$.Device,h=y.A.Content;return(0,k.jsx)(h.ScrollingList,{children:(0,k.jsx)(m.Jp,{title:s("SOFTWARE_UPDATE"),children:(0,k.jsxs)("div",{className:"details grid form mb-3",children:[(0,k.jsxs)("div",{className:"legend grid pr-0 pl-0 ml-0",children:[f&&(0,k.jsx)("div",{className:"col-3 offset-7",children:s("INHERITANCE")}),(0,k.jsx)("div",{className:"col-2 pr-0",children:n&&(0,k.jsx)(w,{id:n,model:c,connected:a,version:r,dirty:o,className:"text-right"})})]}),n&&(0,k.jsx)(j,{id:n,model:c}),(0,k.jsx)(M,{model:c,settings:i})]})})})},w=function(e){var n=e.id,t=e.model,a=e.connected,i=e.dirty,s=e.className,p=e.version,f=(0,d.$G)().t,m=(0,u.re3)(),h=(0,l.Z)(m,2)[1],y=(0,c.useState)(!1),g=(0,l.Z)(y,2),_=g[0],N=g[1],I=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),e.next=3,h({deviceId:n});case 3:N(!1);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),C=(0,T.uC)(t),A=(0,T.gR)(t),R=!!p&&(0,v.yC)(p,E.rc)>=0,O=!C&&(!A||R),b=!a||_||i;return(0,k.jsx)(S.xb,{requirement:"update:device",children:O&&(0,k.jsx)(L.eE,{iconTitle:"info",iconReplacement:(0,k.jsx)("div",{className:null!==s&&void 0!==s?s:"",children:(0,k.jsx)("button",{type:"button",className:"btn btn-primary","data-testid":"update-button",disabled:b,onClick:I,children:_?(0,k.jsx)("span",{children:f("UPDATING")}):f("UPDATE_NOW")})}),disablePopup:a,className:"font-regular",children:f("UNAVAILABLE_DEVICE_OFFLINE")})})},M=function(e){var n,t,a,r,o,f,m=e.model,y=e.settings,g=e.revertAction,T=(0,d.$G)().t,v=(0,p.u6)().values,S=(0,_.v9)((function(e){return e.settings})),A=(0,N.Ub)(),R=(0,O.Jj)(),b=(0,l.Z)(R,1)[0].policyScope,L=x().map((function(e){return{value:e.value,friendlyValue:e.text,featureCategory:u.tRc.Released,__typename:"EnumVal"}})),U=null===y||void 0===y?void 0:y[E.g_];if(U){var w,M,j=null!==(w=U.min)&&void 0!==w?w:0,B=null!==(M=U.max)&&void 0!==M?M:1/0;P=P.shape((0,s.Z)({},E.g_,h.Rx().min(j,T("FORM_VALIDATE_RANGE_UNDERFLOW",{min:j})).max(B,T("FORM_VALIDATE_RANGE_OVERFLOW",{max:B})).label("UPGRADE_POLLING_INTERVAL")))}var Z=(0,c.useCallback)((function(e){e.forEach((function(e){var n=y[e];if(n){var t,a,i,r=n.category,o=n.subcategory,l=n.collection,s=n.settingName;"edited"===(null===S||void 0===S||null===(t=S[r])||void 0===t||null===(a=t[o])||void 0===a||null===(i=a[l])||void 0===i?void 0:i[s])&&A(r,o,l,s)}}))}),[y,S,A]),G=v[E.WW],J="reverted"===(null===S||void 0===S||null===(n=S[E.kJ])||void 0===n||null===(t=n[E.kJ])||void 0===t||null===(a=t[E.PW])||void 0===a?void 0:a[E.fE]),H="reverted"===(null===S||void 0===S||null===(r=S[E.kJ])||void 0===r||null===(o=r[E.kJ])||void 0===o||null===(f=o[E.PW])||void 0===f?void 0:f[E.e0]);(0,c.useEffect)((function(){!0===v.autoUpdateLatest&&Z([E.Tf,E.qQ,E.zR,E.gX,E.oo]),v.swUpdateSource===u.EOh.StandardUrl?Z([E.gX,E.oo]):v.swUpdateSource===u.EOh.CustomUrl&&Z([E.qQ,E.zR]),!1===v.upgradeTimeFrameEnable&&Z([E.fE,E.e0])}),[v.autoUpdateLatest,v.swUpdateSource,v.upgradeTimeFrameEnable,Z]);var W=D.filter((function(e){return e!==E.oo||!(0,C.isEmpty)(v[E.oo])})).map((function(e){return y[e]})),Y=!!g&&W.some((function(e){return!!e}));return(0,k.jsxs)(k.Fragment,{children:[Y&&(0,k.jsx)("hr",{}),(0,k.jsx)(V,{name:E.bt,setting:y[E.bt],revert:{revertable:b!==u.KZ$.DeviceModel,revertGroup:W,discardableIfReverted:!0,disableIfReverted:!0,action:g}}),v.autoUpdateLatest&&(0,k.jsx)(F,{model:m}),(0,k.jsxs)("div",{className:"show-hide ".concat(v.autoUpdateLatest?"hide":"show"),"data-testid":"updateVersionControls",children:[(0,k.jsx)(V,{name:E.Tf,setting:y[E.Tf],revert:{revertable:!1,disableIfReverted:!0,action:g}}),(0,k.jsx)("div",{className:"show-hide ".concat(v.swUpdateSource!==u.EOh.StandardUrl&&v.swUpdateSource?"hide":"show"),"data-testid":"updatePath",children:(0,k.jsx)(V,{name:E.qQ,setting:y[E.qQ],revert:{revertable:!1,disableIfReverted:!0,action:g}})}),(0,k.jsxs)("div",{className:"show-hide ".concat(v.swUpdateSource!==u.EOh.CustomUrl&&v.swUpdateSource?"hide":"show"),"data-testid":"customUpdatePath",children:[(0,k.jsx)(V,{name:E.gX,setting:y[E.gX],revert:{revertable:!1,disableIfReverted:!0,action:g}}),y[E.oo]&&!(0,C.isEmpty)(v[E.oo])&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(V,{name:E.oo,setting:(0,i.Z)({},y[E.oo]),hasInput:!1,revert:{revertable:!1,disableIfReverted:!0,action:g}}),(0,k.jsx)(I.F2,{name:E.oo,render:function(){return v[E.oo].map((function(e,n){return(0,k.jsx)(V,{name:"".concat(E.oo,".").concat(n,".swPath"),setting:(0,i.Z)((0,i.Z)({},y[E.oo]),{},{friendlyName:e.deviceModel,value:e.swPath||""}),simpleSetting:!0,revert:{revertable:!1,disableIfReverted:!0,action:g}},"".concat(E.oo,".").concat(n))}))}})]})]})]}),Y&&(0,k.jsx)("hr",{}),(0,k.jsxs)("div",{"data-testid":"upgrade-schedule-form",children:[(0,k.jsx)(V,{name:E.g_,setting:y[E.g_]&&(0,i.Z)((0,i.Z)({},y[E.g_]),{},{friendlyName:T("UPGRADE_POLLING_INTERVAL")}),revert:{revertable:!0,discardableIfReverted:!0,action:g}}),(0,k.jsx)(V,{name:E.WW,setting:y[E.WW]&&(0,i.Z)((0,i.Z)({},y[E.WW]),{},{friendlyName:T("SCHEDULE_UPDATE_CHECKS")}),revert:{revertable:!0,discardableIfReverted:!0,action:g}}),(0,k.jsx)("div",{className:"show-hide ".concat(G||J?"show":"hide"),"data-testid":"upgrade-time-form",children:(0,k.jsx)(V,{name:E.fE,setting:y[E.fE]&&(0,i.Z)((0,i.Z)({},y[E.fE]),{},{friendlyName:T("FROM"),type:E.uh.ENUM,enumVal:L}),revert:{revertable:!0,discardableIfReverted:!0,action:g}})}),(0,k.jsx)("div",{className:"show-hide ".concat(G||H?"show":"hide"),"data-testid":"upgrade-time-form",children:(0,k.jsx)(V,{name:E.e0,setting:y[E.e0]&&(0,i.Z)((0,i.Z)({},y[E.e0]),{},{friendlyName:T("TO"),type:E.uh.ENUM,enumVal:L}),revert:{revertable:!0,discardableIfReverted:!0,action:g}})})]})]})},V=function(e){var n,t,a,i=e.name,r=e.setting,o=e.revert,s=e.hasInput,u=void 0===s||s,d=e.simpleSetting,f=void 0!==d&&d,m=(0,N.Ub)(),h=(0,N.ze)(),y=(0,O.Jj)(),T=(0,l.Z)(y,1)[0].policyScope,v=(0,p.u6)(),E=v.getFieldHelpers,S=v.getFieldMeta,I=S(i).value,A=(0,_.v9)((function(e){return e.settings}));if((0,c.useEffect)((function(){null!==r&&void 0!==r&&r.onChange&&r.onChange.forEach((function(e){var n=e.settingName,t=e.updater,a=E(n).setValue,i=S(n).value,r=t(I);(0,C.isEqual)(i,r)||a(r)}))}),[r,I,E,S]),!r)return null;var R,b,L,D=o.revertable,x=o.revertGroup,P=o.disableIfReverted,U=o.discardableIfReverted,w=o.action,M=function(e){var n;(null!==(n=null===x||void 0===x?void 0:x.filter((function(e){return!!e})))&&void 0!==n?n:[r]).forEach((function(n){var t=n.category,a=n.subcategory,i=n.collection,r=n.settingName,o=n.type;e(t,a,i,r,null!==o&&void 0!==o?o:"")}))},V=r.category,j=r.subcategory,F=r.collection,B=r.settingName,Z="reverted"===(null===A||void 0===A||null===(n=A[V])||void 0===n||null===(t=n[j])||void 0===t||null===(a=t[F])||void 0===a?void 0:a[B]);w===N.I5.REVERT&&D?R=T===(null===r||void 0===r?void 0:r.policyDeploymentScope)?function(){return M(h)}:void 0:w!==N.I5.DISCARD||Z&&!U||(R=function(){return M(m)},b="circle_x",L="outline");var G=Z&&P;return(0,k.jsx)(g.wA,{name:i,setting:r,hasInput:u,simpleSetting:f,revert:{action:R,icon:b,iconClassName:L},disabled:G})},j=function(e){var n=e.id,t=e.model,a=(0,f.Aj)(),i=(0,A.DL)(n,a).device,r="";if(!i)return null;var o=i.softwareVersion,l=i.softwareBuild;return r="".concat((0,b.J)(o,l,t)),(0,k.jsx)(B,{softwareVersion:r,label:"CURRENT_VERSION"})},F=function(e){var n,t=e.model,a=(0,u.VTQ)({variables:{id:t}}).data,i="";if(!a||null===a||void 0===a||null===(n=a.hardwareModel)||void 0===n||!n.hardwareProducts)return null;var r,o=null===(r=a.hardwareModel.hardwareProducts.find((function(e){return null!=e.availableProductSoftware})))||void 0===r?void 0:r.availableProductSoftware;return o&&(i=o.productBuild&&(0,T.no)(t)?o.productBuild.version+"."+o.productBuild.build:o.version),(0,k.jsx)(B,{softwareVersion:i,label:"LATEST_VERSION",className:"latest-version"})},B=function(e){var n=e.softwareVersion,t=e.label,a=e.className,i=(0,d.$G)().t;return(0,k.jsxs)("div",{className:"form-group",children:[(0,k.jsx)("div",{className:"col-4 text-right",children:(0,k.jsxs)("label",{children:[i(t),":"]})}),(0,k.jsx)("div",{className:"col-4 ".concat(a),children:n})]})}},76175:function(e,n,t){"use strict";t.d(n,{_X:function(){return b},L6:function(){return i},h1:function(){return N}});var a,i,r=t(82333),o=t(85358),l=t(95764),s=t(99710),u=t(16798),c=(t(96902),t(769)),d=t(25825),p=t(8960),f=t(10631),m=t(70926),h=t(5194),y=t(48930),g=t(82933),T=t(88341),v=t(26371),E=t(51077),_=t(56878),S=t(29938);!function(e){e.USERNAME="username",e.PASSWORD="password",e.RPRM_HOST="rprmhost",e.INVENTORY_FREQ="inventorypollfreq",e.STATUS_FREQ="statuspollfreq",e.CDR_FREQ="cdrpollfreq"}(i||(i={}));var N="edgeRPRMConnector",I=function(e){switch(e){case i.USERNAME:return d.ZP.t("USERNAME");case i.PASSWORD:return d.ZP.t("PASSWORD");case i.RPRM_HOST:return d.ZP.t("RPRM_HOST");case i.INVENTORY_FREQ:return d.ZP.t("RPRM_INVENTORY_POLL_FREQUENCY");case i.STATUS_FREQ:return d.ZP.t("RPRM_STATUS_POLL_FREQUENCY");case i.CDR_FREQ:return d.ZP.t("RPRM_CDR_POLL_FREQUENCY");default:return console.error("getTranslation missing key",e),""}},C=c.Ry((a={},(0,u.Z)(a,i.USERNAME,c.Z_().label(I(i.USERNAME)).required()),(0,u.Z)(a,i.PASSWORD,c.Z_().label(I(i.PASSWORD)).required()),(0,u.Z)(a,i.RPRM_HOST,c.Z_().label(I(i.RPRM_HOST)).url().required()),(0,u.Z)(a,i.INVENTORY_FREQ,c.Rx().positive(d.ZP.t("POLL_INTERVAL_ERROR"))),(0,u.Z)(a,i.STATUS_FREQ,c.Rx().positive(d.ZP.t("POLL_INTERVAL_ERROR"))),(0,u.Z)(a,i.CDR_FREQ,c.Rx().positive(d.ZP.t("POLL_INTERVAL_ERROR"))),a)),A=function(e){var n=e.name,t=e.type,a=void 0===t?"text":t,i=(0,d.$G)().t,r="number"===a;return(0,S.jsxs)("div",{className:"form-group",children:[(0,S.jsxs)("label",{className:"col-4 text-right",htmlFor:n+"-input",children:[I(n),":"]}),(0,S.jsx)("div",{className:r?"col-1":"col-4",children:(0,S.jsx)(f.II,{name:n,"data-testid":n,type:a})}),r&&(0,S.jsx)("span",{className:"col-1",children:i("SECONDS")})]})},R=function(){var e=(0,d.$G)().t;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"card title-card",children:e("RPRM_ACCOUNT")}),(0,S.jsxs)("div",{className:"details grid form",children:[(0,S.jsx)(A,{name:i.USERNAME,type:"text"}),(0,S.jsx)(_.W,{name:i.PASSWORD,label:I(i.PASSWORD)})]})]})},O=function(){var e=(0,d.$G)().t;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"card title-card",children:e("RPRM_SERVER")}),(0,S.jsxs)("div",{className:"details grid form",children:[(0,S.jsx)(A,{name:i.RPRM_HOST,type:"text"}),(0,S.jsx)(A,{name:i.INVENTORY_FREQ,type:"number"}),(0,S.jsx)(A,{name:i.STATUS_FREQ,type:"number"}),(0,S.jsx)(A,{name:i.CDR_FREQ,type:"number"})]})]})},b=function(e){var n,t=e.device,a=(0,d.$G)().t,c=(0,f.lm)(),_=(0,s.Z)(c,1)[0],I=(0,g.$B)(),A=I.path,b=I.params.deviceId,L=(0,y.zcE)(),k=(0,s.Z)(L,2)[1],D=(0,y.Itq)({variables:{id:t.id}}),x=D.data,P=D.error,U=D.fetching,w=D.executor;if(U)return(0,S.jsx)(p.TF,{className:"mt-3"});if(P||!x)return null;var M=x.normalizedDeviceSettings.settings.filter((function(e){return e.name.split(".")[0]===N})).map((function(e){var n=e.name,t=e.value;return{name:n.split(".")[1],value:t}})).reduce((function(e,n){var t=n.name,a=n.value;return(0,l.Z)((0,l.Z)({},e),{},(0,u.Z)({},t,null!==a&&void 0!==a?a:""))}),{}),V=(n={},(0,u.Z)(n,i.USERNAME,M[i.USERNAME]),(0,u.Z)(n,i.PASSWORD,M[i.PASSWORD]),(0,u.Z)(n,i.RPRM_HOST,M[i.RPRM_HOST]),(0,u.Z)(n,i.INVENTORY_FREQ,(0,E.He)(M[i.INVENTORY_FREQ])),(0,u.Z)(n,i.STATUS_FREQ,(0,E.He)(M[i.STATUS_FREQ])),(0,u.Z)(n,i.CDR_FREQ,(0,E.He)(M[i.CDR_FREQ])),n),j=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(n,i){var o,l;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=Object.entries(n).map((function(e){var n=(0,s.Z)(e,2),t=n[0],a=n[1];return{name:"".concat(N,".").concat(t),value:a.toString()}})),e.next=3,k({settings:o,id:t.id},{notify:{i18nKey:"ERROR_SAVING_DEVICE_SETTINGS"}});case 3:l=e.sent,l.error||_({type:"success",message:a("DEVICE_SETTINGS_UPDATED"),dismiss:f.GP.DEFAULT}),w({requestPolicy:"network-only"}),i.setSubmitting(!1);case 8:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();return(0,S.jsx)(f.J9,{name:"RelaySettings",initialValues:V,validationSchema:C,enableReinitialize:!0,onSubmit:j,children:function(e){var n=e.dirty;return(0,S.jsx)(h.Z,{unsavedChanges:n,allowedSubRoutes:["/settings"],children:(0,S.jsxs)(m.l0,{className:"form pb-2 relay-settings",children:[(0,S.jsx)(v.gY,{device:t,pageTitle:(0,S.jsx)(v.z5,{device:t}),hasActionButtons:!0}),(0,S.jsx)(T.A.Content.ScrollingList,{children:(0,S.jsxs)(g.rs,{children:[(0,S.jsx)(g.AW,{path:(0,g.Gn)(A,{deviceId:b,category:"server"}),component:O}),(0,S.jsx)(g.AW,{children:(0,S.jsx)(p.yR,{feature:"RELAY_RPRM",children:(0,S.jsx)(R,{})})})]})})]})})}})}},98742:function(e,n,t){"use strict";t.d(n,{Wn:function(){return x},cZ:function(){return P},fW:function(){return k},jo:function(){return L}});var a=t(99710),i=t(16798),r=t(89810),o=t(95764),l=t(90497),s=t(76223),u=t(48930),c=t(9363),d=t(96902),p=t(62178),f=t(80864),m=t(25825),h=t(36265),y=t(61870),g=t(27431),T=t(94026),v=[{value:u.EOh.StandardUrl,friendlyValue:m.ZP.t("POLY_LENS"),featureCategory:u.tRc.Released,__typename:"EnumVal"},{value:u.EOh.CustomUrl,friendlyValue:m.ZP.t("CUSTOM_SERVER"),featureCategory:u.tRc.Released,__typename:"EnumVal"}],E=function(e,n,t,a){var i;switch(e.policyDeploymentScope){case u.KZ$.Device:return{scopeId:e.deviceId,scopeValue:n};case u.KZ$.DeviceModel:return{scopeId:e.deviceModelUuid||e.deviceModel,scopeValue:e.deviceModel};case u.KZ$.Group:var r=null===(i=t.find((function(n){return n.id===e.groupId})))||void 0===i?void 0:i.name;return{scopeId:e.groupId,scopeValue:r};case u.KZ$.Site:return{scopeId:e.siteId,scopeValue:a};case u.KZ$.Global:return{scopeId:e.deviceId,scopeValue:u.KZ$.Global};case u.KZ$.ExternalDevice:return{scopeId:e.deviceId,scopeValue:u.KZ$.ExternalDevice};default:return{scopeId:void 0,scopeValue:void 0}}},_=function(e,n,t,a,i,r){var o="Unknown",l="Unknown";switch(t){case u.KZ$.Device:o=m.ZP.t("DEVICE"),l=a;break;case u.KZ$.Site:o=m.ZP.t("SITE"),l=i;break;case u.KZ$.Group:o=m.ZP.t("GROUP"),l=r;break;case u.KZ$.DeviceModel:o=m.ZP.t("DEVICE_MODEL")}var s=n===u.MiJ.DeviceSettingsUpdate?m.ZP.t("SETTINGS"):m.ZP.t("UPDATE");return t===u.KZ$.DeviceModel?m.ZP.t("POLICY_NAME_MODEL",{model:e,policyScope:o,policyType:s}):m.ZP.t("POLICY_NAME",{model:e,policyScope:o,identifier:l,policyType:s})},S=function(e){var n,t,a=null===(n=l.AV.filter((function(n){return n.models.includes(e)}))[0])||void 0===n?void 0:n.additionalUpdatePathsToDisplay;return null!==(t=null===a||void 0===a?void 0:a.filter((function(n){return n!==e})).map((function(e){return{__typename:"SoftwareSupportUpdatePath",deviceModel:e,swPath:""}})))&&void 0!==t?t:[]},N=function(e,n,t,a,i,r,o){return{__typename:"Policy",policyId:null,name:_(e,n,t,i,r,o),tenantId:a,deviceId:t===u.KZ$.Device&&i?i:null,siteId:t===u.KZ$.Site&&r?r:null,groupId:t===u.KZ$.Group&&o?o:null,deviceModel:e,deviceModelUuid:null,deviceType:e,policyType:n,policyDeploymentScope:t,configurationAttributes:null,swUpdatePath:"",customSwUpdatePath:"",customSwSupportUpdatePath:n===u.MiJ.DeviceSwUpdate?S(e):null,swUpdateSource:u.EOh.StandardUrl}},I=function(e,n,t,a){var i;e.deviceModelUuid||(e.deviceModelUuid=null!==(i=n===u.KZ$.Device?null===t||void 0===t?void 0:t.id:a)&&void 0!==i?i:null)},C=function(e){var n=e.name,t=e.friendlyName,a=e.type,i=e.value,r=e.defaultValue,o=void 0===r?"":r,s=e.options,c=e.scope,d=e.model;return{displayName:d,modelName:d,name:n,settingName:n,friendlyName:t,paramType:l.Hy.PARAM,type:a,value:i,defaultValue:o,policyDeploymentScope:c||null,help:"",templates:"",callback:null,accessType:null,categories:[l.kJ,l.kJ],category:l.kJ,subcategory:l.kJ,grouping:null,groupingOrder:null,collection:l.PW,lensUserType:1,lensConditional:null,lensConditionalValue:null,languageKey:"",min:0,max:0,enumVal:s||null,numReplace1Max:0,numReplace2Max:0,param2DArray:null,paramArray:null,featureCategory:u.tRc.Released,show:!0,__typename:"DeviceParameterDTO"}},A=function(e,n){var t=l.Km[u.KZ$.Global];e.policyDeploymentScope&&(t=l.Km[e.policyDeploymentScope],e.policyDeploymentScope===u.KZ$.Group&&e.groupId&&(t+=(n.length-n.indexOf(e.groupId))/10));return t},R=function(e){var n=e.policyScope,t=e.deviceName,a=e.siteName,i=e.groupIds,s=e.relevantPolicies,c=e.allGroups;return(0,d.useMemo)((function(){var e={};return s.forEach((function(s){return function(e,n,t,a,i,s,c){var d,p;if(null!==n&&void 0!==n&&n.policyDeploymentScope){var f,m,h=E(n,a,c,i),y=h.scopeValue,g=h.scopeId,v=[];null===(d=n.configurationAttributes)||void 0===d||d.forEach((function(e){var t,a=(null===e||void 0===e?void 0:e.name)||"",i={value:y||"",id:g||"",scope:n.policyDeploymentScope};if(null!==e&&void 0!==e&&e.param2DArray)(t=v).push.apply(t,(0,r.Z)(e.param2DArray.map((function(e){var n,t;return(0,o.Z)({name:(0,T.a)(a,[null!==(n=null===e||void 0===e?void 0:e.replace1)&&void 0!==n?n:0,null!==(t=null===e||void 0===e?void 0:e.replace2)&&void 0!==t?t:0])},i)}))));else if(null!==e&&void 0!==e&&e.paramArray){var l;(l=v).push.apply(l,(0,r.Z)(e.paramArray.map((function(e){var n;return(0,o.Z)({name:(0,T.a)(a,[null!==(n=null===e||void 0===e?void 0:e.replace1)&&void 0!==n?n:0])},i)}))))}else v.push((0,o.Z)({name:a},i))})),n.policyType!==u.MiJ.DeviceSwUpdate||n.policyDeploymentScope!==t&&t!==u.KZ$.Device||(v=[{name:l.Tf,value:(null===(f=n[l.Tf])||void 0===f?void 0:f.toString())||"",id:g||"",scope:n.policyDeploymentScope},{name:l.qQ,value:n[l.qQ]||"",id:g||"",scope:n.policyDeploymentScope},{name:l.gX,value:n[l.gX]||"",id:g||"",scope:n.policyDeploymentScope},{name:l.oo,value:(null===(m=n[l.oo])||void 0===m?void 0:m.filter((function(e){return!!e})))||[],id:g||"",scope:n.policyDeploymentScope}]);var _=null!==(p=l.Km[n.policyDeploymentScope])&&void 0!==p?p:0;v.forEach((function(t){var a,i,r,o=t.name,u=t.scope,c=t.id,d=t.value,p=null===(a=e[o])||void 0===a?void 0:a.scope,f=p&&null!==(i=l.Km[p])&&void 0!==i?i:0,m=null===(r=e[o])||void 0===r?void 0:r.groupPriorityIndex,h=s.indexOf(n.groupId);f<_&&(e[o]={value:d,scope:u,id:c}),_===l.Km.GROUP&&f<=_&&(void 0===m||m&&h=l.Km[i]||a===u.KZ$.Device&&p&&i===u.KZ$.ExternalDevice&&s===(null===o||void 0===o?void 0:o.id))})))||[]}),[null===h||void 0===h?void 0:h.getPolicies,null===o||void 0===o?void 0:o.id,c,T,a,t,p]),E=(0,d.useMemo)((function(){return v.sort((function(e,n){return e&&n?A(e,c)-A(n,c):0}))}),[v,c]);return{policies:v,sortedPolicies:E,fetching:y,executor:g}},D=function(e){var n,t=e.device,a=e.model,i=(0,u.X6Y)({pause:!!t}),r=i.data,o=i.fetching;return{catalogModel:(0,d.useMemo)((function(){var e,n,i=null!==(e=null===r||void 0===r?void 0:r.hardwareModels)&&void 0!==e?e:[];return null!==t&&void 0!==t&&null!==(n=t.model)&&void 0!==n&&n.id?{id:t.model.id,name:a}:(0,h.Yl)(a,i)}),[null===r||void 0===r?void 0:r.hardwareModels,null===t||void 0===t||null===(n=t.model)||void 0===n?void 0:n.id,a]),fetching:o}},x=function(e){var n,t,i,r=e.model,l=e.tenantId,s=e.device,c=e.siteId,p=e.groupId,f=e.msTeamsAssistedProvisioningEnabled,m=(0,g.fj)(r),h=(0,y.Jj)(),T=(0,a.Z)(h,1)[0].policyScope,v=(0,u.Zh8)({variables:{tenantId:l}}),E=v.data,_=v.fetching,S=D({model:r,device:s}),C=S.catalogModel,A=S.fetching,b=L({tenantId:l,device:s,groupId:p}),x=b.relevantGroupIds,P=b.fetching,U=(null===s||void 0===s||null===(n=s.site)||void 0===n?void 0:n.name)||"",w=(null===s||void 0===s?void 0:s.name)||"",M=k({type:u.MiJ.DeviceSettingsUpdate,policyScope:T,deviceModel:m,tenantId:l,device:s,siteId:c,groupIds:x,msTeamsAssistedProvisioningEnabled:f}),V=M.policies,j=M.sortedPolicies,F=M.fetching,B=null!==(t=null===E||void 0===E||null===(i=E.getAllGroups.groups)||void 0===i?void 0:i.groups)&&void 0!==t?t:[],Z=R({policyScope:T,deviceName:w,siteName:U,groupIds:x,relevantPolicies:j,allGroups:B});O({catalogModel:C,inheritance:(0,o.Z)({},Z)});var G=(0,d.useMemo)((function(){var e;return null!==(e=V.filter((function(e){return(null===e||void 0===e?void 0:e.policyDeploymentScope)===T}))[0])&&void 0!==e?e:N(m,u.MiJ.DeviceSettingsUpdate,T,l,null===s||void 0===s?void 0:s.id,c,p)}),[V,T,m,null===s||void 0===s?void 0:s.id,p,c,l]);return I(G,T,s,null===C||void 0===C?void 0:C.id),{policy:G,fetching:F||A||P||_}},P=function(e){var n,t,i,r=e.model,s=e.tenantId,c=e.deviceParameters,p=e.device,f=e.siteId,m=e.groupId,h=e.msTeamsAssistedProvisioningEnabled,T=(0,g.fj)(r),v=(0,y.Jj)(),_=(0,a.Z)(v,1)[0].policyScope,S=(0,u.Zh8)({variables:{tenantId:s}}),C=S.data,A=S.fetching,x=D({model:r,device:p}),P=x.catalogModel,U=x.fetching,w=L({tenantId:s,device:p,groupId:m}),M=w.relevantGroupIds,V=w.fetching,j=(null===p||void 0===p||null===(n=p.site)||void 0===n?void 0:n.name)||"",F=(null===p||void 0===p?void 0:p.name)||"",B=k({type:u.MiJ.DeviceSwUpdate,policyScope:_,deviceModel:T,tenantId:s,device:p,siteId:f,groupIds:M,msTeamsAssistedProvisioningEnabled:h}),Z=B.policies,G=B.sortedPolicies,J=B.fetching,H=null!==(t=null===C||void 0===C||null===(i=C.getAllGroups.groups)||void 0===i?void 0:i.groups)&&void 0!==t?t:[],W=function(e){var n=e.policyScope,t=e.deviceName,a=e.siteName,i=e.groupIds,r=e.relevantPolicies,s=e.allGroups,u=R({policyScope:n,deviceName:t,siteName:a,groupIds:i,relevantPolicies:r,allGroups:s}),c=(0,d.useMemo)((function(){var e={};return r.forEach((function(n){if(null!==n&&void 0!==n&&n.policyDeploymentScope){var i=E(n,t,s,a),r=i.scopeValue,o=i.scopeId;[{name:l.bt,value:r||"",id:o||"",scope:n.policyDeploymentScope},{name:l.Tf,value:r||"",id:o||"",scope:n.policyDeploymentScope},{name:l.qQ,value:r||"",id:o||"",scope:n.policyDeploymentScope},{name:l.gX,value:r||"",id:o||"",scope:n.policyDeploymentScope},{name:l.oo,value:r||"",id:o||"",scope:n.policyDeploymentScope}].forEach((function(n){var t=n.name,a=n.scope,i=n.value,r=n.id;e[t]={value:i,scope:a,id:r}}))}})),e}),[s,r,t,a]);return{inheritance:u,inheritanceForDisplay:(0,o.Z)((0,o.Z)({},u),c)}}({policyScope:_,deviceName:F,siteName:j,groupIds:M,relevantPolicies:G,allGroups:H}),Y=W.inheritance,q=W.inheritanceForDisplay;O({catalogModel:P,inheritance:q});var K=(0,d.useMemo)((function(){var e;return null!==(e=Z.filter((function(e){return(null===e||void 0===e?void 0:e.policyDeploymentScope)===_}))[0])&&void 0!==e?e:N(T,u.MiJ.DeviceSwUpdate,_,s,null===p||void 0===p?void 0:p.id,f,m)}),[Z,_,T,null===p||void 0===p?void 0:p.id,m,f,s]);I(K,_,p,null===P||void 0===P?void 0:P.id);var z=b({deviceModel:T,policyScope:_,policy:K,inheritance:Y,deviceParameters:c}),X=z.updateValues,$=z.updateSettings,Q=z.fetching;return{policy:K,updateSettings:$,updateValues:X,fetching:J||Q||U||V||A}}},94026:function(e,n,t){"use strict";t.d(n,{a:function(){return c},u:function(){return m}});var a=t(95764),i=t(99710),r=t(90497),o=t(48930),l=t(1987),s=t(96902),u=t(27431),c=function(e,n){return n.reduce((function(e,n,t){return e.replace(new RegExp(r.Vu+(t+1),"i"),n.toString())}),e)},d=function(e,n,t,a,i){var r,o=null!==(r=n.find((function(e){return e&&t(e)})))&&void 0!==r?r:{},l=o.currentValue,s=void 0===l?"":l,u=o.policyDeploymentScope;return{name:c(e,a),value:s,defaultValue:i,policyDeploymentScope:u}},p=function(e,n,t){t?e[t-1]=n:e.push(n)},f=function(e,n,t,i,r,o,l,s,u,d){var f,m,h=arguments.length>10&&void 0!==arguments[10]?arguments[10]:[],y=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"",g=e[t]=e[t]||{},T=g[i]=g[i]||{},v=T[r]=T[r]||{};if(y){var E=v[o]=v[o]||{};m=E[y]=E[y]||[]}else m=v[o]=v[o]||[];var _=l,S=null!==(f=s.lensConditional)&&void 0!==f?f:"";h.length&&(_=c(l,h),S=c(S,h));var N=(0,a.Z)((0,a.Z)({},s),{},{category:t,subcategory:i,settingName:_,value:n[_],lensConditional:S,index1:h[0],index2:h[1],policyDeploymentScope:u});p(m,N,d)},m=function(e,n,t,a,c){var m=(0,l.Aj)(),h=(0,o.skg)({variables:{tenantId:m,deviceId:t,deviceModel:e,siteId:a,groupId:c,sendOnlyChanged:!1}}),y=h.data,g=h.fetching;return(0,s.useMemo)((function(){var e,t={},a={},l={},s={regLimit:-1,maxConfiguredLine:-1},c=!1;if(g||null===y||void 0===y||!y.getDeviceParametersExtended)return{deviceParameters:[],deviceSettings:t,numOfLines:s,values:a,defaultValues:l,msTeamsAssistedProvisioningEnabled:c,fetching:g};var m=y.getDeviceParametersExtended;return m.forEach((function(e){if(null!==e&&void 0!==e&&e.metadata){var p=e.metadata,h=p.name,y=p.paramType,g=p.categories,T=p.lensUserType;if(h){var v=h.toLowerCase();if(function(e,n,t,a,i,l,s){var u=i.type,c=i.paramType,p=i.defaultValue,f=i.numReplace1Max,m=i.paramArray,h=i.numReplace2Max,y=i.param2DArray,g=[];if(c===r.Hy.PARAM_ARRAY||c===r.Hy.PARAM_2D_ARRAY)for(var T=f||r.FJ,v=h||r.FJ,E=function(e){if(c===r.Hy.PARAM_2D_ARRAY)for(var n=function(n){var i;g.push(d(t,(null===a||void 0===a?void 0:a.param2DArray)||[],(function(t){return t.replace1===e&&t.replace2===n}),[e,n],null===y||void 0===y||null===(i=y[e-1])||void 0===i?void 0:i[n-1]))},i=1;i<=v;i++)n(i);else g.push(d(t,(null===a||void 0===a?void 0:a.paramArray)||[],(function(n){return n.replace1===e}),[e],null===m||void 0===m?void 0:m[e-1]))},_=1;_<=T;_++)E(_);else g.push({name:t,value:null===a||void 0===a?void 0:a.currentValue,defaultValue:p,policyDeploymentScope:l});g.forEach((function(t){var a,i,l=null!==(a=t.defaultValue)&&void 0!==a?a:"",c="";switch(!s||t.policyDeploymentScope!==s&&s!==o.KZ$.Device||(c=null!==(i=t.value)&&void 0!==i?i:""),u){case r.uh.BOOL:c="1"===(c||l);break;case r.uh.XBOOL:c="True"===(c||l);break;case r.uh.UINT:case r.uh.UINT_NULL:case r.uh.SINT:case r.uh.SINT_NULL:var d=parseInt("".concat(c));isNaN(d)||(c=d)}e[t.name]=c,n[t.name]=l}))}(a,l,v,e.policyAttribute,e.metadata,e.policyDeploymentScope,n),h===r.Sx){var E,_=(null!==(E=e.policyAttribute)&&void 0!==E?E:{}).currentValue,S=void 0===_?e.metadata.defaultValue:_;c="1"===S}if(T===r.xH.SIMPLE_USER||null!==e.policyAttribute){var N=null!==g&&void 0!==g?g:[],I=(0,i.Z)(N,2),C=I[0],A=I[1],R=e.metadata,O=R.grouping,b=R.groupingOrder;C=C||r.x4,A=A||r.dk,O=O||r.Ji,C=C.replace(/\//g,"|"),A=A.replace(/\//g,"|");var L=(0,u.n8)(C,A);if(y===r.Hy.PARAM_ARRAY||y===r.Hy.PARAM_2D_ARRAY){var k=L?r.fq:A;L&&-1===s.regLimit&&(s=function(e){var n=0,t=0;return e.forEach((function(e){var a,o,l,s;if(e&&e.metadata)if(e.name===r.FB){var c,d;t=parseInt((null===e||void 0===e||null===(c=e.policyAttribute)||void 0===c?void 0:c.currentValue)||(null===e||void 0===e||null===(d=e.metadata)||void 0===d?void 0:d.defaultValue)||"0")}else{var p=e.metadata,f=p.categories,m=p.paramType,h=null!==f&&void 0!==f?f:[],y=(0,i.Z)(h,2),g=y[0],T=y[1];if((0,u.n8)(g,T)){var v=[];switch(m){case r.Hy.PARAM_ARRAY:v=null!==(a=null===(o=e.policyAttribute)||void 0===o?void 0:o.paramArray)&&void 0!==a?a:[];break;case r.Hy.PARAM_2D_ARRAY:v=null!==(l=null===(s=e.policyAttribute)||void 0===s?void 0:s.param2DArray)&&void 0!==l?l:[]}v.forEach((function(e){var t,a=null!==(t=null===e||void 0===e?void 0:e.replace1)&&void 0!==t?t:0;a>n&&(n=a)}))}}})),{regLimit:t,maxConfiguredLine:n}}(m));for(var D=(L?Math.max(s.maxConfiguredLine,s.regLimit):null)||e.metadata.numReplace1Max||r.FJ,x=function(n){var i="".concat(k," ").concat(n);if(y===r.Hy.PARAM_ARRAY){var o,l,s=null===(o=e.policyAttribute)||void 0===o?void 0:o.paramArray,u=(null!==(l=null===s||void 0===s?void 0:s.find((function(e){return(null===e||void 0===e?void 0:e.replace1)===n})))&&void 0!==l?l:{}).policyDeploymentScope,c=void 0===u?null:u;f(t,a,C,A,i,O,v,e.metadata,c,b,[n])}else{var d=O,p="";L&&h.includes(r.D_)&&(d=r.cN,p=O);for(var m=e.metadata.numReplace2Max||r.FJ,g=function(r){var o,l,s="".concat(d," ").concat(r),u=null===(o=e.policyAttribute)||void 0===o?void 0:o.param2DArray,c=(null!==(l=null===u||void 0===u?void 0:u.find((function(e){return(null===e||void 0===e?void 0:e.replace1)===n&&(null===e||void 0===e?void 0:e.replace2)===r})))&&void 0!==l?l:{}).policyDeploymentScope,m=void 0===c?null:c;f(t,a,C,A,i,s,v,e.metadata,m,b,[n,r],p)},T=1;T<=m;T++)g(T)}},P=1;P<=D;P++)x(P)}else f(t,a,C,A,r.PW,O,v,e.metadata,e.policyDeploymentScope,b)}}}})),Object.values(t).flatMap((function(e){return Object.values(e)})).forEach((function(e){Object.entries(e).forEach((function(n){var t=(0,i.Z)(n,2),a=t[0],o=t[1];a!==r.PW&&(Object.entries(o).forEach((function(n){var t,a=(0,i.Z)(n,2),l=a[0],s=a[1];if(Array.isArray(s)){var u=null===(t=e[r.PW])||void 0===t?void 0:t[l];if(u&&Array.isArray(u)){var c=s.filter((function(e){return null!==e}));c.every((function(e){return e.paramType===r.Hy.PARAM_ARRAY}))&&(c.forEach((function(e){var n=e.groupingOrder,t=e.index1,a=0;n&&t&&(a=n+t-1),e.friendlyName&&(e.friendlyName+=" "+t),p(u,e,a)})),delete o[l])}}})),0===Object.keys(o).length&&delete e[a])}))})),{deviceParameters:null!==(e=null===y||void 0===y?void 0:y.getDeviceParametersExtended)&&void 0!==e?e:[],deviceSettings:t,numOfLines:s,values:a,defaultValues:l,msTeamsAssistedProvisioningEnabled:c,fetching:g}}),[g,null===y||void 0===y?void 0:y.getDeviceParametersExtended,n])}},50007:function(e,n,t){"use strict";t.d(n,{I:function(){return M},i:function(){return V}});var a=t(769),i=t(48930),r=t(25825),o=t(89810),l=function(e){if(!e)return!0;if(!(e=e.trim()))return!0;if(/^[.-]/.test(e)||/[:.-]$/.test(e))return!1;if(e.indexOf("::")>-1)return/(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))/.test(e);if(/:\d+$/.test(e)){var n=/:(\d+)$/.exec(e);if(!n||+n[1]>65535||/^0/.test(n[1]))return!1;e=e.replace(/:\d{1,5}$/,"")}var t=e.split(".").map((function(e){return e.trim()}));return!t.some((function(e){return e.length>63}))&&(isNaN(t[t.length-1])?!t.some((function(e){return!e||/^[.-]/.test(e)||/[.-]$/.test(e)})):/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(e))};function s(e){return function(n,t){return!1===n?e:t}}function u(e,n){return(0,a.nK)().label(n).nullable().oneOf([].concat((0,o.Z)(Object.values(e)),[null])).notRequired()}function c(e){return(0,a.Z_)().label(e).nullable().notRequired().default("")}function d(e){return(0,a.Ry)(e).nullable()}function p(e){return(0,a.Rx)().label(e).default(0).notRequired().nullable()}function f(e){return(0,a.O7)().label(e).nullable().default(!1)}var m=d({autoDaylightSavings:d({enable:f("AUTO_ADJUST_DAYLIGHT_SAVINGS")}),timezone:u(i.vhl,"TIME_ZONE").default(i.vhl.Cst),datetime:d({date:d({format:u(i.xCL,"DATE_FORMAT").default(i.xCL.MmDdYyyy)}),time:d({TWO4HourClock:u(i.y5W,"TIME_FORMAT").default(i.y5W.One2Hour)})}),ntpServer:d({address:(0,a.IX)().of((0,a.Z_)().label("TIME_SERVER_ADDRESS").nullable(!1).default("")).default([]).when("mode",{is:i.KDP.Manual,then:(0,a.IX)().of(c("TIME_SERVER_ADDRESS").test("validate-domain",r.ZP.t("ERROR_NTP_ADDRESS"),l))}).nullable(),mode:u(i.KDP,"TIME_SERVER").default(i.KDP.Auto)})}),h=d({local:m}),y=d({domain:c("DOMAIN").max(253).test("validate-domain",r.ZP.t("ERROR_EXCHANGE_DOMAIN"),l),email:c("EMAIL_ADDRESS").max(254).email(),password:c("PASSWORD").max(47),userName:c("USERNAME").max(64)}),g=d({url:c("MS_EXCHANGE_SERVER").max(253)}),T=d({enable:f("ENABLE_CALENDARING"),showPrivateMeeting:f("SHOW_PRIVATE_MEETINGS"),auth:y.when("enable",s(d())),server:g,meeting:d({reminderInterval:u(i.hLW,"MEETING_REMINDER_TIME").default(i.hLW.Five),reminderSound:d({enable:f("MEETING_TONE_WHEN_NOT_IN_CALL")})})}),v=p("OAM"),E=p("AUDIO"),_=p("VIDEO"),S=p("CONTROL"),N=d({audio:E,video:_,fecc:S,oam:v}),I=d({audio:E,video:_,fecc:S,oam:v}),C=d({diffServ:N,intServ:I,tosType:u(i.HYq,"TYPE_OF_SERVICE").default(i.HYq.DiffServ),mtuMode:u(i.rC0,"Not used again lol").default(i.rC0.Default),mtuSize:(0,a.nK)().label("MTU_SIZE_BYTES").when("mtuMode",{is:i.rC0.Specify,then:(0,a.nK)().oneOf(Object.values(i.MVO))}).default(i.MVO.Six60),LPR:d({enable:f("LOST_PACKET_RECOVERY")}),rsvp:d({enable:f("ENABLE_RSVP")}),dynamicBandwidth:d({enable:f("DYNAMIC_BANDWIDTH")})}),A=d({monitor:d({ONE:d({display:u(i.KXO,"CONFIGURE_MONITOR_1").default(i.KXO.Auto)}),TWO:d({display:u(i.$nh,"CONFIGURE_MONITOR_2").default(i.$nh.Auto)})})}),R=d({auto:d({enable:f("ENABLE_AUTO_UPDATE"),server:d({address:c("UPDATE_SERVER_ADDRESS")}),polling:d({interval:p("unused")}),timeFrame:d({enable:f("SCHEDULE_UPDATE_CHECKS"),startTime:c("FROM"),stopTime:c("TO")})})}),O=d({enable:f("ENABLE_H323_GK_AUTH"),password:c("H323_GK_AUTH_PASSWORD").when("enable",{is:!0,then:(0,a.Z_)().trim().max(47)}),userId:c("H323_GK_AUTH_USER_ID").when("enable",{is:!0,then:(0,a.Z_)().trim().max(62)})}),b=d({ipAddress:c("H323_GK_IP_ADDRESS").when("mode",{is:i.jym.Specify,then:(0,a.Z_)().test("validate-domain",r.ZP.t("ERROR_H323_GK_IP_ADDRESS"),l)}),mode:(0,a.nK)().label("H323_GATEKEEPER").default(i.jym.Auto).oneOf((0,o.Z)(Object.values(i.jym))).required(),auth:O.when("mode",(function(e,n){switch(e){case i.jym.Auto:case i.jym.Off:return d();case i.jym.Specify:default:return n}}))}),L=d({enable:f("ENABLE_H323"),e164:c("H323_E164").when("enable",{is:!0,then:(0,a.Z_)().trim().test("isNumeric",r.ZP.t("ERROR_H323_E164"),(function(e){return!isNaN(e)})).max(15)}),name:c("H323_NAME").when("enable",{is:!0,then:(0,a.Z_)().trim().max(36)}),gk:b.when("enable",{is:!1,then:d()})});function k(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.nK)();return(0,a.nK)().label(n).when("enable",{is:!0,then:t.oneOf(Object.values(e))})}var D=d({enable:f("ENABLE_SIP"),auth:d({password:c("PASSWORD").trim().max(47),userId:c("USERNAME").trim().max(369)}).when("enable",s(d())),serverType:k(i.BS_,"SIP_SERVER_CONFIGURATION",(0,a.nK)().required()).default(i.BS_.Auto),transport:k(i.T4e,"TRANSPORT_PROTOCOL",(0,a.nK)().when("serverType",{is:i.BS_.Specify,then:(0,a.nK)().required()})).default(i.T4e.Auto),registrarServer:c("REGISTRAR_SERVER").when("enable",{is:!0,then:(0,a.Z_)().when("serverType",{is:i.BS_.Specify,then:(0,a.Z_)().max(253).test("validate-domain",r.ZP.t("ERROR_SIP_TRANSPORT"),l)})}),proxyServer:c("PROXY_SERVER").when("enable",{is:!0,then:(0,a.Z_)().when("serverType",{is:i.BS_.Specify,then:(0,a.Z_)().max(253).test("validate-domain",r.ZP.t("ERROR_SIP_TRANSPORT"),l)})}),bfcpTransportPreference:k(i.Uov,"BFCP_TRANSPORT_PREFERENCE").default(i.Uov.PreferTcp),forceConnectionReuse:f("FORCE_CONNECTION_REUSE"),registrarServerType:k(i.aGw,"REGISTRAR_SERVER_TYPE").default(i.aGw.Microsoft),userName:c("SIGN_IN_ADDRESS").when("enable",{is:!0,then:(0,a.Z_)().trim().max(369)})}),x=d({H323:L,SIP:D}),P=d({conference:d({qualityPreference:u(i.qT8,"QUALITY_PREFERENCE").default(i.qT8.Both)})}),U=d({backgroundImage:c("Not Visible?")}),w=t(10631),M=(0,a.Ry)({content:P,device:h,exchange:T,homeScreen:U,qos:C,upgrade:R,video:A,voIpProt:x}),V=(0,w.w2)(M)},27431:function(e,n,t){"use strict";t.d(n,{DS:function(){return g},JC:function(){return h},PB:function(){return E},SH:function(){return S},Zb:function(){return y},aN:function(){return f},bR:function(){return N},fj:function(){return p},mp:function(){return T},n2:function(){return m},n8:function(){return _},pL:function(){return v},pW:function(){return c}});var a,i=t(99710),r=t(16798),o=t(90497),l=t(48930),s=t(9363),u=function(e,n,t){var a=e.findIndex((function(e){return e&&t(e)}));-1===a&&(a=e.length),e[a]=n},c=function(e,n){if("boolean"===typeof e)switch(n){case o.uh.BOOL:return e?"1":"0";case o.uh.XBOOL:return e?"True":"False"}return e.toString()},d={G7500:"G 7500",StudioX50:"Studio X50",StudioX30:"Studio X30",StudioX70:"Studio X70",StudioX52:"Studio X52"},p=function(e){if(!e)return e;var n=e.replace(/^poly /i,"");return d[n]||n},f=(a={},(0,r.Z)(a,o.WW,"upgrade.auto.timeFrame.enable"),(0,r.Z)(a,o.fE,"upgrade.auto.timeFrame.startTime"),(0,r.Z)(a,o.e0,"upgrade.auto.timeFrame.stopTime"),(0,r.Z)(a,o.g_,"upgrade.auto.polling.interval"),a),m=function(e){var n;return null!==(n=f[e])&&void 0!==n?n:e},h=function(e){var n={};return Object.values(e).forEach((function(e){Object.values(e).forEach((function(e){Object.values(e).forEach((function(e){Object.values(e).forEach((function(e){(Array.isArray(e)?e:Object.values(e).flat()).forEach((function(e){n[e.settingName]=e}))}))}))}))})),n},y=function(e,n){var t={};return Object.values(n).forEach((function(n){Object.values(n).forEach((function(n){Object.values(n).forEach((function(n){Object.entries(n).forEach((function(n){var a=(0,i.Z)(n,2),r=a[0],o=a[1];t[r]={name:r,value:e[r],change:o}}))}))}))})),t},g=function(e,n,t,a,i){var r;switch(t){case o.Hy.PARAM_ARRAY:if(!a)return;r={name:e,paramArray:[{currentValue:n,replace1:a}]};break;case o.Hy.PARAM_2D_ARRAY:if(!a||!i)return;r={name:e,param2DArray:[{currentValue:n,replace1:a,replace2:i}]};break;default:r={name:e,currentValue:n}}return r},T=function(e,n,t,a,i){switch(t){case o.Hy.PARAM:e.currentValue=n;break;case o.Hy.PARAM_ARRAY:if(!a)return;e.paramArray=e.paramArray||[],u(e.paramArray,{currentValue:n,replace1:a},(function(e){return e.replace1===a}));break;case o.Hy.PARAM_2D_ARRAY:if(!a||!i)return;e.param2DArray=e.param2DArray||[],u(e.param2DArray,{currentValue:n,replace1:a,replace2:i},(function(e){return e.replace1===a&&e.replace2===i}))}},v=function(e){return e.filter((function(e){return null!==e})).map((function(e){var n,t;return{name:e.name,currentValue:e.currentValue,paramArray:null===(n=e.paramArray)||void 0===n?void 0:n.map((function(e){return null===e||void 0===e||delete e.__typename,e})),param2DArray:null===(t=e.param2DArray)||void 0===t?void 0:t.map((function(e){return null===e||void 0===e||delete e.__typename,e}))}}))},E=function(e,n){var t=y(n,e);return Object.values(t).some((function(e){return e.name===o.bt||e.name===o.qQ}))},_=function(e,n){return e===o.fZ&&n===o.Uk},S=function(e){return(0,s.isEmpty)(e)?null:e.map((function(e){return{deviceModel:e.deviceModel,swPath:e.swPath}}))},N=function(e,n,t){return e?l.KZ$.Device:n?l.KZ$.Site:t?l.KZ$.Group:l.KZ$.DeviceModel}},36334:function(e,n,t){"use strict";t.d(n,{y:function(){return p}});t(96902);var a=t(65860),i=t(8960),r=t(76223),o=t(82933),l=t(25825),s=t(21645),u=t(49467),c=(t(50564),t(25796)),d=t(29938),p=function(e){var n=e.connected,t=e.serialAndMac,p=e.targetEntityId,f=e.targetEntity,m=e.className,h=(0,l.$G)().t,y=f.connected,g=f.hardwareModel,T=f.lastDetected,v=f.macAddress,E=f.name,_=f.serialNumber,S=f.softwareVersion,N=(0,c.Gn)("/manage/inventory/details/:targetEntityId",{targetEntityId:p}),I=(0,r.uP)(!!y),C=[];t?(C.push({key:"serial",label:h("SERIAL_NUMBER"),content:(0,d.jsx)("p",{children:(0,s.wv)(_)})}),C.push({key:"mac",label:h("MAC_ADDRESS"),content:(0,d.jsx)("p",{children:(0,s.wv)(v)})})):C.push({key:"id",label:h(_?"SERIAL_NUMBER":"MAC_ADDRESS"),content:(0,d.jsx)("p",{children:(0,s.wv)(_||v)})});var A=[{key:"model",label:"",content:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"absolute mt-2",children:(0,d.jsx)(i.eE,{iconTitle:h("STATUS_INDICATORS"),className:"align-tooltip-icon text-center",position:"bottom",size:"sm",iconReplacement:(0,d.jsx)(i.si,{title:"",icon:n?"linked_yes":"linked_no",className:"linked-icon ".concat(n?"":"disconnected-link"),"data-testid":"connected-icon-".concat(_||v)}),children:(0,d.jsx)("div",{"data-testid":"tooltip-text-".concat(_||v),children:h(n?"DEVICE_CONNECTED":"DEVICE_DISCONNECTED")})})}),(0,d.jsxs)("div",{className:"text-center mb-1",children:[(0,d.jsx)(i.wV,{hardwareModel:g||E||null,className:n?"":"disconnected",maxHeight:72,maxWidth:100}),(0,d.jsxs)("div",{children:[null!==y&&(0,d.jsx)("span",{className:"absolute",children:(0,d.jsx)(i.eE,{iconTitle:l.ZP.t("STATUS_INDICATORS"),position:"bottom",size:"fit",iconReplacement:(0,d.jsx)(i.X,{connected:!!y,className:"mb-5 ml-auto"}),children:(0,d.jsx)("div",{children:I})})}),(0,d.jsx)(o.rU,{to:N,className:"link ml-1","data-testid":"link-to-".concat(E),children:g||E})]})]})]})}].concat(C,[{key:"software-version",label:h("SOFTWARE_VERSION"),content:(0,d.jsx)("p",{className:"m-0",children:(0,s.wv)(S)})}]);!n&&T&&(0,u.iX)(A,T,"last-detected-".concat(_||v));return(0,d.jsx)("div",{className:"nested-links",children:(0,d.jsx)("div",{className:"card table-card details-card connected-entity","data-testid":"".concat(E,"-card"),children:(0,a.eR)(A,4,m)})})}},49467:function(e,n,t){"use strict";t.d(n,{$0:function(){return D},$9:function(){return R},Aj:function(){return b},Mc:function(){return A},Tw:function(){return k},Ye:function(){return C},d:function(){return I},iX:function(){return O},zJ:function(){return L}});var a=t(16798),i=t(99710),r=t(96902),o=t(65860),l=t(8960),s=t(48930),u=t(82933),c=t(25796),d=t(25825),p=t(36265),f=t(21645),m=t(76175),h=(t(50564),t(76223)),y=t(90497),g=t(98754),T=t(37324),v=t(90587),E=t(32292),_=t(96199),S=t(30290),N=t(29938),I=function(e){var n,t=(0,d.$G)().t,a=e.internalIp,r=e.externalIp,s=e.macAddress,u=e.serialNumber,c=e.activeApplicationName,m=e.hardwareModel,h=e.softwareVersion,y=e.softwareBuild,T=e.latestSoftware,v=e.upToDate,E=(0,l.v$)("SYSTEM_STATUS"),_=(0,i.Z)(E,1)[0];n=[{key:"serial-number",label:t("SERIAL_NUMBER"),content:(0,N.jsx)("p",{children:(0,f.wv)(u)})},{key:"mac-address",label:t("MAC_ADDRESS"),content:(0,N.jsx)("p",{children:(0,f.wv)(s)})},{key:"internal-ip",label:t("IPV4"),content:(0,N.jsx)("p",{children:(0,f.wv)(a)})}],_&&(0,p.no)(m||"")||n.push({key:"software-version",label:t("SOFTWARE_VERSION"),content:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{className:"m-0",children:(0,f.wv)((0,g.J)(h,y,m),!1,!0)}),!v&&(0,N.jsxs)("p",{className:"latest-version",children:[t("UPDATE_AVAILABLE")," ",T]})]})}),n.push({key:"public-ip",label:t("PUBLIC_IP"),content:(0,N.jsx)("p",{children:(0,f.wv)(r)})}),(0,p.no)(m||"")&&n.push({key:"provider",label:t("PROVIDER"),content:(0,N.jsx)("p",{children:null!==c&&void 0!==c?c:"-"})});var S=(0,o.eR)(n,4);return(0,N.jsx)("div",{className:"card table-card details-card",children:S})},C=function(e){var n=e.room,t=e.site,a=(0,d.$G)().t,i=[{key:"room-name",label:a("ROOM"),content:(0,N.jsx)("p",{"data-testid":"room-name",children:null!==n&&void 0!==n&&n.id&&null!==n&&void 0!==n&&n.name?(0,N.jsx)(u.rU,{className:"link",to:"/manage/rooms/details/".concat(n.id),children:n.name}):(0,f.wv)(null===n||void 0===n?void 0:n.name)})},{key:"site",label:a("SITE"),content:(0,N.jsx)("p",{"data-testid":"site-name",children:null!==t&&void 0!==t&&t.id&&null!==t&&void 0!==t&&t.name?(0,N.jsx)(u.rU,{className:"link",to:"/manage/sites/details/".concat(t.id),children:t.name}):(0,f.wv)(null===t||void 0===t?void 0:t.name)})}];if(null!==n&&void 0!==n&&n.floor&&i.push({key:"floor",label:a("FLOOR"),content:(0,N.jsx)("p",{children:null===n||void 0===n?void 0:n.floor})}),null!==t&&void 0!==t&&t.name&&null!==t&&void 0!==t&&t.address){var r=t.address;i.push({key:"address",label:a("ADDRESS"),content:(0,N.jsx)("p",{children:r.address1||r.formattedAddress})})}return(0,N.jsx)("div",{className:"card table-card details-card",children:(0,o.eR)(i,4)})},A=function(e){var n=e.id,t=(0,d.$G)().t,a=(0,s.Itq)({variables:{id:n}}),u=a.data,c=a.fetching,p=(0,r.useState)(!0),h=(0,i.Z)(p,2),y=h[0],g=h[1],T=function(e){return e===m.L6.PASSWORD};if(c)return(0,N.jsx)(l.TF,{className:"mb-15 inline"});var v=[{key:m.L6.USERNAME,label:t("USERNAME")},{key:m.L6.PASSWORD,label:t("PASSWORD")},{key:m.L6.RPRM_HOST,label:t("RELAY_RPRM_HOST")}].map((function(e){var n,t=e.key,a=e.label,i=(0,f.wv)(null===u||void 0===u||null===(n=u.normalizedDeviceSettings.settings.filter((function(e){return e.name.split(".")[0]===m.h1})).map((function(e){var n=e.name,t=e.value;return{name:n.split(".")[1],value:t}})).find((function(e){return e.name===t})))||void 0===n?void 0:n.value);return{key:t,label:a,content:T(t)?(0,N.jsxs)("div",{className:"d-flex",children:[(0,N.jsx)("p",{className:y?"password-hidden":"",children:i}),(0,N.jsx)(l.LD,{className:"clickable mb-1 ml-5","data-testid":"show-password",icon:y?"eye":"eye_slash",onClick:function(){return g(!y)}})]}):(0,N.jsx)("p",{children:i})}}));return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("label",{className:"mb-1",children:t("RELAY_RPRM_TITLE")}),(0,N.jsx)("div",{className:"card table-card details-card",children:(0,o.eR)(v,4)})]})},R=function(e){var n=e.device,t=e.availableDevices,a=(0,d.$G)().t,i=null===n||void 0===n?void 0:n.user,r=null===n||void 0===n?void 0:n.id,l=(0,s.afO)({variables:{id:r},pause:!r}),p=function(e,n,t){return void 0===e?[]:null===e||void 0===e?void 0:e.map((function(e,a,i){var r=[],o=(0,E.Ox)(null===e||void 0===e?void 0:e.targetEntity.hardwareModel),l=(0,E.rE)(null===e||void 0===e?void 0:e.targetEntity.hardwareModel);if(o||l){var s,u,c=l?d.ZP.t("LENS_MOBILE"):d.ZP.t("LENS_DESKTOP"),p=null!==e&&void 0!==e&&e.targetEntity.lastDetected?(0,_.p6)(null===e||void 0===e?void 0:e.targetEntity.lastDetected,y.zT.US_SHORT):(0,f.wv)(null);r.push({key:"version",label:c,content:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("div",{"data-testid":"version",children:(0,f.wv)(e.targetEntity.softwareVersion)}),!t&&(null===n||void 0===n?void 0:n.firmwareUpdateInfo.isUpdateAvailable)&&(0,N.jsxs)("div",{className:"font-sm font-bold lightgreen-700","data-testid":"firmware-update-info",children:[d.ZP.t("UPDATE_AVAILABLE")," ",null===n||void 0===n||null===(s=n.firmwareUpdateInfo)||void 0===s?void 0:s.updateVersion]})]})},{key:"hardware",label:d.ZP.t("DEVICE"),content:(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("div",{className:"mb-0","data-testid":"hardware",children:"".concat((0,f.wv)((0,E.su)(null===(u=e.targetEntity)||void 0===u?void 0:u.hardwareProduct))," ").concat((0,f.wv)(null===e||void 0===e?void 0:e.targetEntity.hardwareRevision))})})},{key:"last-detected",label:d.ZP.t("LAST_DETECTED"),content:(0,N.jsx)("div",{"data-testid":"last-detected",children:p})})}return r}))}(t,l.data,l.fetching),m=null===i||void 0===i?void 0:i.user_id,h=[{key:"host-name",label:a("DEVICE_USER"),content:(0,N.jsx)("div",{children:m?(0,N.jsx)(u.rU,{className:"link",to:{pathname:"/manage/device-users/users/details",search:(0,c.Gn)("user_id=:user_id",{user_id:m})},children:(0,f.wv)(null===i||void 0===i?void 0:i.name)}):(0,N.jsx)(N.Fragment,{children:(0,f.wv)(null===i||void 0===i?void 0:i.name)})})}];return(0,N.jsx)("div",{className:"card table-card details-card device-user-information",children:(0,o.cE)(h,p,3,9,!1,!0)})};function O(e,n,t){e.push({key:"last-detected",label:d.ZP.t("LAST_DETECTED"),content:(0,N.jsx)("p",{children:(0,f.wv)((0,_.p6)(n,y.zT.LOCALIZED))}),"data-testid":"".concat(t)})}var b=function(e){var n=e.lastDetected,t=e.lastConfigRequestDate,a=e.connected,i=e.dateRegistered,r=(0,d.$G)().t,l="-",s="-",u=(0,h.KC)(t);u!==h.mi.ACTIVE&&u!==h.mi.INACTIVE||(l=(0,_.p6)(t)),i?s=(0,_.p6)(i):i||(s=r("REGISTER_DEVICE_PRIOR"));var c=[{key:"last-provisioning-touch",label:r("LAST_PROVISIONING_TOUCH"),content:(0,N.jsx)("p",{children:l})},{key:"device-added",label:r("DEVICE_ADDED"),content:(0,N.jsx)("p",{children:s})}];!a&&n&&O(c,n,"last-detected-connectivity");var p=a?3:4;return(0,N.jsx)("div",{className:"card table-card details-card",children:(0,o.eR)(c,p)})},L=function(e){var n=e.cardTitle,t=e.headerStatus,a=e.fetching,i=e.status,r=e.deviceExecutor,o=e.refresh,s=void 0!==o&&o,c=e.refreshSpin,d=void 0!==c&&c,p=e.titleLinkSearch,f=e.titleLink,m=void 0!==f&&f,h=e.titleLinkPathname,y=void 0===h?"":h,g=e.headerLinkTo,T=void 0===g?"":g,v=e.headerLink,E=void 0!==v&&v,_=e.children,I=(0,S.e9)(["device-details-card","box-shadow","border-radius-8","relative"]);return(0,N.jsxs)("article",{className:I,children:[(0,N.jsxs)("header",{className:"device-details-card-header",children:[m?(0,N.jsx)(u.OL,{nest:!0,to:{pathname:y,search:p},params:{expanded:"system-status"},children:(0,N.jsx)("h6",{className:"font-lg font-bold",children:n})}):(0,N.jsx)("h6",{className:"font-lg font-bold",children:n}),s&&(0,N.jsx)("div",{className:"link font-sm clickable font-bold refresh-spin",onClick:function(){return null===r||void 0===r?void 0:r({requestPolicy:"network-only"})},children:(0,N.jsx)(l.si,{icon:"refresh",className:"opacity-50","data-testid":"refresh-system-status-icon"})}),d&&(0,N.jsx)("div",{className:"link font-sm font-bold refresh-spin",children:(0,N.jsx)(l.si,{icon:"refresh",className:"opacity-50 spin","data-testid":"refresh-system-status-icon"})}),a?(0,N.jsx)("span",{className:"status font-sm",children:(0,N.jsx)(l.si,{icon:"refresh",className:"spin opacity-50"})}):E?(0,N.jsx)(u.OL,{className:"status font-bold font-sm",nest:!0,to:T,children:t}):(0,N.jsx)("span",{className:"status font-bold font-sm ".concat(i?"good":"error"),children:t})]}),(0,N.jsx)("div",{className:"divider mv-1"}),_,(0,N.jsx)(l.pJ,{})]})},k=function(e){var n=e.systemStatus,t=(0,d.$G)().t,a=(0,r.useState)(!1),o=(0,i.Z)(a,2),l=o[0],s=o[1],u=[];n&&Object.entries(n).filter(v.wz).forEach((function(e){var n=(0,i.Z)(e,2),a=n[0],r=n[1];r.state!==v.q0.OFF&&(r.state===v.q0.FULL||r.state===v.q0.NONE_UP||r.state===v.q0.DOWN?u.unshift((0,N.jsxs)("tr",{className:"system-status-row",children:[(0,N.jsx)("td",{className:"pl-5",children:t(v.fm[a])}),(0,N.jsx)("td",{className:"pr-1",children:(0,N.jsx)(T.t6,{state:r.state,field:a})})]},"system-status-".concat(a))):u.push((0,N.jsxs)("tr",{className:"system-status-row",children:[(0,N.jsx)("td",{className:"pl-5",children:t(v.fm[a])}),(0,N.jsx)("td",{className:"pr-1",children:(0,N.jsx)(T.t6,{state:r.state,field:a})})]},"system-status-".concat(a))))}));var c=l?"SEE_LESS":"SEE_MORE",p=(0,S.e9)(["system-table-container",l&&"expanded rows-".concat(u.length)]);return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("div",{className:p,children:(0,N.jsx)("table",{className:"system-status-table",children:(0,N.jsx)("tbody",{children:u})})}),u.length>2&&(0,N.jsx)("p",{className:"font-sm mb-0 pl-5 pt-5 clickable font-bold link",onClick:function(){return s(!l)},children:t(c,{count:u.length-2})})]})},D=function(e){var n,t,i,r=e.softwareVersion,o=e.buildVersion,u=e.softwareSetByPolicy,c=e.latestSoftware,p=e.swPolicyScope,f=e.upToDate,m=(0,d.$G)().t,h=u;u===y.y7&&(h=m("AUTO_UPDATE_TO_LATEST_SOFTWARE"));var g=(n={},(0,a.Z)(n,s.KZ$.Device,"DEVICE"),(0,a.Z)(n,s.KZ$.Site,"SITE"),(0,a.Z)(n,s.KZ$.Group,"GROUP"),(0,a.Z)(n,s.KZ$.DeviceModel,"DEVICE_MODEL"),(0,a.Z)(n,s.KZ$.Global,"GLOBAL"),(0,a.Z)(n,s.KZ$.ExternalDevice,"EXTERNAL_DEVICE_POLICY"),n),T=4===(null===r||void 0===r?void 0:r.split(".").length)?r:"".concat(r).concat(o?".".concat(o):""),v=!!h&&!!p;return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)("div",{className:"software-section font-sm",children:[(0,N.jsxs)("div",{className:"software-row",children:[(0,N.jsx)("span",{className:"software-label pr-5",children:m("DEVICE_SOFTWARE")}),(0,N.jsx)("span",{className:f?"up-to-date":"",children:T})]}),(0,N.jsxs)("div",{className:"software-row",children:[(0,N.jsx)("span",{className:"software-label pr-5",children:m("POLICY_SOFTWARE",{scope:m(g[null!==p&&void 0!==p?p:s.KZ$.Device])})}),(0,N.jsx)("span",{className:"policy-version",children:null!==(t=h)&&void 0!==t?t:m("AUTO_UPDATE_TO_LATEST_SOFTWARE")})]}),(0,N.jsxs)("div",{className:"software-row",children:[(0,N.jsx)("span",{className:"software-label pr-5",children:m("LATEST_AVAILABLE")}),c,v&&(0,N.jsx)(l.eE,{icon:"circle_info",iconTitle:"info_circle",iconSize:"xs",className:"ml-5",position:"bottom",children:m("DEVICE_DETAILS_SOFTWARE_CARD_POLICY_MESSAGE",{policyScope:m(g[null!==p&&void 0!==p?p:s.KZ$.Device]),softwareVersion:null!==(i=h)&&void 0!==i?i:c})})]})]})})}},4861:function(e,n,t){"use strict";t.d(n,{ZP:function(){return mt},PZ:function(){return ut},DL:function(){return ct},sw:function(){return dt}});var a=t(99710),i=t(95764),r=t(96902),o=t(90666),l=t(8960),s=t(1378),u=t(25825),c=t(82933),d=t(88341),p=t(48930),f=t(97113),m=t(21645),h=t(7584),y=t(97318),g=t(73451),T=t(36265),v=t(4574),E=t(36334),_=(t(50564),t(76223)),S=t(90497),N=t(34670),I=t(29938),C=function(e){var n=(0,u.$G)().t;return(0,I.jsxs)(y.$,{className:"mb-4",children:[(0,I.jsx)(y.$.Header,{children:n("GROUP_MEMBERSHIP")}),(0,I.jsx)(N.I,(0,i.Z)({},e))]})},A=t(90587),R=t(32292),O=t(54831),b=t(1987),L=t(27431),k=t(98742),D=t(49467),x=t(30290),P=function(e){var n,t,o,s,f,N,P,U,w,M,V,j,F,B,Z,G,J,H,W,Y,q,K,z,X,$,Q=e.device,ee=e.reset,ne=e.restarted,te=e.isLensDesktop,ae=e.isLensMobile,ie=(0,u.$G)().t,re=y.$.Header,oe=d.A.Content,le=(0,b.Aj)(),se=(0,l.v$)("SYSTEM_STATUS"),ue=!(0,a.Z)(se,1)[0],ce=!(null!==Q&&void 0!==Q&&Q.hardwareModel)||!(null!==Q&&void 0!==Q&&Q.model),de=(0,L.fj)(null!==(n=null===Q||void 0===Q?void 0:Q.hardwareModel)&&void 0!==n?n:""),pe=(0,p.wF1)({pause:ce,variables:{hardwareModelId:null!==(t=null===Q||void 0===Q?void 0:Q.hardwareModel)&&void 0!==t?t:""}}),fe=pe.data,me=pe.fetching,he=(0,p.Ul5)({variables:{id:null===Q||void 0===Q?void 0:Q.id},pause:!(null!==Q&&void 0!==Q&&Q.id)}),ye=he.data,ge=he.fetching,Te=he.executor,ve=(0,O.TE)()("update:device"),Ee=(0,l.v$)("CALL_CONTROL"),_e=(0,a.Z)(Ee,1)[0],Se=(0,v.u)(null===Q||void 0===Q?void 0:Q.entityConnections),Ne=(0,k.jo)({device:Q,tenantId:le}),Ie=Ne.relevantGroupIds,Ce=Ne.fetching,Ae=(0,k.fW)({type:p.MiJ.DeviceSwUpdate,policyScope:p.KZ$.Device,deviceModel:de,tenantId:le,device:Q,siteId:null!==(o=null===Q||void 0===Q||null===(s=Q.site)||void 0===s?void 0:s.id)&&void 0!==o?o:"",groupIds:Ie,msTeamsAssistedProvisioningEnabled:!1}),Re=Ae.policies,Oe=Ae.fetching,be=(null===Q||void 0===Q?void 0:Q.hardwareModel)||"",Le=(0,T.xr)(be),ke=(0,T.gR)(be),De=(0,T.jc)(be),xe=(0,T.no)(be),Pe=!!Q&&(0,m.yC)(Q.softwareVersion,S.rc)>=0,Ue=(null===Q||void 0===Q?void 0:Q.hardwareModel)&&(0,T.ZB)(Q.hardwareModel),we=(0,T.lN)(Q),Me=null===Q||void 0===Q?void 0:Q.connected,Ve=(0,T.uj)(Q),je=(0,T.vb)(Q),Fe=!te&&!ae&&!je,Be=null===(f=Se)||void 0===f?void 0:f.filter((function(e){return(0,R.fe)(null===e||void 0===e?void 0:e.targetEntity.hardwareModel)}));Se=null===(N=Se)||void 0===N?void 0:N.filter((function(e){return!(0,R.fe)(e.targetEntity.hardwareModel)}));var Ze=(0,T.cO)(null===Q||void 0===Q?void 0:Q.supportsSettings,null===Q||void 0===Q?void 0:Q.supportsSoftwareUpdate,null===Q||void 0===Q?void 0:Q.provisioningEnabled),Ge=De&&!!Q.connected,Je=!(null===Q||void 0===Q||null===(P=Q.systemStatus)||void 0===P||!P.data),He="";null!==fe&&void 0!==fe&&fe.hardwareModel.modelProducts.edges&&null!==fe&&void 0!==fe&&fe.hardwareModel.modelProducts.edges.length&&null!==fe&&void 0!==fe&&null!==(U=fe.hardwareModel.modelProducts.edges[0].node.availableProductSoftware)&&void 0!==U&&U.version&&(He=null===fe||void 0===fe?void 0:fe.hardwareModel.modelProducts.edges[0].node.availableProductSoftware.version);var We,Ye=me||Oe||Ce;Re&&Re.length>0&&(We=Re[Re.length-1]);var qe,Ke,ze,Xe,$e,Qe,en=null===(w=We)||void 0===w||null===(M=w.swUpdatePath)||void 0===M?void 0:M.split("/").slice(-2).join("."),nn=en===S.y7?He:en,tn=4===(null===Q||void 0===Q||null===(V=Q.softwareVersion)||void 0===V?void 0:V.split(".").length)?null===Q||void 0===Q?void 0:Q.softwareVersion:"".concat(null===Q||void 0===Q?void 0:Q.softwareVersion,".").concat(null===Q||void 0===Q?void 0:Q.softwareBuild),an=(0,m.yC)(tn,null!==nn&&void 0!==nn?nn:He,!0)>-1,rn=null===Q||void 0===Q||null===(j=Q.systemStatus)||void 0===j||null===(F=j.data)||void 0===F||null===(B=F.com)||void 0===B||null===(Z=B.poly)||void 0===Z||null===(G=Z.device)||void 0===G?void 0:G.status;!ge&&ye&&(rn=null===ye||void 0===ye||null===(qe=ye.device)||void 0===qe||null===(Ke=qe.systemStatus)||void 0===Ke||null===(ze=Ke.data)||void 0===ze||null===(Xe=ze.com)||void 0===Xe||null===($e=Xe.poly)||void 0===$e||null===(Qe=$e.device)||void 0===Qe?void 0:Qe.status);var on=0,ln=0;rn&&Object.entries(rn).forEach((function(e){var n=(0,a.Z)(e,2)[1];n&&"SystemStatus"!==n&&n.state!==A.q0.OFF&&(n.state===A.q0.FULL||n.state===A.q0.NONE_UP||n.state===A.q0.DOWN?on+=1:n.state!==A.q0.UNKNOWN&&n.state!==A.q0.THRESHOLD_EXCEEDED&&n.state!==A.q0.SOME_UP||(ln+=1))}));var sn="";me||(sn=ie(an?"UP_TO_DATE":"UPDATE_AVAILABLE"));var un=ln>0?ie("SYSTEM_STATUS_WARNING",{count:ln}):ie("NO_ISSUES_FOUND"),cn=on>0?ie("SYSTEM_STATUS_ISSUES",{count:on}):un,dn=ue?"btn btn-secondary":"control-link",pn=!ke||Pe,fn=!!Q&&(0,m.yC)(Q.softwareVersion,S.QX)>=0,mn=ve&&Me&&Ze&&xe&&!we&&!Ve&&fn&&!!Q.hasPeripherals&&!(null===(J=Se)||void 0===J||!J.length),hn=1+(null!==(H=null===(W=Se)||void 0===W?void 0:W.length)&&void 0!==H?H:0),yn=!Le&&!Ue,gn=ne||ee,Tn=[];!Me||ue||we||Ve||(Ge&&_e&&Tn.push({title:ie("DIAL_OUT"),link:"/dialOut",disabled:!1}),mn&&Tn.push({title:ie("RESTART_ALL_DEVICES",{count:hn}),link:"/restart-all",disabled:gn}));var vn=Ze||je,En=Me&&(je||Ze)&&(!we&&!Ve&&pn||(0,T.pw)(Q)),_n=mn&&ue,Sn=Me&&Ze&&!we&&!Ve&&yn,Nn=!!Tn.length;return Q&&ce&&h.fy.logger.warn("Device details page: hardware model not found in catalog",{deviceId:null===Q||void 0===Q?void 0:Q.id,tenantId:le,hardwareModel:null===Q||void 0===Q?void 0:Q.hardwareModel,model:null===Q||void 0===Q?void 0:Q.model}),(0,I.jsxs)(I.Fragment,{children:[Q&&(0,I.jsxs)("div",{className:ue?"controls":"device-actions d-flex",children:[vn&&(0,I.jsxs)(g.ig,{to:(0,c.dp)("/edit"),className:dn,requirement:"update:device",children:[!ue&&(0,I.jsx)(l.si,{icon:"pencil","data-testid":"edit-icon"}),ie("EDIT")]}),En&&(0,I.jsxs)(g.ig,{to:(0,c.dp)(gn?"":"/restart"),className:"".concat(dn," ").concat(gn?"disabled":""),requirement:"update:device",children:[!ue&&(0,I.jsx)(l.si,{icon:"refresh","data-testid":"refresh-icon"})," ",ie("RESTART")]}),_n&&(0,I.jsx)(g.ig,{to:(0,c.dp)(gn?"":"/restart-all"),className:"".concat(dn," ").concat(gn?"disabled":""),requirement:"update:device",children:ie("RESTART_ALL_DEVICES",{count:hn})}),Sn&&(0,I.jsxs)(g.ig,{to:(0,c.dp)(gn?"":"/reset"),className:"".concat(dn," ").concat(gn?"disabled":""),requirement:"update:device",children:[!ue&&(0,I.jsx)(l.si,{icon:"gear_refresh","data-testid":"factory-reset-icon"})," ",ie("FACTORY_RESET_DEVICE")]}),Nn&&(0,I.jsx)(l.PS,{className:dn,icon:"more_menu",iconClassName:"blue",title:ie("MORE_ACTIONS"),"aria-label":ie("MORE_ACTIONS"),children:Tn.map((function(e,n){var t=e.title,a=e.link,i=e.disabled,r=(0,x.e9)(["ph-1 m-0",dn,i&&"disabled",0===n?"pt-1":"",n===Tn.length-1?"pb-1":""]);return(0,I.jsx)(c.rU,{to:(0,c.dp)(i?"":a),className:r,children:t})}))}),(0,I.jsx)(l.yR,{feature:"CALL_CONTROL",andIf:Ge&&ue,children:(0,I.jsx)(c.rU,{to:(0,c.dp)("/dialOut"),className:dn,children:ie("DIAL_OUT")})}),(0,I.jsxs)(g.ig,{to:(0,c.dp)("/delete"),className:ue?"btn mv-1":"control-link trash",requirement:"unregister:device",children:[!ue&&(0,I.jsx)(l.si,{icon:"trash","data-testid":"trash-icon"})," ",ie("DELETE")]})]}),(0,I.jsxs)(oe.ScrollingList,{className:"scroll-short",children:[Q&&!ue&&xe&&(0,I.jsxs)("section",{className:"device-details-cards grid mb-2",children:[Je?(0,I.jsx)(D.zJ,{cardTitle:ie("SYSTEM_STATUS"),headerStatus:cn,status:0===on&&0===ln,titleLink:!0,titleLinkPathname:"/troubleshooting/device-information",titleLinkSearch:"expanded=system-status",refresh:!ge&&(!Q.connected||on>0)&&Fe,refreshSpin:ge,deviceExecutor:Te,children:(0,I.jsx)(D.Tw,{systemStatus:rn})}):(0,I.jsx)(D.zJ,{cardTitle:ie("SYSTEM_STATUS"),headerStatus:ie("SYSTEM_STATUS_UNAVAILABLE"),status:!1,refresh:!ge&&!0===Q.connected&&Fe,refreshSpin:ge,deviceExecutor:Te}),(0,I.jsx)(D.zJ,{cardTitle:ie("SOFTWARE"),fetching:Ye,headerStatus:sn,status:an,headerLink:!an,headerLinkTo:Q.provisioningEnabled?"/settings/update":"/update/sw",children:(0,I.jsx)(D.$0,{softwareVersion:Q.softwareVersion,buildVersion:Q.softwareBuild,latestSoftware:He,softwareSetByPolicy:en,swPolicyScope:null===(Y=We)||void 0===Y?void 0:Y.policyDeploymentScope,upToDate:an})})]}),(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{"data-testid":"device-info",children:ie("DEVICE_INFORMATION")}),(0,I.jsx)(D.d,(0,i.Z)((0,i.Z)({},Q),{},{upToDate:an,latestSoftware:He}))]}),(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("LOCATION_INFORMATION")}),(0,I.jsx)(D.Ye,(0,i.Z)({},Q))]}),Ze&&!we&&(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("CONNECTIVITY")}),(0,I.jsx)(D.Aj,(0,i.Z)({},Q))]}),Ue&&(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("RELAY_APPLICATIONS")}),(0,I.jsx)(D.Mc,(0,i.Z)({},Q))]}),we&&(0,I.jsxs)(I.Fragment,{children:[(null===Q||void 0===Q||null===(q=Q.user)||void 0===q?void 0:q.user_id)&&(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("DEVICE_USER_INFORMATION")}),(0,I.jsx)(D.$9,{device:Q,availableDevices:Be})]}),(null===Q||void 0===Q?void 0:Q.hasPeripherals)&&Se&&(null===(K=Se)||void 0===K?void 0:K.length)>0&&(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("LINKED_DEVICES")}),null===(z=Se)||void 0===z?void 0:z.map((function(e,n){return(0,r.createElement)(E.y,(0,i.Z)((0,i.Z)({},e),{},{"data-testid":"Entity-".concat(n),key:"".concat(e.entityId,"-").concat(n)}))}))]})]}),!we&&(null===Q||void 0===Q?void 0:Q.hasPeripherals)&&Se&&(null===(X=Se)||void 0===X?void 0:X.length)>0&&(0,I.jsxs)(y.$,{children:[(0,I.jsx)(re,{children:ie("LINKED_DEVICES")}),null===($=Se)||void 0===$?void 0:$.map((function(e,n){return(0,r.createElement)(E.y,(0,i.Z)((0,i.Z)({},e),{},{"data-testid":"Entity-".concat(n),key:n}))}))]}),Q&&Q.serialNumber&&(0,_.Yh)(Q.hardwareModel,Q.lastConfigRequestDate)?(0,I.jsx)(C,(0,i.Z)({},Q)):null]})]})},U=t(82333),w=t(85358),M=t(89186),V=t(3541),j=t(51106),F=t(37718),B=t(47734),Z=t(769),G=t(25796),J=Z.Ry({name:Z.Z_().required().ensure().label(u.ZP.t("DEVICE_NAME")),site:Z.Z_().required().ensure().label(u.ZP.t("SITE_NAME")),room:Z.Z_().required().ensure().label(u.ZP.t("ROOM_NAME")),siteAddress:Z.Ry({address1:Z.Z_().label(u.ZP.t("ADDRESS")),geohash:Z.Z_().label(u.ZP.t("GEOHASH"))}),extras:Z.Ry({fromLookup:Z.O7().notRequired().default(!1)})}),H=function(e){var n,t=e.device,s=e.refetch,d=e.loading,f=(0,u.$G)().t,h=(0,c.k6)(),y=h.push,g=h.location,T=(0,b.Aj)(),v=(0,c.$B)().url,E=(0,B.Z)(),_=E.roomsRef,S=E.siteMeta,N=E.sitesWithNames,C=(0,r.useState)(null===(n=t.site)||void 0===n?void 0:n.id),A=(0,a.Z)(C,2),R=A[0],O=A[1],L=(0,r.useMemo)((function(){return null===S||void 0===S?void 0:S.sites.find((function(e){return e.id===R}))}),[R,S]),k=(0,r.useState)(!0),D=(0,a.Z)(k,2),x=D[0],P=D[1],Z=(0,r.useMemo)((function(){var e,n,a,r;return(0,i.Z)((0,i.Z)({},J.default()),{},{name:t.name||"",site:(null===(e=t.site)||void 0===e?void 0:e.name)||"",room:(null===(n=t.room)||void 0===n?void 0:n.name)||"",siteAddress:{address1:(null===(a=t.site)||void 0===a||null===(r=a.address)||void 0===r?void 0:r.address1)||"",geohash:""}})}),[t]),H=(0,p.WYH)(),W=(0,a.Z)(H,2)[1],Y=(0,p.Iyu)(),q=(0,a.Z)(Y,2)[1],K=(0,p.$1J)(),z=(0,a.Z)(K,2)[1];(0,r.useEffect)((function(){var e;O(null===(e=t.site)||void 0===e?void 0:e.id)}),[t]);var X=(0,r.useCallback)(function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n){var a,i,r;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a={},n.name!==t.name&&(a.name=n.name),L){e.next=7;break}return e.next=5,q({site:{name:n.site,tenantId:T,address:n.siteAddress}},{notify:{i18nKey:"ERROR_UPDATING_SITE",dismiss:o.GP.USER_ONLY}}).then(function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n){var r,o,l;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=n.data,(l=null===o||void 0===o?void 0:o.upsertSite)&&l.name!==(null===(r=t.site)||void 0===r?void 0:r.name)&&(a.site=l.name),i=null===l||void 0===l?void 0:l.id;case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 5:e.next=9;break;case 7:a.site=L.name,i=L.id;case 9:if(!(null===L||void 0===L?void 0:L.rooms.find((function(e){return e.name===n.room})))){e.next=14;break}a.room=null!==(r=n.room)&&void 0!==r?r:"Unassigned",e.next=17;break;case 14:if(!i){e.next=17;break}return e.next=17,z({fields:{siteId:i,name:n.room,tenantId:T}},{notify:{i18nKey:"ERROR_UPDATING_ROOM",dismiss:o.GP.USER_ONLY}}).then((function(e){var n,t=e.data,i=null===t||void 0===t?void 0:t.upsertRoom;a.room=null!==(n=null===i||void 0===i?void 0:i.name)&&void 0!==n?n:"Unassigned"})).catch((function(){a.room="Unassigned"}));case 17:return e.next=19,W({id:t.id,fields:a},{notify:{i18nKey:"ERROR_UPDATING_DEVICE",dismiss:o.GP.USER_ONLY}});case 19:e.sent.error||y((0,G.Gn)("".concat(g.pathname.replace("/edit","")).concat(g.search,"&").concat(M.stringify({editSuccess:!0})))),s();case 22:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),[t,L,T,s,z,q,W,g,y]),$=(0,r.useCallback)((function(e,n,a){var r,o=(0,i.Z)({},a),l="Unassigned",s=null===S||void 0===S?void 0:S.sites.find((function(n){return n.name===e}));if(O(null===s||void 0===s?void 0:s.id),s){var u,c,d,p,f=(null===s||void 0===s?void 0:s.name)===(null===(u=t.site)||void 0===u?void 0:u.name);o.room=null!==(c=f?null===(d=t.room)||void 0===d?void 0:d.name:null===s||void 0===s||null===(p=s.rooms[0])||void 0===p?void 0:p.name)&&void 0!==c?c:l}else o.room=l;var h=null===s||void 0===s||null===(r=s.name)||void 0===r?void 0:r.toLocaleLowerCase();if(P(Boolean(s)),(0,m.j_)(h)||!h||h!==(null===L||void 0===L?void 0:L.name))o.siteAddress={address1:"",geohash:""};else if(s){var y,g;o.siteAddress={address1:null!==(y=null===(g=s.address)||void 0===g?void 0:g.address1)&&void 0!==y?y:"",geohash:""}}n(o)}),[t,L,S,P,O]);return d?(0,I.jsxs)("div",{className:"modal",children:[(0,I.jsx)("div",{className:"overlay blocking"}),(0,I.jsxs)("div",{className:"modal-content",children:[(0,I.jsx)("h4",{children:f("EDIT_DEVICE_INFORMATION")}),(0,I.jsx)("div",{className:"contents-container",style:{height:"330px"},children:(0,I.jsx)(l.TF,{})})]})]}):(0,I.jsx)(F.Yr,{title:f("EDIT_DEVICE_INFORMATION"),name:"EditDeviceDetails",initialValues:Z,validationSchema:J,onSubmit:X,enableReinitialize:!0,validateOnChange:!0,children:function(e){var n,a,r,o,s=e.values,u=e.isSubmitting,p=e.setValues,m=e.isValid,h=d||!m||s.name===t.name&&s.room===(null===(n=t.room)||void 0===n?void 0:n.name)&&s.site===(null===(a=t.site)||void 0===a?void 0:a.name);return _.current=null!==(r=null===L||void 0===L||null===(o=L.rooms)||void 0===o?void 0:o.map((function(e){return{text:e.name,value:e.name}})))&&void 0!==r?r:[{text:"Unassigned",value:"Unassigned"}],(0,I.jsx)("div",{className:"edit-content-container",children:(0,I.jsxs)(V.l0,{children:[(0,I.jsx)(j.qQ,{initialValues:Z,siteNameKey:"site"}),(0,I.jsxs)(l.Ft,{loading:d,title:f("LOADING"),className:"form-content",children:[(0,I.jsx)(V.II,{label:f("DEVICE_NAME"),name:"name",tabIndex:1,disabled:u}),(0,I.jsx)(V.dp,{placeholder:f("SITE_NAME"),label:f("SITE_NAME"),name:"site",options:N,tabIndex:2,disabled:u,onSelectionChange:function(e){return $(e,p,s)},customValue:!0,search:!0,selectOnInput:!0}),(0,I.jsx)(V.dp,{placeholder:f("ROOM_NAME"),label:f("ROOM_NAME"),name:"room",options:_.current,tabIndex:3,disabled:u,customValue:!0,search:!0,selectOnInput:!0}),(0,I.jsxs)("div",{className:"address-input-container",children:[(0,I.jsx)(V.Jg,{label:f("SITE_ADDRESS"),tabIndex:4,disabled:x||u,name:"siteAddress.address1",placeholder:!0,placeholderLabel:f(x?"UNKNOWN":"SITE_ADDRESS"),onSelect:function(e){p((0,i.Z)((0,i.Z)({},s),{},{siteAddress:{address1:e.formattedAddress||"",geohash:e.geohash||""}}))}}),(0,I.jsx)("div",{className:"help-address",children:(0,I.jsx)(l.eE,{icon:"circle_help",iconTitle:"help",iconClassName:"white",position:"right",children:f(x?"SITE_ADDRESS_TOOLTIP_DISABLED":"SITE_ADDRESS_TOOLTIP_ENABLED",{site:s.site})})})]})]}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(c.rU,{persist:["DeviceFilterState","InsightsFilterState"],to:v.replace("/edit",""),className:"btn","data-testid":"close",disabled:u,children:f("CANCEL")}),(0,I.jsx)(l.Mm,{isSubmitting:u,testId:"save",disabled:h,labelKey:"SAVE_CHANGES",submittingLabelKey:"SAVING"})]})]})})}})},W=(0,g.Lq)("update:device")((function(e){var n,t=e.id,i=(0,o.lm)(),l=(0,a.Z)(i,1)[0],s=(0,u.$G)().t,c=(0,p.rZv)({variables:{filter:{AND:(0,f._3)({id:t})}}}),d=c.data,m=c.fetching,h=c.stale,y=c.executor,g=Boolean(null===d||void 0===d?void 0:d.devices)&&Boolean(null===d||void 0===d?void 0:d.devices[0]),T={},v=g&&null!==(n=null===d||void 0===d?void 0:d.devices[0])&&void 0!==n?n:T,E=(0,r.useCallback)((function(){return y({requestPolicy:"network-only"})}),[y]);return h||m||g||l({type:"error",message:s("CANT_FIND_DEVICE"),dismiss:o.GP.DEFAULT}),(0,I.jsx)(H,{device:v,refetch:E,loading:m||h})})),Y=t(80865),q=t(92858),K=function(e){var n=e.name,t=(0,u.$G)().t,a=(0,O.zf)((0,O.Vd)("update:device"));return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("label",{htmlFor:"xml-editor",className:"sr-only",children:t("XML_EDITOR")}),(0,I.jsx)(V.Kx,{id:"xml-editor",name:n,errorAbove:!0,className:"details",inputClassName:"xml-editor",disabled:!a})]})},z=(0,Z.Ry)().shape({deviceSettingsAsXML:(0,V.Jd)().required()}),X=function(e){var n=e.data,t=e.onUpdate,i=e.onLoad,c=e.loading,f=(0,u.$G)().t,m=dt().params.deviceId,h=(0,b.Aj)(),y=ct(m,h).device,T=(0,r.useState)([]),v=(0,a.Z)(T,2),E=v[0],_=v[1],S=(0,p.Y38)(),N=(0,a.Z)(S,2)[1],C=(0,o.lm)(),A=(0,a.Z)(C,1)[0];if((0,r.useEffect)((function(){i()}),[i]),!n.length||c)return(0,I.jsx)(l.TF,{});var R=d.A.Content;return(0,I.jsx)(V.J9,{name:"DeviceAdvanceSettings",customDimensions:{model:null===y||void 0===y?void 0:y.hardwareModel,software_version:null===y||void 0===y?void 0:y.softwareVersion},initialValues:{deviceSettingsAsXML:n},validationSchema:z,validate:function(e){return e.deviceSettingsAsXML&&e.deviceSettingsAsXML.length?{}:{deviceSettingsAsXML:f("ERROR_MISSING_XML_CONTENT")}},onSubmit:function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n){var a,i,r;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N({settingsXML:n.deviceSettingsAsXML,id:m},s.noOpNotifyContext);case 2:a=e.sent,(i=a.error)?(r=i.graphQLErrors.filter((function(e){var n,t;return(null===e||void 0===e||null===(n=e.extensions)||void 0===n||null===(t=n.errors)||void 0===t?void 0:t.length)>0})).flatMap((function(e){var n;return null===e||void 0===e||null===(n=e.extensions)||void 0===n?void 0:n.errors})).map((function(e){return{fieldName:"".concat(e.name),fieldValue:"".concat(e.requestedValue),deviceResponse:"".concat(e.result)}})),_(r),r.length||A({type:"error",id:"deviceSettingsError",message:f("ERROR_SAVING_DEVICE_SETTINGS_MESSAGE",{message:i.message||""}),dismiss:"USER_ONLY"})):(_([]),A({type:"success",message:f("DEVICE_SETTINGS_UPDATED"),dismiss:o.GP.DEFAULT}),t());case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:(0,I.jsxs)(V.l0,{className:"form",children:[(0,I.jsxs)("div",{className:"header-information grid pb-1",children:[(0,I.jsx)("div",{className:"col-6 col-xl-8 v-bottom",children:f("ADVANCED_USERS_ONLY")}),(0,I.jsx)(g.xb,{requirement:"update:device",children:(0,I.jsxs)("div",{className:"col-6 col-xl-4 text-right","data-testid":"save-settings-buttons",children:[(0,I.jsx)(q.gN,{name:"reset",children:function(e){var n=e.form,t=n.dirty,a=n.handleReset;return(0,I.jsx)("button",{type:"button",className:"btn",disabled:!t,onClick:a,children:f("DISCARD")})}}),(0,I.jsx)(q.gN,{name:"submit",children:function(e){var n=e.form,t=n.dirty,a=n.isSubmitting,i=n.isValid;return(0,I.jsx)(l.Mm,{isSubmitting:a,disabled:!t||!i})}})]})})]}),(0,I.jsxs)(R.ScrollingList,{children:[!!E.length&&(0,I.jsxs)("div",{className:"banner banner-error d-flex block mb-1 pv-1 pr-2",children:[(0,I.jsx)("div",{children:(0,I.jsx)(l.si,{icon:"triangle_warning",className:"mr-1 white"})}),(0,I.jsxs)("div",{children:[(0,I.jsx)("p",{children:f("ADVANCED_ERROR_INTRO")}),E.map((function(e,n){return(0,I.jsxs)("div",{className:"d-flex mt-2",children:[(0,I.jsxs)("div",{className:"error pr-1",children:["Error ",n+1]}),(0,I.jsxs)("div",{className:"",children:[(0,I.jsxs)("p",{className:"error-field-name mb-5",children:[(0,I.jsx)("span",{className:"error-label",children:"Field Name:"}),(0,I.jsx)("span",{className:"error-value ml-5",children:e.fieldName})]}),(0,I.jsxs)("p",{className:"error-field-value mb-5",children:[(0,I.jsx)("span",{className:"error-label",children:"Field Value:"}),(0,I.jsx)("span",{className:"error-value ml-5",children:e.fieldValue})]}),(0,I.jsxs)("p",{className:"error-device-response mb-5",children:[(0,I.jsx)("span",{className:"error-label",children:"Device Response:"}),(0,I.jsx)("span",{className:"error-value ml-5",children:e.deviceResponse})]})]})]},"error-".concat(n))}))]})]}),(0,I.jsx)(K,{name:"deviceSettingsAsXML"})]})]})})},$=t(5194),Q=t(2522),ee=t(74237),ne=t(60366),te=function(e){var n,t,a,i=e.disabled,o=(0,u.$G)().t,s=(0,q.u6)(),c=s.values,d=s.setFieldValue,f=(null===c||void 0===c||null===(n=c.upgrade)||void 0===n||null===(t=n.auto)||void 0===t||null===(a=t.server)||void 0===a?void 0:a.type)===p.nYQ.PolycomSupportServer;(0,r.useEffect)((function(){f&&d("upgrade.auto.enable",!0)}),[f,d]);return(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsxs)("label",{className:"col-4 text-right",htmlFor:"latestUpdate",children:[o("AUTO_UPDATE_LATEST"),":"]}),(0,I.jsx)("div",{className:"col-4",children:(0,I.jsx)(l.OZ,{checked:f,onChange:function(e){var n=e.target.checked,t=n?p.nYQ.PolycomSupportServer:p.nYQ.UserDefinedServer;d("upgrade.auto.server.type",t),d("upgrade.auto.enable",n)},disabled:i,name:"latestUpdate"})})]})},ae=function(e){var n=e.disabled,t=e.model,i=(0,u.$G)().t,o=(0,q.U$)("upgrade.auto.server.address"),s=(0,a.Z)(o,3),c=s[0].value,d=s[2].setValue,f=function(e){var n;try{n=new URL(e)}catch(t){return p.EOh.CustomUrl}return n.hostname.match(/swupdate.(dev|stage|prod).lens.poly.com/i)?p.EOh.StandardUrl:p.EOh.CustomUrl}(c),m=(0,r.useState)(f),h=(0,a.Z)(m,2),y=h[0],g=h[1],T=(0,r.useState)(""),v=(0,a.Z)(T,2),E=v[0],_=v[1],S=(0,r.useState)(""),N=(0,a.Z)(S,2),C=N[0],A=N[1],R=[{value:p.EOh.StandardUrl,text:i("POLY_LENS")},{value:p.EOh.CustomUrl,text:i("CUSTOM_SERVER")}];return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsxs)("label",{className:"col-4 text-right",children:[i("DOWNLOAD_SOURCE"),":"]}),(0,I.jsx)("div",{className:"col-4",children:(0,I.jsx)(l.sV,{name:"updateSource",value:y,options:R,disabled:n,onChange:function(e){g(e);var n=e===p.EOh.CustomUrl?E:C;n&&c!==n&&d(n)}})})]}),(0,I.jsx)("div",{className:"show-hide ".concat(y===p.EOh.CustomUrl?"show":"hide"),"data-testid":"updateServerAddress",children:(0,I.jsx)(Q.yt,{label:i("UPDATE_SERVER_ADDRESS"),name:"customChoice",value:E,onChange:function(e){return _(e.target.value)},disabled:n,onBlur:function(e){return d(e.target.value)}})}),(0,I.jsx)("div",{className:"show-hide ".concat(y===p.EOh.StandardUrl?"show":"hide"),"data-testid":"imagesDropdown",children:(0,I.jsx)(ie,{deviceModel:t,disabled:n,dropdownChoice:C,label:i("SELECT_VERSION"),updateDropdownChoice:function(e){A(e),d(e)}})})]})},ie=function(e){var n=e.deviceModel,t=e.disabled,a=e.dropdownChoice,i=e.label,r=e.updateDropdownChoice,o=(0,p.w8z)({variables:{deviceModel:n,isGlobal:!0}}),s=o.data,u=o.fetching;if(u||null===s||void 0===s||!s.getEpUpdateImages)return u?(0,I.jsx)(l.TF,{}):null;var c=s.getEpUpdateImages.map((function(e){return{text:(null===e||void 0===e?void 0:e.imageVersion)||"",value:(null===e||void 0===e?void 0:e.directory)||""}}));return(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsxs)("label",{className:"col-4 text-right",children:[i,":"]}),(0,I.jsx)("div",{className:"col-4",children:(0,I.jsx)(l.sV,{name:"versionChoice",value:a,options:c,disabled:t,onChange:r})})]})},re=function(e){var n,t,i,r,o,s,c,d,f,m,h=e.id,y=e.model,T=e.updating,v=e.setUpdating,E=(0,u.$G)().t,_=(0,q.u6)(),S=_.values,N=_.initialValues,C=(0,p.Zvr)(),A=(0,a.Z)(C,2)[1],R=(0,q.U$)("upgrade.auto.server.address"),b=(0,a.Z)(R,1)[0].value,k=(0,p.JKP)({variables:{id:h},requestPolicy:"cache-and-network"}),D=k.fetching,x=k.data,P=[],M="",V={};if(!D&&null!==x&&void 0!==x&&x.device){var j,F=null===x||void 0===x?void 0:x.device;P=F.availableOSs,V=null===(j=F.currentOSState)||void 0===j?void 0:j.updateStatus,M="".concat(F.softwareVersion,"-").concat(F.softwareBuild)}var B=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,ne.X2)("UpdateSoftware"),v(!0),e.next=4,A({deviceId:h},{i18nKey:"DEVICE_OS_UPDATE_ERROR",dismiss:"USER_ONLY"});case 4:e.sent.error&&v(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Z=(0,ee.Ph)(),G=b!==(null===N||void 0===N||null===(n=N.upgrade)||void 0===n||null===(t=n.auto)||void 0===t||null===(i=t.server)||void 0===i?void 0:i.address),J=function(){var e="",n=!1;if(D);else if(T){var t,a,i;if(P&&V)e="".concat(E("UPDATING_TO")," ").concat(null!==(t=null===(a=P[0])||void 0===a||null===(i=a.version)||void 0===i?void 0:i.displayName)&&void 0!==t?t:"");else null===V?(e=E("ERROR_NO_UPDATE_STATUS"),n=!0):e=E("UPDATING")}return(0,I.jsx)("div",{className:"form-group",children:(0,I.jsx)("span",{className:"col-4 text-right available-update block ".concat(n?"error":""),children:e})})},H=(0,O.zf)((0,O.Vd)("update:device")),W=(0,L.fj)(y),Y=T||D||G||!(null!==(r=P)&&void 0!==r&&r.length),K=(null===S||void 0===S||null===(o=S.upgrade)||void 0===o||null===(s=o.auto)||void 0===s||null===(c=s.server)||void 0===c?void 0:c.type)===p.nYQ.PolycomSupportServer;return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(Q.Jp,{title:E("SOFTWARE_UPDATE"),children:[(0,I.jsx)(g.xb,{requirement:"update:device",children:(0,I.jsx)("div",{className:"update-buttons","data-testid":"sw-update-buttons",children:!K&&(0,I.jsx)(l.Mm,{disabled:Y,isSubmitting:T,onClick:B,labelKey:"UPDATE_NOW",submittingLabelKey:"UPDATING",testId:"update-button"})})}),(0,I.jsxs)("div",{className:"details grid form update",children:[(0,I.jsx)(ee.CO,{softwareVersion:D?E("LOADING"):M,label:"CURRENT_VERSION"}),(0,I.jsx)(J,{}),(0,I.jsx)(te,{disabled:!H}),K&&(0,I.jsx)(ee.yJ,{model:W}),(0,I.jsx)("div",{className:"show-hide ".concat(K?"hide":"show"),"data-testid":"updateVersionControls",children:(0,I.jsx)(ae,{disabled:!H,model:y})}),(0,I.jsx)("div",{className:"show-hide ".concat(K?"show":"hide"),"data-testid":"upgrade-schedule-form",children:(0,I.jsx)(Q.z8,{label:E("SCHEDULE_UPDATE_CHECKS"),name:"upgrade.auto.timeFrame.enable",disabled:!H})}),(0,I.jsxs)("div",{className:"show-hide ".concat(null!==S&&void 0!==S&&null!==(d=S.upgrade)&&void 0!==d&&null!==(f=d.auto)&&void 0!==f&&null!==(m=f.timeFrame)&&void 0!==m&&m.enable&&K?"show":"hide"),"data-testid":"upgrade-time-form",children:[(0,I.jsx)(Q.ih,{label:E("FROM"),name:"upgrade.auto.timeFrame.startTime",options:Z,disabled:!H}),(0,I.jsx)(Q.ih,{label:E("TO"),name:"upgrade.auto.timeFrame.stopTime",options:Z,disabled:!H})]})]})]})})},oe=t(9363),le=t.n(oe),se=t(50007),ue=t(38097),ce=t(26371);function de(e){return Object.values(e)}var pe,fe,me=function(e){return e.map((function(e){return{value:e,text:u.ZP.t(e)}}))},he=(0,O.Vd)("update:device"),ye=function(){var e=(0,u.$G)().t,n=(0,O.zf)(he),t=me(de(p.KXO)),a=me(de(p.$nh)),r=se.i.video.monitor;return(0,I.jsx)(Q.Jp,{title:e("DISPLAY"),children:(0,I.jsxs)("div",{className:"details grid form",children:[(0,I.jsx)("div",{className:"legend",children:e("MONITORS")}),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:t},r.ONE.display),{},{disabled:!n})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:a},r.TWO.display),{},{disabled:!n}))]})})},ge=function(){var e,n,t,a,r,o,l,s=(0,u.$G)().t,c=(0,V.u6)().values,d=me(de(p.xCL)),f=me(de(p.y5W)),m=me(de(p.KDP)),h=de(p.vhl),y=h.map((function(e){var n="TIMEZONE_".concat(e.replace("/","_").toUpperCase());return{text:u.ZP.t(n),value:e}})).filter((function(e){return e})).sort((function(e,n){return e.text.localeCompare(n.text)})),g=se.i.device.local,T=(0,O.zf)((0,O.Vd)("update:device")),v=(null===c||void 0===c||null===(e=c.device)||void 0===e||null===(n=e.local)||void 0===n||null===(t=n.ntpServer)||void 0===t?void 0:t.mode)===p.KDP.Manual;return(0,I.jsx)(Q.Jp,{title:s("DATE_AND_TIME"),children:(0,I.jsxs)("div",{className:"details grid form",children:[(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:d},g.datetime.date.format),{},{disabled:!T})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:f},g.datetime.time.TWO4HourClock),{},{disabled:!T})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},g.autoDaylightSavings.enable),{},{disabled:!T})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:y},g.timezone),{},{disabled:!T})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:m},g.ntpServer.mode),{},{disabled:!T})),v&&(0,I.jsx)(I.Fragment,{children:null===c||void 0===c||null===(a=c.device)||void 0===a||null===(r=a.local)||void 0===r||null===(o=r.ntpServer)||void 0===o||null===(l=o.address)||void 0===l?void 0:l.map((function(e,n){var t=g.ntpServer.address.get(n);return t.label=0===n?"PRIMARY_TIME_SERVER_ADDRESS":"SECONDARY_TIME_SERVER_ADDRESS",(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},t),{},{disabled:!T}),t.id)}))})]})})},Te=function(){var e,n=(0,u.$G)().t,t=(0,V.u6)().values,a=me(de(p.hLW)),r=se.i.exchange,o=(0,O.zf)((0,O.Vd)("update:device"));return(0,I.jsx)(Q.Jp,{title:n("CALENDAR"),children:(0,I.jsxs)("div",{className:"details grid form",children:[(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},r.enable),{},{disabled:!o})),(0,I.jsxs)("div",{className:"show-hide ".concat(null!==t&&void 0!==t&&null!==(e=t.exchange)&&void 0!==e&&e.enable?"show":"hide"),children:[(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},r.auth.email),{},{disabled:!o})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},r.auth.domain),{},{disabled:!o})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},r.auth.userName),{},{disabled:!o})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({type:"password"},r.auth.password),{},{disabled:!o})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},r.server.url),{},{disabled:!o})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({},r.meeting.reminderInterval),{},{options:a,disabled:!o})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},r.meeting.reminderSound.enable),{},{disabled:!o})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},r.showPrivateMeeting),{},{disabled:!o}))]})]})})},ve=function(){var e,n,t,a,r,o,l,s,c,d,f,m,h,y,g,T=(0,u.$G)().t,v=(0,V.u6)().values,E=me(de(p.BS_)),_=me(de(p.T4e)),S=me(de(p.Uov)),N=me(de(p.aGw)),C=me(de(p.jym)),A=se.i.voIpProt,R=(0,O.zf)((0,O.Vd)("update:device"));return(0,I.jsx)(Q.Jp,{title:T("CALL_SERVER"),children:(0,I.jsxs)("div",{className:"details grid form",children:[(0,I.jsx)("div",{className:"legend",children:T("SIP")}),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},A.SIP.enable),{},{disabled:!R})),(0,I.jsxs)("div",{className:"show-hide ".concat(null!==v&&void 0!==v&&null!==(e=v.voIpProt)&&void 0!==e&&null!==(n=e.SIP)&&void 0!==n&&n.enable?"show":"hide"),children:[(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:E},A.SIP.serverType),{},{disabled:!R})),(0,I.jsx)("div",{className:"show-hide hide-fix ".concat("Specify"===(null===v||void 0===v||null===(t=v.voIpProt)||void 0===t||null===(a=t.SIP)||void 0===a?void 0:a.serverType)?"show":"hide"),children:(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:_},A.SIP.transport),{},{disabled:!R}))}),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},A.SIP.forceConnectionReuse),{},{disabled:!R})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:S},A.SIP.bfcpTransportPreference),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.SIP.userName),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.SIP.auth.userId),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({type:"password"},A.SIP.auth.password),{},{disabled:!R})),(0,I.jsxs)("div",{className:"show-hide hide-fix ".concat("Specify"===(null===v||void 0===v||null===(r=v.voIpProt)||void 0===r||null===(o=r.SIP)||void 0===o?void 0:o.serverType)?"show":"hide"),children:[(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.SIP.registrarServer),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.SIP.proxyServer),{},{disabled:!R}))]}),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:N},A.SIP.registrarServerType),{},{disabled:!R}))]}),(0,I.jsx)("hr",{}),(0,I.jsx)("div",{className:"legend",children:T("H323")}),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},A.H323.enable),{},{disabled:!R})),(0,I.jsxs)("div",{className:"show-hide ".concat(null!==v&&void 0!==v&&null!==(l=v.voIpProt)&&void 0!==l&&null!==(s=l.H323)&&void 0!==s&&s.enable?"show":"hide"),children:[(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.H323.name),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.H323.e164),{},{disabled:!R})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:C},A.H323.gk.mode),{},{disabled:!R})),(0,I.jsxs)("div",{className:"show-hide ".concat("Specify"===(null===v||void 0===v||null===(c=v.voIpProt)||void 0===c||null===(d=c.H323)||void 0===d||null===(f=d.gk)||void 0===f?void 0:f.mode)?"show":"hide"),children:[(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.H323.gk.ipAddress),{},{disabled:!R})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},A.H323.gk.auth.enable),{},{disabled:!R})),(0,I.jsxs)("div",{className:"show-hide ".concat(null!==v&&void 0!==v&&null!==(m=v.voIpProt)&&void 0!==m&&null!==(h=m.H323)&&void 0!==h&&null!==(y=h.gk)&&void 0!==y&&null!==(g=y.auth)&&void 0!==g&&g.enable?"show":"hide"),children:[(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({},A.H323.gk.auth.userId),{},{disabled:!R})),(0,I.jsx)(Q.yt,(0,i.Z)((0,i.Z)({type:"password"},A.H323.gk.auth.password),{},{disabled:!R}))]})]})]})]})})},Ee=function(){for(var e,n,t,a=(0,u.$G)().t,r=(0,V.u6)().values,o=me(de(p.qT8)),l=[],s=[],c=0;c<=7;c++)l.push({value:"".concat(c),text:"".concat(c)});for(var d=0;d<=63;d++)s.push({value:"".concat(d),text:"".concat(d)});var f=me(de(p.HYq)),m=me(de(p.MVO)),h=se.i.content,y=se.i.qos,g=(0,O.zf)((0,O.Vd)("update:device"));return(0,I.jsx)(Q.Jp,{title:a("NETWORK_QUALITY"),children:(0,I.jsxs)("div",{className:"details grid form",children:[(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:o},h.conference.qualityPreference),{},{disabled:!g})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:f},y.tosType),{},{disabled:!g})),(0,I.jsxs)("div",{className:"show-hide hide-fix ".concat(p.HYq.DiffServ!==(null===r||void 0===r||null===(e=r.qos)||void 0===e?void 0:e.tosType)?"show":"hide"),children:[(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:l},y.intServ.video),{},{disabled:!g})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:l},y.intServ.audio),{},{disabled:!g})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:l},y.intServ.fecc),{},{disabled:!g})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:l},y.intServ.oam),{},{disabled:!g}))]}),(0,I.jsxs)("div",{className:"show-hide hide-fix ".concat("DiffServ"===(null===r||void 0===r||null===(n=r.qos)||void 0===n?void 0:n.tosType)?"show":"hide"),children:[(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:s},y.diffServ.video),{},{disabled:!g})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({},y.diffServ.audio),{},{options:s})),(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({},y.diffServ.oam),{},{options:s,disabled:!g}))]}),(0,I.jsx)("div",{className:"show-hide ".concat(p.rC0.Specify===(null===r||void 0===r||null===(t=r.qos)||void 0===t?void 0:t.mtuMode)?"show":"hide"),children:(0,I.jsx)(Q.ih,(0,i.Z)((0,i.Z)({options:m},y.mtuSize),{},{disabled:!g}))}),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},y.LPR.enable),{},{disabled:!g})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},y.rsvp.enable),{},{disabled:!g})),(0,I.jsx)(Q.z8,(0,i.Z)((0,i.Z)({},y.dynamicBandwidth.enable),{},{disabled:!g}))]})})},_e=function(){return se.I.default()},Se=function e(n,t){return oe.isArray(n)||oe.isArray(t)?n||t:oe.transform(n,(function(n,a,r){var o=t[r],l=oe.isPlainObject(a),s=oe.isPlainObject(o);if(null!==a&&void 0!==a||(n[r]=o),l&&s){var u=(0,i.Z)((0,i.Z)({},o),a);n[r]=e(u,o)}return n}),(0,i.Z)((0,i.Z)({},t),n))},Ne=function(e){return Se(e,_e())},Ie=function(e){var n,t=e.deviceSettings,i=e.loading,s=e.onUpdate,f=e.onLoad,m=dt(),h=m.path,y=m.params,g=y.deviceId,T=y.id,v=(0,u.$G)().t,E=(0,p.WFU)(),_=(0,a.Z)(E,2)[1],S=(0,o.lm)(),N=(0,a.Z)(S,1)[0],C=(0,b.Aj)(),A=ct(g,C).device,R=(0,r.useState)(!1),O=(0,a.Z)(R,2),L=O[0],k=O[1];(0,r.useEffect)((function(){f()}),[f]);var D=null===t||void 0===t?void 0:t.settings;if(i)return(0,I.jsx)(l.TF,{});var x=D?Ne(D):_e(),P=new Date(null!==(n=null===t||void 0===t?void 0:t.fetchedAt)&&void 0!==n?n:""),M=new Date,j=M.getTime()-P.getTime(),F=new Date(M.toDateString()),B=void 0;if(j>M.getTime()-F.getTime())B=P.toDateString();else if(j>12e4){var Z=P.getHours(),G=P.getMinutes();B="".concat(v("TODAY_AT")," ").concat(Z>12?Z-12:Z,":").concat(G<10?"0"+G:G," ").concat(Z>11?"PM":"AM")}var J=d.A.Content;return(0,I.jsx)(V.J9,{name:"DeviceSettings",customDimensions:{model:null===A||void 0===A?void 0:A.hardwareModel,software_version:null===A||void 0===A?void 0:A.softwareVersion},initialValues:x,validationSchema:se.I,enableReinitialize:!0,validate:function(e){return function(e,n){var t,a,i,r,o,l;if(null===e)return"Null values?";var s={};return"manual"===(null===e||void 0===e||null===(t=e.video)||void 0===t||null===(a=t.monitor)||void 0===a||null===(i=a.ONE)||void 0===i?void 0:i.display)&&"off"!==n.video.monitor.TWO.display&&(s=(0,V.tP)(s,"video.monitor.ONE.display",u.ZP.t("ERROR_SET_MONITOR_TWO_OFF_FIRST"))),"auto"!==n.video.monitor.ONE.display&&"auto"===(null===e||void 0===e||null===(r=e.video)||void 0===r||null===(o=r.monitor)||void 0===o||null===(l=o.TWO)||void 0===l?void 0:l.display)&&(s=(0,V.tP)(s,"video.monitor.TWO.display",u.ZP.t("ERROR_SET_MONITOR_ONE_AUTO_FIRST"))),s}(e,x)},onSubmit:function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n){var t,a,i,r,l,u,c,d,p,f,m,h,y,T,E,S,I,C,A;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(["qos.intServ.video","qos.intServ.audio","qos.intServ.fecc","qos.intServ.oam","qos.diffServ.video","qos.diffServ.audio","qos.diffServ.fecc","qos.diffServ.oam"].forEach((function(e){n=(0,V.tP)(n,e,parseInt((0,V.u9)(n,e)))})),n=(0,ue.EL)((0,ue.Ps)(n,x)),null!==(t=n.device)&&void 0!==t&&null!==(a=t.local)&&void 0!==a&&null!==(i=a.ntpServer)&&void 0!==i&&i.address){for(l in r=["",""],null===(u=n.device)||void 0===u||null===(c=u.local)||void 0===c||null===(d=c.ntpServer)||void 0===d?void 0:d.address)void 0===(null===(p=n.device)||void 0===p||null===(f=p.local)||void 0===f||null===(m=f.ntpServer)||void 0===m?void 0:m.address[l])?r[l]=(null===(h=x.device)||void 0===h||null===(y=h.local)||void 0===y||null===(T=y.ntpServer)||void 0===T?void 0:T.address[l])||"":r[l]=null===(E=n.device)||void 0===E||null===(S=E.local)||void 0===S||null===(I=S.ntpServer)||void 0===I?void 0:I.address[l];n=(0,V.tP)(n,"device.local.ntpServer.address",r)}return e.next=5,_({settings:n,id:g},{notify:{i18nKey:"ERROR_SAVING_DEVICE_SETTINGS"}});case 5:C=e.sent,null!==(A=C.data)&&void 0!==A&&A.upsertDeviceSettings&&(N({type:"success",message:v("DEVICE_SETTINGS_UPDATED"),dismiss:o.GP.DEFAULT}),s());case 8:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:function(e){var n,t=e.dirty;return(0,I.jsx)($.Z,{unsavedChanges:t,allowedSubRoutes:["/settings"],children:(0,I.jsxs)(V.l0,{className:"form pb-2",children:[(0,I.jsxs)(ce.gY,{device:A,pageTitle:(0,I.jsx)(ce.z5,{device:A}),hasActionButtons:!0,children:[(0,I.jsxs)("div",{className:"sub-header-information",children:[(0,I.jsx)("div",{className:"last-checked-notification",children:B?(0,I.jsxs)(l.eE,{iconTitle:v("LAST_CHECKED"),position:"bottom",iconReplacement:(0,I.jsxs)("h3",{className:"fetched",children:[v("LAST_CHECKED"),(0,I.jsx)("span",{children:B})]}),children:[(0,I.jsx)("p",{children:v("ERROR_DEVICE_TIMEOUT")}),(0,I.jsx)("button",{type:"button",className:"btn btn-primary",onClick:s,children:v("RETRY")})]}):null}),(0,I.jsx)(l.id,{id:g,updating:L,setUpdating:k})]}),(0,I.jsx)(Q.Xr,{})]}),(0,I.jsx)(J.ScrollingList,{children:(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"display"}),component:ye}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"date"}),component:ge}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"calendar"}),component:Te}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"sw"}),children:(0,I.jsx)(re,{id:g,model:null!==(n=null===A||void 0===A?void 0:A.hardwareModel)&&void 0!==n?n:"",updating:L,setUpdating:k})}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"servers"}),component:ve}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(h,{id:T,deviceId:g,category:"network"}),component:Ee}),(0,I.jsx)(c.AW,{component:ye})]})})]})})}})},Ce=function(e){var n,t=e.id,o=e.showAdvanced,l=(0,r.useState)({noCache:!1,pause:!0,refreshNeeded:!1,viewed:0}),s=(0,a.Z)(l,2),u=s[0],d=s[1],f=(0,r.useState)({waitForDevice:!1,pause:!0,refreshNeeded:!1,viewed:0}),m=(0,a.Z)(f,2),h=m[0],y=m[1],g=(0,p.EVX)({variables:{id:t,noCache:u.noCache},pause:u.pause}),T=g.data,v=g.fetching,E=g.executor,_=(0,p.qi)({variables:{id:t,waitForDevice:h.waitForDevice},pause:h.pause}),S=_.data,N=_.fetching,C=_.executor,A=function(e){d((0,i.Z)((0,i.Z)({},u),{},{noCache:"basic"===e,pause:"basic"!==e,refreshNeeded:!0})),y((0,i.Z)((0,i.Z)({},u),{},{waitForDevice:"xml"===e,pause:"xml"!==e,refreshNeeded:!0}))};return(0,r.useEffect)((function(){u.refreshNeeded&&(u.pause||(d((0,i.Z)((0,i.Z)({},u),{},{refreshNeeded:!1})),E())),h.refreshNeeded&&(h.pause||(y((0,i.Z)((0,i.Z)({},h),{},{refreshNeeded:!1})),C()))}),[u,h,E,C]),(0,I.jsxs)(c.rs,{children:[o&&(0,I.jsx)(c.AW,{nest:!0,path:"/advanced",children:(0,I.jsx)(X,{data:(null===S||void 0===S||null===(n=S.deviceSettingsAsXML)||void 0===n?void 0:n.settings)||"",loading:N,onLoad:function(){h.pause&&y((0,i.Z)((0,i.Z)({},h),{},{pause:!1,viewed:++h.viewed}))},onUpdate:function(){A("xml")}})}),(0,I.jsx)(c.AW,{nest:!0,path:"/:category",children:(0,I.jsx)(Ie,{deviceSettings:null===T||void 0===T?void 0:T.deviceSettings,loading:v,onLoad:function(){u.pause&&d((0,i.Z)((0,i.Z)({},u),{},{pause:!1,viewed:++u.viewed}))},onUpdate:function(){A("basic")}})}),(0,I.jsx)(c.AW,{nest:!0,path:"/",children:(0,I.jsx)(c.l_,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,to:"display"})})]})},Ae=t(61870),Re=t(87976),Oe=function(e){var n=e.id,t=e.onRestart,i=(0,u.$G)().t,r=(0,p.nPd)(),s=(0,a.Z)(r,2)[1],c=(0,o.lm)(),d=(0,a.Z)(c,1)[0],f=(0,F.Ws)(),m=(0,Re.Qu)(n).inCall,h=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){var a,r,l;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({id:n});case 2:a=e.sent,r=a.data,null!==(l=null===r||void 0===r?void 0:r.rebootDevice)&&void 0!==l&&l.success?(d({type:"success",message:i("SUCCESSFULLY_RESTARTED_DEVICE"),dismiss:o.GP.DEFAULT,persistThroughNav:!0}),t(),f()):(d({type:"error",message:i("ERROR_RESTART_DEVICE"),persistThroughNav:!0,dismiss:o.GP.USER_ONLY}),f());case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,I.jsx)(F.PG,{title:i("RESTART_DEVICE"),onSubmit:h,name:"RestartDevice",children:function(e){var n=e.isSubmitting;return(0,I.jsxs)(I.Fragment,{children:[m&&(0,I.jsx)("p",{children:i("RESTART_DEVICE_CONFIRMATION_IN_CALL")}),(0,I.jsx)("p",{children:i("RESTART_DEVICE_CONFIRMATION")}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(l.Lw,{onClick:f}),(0,I.jsx)(l.Mm,{isSubmitting:n,testId:"restart",labelKey:"RESTART",submittingLabelKey:"RESTARTING"})]})]})}})},be=function(e){var n=e.id,t=e.onReset,i=(0,u.$G)().t,r=(0,p.I7f)(),s=(0,a.Z)(r,2)[1],c=(0,o.lm)(),d=(0,a.Z)(c,1)[0],f=(0,F.Ws)(),m=(0,Re.Qu)(n).inCall,h=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){var a,r,l;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({deviceId:n});case 2:a=e.sent,r=a.data,null!==(l=null===r||void 0===r?void 0:r.factoryReset)&&void 0!==l&&l.success?(d({type:"success",message:i("FACTORY_RESET_DEVICE_SUCCESS"),dismiss:o.GP.DEFAULT,persistThroughNav:!0}),t(),f()):(d({type:"error",message:i("FACTORY_RESET_DEVICE_FAILURE",{errorMessage:null===l||void 0===l?void 0:l.error}),persistThroughNav:!0,dismiss:o.GP.USER_ONLY}),f());case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,I.jsx)(F.PG,{title:i("FACTORY_RESET_DEVICE"),onSubmit:(0,w.Z)((0,U.Z)().mark((function e(){return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:case"end":return e.stop()}}),e)}))),name:"RestartDevice",children:function(e){var n=e.isSubmitting;return(0,I.jsxs)(I.Fragment,{children:[m&&(0,I.jsx)("p",{className:"warning",children:i("FACTORY_RESET_DEVICE_CONFIRMATION_IN_CALL")}),i("FACTORY_RESET_DEVICE_CONFIRMATION"),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)("button",{type:"button",className:"btn","data-testid":"cancel",onClick:f,children:i("CANCEL")}),(0,I.jsx)(l.Mm,{isSubmitting:n,testId:"reset",labelKey:"FACTORY_RESET_DEVICE",submittingLabelKey:"FACTORY_RESET_DEVICE_IN_PROGRESS"})]})]})}})},Le=t(76175),ke=t(16798),De=t(10631),xe=t(70926),Pe=t(56878),Ue=t(96199),we=d.A.Content.ScrollingList,Me="certificate_password",Ve="certificate",je={PASSWORD:u.ZP.t("DEVICE_CERTIFICATE_PASSWORD"),CERTIFICATE:u.ZP.t("DEVICE_CERTIFICATE")},Fe=Z.Ry((pe={},(0,ke.Z)(pe,Me,Z.Z_().label(je.PASSWORD).required()),(0,ke.Z)(pe,Ve,Z.Z_().label(je.CERTIFICATE).required()),pe)),Be=(fe={},(0,ke.Z)(fe,Me,""),(0,ke.Z)(fe,Ve,""),fe),Ze=function(e){var n,t=e.device,o=(0,u.$G)().t,s=(0,p.G2q)({variables:{deviceId:t.id}}),d=s.fetching,f=s.data,m=(0,p.Bo4)(),h=(0,a.Z)(m,2)[1],y=(0,r.useState)("view"),T=(0,a.Z)(y,2),v=T[0],E=T[1],_=(0,De.lm)(),N=(0,a.Z)(_,1)[0],C=!d&&!(null===f||void 0===f||!f.describeCertificate.subjectCN)&&!(null===f||void 0===f||!f.describeCertificate.expiry),A="edit"===v||"view"===v&&!C,R=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n,a){var i,r,l,s,u,c,d,p;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.id,r={certificateKey:n.certificate_password,certificatePfx:n.certificate},e.next=4,h({deviceId:i,certificate:r});case 4:if(l=e.sent,(s=l.data)&&s.installCertificate&&s.installCertificate.success&&!s.installCertificate.error){e.next=10;break}return c=(null===s||void 0===s||null===(u=s.installCertificate)||void 0===u?void 0:u.error)||o("DEVICE_CERTIFICATE_ERROR"),N({dismiss:De.GP.DEFAULT,id:"certificate_general_error",type:"error",message:c}),e.abrupt("return");case 10:d=s.installCertificate.subjectCN,p=o("DEVICE_CERTIFICATE_SUCCESS",{subjectCN:d}),N({dismiss:De.GP.DEFAULT,id:"certificate_success",type:"success",message:p}),a.resetForm(),E("view");case 15:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();return A||(n=(0,I.jsxs)(g.xb,{requirement:"update:device",children:[(0,I.jsx)(c.rU,{to:(0,c.dp)("/uninstall"),className:"btn",disabled:!t.connected||!C,children:o("UNINSTALL")}),(0,I.jsx)("button",{type:"button",className:"btn btn-primary",disabled:!t.connected,onClick:function(){E("edit")},children:o("EDIT")})]})),A&&(n=(0,I.jsx)(ce.r2,{device:t,showConfirm:!1,unsavedChanges:0,onDiscard:function(){E("view")},discardKey:"CANCEL",discardIfNotDirty:C})),(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(De.J9,{name:"RelaySettings",initialValues:Be,validationSchema:Fe,onSubmit:R,children:function(e){var a=e.dirty,r=e.values,s=e.setValues;return(0,I.jsx)($.Z,{unsavedChanges:a,allowedSubRoutes:["/settings"],children:(0,I.jsxs)(xe.l0,{className:"form pb-2",children:[(0,I.jsx)(ce.on,{device:t,pageTitle:(0,I.jsx)(ce.z5,{device:t}),actions:n}),(0,I.jsxs)(we,{children:[(0,I.jsx)("div",{className:"card title-card",children:o("CERTIFICATE")}),A&&(0,I.jsxs)("div",{className:"details grid form",children:[!C&&(0,I.jsx)("div",{className:"pb-2 card-title-indent",children:(0,I.jsxs)(u.cC,{i18nKey:"DEVICE_RELAY_HELPER_TEXT",children:["Relays default to a self-signed certificate.",(0,I.jsx)("br",{}),'To install a custom certificate, complete the fields below and click "Apply".']})}),(0,I.jsx)(Pe.W,{name:Me,label:je.PASSWORD}),(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsxs)("label",{className:"col-4 text-right v-top",htmlFor:Ve+"-textarea",children:[je.CERTIFICATE,":"]}),(0,I.jsxs)("div",{className:"col-5",children:[(0,I.jsx)(De.Kx,{name:Ve,className:"d-none"}),(0,I.jsx)(l.b_,{onUpload:function(e){s((0,i.Z)((0,i.Z)({},r),{},{certificate:e.content}))},readyText:o("RELAY_CERTIFICATE_UPLOAD_TEXT"),draggingText:o("DROP_FILE"),errorText:o("RELAY_CERTIFICATE_UPLOAD_ERROR"),mimeTypes:S.Aq,returnAs:"base64"})]})]})]}),!A&&(0,I.jsx)(Ge,{certQuery:{fetching:d,data:f}})]})]})})}}),(0,I.jsx)(g.i1,{nest:!0,path:"/uninstall",requirement:"update:device",render:function(){return(0,I.jsx)(Je,{deviceId:t.id,closeModal:function(){E("view")}})}})]})},Ge=function(e){var n=e.certQuery,t=(0,u.$G)().t,i=(0,r.useState)(!1),o=(0,a.Z)(i,2),s=o[0],c=o[1],d=n.data;if(n.fetching)return(0,I.jsx)(l.TF,{});var p=(d||{describeCertificate:null}).describeCertificate;if(!p||!p.expiry&&!p.subjectCN)return null;var f=p.sans?p.sans.split(",").map((function(e){return e.replace(/^\s?dns:\s?/i,"")})):[],m={firstTen:f.slice(0,9),rest:f.slice(9)},h=p.expiry?(0,Ue.CI)((0,Ue.yb)(p.expiry)):"-";return(0,I.jsxs)("div",{className:"grid",children:[(0,I.jsxs)("label",{className:"col-4 text-right",children:[t("EXPIRATION"),":"]}),(0,I.jsx)("div",{className:"col-8",children:h}),(0,I.jsxs)("label",{className:"col-4 text-right",children:[t("ISSUED_BY"),":"]}),(0,I.jsx)("div",{className:"col-8",children:p.issuerCN}),(0,I.jsxs)("label",{className:"col-4 text-right",children:[t("COMMON_NAME"),":"]}),(0,I.jsx)("div",{className:"col-8",children:p.subjectCN}),(0,I.jsx)("label",{className:"col-4 text-right v-top",children:t("SUBJECT_ALTERNATIVE_NAMES")}),(0,I.jsxs)("div",{className:"col-8",children:[!m.firstTen.length&&t("NONE"),m.firstTen.map((function(e){return(0,I.jsx)("div",{children:e},e)})),!!m.rest.length&&!s&&(0,I.jsx)("div",{children:(0,I.jsx)("span",{role:"link",className:"btn btn-link",onClick:function(){c(!0)},children:t("DEVICE_CERTIFICATE_VIEW_MORE_SANS",{count:m.rest.length})})}),!!m.rest.length&&s&&m.rest.map((function(e){return(0,I.jsx)("div",{children:e},e)}))]})]})},Je=function(e){var n=e.deviceId,t=e.closeModal,i=(0,u.$G)().t,r=(0,F.Ws)(),o=(0,p.OFE)(),s=(0,a.Z)(o,2)[1],c=(0,De.lm)(),d=(0,a.Z)(c,1)[0],f=function(){t(),r()},m=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){var t,a;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({deviceId:n});case 2:t=e.sent,null!==(a=t.data)&&void 0!==a&&a.uninstallCertificate.success&&d({id:"uninstallCertificate",message:i("DEVICE_CERTIFICATE_UNINSTALL_SUCCESS"),type:"success",dismiss:De.GP.DEFAULT,persistThroughNav:!0}),(null===a||void 0===a||!a.uninstallCertificate.success||null!==a&&void 0!==a&&a.uninstallCertificate.error)&&d({id:"uninstallCertificate",message:i("DEVICE_CERTIFICATE_UNINSTALL_ERROR"),type:"error",dismiss:De.GP.DEFAULT,persistThroughNav:!0}),f();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,I.jsx)(F.PG,{title:i("UNINSTALL_CERTIFICATE"),onSubmit:m,name:"uninstallCertificate",children:function(e){var n=e.isSubmitting;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("div",{"data-testid":"confirmation",children:i("CONFIRM_UNINSTALL_RELAY_CERTIFICATE")}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(l.Lw,{onClick:f}),(0,I.jsx)(l.Mm,{isSubmitting:n,labelKey:"UNINSTALL",submittingLabelKey:"UNINSTALLING"})]})]})}})},He={ACCOUNT:{url:"/account",title:u.ZP.t("ACCOUNT")},SERVER:{url:"/server",title:u.ZP.t("SERVER")}},We=function(){var e=(0,u.$G)().t,n=(0,r.useState)(void 0),t=(0,a.Z)(n,2),i=t[0],o=t[1];return(0,I.jsxs)("ul",{className:"menu router sub",children:[(0,I.jsx)("li",{className:"filter",children:(0,I.jsx)("input",{type:"text",id:"filter-input","data-testid":"filter-input",className:"form-control floating-input",placeholder:e("FILTER_SETTINGS"),value:null!==i&&void 0!==i?i:"",onFocus:function(){return o(void 0)},onChange:function(e){return o(e.target.value)}})}),(0,I.jsx)("li",{children:(0,I.jsx)(c.OL,{nest:!0,exact:!0,to:"/certificate",children:e("CERTIFICATE")})}),(0,I.jsxs)(l.yR,{feature:"RELAY_RPRM",children:[(0,I.jsx)("li",{children:(0,I.jsx)("label",{className:"pl-75",children:e("RPRM")})}),Object.entries(He).map((function(e){return(0,a.Z)(e,2)[1]})).filter((function(e){var n=e.title;return n.toLowerCase().includes((null!==i&&void 0!==i?i:"").toLowerCase())})).map((function(e){var n=e.title,t=e.url;return(0,I.jsx)("li",{children:(0,I.jsx)(c.OL,{className:"pl-1",persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!0,to:t,children:n})},n+"key")}))]})]})},Ye=function(e){var n=e.device;return(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(c.AW,{nest:!0,path:"/certificate",children:(0,I.jsx)(Ze,{device:n})}),(0,I.jsx)(c.AW,{nest:!0,path:"/:category",children:(0,I.jsx)(Le._X,{device:n})}),(0,I.jsx)(c.AW,{nest:!0,path:"/",children:(0,I.jsx)(c.l_,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,to:"certificate"})})]})},qe=function(e){var n=e.isLogDownloadSupported,t=e.isPcapDownloadSupported,i=e.hasRelays,r=(0,u.$G)().t,o=(0,l.v$)("EDGE_RELAY"),s=(0,a.Z)(o,1)[0];return(0,I.jsxs)("ul",{className:"menu router sub","data-testid":"diagnostics-nav",children:[(0,I.jsx)("li",{className:"pl-1",children:(0,I.jsx)(c.OL,{nest:!0,to:"/device-information",children:r("DEVICE_INFORMATION")})}),(0,I.jsxs)(g.xb,{requirement:"access:device:logs",children:[n&&(0,I.jsx)("li",{className:"active pl-1",children:(0,I.jsx)(c.OL,{nest:!0,to:"/diagnostics",children:r("DIAGNOSTICS")})}),t&&(0,I.jsx)("li",{className:"active pl-1",children:(0,I.jsx)(c.OL,{nest:!0,to:"/pcap",children:r("PCAP")})}),t&&i&&s&&(0,I.jsx)("li",{className:"active pl-1",children:(0,I.jsx)(c.OL,{nest:!0,to:"/screen-capture",children:r("SCREEN_CAPTURE")})})]})]})},Ke=t(65860),ze={__typename:"",dnsprimaryaddress:u.ZP.t("DNS_PRIMARY_ADDRESS"),dnsalternativeaddress:u.ZP.t("DNS_ALTERNATIVE_ADDRESS"),connectiontype:u.ZP.t("CONNECTION_TYPE"),ipv4subnet:u.ZP.t("IPV_4_SUBNET"),ipv4gateway:u.ZP.t("IPV_4_GATEWAY"),ipv4address:u.ZP.t("IPV_4_ADDRESS"),ipv4addresssource:u.ZP.t("IPV_4_ADDRESS_SOURCE"),ipv4vlan:u.ZP.t("IPV_4_VLAN"),provisioningprotocol:u.ZP.t("PROVISIONING_PROTOCOL"),micerrorcount:u.ZP.t("MIC_ERROR_COUNT"),ssid:u.ZP.t("SSID"),dnsdomain:u.ZP.t("DNS_DOMAIN"),wifichannel:u.ZP.t("WIFI_CHANNEL"),lldpneighbors:u.ZP.t("LLDP_NEIGHBORS"),interfacename:u.ZP.t("INTERFACE_NAME"),ntpserver:u.ZP.t("NTP_SERVER"),wifistatus:u.ZP.t("WIFI_STATUS"),eaperrorcount:u.ZP.t("EAP_ERROR_COUNT"),eaperror:u.ZP.t("EAP_ERROR"),signalstrength:u.ZP.t("SIGNAL_STRENGTH"),regulatorydomain:u.ZP.t("REGULATORY_DOMAIN"),vlan:u.ZP.t("VLAN"),connectionmode:u.ZP.t("CONNECTION_MODE"),ipv6globaladdress:u.ZP.t("IPV_6_GLOBAL_ADDRESS"),ipv6linklocaladdress:u.ZP.t("IPV_6_LINK_LOCAL_ADDRESS"),ipv6ula:u.ZP.t("IPV_6_ULA"),connectionspeed:u.ZP.t("CONNECTION_SPEED"),ipv6addresssource:u.ZP.t("IPV_6_ADDRESS_SOURCE"),pcportstatus:u.ZP.t("PC_PORT_STATUS"),lldpstatus:u.ZP.t("LLDP_STATUS"),lldplocationinformation:u.ZP.t("LLDP_LOCATION_INFORMATION"),cdpstatus:u.ZP.t("CDP_STATUS"),eapmethod:u.ZP.t("EAP_METHOD"),security:u.ZP.t("SECURITY"),status:u.ZP.t("STATUS")},Xe={maskTypename:!0},$e=function(e){var n,t,i,o,s,c,d=e.searchState,f=e.deviceId,m=(0,p.iig)({variables:{deviceId:f},context:Xe}),h=m.data,y=m.fetching,g=m.stale,T=(0,u.$G)().t,v=null!==(n=null===h||void 0===h||null===(t=h.capabilitiesQuery)||void 0===t||null===(i=t.com)||void 0===i||null===(o=i.poly)||void 0===o||null===(s=o.network_information)||void 0===s||null===(c=s.interfaces)||void 0===c?void 0:c.value)&&void 0!==n?n:[],E=!y&&!g&&v.length>0,_=(0,r.useState)(!1),S=(0,a.Z)(_,2),N=S[0],C=S[1];function A(e,n){var t=e;return(0,I.jsxs)("div",{className:"ni-field-grouping",children:[(0,I.jsx)("label",{className:"ni-field-label",children:"".concat(ze[t],":")}),(0,I.jsxs)("p",{className:"ni-field-value",children:[n," "]})]},"".concat(e,"-").concat(n))}return(0,I.jsx)(Ke.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5 ".concat(E?"":"mid-gray"),children:T("NETWORK_INFORMATION")}),dropdown:!0,expanded:!1,disabled:!E,children:(0,I.jsx)("div",{className:"network-info","data-testid":"network-info",children:(0,I.jsx)(l.aN,{loading:y,children:v.map((function(e,n){var t,i=null!==(t=e.interfacename)&&void 0!==t?t:T("NETWORK_INFO_TITLE",{number:n+1});return(0,I.jsxs)("section",{className:"ni-data",children:[(0,I.jsx)("h3",{className:"network-header mb-1",children:i}),on(d,e,"ni").filter((function(e){var n=(0,a.Z)(e,2),t=n[0];return null!==n[1]&&"__typename"!==t})).map((function(e){var n=(0,a.Z)(e,2);return A(n[0],n[1])})),(0,I.jsxs)(l.yR,{feature:"IS_POLY_USER",children:[(0,I.jsx)("div",{className:"show-null",onClick:function(){return C(!N)},"data-testid":"toggle-ni-null-items",children:T(N?"HIDE_NULL_INFORMATION":"SHOW_NULL_INFORMATION")}),N&&(0,I.jsx)("div",{"data-testid":"ni-null-items",children:on(d,e,"ni").filter((function(e){var n=(0,a.Z)(e,2),t=n[0];return null===n[1]&&"__typename"!==t})).map((function(e){var n=(0,a.Z)(e,2);return A(n[0],n[1])}))})]})]},"network-info-".concat(n+1))}))})})})},Qe={hardwaremodel:u.ZP.t("HARDWARE_MODEL"),macaddress:u.ZP.t("MAC_ADDRESS"),serialnumber:u.ZP.t("SERIAL_NUMBER"),offsetgmt:u.ZP.t("OFFSET_GMT"),productfamily:u.ZP.t("FAMILY"),hardwarerevision:u.ZP.t("HARDWARE_REVISION"),manufacturer:u.ZP.t("MANUFACTURER"),softwarebuild:u.ZP.t("SOFTWARE_BUILD"),softwarerelease:u.ZP.t("SOFTWARE_RELEASE"),uploadtime:u.ZP.t("UPLOAD_TIME"),versioninfo:u.ZP.t("VERSION_INFO"),powersource:u.ZP.t("POWER_SOURCE"),updaterversion:u.ZP.t("UPDATER_VERSION"),hardwarepn:u.ZP.t("HARDWARE_PN"),regioncode:u.ZP.t("REGION_CODE"),deviceid:u.ZP.t("DEVICE_ID"),featurevariation:u.ZP.t("FEATURE_VARIATION"),hostos:u.ZP.t("hostos"),hostosbuild:u.ZP.t("HOSTOS_BUILD"),hostosversion:u.ZP.t("HOST_VERSION"),devicesignature:u.ZP.t("DEVICE_SIGNATURE"),eventmonotonictime:u.ZP.t("EVENT_MONOTONIC_TIME"),hosthardware:u.ZP.t("HOST_HARDWARE"),productid:u.ZP.t("PRODUCT_ID"),productname:u.ZP.t("PRODUCT_NAME"),proxyagent:u.ZP.t("PROXY_AGENT"),proxyagentversion:u.ZP.t("PROXY_AGENT_VERSION"),reboottype:u.ZP.t("REBOOT_TYPE"),proxyagentid:u.ZP.t("PROXY_AGENT_ID")},en={maskTypename:!0};var nn=function(e){var n,t,o,s,c,d,m,h,y,g=e.searchState,T=e.deviceId,v=(0,p.GWc)({variables:{deviceId:T},context:en}),E=v.data,_=v.fetching,S=(0,p.rZv)({variables:{filter:{AND:(0,f._3)({id:T})}}}).data,N=null!==(n=null===S||void 0===S?void 0:S.devices[0])&&void 0!==n?n:{},C=function(e){var n={};for(var t in e){var a,i,r=null!==(a=e[t])&&void 0!==a&&a.value?null===(i=e[t])||void 0===i?void 0:i.value:null;n[t]=r}return n}(null!==(t=null===E||void 0===E||null===(o=E.capabilitiesQuery)||void 0===o||null===(s=o.com)||void 0===s||null===(c=s.poly)||void 0===c?void 0:c.primary_device_information)&&void 0!==t?t:{}),A=(0,i.Z)({deviceid:T,macaddress:null!==(d=null===N||void 0===N?void 0:N.macAddress)&&void 0!==d?d:void 0,softwarebuild:null!==(m=null===N||void 0===N?void 0:N.softwareBuild)&&void 0!==m?m:void 0,hardwaremodel:null!==(h=null===N||void 0===N?void 0:N.hardwareModel)&&void 0!==h?h:void 0,serialnumber:null!==(y=null===N||void 0===N?void 0:N.serialNumber)&&void 0!==y?y:void 0},C),R=Object.keys(C).length,O=(0,r.useState)(!1),b=(0,a.Z)(O,2),L=b[0],k=b[1],D=(0,u.$G)().t;function x(e,n){var t=e;return(0,I.jsxs)("div",{className:"pdi-field-grouping",children:[(0,I.jsx)("label",{className:"pdi-field-label",children:"".concat(Qe[t],":")}),(0,I.jsx)("p",{className:"pdi-field-value",children:n})]},"".concat(t,"-").concat(n))}return(0,I.jsx)("div",{className:"primary-device-info","data-testid":"primary-device-info",children:(0,I.jsx)(l.aN,{loading:_,children:R>0&&(0,I.jsxs)("section",{className:"pdi-data","data-testid":"pdi-section",children:[on(g,A,"pdi").filter((function(e){var n=(0,a.Z)(e,2);n[0];return null!==n[1]})).map((function(e){var n=(0,a.Z)(e,2);return x(n[0],n[1])})),(0,I.jsxs)(l.yR,{feature:"IS_POLY_USER",children:[(0,I.jsx)("div",{className:"show-null",onClick:function(){return k(!L)},"data-testid":"toggle-pdi-null-items",children:D(L?"HIDE_NULL_INFORMATION":"SHOW_NULL_INFORMATION")}),L&&(0,I.jsx)("div",{"data-testid":"pdi-null-items",children:on(g,A,"pdi").filter((function(e){var n=(0,a.Z)(e,2);n[0];return null===n[1]})).map((function(e){var n=(0,a.Z)(e,2);return x(n[0],n[1])}))})]})]})})})},tn=t(35882),an=function(e){var n,t,a,i,r,o=e.deviceId,l=(0,u.$G)().t,c=(0,p.bYR)({variables:{deviceId:o},context:s.noLogoutOnAuthErrorContext}),d=c.data,f=c.fetching,m=c.stale,h=!f&&!m&&(null!==(n=null===d||void 0===d||null===(t=d.capabilitiesQuery)||void 0===t||null===(a=t.com)||void 0===a||null===(i=a.poly)||void 0===i||null===(r=i.service_information)||void 0===r?void 0:r.length)&&void 0!==n?n:0)>0;return(0,I.jsx)(Ke.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5 ".concat(h?"":"mid-gray"),children:l("SERVICE_INFORMATION")}),dropdown:!0,disabled:!h,children:(0,I.jsx)(tn.ut,{deviceId:o})})},rn=t(37324);function on(e,n,t){return Object.entries(n).filter((function(n){var i=(0,a.Z)(n,2),r=i[0],o=i[1],l=e.toLowerCase(),s=r.toLowerCase().includes(l),u=JSON.stringify(null!==o&&void 0!==o?o:"").toLowerCase().includes(l);if("__typename"===r)return!1;var c="pdi"===t?Qe[r].toLowerCase().includes(l):"ni"===t&&ze[r].toLowerCase().includes(l);return s||u||c}))}var ln=function(e){var n=e.deviceId,t=e.systemStatus,i=(0,u.$G)().t,o=(0,r.useState)(""),s=(0,a.Z)(o,2),d=s[0],p=s[1],f=(0,l.v$)("SYSTEM_STATUS"),m=(0,a.Z)(f,1)[0],h=(0,c.Wd)("expanded"),y=(0,a.Z)(h,1)[0];return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"device-info-search","data-testid":"device-info-search",children:[(0,I.jsx)(l.si,{icon:"search",className:"white"}),(0,I.jsx)("input",{type:"text",placeholder:i("SEARCH_DEVICE_INFORMATION"),"aria-label":i("SEARCH_DEVICE_INFORMATION"),"data-testid":"search-device-info",value:d,onChange:function(e){return p(e.target.value)},maxLength:S.QZ}),!!d.length&&(0,I.jsx)(l.si,{icon:"x",onClick:function(){return p("")},className:"clear white"})]}),(0,I.jsxs)("section",{className:"pr-35 scrollable device-info-section",children:[(0,I.jsx)(Ke.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5",children:i("ADDITIONAL_DEVICE_INFORMATION")}),dropdown:!0,expanded:!1,children:(0,I.jsx)(nn,{searchState:d,deviceId:n})}),m&&(0,I.jsx)(rn.FG,{deviceId:n,searchState:d,systemStatus:t,expanded:"system-status"===y}),(0,I.jsx)($e,{searchState:d,deviceId:n}),(0,I.jsx)(an,{deviceId:n})]})]})},sn=t(68550),un=t(58141),cn=function(e){var n,t=e.deviceId,i=(0,u.$G)().t,o=(0,De.lm)(),s=(0,a.Z)(o,1)[0],c=(0,r.useState)(!1),d=(0,a.Z)(c,2),f=d[0],m=d[1],h=(0,p.BVg)(),y=(0,a.Z)(h,2)[1],g=(0,p.FzX)({variables:{deviceId:t}}).data,T=null!==(n=null===g||void 0===g?void 0:g.logToFlashStatus.requestedValue)&&void 0!==n&&n;function v(){return(v=(0,w.Z)((0,U.Z)().mark((function e(n){var a,r,o,l;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({deviceId:t,enableFlash:n});case 2:if(!((o=e.sent).error||null!==(a=o.data)&&void 0!==a&&a.toggleLogToFlash.error)){e.next=6;break}return s({id:"log-to-flash-failed",type:"error",message:i("LOG_TO_FLASH_ERROR"),dismiss:De.GP.DEFAULT}),e.abrupt("return");case 6:l=!(null===(r=o.data)||void 0===r||!r.toggleLogToFlash.requestedValue),m(l);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,r.useEffect)((function(){m(T)}),[T]);var E="col-9 offset-3 mb-0 italic opacity-50 flash-message";return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"form-group","data-testid":"flash-logs",children:[(0,I.jsx)("label",{className:"col-3 text-right",children:i("SAVE_LOGS_TO_INTERNAL")}),(0,I.jsx)("div",{className:"col-2",children:(0,I.jsx)(l.OZ,{name:"flashLogsToggle","data-testid":"flashLogsToggle",checked:f,disabled:!1,onChange:function(){return function(e){return v.apply(this,arguments)}(!f)}})})]}),(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("p",{className:E,children:i("FLASH_LOGS_MESSAGE_LINE_1")}),(0,I.jsx)("p",{className:E,children:i("FLASH_LOGS_MESSAGE_LINE_2")})]})]})},dn=t(62178),pn=t(65038),fn=-30*S.A6;var mn,hn,yn=function(e){var n=e.deviceId,t=e.connected,i=e.isLogToFlashSupported,o=(0,u.$G)().t,s=function(e,n){var t=(0,u.$G)().t,i=(0,De.lm)(),o=(0,a.Z)(i,1)[0],l=(0,p.uje)(),s=(0,a.Z)(l,2)[1],c=(0,dn.I0)(),d=(0,dn.v9)((function(n){var t;return null!==(t=n.deviceLogs[e])&&void 0!==t?t:{}})),f=d.fetching,m=d.lastUploadRequestTime,h=d.downloadLink,y=d.uploadedOn,g=(0,r.useState)(!0),T=(0,a.Z)(g,2),v=T[0],E=T[1],_=null!==n&&void 0!==n?n:5*S.A6,N=(0,p.yAJ)({variables:{deviceId:e},pause:!f,requestPolicy:"network-only",pollInterval:f?_:void 0}),I=N.data,C=N.executor;(0,r.useEffect)((function(){f||C({requestPolicy:"network-only"})}),[f,C]);var A=(null===I||void 0===I?void 0:I.accessLogUrl.url)||h||"",R=(null===I||void 0===I?void 0:I.accessLogUrl.uploadedOn)||y||"",O=(0,sn.Z)(new Date(R),new Date(m));function b(){return(b=(0,w.Z)((0,U.Z)().mark((function n(){return(0,U.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return E(!1),n.next=3,s({deviceId:e});case 3:c((0,pn.SK)({deviceId:e}));case 4:case"end":return n.stop()}}),n)})))).apply(this,arguments)}return(0,r.useEffect)((function(){c((0,pn.So)({deviceId:e,downloadLink:A,uploadedOn:R}))}),[e,A,R,c]),m&&f&&(O>=fn?(o({id:"device-logs-fetch",type:"success",message:t("LOGS_SUCCESS_MESSAGE"),dismiss:De.GP.DEFAULT}),c((0,pn.ux)({deviceId:e}))):I&&v&&(E(!1),o({id:"device-logs-fetch",type:"info",message:t("FETCH_LOGS_WARNING"),dismiss:De.GP.DEFAULT}))),{fetchLogs:function(){return b.apply(this,arguments)},cancelFetchLogs:function(){c((0,pn.ux)({deviceId:e}))},uploadedOnString:R,downloadUrl:A,fetching:f}}(n),c=s.uploadedOnString,d=s.downloadUrl,f=s.fetchLogs,m=s.cancelFetchLogs,h=s.fetching,y=!!d,g="device_logs.log";if(y){var T=d.split("?")[0].split("/");g=T[T.length-1]}return(0,I.jsxs)("div",{className:"diagnostics settings scrollable form grid",children:[(0,I.jsx)("div",{className:"card title",children:(0,I.jsx)("span",{className:"title pl-1",children:o("RETRIEVE_LOGS")})}),y&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:o("DOWNLOAD_LOGS")}),(0,I.jsx)("div",{className:"col-5 link-group pb-5",children:(0,I.jsxs)("a",{href:d,className:"font-sm download-link",download:!0,children:[g,(0,I.jsx)(l.si,{icon:"download",className:"download_arrow pl-5 icon-in-link"})]})})]}),(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:o("LOGS_UPLOADED_ON")}),(0,I.jsx)("div",{className:"col-5 pb-5",children:"".concat((0,un.Z)(new Date(c),S.zT.WITH_TIME_LONG))})]})]}),(0,I.jsxs)("div",{className:"form-group mb-3",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:o("GET_LATEST_LOGS")}),(0,I.jsxs)("div",{className:"col-9",children:[(0,I.jsx)(l.Mm,{isSubmitting:h,disabled:!t,labelKey:"FETCH_LOGS",submittingLabelKey:"FETCHING",onClick:function(){f()}}),h&&(0,I.jsx)("button",{className:"btn btn-secondary",onClick:function(){return m()},children:o("CANCEL")}),!t&&(0,I.jsx)("div",{className:"error-message has-error",children:o("FETCH_LOGS_OFFLINE_TEXT")})]})]}),h&&(0,I.jsx)("div",{className:"waiting-text opacity-50 italic mb-2","data-testid":"fetching-logs",children:(0,I.jsxs)(u.cC,{i18nKey:"FETCH_LOGS_WAITING",children:[(0,I.jsx)("p",{children:"Fetching the logs from the device. The download link will be updated when the logs are uploaded."}),'This might take a while, you can leave this page and come back later if you wish.",']})}),(0,I.jsx)(l.yR,{feature:"POLYOS_LOGGING_TO_FLASH",children:i&&t&&(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(Ke.x4,{collapsedContent:(0,I.jsx)("div",{className:"category-title pl-5",children:o("CONFIGURE_LOGS")}),expanded:!0,dropdown:!0,children:(0,I.jsx)(cn,{deviceId:n})})})})]})},gn=t(10278);!function(e){e[e.Idle=0]="Idle",e[e.Uploading=1]="Uploading",e[e.Stopping=2]="Stopping"}(mn||(mn={})),function(e){e[e.Enabled=0]="Enabled",e[e.Disabled=1]="Disabled",e[e.Enabling=2]="Enabling",e[e.Disabling=3]="Disabling",e[e.Failed=4]="Failed",e[e.Loading=5]="Loading"}(hn||(hn={}));var Tn={uploadState:mn.Idle,enabledState:hn.Failed,downloadLink:"",uploadedOn:"",lastUploadRequestTime:"",uploadTimeout:0,uploadFailed:!1},vn={updateUploadState:(0,gn.createStandardAction)("UpdateUploadState")(),updateEnabledState:(0,gn.createStandardAction)("UpdateEnabledState")(),updateLinkAndTime:(0,gn.createStandardAction)("UpdateLinkAndTime")(),updateWaitingAndRequest:(0,gn.createStandardAction)("UpdateWaitingAndRequest")(),updateUploadFailed:(0,gn.createStandardAction)("UpdateUploadFailed")()};function En(e,n){switch(n.type){case(0,gn.getType)(vn.updateUploadState):return(0,i.Z)((0,i.Z)({},e),{},{uploadState:n.payload,uploadTimeout:0});case(0,gn.getType)(vn.updateEnabledState):return(0,i.Z)((0,i.Z)({},e),{},{enabledState:n.payload});case(0,gn.getType)(vn.updateLinkAndTime):return(0,i.Z)((0,i.Z)({},e),n.payload);case(0,gn.getType)(vn.updateWaitingAndRequest):return(0,i.Z)((0,i.Z)((0,i.Z)({},e),n.payload),{},{downloadLink:"",uploadedOn:""});case(0,gn.getType)(vn.updateUploadFailed):return(0,i.Z)((0,i.Z)({},e),{},{uploadFailed:n.payload,uploadTimeout:0})}}var _n=t(22209),Sn=t(41059);var Nn=t(81034),In=t(58512),Cn=["__typename"],An=["__typename"];function Rn(e,n,t,o,l,s,c){var d=(0,u.$G)().t,f=(0,De.lm)(),m=(0,a.Z)(f,1)[0],h=(0,p.kxl)(),y=(0,a.Z)(h,2)[1],g=(0,p.Pxq)(),T=(0,a.Z)(g,2)[1],v=(0,p.re3)(),E=(0,a.Z)(v,2)[1],_=(0,In.D3)().user,N=(0,_n.bQ)(En,Tn,vn),I=(0,a.Z)(N,2),C=I[0].enabledState,A=I[1],R=c||5*S.A6,O=(0,p.skg)({variables:{deviceId:e,tenantId:n,deviceModel:t,siteId:o,sendOnlyChanged:!1},pause:!l,requestPolicy:"network-only",pollInterval:R}),b=O.data,L=O.error,k=O.fetching,D=(0,r.useRef)(0),x=function(e,n,t,a){var i,r,o,l,s=null===e||void 0===e||null===(i=e.getDeviceParametersExtended)||void 0===i?void 0:i.filter((function(e){return"diags.pcap.enabled"===(null===e||void 0===e?void 0:e.name)})),u=1===(null===s||void 0===s?void 0:s.length)?s[0]:null,c="1"===(null!==(r=null===u||void 0===u||null===(o=u.policyAttribute)||void 0===o?void 0:o.currentValue)&&void 0!==r?r:"0"),d=a&&!e,p=null==s||null!=u&&null!=u.policyAttribute&&null==(null===(l=u.policyAttribute)||void 0===l?void 0:l.currentValue),f=t===hn.Disabled||t===hn.Enabling;return hn.Disabled,{enabledState:d?hn.Loading:p?hn.Failed:n>0?f?hn.Enabling:hn.Disabling:c?hn.Enabled:hn.Disabled}}(b,D.current,C,k),P=x.enabledState;(0,r.useEffect)((function(){l&&(L||b&&P===hn.Failed)&&m({id:"device-pcap-enabled",type:"error",message:d("PCAP_ENABLED_ERROR"),dismiss:De.GP.DEFAULT})})),(0,r.useEffect)((function(){P!==C&&A.updateEnabledState(P)}));var M=function(e){var n,t=null===e||void 0===e||null===(n=e.getPolicies)||void 0===n?void 0:n.filter((function(e){return"DEVICE_SETTINGS_UPDATE"===(null===e||void 0===e?void 0:e.policyType)&&"DEVICE"===(null===e||void 0===e?void 0:e.policyDeploymentScope)}));return 1===(null===t||void 0===t?void 0:t.length)?t[0]:null}((0,p.e$C)({variables:{scope:p.KZ$.Device,tenantId:n,deviceId:e,deviceModel:t,siteId:o},pause:!l,requestPolicy:"network-only",pollInterval:R}).data),V=function(){var a=(0,w.Z)((0,U.Z)().mark((function a(r){var o,l,u,c,f,h,g,v,S,N,I,R,O,b,L;return(0,U.Z)().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(l=C===hn.Disabled,u=l?"1":"0",D.current=window.setTimeout((function(){return D.current=0,A.updateEnabledState(l?hn.Enabled:hn.Disabled),function(){clearTimeout(D.current)}}),s),!M){a.next=15;break}if(M.__typename,c=(0,Nn.Z)(M,Cn),(f=(0,i.Z)({},c)).modifiedBy=null===_||void 0===_?void 0:_.email,f.isExecuteImmediately=!0,h=M.configurationAttributes){for(g=[],v=!1,S=0;S0&&A&&(I.updateUploadState(mn.Idle),l({id:"device-pcap-fetch",type:"success",message:i("PCAP_SUCCESS_MESSAGE"),dismiss:De.GP.DEFAULT}),clearTimeout(M.current))}),[v,P,A,I,l,i]),(0,r.useEffect)((function(){var e=n;return x&&(e=(0,sn.Z)(new Date(D),new Date(Date.now()))),A?(M.current=window.setTimeout((function(){I.updateUploadState(mn.Idle),I.updateUploadFailed(!0)}),+e+ +_),function(){clearTimeout(M.current)}):function(){}}),[A,_,n,I,x,D]),(0,r.useEffect)((function(){N&&(I.updateUploadFailed(!1),l({id:"device-pcap-fetch",type:"error",message:i("PCAP_ERROR"),dismiss:De.GP.DEFAULT}))}),[N,I]);var V=function(){var n=(0,w.Z)((0,U.Z)().mark((function n(t){var a;return(0,U.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(A){n.next=11;break}return a=t,n.next=6,c({filter:"ether host {PHONE_MAC_ADDRESS}",interval:a,timeout:t,size:5e3,deviceId:e});case 6:n.sent.error||I.updateWaitingAndRequest({uploadState:mn.Uploading,lastUploadRequestTime:(new Date).toISOString(),uploadTimeout:1e3*t}),n.next=14;break;case 11:return n.next=13,f({deviceId:e});case 13:I.updateUploadState(mn.Stopping);case 14:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return null!==O&&void 0!==O&&O.accessPCAPUrl.uploadedOn&&(k=(0,un.Z)(new Date(O.accessPCAPUrl.uploadedOn),S.zT.WITH_TIME_LONG)),{handleRequestUploadToggle:V,downloadUrl:L,uploadState:g,actions:I,stopTime:D}}(n,3e4),c=s.handleRequestUploadToggle,d=s.downloadUrl,f=s.uploadState,m=s.stopTime,h=Rn(n,t,i,o,l,1e5,3e4),y=h.handleEnabledChangeRequested,g=h.enabledState,T=(0,O.zf)((0,O.Vd)("upload:device:logs")),v=g===hn.Failed||!l||!T;return(0,I.jsx)(On,{connected:l,handleRequestUploadToggle:c,downloadUrl:d,uploadState:f,handleEnabledChangeRequested:y,enabledState:g,hosed:v,stopTime:m})})),Ln=t(80132),kn="NO_AVAILABLE_SCREENS",Dn="polylens",xn=function(e){var n=e.deviceId,t=e.connected,i=(e.tenantId,(0,u.$G)().t),o=(0,De.lm)(),s=(0,a.Z)(o,1)[0],c=(0,r.useState)(""),d=(0,a.Z)(c,2),f=d[0],m=d[1],h=(0,r.useState)(!1),y=(0,a.Z)(h,2),g=y[0],T=y[1],v=(0,p.pRd)(),E=(0,a.Z)(v,2),_=E[0],S=_.data,N=_.fetching,C=E[1];return(0,r.useEffect)((function(){var e=function(e){var n="".concat(f).concat(e.key).toLowerCase().slice(-Dn.length);m(n),n===Dn&&T(!0)};return document.addEventListener("keydown",e,!1),function(){document.removeEventListener("keydown",e,!1)}}),[f,g]),(0,r.useEffect)((function(){var e;!1===(null===S||void 0===S||null===(e=S.requestUploadDeviceScreen)||void 0===e?void 0:e.success)&&s({type:"error",dismiss:De.GP.DEFAULT,message:i("SCREEN_CAPTURE_FETCH_ERROR"),id:"SCREEN_CAP_MUTATION_ERROR"})}),[null===S||void 0===S?void 0:S.requestUploadDeviceScreen]),(0,I.jsxs)("div",{className:"diagnostics settings scrollable form grid",children:[(0,I.jsx)("div",{className:"card section-title",children:(0,I.jsx)("span",{className:"title pl-1",children:i("RETRIEVE_SCREEN_CAPTURE")})}),(0,I.jsxs)("div",{className:"form-group mb-3",children:[(0,I.jsx)("label",{className:"col-3 text-right"}),(0,I.jsxs)("div",{className:"col-9",children:[(0,I.jsx)(l.Mm,{isSubmitting:N,disabled:!t&&!g,labelKey:"FETCH_SCREEN_CAPTURE",submittingLabelKey:"FETCHING",onClick:function(){C({deviceId:n})}}),!t&&(0,I.jsx)("div",{className:"col-5 error-message has-error",children:i("SCREEN_CAPTURE_OFFLINE_TEXT")})]})]}),!N&&(0,I.jsx)(Pn,{deviceId:n}),N&&(0,I.jsx)("div",{className:"form-group",children:(0,I.jsx)("div",{className:"col-9",children:(0,I.jsxs)(u.cC,{className:"col-9 italic",i18nKey:"FETCH_SCREEN_CAPTURE_WAITING",children:[(0,I.jsxs)("div",{children:["Attempting to fetch a screen capture from the device.",(0,I.jsx)("strong",{className:"ml-5",children:"This might take a while."})]}),"The download link will be updated when the screen capture is available."]})})})]})},Pn=function(e){var n,t,i,o,s=e.deviceId,c=e.pollInterval,d=void 0===c?S.A6:c,f=(0,u.$G)().t,m=(0,De.lm)(),h=(0,a.Z)(m,1)[0],y=(0,r.useState)(!0),g=(0,a.Z)(y,2),T=g[0],v=g[1],E=(0,p.gVu)({variables:{deviceId:s},pause:T,pollInterval:d,requestPolicy:"network-only"}).data,_=[kn];if((0,r.useEffect)((function(){v(!1);var e=setTimeout((function(){var e,n;null!==E&&void 0!==E&&null!==(e=E.accessScreenUrl)&&void 0!==e&&e.success||T||(h({type:"error",dismiss:De.GP.DEFAULT,message:null!==E&&void 0!==E&&null!==(n=E.accessScreenUrl)&&void 0!==n&&n.error?null===E||void 0===E?void 0:E.accessScreenUrl.error:f("SCREEN_CAPTURE_URL_ERROR"),id:"SCREEN_CAP_URL_ERROR"}),v(!0))}),8*S.A6);return function(){return clearTimeout(e)}}),[]),(0,r.useEffect)((function(){var e,n,t;if(null!==E&&void 0!==E&&null!==(e=E.accessScreenUrl)&&void 0!==e&&e.success&&v(!0),"UPLOAD_IN_PROGRESS"!==(null===E||void 0===E||null===(n=E.accessScreenUrl)||void 0===n?void 0:n.error)&&null!==E&&void 0!==E&&null!==(t=E.accessScreenUrl)&&void 0!==t&&t.error){var a,i;if(!_.includes(null===E||void 0===E||null===(a=E.accessScreenUrl)||void 0===a?void 0:a.error))h({type:"error",dismiss:De.GP.DEFAULT,message:null!==E&&void 0!==E&&null!==(i=E.accessScreenUrl)&&void 0!==i&&i.error?null===E||void 0===E?void 0:E.accessScreenUrl.error:f("SCREEN_CAPTURE_URL_ERROR"),id:"SCREEN_CAP_URL_ERROR"});v(!0)}}),[null===E||void 0===E||null===(n=E.accessScreenUrl)||void 0===n?void 0:n.error,null===E||void 0===E||null===(t=E.accessScreenUrl)||void 0===t?void 0:t.success]),kn===(null===E||void 0===E||null===(i=E.accessScreenUrl)||void 0===i?void 0:i.error))return null;if(!T)return(0,I.jsx)(Un,{downloadLink:(0,I.jsx)(l.si,{icon:"refresh",className:"spin loading"}),uploadedOnDate:(0,I.jsx)(l.si,{icon:"refresh",className:"spin loading"})});if(null===E||void 0===E||null===(o=E.accessScreenUrl)||void 0===o||!o.success)return(0,I.jsx)(Un,{downloadLink:(0,I.jsx)("div",{className:"error-message on",children:f("SCREEN_CAPTURE_URL_ERROR")}),uploadedOnDate:null});var N=E.accessScreenUrl.url||"",C=E.accessScreenUrl.uploadedOn,A=C?(0,un.Z)((0,Ln.Z)(C),S.zT.WITH_TIME_LONG):(0,un.Z)(new Date,S.zT.WITH_TIME_LONG),R="";if(N){var O=N.split("?")[0].split("/");R=O[O.length-1]}return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:f("LATEST_SCREEN_CAPTURE")}),(0,I.jsx)("div",{className:"col-9 image-container",children:(0,I.jsx)("img",{src:N,alt:f("SCREEN_CAPTURE")})})]}),(0,I.jsx)(Un,{downloadLink:(0,I.jsxs)("a",{href:N,className:"font-sm download-link",download:!0,children:[R,(0,I.jsx)(l.si,{icon:"download",className:"pl-5 icon-in-link"})]}),uploadedOnDate:A})]})},Un=function(e){var n=e.downloadLink,t=e.uploadedOnDate,a=(0,u.$G)().t;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:a("DOWNLOAD")}),(0,I.jsx)("div",{className:"col-5 link-group pb-5",children:n})]}),(0,I.jsxs)("div",{className:"form-group",children:[(0,I.jsx)("label",{className:"col-3 opacity-50 text-right",children:a("SCREEN_CAPTURED_AT")}),(0,I.jsx)("div",{className:"col-5 pb-5",children:t})]})]})},wn=function(e){var n=e.deviceId,t=e.tenantId,a=e.deviceModel,i=e.siteId,r=e.connected,o=e.isLogDownloadSupported,s=e.isPcapDownloadSupported,u=e.isLogToFlashSupported,d=e.hasRelays,p=e.systemStatus;return(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(g.i1,{nest:!0,path:"/diagnostics",requirement:"set:device:config",children:o&&(0,I.jsx)(yn,{deviceId:n,connected:r,isLogToFlashSupported:u})}),(0,I.jsx)(c.AW,{nest:!0,path:"/device-information",children:(0,I.jsx)(ln,{deviceId:n,systemStatus:p})}),(0,I.jsx)(g.i1,{nest:!0,path:"/pcap",requirement:"access:device:logs",children:s&&(0,I.jsx)(bn,{deviceId:n,tenantId:t,deviceModel:a,siteId:i,connected:r})}),(0,I.jsx)(g.i1,{nest:!0,path:"/screen-capture",requirement:"access:device:logs",children:s&&d&&(0,I.jsx)(l.yR,{feature:"EDGE_RELAY",children:(0,I.jsx)(xn,{deviceId:n,tenantId:t,connected:r})})}),(0,I.jsx)(c.AW,{nest:!0,path:"/",children:(0,I.jsx)(c.l_,{nest:!0,to:"device-information"})})]})},Mn=t(63705),Vn=t(97488),jn=t(90561),Fn=t(49654),Bn=t(89810),Zn=t(12330),Gn=t(37966),Jn=function(e){var n=e.deviceId,t=e.refresh,i=(0,p.MlD)(),r=(0,a.Z)(i,2)[1],s=(0,o.lm)(),c=(0,a.Z)(s,1)[0],d=(0,F.Ws)(),f=(0,u.$G)().t,m=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){var a,i;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({input:(0,oe.set)({},"com.poly.general.restore_defaults","true"),deviceId:n},{notify:{i18nKey:"ERROR_SAVING_DEVICE_SETTINGS"}});case 2:a=e.sent,null!==(i=a.data)&&void 0!==i&&i.capabilitiesMutate?c({type:"success",message:f("DEVICE_SETTINGS_UPDATED"),dismiss:o.GP.DEFAULT,persistThroughNav:!0}):c({type:"error",message:f("ERROR_SAVING_DEVICE_SETTINGS"),dismiss:o.GP.DEFAULT}),t();case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,I.jsx)(F.PG,{title:f("RESTORE_DEFAULTS"),name:"restoreDefaultSettings",onSubmit:m,children:function(e){var n=e.isSubmitting;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("span",{children:f("RESTORE_DEFAULTS_DESC")}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(l.Lw,{onClick:d,disabled:n}),(0,I.jsx)(l.Mm,{isSubmitting:n,labelKey:"OK",submittingLabelKey:"SAVING"})]})]})}})},Hn=t(5268),Wn=t(44801),Yn=t(54729),qn=t(84578),Kn=t(71988),zn=["disableDependency"],Xn=(0,O.Vd)("update:device"),$n=function(e){var n=e.accessor,t=e.options,o=e.label,l=e.tooltipText,s=e.type,u=e.index,c=(0,O.zf)(Xn),d=(0,dn.I0)(),p=(0,Gn.CR)(n,t,s),f=p.disableDependency,m=(0,Nn.Z)(p,zn),h=(0,dn.v9)((function(e){return e.desktopDeviceSettingInheritance[(0,Yn.TW)(n)]})),y=(0,dn.v9)((function(e){return e.desktopDeviceSettings[n]})),g=(0,Zn.$)().t,T=!c||f,v=(0,Yn.Yl)(n,o),E=(0,V.U$)(v.name),_=(0,a.Z)(E,2)[1],S=_.initialValue,N=_.value;return(0,r.useEffect)((function(){y!==Fn.Nk.REVERTED&&d((0,Fn.Nd)({accessor:n,change:N!==S?Fn.Nk.EDITED:""}))}),[N,S,d,v.name,n,y]),(0,I.jsxs)(I.Fragment,{children:[0===u&&(0,I.jsx)("div",{className:"legend grid",children:(0,I.jsx)("div",{className:"col-4 offset-8",children:g("POLICY_INHERITANCE")})}),(0,I.jsx)(Wn.C,(0,i.Z)({accessor:n,type:s,changed:y,settings:v,disabled:T,tooltipText:l,inheritance:h},m),n)]})},Qn=function e(n,t){return le().isArray(n)||le().isArray(t)?n||t:le().transform(n,(function(n,a,r){var o=t[r],l=le().isPlainObject(a),s=le().isPlainObject(o);if(null!==a&&void 0!==a||(n[r]=o),l&&s){var u=(0,i.Z)((0,i.Z)({},o),a);n[r]=e(u,o)}return n}),(0,i.Z)((0,i.Z)({},t),n))},et=function(e,n){return Qn(e,n)},nt=function(e){var n=e.deviceSettings,t=e.onUpdate,i=e.deviceGroupPolicy,s=(e.refreshData,e.validationSchema),u=dt(),f=u.path,m=u.params,h=m.deviceId,y=m.id,T=(0,Kn.d2)(),v=(0,a.Z)(T,2),E=v[0],_=v[1];(0,r.useEffect)((function(){_((0,Kn.uC)(Kn.T3.Device))}),[_]);var S=(0,Zn.$)().t,N=(0,o.lm)(),C=(0,a.Z)(N,1)[0],A=(0,p.Zmv)(),R=(0,a.Z)(A,2)[1],O=(0,p.zfK)(),L=(0,a.Z)(O,2)[1],k=(0,p.EsB)(),D=(0,a.Z)(k,2)[1],x=(0,b.Aj)(),P=ct(h,x).device,M=(0,r.useState)(!1),j=(0,a.Z)(M,2),F=j[0],B=j[1],Z=(0,c.k6)(),G=(0,r.useRef)(),J=(0,dn.v9)((function(e){return e.desktopDeviceSettings})),H=s.default(),W=n?et(n,H):H,Y=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(n){var r,l,s,u,c,d,f,m,y,g,T,v,_,N;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],l=[],Object.entries(J).forEach((function(e){var t=(0,a.Z)(e,2),i=t[0];if(t[1]===Fn.Nk.REVERTED)l.push((0,Yn.TW)(i,!1));else{var o=(0,Yn.H)(n,(0,Yn.TW)(i).split("."));r.push({id:(0,Yn.TW)(i,!1),value:o})}})),s=(0,Yn.gO)(r),u=(0,qn.Y0)(E.desktopDevicePolicyScope,{device:h},void 0),c=(0,qn.xD)(E.desktopDevicePolicyScope),null===i||void 0===i||!i.id){e.next=14;break}return e.next=9,R({input:{id:null===i||void 0===i?void 0:i.id,capabilities:s,pathsToRemove:l}});case 9:f=e.sent,m=f.error,d=m,e.next=20;break;case 14:return g={name:(0,Kn.Qe)((null===P||void 0===P?void 0:P.hardwareModel)||"",p.MiJ.DeviceSettingsUpdate,E.desktopDevicePolicyScope,void 0,void 0,void 0,h),priority:c,rule:{and:[{equal:{key:"tenantId",value:x}},{equal:{key:"modelId",value:null===P||void 0===P||null===(y=P.model)||void 0===y?void 0:y.id}}].concat((0,Bn.Z)(u))},capabilities:s,pathsToRemove:l},e.next=17,D({input:g});case 17:T=e.sent,v=T.error,d=v;case 20:if(d){e.next=29;break}if(!h){e.next=24;break}return e.next=24,L({deviceId:h,productId:null===P||void 0===P||null===(_=P.product)||void 0===_?void 0:_.id});case 24:C({id:"save-policy-success",type:"success",message:S("DEVICE_SETTINGS_UPDATED"),dismiss:o.GP.DEFAULT}),N=le().cloneDeep(n),t(N),e.next=30;break;case 29:C({type:"error",message:S("ERROR_SAVING_DEVICE_SETTINGS"),dismiss:o.GP.DEFAULT});case 30:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),q=d.A.Content;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(V.J9,{name:"DeviceSettings",innerRef:G,initialValues:W,validationSchema:s,enableReinitialize:!0,validate:function(e){return function(e){return null===e?"Null values?":{}}(e)},onSubmit:Y,children:function(e){var n=e.dirty;return(0,I.jsx)($.Z,{unsavedChanges:n,allowedSubRoutes:["/settings"],children:(0,I.jsxs)(V.l0,{className:"form pb-2",children:[(0,I.jsxs)(ce.gY,{device:P,pageTitle:(0,I.jsx)(ce.z5,{device:P}),hasActionButtons:!0,children:[(0,I.jsx)("div",{className:"sub-header-information",children:(0,I.jsx)(l.id,{id:h,updating:F,setUpdating:B})}),(0,I.jsx)(Q.Xr,{})]}),(0,I.jsx)(q.ScrollingList,{children:(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"language"}),render:function(){return(0,I.jsx)(Hn.$b,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"general"}),render:function(){return(0,I.jsx)(Hn.q$,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"ringtones-volume"}),render:function(){return(0,I.jsx)(Hn.h_,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"audio"}),render:function(){return(0,I.jsx)(Hn.ow,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"sensors-presence"}),render:function(){return(0,I.jsx)(Hn.Eh,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"softphones-media-players"}),render:function(){return(0,I.jsx)(Hn.Qq,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"wireless"}),render:function(){return(0,I.jsx)(Hn.Jp,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"advanced"}),render:function(){return(0,I.jsx)(Hn.de,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"video-controls"}),render:function(){return(0,I.jsx)(Hn.N2,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"diagnostics"}),render:function(){return(0,I.jsx)(Hn.UR,{CategorySetting:$n})}}),(0,I.jsx)(c.AW,{path:(0,c.Gn)(f,{id:y,deviceId:h,category:"reset-device"}),component:Hn.NZ}),(0,I.jsx)(c.AW,{component:Hn.q$})]})})]})})}}),(0,I.jsx)(g.i1,{nest:!0,path:"/confirm",requirement:"update:device",children:(0,I.jsx)(Jn,{deviceId:h,refresh:function(){G.current.resetForm(),Z.goBack()}})})]})},tt=t(95736),at=t(24514),it=function(e){var n,t,i,o,s,d,f,m=e.device,h=(0,u.$G)().t,y=(0,r.useState)(null),g=(0,a.Z)(y,2),T=g[0],v=g[1],E=(0,dn.I0)(),_=(0,r.useRef)(!1),S=(0,r.useRef)(null),N=(0,De.lm)(),C=(0,a.Z)(N,1)[0];(0,r.useEffect)((function(){return function(){E((0,Fn.J2)())}}),[E]);var A=(0,p.VhL)({variables:{deviceId:m.id}}),R=A.data,O=A.fetching,b=["video","wireless","general","call_control","audio","com","poly"],L={},k="{value, constraints{options}}",D=function e(n,t,a){var i=n[0];1===n.length?t[i]=a:b.includes(i)&&(t[i]||(t[i]={}),e(n.slice(1),t[i],a))},x=((null===R||void 0===R?void 0:R.capabilities)||[]).find((function(e){var n=new Set;return e.id.split(".").find((function(e){return b.includes(e)&&n.add(e),n.size>2}))})),P=(null===R||void 0===R?void 0:R.capabilities)&&R.capabilities.length<2,U=!P&&!!x;U&&(null===R||void 0===R||R.capabilities.forEach((function(e){D(e.id.split("."),L,k)})));var w=JSON.stringify(L),M=0===Object.keys(L).length?"{com{poly{audio{bass".concat(k,"}}}}"):w.replace(/['":]+/g,""),V='\n query capabilitiesQuery {\n capabilitiesQuery(deviceId: "'.concat(m.id,'")\n ').concat(M,"\n }"),j=(0,Mn.aM)({query:V,pause:O,requestPolicy:"network-only"}),F=(0,a.Z)(j,1)[0].data,B=(0,Gn.fy)(P,null===R||void 0===R?void 0:R.capabilities,{id:m.id,productId:null!==(n=null===(t=m.product)||void 0===t?void 0:t.id)&&void 0!==n?n:"",name:m.name}),Z=B.devicePolicy,G=B.executeQuery,J=((null===Z||void 0===Z?void 0:Z.devicePolicyCapabilities.sources)||[]).find((function(e){return"device"===e.type})),H=null===F||void 0===F||null===(i=F.capabilitiesQuery)||void 0===i||null===(o=i.com)||void 0===o?void 0:o.poly,W=(0,tt.pX)((0,ue.EL)(H)),Y=(0,Gn.Y$)((0,Vn.tH)(null===F||void 0===F?void 0:F.capabilitiesQuery));(0,r.useEffect)((function(){S.current||(S.current=Y,v(S.current))}),[Y]);var q=(0,r.useMemo)((function(){return(0,qn.k_)(T)}),[T]);if((0,r.useEffect)((function(){q.forEach((function(e){E((0,jn.GZ)(Q.jY[e]))}))}),[q,E]),(0,r.useEffect)((function(){R&&!U&&(_.current&&C({type:"info",message:h("DEVICE_SETTINGS_UNAVAILABLE"),dismiss:De.GP.DEFAULT,persistThroughNav:!0}),_.current=!0)}),[R,m,U]),_.current)return(0,I.jsx)(c.l_,{to:"/manage/inventory/details/".concat(m.id)});if(q.length<1)return(0,I.jsx)(l.TF,{});var K=(null===(s=Q.jY[q[0]])||void 0===s?void 0:s.url.replace(/^\//,""))||"general";return(0,I.jsxs)(Kn.Dl,{children:[(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(c.AW,{nest:!0,path:"/:category",children:(0,I.jsx)(nt,{deviceSettings:T,onUpdate:function(e){v(e)},deviceGroupPolicy:J,refreshData:G,validationSchema:W})}),(0,I.jsx)(c.AW,{nest:!0,path:"/",children:(0,I.jsx)(c.l_,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,to:K})})]}),(0,I.jsx)(at.X,{settings:null===Z||void 0===Z?void 0:Z.devicePolicyCapabilities.capabilities,sources:null===Z||void 0===Z?void 0:Z.devicePolicyCapabilities.sources,device:{id:m.id,name:m.name,productId:(null===(d=m.product)||void 0===d?void 0:d.id)||""},hardwareModel:{id:(null===(f=m.model)||void 0===f?void 0:f.id)||"",name:m.hardwareModel||""}})]})},rt=t(57049),ot=function(e){var n=e.device,t=S.lL[p.WDG.Device],a="Trio Visual+"===n.hardwareModel?t.filter((function(e){return e!==S.Xg.DEVICE_HEALTH})):t;return(0,I.jsxs)("div",{className:"device-analysis",children:[(0,I.jsx)(ce.gY,{device:n,pageTitle:(0,I.jsx)(ce.z5,{device:n})}),(0,I.jsx)(rt.k,{id:n.id,category:p.WDG.Device,locationScope:p.dwg.Device,topicGroupList:a})]})},lt=t(89497),st=function(e){var n=e.device,t=e.onRestart,i=(0,u.$G)().t,s=(0,o.lm)(),c=(0,a.Z)(s,1)[0],d=(0,F.Ws)(),f=(0,p.nPd)(),h=(0,a.Z)(f,2)[1],y=function(e){var n,t=null!==(n=(0,v.u)(null===e||void 0===e?void 0:e.entityConnections))&&void 0!==n?n:[];return[{name:null===e||void 0===e?void 0:e.name,serial:null===e||void 0===e?void 0:e.serialNumber,macAddress:null===e||void 0===e?void 0:e.macAddress,linked:!0,connected:!0}].concat((0,Bn.Z)(t.map((function(e){return{name:e.targetEntity.name,serial:e.targetEntity.serialNumber,macAddress:e.targetEntity.macAddress,linked:e.connected,connected:e.targetEntity.connected}}))))}(n),g=function(){var e=(0,w.Z)((0,U.Z)().mark((function e(){var a,r,l,s;return(0,U.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h({id:null!==(a=null===n||void 0===n?void 0:n.id)&&void 0!==a?a:"",includeLinkedDevices:!0});case 2:r=e.sent,l=r.data,null!==(s=null===l||void 0===l?void 0:l.rebootDevice)&&void 0!==s&&s.success?(c({type:"success",message:i("SUCCESSFULLY_RESTARTED_DEVICES"),dismiss:o.GP.DEFAULT,persistThroughNav:!0}),t(),d()):(c({type:"error",message:i("ERROR_RESTART_DEVICES"),persistThroughNav:!0,dismiss:o.GP.USER_ONLY}),d());case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T="col-6 pl-0",E="".concat(T," font-sm font-bold");return(0,I.jsx)(F.PG,{title:i("RESTART_ALL_DEVICES",{count:y.length}),onSubmit:g,name:"RestartAllDevices",children:function(e){var n=e.isSubmitting;return(0,I.jsxs)("div",{className:"pt-1",children:[(0,I.jsx)("p",{children:i("RESTART_ALL_DEVICES_CONFIRMATION")}),(0,I.jsxs)("div",{className:"grid",children:[(0,I.jsx)("span",{className:E,children:i("DEVICE")}),(0,I.jsx)("span",{className:E,children:i("SERIAL_NUMBER")}),y.map((function(e){return(0,I.jsxs)(r.Fragment,{children:[(0,I.jsxs)("span",{className:"".concat(T," d-flex"),children:[(0,I.jsx)("span",{children:(0,I.jsx)(l.si,{title:"",icon:e.connected?"connected":"circle_disconnected_filled",className:"icon-xxs"})}),(0,I.jsx)(l.si,{title:"",icon:e.linked?"linked_yes":"linked_no",className:"ml-5 mr-5 linked-icon ".concat(e.linked?"":"disconnected-link")}),(0,I.jsx)("span",{children:(0,m.wv)(e.name)})]}),(0,I.jsx)("span",{className:T,children:(0,m.wv)(e.serial)})]},e.serial)}))]}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(l.Lw,{onClick:d}),(0,I.jsx)(l.Mm,{isSubmitting:n,labelKeyData:{count:y.length},labelKey:"RESTART_ALL_DEVICES",submittingLabelKey:"RESTARTING"})]})]})}})};function ut(e,n,t){return(0,p.rZv)((0,i.Z)({variables:{filter:{AND:(0,f._3)({id:e},n)}},pause:!e},t||{}))}function ct(e,n){var t=ut(e,n,{requestPolicy:"cache-first"}),a=t.data,i=t.error,r=t.fetching,o=t.stale;return{device:null===a||void 0===a?void 0:a.devices[0],error:i,fetching:r,stale:o}}var dt=function(){return(0,c.$B)()},pt=function(e){var n=e.id,t=e.device,a=e.onRestart,i=e.onReset;return(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(g.i1,{nest:!0,path:["/delete","/connected-device/:connectedDeviceId/delete"],requirement:"unregister:device",children:(0,I.jsx)(Y.ZP,{id:n})}),(0,I.jsx)(g.i1,{nest:!0,path:"/edit",requirement:"update:device",children:(0,I.jsx)(W,{id:n})}),(0,I.jsx)(g.i1,{nest:!0,path:"/restart",requirement:"update:device",children:(0,I.jsx)(Oe,{id:n,onRestart:a})}),(0,I.jsx)(g.i1,{nest:!0,path:"/restart-all",requirement:"update:device",children:(0,I.jsx)(st,{device:t,onRestart:a})}),(0,I.jsx)(g.i1,{nest:!0,path:"/reset",requirement:"update:device",children:(0,I.jsx)(be,{id:n,onReset:i})}),(0,I.jsx)(l.yR,{feature:"CALL_CONTROL",children:(0,I.jsx)(c.AW,{nest:!0,path:"/dialOut",children:(0,I.jsx)(lt.a,{deviceId:n})})})]})},ft=function(e){var n,t,i,s,p,f,h,y,g,v,E,_,N,C=e.device,A=e.id,R=e.deviceProvisioningEnabled,O=e.accountProvisioningEnabled,L=e.deviceSettingsNotFound,k=void 0!==L&&L,D=d.A.Sidebar,x=(0,u.$G)().t,U=(0,c.$B)().url,w=(0,o.lm)(),M=(0,a.Z)(w,1)[0],V=(0,r.useState)(!1),j=(0,a.Z)(V,2),F=j[0],B=j[1],Z=(0,r.useState)(!1),J=(0,a.Z)(Z,2),H=J[0],W=J[1],Y=(0,b.Aj)(),q=(0,G.Gn)(U.replace("/".concat(A),"").replace("/insight-device","").replace("/inventory/details","/inventory/table")),K=x("DEVICE_DOESNT_EXIST_IN_INVENTORY",{id:A}),z=d.A.Content,X=(0,Re.Yt)(C,S.oN),$=(0,Re.Yt)(C,S._7),ee=!!(0,Re.nA)(Y||"",1).length;if(C&&(null===C||void 0===C||null===(n=C.tenant)||void 0===n?void 0:n.id)!==Y)return M({type:"info",id:"deviceWrongAccount",message:(0,I.jsx)("p",{children:x("DEVICE_WRONG_ACCOUNT")}),dismiss:o.GP.DEFAULT}),(0,I.jsx)(c.l_,{to:"/manage/inventory/table"});var ne,te=!!C&&(0,m.yC)(C.softwareVersion,"3.1")>=0,ae=null!==(t=null===C||void 0===C?void 0:C.hardwareModel)&&void 0!==t?t:"",ie=(0,T.ZB)(ae),re=(0,T.no)(ae),oe=(0,T.un)(ae),le=(0,T.WU)(ae),se=(0,T.TY)(C),ue=(0,T.lN)(C),de=(0,T.uj)(C),pe="",fe=re?S.Q9:oe?S.nP:"",me=S.C.includes(null!==(i=null===C||void 0===C?void 0:C.hardwareFamily)&&void 0!==i?i:"")||!(!C||!fe)&&(0,m.yC)((0,m.ko)(C.softwareVersion),fe,oe)>=0,he=!!C&&(re&&(0,m.yC)(C.softwareVersion,S.PY)>=0),ye=S.C.includes(null!==(s=null===C||void 0===C?void 0:C.hardwareFamily)&&void 0!==s?s:"")&&(!oe||le),ge=!(null===C||void 0===C||!C.supportsSettings)&&!X&&!$&&!se,Te=!(null===C||void 0===C||!C.supportsSoftwareUpdate),ve=(0,T.cO)(ge,Te,R),Ee=null!==(p=null===C||void 0===C?void 0:C.connected)&&void 0!==p&&p;re?R?(ne=O||!(null===C||void 0===C||!C.connected),pe=x("PROVISIONING_SETTINGS_DISABLED")):(ne=!(null===C||void 0===C||!C.connected)&&!k,null!==C&&void 0!==C&&C.connected?k&&(pe=x("POLY_OS_SETTINGS_UNAVAILABLE")):pe=x("DEVICE_SETTINGS_OFFLINE")):ue?null!==C&&void 0!==C&&C.connected?ne=!0:(ne=!1,pe=x("DEVICE_SETTINGS_OFFLINE")):de||ie?ne=!0:(ne=O,pe=x("PROVISIONING_SETTINGS_DISABLED"));var _e=!re||R&&O;(ue||de)&&(_e=!1);var Se=!(null===C||void 0===C||null===(f=C.systemStatus)||void 0===f||!f.data),Ne=ne&&ge,Ie=ne&&Te&&!_e&&!ue&&!de,Oe=!ne&&ge,be=!X&&!$&&"BT Adapter Family"!==(null===C||void 0===C?void 0:C.hardwareFamily),Le=(me||ye||he||Se)&&ve&&!ue&&!de;return(0,I.jsx)("div",{className:"device-details-content",children:(0,I.jsx)(d.A,{back:{to:q,persist:["InsightsFilterState","DeviceFilterState"],iconDesc:x("RETURN_TO_DEVICE_LIST"),title:x(U.includes("/insights")?"INSIGHT_DETAILS":"DEVICE_LIST")},children:C?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(D,{children:[(0,I.jsx)("div",{className:"text-center image-placeholder",children:(0,I.jsx)(l.wV,{hardwareModel:C.hardwareModel||C.name,className:"mt-25",maxHeight:175})}),(0,I.jsxs)("ul",{className:"menu router",children:[(0,I.jsx)("li",{children:(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!0,to:"",children:x("DETAILS")})}),Ne&&(0,I.jsxs)("li",{children:[(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!1,to:"/settings",children:x("SETTINGS")}),(0,I.jsx)(c.AW,{nest:!0,path:"/settings",children:ie?(0,I.jsx)(We,{}):_e?(0,I.jsx)(Ae.LE,{id:A,model:ae,siteId:null===(h=C.site)||void 0===h?void 0:h.id}):ue?(0,I.jsx)(Q.UE,{}):(0,I.jsx)(Q.RO,{showAdvanced:te,settings:Q.wc})})]}),Ie&&(0,I.jsx)("li",{children:(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,to:"/update/sw",children:x("SOFTWARE_UPDATE")})}),Oe&&(0,I.jsx)("li",{children:(0,I.jsx)(l.eE,{iconTitle:x("SETTINGS"),position:"bottom",className:"settings-help to-right",iconReplacement:(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],to:"/settings",disabled:!0,children:x("SETTINGS")}),children:pe})}),Le&&(0,I.jsxs)("li",{children:[(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,exact:!0,to:"/troubleshooting",children:x("TROUBLESHOOTING")}),(0,I.jsx)(c.AW,{nest:!0,path:"/troubleshooting",children:(0,I.jsx)(qe,{isLogDownloadSupported:me,isPcapDownloadSupported:ye,hasRelays:ee})})]}),be&&(0,I.jsx)("li",{children:(0,I.jsx)(c.OL,{persist:["DeviceFilterState","InsightsFilterState"],nest:!0,to:"/analysis",children:x("ANALYSIS")})})]})]}),(0,I.jsx)(z,{scrolling:!0,className:"device-details",children:(0,I.jsxs)(c.rs,{children:[(0,I.jsx)(c.AW,{nest:!0,path:"/settings",children:ie?(0,I.jsx)(Ye,{device:C}):_e?(0,I.jsx)(Ae.UP,{id:A,model:ae,siteId:null===(y=C.site)||void 0===y?void 0:y.id,siteName:null===(g=C.site)||void 0===g?void 0:g.name}):ue?(0,I.jsx)(it,{device:C}):(0,I.jsx)(Ce,{device:C,id:A,showAdvanced:te})}),(0,I.jsx)(c.AW,{nest:!0,path:"/update",children:!_e&&(0,I.jsx)(Ce,{device:C,id:A,showAdvanced:te})}),(0,I.jsxs)(c.AW,{nest:!0,path:"/troubleshooting",children:[(0,I.jsx)(ce.gY,{device:C,pageTitle:(0,I.jsx)(ce.z5,{device:C})}),(0,I.jsx)(wn,{deviceId:C.id,tenantId:null!==Y&&void 0!==Y?Y:"",deviceModel:null!==(v=C.hardwareModel)&&void 0!==v?v:"",siteId:null!==(E=null===(_=C.site)||void 0===_?void 0:_.id)&&void 0!==E?E:"",connected:Ee,isLogDownloadSupported:me,isPcapDownloadSupported:ye,isLogToFlashSupported:he,systemStatus:null===(N=C.systemStatus)||void 0===N?void 0:N.data,hasRelays:ee})]}),(0,I.jsx)(c.AW,{nest:!0,path:"/analysis",children:(0,I.jsx)(ot,{device:C})}),(0,I.jsxs)(c.AW,{nest:!0,path:"",children:[(0,I.jsx)(ce.gY,{device:C,pageTitle:(0,I.jsx)(ce.z5,{device:C})}),(0,I.jsx)(P,{device:C,reset:H,restarted:F,isLensDesktop:X,isLensMobile:$})]})]})}),(0,I.jsx)(pt,{id:A,device:C,onRestart:function(){return B(!0)},onReset:function(){return W(!0)}})]}):(0,I.jsx)(l.Jp,{title:K})})})},mt=function(){var e,n=(0,b.Aj)(),t=(0,c.UO)().deviceId,a=ut(t,n),i=a.data,r=a.fetching,o=a.stale,u=(0,p.KnB)({variables:{tenantUuid:n}}),d=u.data,f=u.fetching,m=(0,p.rOd)({variables:{id:t},context:s.noOpNotifyContext}),h=m.data,y=m.fetching,g=m.error,v=r||f||y,E=null!==i&&void 0!==i&&i.devices.length?i.devices[0]:void 0;if(o||v)return(0,I.jsx)(l.TF,{});if(!E||!d)return(0,I.jsx)(ft,{device:E,id:t,deviceProvisioningEnabled:!1,accountProvisioningEnabled:!1,deviceSettingsNotFound:!1});var _,S,N,C,A,R,O=null===(e=d.getProvisioningAccounts)||void 0===e?void 0:e[0],L=!O||!!O.isDisabled;(0,T.no)(null===E||void 0===E?void 0:E.hardwareModel)?(_=!!g||!(null!==h&&void 0!==h&&null!==(N=h.deviceSettings)&&void 0!==N&&N.settings),S=!(null===h||void 0===h||null===(C=h.deviceSettings)||void 0===C||null===(A=C.settings)||void 0===A||null===(R=A.prov)||void 0===R||!R.enabled)):(S=!0,_=!1);return(0,I.jsx)(ft,{device:E,id:t,deviceProvisioningEnabled:S,accountProvisioningEnabled:!L,deviceSettingsNotFound:_})}},37324:function(e,n,t){"use strict";t.d(n,{FG:function(){return g},t6:function(){return h}});var a=t(82333),i=t(85358),r=t(99710),o=t(65860),l=t(48930),s=t(25825),u=t(8960),c=t(90587),d=(t(96902),t(73451)),p=t(10631),f=t(29938),m=function(e){var n=e.testId;return(0,f.jsx)("div",{"data-testid":n,className:"off-circle border-box"})},h=function(e){var n,t=e.state,a=e.field,i=!1;switch(t){case c.q0.UP:case c.q0.ALL_UP:case c.q0.BELOW_THRESHOLD:n="connected";break;case c.q0.NONE_UP:case c.q0.FULL:case c.q0.DOWN:n="circle_disconnected_filled";break;case c.q0.OFF:n="circle_filled",i=!0;break;case c.q0.SOME_UP:case c.q0.THRESHOLD_EXCEEDED:case c.q0.UNKNOWN:n="system_warning_triangle";break;default:n="circle_filled",i=!0}return(0,f.jsx)("span",{children:i?(0,f.jsx)(m,{testId:"system-status-icon-".concat(a)}):(0,f.jsx)(u.si,{"data-testid":"system-status-icon-".concat(a),icon:n,className:"system-status-icon"})})},y=function(e){var n=e.statusFieldName,t=e.statusValue,o=e.deviceId,m=(0,s.$G)().t,y=(0,l.Yx5)(),g=(0,r.Z)(y,2),T=g[0].fetching,v=g[1],E=(0,p.lm)(),_=(0,r.Z)(E,1)[0];function S(){return(S=(0,i.Z)((0,a.Z)().mark((function e(){var n,t;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v({deviceId:o});case 2:n=e.sent,(t=n.data)&&t.wakeDeviceCamera.success?_({id:"wake-camera-success",message:m("WAKE_CAMERA_SUCCESS"),dismiss:p.GP.FAST,type:"success"}):t&&void 0!==t.wakeDeviceCamera.success&&!t.wakeDeviceCamera.success&&_({id:"wake-camera-error",message:m("WAKE_CAMERA_FAIL"),dismiss:p.GP.FAST,type:"error"});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var N=(0,d.zf)("update:device")&&"camera"===n&&(t===c.q0.NONE_UP||t===c.q0.OFF||t===c.q0.DOWN);return(0,f.jsxs)("tr",{className:"system-status-row",children:[(0,f.jsx)("td",{className:"pl-5","data-testid":"system-status-service",children:m(c.fm[n])}),(0,f.jsxs)("td",{className:"pl-5",children:[(0,f.jsx)(h,{state:t,field:n}),N&&(0,f.jsx)("div",{onClick:function(){return function(){return S.apply(this,arguments)}()},className:"inline-block clickable",children:(0,f.jsx)(u.eE,{iconTitle:"refresh",icon:"refresh",iconSize:"sm",className:"ml-1",testDataId:"offline-camera-tooltip",iconClassName:T?"spin":"",children:m("OFFLINE_CAMERA_WAKE")})})]}),(0,f.jsx)("td",{className:"system-status-meaning pl-5","data-testid":"system-status-meaning-".concat(n),children:(0,c.M_)(n,t)})]})};var g=function(e){var n,t,a,i=e.systemStatus,l=e.searchState,d=e.expanded,p=e.deviceId,m=(0,s.$G)().t;if(null===i||void 0===i||null===(n=i.com)||void 0===n||null===(t=n.poly)||void 0===t||null===(a=t.device)||void 0===a||!a.status)return(0,f.jsx)(f.Fragment,{});var h=i.com.poly.device.status,g=function(e){var n=e.filter((function(e){return e[1].state===c.q0.DOWN||e[1].state===c.q0.NONE_UP||e[1].state===c.q0.FULL})),t=e.filter((function(e){return e[1].state===c.q0.THRESHOLD_EXCEEDED||e[1].state===c.q0.SOME_UP||e[1].state===c.q0.UNKNOWN})),a=e.filter((function(e){return e[1].state===c.q0.UP||e[1].state===c.q0.ALL_UP||e[1].state===c.q0.BELOW_THRESHOLD})),i=e.filter((function(e){return e[1].state===c.q0.OFF})),r=e.filter((function(e){return e[1].state===c.q0.DISALLOWED||e[1].state===c.q0.STANDBY})),o=e.filter((function(e){return!!e[1].state&&!Object.values(c.q0).includes(e[1].state)}));return n.concat(t,a,i,r,o)}(Object.entries(h).filter(c.wz).filter((function(e){var n=(0,r.Z)(e,1)[0];return m(c.fm[n]).toLowerCase().includes(l.toLowerCase())})));return(0,f.jsx)("div",{"data-testid":"system-status-card",children:i&&(0,f.jsx)(o.x4,{collapsedContent:(0,f.jsxs)("div",{className:"category-title pl-5 d-flex",children:[m("DEVICE_SYSTEM_STATUS"),(0,f.jsx)(u.pJ,{})]}),dropdown:!0,expanded:d,children:(0,f.jsx)("div",{className:"system-status-info","data-testid":"system-status-info",children:(0,f.jsx)("section",{className:"system-status-data",children:(0,f.jsxs)("table",{className:"system-status-data",children:[(0,f.jsx)("thead",{className:"font-bold",children:(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{className:"pl-5",children:m("SERVICE")}),(0,f.jsx)("td",{className:"pl-5",children:m("STATUS")}),(0,f.jsx)("td",{className:"pl-5",children:m("DETAILS")})]})}),(0,f.jsx)("tbody",{children:g.map((function(e){var n=(0,r.Z)(e,2);return function(e,n,t){if(n.state)return(0,f.jsx)(y,{deviceId:t,statusFieldName:e,statusValue:n.state},e)}(n[0],n[1],p)}))})]})},"system-status-info")})})})}},90587:function(e,n,t){"use strict";t.d(n,{M_:function(){return l},fm:function(){return r},q0:function(){return a},wz:function(){return o}});var a,i=t(25825);!function(e){e.UP="up",e.OFF="off",e.DOWN="down",e.UNKNOWN="unknown",e.STANDBY="standby",e.DISALLOWED="disallowed",e.ALL_UP="all_up",e.NONE_UP="none_up",e.SOME_UP="some_up",e.THRESHOLD_EXCEEDED="threshold_exceeded",e.BELOW_THRESHOLD="below_threshold",e.FULL="full"}(a||(a={}));var r={provisioning:"SYSTEM_STATUS_PROVISIONING",globaldirectory:"SYSTEM_STATUS_GDS",ipnetwork:"SYSTEM_STATUS_IPNETWORK",trackablecamera:"SYSTEM_STATUS_TRACKABLECAMERA",camera:"SYSTEM_STATUS_CAMERA",audio:"SYSTEM_STATUS_AUDIO",remotecontrol:"SYSTEM_STATUS_REMOTE_CONTROL",logthreshold:"SYSTEM_STATUS_LOG_THRESHOLD",autoanswerp2p:"SYSTEM_STATUS_AUTO_ANSWER",sipserver:"SYSTEM_STATUS_SIP",gatekeeper:"SYSTEM_STATUS_GATEKEEPER",calendar:"SYSTEM_STATUS_CALENDAR",mcu:"SYSTEM_STATUS_MCU",wifi:"SYSTEM_STATUS_WIFI",inacall:"SYSTEM_STATUS_IN_CALL",microphones:"SYSTEM_STATUS_MICROPHONES",soundstationip7000:"SYSTEM_STATUS_IP7000",soundstructure:"SYSTEM_STATUS_SOUND_STRUCTURE",eagleeyeview:"SYSTEM_STATUS_EE_VIEW",timeserver:"SYSTEM_STATUS_TIME_SERVER",cloudsvc:"SYSTEM_STATUS_CLOUD_SVC",gspairing:"SYSTEM_STATUS_GS_PAIRING",polyserver:"SYSTEM_STATUS_POLY_SERVER",meetingpassword:"SYSTEM_STATUS_MEETING_PASSWORD",eagleeyedirector:"SYSTEM_STATUS_EE_DIRECTOR",visualboard:"SYSTEM_STATUS_VISUAL_BOARD",presenceservice:"SYSTEM_STATUS_PRESENCE_SERVICE",cce:"SYSTEM_STATUS_CCE"};function o(e){return!!e[1]&&void 0!==e[1].state}function l(e,n){var t="";switch(n){case a.UP:case a.ALL_UP:case a.BELOW_THRESHOLD:switch(e){case"provisioning":case"globaldirectory":t=i.ZP.t("SYSTEM_STATUS_REGISTERED_CONNECTED_ACTIVE");break;case"audio":case"camera":t=i.ZP.t("SYSTEM_STATUS_ALL_CONNECTED");break;case"trackablecamera":t=i.ZP.t("SYSTEM_STATUS_CAMERA_CONNECTED");break;case"ipnetwork":t=i.ZP.t("SYSTEM_STATUS_IP_CONNECTED");break;case"logthreshold":t=i.ZP.t("SYSTEM_STATUS_LOGS_BELOW");break;case"remotecontrol":t=i.ZP.t("PAIRED");break;case"autoanswerp2p":t=i.ZP.t("SYSTEM_STATUS_AUTO_ANSWER_ON");break;case"sipserver":case"gatekeeper":case"calendar":t=i.ZP.t("REGISTERED");break;default:t=i.ZP.t("SYSTEM_STATUS_GOOD_MESSAGE")}break;case a.NONE_UP:case a.FULL:case a.DOWN:switch(e){case"provisioning":t=i.ZP.t("SYSTEM_STATUS_PROVISIONING_FAIL");break;case"audio":case"camera":t=i.ZP.t("SYSTEM_STATUS_ALL_DISCONNECTED");break;case"trackablecamera":t=i.ZP.t("SYSTEM_STATUS_CAMERA_FAIL");break;case"logthreshold":t=i.ZP.t("SYSTEM_STATUS_LOGS_FULL");break;case"remotecontrol":t=i.ZP.t("SYSTEM_STATUS_REMOTE_FAIL");break;case"autoanswerp2p":t=i.ZP.t("SYSTEM_STATUS_AUTO_ANSWER_DND");break;case"sipserver":case"gatekeeper":case"calendar":t=i.ZP.t("REGISTRATION_FAILED");break;default:t=i.ZP.t("SYSTEM_STATUS_BAD_MESSAGE")}break;case a.OFF:switch(e){case"provisioning":t=i.ZP.t("NOT_REGISTERED");break;case"audio":t=i.ZP.t("SYSTEM_STATUS_MICROPHONES_OFF");break;case"trackablecamera":t=i.ZP.t("SYSTEM_STATUS_TRACKABLE_CAMERA_OFF");break;case"camera":t=i.ZP.t("SYSTEM_STATUS_CAMERAS_OFF");break;case"logthreshold":t=i.ZP.t("SYSTEM_STATUS_LOGS_OFF");break;case"remotecontrol":t=i.ZP.t("SYSTEM_STATUS_REMOTE_OFF");break;case"autoanswerp2p":t=i.ZP.t("SYSTEM_STATUS_AUTO_ANSWER_OFF");break;default:t=i.ZP.t("SYSTEM_STATUS_NOT_CONFIGURED_MESSAGE")}break;case a.SOME_UP:case a.THRESHOLD_EXCEEDED:case a.UNKNOWN:switch(e){case"audio":case"camera":t=i.ZP.t("SOME_DISCONNECTED");break;case"logthreshold":t=i.ZP.t("SYSTEM_STATUS_LOGS_EXCEEDED");break;default:t=i.ZP.t("WARNING")}break;default:t=i.ZP.t("UNKNOWN")}return t}a.UP,a.UP,a.UP,a.UP,a.ALL_UP,a.NONE_UP,a.OFF,a.BELOW_THRESHOLD,a.OFF,a.UP,a.DOWN,a.FULL,a.SOME_UP,a.THRESHOLD_EXCEEDED,a.UNKNOWN,a.OFF,a.OFF,a.UP,a.OFF,a.NONE_UP,a.OFF,a.UP,a.THRESHOLD_EXCEEDED,a.UP,a.OFF,a.DOWN,a.OFF,a.SOME_UP,a.THRESHOLD_EXCEEDED,a.UNKNOWN,a.DOWN,a.UP,a.UP,a.DOWN,a.OFF,a.SOME_UP,a.DOWN,a.FULL,a.DOWN,a.DOWN,a.OFF,a.FULL,a.SOME_UP,a.THRESHOLD_EXCEEDED,a.UNKNOWN,a.UP,a.DOWN,a.OFF},35882:function(e,n,t){"use strict";t.d(n,{H4:function(){return R},ut:function(){return P},y9:function(){return D}});var a=t(16798),i=t(99710),r=t(95764),o=t(81034),l=t(96902),s=t(25825),u=t(22209),c=t(82192),d=t(62178),p=t(43214),f=t(90497),m=t(8960),h=t(58630),y=t(29938),g=function(e){var n,t=e.onSearch,a=e.searchPlaceholder,i=(0,s.$G)().t,r=(0,l.useRef)(null),o=Boolean(null===(n=r.current)||void 0===n?void 0:n.value.length);return(0,y.jsxs)("div",{className:"table-search",children:[(0,y.jsx)(m.si,{icon:"search",className:"white"}),(0,y.jsx)("input",{type:"text",ref:r,placeholder:null!==a&&void 0!==a?a:i("SEARCH_TABLE"),"aria-label":null!==a&&void 0!==a?a:i("SEARCH_TABLE"),"data-testid":"search-table",onChange:function(e){return t((0,h.G7)(e.target.value))},maxLength:f.QZ}),o&&(0,y.jsx)(m.si,{icon:"x",onClick:function(){r.current.value="",t("")},className:"white clear"})]})},T=function(e){var n=e.search,t=e.edit;return(0,y.jsxs)("div",{className:"table-search-edit",children:[n&&(0,y.jsx)(g,(0,r.Z)({},n)),t&&(0,y.jsx)(p.Op,(0,r.Z)({},t))]})},v=t(50789),E=t(66025),_=t(21645),S=t(10278),N=t(48930),I=t(1378),C=["shownColumns","index"],A=["data"];function R(e){var n=e.column,t=e.status,a=(0,s.$G)().t,i="registered"===t,r=a(i?"REGISTERED":"NOT_REGISTERED");return(0,y.jsx)(E.RV,{nested:!0,children:(0,y.jsx)(m.eE,{iconTitle:a("STATUS_INDICATORS"),position:"bottom",size:"sm",iconReplacement:(0,y.jsx)(m.X,{connected:i,className:"m-0"}),children:(0,y.jsx)("span",{children:r})})},n)}var O=function(e){var n=e.shownColumns,t=e.index,a=(0,o.Z)(e,C),i=c.ji.DEVICE_SERVICE_INFORMATION.COLUMNS;return(0,y.jsx)("tr",{children:n.map((function(e){return function(e,n){var t=null;return e===i.STATUS?(0,y.jsx)(R,{column:e,status:a.status,"data-testid":"status-cell"},e):(t=a[e],(0,y.jsx)("td",{"data-testid":"".concat(e,"-").concat(n),children:t},e))}(e,t)}))})},b={updateFilterState:(0,S.createStandardAction)("UpdateFilterState")()};function L(e,n){if(n.type===(0,S.getType)(b.updateFilterState))return(0,r.Z)((0,r.Z)({},e),{},{filterState:n.payload})}var k=function(e){var n=e.fieldName,t=e.filterState,a=e.setFilter,i=(0,s.$G)().t,o={value:"registered",text:i("REGISTERED")},l={value:"unregistered",text:i("NOT_REGISTERED")},u=[(0,r.Z)((0,r.Z)({},o),{},{icon:(0,y.jsx)(m.X,{connected:!0,className:"m-0"})}),(0,r.Z)((0,r.Z)({},l),{},{icon:(0,y.jsx)(m.X,{connected:!1,className:"m-0"})})];return t[n]&&u.push({value:"",text:i("CLEAR_FILTER")}),(0,y.jsx)(E.RV,{header:!0,children:(0,y.jsx)(m.sV,{name:"connection",className:"connection-table-filter",placeholder:i("STATUS"),"data-testid":"status-filter",options:u,onChange:function(e){return a((0,r.Z)((0,r.Z)({},t),{},{status:"registered"===e?"registered":"unregistered"===e?"unregistered":void 0}))},value:t[n],inputReplacement:t[n]?(0,y.jsx)(m.X,{connected:t[n]===o.value,className:"m-0"}):null})})};function D(e,n){var t,a,i,s=(0,N.bYR)((0,r.Z)({variables:{deviceId:e},context:I.noLogoutOnAuthErrorContext},n)),u=s.data,c=(0,o.Z)(s,A),d=(0,l.useMemo)((function(){var e,n,t,a;return null===u||void 0===u||null===(e=u.capabilitiesQuery)||void 0===e||null===(n=e.com)||void 0===n||null===(t=n.poly)||void 0===t||null===(a=t.service_information)||void 0===a?void 0:a.map((function(e){var n,t,a,i,r,o=e.regtype,l=e.linetype,s=e.lineid,u=e.status,c=e.serveraddr,d=e.sipdomainname,p=e.expiry,f=e.userid,m=e.sipport,h=e.displayname,y=e.failurereason,g=e.outboundproxytransport,T=e.outboundproxy,v=e.siptranport,E=e.sipaddr,S=e.registeredip,N=e.srvplatform;return{lineId:null!==(n=null===s||void 0===s?void 0:s.value)&&void 0!==n?n:-1,domain:(0,_.wv)(null!==(t=null===d||void 0===d?void 0:d.value)&&void 0!==t?t:"",!0),registrationAddress:(0,_.wv)(null===c||void 0===c?void 0:c.value,!0),registrationType:(0,_.wv)(null===o||void 0===o?void 0:o.value,!0),status:"registered"===(null===u||void 0===u||null===(a=u.value)||void 0===a?void 0:a.toLowerCase())?"registered":"unregistered",expiry:(0,_.wv)(null===p||void 0===p||null===(i=p.value)||void 0===i?void 0:i.toString(),!0),userId:(0,_.wv)(null===f||void 0===f?void 0:f.value,!0),sipPort:(0,_.wv)(null===m||void 0===m||null===(r=m.value)||void 0===r?void 0:r.toString(),!0),displayName:(0,_.wv)(null===h||void 0===h?void 0:h.value,!0),failurereason:(0,_.wv)(null===y||void 0===y?void 0:y.value,!0),outboundProxyTransport:(0,_.wv)(null===g||void 0===g?void 0:g.value,!0),outboundProxyPort:(0,_.wv)(null===T||void 0===T?void 0:T.value,!0),sipTransport:(0,_.wv)(null===v||void 0===v?void 0:v.value,!0),sipAddr:(0,_.wv)(null===E||void 0===E?void 0:E.value,!0),registeredIP:(0,_.wv)(null===S||void 0===S?void 0:S.value,!0),lineType:(0,_.wv)(null===l||void 0===l?void 0:l.value,!0),srvPlatform:(0,_.wv)(null===N||void 0===N?void 0:N.value,!0)}}))}),[null===u||void 0===u||null===(t=u.capabilitiesQuery)||void 0===t||null===(a=t.com)||void 0===a||null===(i=a.poly)||void 0===i?void 0:i.service_information]);return(0,r.Z)((0,r.Z)({},c),{},{lines:d})}var x={lineId:void 0,status:void 0,registrationAddress:void 0,registrationType:void 0,domain:void 0,sort:{field:"lineId",direction:"DESC"}},P=function(e){var n,t,o=e.deviceId,l=(0,s.$G)().t,f=D(o),h=f.lines,g=f.fetching,E=(0,u.bQ)(L,{filterState:x},b),_=(0,i.Z)(E,2),S=_[0].filterState,N=_[1].updateFilterState,I=null!==h&&void 0!==h?h:[],C=c.ji.DEVICE_SERVICE_INFORMATION,A=C.NAME,R=C.COLUMNS,P=C.HIDDEN,U=(0,d.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.tables[A])&&void 0!==n?n:{}})),w=U[c.oM.SHOWN],M=U[c.oM.HIDDEN],V=(n={},(0,a.Z)(n,R.LINE_ID,l("LINE_NUMBER")),(0,a.Z)(n,R.STATUS,l("STATUS")),(0,a.Z)(n,R.REGISTRATION_TYPE,l("REGISTRATION_TYPE")),(0,a.Z)(n,R.DOMAIN,l("DOMAIN")),(0,a.Z)(n,R.REGISTRATION_ADDRESS,l("SERVER_ADDRESS")),(0,a.Z)(n,P.DISPLAY_NAME,l("DISPLAY_NAME")),(0,a.Z)(n,P.EXPIRY,l("EXPIRY")),(0,a.Z)(n,P.FAILURE_REASON,l("FAILURE_REASON")),(0,a.Z)(n,P.LINE_TYPE,l("LINE_TYPE")),(0,a.Z)(n,P.OUTBOUND_PROXY_PORT,l("OUTBOUND_PROXY_PORT")),(0,a.Z)(n,P.OUTBOUND_PROXY_TRANSPORT,l("OUTBOUND_PROXY_TRANSPORT")),(0,a.Z)(n,P.REGISTERED_IP,l("REGISTERED_IP")),(0,a.Z)(n,P.SERVER_PLATFORM,l("SERVER_PLATFORM")),(0,a.Z)(n,P.SIP_ADDRESS,l("SIP_ADDRESS")),(0,a.Z)(n,P.SIP_PORT,l("SIP_PORT")),(0,a.Z)(n,P.SIP_TRANSPORT,l("SIP_TRANSPORT")),(0,a.Z)(n,P.USER_ID,l("USER_ID")),n),j=I.filter((function(e){var n=!1,t=Object.entries(S).reduce((function(t,a){var r=t.hasFilter,o=(0,i.Z)(a,2),l=o[0],s=o[1],u=e[l];if(Object.keys(e).includes(l)){if("string"===typeof s&&"string"===typeof u){return("status"===l?u.toLocaleLowerCase()===s.toLocaleLowerCase():u.toLocaleLowerCase().includes(s.toLocaleLowerCase()))||(n=!0),{hasFilter:!0}}var c=Number(s);if(!isNaN(c)&&"number"===typeof u)return u===c||(n=!0),{hasFilter:!0}}return{hasFilter:r}}),{hasFilter:!1});return!t.hasFilter||!n})).filter((function(e){var n=S.searchTerm;return!n||Object.values(e).some((function(e){return(null!==e&&void 0!==e?e:"").toString().toLowerCase().includes(n.toLowerCase())}))}));function F(e){return j.map((function(n){var t,a;return null!==(t=null===(a=n[e])||void 0===a?void 0:a.toString())&&void 0!==t?t:""}))}var B=(t={},(0,a.Z)(t,R.LINE_ID,F("lineId")),(0,a.Z)(t,R.STATUS,F("status")),(0,a.Z)(t,R.REGISTRATION_TYPE,F("registrationType")),(0,a.Z)(t,R.DOMAIN,F("domain")),(0,a.Z)(t,R.REGISTRATION_ADDRESS,F("registrationAddress")),(0,a.Z)(t,P.DISPLAY_NAME,F("displayName")),(0,a.Z)(t,P.EXPIRY,F("expiry")),(0,a.Z)(t,P.FAILURE_REASON,F("failurereason")),(0,a.Z)(t,P.LINE_TYPE,F("lineType")),(0,a.Z)(t,P.OUTBOUND_PROXY_PORT,F("outboundProxyPort")),(0,a.Z)(t,P.OUTBOUND_PROXY_TRANSPORT,F("outboundProxyTransport")),(0,a.Z)(t,P.REGISTERED_IP,F("registeredIP")),(0,a.Z)(t,P.SERVER_PLATFORM,F("srvPlatform")),(0,a.Z)(t,P.SIP_ADDRESS,F("sipAddr")),(0,a.Z)(t,P.SIP_PORT,F("sipPort")),(0,a.Z)(t,P.SIP_TRANSPORT,F("sipTransport")),(0,a.Z)(t,P.USER_ID,F("userId")),t),Z=(0,p.Pu)(w,V),G=(0,p.Pu)(M,V);return(0,p.dV)(j,S.sort),(0,y.jsxs)("div",{className:"device-line-table ph-25",children:[(0,y.jsx)("section",{className:"grouping table-actions mb-1",role:"search",children:(0,y.jsx)(T,{search:{onSearch:function(e){return function(e){N((0,r.Z)((0,r.Z)({},S),{},{searchTerm:e}))}(e)}},edit:{tableName:A,shownColumns:Z,hiddenColumns:G}})}),(0,y.jsx)(m.aN,{loading:g,children:(0,y.jsx)("div",{className:"table-container",children:(0,y.jsxs)("table",{className:"table custom-table table-filterable","data-testid":"device-line-table",children:[(0,y.jsx)(p.rh,{checked:!1,showChecks:!1,onCheck:function(){},children:(0,v.W)(Z,(function(e,n){var t;if(e===R.STATUS)return(0,y.jsx)(k,{fieldName:"status",filterState:S,setFilter:N},e);var i=Array.from(new Set(B[e].filter((function(e){return e})))),o=i?{filterValue:null!==(t=S[e])&&void 0!==t?t:"",filterOptions:i,onFilter:function(n,t){N((0,r.Z)((0,r.Z)({},S),{},(0,a.Z)({},e,""!==t?t:void 0)))}}:void 0,l=S.sort;return(0,y.jsx)(p.jr,{fieldName:e,title:n,sort:{currentSort:l?{field:l.field,direction:l.direction}:{field:R.LINE_ID,direction:"DESC"},onSort:function(n){N((0,r.Z)((0,r.Z)({},S),{},{sort:{field:null!==e&&void 0!==e?e:n.field,direction:n.direction}}))}},filter:o},e)}))}),(0,y.jsx)(p.RM,{loading:!1,cols:5,children:j.map((function(e,n){return(0,y.jsx)(O,(0,r.Z)({index:n,shownColumns:Z.map((function(e){return e.key}))},e),e.lineId+e.registrationType)}))})]})})})]})}},34670:function(e,n,t){"use strict";t.d(n,{B:function(){return R},I:function(){return C}});var a=t(82333),i=t(47427),r=t(85358),o=t(95764),l=t(99710),s=t(10631),u=t(37718),c=t(43214),d=t(8960),p=t(48930),f=t(82933),m=t(54831),h=t(96902),y=t(31667),g=t(86851),T=t(72642),v=t(73451),E=t(19462),_=t(25825),S=t(9363),N=t(1987),I=t(29938),C=function(e){var n,t,S,C,O,b=e.serialNumber,L=e.hardwareModel,k=e.showChecks,D=void 0===k||k,x=(0,_.$G)().t,P=(0,f.k6)().location,U=(0,u.Ws)(),w=(0,s.lm)(),M=(0,l.Z)(w,1)[0],V=(0,T.Ox)(),j=(0,p.ssw)(),F=(0,l.Z)(j,2)[1],B=(0,h.useState)([]),Z=(0,l.Z)(B,2),G=Z[0],J=Z[1],H=(0,h.useState)({field:"precedence",direction:"ASC"}),W=(0,l.Z)(H,2),Y=W[0],q=W[1],K=(0,N.Aj)(),z=(0,h.useState)(!1),X=(0,l.Z)(z,2),$=X[0],Q=X[1],ee=null!==(n=null===b||void 0===b?void 0:b.toLowerCase())&&void 0!==n?n:"",ne=(0,p.hi9)({variables:{serial:ee,tenantId:K}}),te=ne.data,ae=ne.fetching,ie=ne.stale,re=ne.executor,oe=(0,T.l3)(),le=oe.data,se=oe.fetching,ue=oe.stale,ce=oe.executor,de=null!==(t=null===te||void 0===te||null===(S=te.getDevice)||void 0===S||null===(C=S.groups)||void 0===C?void 0:C.filter((function(e){return null!=e})))&&void 0!==t?t:[],pe=null!==(O=null===le||void 0===le?void 0:le.reduce((function(e,n){return e[n.id]=n,e}),{}))&&void 0!==O?O:{},fe=de.map((function(e,n){var t,a=pe[e];if(!a)return null;var i=null!==(t=a.devices.reduce((function(e,n){var t=n.hardwareModel;return e.add(null!==t&&void 0!==t?t:"")}),new Set).size)&&void 0!==t?t:0;return(0,o.Z)((0,o.Z)({},a),{},{precedence:n+1,deviceCount:a.devices.length,modelCount:i})})).filter((function(e){return null!==e}));(0,c.dV)(fe,Y);var me="UPDATE_SITES",he=(0,m.zf)((0,m.Vd)(me)),ye=(0,c.xC)(G),ge=(0,c.D_)(fe.length,G,J),Te=(0,c.Eg)(G),ve=Te.length>0,Ee=Te.length,_e=[{name:"precedence",title:x("PRECEDENCE")},{name:"name",title:x("GROUP_NAME")},{name:"modelCount",title:x("MODEL_COUNT")},{name:"policyCount",title:x("POLICY_COUNT")},{name:"deviceCount",title:x("DEVICE_COUNT")}],Se=function(){var e={requestPolicy:"network-only"};re(e),ce(e)},Ne=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(){var n,t,r,o;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Q(!0),!ee){e.next=20;break}n=[],t=(0,i.Z)(Te),e.prev=4,o=(0,a.Z)().mark((function e(){var t,i,o,l,u,c,d;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.value,i=fe.filter((function(e){return e.id===t}))[0],e.next=4,V(i,[ee]);case 4:o=e.sent,l=o.data,u=o.error,(null!==(c=null===l||void 0===l?void 0:l.updateGroup)&&void 0!==c&&c.error||u)&&(M({type:"error",dismiss:s.GP.DEFAULT,message:null!==(d=(null===c||void 0===c?void 0:c.error)||(null===u||void 0===u?void 0:u.message))&&void 0!==d?d:"err",persistThroughNav:!0}),n.push(u));case 9:case"end":return e.stop()}}),e)})),t.s();case 7:if((r=t.n()).done){e.next=11;break}return e.delegateYield(o(),"t0",9);case 9:e.next=7;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(4),t.e(e.t1);case 16:return e.prev=16,t.f(),e.finish(16);case 19:0===n.length&&M({type:"success",dismiss:s.GP.DEFAULT,message:x("SUCCESSFULLY_DELETED_DEVICE_FROM_GROUP",{count:Te.length}),persistThroughNav:!0});case 20:U(),J([]),Se(),Q(!1);case 24:case"end":return e.stop()}}),e,null,[[4,13,16,19]])})));return function(){return e.apply(this,arguments)}}(),Ie=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(n,t){var i,r,o;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<=0||t>de.length)){e.next=2;break}return e.abrupt("return");case 2:if(!((i=de.indexOf(n))<0||i===t-1)){e.next=5;break}return e.abrupt("return");case 5:return(0,E.pB)(de,i,t-1),e.next=8,F({serial:ee,groups:de,tenantId:K});case 8:r=e.sent,o=r.data,r.error||null!=o&&!o.updateDeviceGroupPriority?M({type:"error",message:x("ERROR_UPDATING_DEVICE_GROUPS_PRECEDENCE"),dismiss:s.GP.FAST}):Se();case 12:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Ce=$||ae||se||ie||ue,Ae=P.pathname.includes("/settings/my-settings");return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("p",{className:"text-md",children:x("GROUP_MEMBERSHIP_INFO")}),!Ae&&(0,I.jsx)("div",{className:"grouping table-actions mb-1",children:(0,I.jsxs)(v.xb,{requirement:me,children:[(0,I.jsxs)(d.PS,{className:"btn-primary",title:x("ADD_DEVICE_TO_GROUP"),disabled:Ce,children:[(0,I.jsx)(f.rU,{to:(0,f.dp)("/create-group"),children:x("CREATE_NEW_GROUP")}),(0,I.jsx)(f.rU,{to:(0,f.dp)("/add-to-group"),children:x("ADD_TO_EXISTING_GROUP")})]}),(0,I.jsx)(f.rU,{to:ve?(0,f.dp)("/remove-from-group"):"",className:"btn ml-5 ".concat(ve?"":"disabled"),children:x("REMOVE_FROM_GROUP")})]})}),(0,I.jsxs)("table",{className:"table group-membership-table","data-testid":"group-membership-table",children:[(0,I.jsxs)(c.rh,{showChecks:he&&D,checked:ye(c.WZ),onCheck:function(){return(0,c.li)(fe.map((function(e){return e.id})),G,J)},children:[_e.map((function(e){var n=e.name,t=e.title;return(0,I.jsx)(c.jr,{fieldName:n,title:t,sort:{currentSort:Y,onSort:q}},n)})),(0,I.jsx)("th",{className:"move-tools p-5 last-cell"})]}),(0,I.jsx)(y.Z5,{onDragEnd:function(e){var n=e.draggableId,t=e.destination;t&&Ie(n,t.index+1)},children:(0,I.jsx)(y.bK,{droppableId:"groups",children:function(e,n){return(0,I.jsxs)(c.RM,(0,o.Z)((0,o.Z)({},e.droppableProps),{},{ref:e.innerRef,loading:Ce,cols:_e.length+1,className:"".concat(n.isDraggingOver?"is-dragging":""),children:[fe.map((function(e,t){return(0,I.jsx)(A,{showChecks:he&&D,group:e,checked:ye(e.id),onCheck:function(){return ge(e.id)},changePrecedence:Ie,groupCount:fe.length,dragInProgress:n.isDraggingOver,index:t},e.id+t)})),e.placeholder]}))}})})]}),Ce||fe.length?null:(0,I.jsx)("div",{className:"mt-1 text-lg text-center",children:x("NO_GROUPS_FOR_DEVICE")}),(0,I.jsx)(v.i1,{nest:!0,path:"/create-group",requirement:me,children:(0,I.jsx)(g.Z,{devices:[{serial:ee,deviceModel:null!==L&&void 0!==L?L:""}],onSuccess:Se})}),(0,I.jsx)(v.i1,{nest:!0,path:"/add-to-group",requirement:me,children:(0,I.jsx)(R,{devices:[{serial:ee,deviceModel:null!==L&&void 0!==L?L:""}],onSuccess:Se})}),(0,I.jsx)(v.i1,{nest:!0,path:"/remove-from-group",requirement:me,children:(0,I.jsx)(u.pf,{action:"REMOVE",name:"RemoveFromGroupsModal",title:x("REMOVE_DEVICE_FROM_GROUP",{count:Ee}),onDelete:Ne,disabled:$,confirmationString:x("CONFIRM_REMOVE_DEVICE_FROM_GROUP",{count:Ee})})})]})},A=function(e){var n,t=e.group,a=e.checked,i=e.showChecks,r=e.onCheck,s=e.changePrecedence,u=e.groupCount,m=e.dragInProgress,g=e.index,T=(0,N.Aj)(),v=(0,h.useState)(!1),E=(0,l.Z)(v,2),_=E[0],C=E[1],A=(0,p.e$C)({variables:{groupId:t.id,scope:p.KZ$.Group,tenantId:T}}),R=A.data,O=A.fetching,b=(0,S.uniqBy)(null===R||void 0===R||null===(n=R.getPolicies)||void 0===n?void 0:n.filter((function(e){return!!e&&!!e.deviceModel})),"deviceModel").length;return(0,I.jsx)(y._l,{draggableId:t.id,index:g,children:function(e,n){return(0,I.jsxs)(c.$t,(0,o.Z)((0,o.Z)({},e.draggableProps),{},{ref:e.innerRef,showChecks:i,checked:a,onCheck:function(){return r()},className:"group-membership-row ".concat(n.isDragging?"dragging":""),style:(0,o.Z)((0,o.Z)({},e.draggableProps.style),{},{position:"static"}),onMouseEnter:function(){C(!m)},onMouseLeave:function(){return C(!1)},children:[(0,I.jsx)("td",{"data-testid":"group-precedence",children:t.precedence}),(0,I.jsx)("td",{children:(0,I.jsx)(f.rU,{to:"/manage/device-groups/details/".concat(t.id),children:t.name})}),(0,I.jsx)("td",{children:t.modelCount}),(0,I.jsx)("td",{children:O?(0,I.jsx)(d.TF,{className:"inline text-left",title:" "}):(0,I.jsx)("span",{"data-testid":"group-policy-count",children:b})}),(0,I.jsx)("td",{children:t.deviceCount}),(0,I.jsx)("td",{className:"move-tools p-5",children:(0,I.jsxs)("span",{className:_?"":"hidden",children:[(0,I.jsx)("span",{"data-testid":"move-top",onClick:function(){return s(t.id,1)},children:(0,I.jsx)(d.si,{icon:"arrow_move_top"})}),(0,I.jsx)("span",{"data-testid":"move-bottom",onClick:function(){return s(t.id,u)},children:(0,I.jsx)(d.si,{icon:"arrow_move_bottom"})}),(0,I.jsx)("span",{"data-testid":"move-up",onClick:function(){return s(t.id,t.precedence-1)},children:(0,I.jsx)(d.si,{icon:"arrow_move_up"})}),(0,I.jsx)("span",{"data-testid":"move-down",onClick:function(){return s(t.id,t.precedence+1)},children:(0,I.jsx)(d.si,{icon:"arrow_move_down"})}),(0,I.jsx)("span",(0,o.Z)((0,o.Z)({},e.dragHandleProps),{},{"data-testid":"drag",children:(0,I.jsx)(d.si,{icon:"move"})}))]})})]}))}},t.id)},R=function(e){var n=e.devices,t=e.onSuccess,i=(0,_.$G)().t,o=(0,s.lm)(),c=(0,l.Z)(o,1)[0],p=(0,u.Ws)(),m=(0,T.yH)(),y=(0,h.useState)(null),g=(0,l.Z)(y,2),v=g[0],E=g[1],S=(0,T.l3)().data,N=null!==S&&void 0!==S?S:[],C=new Set;n.forEach((function(e){N.filter((function(n){return!n.devices.some((function(n){var t;return(null===(t=n.serialNumber)||void 0===t?void 0:t.toLowerCase())===e.serial.toLowerCase()}))})).forEach((function(e){C.add(e.id)}))}));var A=N.map((function(e){return{text:e.name,value:e.id,disabled:!C.has(e.id)}})),R=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(){var r,o,l,u,d,h,y,g,T;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,m(v,n);case 4:r=e.sent,o=r.result,l=o.data,u=o.error,d=r.added,null!==(h=null===l||void 0===l?void 0:l.updateGroup)&&void 0!==h&&h.success?(y=n.length-d,g=y>0?i("ADD_TO_EXISTING_GROUP_SUCCESS_SOME_ALREADY_IN",{added:d,alreadyInGroup:y}):i("ADD_TO_EXISTING_GROUP_SUCCESS",{count:d}),c({type:"success",dismiss:s.GP.DEFAULT,message:(0,I.jsxs)("span",{children:[g,"\xa0",(0,I.jsx)(f.rU,{className:"font-bold",to:(0,f.Gn)("/manage/device-groups/details/:id",{id:v.id}),children:i("VIEW_GROUP")})]}),persistThroughNav:!0}),t&&t(),p()):(null!==h&&void 0!==h&&h.error||u)&&c({type:"error",dismiss:s.GP.DEFAULT,message:null!==(T=(null===h||void 0===h?void 0:h.error)||(null===u||void 0===u?void 0:u.message))&&void 0!==T?T:"err"});case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,I.jsx)(u.PG,{title:i("ADD_TO_EXISTING_GROUP"),onSubmit:R,name:"AddToExistingGroupModal",className:"add-to-group-modal",children:function(e){var n=e.isSubmitting;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("p",{className:"small-text mt-15 mb-15",children:i("ADD_TO_EXISTING_GROUP_NOTE")}),(0,I.jsxs)("div",{className:"groups-dropdown half-width",children:[(0,I.jsx)(d.si,{icon:"search",className:"white"}),(0,I.jsx)(d.sV,{name:"group",value:null===v||void 0===v?void 0:v.id,onChange:function(e){return E(N.filter((function(n){return n.id===e}))[0])},options:A,placeholder:i("GROUP_NAME"),search:!0,inline:!0})]}),(0,I.jsxs)("div",{className:"btn-container",children:[(0,I.jsx)(d.Lw,{onClick:p}),(0,I.jsx)(d.Mm,{isSubmitting:n,disabled:!v,testId:"add",labelKey:"ADD",submittingLabelKey:"SAVING"})]})]})}})}},87976:function(e,n,t){"use strict";t.d(n,{Qu:function(){return o},Yt:function(){return l},nA:function(){return s}});var a=t(90497),i=t(48930),r=t(96902),o=function(e){var n,t,o=(0,i.eYj)({variables:{id:null!==e&&void 0!==e?e:""},pause:!e}),l=o.data,s=o.executor;(0,r.useEffect)((function(){if(e){var n=setInterval((function(){s({requestPolicy:"cache-only"})}),5*a.A6);return function(){return clearInterval(n)}}}),[e,s]);var u=null!==(n=null===l||void 0===l||null===(t=l.device)||void 0===t?void 0:t.callStatus)&&void 0!==n?n:i.gQQ.Unknown;return{status:u,inCall:"IN_CALL"===u}},l=function(e,n){var t,a=(0,i.hdA)({variables:{id:n}}).data;return!(null===e||void 0===e||!e.hardwareModel)&&((null===a||void 0===a?void 0:a.hardwareModel.name)===e.hardwareModel||!(null===a||void 0===a||null===(t=a.hardwareModel.aliases)||void 0===t||!t.includes(e.hardwareModel)))},s=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,t={variables:{filter:{AND:[{field:"hardwareModel",contains:"Lens"},{field:"hardwareModel",contains:"Relay"},{field:"tenantId",eq:e}]},limit:n,sort:{fields:[{name:"name",direction:i.ZuM.Asc}]},from:0}},a=(0,i.Nfs)(t),r=a.data,o=a.fetching;return o?[]:(null===r||void 0===r?void 0:r.devices)||[]}},4574:function(e,n,t){"use strict";t.d(n,{u:function(){return a}});var a=function(e){var n,t;if(e&&0!==e.total)return null===(n=e.edges)||void 0===n||null===(t=n.map((function(e){return e.node})))||void 0===t?void 0:t.reduce((function(e,n){var t=i(e.map((function(e){return{id:e.targetEntityId,type:e.type,connected:e.connected}})),{id:n.targetEntityId,connected:n.connected,type:n.type}),a=t.replace,r=t.index,o=t.add;return a?e[r]=n:o&&e.push(n),e}),[])},i=function(e,n){var t,a,i=!1,r=!1,o=e.findIndex((function(e){return e.id.toLocaleLowerCase()===n.id.toLocaleLowerCase()}));o>=0?0===(null===(t=e[o].type)||void 0===t?void 0:t.length)&&0!==(null===(a=n.type)||void 0===a?void 0:a.length)&&(i=!0):r=!0;return{replace:i,index:o,add:r}}},10089:function(e,n,t){"use strict";t.d(n,{T:function(){return h}});t(96902);var a=t(82933),i=t(88341),r=t(25825),o=t(65860),l=t(97318),s=t(48930),u=t(8960),c=t(90497),d=t(21645),p=t(96199),f=t(29938),m=function(e){var n,t,a,i,u=e.license,m=e.availableLicenseCount,h=e.assignedLicenseCount,y=(0,r.$G)().t,g=y(s.oji.PolyPlusElite===u.type?"ELITE":u.type.startsWith("POLY_PLUS_ENTERPRISE")?"POLY_PLUS_ENTERPRISE":u.type),T=[{key:"licenseType",label:y("TYPE"),content:(0,f.jsx)("p",{children:g})},{key:"activationDate",label:y("DATE_ADDED"),content:(0,f.jsx)("p",{children:(0,d.wv)(null===u.activationDate?"":(0,p.p6)(u.activationDate,c.zT.DATE_TIME_OFFSET_SHORT))})},{key:"endDate",label:y("EXPIRATION"),content:(0,f.jsx)("p",{children:(0,d.wv)(null===u.endDate?"":(0,p.p6)(u.endDate,c.zT.DATE_TIME_OFFSET_SHORT))})},{key:"userId",label:y("ACTIVATED_BY"),content:(0,f.jsx)("p",{children:(0,d.wv)(null!==(n=u.userId)&&void 0!==n?n:"")})},{key:"sku",label:y("SKU"),content:(0,f.jsx)("p",{children:(0,d.wv)(null!==(t=u.sku)&&void 0!==t?t:"")})},{key:"skuDescription",label:y("SKU_DESCRIPTION"),content:(0,f.jsx)("p",{children:(0,d.wv)(null!==(a=null===(i=u.details)||void 0===i?void 0:i.ServicelineSkuDesc)&&void 0!==a?a:"")})},{key:"quantity",label:y("QUANTITY"),content:(0,f.jsx)("p",{children:u.quantity})}];return s.oji.Clariti===u.type&&(T.push({key:"assigned",label:y("ASSIGNED"),content:(0,f.jsx)("p",{children:h})}),T.push({key:"available",label:y("AVAILABLE"),content:(0,f.jsx)("p",{children:m})})),(0,f.jsxs)(l.$,{children:[(0,f.jsx)(l.$.Header,{children:y("LICENSE_KEY_INFORMATION")}),(0,f.jsx)(o.Zb,{className:"table-card full-width",children:(0,o.eR)(T,3)})]})},h=function(){var e=(0,r.$G)().t,n=(0,a.$B)().params.licenseKey,t=(0,s.mj7)({variables:{licenseKey:n}}),o=t.data,l=t.fetching,c=!!(0,a.$B)("/manage/licensing/poly-plus"),d=!!(0,a.$B)("/manage/licensing/clariti");if(l)return(0,f.jsx)(u.TF,{});if(!o)return(0,f.jsx)(u.Jp,{});var p=o.license.quantity,h=o.license.quantity-p,y=i.A.Sidebar,g=i.A.Content;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(y,{children:[(0,f.jsx)("span",{className:"title-capitalized",children:e(c?"POLY_PLUS":d?"CLARITI":"LICENSING")}),(0,f.jsx)("ul",{className:"menu router",children:(0,f.jsx)("li",{children:(0,f.jsx)(a.OL,{nest:!0,to:"",children:e("OVERVIEW")})})})]}),(0,f.jsxs)(g,{className:"license-details","data-testid":"license-details",children:[(0,f.jsxs)(g.Title,{children:[e("LICENSE_KEY")," ",(0,f.jsxs)("p",{children:["| ",n]})]}),(0,f.jsx)(m,{license:o.license,availableLicenseCount:p,assignedLicenseCount:h})]})]})}},8825:function(e,n,t){"use strict";t.d(n,{p:function(){return m}});t(96902);var a=t(82933),i=t(25825),r=t(88341),o=t(67410),l=t(10089),s=t(48930),u=t(8960),c=t(55906),d=t(1987),p=t(54831),f=t(29938),m=function(){var e=(0,i.$G)().t,n=(0,d.Aj)(),t=(0,c.l)(),m=(0,p.zf)((0,p.Vd)("get:polypluslicense")),h=(0,s.FGc)({variables:{tenantId:n,type:t,canceled:!1},pause:!m}),y=h.data,g=h.fetching,T=r.A.Content;return m?(0,f.jsxs)(a.rs,{nest:!0,children:[(0,f.jsx)(a.AW,{path:"/details/:licenseKey",children:(0,f.jsx)(l.T,{})}),(0,f.jsx)(a.AW,{path:"",children:(0,f.jsx)(T,{className:"licensing-overview",children:null!==y&&void 0!==y&&y.licenseCount?(0,f.jsx)(o.w,{}):g?(0,f.jsx)(u.TF,{}):(0,f.jsx)(u.c7,{title:e("NO_LICENSES_FOUND")})})})]}):(0,f.jsxs)(T,{className:"licensing-overview",children:[(0,f.jsx)(T.Title,{className:"mb-1",children:e("LICENSE_KEYS")}),(0,f.jsx)("p",{className:"mb-15",children:e("LICENSE_KEYS_PERMISSIONS_INFO")})]})}},67410:function(e,n,t){"use strict";t.d(n,{w:function(){return T}});var a=t(16798),i=t(99710),r=t(96902),o=t(8893),l=t.n(o),s=t(82933),u=t(25825),c=t(62178),d=t(82192),p=t(43214),f=t(55906),m=t(8960),h=t(21645),y=t(29938),g=function(e){var n=e.data,t=e.columns,a=e.updateCursor,o=(0,r.useState)(!1),u=(0,i.Z)(o,2),c=u[0],f=u[1],m=d.ji.LICENSES.COLUMNS;return(0,y.jsx)(l(),{active:!c,offset:{bottom:-300},onChange:function(e){e&&(f(e),a())},children:(0,y.jsx)(p.$t,{showChecks:!1,onCheck:function(){},checked:!1,children:t.map((function(e){var t,a=e.key;switch(a){case m.LICENSE_KEY:t=(0,y.jsx)(s.rU,{nest:!0,to:(0,s.Gn)("/details/:licenseKey",{licenseKey:n.licenseKey}),children:n.licenseKey});break;case m.ACTIVATION_DATE:case m.END_DATE:case m.USER_ID:t=(0,h.wv)(n[a]);break;default:t=n[a]}return(0,y.jsx)("td",{children:t},a)}))},n.licenseKey)})},T=function(){var e,n=(0,u.$G)().t,t=!!(0,s.$B)("/manage/licensing/license-keys"),r=!!(0,s.$B)("/manage/licensing/poly-plus/license-keys"),o=t||r,l=(0,s.XC)("sort",{field:"licenseKey",direction:"ASC"}),h=(0,i.Z)(l,2),T=h[0],v=h[1],E=(0,f.x)(),_=E.licenses,S=E.loading,N=E.updateCursor,I=d.ji.LICENSES,C=I.NAME,A=I.COLUMNS,R=(0,c.v9)((function(e){var n,t;return null!==(n=null===(t=e.userMeta)||void 0===t?void 0:t.tables[C])&&void 0!==n?n:{}})),O=R[d.oM.SHOWN],b=R[d.oM.HIDDEN],L=(e={},(0,a.Z)(e,A.LICENSE_KEY,n("KEY")),(0,a.Z)(e,A.TYPE,n("TYPE")),(0,a.Z)(e,A.ACTIVATION_DATE,n("DATE_ADDED")),(0,a.Z)(e,A.END_DATE,n("EXPIRATION")),(0,a.Z)(e,A.QUANTITY,n("QUANTITY")),(0,a.Z)(e,A.USER_ID,n("ACTIVATED_BY")),e),k=(0,p.Pu)(O.filter((function(e){return o||e!==A.TYPE})),L),D=(0,p.Pu)(b.filter((function(e){return o||e!==A.TYPE})),L),x=function(e){if("type"!==e)return{currentSort:T,onSort:function(e){return v(e)}}},P=r?_.filter((function(e){return"Clariti"!==e.type})):_,U=P?P.length:0;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"table-heading",children:[(0,y.jsx)("span",{className:"metric",children:U}),(0,y.jsx)("span",{className:"title ml-5",children:n("LICENSE_KEY",{count:U})})]}),(0,y.jsx)("div",{className:"grouping mb-15 table-actions","data-testid":"licensing-table",children:(0,y.jsx)(p.Eo,{search:{onSearch:function(){}},edit:{tableName:C,shownColumns:k,hiddenColumns:D}})}),(0,y.jsx)("div",{className:"table-container mb-4",children:(0,y.jsxs)("table",{className:"table custom-table",children:[(0,y.jsx)("thead",{children:(0,y.jsx)("tr",{children:k.map((function(e){var n=e.key,t=e.title;return(0,y.jsx)(p.jr,{fieldName:n,title:t,sort:x(n)},n)}))})}),(0,y.jsxs)(p.RM,{loading:S,cols:k.length-1,accommodateScrollbar:!0,children:[P.map((function(e,n){return(0,y.jsx)(g,{data:e,columns:k,updateCursor:function(){return N(n)}},e.licenseKey)})),S||P.length?null:(0,y.jsx)("tr",{children:(0,y.jsx)("td",{children:(0,y.jsx)(m.Jp,{className:"inline mt-5",title:n("NO_LICENSES_FOUND")})})})]})]})})]})}},55906:function(e,n,t){"use strict";t.d(n,{l:function(){return f},x:function(){return m}});var a=t(99710),i=t(48930),r=t(82933),o=t(1987),l=t(96902),s=t(96199),u=t(25825),c=t(58630),d=t(90497),p={licenseKey:i.u4M.LicenseKey,quantity:i.u4M.Quantity,activationDate:i.u4M.ActivationDate,endDate:i.u4M.EndDate,userId:i.u4M.UserId},f=function(){var e;return(0,r.$B)("/manage/licensing/clariti/license-keys")&&(e=i.rgu.Clariti),(0,r.$B)("/manage/licensing/poly-plus/mock-licenses")&&(e=i.rgu.MockOnly),e},m=function(){var e,n=(0,u.$G)().t,t=(0,o.Aj)(),m=f(),h=(0,r.dX)("type")[0],y=(0,r.XC)("sort",{field:"licenseKey",direction:i.nkS.Asc}),g=(0,a.Z)(y,1)[0],T=(0,c.n0)(),v=(0,a.Z)(T,1)[0],E=(0,l.useState)(0),_=(0,a.Z)(E,2),S=_[0],N=_[1],I=(0,i.NXz)({variables:{tenantId:t,type:null!==m&&void 0!==m?m:h,searchTerm:v,canceled:!1,limit:100,from:S,sort:{field:p[g.field],direction:g.direction}}}),C=I.data,A=I.fetching,R=I.stale;(0,l.useEffect)((function(){N(0)}),[v,h,g.direction,g.field]);var O=null!==(e=null===C||void 0===C?void 0:C.licenses.map((function(e){var t,a;return{licenseKey:null!==(t=e.licenseKey)&&void 0!==t?t:"",type:i.oji.PolyPlusElite===e.type?n("ELITE"):e.type.startsWith("POLY_PLUS_ENTERPRISE")?n("POLY_PLUS_ENTERPRISE"):n(e.type),activationDate:null===e.activationDate?"":(0,s.p6)(e.activationDate,d.zT.DATE_TIME_OFFSET_SHORT),endDate:null===e.endDate?"":(0,s.p6)(e.endDate,d.zT.DATE_TIME_OFFSET_SHORT),quantity:e.quantity.toString(),userId:null!==(a=e.userId)&&void 0!==a?a:""}})))&&void 0!==e?e:[];return{licenses:O,loading:A||R&&0===O.length,updateCursor:function(e){C&&e===C.licenses.length-1&&C.licenses.length=f.ActivationInitiated)return(0,v.Z)({},e);var a=(0,v.Z)({},e.licensesByKey);delete a[n.payload.licenseKey];var i=b(a),r=0===i.length?f.InputLicenseKeys:e.stage;return(0,v.Z)((0,v.Z)({},e),{},{licensesByKey:a,tableData:i,stage:r});case m.ProcessLicenseInfo:var o=n.payload?(0,v.Z)((0,v.Z)({},e.licensesByKey),{},(0,T.Z)({},n.payload.licenseKey,n.payload.licenses)):(0,v.Z)({},e.licensesByKey),l=b(o),s=f.ReviewLicenseInfo;return(0,v.Z)((0,v.Z)({},e),{},{licensesByKey:o,tableData:l,stage:s});case m.InitiateActivation:return(0,v.Z)((0,v.Z)({},e),{},{stage:f.ActivationInitiated});case m.WaitForResults:return(0,v.Z)((0,v.Z)({},e),{},{stage:f.ActivationInProgress});case m.Complete:return(0,v.Z)((0,v.Z)({},e),{},{stage:f.Completed})}},k={stage:f.InputLicenseKeys,licensesByKey:{},tableData:[]},D=t(29938),x=function(e){var n,t,a=e.licenseKeys,i=e.models,o=e.stage,l=e.onDelete,s=(0,r.$G)().t;switch(o){case f.InputLicenseKeys:n="active",t="inactive";break;case f.ReviewLicenseInfo:case f.ActivationInitiated:case f.ActivationInProgress:n="completed",t="active";break;case f.Completed:n="completed",t="completed"}return(0,D.jsxs)("div",{className:"setup-progress",children:[(0,D.jsxs)("div",{className:n,children:[(0,D.jsxs)("div",{children:[(0,D.jsx)("div",{className:"circle",children:(0,D.jsx)("div",{className:"check"})}),(0,D.jsx)("div",{className:"bar"})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("label",{children:s("ACTIVATION_KEYS")}),a.map((function(e,n){return(0,D.jsxs)("div",{className:"entered-key d-flex",children:[(0,D.jsx)("p",{className:"mr-5",children:e}),on.priority)return-1;if(e.priority===n.priority){if(e.updatedAtn.updatedAt)return-1}return 0}));(0,s.useEffect)((function(){l((0,o.q0)({key:"hardwareModel",scope:i.T3.Device,value:(null===a||void 0===a?void 0:a.name)||"",id:(null===a||void 0===a?void 0:a.id)||""}))}),[l,a,c]);var f={};return(c||[]).forEach((function(e){var n=(0,i.fE)(e.capabilities);n&&Object.keys(n).forEach((function(n){var t;n&&(f[n]={scope:p(e.type),id:(null===(t=e.collectionRule)||void 0===t?void 0:t.value)||"",value:""})}))})),(0,u.jsx)(u.Fragment,{children:(Object.keys(f)||[]).map((function(e,t){return(0,u.jsx)(d,{deviceName:(null===n||void 0===n?void 0:n.name)||"",modelName:(null===a||void 0===a?void 0:a.name)||"",scope:f[e].scope,id:f[e].id,accessorKey:e},t)}))})},d=function(e){var n,t,c,d=e.deviceName,p=e.modelName,f=e.scope,m=e.id,h=e.accessorKey,y=(0,r.I0)(),g=(0,l.Aj)(),T=(0,a.oqH)({variables:{id:m,tenantId:g},pause:!g||f!==i.T3.User_Group}).data,v=null!==(n=null===T||void 0===T?void 0:T.getUserGroup.name)&&void 0!==n?n:"",E=(0,a.swV)({variables:{id:m},pause:f!==i.T3.Site}).data,_=null!==(t=null===E||void 0===E||null===(c=E.siteName)||void 0===c?void 0:c.name)&&void 0!==t?t:"",S="Unknown Policy Name";return f===i.T3.Device&&(S=d),f===i.T3.User_Group&&(S=v),f===i.T3.Site&&(S=_),f===i.T3.Model&&(S=p),(0,s.useEffect)((function(){"hardwareModel"!==h&&y((0,o.q0)({key:h,scope:f,id:m,value:S}))}),[y,f,h,m,S]),(0,u.jsx)(u.Fragment,{})},p=function(e){switch(e){case"site":return i.T3.Site;case"group":return i.T3.Group;case"model":return i.T3.Model;case"user_group":return i.T3.User_Group;default:return i.T3.Device}}},51106:function(e,n,t){"use strict";t.d(n,{qQ:function(){return k},ZP:function(){return Z}});var a=t(82333),i=t(81034),r=t(85358),o=t(95764),l=t(99710),s=t(96902),u=t(25825),c=t(90497),d=t(8960),p=t(82933),f=t(60122),m=t(3541),h=t(65860),y=t(90666),g=t(48930),T=t(88341),v=t(47734),E=t(769),_=t(25796),S=t(9363),N=t(87594),I=t(21645),C=t(29938),A=["capacity","extras","isPcRoomRegistration","roomName"],R=function(e){return E.Z_().label(u.ZP.t(e)).required().default("")},O=E.Ry({tenantId:R("TENANT_ID").required(),registrationCode:R("DEVICE_PIN").required(u.ZP.t("FORM_VALIDATE_PIN_CODE")).length(6).matches(/[123456789ABCDEFGHIJKLMNPRSTUVWXYZ]{6}/i,u.ZP.t("FORM_VALIDATE_PIN_CODE")),isPcRoomRegistration:E.O7().default(!1),deviceName:R("DEVICE_NAME").notRequired().when("isPcRoomRegistration",{is:function(e){return!1===e},then:E.Z_().required()}),roomName:R("ROOM_NAME").required(),floorName:R("FLOOR_NAME").notRequired(),capacity:R("CAPACITY").notRequired(),siteName:R("SITE_NAME").notRequired().when("isPcRoomRegistration",{is:function(e){return!1===e},then:E.Z_().required()}),siteAddress:E.Ry({address1:E.Z_().notRequired().when("isPcRoomRegistration",{is:function(e){return!1===e},then:R("ADDRESS").required(u.ZP.t("SELECT_ADDRESS_ERROR"))}),geohash:R("GEOHASH").notRequired()}).notRequired().default(void 0),extras:E.Ry({fromLookup:E.O7().notRequired().default(!1)})}),b=O.default(),L=function(e){if(e&&e.address){var n=e.address,t=n.geohash;return{address1:n.formattedAddress||"",geohash:t||""}}return null};function k(e){var n=e.siteNameKey,t=e.setSiteAddressDisabled,a=(0,v.Z)(),i=a.roomsRef,r=a.siteMeta,u=(0,m.u6)(),c=u.values,d=u.setValues,p=function(e){var t=e[n];return(0,S.isString)(t)?t:""}(c),f=(0,s.useState)(""),h=(0,l.Z)(f,2),y=h[0],g=h[1],T=y!==p;return(0,s.useEffect)((function(){if(T&&r&&p){var e,n=r.sites.find((function(e){return e.id===p})),a=null!==(e=L(n))&&void 0!==e?e:c.siteAddress;if(!n){var i,l=r.sites.find((function(e){return e.name===p}));a=null!==(i=L(l))&&void 0!==i?i:{address1:"",geohash:""}}if("function"===typeof t){var s,u=!(null===(s=a)||void 0===s||!s.address1)||(0,I.j_)(p);t(u)}d((0,o.Z)((0,o.Z)({},c),{},{roomName:"",floorName:"",capacity:"",siteAddress:a})),g(p)}else T&&""===p&&(d((0,o.Z)((0,o.Z)({},c),{},{roomName:"",floorName:"",capacity:"",siteAddress:""})),g(""))}),[g,i,d,r,p,T,c,t]),(0,C.jsx)(C.Fragment,{})}var D=function(){var e=(0,m.u6)(),n=e.values,t=e.setValues,a=(0,p.dX)("tenantId"),i=(0,l.Z)(a,1)[0],r=null!==i&&void 0!==i?i:"";return(0,s.useEffect)((function(){r!==n.tenantId&&t((0,o.Z)((0,o.Z)({},n),{},{tenantId:r,deviceName:"",siteName:"",roomName:"",floorName:"",capacity:""}))}),[n,t,r]),null},x=function(){var e,n=(0,u.$G)().t,t=(0,g.$nV)().data,a=(null!==(e=null===t||void 0===t?void 0:t.tenants)&&void 0!==e?e:[]).map((function(e){return{value:e.id,text:e.name||n("UNKNOWN_TENANT")}})).sort((function(e,n){return e.text.localeCompare(n.text,void 0,{sensitivity:"base"})})),i=(0,m.u6)(),r=i.values,s=i.setValues,c=(0,p.dX)("tenantId"),d=(0,l.Z)(c,2)[1];return(0,C.jsx)(m.dp,{label:n("ACCOUNT"),name:"tenantId",options:a,onSelectionChange:function(e){s((0,o.Z)((0,o.Z)({},r),{},{deviceName:"",siteName:"",roomName:"",floorName:"",capacity:""})),d(e)}})},P=function(e){var n=(0,m.u6)(),t=n.values,a=n.setValues,i=(0,v.Z)().siteMeta,r=(0,s.useState)(""),u=(0,l.Z)(r,2),c=u[0],d=u[1];return(0,s.useEffect)((function(){if(t.roomName!==c){var e,n,r,l=t.siteName?null===i||void 0===i?void 0:i.sites.find((function(e){return e.name===t.siteName})):void 0,s=t.roomName?null===l||void 0===l?void 0:l.rooms.find((function(e){return e.name===t.roomName})):void 0;a((0,o.Z)((0,o.Z)({},t),{},{floorName:null!==(e=null===s||void 0===s?void 0:s.floor)&&void 0!==e?e:"",capacity:null!==(n=null===s||void 0===s||null===(r=s.capacity)||void 0===r?void 0:r.toString())&&void 0!==n?n:""})),d(t.roomName||"")}}),[c,t,a,i,d]),(0,C.jsx)(m.dp,(0,o.Z)((0,o.Z)({},e),{},{customValue:!0,search:!0,selectOnInput:!0}))},U=function(){var e=(0,u.$G)().t;return(0,C.jsxs)("div",{className:"help",children:[(0,C.jsx)("span",{className:"mr-1",children:e("DEVICE_PIN_HELP")}),(0,C.jsxs)(d.eE,{icon:"circle_help",iconPosition:"right",position:"bottom",title:e("DEVICE_PIN_TOOLTIP_TITLE"),iconTitle:"help",className:"link",children:[(0,C.jsx)("p",{children:e("DEVICE_PIN_TOOLTIP_MESSAGE")}),(0,C.jsx)(d.BQ,{location:c.fy.PIN_ONBOARDING,children:e("READ_THE_DOCUMENTATION")})]})]})},w=function(){var e=(0,u.$G)().t;return(0,C.jsx)("div",{className:"floating-label-filter",children:(0,C.jsxs)("label",{htmlFor:"isPcRoomRegistration",className:"checkbox-wrap",children:[(0,C.jsx)(m.gN,{name:"isPcRoomRegistration",type:"boolean",children:function(e){var n=e.field;e.meta,e.form;return(0,C.jsx)("input",(0,o.Z)({type:"checkbox",id:"isPcRoomRegistration",className:"mr-14"},n))}}),e("USE_PC_ROOM_REGISTRATION"),(0,C.jsx)(d.eE,{icon:"circle_help",iconPosition:"right",position:"bottom",iconTitle:"help",children:(0,C.jsx)("p",{children:e("PC_ROOM_REGISTRATION_TOOLTIP")})})]})})},M=function(e){e.values,e.setValues;var n=e.isSubmitting,t=e.isValid,a=(0,u.$G)().t;return(0,C.jsxs)("div",{children:[(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{label:a("DEVICE_PIN"),name:"registrationCode",tabIndex:1})}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(x,{})}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{label:a("ROOM_NAME"),name:"roomName",tabIndex:2})}),(0,C.jsx)(m.ZA,{className:"text-center mt-2",children:(0,C.jsx)(d.Mm,{isSubmitting:n,disabled:!t,className:"btn btn-primary btn-wide",labelKey:"REGISTER_DEVICE",submittingLabelKey:"REGISTERING"})})]})},V=function(e){var n=e.sites,t=e.roomsForSite,a=e.values,i=e.setValues,r=e.setFieldValue,l=e.siteAddressDisabled,s=e.isSubmitting,c=e.isValid,p=(0,u.$G)().t;return(0,C.jsxs)("div",{children:[(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{label:p("DEVICE_PIN"),name:"registrationCode",tabIndex:1})}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{label:p("DEVICE_NAME"),name:"deviceName",tabIndex:2})}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(x,{})}),(0,C.jsx)("p",{className:"help pt-15",children:p("DEVICE_LOCATION_DETAILS_HELP")}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.dp,{label:p("SITE_NAME"),name:"siteName",options:n,tabIndex:3,customValue:!0,search:!0,selectOnInput:!0})}),(0,C.jsx)(P,{label:p("ROOM_NAME"),name:"roomName",options:t,tabIndex:4}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{label:p("FLOOR_NAME"),name:"floorName",tabIndex:5})}),(0,C.jsx)(m.ZA,{children:(0,C.jsx)(m.II,{name:"capacity",label:p("CAPACITY_OPTIONAL"),tabIndex:6,type:"number",onKeyPress:f.r,onChange:function(e){r("capacity",!e.target.value||Number(e.target.value)>=0?e.target.value:a.capacity)}})}),(0,C.jsx)(m.ZA,{className:"pb-3",children:(0,C.jsx)(m.Jg,{tabIndex:7,placeholder:!0,name:"siteAddress.address1",disabled:l,placeholderLabel:p(l?"UNKNOWN":"SITE_ADDRESS"),onSelect:function(e){var n=e.geohash,t=e.formattedAddress;i((0,o.Z)((0,o.Z)({},a),{},{siteAddress:{geohash:n||void 0,address1:t||void 0}}))}})}),(0,C.jsx)(m.ZA,{className:"text-center mt-2",children:(0,C.jsx)(d.Mm,{isSubmitting:s,disabled:!c,className:"btn btn-primary btn-wide",labelKey:"REGISTER_DEVICE",submittingLabelKey:"REGISTERING"})})]})},j=function(e){var n,t=e.onSubmit,a=e.initialPin,i=(0,v.Z)(),r=i.sitesWithNames,u=i.siteMeta,c=(0,s.useState)(!1),d=(0,l.Z)(c,2),p=d[0],f=d[1],h=(0,o.Z)((0,o.Z)({},b),{},{deviceName:b.deviceName||"",floorName:b.floorName||"",capacity:(null===(n=b.capacity)||void 0===n?void 0:n.toString())||"",roomName:b.roomName||"",siteName:b.siteName||"",registrationCode:a||"",tenantId:b.tenantId||"",isPcRoomRegistration:b.isPcRoomRegistration,siteAddress:{address1:"",geohash:""}});r=r.filter((function(e){return!(0,I.j_)(e.text)}));var y=[];return(0,C.jsx)(m.J9,{name:"RegisterDevice",initialValues:h,validationSchema:O,validate:function(e){var n=e.siteName?null===u||void 0===u?void 0:u.sites.find((function(n){return n.name===e.siteName})):void 0;y=n&&n.rooms.length?n.rooms.map((function(e){return{text:e.name,value:e.name}})):[]},onSubmit:t,children:function(e){var n=e.isSubmitting,t=e.setValues,a=e.setFieldValue,i=e.values,o=e.isValid,l=i.isPcRoomRegistration;return(0,C.jsx)("div",{className:"grid register-device-container",children:(0,C.jsx)("div",{className:"col-12 col-lg-6 offset-lg-3 col-md-8 offset-md-2",children:(0,C.jsxs)(m.l0,{className:"form",children:[(0,C.jsx)(w,{}),(0,C.jsx)(U,{}),(0,C.jsx)(D,{}),(0,C.jsx)(k,{initialValues:h,siteNameKey:"siteName",setSiteAddressDisabled:f}),l&&(0,C.jsx)(M,{values:i,setValues:t,isSubmitting:n,isValid:o}),!l&&(0,C.jsx)(V,{sites:r,roomsForSite:y,values:i,setValues:t,setFieldValue:a,siteAddressDisabled:p,isSubmitting:n,isValid:o})]})})})}})},F=function(e){var n=e.deviceId,t=(0,u.$G)().t;return(0,C.jsxs)("span",{children:[t("DEVICE_REGISTRATION_SUCCESS_1"),(0,C.jsx)(p.rU,{to:(0,_.Gn)("/manage/inventory/details/:deviceId",{deviceId:n}),children:t("DEVICE_REGISTRATION_SUCCESS_2")}),t("DEVICE_REGISTRATION_SUCCESS_3")]})},B=function(e){var n=e.onSubmit,t=(0,p.dX)("device-pin"),a=(0,l.Z)(t,1)[0],i=(0,u.$G)().t,r=T.A.Content;return(0,C.jsx)(T.A,{children:(0,C.jsx)("div",{className:"register-device",children:(0,C.jsxs)(r,{scrolling:!0,children:[(0,C.jsx)("div",{className:"grid",children:(0,C.jsx)("div",{className:"col-12 col-12-np col-xl-6 offset-xl-3 col-lg-8 offset-lg-2 col-sm-10 offset-sm-1",children:(0,C.jsx)(r.Title,{children:i("REGISTER_DEVICE")})})}),(0,C.jsx)(r.ScrollingList,{children:(0,C.jsx)("div",{className:"grid",children:(0,C.jsx)("div",{className:"col-12 col-12-np col-xl-6 offset-xl-3 col-lg-8 offset-lg-2 col-sm-10 offset-sm-1",children:(0,C.jsx)(h.Zb,{className:"padded",children:(0,C.jsx)(j,{onSubmit:n,initialPin:a||""})})})})})]})})})},Z=function(){var e=(0,p.dX)("device-pin"),n=(0,l.Z)(e,3)[2],t=(0,g.WWf)(),d=(0,l.Z)(t,2)[1],f=(0,y.lm)(),m=(0,l.Z)(f,1)[0],h=(0,s.useState)(!0),T=(0,l.Z)(h,2),v=T[0],E=T[1],_=(0,u.$G)().t,S=function(){return(0,C.jsxs)("div",{className:"register-success",children:[(0,C.jsxs)("div",{className:"info",children:[(0,C.jsx)("h1",{children:_("DEVICE_REGISTERED")}),(0,C.jsx)("p",{children:_("MOBILE_DIRECTIONS")})]}),(0,C.jsx)("button",{"data-testid":"register",onClick:function(){return E(!0)},children:_("REGISTER_ANOTHER")})]})},I=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(t,r){var l,s,u,p,f,h,g,T,v,S;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=r.resetForm,s=r.setFieldValue,u=t.capacity,t.extras,p=t.isPcRoomRegistration,f=t.roomName,h=(0,i.Z)(t,A),g=(0,o.Z)({capacity:u?parseInt(u):-1,isPCRoom:p,roomName:f},h),p&&(g.deviceName=f),e.next=6,d({device:g},{notify:{i18nKey:"TRY_AGAIN",dismiss:y.GP.USER_ONLY}});case 6:(T=e.sent).data&&(a=p,(I=T.data.registerDevice).success?N.tq||m({type:"success",message:(0,C.jsx)(F,{deviceId:I.deviceId||""}),dismiss:y.GP.DEFAULT}):I.error===c.OS?m(a?{type:"info",message:"".concat(_("USE_DEVICE_REGISTRATION_NOTIFICATION")),dismiss:y.GP.SLOW}:{type:"info",message:"".concat(_("USE_PC_ROOM_REGISTRATION_NOTIFICATION")),dismiss:y.GP.SLOW}):m({type:"error",message:"".concat(_("DEVICE_REGISTRATION_FAILED"),": ").concat(I.error,"."),dismiss:y.GP.SLOW}),T.data.registerDevice.success?(S=(0,o.Z)((0,o.Z)({},b),{},{deviceName:b.deviceName||"",floorName:b.floorName||"",capacity:(null===(v=b.capacity)||void 0===v?void 0:v.toString())||"",roomName:b.roomName||"",siteName:b.siteName||"",registrationCode:"",tenantId:b.tenantId||"",isPcRoomRegistration:p,siteAddress:{address1:"",geohash:""}}),l({values:(0,o.Z)({},S)})):s("registrationCode",""),n(),E(!N.tq));case 8:case"end":return e.stop()}var a,I}),e)})));return function(n,t){return e.apply(this,arguments)}}();return v?(0,C.jsx)(B,{onSubmit:I}):(0,C.jsx)(S,{})}},47734:function(e,n,t){"use strict";var a=t(96902),i=t(48930),r=t(90497),o=t(1987),l=function(e,n){return e.text.localeCompare(n.text,void 0,{sensitivity:"base"})};n.Z=function(){var e=(0,o.Aj)(),n=[],t=[],s=(0,a.useRef)([]),u=(0,i.wsN)({variables:{tenantId:e!==r.sN?e:void 0}}).data;if(u&&u.sites){n=u.sites.map((function(e){return{text:e.name,value:e.id}})).sort(l),t=u.sites.map((function(e){return{text:e.name,value:e.name}})).sort(l);var c=new Set;u.sites.forEach((function(e){e.rooms.forEach((function(e){c.add(e.name)}))})),s.current=Array.from(c).map((function(e){return{text:e,value:e}})).sort(l)}return{sites:n,roomsRef:s,siteMeta:u,sitesWithNames:t}}},87591:function(e,n,t){"use strict";t.d(n,{l:function(){return U},E:function(){return P}});var a=t(95764),i=t(16798),r=t(99710),o=t(43214),l=t(58141),s=t(8960),u=t(48930),c=t(82933),d=t(1987),p=t(96902),f=t(62178),m=t(82192),h=t(73451),y=t(25825),g=t(30290),T=t(21645),v=t(50789),E=t(88341),_=t(82333),S=t(85358),N=t(58512),I=t(10631),C=t(3541),A=t(37718),R=t(769),O=t(29938),b=R.Ry({name:R.Z_().required(),content:R.Z_().required(),size:R.Rx().required().max(3670016,y.ZP.t("RESOURCE_FILE_SIZE_ERROR",{size:3.5}))}),L=function(){var e=(0,y.$G)().t,n=(0,I.lm)(),t=(0,r.Z)(n,1)[0],i=(0,p.useState)(!1),o=(0,r.Z)(i,2),l=o[0],c=o[1],f=(0,A.Ws)(),m=(0,u.obk)(),h=(0,r.Z)(m,2)[1],g=(0,d.Aj)(),T=(0,N.D3)().user,v=function(){var n=(0,S.Z)((0,_.Z)().mark((function n(a){var i,o,l,s,u,d,p,m,y,v,E,S,N;return(0,_.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c(!0),n.next=3,h({file:a.content,fileName:a.name,fileSize:a.size,tenantId:g,userId:T.email});case 3:s=n.sent,u=s.data,s.error||null!==u&&void 0!==u&&null!==(i=u.addResourceFile)&&void 0!==i&&null!==(o=i.errors)&&void 0!==o&&o.length||null===u||void 0===u||null===(l=u.addResourceFile)||void 0===l||!l.status?(v=null!==(d=null===u||void 0===u||null===(p=u.addResourceFile)||void 0===p||null===(m=p.errors)||void 0===m||null===(y=m[0])||void 0===y?void 0:y.split(" "))&&void 0!==d?d:[],E=(0,r.Z)(v,1),S=E[0],N="".concat(e("ERROR_ADDING_RESOURCE_FILE"),"\n").concat("FILE_ALREADY_EXISTS"===S?e("FILE_ALREADY_EXISTS"):""),t({type:"error",message:N,dismiss:I.GP.DEFAULT,persistThroughNav:!0})):t({type:"success",message:e("SUCCESSFULLY_ADDED_RESOURCE_FILE"),dismiss:I.GP.DEFAULT,persistThroughNav:!0}),c(!1),f();case 9:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return(0,O.jsx)(A.Yr,{name:"AddResourceFileModal",title:e("ADD_RESOURCE_FILE"),validationSchema:b,initialValues:{name:"",content:"",size:0},onSubmit:v,children:function(n){var t=n.values,i=n.setValues,r=n.isValid,o=n.dirty,u=n.errors;return(0,O.jsxs)(C.l0,{children:[(0,O.jsxs)("div",{className:"mt-1",children:[(0,O.jsx)(s.b_,{onUpload:function(e){i((0,a.Z)((0,a.Z)({},t),{},{name:e.name,content:e.content,size:e.size}))},readyText:e("RESOURCE_FILE_UPLOAD_TEXT"),draggingText:e("DROP_FILE"),errorText:e("ERROR_ADDING_RESOURCE_FILE"),returnAs:"base64"}),u.size&&(0,O.jsx)("div",{className:"has-error",children:(0,O.jsx)("span",{className:"error-message",children:e("RESOURCE_FILE_SIZE_ERROR",{size:3.5})})})]}),(0,O.jsxs)("div",{className:"btn-container",children:[(0,O.jsx)(s.Lw,{onClick:f,disabled:l}),(0,O.jsx)(s.Mm,{isSubmitting:l,disabled:!r||!o,labelKey:"ADD",submittingLabelKey:"ADDING",testId:"add-resource-file"})]})]})}})},k=function(e){var n=e.resourceFiles,t=e.onFinish,a=(0,y.$G)().t,i=(0,u.PMy)(),o=(0,r.Z)(i,2)[1],l=(0,I.lm)(),s=(0,r.Z)(l,1)[0],c=(0,d.Aj)(),p=(0,A.Ws)(),f=function(){var e=(0,S.Z)((0,_.Z)().mark((function e(){var i,l,u,d,f,m,h,y,g,T;return(0,_.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o({tenantId:c,fileNames:n});case 2:d=e.sent,f=d.data,d.error||null!==f&&void 0!==f&&null!==(i=f.deleteResourceFiles)&&void 0!==i&&null!==(l=i.errors)&&void 0!==l&&l.length||null===f||void 0===f||null===(u=f.deleteResourceFiles)||void 0===u||!u.status?(g=null!==(m=null===f||void 0===f||null===(h=f.deleteResourceFiles)||void 0===h||null===(y=h.errors)||void 0===y?void 0:y.map((function(e){var n,t=null!==(n=null===e||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[];return(0,r.Z)(t,2)[1]})).filter((function(e){return!!e})))&&void 0!==m?m:[],T=g.length?"".concat(a("ERROR_REMOVING_RESOURCE_FILES_SPECIFIC"),"\n\n").concat(g.join("\n")):a("ERROR_REMOVING_RESOURCE_FILES"),s({type:"error",dismiss:I.GP.DEFAULT,message:T,persistThroughNav:!0})):s({type:"success",dismiss:I.GP.DEFAULT,message:a("SUCCESSFULLY_REMOVED_RESOURCE_FILES"),persistThroughNav:!0}),t(),p();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,O.jsx)(A.pf,{name:"DeleteResourceFiles",title:a("REMOVE_RESOURCE_FILE",{count:n.length}),confirmationString:a("CONFIRM_REMOVE_RESOURCE_FILES",{count:n.length}),action:"REMOVE",onDelete:f,children:(0,O.jsx)("div",{className:"small-text overflow-list modal-body pt-1 pl-1",children:n.map((function(e){return(0,O.jsx)("p",{className:"list-item",children:e},e)}))})})},D=["B","KB","MB","GB"],x=function(e){for(var n=e.fileName,t=e.fileSize,a=e.uploadedBy,i=e.uploadedTime,r=e.shownColumns,s=e.checked,u=e.onCheck,c=e.showChecks,d=e.singleSelection,p=void 0!==d&&d,f=m.ji.RESOURCE_FILES.COLUMNS,h=null!==t&&void 0!==t?t:0,y=0;y=1024;)h=+Math.fround(h/1024).toFixed(2),y++;var g=D[Math.min(y,D.length-1)],v="".concat(h," ").concat(g);return(0,O.jsx)(o.$t,{checked:s,onCheck:function(){return u(null!==n&&void 0!==n?n:"")},showChecks:c,singleSelection:p,"data-testid":"resource-file-row-".concat(n),children:r.map((function(e){var t=null;switch(e){case f.FILE_NAME:t=(0,T.wv)(n);break;case f.FILE_SIZE:t=v;break;case f.UPLOADED_BY:t=(0,T.wv)(a,!0);break;case f.UPLOADED_TIME:t=i?(0,l.Z)(new Date(i),"Pp"):(0,T.wv)(i,!0)}return(0,O.jsx)("td",{children:t},e)}))})},P=function(e){var n,t,l,f=e.shownColumns,T=e.hiddenColumns,E=e.onSelect,_=e.showEmptyState,S=void 0!==_&&_,N=e.showMetrics,I=void 0!==N&&N,C=e.hasActions,A=void 0!==C&&C,R=e.inModal,b=void 0!==R&&R,D=e.singleSelection,P=void 0!==D&&D,U=e.selected,w=void 0===U?[]:U,M=(0,y.$G)().t,V=(0,d.Aj)(),j=(0,p.useState)(w),F=(0,r.Z)(j,2),B=F[0],Z=F[1],G=m.ji.RESOURCE_FILES,J=G.NAME,H=G.COLUMNS,W=(0,u.TLO)({variables:{tenantId:V},pause:!V}),Y=W.data,q=W.fetching,K=null!==(n=null===Y||void 0===Y||null===(t=Y.getAllResourceFiles)||void 0===t?void 0:t.filter((function(e){return!!e})))&&void 0!==n?n:[],z=K.length,X=(0,o.xC)(B),$=P?(0,o.JZ)(B,Z):(0,o.D_)(z,B,Z),Q=B.filter((function(e){return e!==o.WZ})),ee=0===Q.length,ne=(0,g.e9)(["btn",ee&&"disabled"]),te=(l={},(0,i.Z)(l,H.FILE_NAME,M("FILE_NAME")),(0,i.Z)(l,H.UPLOADED_TIME,M("DATE_UPLOADED")),(0,i.Z)(l,H.UPLOADED_BY,M("UPLOADED_BY")),(0,i.Z)(l,H.FILE_SIZE,M("SIZE")),l),ae=(0,o.Pu)(f,te),ie=(0,o.Pu)(T,te),re=(0,g.e9)(["table-container",b&&"overflow-table"]),oe=(0,g.e9)(["table custom-table",b&&"on-white"]);return(0,O.jsxs)(O.Fragment,{children:[!q&&0===z&&S?(0,O.jsx)(s.c7,{title:M("NO_RESOURCE_FILES"),children:(0,O.jsx)(h.xU,{to:(0,c.dp)("/add"),requirement:"add:device:resource:file",className:"btn btn-primary",children:M("ADD")})}):(0,O.jsxs)(O.Fragment,{children:[I&&(0,O.jsxs)("div",{className:"table-heading",children:[(0,O.jsx)("span",{className:"metric","data-testid":"files-count",children:z}),(0,O.jsx)("span",{className:"title ml-5",children:M("RESOURCE_FILES")})]}),A&&(0,O.jsxs)("div",{className:"mb-15 table-actions",children:[(0,O.jsx)(h.xU,{to:(0,c.dp)("/add"),requirement:"add:device:resource:file",className:"btn btn-primary",children:M("ADD")}),(0,O.jsx)(h.xU,{to:ee?"":(0,c.dp)("/remove"),requirement:"delete:device:resource:file",className:ne,children:ee?M("REMOVE_RESOURCE_FILE"):M("REMOVE_RESOURCE_FILE",{count:Q.length})}),(0,O.jsx)(o.Eo,{edit:{tableName:J,shownColumns:ae,hiddenColumns:ie}})]}),(0,O.jsx)("div",{className:re,children:(0,O.jsxs)("table",{className:oe,children:[(0,O.jsx)(o.rh,{checked:X(o.WZ),onCheck:function(){return(0,o.li)(K.map((function(e){return(null===e||void 0===e?void 0:e.fileName)||""})),B,Z)},showChecks:!!f.length,replaceCheckWith:P?(0,O.jsx)("span",{}):void 0,children:(0,v.W)(ae,(function(e,n){return(0,O.jsx)(o.jr,{fieldName:e,title:n},e)}))}),(0,O.jsxs)(o.RM,{loading:q,cols:ae.length,accommodateScrollbar:!0,children:[K.map((function(e){var n;return(0,p.createElement)(x,(0,a.Z)((0,a.Z)({},e),{},{onCheck:function(){var n,t=null!==(n=null===e||void 0===e?void 0:e.fileName)&&void 0!==n?n:"";$(t),E&&E(t)},checked:X(null!==(n=null===e||void 0===e?void 0:e.fileName)&&void 0!==n?n:""),showChecks:!!f.length,singleSelection:P,shownColumns:ae.map((function(e){return e.key})),key:e.fileName}))})),q||0!==z?null:(0,O.jsx)("tr",{children:(0,O.jsx)("td",{children:(0,O.jsx)(s.Jp,{className:"inline mt-5",title:M("NO_RESOURCE_FILES")})})})]})]})})]}),(0,O.jsxs)(c.rs,{children:[(0,O.jsx)(h.i1,{nest:!0,path:"/remove",requirement:"delete:device:resource:file",children:(0,O.jsx)(k,{resourceFiles:Q,onFinish:function(){return Z([])}})}),(0,O.jsx)(h.i1,{nest:!0,path:"/add",requirement:"add:device:resource:file",children:(0,O.jsx)(L,{})})]})]})},U=function(){var e=m.ji.RESOURCE_FILES.NAME,n=(0,f.v9)((function(n){var t,a;return null!==(t=null===(a=n.userMeta)||void 0===a?void 0:a.tables[e])&&void 0!==t?t:{}})),t=n[m.oM.SHOWN],a=n[m.oM.HIDDEN],i=E.A.Content;return(0,O.jsx)(E.A,{children:(0,O.jsx)(i,{className:"no-sidebar",children:(0,O.jsx)(P,{shownColumns:t,hiddenColumns:a,showEmptyState:!0,showMetrics:!0,hasActions:!0})})})}},60122:function(e,n,t){"use strict";t.d(n,{r:function(){return _}});var a=t(82333),i=t(85358),r=t(99710),o=t(96902),l=t(37718),s=t(3541),u=t(8960),c=t(769),d=t(25825),p=t(21645),f=t(48930),m=t(82933),h=t(47734),y=t(90666),g=t(73451),T=t(90497),v=t(1987),E=t(29938),_=function(e){"Period"!==e.code&&"Minus"!==e.code||e.preventDefault&&e.preventDefault()},S=(0,c.Ry)({name:(0,c.Z_)().label("NAME").test(T.Lt,d.ZP.t("ERROR_UNASSIGNED_ROOM_NAME"),(function(e){return!(0,p.j_)(e)})).required().ensure(),site:(0,c.Z_)().label("SITE").required(),floor:(0,c.Z_)().label("FLOOR").notRequired(),capacity:(0,c.Z_)().matches(/^\d+$/).label("CAPACITY").notRequired()}),N=function(){var e=(0,s.U$)("site"),n=(0,r.Z)(e,3),t=n[0],a=n[2],i=(0,h.Z)(),l=i.sites,u=i.siteMeta,c=(0,m.UO)().siteId,d=((null===u||void 0===u?void 0:u.sites)||[]).filter((function(e){return e.id===c}))[0];return(0,o.useEffect)((function(){c&&l.length&&d.name!==t.value&&a.setValue(d.name)})),null},I=function(e){var n=e.replaceAddress,t=(0,d.$G)().t,a=(0,h.Z)().sites,i=(0,s.U$)("site"),o=(0,r.Z)(i,3)[2],l=(0,m.k6)().replace;a=(a||[]).filter((function(e){return!(0,p.j_)(e.text)}));return(0,E.jsx)(s.dp,{label:t("SITE_NAME"),name:"site",options:a,tabIndex:2,onSelectionChange:function(e){return function(e){e&&(n?l((0,m.Gn)("/manage/sites/details/:siteId/add",{siteId:e})):o.setValue(e))}(e)},inline:!0})};n.Z=(0,g.Lq)("UPDATE_SITES")((function(e){var n=e.refresh,t=e.withSites,o=void 0===t||t,c=(0,d.$G)().t,p=(0,m.$B)().url.replace("/add",""),h=(0,v.Aj)(),g=(0,f.$1J)(),T=(0,r.Z)(g,2)[1],C=(0,m.UO)().siteId,A=(0,l.Ws)(),R=(0,y.lm)(),O=(0,r.Z)(R,1)[0],b=(0,m.k6)().push,L=function(){var e=(0,i.Z)((0,a.Z)().mark((function e(t){var i,r;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T({fields:{tenantId:h,siteId:C||t.site,name:t.name,floor:t.floor,capacity:t.capacity?parseInt(t.capacity):-1}});case 2:r=e.sent,null!==(i=r.data)&&void 0!==i&&i.upsertRoom?(n(),o?b((0,m.Gn)("/manage/sites/details/:siteId",{siteId:C||t.site})):A()):r.error&&O({type:"error",dismiss:y.GP.DEFAULT,message:"Error creating room: "+r.error.message});case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,E.jsx)(l.Yr,{title:c("ADD_ROOM"),initialValues:{name:"",site:"",floor:"",capacity:""},onSubmit:L,name:"CreateRoomModal",validationSchema:S,validateOnChange:!0,children:function(e){var n=e.isSubmitting,t=e.setFieldValue;return(0,E.jsxs)(s.l0,{children:[(0,E.jsxs)(u.Ft,{loading:n,title:c("SAVING_ROOM"),className:"form-content",children:[o&&(0,E.jsx)(N,{}),(0,E.jsx)(s.II,{name:"name",label:c("ROOM_NAME"),tabIndex:1}),(0,E.jsx)(I,{replaceAddress:o}),(0,E.jsx)(s.II,{name:"floor",label:c("FLOOR_NAME"),tabIndex:3}),(0,E.jsx)(s.II,{name:"capacity",label:c("CAPACITY_OPTIONAL"),tabIndex:4,type:"number",onKeyPress:_,onChange:function(e){Number(e.target.value)>=0&&t("capacity",e.target.value)}})]}),(0,E.jsxs)("div",{className:"btn-container",children:[(0,E.jsx)(m.rU,{to:p,className:"btn","data-testid":"close",children:c("CANCEL")}),(0,E.jsx)(s.gN,{name:"submit",children:function(e){var n=e.form,t=n.dirty,a=n.isSubmitting,i=n.isValid;return(0,E.jsx)(u.Mm,{isSubmitting:a,testId:"save",disabled:!i||!t,labelKey:"ADD_ROOM",submittingLabelKey:"ADDING"})}})]})]})}})}))},66865:function(e,n,t){"use strict";t.d(n,{Qt:function(){return l},rd:function(){return o}});var a=t(16798),i=t(95764),r=t(10278),o=(0,r.createStandardAction)("SET_TOGGLE")(),l=(0,r.createReducer)({overrideDesktopRoute:!1}).handleAction(o,(function(e,n){return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},n.payload.key,n.payload.value))}))},80093:function(e,n,t){"use strict";t.d(n,{N9:function(){return p},q0:function(){return u},zM:function(){return c}});var a=t(16798),i=t(95764),r=t(10278),o=t(9363),l=t.n(o),s=t(49654),u=(0,r.createStandardAction)("DESKTOP_DEVICE_SETTING_INHERITANCE")(),c=(0,r.createStandardAction)("RESET_DESKTOP_DEVICE_SETTING_INHERITANCE")(),d={},p=(0,r.createReducer)(d).handleAction(u,(function(e,n){var t,r,o,s=n.payload,u=s.value,c=s.scope,d=s.key,p=s.id;if(c!==(null===(t=e[d])||void 0===t?void 0:t.scope)||p!==(null===(r=e[d])||void 0===r?void 0:r.id)||u!==(null===(o=e[d])||void 0===o?void 0:o.value)){if(!c){var f=l().cloneDeep(e);return l().unset(f,[u]),f}if(p)return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},d,{scope:c,value:u,id:p}))}return e})).handleAction(c,(function(e,n){return d})).handleAction(s.J2,(function(e,n){return d}))},49654:function(e,n,t){"use strict";t.d(n,{$3:function(){return f},J2:function(){return d},Nd:function(){return u},Nk:function(){return a},j0:function(){return c}});var a,i=t(16798),r=t(95764),o=t(10278),l=t(9363),s=t.n(l);!function(e){e.EDITED="edited",e.REVERTED="reverted"}(a||(a={}));var u=(0,o.createStandardAction)("DESKTOP_DEVICE_SETTING_CHANGED")(),c=(0,o.createStandardAction)("RESET_DESKTOP_DEVICE_SETTING_CHANGES")(),d=(0,o.createStandardAction)("RESET_DESKTOP_DEVICE_SETTING_INHERITANCE_AND_NAV")(),p={},f=(0,o.createReducer)(p).handleAction(u,(function(e,n){var t=n.payload,a=t.accessor,o=t.change;if(o!==e[a]){if(o)return(0,r.Z)((0,r.Z)({},e),{},(0,i.Z)({},a,o));var l=s().cloneDeep(e);return s().unset(l,[a]),l}return e})).handleAction(c,(function(e,n){return p})).handleAction(d,(function(e,n){return p}))},14191:function(e,n,t){"use strict";t.d(n,{V2:function(){return s},Yy:function(){return o},kN:function(){return l}});var a=t(16798),i=t(95764),r=t(10278),o=(0,r.createStandardAction)("START_EXPORT")(),l=(0,r.createStandardAction)("STOP_EXPORT")(),s=(0,r.createReducer)({}).handleAction(o,(function(e,n){var t=n.payload;return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},t.tenantId,(0,i.Z)((0,i.Z)({},e[t.tenantId]),{},{exporting:!0})))})).handleAction(l,(function(e,n){var t=n.payload;return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},t.tenantId,(0,i.Z)((0,i.Z)({},e[t.tenantId]),{},{exporting:!1})))}))},65038:function(e,n,t){"use strict";t.d(n,{SK:function(){return o},So:function(){return s},ok:function(){return u},ux:function(){return l}});var a=t(16798),i=t(95764),r=t(10278),o=(0,r.createStandardAction)("START_FETCHING")(),l=(0,r.createStandardAction)("STOP_FETCHING")(),s=(0,r.createStandardAction)("UPDATE_LOG_INFO")(),u=(0,r.createReducer)({}).handleAction(o,(function(e,n){var t=n.payload;return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},t.deviceId,(0,i.Z)((0,i.Z)({},e[t.deviceId]),{},{fetching:!0,lastUploadRequestTime:(new Date).toISOString()})))})).handleAction(l,(function(e,n){var t=n.payload;return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},t.deviceId,(0,i.Z)((0,i.Z)({},e[t.deviceId]),{},{fetching:!1})))})).handleAction(s,(function(e,n){var t=n.payload;return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},t.deviceId,(0,i.Z)((0,i.Z)({},e[t.deviceId]),{},{downloadLink:t.downloadLink,uploadedOn:t.uploadedOn})))}))},95070:function(e,n,t){"use strict";t.d(n,{No:function(){return u},Sv:function(){return l},y9:function(){return s}});var a=t(95764),i=t(10278),r=(0,i.createStandardAction)("CHANGE_CENTER")(),o=(0,i.createStandardAction)("CHANGE_ZOOM")(),l=(0,i.createStandardAction)("CHANGE_VIEW")(),s=(0,i.createStandardAction)("CLEAR_GEOFILTER")(),u=(0,i.createReducer)({longitude:-15,latitude:49.8,zoom:1.5,bounds:{bottomRight:{lat:-90,lon:180},topLeft:{lat:90,lon:-180}},geofilter:!1}).handleAction(r,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{longitude:n.payload.longitude,latitude:n.payload.latitude})})).handleAction(l,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{longitude:n.payload.longitude,latitude:n.payload.latitude,zoom:n.payload.zoom,bounds:n.payload.bounds||e.bounds,geofilter:!0})})).handleAction(o,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{zoom:n.payload})})).handleAction(s,(function(e){return(0,a.Z)((0,a.Z)({},e),{},{geofilter:!1})}))},14563:function(e,n,t){"use strict";t.d(n,{Hf:function(){return p},eb:function(){return f},kF:function(){return d},vm:function(){return c}});var a=t(95764),i=t(10278),r=t(62178),o=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GOOGLE_ANALYTICS_ID:"UA-114597720-12",REACT_APP_DATA_DOG_APP_ID:"22308ca5-746e-4e3a-b7e7-ba2bfe8fc64c",REACT_APP_ENV_VERSION:"8b7c43d63d5a0c14ce3b4e9a8d2d831320cf299f",REACT_APP_DATA_DOG_TOKEN:"pube6196dcacca8cf000b09f0787714939d",REACT_APP_GRAPHQL_ENDPOINT:"https://api.silica-prod01.io.lens.poly.com/graphql",REACT_APP_MICROSOFT_CLIENT_ID:"2a225af3-7ea0-4cd0-8320-d22f5bcd1e28",REACT_APP_COMMIT_ID:"8b7c43d63d5a0c14ce3b4e9a8d2d831320cf299f",REACT_APP_AUTH0_DOMAIN:"login.lens.poly.com",REACT_APP_ENV_NAME:"prod",REACT_APP_OPTIMIZELY_SDK_KEY:"7bYdDboeoJ8KouY4yvFR3T",REACT_APP_ROOT_URL:"",REACT_APP_AUTH0_CLIENT_ID:"OHVDHYSYOGuJj8UTNnipdflu3H5d5qMs"}[e];return void 0!==t?t:n},l=function(e){return"true"===o(e)},s={envName:"Development",version:"0",googleAnalyticsId:"",graphqlEndpoint:"",auth0Domain:"",authOClientId:"",rootUrl:"",optimizelySdkKey:"",useMock:!1,mocksSimulateAuth:!1,isDataDogUser:void 0!==window._DATADOG_SYNTHETICS_BROWSER,verboseAnalyticsLogs:!1,verboseUrqlLogs:!1,verboseLocalLogs:!1,debugUserRoles:!1,microsoftClientId:"",microsoftClientSecret:""},u=l("REACT_APP_VERBOSE_ALL"),c=(0,a.Z)((0,a.Z)({},s),{},{envName:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Development",t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GOOGLE_ANALYTICS_ID:"UA-114597720-12",REACT_APP_DATA_DOG_APP_ID:"22308ca5-746e-4e3a-b7e7-ba2bfe8fc64c",REACT_APP_ENV_VERSION:"8b7c43d63d5a0c14ce3b4e9a8d2d831320cf299f",REACT_APP_DATA_DOG_TOKEN:"pube6196dcacca8cf000b09f0787714939d",REACT_APP_GRAPHQL_ENDPOINT:"https://api.silica-prod01.io.lens.poly.com/graphql",REACT_APP_MICROSOFT_CLIENT_ID:"2a225af3-7ea0-4cd0-8320-d22f5bcd1e28",REACT_APP_COMMIT_ID:"8b7c43d63d5a0c14ce3b4e9a8d2d831320cf299f",REACT_APP_AUTH0_DOMAIN:"login.lens.poly.com",REACT_APP_ENV_NAME:"prod",REACT_APP_OPTIMIZELY_SDK_KEY:"7bYdDboeoJ8KouY4yvFR3T",REACT_APP_ROOT_URL:"",REACT_APP_AUTH0_CLIENT_ID:"OHVDHYSYOGuJj8UTNnipdflu3H5d5qMs"}[e];switch(t){case"Development":case"dev":case"stage":case"prod":return t;default:return n}}("REACT_APP_ENV_NAME","Development"),version:o("REACT_APP_ENV_VERSION","0"),googleAnalyticsId:o("REACT_APP_GOOGLE_ANALYTICS_ID"),graphqlEndpoint:o("REACT_APP_GRAPHQL_ENDPOINT"),auth0Domain:o("REACT_APP_AUTH0_DOMAIN"),authOClientId:o("REACT_APP_AUTH0_CLIENT_ID"),rootUrl:o("REACT_APP_ROOT_URL"),optimizelySdkKey:o("REACT_APP_OPTIMIZELY_SDK_KEY"),useMock:l("REACT_APP_GRAPHQL_USE_MOCK"),mocksSimulateAuth:l("REACT_APP_GRAPHQL_MOCKS_SIMULATE_AUTH"),dataDogAppId:o("REACT_APP_DATA_DOG_APP_ID"),dataDogToken:o("REACT_APP_DATA_DOG_TOKEN"),verboseAnalyticsLogs:u||l("REACT_APP_VERBOSE_ANALYTICS_LOGS"),verboseUrqlLogs:u||l("REACT_APP_VERBOSE_URQL_LOGS"),verboseLocalLogs:u||l("REACT_APP_VERBOSE_LOCAL_LOGS"),microsoftClientId:o("REACT_APP_MICROSOFT_CLIENT_ID")}),d=function(){return(0,r.v9)((function(e){return e.env}))},p=(0,i.createStandardAction)("UPDATE_ENV")(),f=(0,i.createReducer)(c).handleAction(p,(function(e,n){var t=n.payload;return(0,a.Z)((0,a.Z)({},e),t)}))},42410:function(e,n,t){"use strict";t.d(n,{$c:function(){return f},N2:function(){return s},Qq:function(){return p},kN:function(){return d}});var a=t(16798),i=t(95764),r=t(62178),o=t(10278),l=(0,o.createStandardAction)("UPDATE_IMPORT_DATA")(),s=(0,o.createStandardAction)("LOAD_IMPORT_DATA_FROM_LOCALSTORAGE")(),u={},c="imports",d=function(){var e=(0,r.I0)(),n=(0,r.v9)((function(e){return e.import}));return[function(t){var r=(0,i.Z)((0,i.Z)({},n),{},(0,a.Z)({},t.tenantId,(0,i.Z)((0,i.Z)({},n[t.tenantId]),{},{inProgress:!0,progress:0,finished:!1,files:t.files,type:t.type,updateExistingDevices:t.updateExistingDevices,overwriteDeviceRecords:t.overwriteDeviceRecords})));e(l(r))},function(t){var r=Math.min(t.progress,1),o=1===r,s=(0,i.Z)((0,i.Z)({},n),{},(0,a.Z)({},t.tenantId,(0,i.Z)((0,i.Z)({},n[t.tenantId]),{},{progress:r,inProgress:!o,finished:o})));e(l(s))},function(t){var r=(0,i.Z)((0,i.Z)({},n),{},(0,a.Z)({},t.tenantId,(0,i.Z)((0,i.Z)({},n[t.tenantId]),{},{inProgress:!1,progress:0,finished:!1,files:[],updateExistingDevices:void 0,overwriteDeviceRecords:void 0})));e(l(r))}]},p=(0,o.createReducer)(u).handleAction(s,(function(e){var n=function(){try{var e=localStorage.getItem(c);return e?JSON.parse(e):null}catch(n){return null}}();return(0,i.Z)((0,i.Z)({},e),null!==n&&void 0!==n?n:{})})).handleAction(l,(function(e,n){return(0,i.Z)({},n.payload?n.payload:e)})),f=function(){return function(e){return function(n){(0,o.getType)(l)===n.type&&function(e){e||(e=u);try{var n=JSON.stringify(e);localStorage.setItem(c,n)}catch(t){}}(n.payload),e(n)}}}},22209:function(e,n,t){"use strict";t.d(n,{ZP:function(){return Y},zv:function(){return R},ZJ:function(){return I},kF:function(){return q},dj:function(){return C},bQ:function(){return H}});var a=t(32069),i=t(80195),r=t(16798),o=t(95764),l=t(10278),s=(0,l.createStandardAction)("SET_TOGGLE")(),u=(0,l.createReducer)({displayIconsInCall:!1,enableAudioOnlyCalls:!0,enableJoinAndLeaveTones:!1,enableHDMI:!0,enableAppleAirplay:!0,enablePolyContent:!1,pictureInPicture:!0,sleepDisplay:!1,autoHideTopInfo:!1}).handleAction(s,(function(e,n){return(0,o.Z)((0,o.Z)({},e),{},(0,r.Z)({},n.payload.key,n.payload.value))})),c=t(54831),d=(0,l.createStandardAction)("SELECT_MENU_ITEM")();function p(e,n,t,a,i,r){return{id:e,icon:a,kind:"simple",name:n,url:"/".concat(e),persist:r,optimizely:i,subMenus:[],permission:t}}function f(e){var n=e.map((function(e){return e.permission})),t=n.filter((function(e){return Array.isArray(e)&&e.length>0})),a=n.filter((function(e){return"function"===typeof e})).concat(t.map((function(e){return(0,c.lj)(e)})));return{id:"",kind:"group",name:"",url:"",subMenus:e,permission:(0,c.Yj)(a)}}var m=(0,c.$6)([(0,c.Vd)("READ_TENANT"),(0,c.Vd)("READ_SITES")]),h=(0,c.$6)([(0,c.Vd)("READ_TENANT"),(0,c.Vd)("read:device")]),y={selectedId:"home",items:[{id:"manage",kind:"root",name:"MANAGE",url:"/manage",permission:[],subMenus:[f([p("manage/inventory","INVENTORY",h,"inventory"),p("manage/actions","ACTIONS",h,"manage_actions"),p("manage/policy","POLICY",m,"policy"),p("manage/licensing","LICENSING",["get:polypluslicense","license:ReadTenant"],"license"),p("manage/resource-files","RESOURCE_FILES",["read:device:resource:file"],"file","RESOURCE_FILES")]),f([p("manage/sites","SITES",m,"manage_sites"),p("manage/rooms","ROOMS",m,"door_rooms"),p("manage/device-groups","DEVICE_GROUP_other",m,"groups"),p("manage/device-users","DEVICE_USERS",["READ_USERS"],"box_person")]),f([p("manage/register","REGISTER_DEVICE",["register:device"],"register_device",void 0,void 0)])]},{id:"insights",kind:"root",name:"INSIGHTS",url:"/insights",permission:[],subMenus:[p("insights/priority","PRIORITY",["GET_EPISODES"],"insights_priority",void 0,["InsightsFilterState"]),p("insights/dashboard","DASHBOARD",["read:meetingrecord"],"dashboard",void 0,[])]}]},g=(0,l.createReducer)(y).handleAction(d,(function(e,n){var t=e.items.some((function e(t){return t.id===n.payload||t.subMenus.some(e)}));return t?(0,o.Z)((0,o.Z)({},e),{},{selectedId:n.payload}):e})),T=t(95070),v=t(42993),E=t(89810),_=t(32417),S=t.n(_),N=t(62178),I=((0,l.createStandardAction)("CLEAR_GRAPH")(),(0,l.createStandardAction)("OPERATION_COMPLETED")()),C=function(){return(0,N.I0)()},A=function(e){var n=e.definitions.find((function(e){return"OperationDefinition"===e.kind}));if(n){var t=n.name;return t?t.value:"Anonymous"}return"unknownQuery"};function R(e){var n="Unknown";try{if("string"===typeof e)n=A(S()(e));else n=A(e)}catch(t){}return n}var O=(0,l.createReducer)({recentOperations:[]}).handleAction(I,(function(e,n){var t=e.recentOperations,a=n.payload,i=a.operation,r=i.kind,o=i.query,l=i.key,s=i.context,u=a.error;if("subscription"===r||"teardown"===r)return{recentOperations:t};var c=R(o),d=t.length>9?t.slice(1,10):t,p={kind:r,key:l,context:s};return{recentOperations:[].concat((0,E.Z)(d),[{name:c,operation:p,at:new Date,anyErrors:!!u}])}})),b=t(94222),L=t(86335),k=t(48576),D=t(82192),x=t(14563),P=t(72955),U=t(66865),w=t(90561),M=t(49654),V=t(80093),j=t(65038),F=t(42410),B=t(80864),Z=t(14191),G=t(99710),J=t(96902);function H(e,n,t){var a=(0,J.useReducer)(e,n),i=(0,G.Z)(a,2),r=i[0],o=i[1],l=(0,J.useMemo)((function(){var e=Object.keys(t).reduce((function(e,n){var a,i;return e[n]=(a=t[n],i=o,function(){return i(a.apply(this,arguments))}),e}),{});return e}),[o,t]);return[r,l]}var W={};function Y(){var e=(0,a.UY)({device:u,devicesMap:T.No,desktopDeviceSettings:M.$3,desktopDeviceSettingInheritance:V.N9,settings:P.ov,graph:O,menu:g,notifications:v.U9,paging:L.D5,search:b.YE,route:k.UD,userMeta:D.A8,env:x.eb,desktop:U.Qt,settingsNavItems:w.mm,deviceLogs:j.ok,import:F.Qq,provisionedDeviceSettingInheritance:B.e7,exportDeviceInventory:Z.V2}),n=[D.IK,F.$c],t=[a.md.apply(void 0,n)],r=(0,i.Uo)({trace:!0});return(0,a.MT)(e,W,r.apply(void 0,t))}var q=x.kF},42993:function(e,n,t){"use strict";t.d(n,{FV:function(){return l},U9:function(){return d},e_:function(){return u},wN:function(){return o}});var a=t(16798),i=t(95764),r=t(10278),o=(0,r.createStandardAction)("ADD_NOTIFICATION")(),l=(0,r.createStandardAction)("REMOVE_NOTIFICATION")(),s=(0,r.createStandardAction)("CLEAR_NOTIFICATIONS")(),u=(0,r.createStandardAction)("CLEAR_NOTIFICATIONS_ON_NAV")(),c={},d=(0,r.createReducer)(c).handleAction(o,(function(e,n){return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},n.payload.id,n.payload))})).handleAction(l,(function(e,n){return Object.keys(e).reduce((function(t,a){return a!==n.payload&&(t[a]=e[a]),t}),{})})).handleAction(u,(function(e){return Object.keys(e).filter((function(n){var t;return null===(t=e[n])||void 0===t?void 0:t.persistThroughNav})).reduce((function(n,t){return n[t]=e[t],n}),{})})).handleAction(s,(function(e){return c}))},86335:function(e,n,t){"use strict";t.d(n,{CS:function(){return r},D5:function(){return u},v8:function(){return o}});var a=t(95764),i=t(10278),r=(0,i.createStandardAction)("CHANGE_INSIGHTS_CURSOR")(),o=(0,i.createStandardAction)("CHANGE_USERS_CURSOR")(),l=(0,i.createStandardAction)("CHANGE_DEVICE_USERS_CURSOR")(),s={insightsCursor:void 0,usersCursor:void 0,deviceUsersCursor:void 0},u=(0,i.createReducer)(s).handleAction(r,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{insightsCursor:n.payload})})).handleAction(o,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{usersCursor:n.payload})})).handleAction(l,(function(e,n){return(0,a.Z)((0,a.Z)({},e),{},{deviceUsersCursor:n.payload})}))},80864:function(e,n,t){"use strict";t.d(n,{An:function(){return u},e7:function(){return d},wH:function(){return s}});var a=t(16798),i=t(95764),r=t(10278),o=t(9363),l=t.n(o),s=(0,r.createStandardAction)("PROVISIONED_DEVICE_SETTING_INHERITANCE")(),u=(0,r.createStandardAction)("RESET_PROVISIONED_DEVICE_SETTING_INHERITANCE")(),c={},d=(0,r.createReducer)(c).handleAction(s,(function(e,n){var t,r,o,s=n.payload,u=s.key,c=s.scope,d=s.id,p=s.value;if(c!==(null===(t=e[u])||void 0===t?void 0:t.scope)||d!==(null===(r=e[u])||void 0===r?void 0:r.id)||p!==(null===(o=e[u])||void 0===o?void 0:o.id)){if(!c){var f=l().cloneDeep(e);return l().unset(f,[u]),f}if(d&&p)return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},u,{scope:c,id:d,value:p}))}return e})).handleAction(u,(function(e,n){return c}))},48576:function(e,n,t){"use strict";t.d(n,{SV:function(){return l},UD:function(){return u}});var a=t(89810),i=t(10278),r=t(7584),o=t(9363),l=(0,i.createStandardAction)("KNOWN_ROUTE_PATTERN")(),s={paths:[].concat(["/insights/details/:id","/insights/details/:id/devices/:deviceId","/insights/details/:id/devices"],["/manage/inventory/details/:deviceId","/manage/inventory/details/:deviceId/delete","/manage/inventory/details/:deviceId/edit","/manage/inventory/details/:deviceId/settings","/manage/inventory/details/:deviceId/settings/basic","/manage/inventory/details/:deviceId/settings/advanced","/manage/sites/details/:siteId","/manage/sites/details/:siteId/add","/manage/sites/details/:siteId/settings/general","/manage/sites/details/:siteId/settings/provisioning","/manage/sites/details/:siteId/instructions","/manage/rooms/details/:roomId","/manage/rooms/details/:roomId/settings/general","/manage/rooms/details/:roomId/instructions","/manage/members/details/:user_id","/manage/members/details/:user_id/edit"],["/admin/accounts/:accountId","/admin/accounts/details/:id","/admin/accounts/details/:id/edit"])},u=(0,i.createReducer)(s).handleAction(l,(function(e,n){var t,i=n.payload,l=(t=Array.isArray(i)?i:[i]).filter((function(e){return e.includes(":")})),s=t.filter((function(n){return!e.paths.includes(n)})),u=s.length>0;if(l.length>0&&u){var c=(0,o.uniq)([].concat((0,a.Z)(l),(0,a.Z)(e.paths)));return r.fy.logger.warn("Found missing route configs, please add the following to routes.ts",{missingEntries:s}),{paths:c}}return e}))},94222:function(e,n,t){"use strict";t.d(n,{Xe:function(){return r},YE:function(){return l},ct:function(){return o}});var a=t(95764),i=t(10278),r=(0,i.createStandardAction)("SHOW_SEARCH")(),o=(0,i.createStandardAction)("HIDE_SEARCH")(),l=(0,i.createReducer)({open:!1}).handleAction(r,(function(e){return(0,a.Z)((0,a.Z)({},e),{},{open:!0})})).handleAction(o,(function(e){return(0,a.Z)((0,a.Z)({},e),{},{open:!1})}))},72955:function(e,n,t){"use strict";t.d(n,{ov:function(){return d},qs:function(){return s},sf:function(){return u}});var a=t(16798),i=t(95764),r=t(10278),o=t(9363),l=t.n(o),s=(0,r.createStandardAction)("SETTING_CHANGED")(),u=(0,r.createStandardAction)("RESET_CHANGES")(),c={},d=(0,r.createReducer)(c).handleAction(s,(function(e,n){var t=n.payload,r=t.category,o=t.subcategory,s=t.collection,u=t.settingName,c=t.change,d=e[r]||{},p=d[o]||{},f=p[s]||{};if(c!==f[u]){if(c)return(0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},r,(0,i.Z)((0,i.Z)({},d),{},(0,a.Z)({},o,(0,i.Z)((0,i.Z)({},p),{},(0,a.Z)({},s,(0,i.Z)((0,i.Z)({},f),{},(0,a.Z)({},u,c))))))));var m=l().cloneDeep(e);l().unset(m,[r,o,s,u]);for(var h=[r,o,s];h.length>0;)l().isEmpty(l().get(m,h))?(l().unset(m,h),h.pop()):h.length=0;return m}return e})).handleAction(u,(function(e,n){return c}))},90561:function(e,n,t){"use strict";t.d(n,{GZ:function(){return o},c:function(){return s},mm:function(){return u}});var a=t(89810),i=t(10278),r=t(49654),o=(0,i.createStandardAction)("SET_NAV_ITEM")(),l=(0,i.createStandardAction)("RESET_NAV_ITEMS")(),s=(0,i.createStandardAction)("NO_NAV_ITEMS")(),u=(0,i.createReducer)({navItems:[],loading:!0}).handleAction(o,(function(e,n){return e.navItems.some((function(e){return e.url===n.payload.url}))?e:{navItems:[].concat((0,a.Z)(e.navItems),[n.payload]),loading:!1}})).handleAction(l,(function(e){return{navItems:[],loading:!0}})).handleAction(s,(function(e){return{navItems:[],loading:!1}})).handleAction(r.J2,(function(e){return{navItems:[],loading:!0}}))},82192:function(e,n,t){"use strict";t.d(n,{A8:function(){return M},IK:function(){return V},KH:function(){return h},NU:function(){return b},T$:function(){return w},Z0:function(){return g},dp:function(){return P},jA:function(){return p},ji:function(){return v},oM:function(){return i},qx:function(){return f}});var a,i,r=t(89810),o=t(99710),l=t(16798),s=t(95764),u=t(10278),c=t(9363),d=t(769);!function(e){e.SHOWN="SHOWN",e.HIDDEN="HIDDEN"}(i||(i={}));var p="DARK",f="LIGHT",m="LIST",h=f,y=m,g={ACCOUNTS:{NAME:"name",SITES:"siteCount",ROOMS:"roomCount",DEVICES:"deviceCount",MEMBERS:"memberCount",ROLE:"role",TENANT_TYPE:"type"},AUDIT_LOGS:{USER:"username",TIME:"logTime",EVENT_TYPE:"eventType",EVENT_DETAILS:"eventDetails",LOGIN_TYPE:"loginType",IP_ADDRESS:"publicIpAddress",AUTHORIZED:"authorized"},CLARITI_ACCESS_TOKENS:{TOKEN:"token",CREATION_TIME:"creationTime",LAST_USED_TIME:"lastUsedTime"},CLARITI_AUDIT_EVENTS:{EVENT_TYPE:"eventTypeName",EVENT_TIME:"eventTime",USER_ID:"userId",ENTITLEMENT_NAME:"entitlementName",PRODUCT_NAME:"productName"},CLARITI_ENTITLEMENTS:{NAME:"name",TYPE:"type",VERSION:"version",ATTRIBUTE_COUNT:"attributeCount",ASSIGNED_ATTRIBUTES:"assignedCount",REMOVED_ATTRIBUTES:"removedCount",ACTIVATION_CODE:"activationCode",EXPIRES:"expires"},CLARITI_PRODUCT_CATALOG:{NAME:"name",LATEST_VERSION:"latestVersion"},CLARITI_PURCHASED_PRODUCTS:{NAME:"name",TYPE:"productName",VERSION:"productVersion",SERIAL_NUMBER:"serialNumber",HOST_NAME:"hostName",ASSIGNED_ENTITLEMENTS:"assignedEntitlementCount",LAST_LICENSED:"lastLicensedTime"},CLARITI_TRIAL_USERS:{EMAIL:"email",CONFERENCE_ROOM:"conferenceRoom",DATE_CREATED:"creationTime",EXPIRED:"expired",TOTAL_CALLS:"numberOfCalls",TOTAL_PARTICIPANTS:"totalNumberOfParticipants",MIN_PARTICIPANTS:"minNumberOfParticipants",MAX_PARTICIPANTS:"maxNumberOfParticipants",AVERAGE_PARTICIPANTS:"averageNumberOfParticipants",TOTAL_DURATION:"totalDuration"},CLIENT_CREDENTIALS:{NAME:"name",CLIENT_ID:"clientId",CLIENT_SECRET:"clientSecret",DATE_CREATED:"dateCreated",ROLE:"role"},CLIENT_TOKENS:{NAME:"name",TOKEN:"value",CREATED_AT:"createdAt"},DEVICE_GROUP_POLICIES:{DEVICE_MODEL:"deviceModel",DEVICE_COUNT:"deviceCount",SETTINGS_COUNT:"settingsCount"},DEVICE_GROUPS:{NAME:"name",DEVICE_COUNT:"deviceCount",MODEL_COUNT:"modelCount",CREATED_AT:"createdAt"},DEVICE_SERVICE_INFORMATION:{LINE_ID:"lineId",STATUS:"status",REGISTRATION_TYPE:"registrationType",DOMAIN:"domain",REGISTRATION_ADDRESS:"registrationAddress"},DEVICE_USER_GROUPS:{NAME:"name",USER_COUNT:"user_count",CREATED_AT:"created_at",LAST_MODIFIED:"last_modified",GROUP_TYPE:"group_type",POLICY_PRIORITY:"policy_priority"},DEVICE_USERS:{NAME:"name",PRIMARY_DEVICE:"primary_device",APP_VERSION:"softwareVersion",DEVICE_COUNT:"device_count",LAST_DETECTED:"last_detected",CLIENT:"client"},DEVICES:{CONNECTION:"connection",LINKED_DEVICES:"linkedDevices",PROVISIONING:"provisioning",LINES:"lines",NAME:"name",SERIAL_NUMBER:"serialNumber",IPV4:"internalIp",MAC_ADDRESS:"macAddress",SITE:"site",ROOM:"room",MODEL:"hardwareModel",VERSION:"softwareVersion",PROVIDER:"activeApplicationName",LAST_PROVISIONING_SYNC:"lastConfigRequestDate",DATE_REGISTERED:"dateRegistered",DATE_LAST_SEEN:"lastDetected"},EXTERNAL_USER_GROUPS:{NAME:"name",DESCRIPTION:"description"},LICENSES:{LICENSE_KEY:"licenseKey",TYPE:"type",ACTIVATION_DATE:"activationDate",END_DATE:"endDate",QUANTITY:"quantity",USER_ID:"userId"},MEMBERS:{NAME:"name",EMAIL:"email",CREATED_AT:"created_at",LOGINS_COUNT:"logins_count",ROLE:"role"},PENDING_USERS:{NAME:"name",EMAIL:"email"},POLICIES:{NAME:"name",DEVICES:"count",SETTINGS:"settings"},POLY_PLUS_ENTITLE_DEVICES:{CONNECTION:"connection",SERIAL_NUMBER:"serialNumber",SITE:"site",DATE_REGISTERED:"dateRegistered"},RESOURCE_FILES:{FILE_NAME:"fileName",UPLOADED_TIME:"uploadedTime",UPLOADED_BY:"uploadedBy",FILE_SIZE:"fileSize"},ROOMS:{NAME:"name",SITE:"siteName",DEVICES:"deviceCount",PERCENT_ONLINE:"percentOnline",CAPACITY:"capacity",FLOOR:"floor",SIZE:"size",TYPE:"type"},SITES:{NAME:"name",ROOMS:"roomCount",DEVICES:"deviceCount",PERCENT_ONLINE:"percentOnline"},USER_DEVICES:{NAME:"name",SITE:"site",VERSION:"softwareVersion",CLIENT:"client",APP_VERSION:"appVersion",LAST_DETECTED:"lastDetected"}},T={CLARITI_AUDIT_EVENTS:{USER_NAME:"userName"},CLARITI_ENTITLEMENTS:{MAPPING_ID1:"mappingId1",MAPPING_ID2:"mappingId2",LICENSE_TYPE:"licenseType",RECORD_TYPE:"recordType",ASSIGNMENT_TYPE:"assignmentType",ATTRIBUTE_TYPE:"attributeType",ASSIGNED_PRODUCT_COUNT:"assignedProductCount",AVAILABLE_ATTRIBUTES:"availableCount",PENDING_ATTRIBUTES:"pendingAssignmentCount",PENDING_ASSIGN_PRODUCT_COUNT:"pendingAssignmentProductCount",PENDING_RELEASE_ATTRIBUTES:"pendingReleaseCount",PENDING_RELEASE_PRODUCT_COUNT:"pendingReleaseProductCount",REMOVED_PRODUCT_COUNT:"removedProductCount",BEGINS:"begins",CREATION_TIME:"creationTime",LAST_MODIFIED_TIME:"lastModifiedTime"},CLARITI_PURCHASED_PRODUCTS:{CREATION_TIME:"creationTime",LAST_MODIFIED_TIME:"lastModifiedTime"},DEVICE_SERVICE_INFORMATION:{USER_ID:"userId",SIP_PORT:"sipPort",DISPLAY_NAME:"displayName",EXPIRY:"expiry",LINE_TYPE:"lineType",REGISTERED_IP:"registeredIP",SERVER_PLATFORM:"srvPlatform",SIP_ADDRESS:"sipAddr",SIP_TRANSPORT:"sipTransport",OUTBOUND_PROXY_PORT:"outboundProxyPort",OUTBOUND_PROXY_TRANSPORT:"outboundProxyTransport",FAILURE_REASON:"failurereason"},DEVICES:{LAST_PROVISIONING_SYNC:"lastConfigRequestDate",DATE_REGISTERED:"dateRegistered",DATE_LAST_SEEN:"lastDetected"},POLY_PLUS_ENTITLE_DEVICES:{CONNECTION:"connection",SERIAL_NUMBER:"serialNumber",IPV4:"internalIp",MAC_ADDRESS:"macAddress",SITE:"site",ROOM:"room",MODEL:"hardwareModel",VERSION:"softwareVersion",PROVIDER:"activeApplicationName",LAST_PROVISIONING_SYNC:"lastConfigRequestDate",DATE_LAST_SEEN:"lastDetected",POLY_PLUS:"entitlements"}},v={ACCOUNTS:{NAME:"ACCOUNTS",HIDDEN:[],COLUMNS:g.ACCOUNTS},AUDIT_LOGS:{NAME:"AUDIT_LOGS",HIDDEN:[],COLUMNS:g.AUDIT_LOGS},CLARITI_ACCESS_TOKENS:{NAME:"CLARITI_ACCESS_TOKENS",HIDDEN:[],COLUMNS:g.CLARITI_ACCESS_TOKENS},CLARITI_AUDIT_EVENTS:{NAME:"CLARITI_AUDIT_EVENTS",HIDDEN:T.CLARITI_AUDIT_EVENTS,COLUMNS:g.CLARITI_AUDIT_EVENTS},CLARITI_ENTITLEMENTS:{NAME:"CLARITI_ENTITLEMENTS",HIDDEN:T.CLARITI_ENTITLEMENTS,COLUMNS:g.CLARITI_ENTITLEMENTS},CLARITI_PRODUCT_CATALOG:{NAME:"CLARITI_PRODUCT_CATALOG",HIDDEN:[],COLUMNS:g.CLARITI_PRODUCT_CATALOG},CLARITI_PURCHASED_PRODUCTS:{NAME:"CLARITI_PURCHASED_PRODUCTS",HIDDEN:T.CLARITI_PURCHASED_PRODUCTS,COLUMNS:g.CLARITI_PURCHASED_PRODUCTS},CLARITI_TRIAL_USERS:{NAME:"CLARITI_TRIAL_USERS",HIDDEN:[],COLUMNS:g.CLARITI_TRIAL_USERS},CLIENT_CREDENTIALS:{NAME:"CLIENT_CREDENTIALS",HIDDEN:[],COLUMNS:g.CLIENT_CREDENTIALS},CLIENT_TOKENS:{NAME:"CLIENT_TOKENS",HIDDEN:[],COLUMNS:g.CLIENT_TOKENS},DEVICE_GROUP_DEVICES:{NAME:"DEVICE_GROUP_DEVICES",HIDDEN:[],COLUMNS:(0,c.pick)(g.DEVICES,["CONNECTION","NAME","SERIAL_NUMBER","SITE","MODEL","VERSION"])},DEVICE_GROUP_POLICIES:{NAME:"DEVICE_GROUP_POLICIES",HIDDEN:[],COLUMNS:g.DEVICE_GROUP_POLICIES},DEVICE_GROUPS:{NAME:"DEVICE_GROUPS",HIDDEN:[],COLUMNS:g.DEVICE_GROUPS},DEVICE_SERVICE_INFORMATION:{NAME:"DEVICE_SERVICE_INFORMATION",HIDDEN:T.DEVICE_SERVICE_INFORMATION,COLUMNS:g.DEVICE_SERVICE_INFORMATION},DEVICE_USER_GROUPS:{NAME:"DEVICE_USER_GROUPS",HIDDEN:[],COLUMNS:g.DEVICE_USER_GROUPS},DEVICE_USERS:{NAME:"DEVICE_USERS",HIDDEN:[],COLUMNS:g.DEVICE_USERS},DEVICES:{NAME:"DEVICES",HIDDEN:T.DEVICES,COLUMNS:(0,c.omit)(g.DEVICES,["LAST_PROVISIONING_SYNC","DATE_REGISTERED","DATE_LAST_SEEN"])},EXTERNAL_USER_GROUPS:{NAME:"EXTERNAL_USER_GROUPS",HIDDEN:[],COLUMNS:g.EXTERNAL_USER_GROUPS},LICENSES:{NAME:"LICENSES",HIDDEN:[],COLUMNS:g.LICENSES},MEMBERS:{NAME:"MEMBERS",HIDDEN:[],COLUMNS:g.MEMBERS},PENDING_USERS:{NAME:"PENDING_USERS",HIDDEN:[],COLUMNS:g.PENDING_USERS},POLICIES:{NAME:"DEVICE_MODEL",HIDDEN:[],COLUMNS:g.POLICIES},POLY_PLUS_ENTITLE_DEVICES:{NAME:"POLY_PLUS_ENTITLE_DEVICES",COLUMNS:g.POLY_PLUS_ENTITLE_DEVICES,HIDDEN:(0,s.Z)({},(0,c.omit)(g.DEVICES,["LINES","SERIAL_NUMBER","SITE"]))},RESOURCE_FILES:{NAME:"RESOURCE_FILES",HIDDEN:[],COLUMNS:g.RESOURCE_FILES},ROOM_DEVICES:{NAME:"ROOM_DEVICES",HIDDEN:[],COLUMNS:(0,c.omit)(g.DEVICES,["ROOM","SERIAL_NUMBER","PROVIDER","POLY_PLUS","LINKED_DEVICES","CONNECTION","PROVISIONING"])},ROOMS:{NAME:"ROOMS",HIDDEN:[],COLUMNS:(0,c.omit)(g.ROOMS,"FLOOR")},SITE_DEVICES:{NAME:"SITE_DEVICES",HIDDEN:[],COLUMNS:(0,c.omit)(g.DEVICES,["SITE","SERIAL_NUMBER","PROVIDER","POLY_PLUS","LINKED_DEVICES","CONNECTION","PROVISIONING"])},SITE_ROOMS:{NAME:"SITE_ROOMS",HIDDEN:(0,c.pick)(g.ROOMS,["FLOOR"]),COLUMNS:(0,c.omit)(g.ROOMS,["SITE","FLOOR"])},SITES:{NAME:"SITES",HIDDEN:[],COLUMNS:g.SITES},USER_DEVICES:{NAME:"USER_DEVICES",HIDDEN:[],COLUMNS:g.USER_DEVICES}},E=d.IX().test("defined","",(function(e){return!(0,c.isNil)(e)})).of(d.Z_().required()),_=d.Ry((a={},(0,l.Z)(a,i.SHOWN,E),(0,l.Z)(a,i.HIDDEN,E),a)),S=d.Vo((function(e){return d.Ry((0,c.mapValues)(e,(function(){return _})))})),N=d.Ry({widgets:d.Ry({callUsage:d.Ry({trendChartMode:d.nK().oneOf(["COUNT","PERCENT"]).notRequired()}).notRequired()})}),I=function(e){return d.nK().oneOf(e)},C=d.Ry({inventorySessionState:I([m,"MAP"])}),A=d.Ry({acceptedToS:d.Z_().nullable(),ackAdblockWarning:d.Z_().nullable(),defaultInventoryView:I([m,"MAP"]),lastTenantId:d.Z_().nullable(),subnetInstructions:d.Z_().nullable(),theme:I([f,p]),highContrastCharts:d.O7().nullable(),insightsDashboard:N,tables:S}).concat(C),R=function(e,n){if(!e)return!1;try{A.validateSyncAt(n,e,{strict:!0})}catch(t){return!1}return!0},O="lensSettings",b={inventorySessionState:m},L={widgets:{callUsage:void 0}},k=(0,s.Z)({},Object.values(v).reduce((function(e,n){var t;return(0,s.Z)((0,s.Z)({},e),{},(0,l.Z)({},n.NAME,(t={},(0,l.Z)(t,i.SHOWN,Object.values(n.COLUMNS)),(0,l.Z)(t,i.HIDDEN,Object.values(n.HIDDEN)),t)))}),{})),D=function(e,n){if(!n)return e;var t={};return Object.entries(e).forEach((function(e){var a=(0,o.Z)(e,2),i=a[0],l=a[1],s=n[i];if(s){var u=(0,r.Z)(l.SHOWN),c=(0,r.Z)(l.HIDDEN),d=new Set([].concat((0,r.Z)(u),(0,r.Z)(c))),p=function(e){return d.has(e)},f=s.SHOWN.filter(p),m=s.HIDDEN.filter(p),h=[].concat((0,r.Z)(f),(0,r.Z)(m)),y=new Set(h),g=u.filter((function(e){return!y.has(e)})),T=c.filter((function(e){return!y.has(e)}));f.push.apply(f,(0,r.Z)(g)),m.push.apply(m,(0,r.Z)(T)),t[i]={SHOWN:f,HIDDEN:m}}else t[i]=l})),t},x=(0,s.Z)((0,s.Z)({acceptedToS:null,theme:h,highContrastCharts:!1,lastTenantId:null,ackAdblockWarning:null,subnetInstructions:null,defaultInventoryView:y},b),{},{insightsDashboard:L,tables:k}),P=(0,u.createStandardAction)("LOAD_USER_DATA_FROM_LOCALSTORAGE")(),U=(0,u.createStandardAction)("GET_USER_META")(),w=(0,u.createStandardAction)("UPDATE_USER_META")(),M=(0,u.createReducer)(x).handleAction(P,(function(e){var n=function(){try{var e=localStorage.getItem(O);if(!e)return;return JSON.parse(e)}catch(n){return}}();return Object.keys(x).reduce((function(e,t){switch(t){case"tables":var a=n&&n.tables;if(a){var i=Object.entries(a).reduce((function(e,n){var t=(0,o.Z)(n,2),a=t[0],i=t[1];return _.isValidSync(i)&&(e[a]=i),e}),{});e=(0,s.Z)((0,s.Z)({},e),{},{tables:D(k,i)})}break;case"defaultInventoryView":if(R(n,t)){var r,u=n[t];e=(0,s.Z)((0,s.Z)({},e),{},(r={},(0,l.Z)(r,t,u),(0,l.Z)(r,"inventorySessionState",u),r))}break;case"inventorySessionState":break;default:if(R(n,t)){var c=n[t];e=(0,s.Z)((0,s.Z)({},e),{},(0,l.Z)({},t,c))}}return e}),(0,s.Z)({},e))})).handleAction(U,(function(e){return(0,s.Z)({},e)})).handleAction(w,(function(e,n){return(0,s.Z)({},n.payload?n.payload:e)})),V=function(e){return function(e){return function(n){(0,u.getType)(w)===n.type&&function(e){e||(e=x);try{var n=JSON.stringify(e);localStorage.setItem(O,n)}catch(t){}}(n.payload),e(n)}}}},19462:function(e,n,t){"use strict";t.d(n,{kb:function(){return r},pB:function(){return o},uW:function(){return i}});var a=t(89810),i=function(e){return Array.from(new Set(e))};function r(e,n){return e.includes(n)?e.filter((function(e){return e!==n})):[].concat((0,a.Z)(e),[n])}function o(e,n,t){if(!(n<0||n>=e.length||t<0||t>=e.length||n===t)){var a=e.splice(n,1)[0];e.splice(t,0,a)}}},88654:function(e,n,t){"use strict";t.d(n,{_B:function(){return i}});var a="betaNotification",i=function(){void 0!==localStorage.getItem(a)&&localStorage.removeItem(a)}},37473:function(e,n,t){"use strict";t.d(n,{w5:function(){return a},up:function(){return R},Sk:function(){return c},pH:function(){return j},j0:function(){return l},p1:function(){return o},lP:function(){return Z},e$:function(){return B},NP:function(){return G},Z6:function(){return u},Rv:function(){return V},Ck:function(){return F},X5:function(){return d},Jd:function(){return x}});var a,i=t(90497),r=t(48930),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return e.meta.object&&e.data&&"MeetingRecordAggregateSeriesMeta"===e.meta.__typename}))},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return e.meta.object&&e.data&&"ConnectDevicesAggregateSeriesMeta"===e.meta.__typename}))};!function(e){e[e.PRIMARY=0]="PRIMARY",e[e.LINE_1=1]="LINE_1",e[e.LINE_2=2]="LINE_2",e[e.LINE_3=3]="LINE_3",e[e.LINE_4=4]="LINE_4"}(a||(a={}));var s=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e===r.rcI.Light?n?i.AK:i.NM:e===r.rcI.Dark?n?i.N7:i.JP:n?i.AK:i.NM},u=function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=Object.values(s(e,a));if(void 0!==n&&n\n '.concat(e(r),"\n ");return o.concat(l)}},d=function(e){return function(){var n,t,a,i=this.color,r=this.series,o=this.y,l=void 0===o?0:o,s=this.options,u=e({value:l.toLocaleString(),percentage:((null!==(n=s.percentage)&&void 0!==n?n:0)/100).toLocaleString(void 0,{style:"percent",maximumFractionDigits:1}),hours:Math.trunc(l).toString(),minutes:Math.trunc(60*l%60).toString().padStart(2,"0"),count:(null!==(t=s.count)&&void 0!==t?t:0).toLocaleString(void 0,{maximumFractionDigits:1}),total:(null!==(a=s.total)&&void 0!==a?a:0).toLocaleString(void 0,{maximumFractionDigits:1}),raw:l});return'\u25cf ').concat(r.name,": ").concat(u,"
")}},p=t(16798),f=t(95764),m=t(71421),h=t(50888);function y(e){(0,h.Z)(1,arguments);var n=(0,m.Z)(e),t=n.getTime();return t}var g,T=t(769),v=t(62178),E=t(82192),_=t(25825),S=t(21645),N=t(96199),I={baseChartType:"area",includeSecondarySeries:!0,seriesTransform:void 0,chartOptions:{chart:{height:300},legend:{width:"88%"}}},C=(0,f.Z)((0,f.Z)({},I),{},{seriesTransform:function(e){var n;return(0,f.Z)((0,f.Z)({},e),{},{y:(null!==(n=e.y)&&void 0!==n?n:0)/60})},chartOptions:(0,f.Z)((0,f.Z)({},I.chartOptions),{},{tooltip:{pointFormatter:d((function(e){var n=e.hours,t=e.minutes;return"".concat(n,":").concat(t,"")}))}})}),A={baseChartType:"area",includeSecondarySeries:!1,seriesTransform:function(e){return(0,f.Z)((0,f.Z)({},e),{},{y:e.z,percentage:e.z})},chartOptions:(0,f.Z)((0,f.Z)({},I.chartOptions),{},{yAxis:{min:0,max:100},tooltip:{pointFormatter:d((function(e){var n=e.percentage,t=e.count,a=e.total;return"".concat(n," (").concat(t,"/").concat(a,")")}))}})},R=(g={},(0,p.Z)(g,i.Zf.MEETING_SIZE,(0,f.Z)({},I)),(0,p.Z)(g,i.Zf.CALL_USAGE,(0,f.Z)({},C)),(0,p.Z)(g,i.Zf.ROOM_USAGE,(0,f.Z)({},C)),(0,p.Z)(g,i.Zf.DEVICES_USED,(0,f.Z)({},A)),(0,p.Z)(g,i.Zf.DEVICES_UNUSED,(0,f.Z)({},A)),(0,p.Z)(g,i.Zf.DEVICES_OFFLINE,(0,f.Z)({},A)),(0,p.Z)(g,i.Zf.DEVICES_OUT_OF_SERVICE,(0,f.Z)({},A)),g),O=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e===r.rcI.Light?n?i.Ou.LIGHT_HIGH_CONTRAST:i.Ou.LIGHT:e===r.rcI.Dark?n?i.Ou.DARK_HIGH_CONTRAST:i.Ou.DARK:n?i.Ou.LIGHT_HIGH_CONTRAST:i.Ou.LIGHT},b=function(e,n){var t,a,i,r=_.ZP.t(e.locationScope);switch(null===(t=e.object)||void 0===t?void 0:t.__typename){case"Device":i=e.object.deviceName;break;case"Room":i=e.object.roomName;break;case"Site":i=e.object.siteName;break;case"Tenant":i=e.object.tenantName;break;default:i=(0,S.wv)(null===(a=e.object)||void 0===a?void 0:a.id)}if("other"===e.place){var o=null===n||void 0===n?void 0:n.otherCount;return o?_.ZP.t("INSIGHT_CHART_SERIES_NAME_OTHERS_W_COUNTS",{scope:r,count:o}):_.ZP.t("INSIGHT_CHART_SERIES_NAME_OTHERS",{scope:r})}return _.ZP.t("INSIGHT_CHART_SERIES_NAME",{scope:r,name:(0,S.wv)(i)})},L=function(e){return e?"line":"area"},k=function(e){var n={first:1,second:2,third:3,other:4};return"PRIMARY"===e.seriesType?0:e.place&&n.hasOwnProperty(e.place)?n[e.place]:void 0},D=function(e,n){var t,a=function(e){var n=T.IX().of(T.Ry({x:T.Rx(),y:T.Rx().nullable()}));return e.flatMap((function(e){return n.validateSync(e.data).map((function(e){return e.x})).filter((function(e){return Boolean(e)}))}))}(e),r=function(e,n,t){var a=e.map((function(e){return{x:e,y:n}})),r={seriesName:"",seriesColor:i.DM.THRESHOLD_RED},o=(0,f.Z)((0,f.Z)({},r),t);return{name:o.seriesName,type:"line",data:a,color:o.seriesColor,marker:{enabled:!1,states:{hover:{enabled:!1}}},dashStyle:"Dot",zIndex:120,opacity:.9,description:o.seriesName,enableMouseTracking:!0}}(a,n,{seriesName:"Room Capacity",seriesColor:i.DM.THRESHOLD_RED});return t="area",(e=e.map((function(e){return e.type=t,e}))).push(r),e},x=function(e,n,t,a,o,l,s){var c,d,p,m,h=(0,r.VUJ)({variables:{tenantId:[e],id:n,locationScope:t,topic:i.$g[a],timeScope:o,timeStart:(0,N.Fh)(l)}}),g=h.data,T=h.fetching,_=(0,r.qJt)({variables:{tenant:[e],input:{device:t===r.dwg.Device?n:void 0,room:t===r.dwg.Room?n:void 0,site:t===r.dwg.Site?n:void 0,locationScope:t,topic:[i.$g[a]],timeScope:o,timePeriodStart:(0,N.Fh)(l),threshold:0}}}),S=_.data,I=_.fetching,C=null===S||void 0===S||null===(c=S.topicIndicators.edges[0])||void 0===c?void 0:c.node,A=t===r.dwg.Room&&a===i.Zf.MEETING_SIZE,R=(0,r.g2v)({variables:{id:n||""},pause:!A}),x=R.data,P=R.fetching,U=null===x||void 0===x||null===(d=x.room)||void 0===d?void 0:d.capacity,w=(0,v.v9)((function(e){var n,t=e.userMeta;return null!==(n=null===t||void 0===t?void 0:t.theme)&&void 0!==n?n:E.KH})),M=(0,v.v9)((function(e){var n;return null!==(n=e.userMeta.highContrastCharts)&&void 0!==n&&n})),V=T||I||P;if(V)return{fetching:V};if("InsightChartMeta"!==(null===g||void 0===g||null===(p=g.charts)||void 0===p?void 0:p.meta.__typename))return{fetching:V};var j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return e.meta.object&&e.data&&"InsightSeriesMeta"===e.meta.__typename}))}(null===g||void 0===g||null===(m=g.charts)||void 0===m?void 0:m.series),F=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},a=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return e.map((function(e,r){var o=e.data.map((function(e){return(0,f.Z)((0,f.Z)({},e),{},{x:y(new Date(e.x))})})).map(t),l=k(e.meta),s=l||r;return(0,f.Z)((0,f.Z)({},e),{},{name:b(e.meta,n),color:u(a,s,!1,i),type:L(s),legendIndex:l,marker:{enabled:!1,states:{hover:{enabled:!r}}},zIndex:r?40:0,data:o})}))}(j,g.charts.meta,null===s||void 0===s?void 0:s.seriesTransform,w,M),B=F;return s&&(B=function(e,n){var t=n;return e.includeSecondarySeries||(t=n.filter((function(e){var n;return"SECONDARY"!==(null===(n=e.meta)||void 0===n?void 0:n.seriesType)}))),t.map((function(n){var t;return"PRIMARY"===(null===(t=n.meta)||void 0===t?void 0:t.seriesType)&&(n.type=e.baseChartType),n}))}(s,B)),A&&U&&(B=D(B,U)),B=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e,i=O(n,t);return a.map((function(e){if("area"===e.type){var n,t=e.color;if(null!==(n=i.PRIMARY)&&void 0!==n&&n.fillColorRGBA){var a,r,o=null===(a=i.PRIMARY)||void 0===a?void 0:a.fillColorRGBA;if(e.fillColor=o,null!==(r=i.PRIMARY)&&void 0!==r&&r.strokeColor){var l,s=null===(l=i.PRIMARY)||void 0===l?void 0:l.strokeColor;e.color=s}else e.color=t}else e.fillColor=void 0,e.color=t}return e}))}(B,w),{chartSeries:B,chartMeta:g.charts.meta,topicIndicator:C,fetching:V}},P=t(76366);function U(e,n){(0,h.Z)(2,arguments);var t=(0,m.Z)(e),a=(0,P.Z)(n);return t.setHours(a),t}var w=t(81198),M=function(e){return e?e.filter((function(e){return null!==e.data})):[]},V=function(e,n){return M(e).filter((function(e){return"InsightSeriesMeta"===e.meta.__typename})).map((function(e,t){var a=e.data.map((function(e){return(0,f.Z)((0,f.Z)({},e),{},{x:new Date(e.x).valueOf(),y:e.y})}));return(0,f.Z)((0,f.Z)({},e),{},{name:b(e.meta),color:t?void 0:n===r.rcI.Light?i.ZE.DAINTREE:i.ZE.PATTENS,type:t?"area":"line",marker:{enabled:!1,states:{hover:{enabled:!t}}},zIndex:t?8:40,data:a})}))},j=function(e){var n=(new Date).getFullYear()+100,t=Date.UTC(n,12,31),a=e.reduce((function(e,n){if(!n||!n.data)return e;var a=n.data.reduce((function(e,n){return n&&n.x?e<+n.x?e:+n.x:e}),t);return a+n.x2?e:+n.x2:e}),0);return t>e?t:e}),0),r=new Date(a),o=new Date(i);return{min:U(r,0).getTime(),max:U(o,24).getTime()}},F=function(e){return M(e).map((function(e,n){var t=e.data.map((function(e){var t=e&&e.x?e.x:0,a=e&&e.y?e.y:0,i=new Date(t),r=(0,w.Z)(i,a);return(0,f.Z)((0,f.Z)({},e),{},{x:i.getTime(),x2:r.getTime(),y:n})}));return(0,f.Z)((0,f.Z)({},e),{},{type:"xrange",data:t,name:"",maxPointWidth:32,borderWidth:0,dataLabels:{enabled:!0}})}))},B=function(e){if(!e||null===e||void 0===e||!e.timeScope)return"area";return[r._AU.Day].includes(e.timeScope)&&["room usage","unscheduled room usage","meetings that start late","meetings that run long","rooms scheduled but not used","average meeting size","recurring meetings with no participants","offline devices","call usage"].includes(e.topic)?"xrange":"area"},Z=function(e,n,t){return n?"xrange"===e?[i.ZE.PUERTO,i.ZE.NAVAJO,i.ZE.MONA_LISA,i.ZE.FUSCHIA]:[i.ZE.FUSCHIA,i.ZE.PUERTO,i.ZE.NAVAJO,i.ZE.MONA_LISA].slice(0,n):[]},G=function(e){var n=i.DM.CARD_GREY,t=i.DM.WHITE,a=i.DM.WHITE,r=i.DM.CHART_GRID_DARK;return E.qx===e&&(n=i.DM.WHITE,t=i.DM.CHART_LABELS_LIGHT,a=i.DM.BLACK,r=i.DM.CHART_GRID_LIGHT),{backgroundColor:n,textColor:t,titleColor:a,chartColor:r}}},18891:function(e,n,t){"use strict";t.d(n,{v:function(){return r}});var a=t(82333),i=t(85358),r=function(){var e=(0,i.Z)((0,a.Z)().mark((function e(n){var t,i;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!1,e.prev=1,e.next=4,navigator.clipboard.writeText(n);case 4:t=!0,e.next=11;break;case 7:e.prev=7,e.t0=e.catch(1),i=document.createElement("textarea");try{i.value=n,i.setAttribute("readonly",""),i.style.position="absolute",i.style.left="-9999px",document.body.appendChild(i),i.focus(),i.select(),t=document.execCommand("copy")}catch(a){console.log("error copying to clipboard",a)}finally{document.body.removeChild(i)}case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(n){return e.apply(this,arguments)}}()},96199:function(e,n,t){"use strict";t.d(n,{cV:function(){return y},CI:function(){return c},dA:function(){return m},p6:function(){return u},AQ:function(){return p},yb:function(){return f},MY:function(){return d},Fh:function(){return h},Aq:function(){return g}});var a=t(59614),i=t(58141),r=t(76366),o=t(81198),l=t(50888);t(9363);var s=t(90497),u=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.zT.DATE_TIME_SHORT_NO_SECONDS,t=new Date(e);return(0,a.Z)(t)?(0,i.Z)(t,n).replace(",",""):""},c=function(e){try{return(0,i.Z)(e,s.zT.ISO_SHORT)}catch(n){return"Invalid date"}};function d(e){return 1e3*parseInt(e)}function p(e){return new Date(e).getTime()}function f(e){return new Date(1e3*parseInt(e))}function m(e){return String(Math.round(e.getTime()/1e3))}var h=function(e){return function(e,n){(0,l.Z)(2,arguments);var t=(0,r.Z)(n);return(0,o.Z)(e,-t)}(e,e.getTimezoneOffset())},y=function(e){return(0,o.Z)(e,e.getTimezoneOffset())},g=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n?Math.floor(e/60):e/60}},98754:function(e,n,t){"use strict";t.d(n,{J:function(){return i}});var a=t(36265),i=function(e,n,t){return(0,a.no)(null!==t&&void 0!==t?t:"")&&e&&n?e+"-"+n:e}},32292:function(e,n,t){"use strict";t.d(n,{Iy:function(){return c},Jk:function(){return v},M6:function(){return m},Ox:function(){return h},Si:function(){return d},XW:function(){return N},fe:function(){return T},jm:function(){return y},n0:function(){return A},p3:function(){return S},rE:function(){return g},su:function(){return C},vw:function(){return E},xC:function(){return p},z:function(){return f}});var a=t(95764),i=t(30),r=t(90497),o=t(21645),l=function(e,n,t,a){return n?n.filter((function(n){return n.hardwareModel===e})).filter((function(e){var n;return!t||(null===(n=e.tenant)||void 0===n?void 0:n.id)===t})).filter((function(e){return!a||e.id===a})).sort((function(e,n){return(0,i.Z)(new Date(e.lastDetected),new Date(n.lastDetected))})).filter((function(e,n,t){return t.findIndex((function(n){return n.hardwareProduct===e.hardwareProduct}))===n})):null},s=function(e,n,t,a){var i=l(e,n,t,a);return i?i[0]:null},u=function(e,n,t,a){return l(e,n,t,a)},c=function(e,n,t){return u(r.oN,e,n,t)},d=function(e,n,t){return s(r.oN,e,n,t)},p=function(e,n,t){return u(r._7,e,n,t)},f=function(e,n,t){return s(r._7,e,n,t)},m=function(e){return null===e||void 0===e?void 0:e.reduce((function(e,n){switch(n){case r.qk:e.indexOf(r.q5)<0&&e.push(r.q5);break;case r.oz:e.indexOf(r.Jq)<0&&e.push(r.Jq)}return e}),[])},h=function(e){return!!e&&r.oN===e},y=function(e){return!!e&&r.qk===e},g=function(e){return!!e&&r._7===e},T=function(e){return h(e)||g(e)},v=function(e,n){var t=n&&[r.oN,r._7].every((function(e){return n.includes(e)}));return e?(null===e||void 0===e?void 0:e.reduce((function(t,i){if(!t.some((function(e){return e.id.toLocaleLowerCase()===i.id.toLocaleLowerCase()}))&&null!==i.hardwareModel&&!T(i.hardwareModel)){var o=(0,a.Z)((0,a.Z)({},i),{},{clients:[]});i.connections&&(i.connections.filter((function(e){return e.hardwareModel&&T(e.hardwareModel)&&(!(null!==n&&void 0!==n&&n.length)||(null===n||void 0===n?void 0:n.includes(e.hardwareModel)))})).forEach((function(e){h(e.hardwareModel)&&!o.clients.includes(r.oN)&&o.clients.push(r.oN),g(e.hardwareModel)&&!o.clients.includes(r._7)&&o.clients.push(r._7)})),o.appVersion=_(o.clients,e)),t.push(o)}return t}),[])).filter((function(e){var a;return t?null===n||void 0===n?void 0:n.every((function(n){return e.clients.includes(n)})):!(null!==n&&void 0!==n&&n.length)||(null===(a=e.clients)||void 0===a?void 0:a.length)})):null},E=function(e){return e?e.reduce((function(e,n){return e.some((function(e){return e.id.toLocaleLowerCase()===n.id.toLocaleLowerCase()}))||null===n.hardwareModel||T(n.hardwareModel)||e.push(n),e}),[]):null},_=function(e,n){var t={};if(1===e.length){var a=e[0],i=n.find((function(e){return e.hardwareModel===a}));return i?(h(a)?t.desktopVersion=i.softwareVersion:g(a)&&(t.mobileVersion=i.softwareVersion),t):null}if(e.length>1&&n){var r,o,l=null===(r=n.find((function(e){return h(e.hardwareModel)})))||void 0===r?void 0:r.softwareVersion,s=null===(o=n.find((function(e){return g(e.hardwareModel)})))||void 0===o?void 0:o.softwareVersion;return t.desktopVersion=l,t.mobileVersion=s,t}return null},S=function(e,n){var t=[];return null===e||void 0===e||e.forEach((function(e){var a=N(e.hardwareProduct,e.softwareVersion,e.softwareBuild,n);t.push(a)})),t},N=function(e,n,t,a){var i,o,l,s={isUpdateAvailable:!1,archiveUrl:void 0,hardwareProduct:void 0};if(!a)return s;switch(e){case r.TL:i=a.windows;break;case r.zQ:i=a.mac;break;case r.YV:i=a.android;break;default:i=null}i&&(s.isUpdateAvailable=I(n,i,t),s.archiveUrl=null!==(o=null===(l=i.productBuild)||void 0===l?void 0:l.archiveUrl)&&void 0!==o?o:"",s.hardwareProduct=e);return s},I=function(e,n,t){var a,i;if(!n||!e)return!1;var r,l=(0,o.yC)(e,null!==(a=null===(i=n.productBuild)||void 0===i?void 0:i.version)&&void 0!==a?a:e);return t&&0===l?Number(t)2&&void 0!==arguments[2]&&arguments[2],a=t?"data:application/octet-stream;base64,".concat(e):URL.createObjectURL(new Blob([e],{type:"text/plain"}));l(a,n)},u=function(e){e.preventDefault()},c=function(){return document.addEventListener("dragover",u,!1),document.addEventListener("drop",u,!1),function(){document.removeEventListener("dragover",u,!1),document.removeEventListener("drop",u,!1)}}},97113:function(e,n,t){"use strict";t.d(n,{_3:function(){return T},JI:function(){return v},F7:function(){return E},aj:function(){return _},Tx:function(){return S},DD:function(){return h},Uv:function(){return N}});var a=t(99710),i=t(95764),r=t(48930),o=t(55713),l=t(38097),s=t(90497),u=t(76366),c=t(25767),d=t(50888),p=36e5;function f(e,n){(0,d.Z)(2,arguments);var t=(0,u.Z)(n);return(0,c.Z)(e,t*p)}var m=t(76223),h={activeApplicationName:"activeApplicationName",connected:"connected",dateRegistered:"dateRegistered",domain:"domain",entitledUntilDate:"entitledUntilDate",entitlements:"entitlements",hasPeripherals:"hasPeripherals",allPeripheralsLinked:"allPeripheralsLinked",id:"id",insight:"insight",ipv4:"internalIp",isUpdateAvailable:"isUpdateAvailable",lastConfigRequestDate:"lastConfigRequestDate",lastDetected:"lastDetected",lineNumber:"lineNumber",macAddress:"macAddress",model:"hardwareModel",name:"name",provisioningEnabled:"provisioningEnabled",room:"room",serialNumber:"serialNumber",serverAddress:"serverAddress",serverType:"serverType",site:"site",status:"status",supportsSoftwareUpdate:"supportsSoftwareUpdate",supportsSettings:"supportsSettings",type:"type",updateVersion:"updateVersion",version:"softwareVersion"},y=function(e,n){var t={},a=h.lastConfigRequestDate,i=h.provisioningEnabled,r=new Date;r.setMinutes(0,0,0);var o=function(e,n){(0,d.Z)(2,arguments);var t=(0,u.Z)(n);return f(e,-t)}(r,24).toISOString(),l=new Date(s.A3).toISOString();switch(e[n]){case m.mi.ACTIVE:t={AND:[{field:i,eq:"true"},{field:a,ge:o}]};break;case m.mi.INACTIVE:t={AND:[{field:i,eq:"true"},{field:a,lt:o},{field:a,ne:l}]};break;case m.mi.STAGED:t={AND:[{field:i,eq:"true"},{field:a,eq:l}]}}return t},g=function(e,n){var t={},a=h.hasPeripherals,i=h.allPeripheralsLinked;switch(e[n]){case m.VH.LINKED:t={AND:[{field:a,eq:"true"},{field:i,eq:"true"}]};break;case m.VH.UNLINKED:t={AND:[{field:a,eq:"true"},{field:i,eq:"false"}]}}return t},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,a=[];return n&&a.push({field:"tenantId",eq:n}),t&&a.push({field:"geohash",within:t}),(0,l.X8)(e).forEach((function(n){if((0,o.Uh)(e,n)){if("provisioningState"===n)return void a.push(y(e,n));if("linkedDeviceState"===n)return void a.push(g(e,n));if(e[n]===o.ez)return void a.push({OR:[{field:h[n],exists:!1},{field:h[n],eq:"Unknown"}]});if("sort"===n)return;var t=e[n];if("model"===n&&""===t)return void a.push({OR:[{field:h[n],exists:!1},{field:h[n],eq:"Unknown"}]});a.push({field:h[n],eq:t})}})),a},v=function(e){var n=[];return(0,l.X8)(e).forEach((function(t){var a=h[t],r=e[t];if(null!==r)return"string"===typeof r?(a.includes(".lower")&&(r=r.toLowerCase()),void n.push({field:a,eq:r})):r&&r.OR?(r.OR=r.OR.map((function(e){return(0,i.Z)((0,i.Z)({},e),{},{field:a})})),void n.push(r)):r&&r.AND?(r.AND=r.AND.map((function(e){return(0,i.Z)((0,i.Z)({},e),{},{field:a})})),void n.push(r)):void 0;n.push({field:a,eq:null})})),n},E=function(e){var n={fields:[]};if((0,o.Uh)(e,"sort")){var t=e.sort;n.fields.push({name:h[t.field],direction:"ASC"===t.direction?r.ZuM.Asc:r.ZuM.Desc})}return n},_=function(e){return function(n){var t=e.reduce((function(e,t){var a=n(t);""===a?a=o.D$:null===a&&(a=o.ez);var i=e.get(a);return i?i++:i=1,e.set(a,i),e}),new Map);return Array.from(t.entries()).map((function(e){var n=(0,a.Z)(e,2);return{value:n[0],count:n[1]}})).sort((function(e,n){return n.count-e.count}))}},S=function(e){var n=new Set,t=new Set;return e.forEach((function(e){e.sites.forEach((function(e){e&&n.add(e)})),e.rooms.forEach((function(e){e&&t.add(e)}))})),{sites:Array.from(n),rooms:Array.from(t)}},N=function(e){return function(n){var t,a=[],i=0;if(e.forEach((function(e,a){e.field===n&&(t=a)})),void 0!==t&&e&&e[t]&&e[t].field===n){a=e[t].buckets;var r=["connected","site","hardwareModel","softwareVersion"];a.forEach((function(n){"FieldMissingBucket"===n.__typename&&(i=n.count),void 0!==t&&"KeyBucket"!==n.__typename&&"FieldMissingBucket"!==n.__typename&&r.includes(e[t].field)&&n.key&&(n.__typename="KeyBucket")}))}return a.filter((function(e){return"KeyBucket"===e.__typename})).map((function(e){return{value:e.key,count:e.key===o.ez?e.count+i:e.count}}))}}},55713:function(e,n,t){"use strict";t.d(n,{D$:function(){return i},Uh:function(){return r},ez:function(){return a}});var a="Unknown",i="Not Set",r=function(e,n){return e[n]&&""!==e[n]}},25825:function(e,n,t){"use strict";t.d(n,{cC:function(){return Pn},ZP:function(){return wn},FH:function(){return Un},$G:function(){return xn}});var a=t(95764),i=t(81034);function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function l(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,a=new Array(n);t1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(n,t)}return s(e,[{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||v,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t1?n-1:0),a=1;a-1?e.replace(/###/g,"."):e}function i(){return!e||"string"===typeof e}for(var r="string"!==typeof n?[].concat(n):n.split(".");r.length>1;){if(i())return{};var o=a(r.shift());!e[o]&&t&&(e[o]=new t),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return i()?{}:{obj:e,k:a(r.shift())}}function R(e,n,t){var a=A(e,n,Object);a.obj[a.k]=t}function O(e,n){var t=A(e,n),a=t.obj,i=t.k;if(a)return a[i]}function b(e,n,t){var a=O(e,t);return void 0!==a?a:O(n,t)}function L(e,n,t){for(var a in n)"__proto__"!==a&&"constructor"!==a&&(a in e?"string"===typeof e[a]||e[a]instanceof String||"string"===typeof n[a]||n[a]instanceof String?t&&(e[a]=n[a]):L(e[a],n[a],t):e[a]=n[a]);return e}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var D={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function x(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return D[e]})):e}var P="undefined"!==typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,U=[" ",",","?","!",";"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function M(e){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[n])return e[n];for(var a=n.split(t),i=e,r=0;rr+o;)o++,s=i[l=a.slice(r,r+o).join(t)];if(void 0===s)return;if(n.endsWith(l)){if("string"===typeof s)return s;if(l&&"string"===typeof s[l])return s[l]}var u=a.slice(r+o).join(t);return u?j(s,u,t):void 0}i=i[a[r]]}return i}}var F=function(e){d(t,e);var n=V(t);function t(e){var a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,t),a=n.call(this),P&&S.call(u(a)),a.data=e||{},a.options=i,void 0===a.options.keySeparator&&(a.options.keySeparator="."),void 0===a.options.ignoreJSONStructure&&(a.options.ignoreJSONStructure=!0),a}return s(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}},{key:"getResource",value:function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,r=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,n];t&&"string"!==typeof t&&(o=o.concat(t)),t&&"string"===typeof t&&(o=o.concat(i?t.split(i):t)),e.indexOf(".")>-1&&(o=e.split("."));var l=O(this.data,o);return l||!r||"string"!==typeof t?l:j(this.data&&this.data[e]&&this.data[e][n],t,i)}},{key:"addResource",value:function(e,n,t,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},r=this.options.keySeparator;void 0===r&&(r=".");var o=[e,n];t&&(o=o.concat(r?t.split(r):t)),e.indexOf(".")>-1&&(a=n,n=(o=e.split("."))[1]),this.addNamespaces(n),R(this.data,o,a),i.silent||this.emit("added",e,n,t,a)}},{key:"addResources",value:function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in t)"string"!==typeof t[i]&&"[object Array]"!==Object.prototype.toString.apply(t[i])||this.addResource(e,n,i,t[i],{silent:!0});a.silent||this.emit("added",e,n,t)}},{key:"addResourceBundle",value:function(e,n,t,a,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,n];e.indexOf(".")>-1&&(a=t,t=n,n=(o=e.split("."))[1]),this.addNamespaces(n);var l=O(this.data,o)||{};a?L(l,t,i):l=M(M({},l),t),R(this.data,o,l),r.silent||this.emit("added",e,n,t)}},{key:"removeResourceBundle",value:function(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}},{key:"hasResourceBundle",value:function(e,n){return void 0!==this.getResource(e,n)}},{key:"getResourceBundle",value:function(e,n){return n||(n=this.options.defaultNS),"v1"===this.options.compatibilityAPI?M(M({},{}),this.getResource(e,n)):this.getResource(e,n)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find((function(e){return n[e]&&Object.keys(n[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),t}(S),B={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,n,t,a,i){var r=this;return e.forEach((function(e){r.processors[e]&&(n=r.processors[e].process(n,t,a,i))})),n}};function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function G(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),a=n.call(this),P&&S.call(u(a)),C(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,u(a)),a.options=i,void 0===a.options.keySeparator&&(a.options.keySeparator="."),a.logger=_.create("translator"),a}return s(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;var t=this.resolve(e,n);return t&&void 0!==t.res}},{key:"extractFromKey",value:function(e,n){var t=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===t&&(t=":");var a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=n.ns||this.options.defaultNS||[],r=t&&e.indexOf(t)>-1,o=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!function(e,n,t){n=n||"",t=t||"";var a=U.filter((function(e){return n.indexOf(e)<0&&t.indexOf(e)<0}));if(0===a.length)return!0;var i=new RegExp("(".concat(a.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),r=!i.test(e);if(!r){var o=e.indexOf(t);o>0&&!i.test(e.substring(0,o))&&(r=!0)}return r}(e,t,a);if(r&&!o){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:i};var s=e.split(t);(t!==a||t===a&&this.options.ns.indexOf(s[0])>-1)&&(i=s.shift()),e=s.join(a)}return"string"===typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,a){var i=this;if("object"!==r(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],n),s=l.key,u=l.namespaces,c=u[u.length-1],d=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var f=n.nsSeparator||this.options.nsSeparator;return c+f+s}return s}var m=this.resolve(e,n),h=m&&m.res,y=m&&m.usedKey||s,g=m&&m.exactUsedKey||s,T=Object.prototype.toString.apply(h),v=["[object Number]","[object Function]","[object RegExp]"],E=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,S="string"!==typeof h&&"boolean"!==typeof h&&"number"!==typeof h;if(_&&h&&S&&v.indexOf(T)<0&&("string"!==typeof E||"[object Array]"!==T)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,h,G(G({},n),{},{ns:u})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(o){var N="[object Array]"===T,I=N?[]:{},C=N?g:y;for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var R="".concat(C).concat(o).concat(A);I[A]=this.translate(R,G(G({},n),{joinArrays:!1,ns:u})),I[A]===R&&(I[A]=h[A])}h=I}}else if(_&&"string"===typeof E&&"[object Array]"===T)(h=h.join(E))&&(h=this.extendTranslation(h,e,n,a));else{var O=!1,b=!1,L=void 0!==n.count&&"string"!==typeof n.count,k=t.hasDefaultValue(n),D=L?this.pluralResolver.getSuffix(d,n.count,n):"",x=n["defaultValue".concat(D)]||n.defaultValue;!this.isValidLookup(h)&&k&&(O=!0,h=x),this.isValidLookup(h)||(b=!0,h=s);var P=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,U=P&&b?void 0:h,w=k&&x!==h&&this.options.updateMissing;if(b||O||w){if(this.logger.log(w?"updateKey":"missingKey",d,c,s,w?x:h),o){var M=this.resolve(s,G(G({},n),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var V=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var F=0;F1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(n)){var s=o.extractFromKey(e,l),u=s.key;t=u;var c=s.namespaces;o.options.fallbackNS&&(c=c.concat(o.options.fallbackNS));var d=void 0!==l.count&&"string"!==typeof l.count,p=d&&!l.ordinal&&0===l.count&&o.pluralResolver.shouldUseIntlApi(),f=void 0!==l.context&&("string"===typeof l.context||"number"===typeof l.context)&&""!==l.context,m=l.lngs?l.lngs:o.languageUtils.toResolveHierarchy(l.lng||o.language,l.fallbackLng);c.forEach((function(e){o.isValidLookup(n)||(r=e,!H["".concat(m[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(r)&&(H["".concat(m[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(t,'" for languages "').concat(m.join(", "),'" won\'t get resolved as namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach((function(t){if(!o.isValidLookup(n)){i=t;var r,s=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(s,u,t,e,l);else{var c;d&&(c=o.pluralResolver.getSuffix(t,l.count,l));var m="_zero";if(d&&(s.push(u+c),p&&s.push(u+m)),f){var h="".concat(u).concat(o.options.contextSeparator).concat(l.context);s.push(h),d&&(s.push(h+c),p&&s.push(h+m))}}for(;r=s.pop();)o.isValidLookup(n)||(a=r,n=o.getResource(t,e,r,l))}})))}))}})),{res:n,usedKey:t,exactUsedKey:a,usedLng:i,usedNS:r}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,t,a):this.resourceStore.getResource(e,n,t,a)}}],[{key:"hasDefaultValue",value:function(e){var n="defaultValue";for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n===t.substring(0,n.length)&&void 0!==e[t])return!0;return!1}}]),t}(S);function Y(e){return e.charAt(0).toUpperCase()+e.slice(1)}var q=function(){function e(n){o(this,e),this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_.create("languageUtils")}return s(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var n=e.split("-");return 2===n.length?null:(n.pop(),"x"===n[n.length-1].toLowerCase()?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var n=e.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],t=e.split("-");return this.options.lowerCaseLng?t=t.map((function(e){return e.toLowerCase()})):2===t.length?(t[0]=t[0].toLowerCase(),t[1]=t[1].toUpperCase(),n.indexOf(t[1].toLowerCase())>-1&&(t[1]=Y(t[1].toLowerCase()))):3===t.length&&(t[0]=t[0].toLowerCase(),2===t[1].length&&(t[1]=t[1].toUpperCase()),"sgn"!==t[0]&&2===t[2].length&&(t[2]=t[2].toUpperCase()),n.indexOf(t[1].toLowerCase())>-1&&(t[1]=Y(t[1].toLowerCase())),n.indexOf(t[2].toLowerCase())>-1&&(t[2]=Y(t[2].toLowerCase()))),t.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var n,t=this;return e?(e.forEach((function(e){if(!n){var a=t.formatLanguageCode(e);t.options.supportedLngs&&!t.isSupportedCode(a)||(n=a)}})),!n&&this.options.supportedLngs&&e.forEach((function(e){if(!n){var a=t.getLanguagePartFromCode(e);if(t.isSupportedCode(a))return n=a;n=t.options.supportedLngs.find((function(e){if(0===e.indexOf(a))return e}))}})),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(e,n){if(!e)return[];if("function"===typeof e&&(e=e(n)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!n)return e.default||[];var t=e[n];return t||(t=e[this.getScriptPartFromCode(n)]),t||(t=e[this.formatLanguageCode(n)]),t||(t=e[this.getLanguagePartFromCode(n)]),t||(t=e.default),t||[]}},{key:"toResolveHierarchy",value:function(e,n){var t=this,a=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],r=function(e){e&&(t.isSupportedCode(e)?i.push(e):t.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&r(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&r(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&r(this.getLanguagePartFromCode(e))):"string"===typeof e&&r(this.formatLanguageCode(e)),a.forEach((function(e){i.indexOf(e)<0&&r(t.formatLanguageCode(e))})),i}}]),e}(),K=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],z={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},X=["v1","v2","v3"],$={zero:0,one:1,two:2,few:3,many:4,other:5};function Q(){var e={};return K.forEach((function(n){n.lngs.forEach((function(t){e[t]={numbers:n.nr,plurals:z[n.fc]}}))})),e}var ee=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=n,this.options=t,this.logger=_.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Q()}return s(e,[{key:"addRule",value:function(e,n){this.rules[e]=n}},{key:"getRule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:n.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.getRule(e,n);return this.shouldUseIntlApi()?t&&t.resolvedOptions().pluralCategories.length>1:t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,t).map((function(e){return"".concat(n).concat(e)}))}},{key:"getSuffixes",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this.getRule(e,t);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((function(e,n){return $[e]-$[n]})).map((function(e){return"".concat(n.options.prepend).concat(e)})):a.numbers.map((function(a){return n.getSuffix(e,a,t)})):[]}},{key:"getSuffix",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this.getRule(e,t);return a?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(a.select(n)):this.getSuffixRetroCompatible(a,n):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,n){var t=this,a=e.noAbs?e.plurals(n):e.plurals(Math.abs(n)),i=e.numbers[a];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var r=function(){return t.options.prepend&&i.toString()?t.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"===typeof i?"_plural_".concat(i.toString()):r():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?r():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}},{key:"shouldUseIntlApi",value:function(){return!X.includes(this.options.compatibilityJSON)}}]),e}();function ne(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function te(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=_.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return s(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var n=e.interpolation;this.escape=void 0!==n.escape?n.escape:x,this.escapeValue=void 0===n.escapeValue||n.escapeValue,this.useRawValueToEscape=void 0!==n.useRawValueToEscape&&n.useRawValueToEscape,this.prefix=n.prefix?k(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?k(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?k(n.nestingPrefix):n.nestingPrefixEscaped||k("$t("),this.nestingSuffix=n.nestingSuffix?k(n.nestingSuffix):n.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=void 0!==n.alwaysFormat&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var t="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(t,"g")}},{key:"interpolate",value:function(e,n,t,a){var i,r,o,l=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(l.formatSeparator)<0){var i=b(n,s,e);return l.alwaysFormat?l.format(i,void 0,t,te(te(te({},a),n),{},{interpolationkey:e})):i}var r=e.split(l.formatSeparator),o=r.shift().trim(),u=r.join(l.formatSeparator).trim();return l.format(b(n,s,o),u,t,te(te(te({},a),n),{},{interpolationkey:o}))};this.resetRegExp();var d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&void 0!==a.interpolation.skipOnVariables?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?u(l.escape(e)):u(e)}}].forEach((function(n){for(o=0;i=n.regex.exec(e);){var t=i[1].trim();if(void 0===(r=c(t)))if("function"===typeof d){var s=d(e,i,a);r="string"===typeof s?s:""}else if(a&&a.hasOwnProperty(t))r="";else{if(p){r=i[0];continue}l.logger.warn("missed to pass in variable ".concat(t," for interpolating ").concat(e)),r=""}else"string"===typeof r||l.useRawValueToEscape||(r=I(r));var u=n.safeValue(r);if(e=e.replace(i[0],u),p?(n.regex.lastIndex+=u.length,n.regex.lastIndex-=i[0].length):n.regex.lastIndex=0,++o>=l.maxReplaces)break}})),e}},{key:"nest",value:function(e,n){var t,a,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=te({},r);function l(e,n){var t=this.nestingOptionsSeparator;if(e.indexOf(t)<0)return e;var a=e.split(new RegExp("".concat(t,"[ ]*{"))),i="{".concat(a[1]);e=a[0],i=(i=this.interpolate(i,o)).replace(/'/g,'"');try{o=JSON.parse(i),n&&(o=te(te({},n),o))}catch(r){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),r),"".concat(e).concat(t).concat(i)}return delete o.defaultValue,e}for(o.applyPostProcessor=!1,delete o.defaultValue;t=this.nestingRegexp.exec(e);){var s=[],u=!1;if(-1!==t[0].indexOf(this.formatSeparator)&&!/{.*}/.test(t[1])){var c=t[1].split(this.formatSeparator).map((function(e){return e.trim()}));t[1]=c.shift(),s=c,u=!0}if((a=n(l.call(this,t[1].trim(),o),o))&&t[0]===e&&"string"!==typeof a)return a;"string"!==typeof a&&(a=I(a)),a||(this.logger.warn("missed to resolve ".concat(t[1]," for nesting ").concat(e)),a=""),u&&(a=s.reduce((function(e,n){return i.format(e,n,r.lng,te(te({},r),{},{interpolationkey:t[1].trim()}))}),a.trim())),e=e.replace(t[0],a),this.regexp.lastIndex=0}return e}}]),e}();function ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function re(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=_.create("formatter"),this.options=n,this.formats={number:function(e,n,t){return new Intl.NumberFormat(n,t).format(e)},currency:function(e,n,t){return new Intl.NumberFormat(n,re(re({},t),{},{style:"currency"})).format(e)},datetime:function(e,n,t){return new Intl.DateTimeFormat(n,re({},t)).format(e)},relativetime:function(e,n,t){return new Intl.RelativeTimeFormat(n,re({},t)).format(e,t.range||"day")},list:function(e,n,t){return new Intl.ListFormat(n,re({},t)).format(e)}},this.init(n)}return s(e,[{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},t=n.interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,n){this.formats[e.toLowerCase().trim()]=n}},{key:"format",value:function(e,n,t,a){var i=this;return n.split(this.formatSeparator).reduce((function(e,n){var r=function(e){var n=e.toLowerCase().trim(),t={};if(e.indexOf("(")>-1){var a=e.split("(");n=a[0].toLowerCase().trim();var i=a[1].substring(0,a[1].length-1);"currency"===n&&i.indexOf(":")<0?t.currency||(t.currency=i.trim()):"relativetime"===n&&i.indexOf(":")<0?t.range||(t.range=i.trim()):i.split(";").forEach((function(e){if(e){var n=y(e.split(":")),a=n[0],i=n.slice(1).join(":");"false"===i.trim()&&(t[a.trim()]=!1),"true"===i.trim()&&(t[a.trim()]=!0),isNaN(i.trim())||(t[a.trim()]=parseInt(i.trim(),10)),t[a.trim()]||(t[a.trim()]=i.trim())}}))}return{formatName:n,formatOptions:t}}(n),o=r.formatName,l=r.formatOptions;if(i.formats[o]){var s=e;try{var u=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},c=u.locale||u.lng||a.locale||a.lng||t;s=i.formats[o](e,c,re(re(re({},l),a),u))}catch(d){i.logger.warn(d)}return s}return i.logger.warn("there was no format function for ".concat(o)),e}),e)}}]),e}();function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function se(e){for(var n=1;n3&&void 0!==arguments[3]?arguments[3]:{};return o(this,t),r=n.call(this),P&&S.call(u(r)),r.backend=e,r.store=a,r.services=i,r.languageUtils=i.languageUtils,r.options=l,r.logger=_.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(i,l.backend,l),r}return s(t,[{key:"queueLoad",value:function(e,n,t,a){var i=this,r=[],o=[],l=[],s=[];return e.forEach((function(e){var a=!0;n.forEach((function(n){var l="".concat(e,"|").concat(n);!t.reload&&i.store.hasResourceBundle(e,n)?i.state[l]=2:i.state[l]<0||(1===i.state[l]?o.indexOf(l)<0&&o.push(l):(i.state[l]=1,a=!1,o.indexOf(l)<0&&o.push(l),r.indexOf(l)<0&&r.push(l),s.indexOf(n)<0&&s.push(n)))})),a||l.push(e)})),(r.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:a}),{toLoad:r,pending:o,toLoadLanguages:l,toLoadNamespaces:s}}},{key:"loaded",value:function(e,n,t){var a=e.split("|"),i=a[0],r=a[1];n&&this.emit("failedLoading",i,r,n),t&&this.store.addResourceBundle(i,r,t),this.state[e]=n?-1:2;var o={};this.queue.forEach((function(t){!function(e,n,t,a){var i=A(e,n,Object),r=i.obj,o=i.k;r[o]=r[o]||[],a&&(r[o]=r[o].concat(t)),a||r[o].push(t)}(t.loaded,[i],r),function(e,n){for(var t=e.indexOf(n);-1!==t;)e.splice(t,1),t=e.indexOf(n)}(t.pending,e),n&&t.errors.push(n),0!==t.pending.length||t.done||(Object.keys(t.loaded).forEach((function(e){o[e]||(o[e]=[]),t.loaded[e].length&&t.loaded[e].forEach((function(n){o[e].indexOf(n)<0&&o[e].push(n)}))})),t.done=!0,t.errors.length?t.callback(t.errors):t.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,n,t){var a=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[t](e,n,(function(l,s){l&&s&&i<5?setTimeout((function(){a.read.call(a,e,n,t,i+1,2*r,o)}),r):o(l,s)})):o(null,{})}},{key:"prepareLoading",value:function(e,n){var t=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof n&&(n=[n]);var r=this.queueLoad(e,n,a,i);if(!r.toLoad.length)return r.pending.length||i(),null;r.toLoad.forEach((function(e){t.loadOne(e)}))}},{key:"load",value:function(e,n,t){this.prepareLoading(e,n,{},t)}},{key:"reload",value:function(e,n,t){this.prepareLoading(e,n,{reload:!0},t)}},{key:"loadOne",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.split("|"),i=a[0],r=a[1];this.read(i,r,"read",void 0,void 0,(function(a,o){a&&n.logger.warn("".concat(t,"loading namespace ").concat(r," for language ").concat(i," failed"),a),!a&&o&&n.logger.log("".concat(t,"loaded namespace ").concat(r," for language ").concat(i),o),n.loaded(e,a,o)}))}},{key:"saveMissing",value:function(e,n,t,a,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)?this.logger.warn('did not save key "'.concat(t,'" as the namespace "').concat(n,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):void 0!==t&&null!==t&&""!==t&&(this.backend&&this.backend.create&&this.backend.create(e,n,t,a,null,se(se({},r),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],n,t,a))}}]),t}(S);function de(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var n={};if("object"===r(e[1])&&(n=e[1]),"string"===typeof e[1]&&(n.defaultValue=e[1]),"string"===typeof e[2]&&(n.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var t=e[3]||e[2];Object.keys(t).forEach((function(e){n[e]=t[e]}))}return n},interpolation:{escapeValue:!0,format:function(e,n,t,a){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function pe(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function fe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function me(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(o(this,t),e=n.call(this),P&&S.call(u(e)),e.options=pe(a),e.services={},e.logger=_,e.modules={external:[]},ge(u(e)),i&&!e.isInitialized&&!a.isClone){if(!e.options.initImmediate)return e.init(a,i),p(e,u(e));setTimeout((function(){e.init(a,i)}),0)}return e}return s(t,[{key:"init",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;"function"===typeof n&&(t=n,n={}),!n.defaultNS&&n.ns&&("string"===typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var a=de();function i(e){return e?"function"===typeof e?new e:e:null}if(this.options=me(me(me({},a),this.options),pe(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=me(me({},a.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var r;this.modules.logger?_.init(i(this.modules.logger),this.options):_.init(null,this.options),this.modules.formatter?r=this.modules.formatter:"undefined"!==typeof Intl&&(r=oe);var o=new q(this.options);this.store=new F(this.options.resources,this.options);var l=this.services;l.logger=_,l.resourceStore=this.store,l.languageUtils=o,l.pluralResolver=new ee(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!r||this.options.interpolation.format&&this.options.interpolation.format!==a.interpolation.format||(l.formatter=i(r),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new ae(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new ce(i(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(n){e[n]=function(){var t;return(t=e.store)[n].apply(t,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(n){e[n]=function(){var t;return(t=e.store)[n].apply(t,arguments),e}}));var d=N(),p=function(){var n=function(n,a){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(a),t(n,a)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return n(null,e.t.bind(e));e.changeLanguage(e.options.lng,n)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,a=t,i="string"===typeof e?e:this.language;if("function"===typeof e&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return a();var r=[],o=function(e){e&&n.services.languageUtils.toResolveHierarchy(e).forEach((function(e){r.indexOf(e)<0&&r.push(e)}))};if(i)o(i);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(r,this.options.ns,a)}else a(null)}},{key:"reloadResources",value:function(e,n,t){var a=N();return e||(e=this.languages),n||(n=this.options.ns),t||(t=ye),this.services.backendConnector.reload(e,n,(function(e){a.resolve(),t(e)})),a}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&B.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,n){var t=this;this.isLanguageChangingTo=e;var a=N();this.emit("languageChanging",e);var i=function(e){if(t.language=e,t.languages=t.services.languageUtils.toResolveHierarchy(e),t.resolvedLanguage=void 0,!(["cimode","dev"].indexOf(e)>-1))for(var n=0;n-1)&&t.store.hasLanguageSomeTranslations(a)){t.resolvedLanguage=a;break}}},r=function(r){e||r||!t.services.languageDetector||(r=[]);var o="string"===typeof r?r:t.services.languageUtils.getBestMatchFromCodes(r);o&&(t.language||i(o),t.translator.language||t.translator.changeLanguage(o),t.services.languageDetector&&t.services.languageDetector.cacheUserLanguage(o)),t.loadResources(o,(function(e){!function(e,r){r?(i(r),t.translator.changeLanguage(r),t.isLanguageChangingTo=void 0,t.emit("languageChanged",r),t.logger.log("languageChanged",r)):t.isLanguageChangingTo=void 0,a.resolve((function(){return t.t.apply(t,arguments)})),n&&n(e,(function(){return t.t.apply(t,arguments)}))}(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),a}},{key:"getFixedT",value:function(e,n,t){var a=this,i=function e(n,i){var o;if("object"!==r(i)){for(var l=arguments.length,s=new Array(l>2?l-2:0),u=2;u1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var a=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,r=this.languages[this.languages.length-1];if("cimode"===a.toLowerCase())return!0;var o=function(e,t){var a=n.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===a||2===a};if(t.precheck){var l=t.precheck(this,o);if(void 0!==l)return l}return!!this.hasResourceBundle(a,e)||(!this.services.backendConnector.backend||!(!o(a,e)||i&&!o(r,e)))}},{key:"loadNamespaces",value:function(e,n){var t=this,a=N();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){t.options.ns.indexOf(e)<0&&t.options.ns.push(e)})),this.loadResources((function(e){a.resolve(),n&&n(e)})),a):(n&&n(),Promise.resolve())}},{key:"loadLanguages",value:function(e,n){var t=N();"string"===typeof e&&(e=[e]);var a=this.options.preload||[],i=e.filter((function(e){return a.indexOf(e)<0}));return i.length?(this.options.preload=a.concat(i),this.loadResources((function(e){t.resolve(),n&&n(e)})),t):(n&&n(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,i=me(me(me({},this.options),n),{isClone:!0}),r=new t(i),o=["store","services","language"];return o.forEach((function(n){r[n]=e[n]})),r.services=me({},this.services),r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r.translator=new W(r.services,r.options),r.translator.on("*",(function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Te(e,n)}));var ve=Te.createInstance();ve.createInstance=Te.createInstance;ve.createInstance,ve.init,ve.loadResources,ve.reloadResources,ve.use,ve.changeLanguage,ve.getFixedT,ve.t,ve.exists,ve.setDefaultNamespace,ve.hasLoadedNamespace,ve.loadNamespaces,ve.loadLanguages;var Ee=ve,_e=t(18174),Se=t(12330);function Ne(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function Ie(e){return Ie="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}var Ce=t(87454),Ae=t(96902),Re=t(33326),Oe=t.n(Re),be=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Le(e){var n={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=e.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(n.name=t[1],(Oe()[t[1]]||"/"===e.charAt(e.length-2))&&(n.voidElement=!0),n.name.startsWith("!--"))){var a=e.indexOf("--\x3e");return{type:"comment",comment:-1!==a?e.slice(4,a):""}}for(var i=new RegExp(be),r=null;null!==(r=i.exec(e));)if(r[0].trim())if(r[1]){var o=r[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),n.attrs[l[0]]=l[1],i.lastIndex--}else r[2]&&(n.attrs[r[2]]=r[3].trim().substring(1,r[3].length-1));return n}var ke=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,De=/^\s*$/,xe=Object.create(null);function Pe(e,n){switch(n.type){case"text":return e+n.content;case"tag":return e+="<"+n.name+(n.attrs?function(e){var n=[];for(var t in e)n.push(t+'="'+e[t]+'"');return n.length?" "+n.join(" "):""}(n.attrs):"")+(n.voidElement?"/>":">"),n.voidElement?e:e+n.children.reduce(Pe,"")+"";case"comment":return e+"\x3c!--"+n.comment+"--\x3e"}}var Ue={parse:function(e,n){n||(n={}),n.components||(n.components=xe);var t,a=[],i=[],r=-1,o=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");a.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(ke,(function(l,s){if(o){if(l!=="")return;o=!1}var u,c="/"!==l.charAt(1),d=l.startsWith("\x3c!--"),p=s+l.length,f=e.charAt(p);if(d){var m=Le(l);return r<0?(a.push(m),a):((u=i[r]).children.push(m),a)}if(c&&(r++,"tag"===(t=Le(l)).type&&n.components[t.name]&&(t.type="component",o=!0),t.voidElement||o||!f||"<"===f||t.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===r&&a.push(t),(u=i[r-1])&&u.children.push(t),i[r]=t),(!c||t.voidElement)&&(r>-1&&(t.voidElement||t.name===l.slice(2,-1))&&(r--,t=-1===r?a:i[r]),!o&&"<"!==f&&f)){u=-1===r?a:i[r].children;var h=e.indexOf("<",p),y=e.slice(p,-1===h?void 0:h);De.test(y)&&(y=" "),(h>-1&&r+u.length>=0||" "!==y)&&u.push({type:"text",content:y})}})),a},stringify:function(e){return e.reduce((function(e,n){return e+Pe("",n)}),"")}},we=Ue,Me="".replace,Ve=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,je={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'};function Fe(e){return je[e]}var Be=t(17610),Ze=["format"],Ge=["children","count","parent","i18nKey","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Je(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function He(e){for(var n=1;n0:!!t}function Ye(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function qe(e){return Array.isArray(e)?e:[e]}function Ke(e,n){if(!e)return"";var t="",a=qe(e),i=n.transKeepBasicHtmlNodesFor||[];return a.forEach((function(e,a){if("string"===typeof e)t+="".concat(e);else if(Ae.isValidElement(e)){var r=Object.keys(e.props).length,o=i.indexOf(e.type)>-1,l=e.props.children;if(!l&&o&&0===r)t+="<".concat(e.type,"/>");else if(l||o&&0===r)if(e.props.i18nIsDynamicList)t+="<".concat(a,">");else if(o&&1===r&&"string"===typeof l)t+="<".concat(e.type,">").concat(l,"");else{var s=Ke(l,n);t+="<".concat(a,">").concat(s,"")}else t+="<".concat(a,">")}else if(null===e)(0,Be.ZK)("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===Ie(e)){var u=e.format,c=Ne(e,Ze),d=Object.keys(c);if(1===d.length){var p=u?"".concat(d[0],", ").concat(u):d[0];t+="{{".concat(p,"}}")}else(0,Be.ZK)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else(0,Be.ZK)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),t}function ze(e,n,t,a,i,r){if(""===n)return[];var o=a.transKeepBasicHtmlNodesFor||[],l=n&&new RegExp(o.join("|")).test(n);if(!e&&!l)return[n];var s={};!function e(n){qe(n).forEach((function(n){"string"!==typeof n&&(We(n)?e(Ye(n)):"object"!==Ie(n)||Ae.isValidElement(n)||Object.assign(s,n))}))}(e);var u=we.parse("<0>".concat(n,"")),c=He(He({},s),i);function d(e,n,t){var a=Ye(e),i=f(a,n.children,t);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return Ae.isValidElement(e)}))}(a)&&0===i.length?a:i}function p(e,n,t,a,i){e.dummy&&(e.children=n),t.push(Ae.cloneElement(e,He(He({},e.props),{},{key:a}),i?void 0:n))}function f(n,i,s){var u=qe(n);return qe(i).reduce((function(n,i,m){var h,y=i.children&&i.children[0]&&i.children[0].content&&t.services.interpolator.interpolate(i.children[0].content,c,t.language);if("tag"===i.type){var g=u[parseInt(i.name,10)];!g&&1===s.length&&s[0][i.name]&&(g=s[0][i.name]),g||(g={});var T=0!==Object.keys(i.attrs).length?function(e,n){var t=He({},n);return t.props=Object.assign(e.props,n.props),t}({props:i.attrs},g):g,v=Ae.isValidElement(T),E=v&&We(i,!0)&&!i.voidElement,_=l&&"object"===Ie(T)&&T.dummy&&!v,S="object"===Ie(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"===typeof T){var N=t.services.interpolator.interpolate(T,c,t.language);n.push(N)}else if(We(T)||E){p(T,d(T,i,s),n,m)}else if(_){var I=f(u,i.children,s);n.push(Ae.cloneElement(T,He(He({},T.props),{},{key:m}),I))}else if(Number.isNaN(parseFloat(i.name))){if(S)p(T,d(T,i,s),n,m,i.voidElement);else if(a.transSupportBasicHtmlNodes&&o.indexOf(i.name)>-1)if(i.voidElement)n.push(Ae.createElement(i.name,{key:"".concat(i.name,"-").concat(m)}));else{var C=f(u,i.children,s);n.push(Ae.createElement(i.name,{key:"".concat(i.name,"-").concat(m)},C))}else if(i.voidElement)n.push("<".concat(i.name," />"));else{var A=f(u,i.children,s);n.push("<".concat(i.name,">").concat(A,""))}}else if("object"!==Ie(T)||v)1===i.children.length&&y?n.push(Ae.cloneElement(T,He(He({},T.props),{},{key:m}),y)):n.push(Ae.cloneElement(T,He(He({},T.props),{},{key:m})));else{var R=i.children[0]?y:null;R&&n.push(R)}}else if("text"===i.type){var O=a.transWrapTextNodes,b=r?(h=t.services.interpolator.interpolate(i.content,c,t.language),Me.call(h,Ve,Fe)):t.services.interpolator.interpolate(i.content,c,t.language);O?n.push(Ae.createElement(O,{key:"".concat(i.name,"-").concat(m)},b)):n.push(b)}return n}),[])}return Ye(f([{dummy:!0,children:e||[]}],u,qe(e||[]))[0])}function Xe(e){var n=e.children,t=e.count,a=e.parent,i=e.i18nKey,r=e.tOptions,o=void 0===r?{}:r,l=e.values,s=e.defaults,u=e.components,c=e.ns,d=e.i18n,p=e.t,f=e.shouldUnescape,m=Ne(e,Ge),h=(0,Ae.useContext)(_e.OO)||{},y=h.i18n,g=h.defaultNS,T=d||y||(0,_e.nI)();if(!T)return(0,Be.O4)("You will need to pass in an i18next instance by using i18nextReactModule"),n;var v=p||T.t.bind(T)||function(e){return e},E=He(He({},(0,_e.JP)()),T.options&&T.options.react),_=c||v.ns||g||T.options&&T.options.defaultNS;_="string"===typeof _?[_]:_||["translation"];var S=s||Ke(n,E)||E.transEmptyNodeValue||i,N=E.hashTransKey,I=i||(N?N(S):S),C=l?o.interpolation:{interpolation:He(He({},o.interpolation),{},{prefix:"#$?",suffix:"?$#"})},A=He(He(He(He({},o),{},{count:t},l),C),{},{defaultValue:S,ns:_}),R=ze(u||n,I?v(I,A):S,T,E,A,f),O=void 0!==a?a:E.defaultTransParent;return O?Ae.createElement(O,m,R):R}function $e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Qe(e,n){for(var t=0;t0){var r=a.maxAge-0;if(isNaN(r))throw new Error("maxAge should be a Number");i+="; Max-Age="+Math.floor(r)}if(a.domain){if(!rn.test(a.domain))throw new TypeError("option domain is invalid");i+="; Domain="+a.domain}if(a.path){if(!rn.test(a.path))throw new TypeError("option path is invalid");i+="; Path="+a.path}if(a.expires){if("function"!==typeof a.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(i+="; HttpOnly"),a.secure&&(i+="; Secure"),a.sameSite)switch("string"===typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},ln=function(e,n,t,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*t*1e3)),a&&(i.domain=a),document.cookie=on(e,encodeURIComponent(n),i)},sn=function(e){for(var n=e+"=",t=document.cookie.split(";"),a=0;a0)t[a].substring(0,i)===e.lookupQuerystring&&(n=t[a].substring(i+1))}return n}},dn=null,pn=function(){if(null!==dn)return dn;try{dn="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(n){dn=!1}return dn},fn={name:"localStorage",lookup:function(e){var n;if(e.lookupLocalStorage&&pn()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(n=t)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&pn()&&window.localStorage.setItem(n.lookupLocalStorage,e)}},mn=null,hn=function(){if(null!==mn)return mn;try{mn="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(n){mn=!1}return mn},yn={name:"sessionStorage",lookup:function(e){var n;if(e.lookupSessionStorage&&hn()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(n=t)}return n},cacheUserLanguage:function(e,n){n.lookupSessionStorage&&hn()&&window.sessionStorage.setItem(n.lookupSessionStorage,e)}},gn={name:"navigator",lookup:function(e){var n=[];if("undefined"!==typeof navigator){if(navigator.languages)for(var t=0;t0?n:void 0}},Tn={name:"htmlTag",lookup:function(e){var n,t=e.htmlTag||("undefined"!==typeof document?document.documentElement:null);return t&&"function"===typeof t.getAttribute&&(n=t.getAttribute("lang")),n}},vn={name:"path",lookup:function(e){var n;if("undefined"!==typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"===typeof e.lookupFromPathIndex){if("string"!==typeof t[e.lookupFromPathIndex])return;n=t[e.lookupFromPathIndex].replace("/","")}else n=t[0].replace("/","")}return n}},En={name:"subdomain",lookup:function(e){var n;if("undefined"!==typeof window){var t=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);t instanceof Array&&(n="number"===typeof e.lookupFromSubdomainIndex?t[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):t[0].replace("http://","").replace("https://","").replace(".",""))}return n}};var _n=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};$e(this,e),this.type="languageDetector",this.detectors={},this.init(n,t)}var n,t,a;return n=e,t=[{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=an(n,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(un),this.addDetector(cn),this.addDetector(fn),this.addDetector(yn),this.addDetector(gn),this.addDetector(Tn),this.addDetector(vn),this.addDetector(En)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var n=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(n.detectors[e]){var a=n.detectors[e].lookup(n.options);a&&"string"===typeof a&&(a=[a]),a&&(t=t.concat(a))}})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,n){var t=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||n.forEach((function(n){t.detectors[n]&&t.detectors[n].cacheUserLanguage(e,t.options)})))}}],t&&Qe(n.prototype,t),a&&Qe(n,a),e}();_n.type="languageDetector";var Sn=_n,Nn=JSON.parse('{"CLARITI_TRIAL_EULA":"TEST ENVIRONMENT AGREEMENT\\n\\nBY CLICKING \\"I Accept\\", TRIAL CUSTOMER AGREES TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS TEST ENVIRONMENT AGREEMENT (\\"Agreement\\") GOVERNING TRIAL CUSTOMER\'S USE OF POLY\'S TEST ENVIRONMENT. YOU AND TRIAL CUSTOMER REPRESENT THAT YOU HAVE THE AUTHORITY TO BIND TRIAL CUSTOMER TO THESE TERMS AND CONDITIONS. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT AGREE WITH THESE TERMS AND CONDITIONS, YOU MUST NOT SELECT THE ACCEPTANCE CHECK BOX AND THEREFORE YOU MAY NOT USE THE TEST ENVIRONMENT. \\n\\n1. This Agreement is by and between Plantronics, Inc., a Delaware corporation located at 345 Encinal Street Santa Cruz, CA 95060 and its subsidiaries and affiliates (\\"Poly\\"), and the company whose employee or agent has agreed to these terms as set forth above (\\"Trial Customer\\").\\n\\n2. TRIAL CUSTOMER SPECIFICALLY ACKNOWLEDGES AND AGREES TO THESE IMPORTANT TERMS, AS FURTHER SET FORTH IN THIS AGREEMENT: \\n\\n (a) This is a browser-based testing environment for Poly on-premises products (\\"Test Environment\\"). Poly makes no representation or warranty of any kind in any way relating to the functionality or performance of the Test Environment, or the features, functionality, or performance of any Poly products or services.\\n\\n (b) The Test Environment is shared with other trial customers. No content or communications on the Test Environment should be deemed confidential or secure.\\n\\n (c) Trial Customer is responsible for all content and communications it transmits via the Test Environment.\\n\\n3. Test Environment Subscription. Subject to the terms and conditions hereof, Poly grants to Trial Customer, for such time as Poly determines in its sole discretion (\\"Test Period\\"), a limited non-exclusive, non-transferable, revocable worldwide right to authorize individuals solely within the Trial Customer organization (\\"Users\\") to transmit, access, or exchange data via the Test Environment, solely for the purpose of Trial Customer\'s internal evaluation of Poly products or services, and not for general commercial use. Trial Customer shall not use the Test Environment for any other purpose. \\n\\n4. Trial Customer Data in the Test Environment. The Test Environment may use third-party data centers. Poly to the best of its knowledge complies with all United States laws applicable to Poly as provider of the Test Environment. Poly reserves the right to hire other companies to provide services on its behalf in connection with its provision of the Test Environment. Poly reserves the right to transfer information or material that Trial Customer and its Users transmit to the Test Environment in the course of using the Test Environment (\\"Trial Customer Data\\") to the U.S. and other countries for processing in connection with its provision of the Test Environment. Trial Customer is solely responsible for ensuring that provision of Trial Customer Data to Poly for processing via the Test Environment is in compliance with all applicable laws. Trial Customer shall not process or submit to the Test Environment any Trial Customer Data with personally identifiable information including \\"protected health information,\\" as defined under the Health Insurance Portability and Accountability Act, Sensitive Personal Data as defined under the EU Directive 95/46/EC as enacted in the member states of the European Union, of payment card information subject to the Payment Card Industry Data Security Standard. \\n\\n5. No Services. Poly shall be under no obligation to provide Trial Customer with any services except as explicitly set forth herein. \\n\\n6. Termination. The subscription and license granted hereunder terminate on expiration of the Test Period. Additionally, either party may terminate this Agreement upon written notice to the other party at any time. Upon termination, the subscription to the Test Environment and Software license will terminate and Trial Customer\'s access to the Test Environment will cease. Sections 1, 2, and 4 through 13 shall survive termination of this Agreement. \\n\\n7. Proprietary Rights - Restrictions - Confidentiality. Trial Customer acknowledges that the Test Environment contains confidential information and trade secrets of Poly and its licensors. Trial Customer will not: distribute, sell, sublicense or otherwise transfer or make available the Test Environment or any portion thereof to any third party; remove from view any copyright legend, trademark or confidentiality notice appearing on the Test Environment or its output; modify, adapt, translate, reverse engineer, decompile or derive the source code for the Test Environment or any Poly products or services, or authorize a third party to do any of the foregoing. Under no circumstances may the Test Environment be used for any illegal or illicit purpose in any geography where the Test Environment is used. Trial Customer shall: (i) protect the secrecy of Trial Customer\'s authorized user IDs and passwords; (ii) notify Poly immediately of any unauthorized use of any user ID or password or any other known or suspected breach of security; and (iii) report to Poly immediately and use reasonable efforts to stop any copying or distribution of content not authorized by Poly that is known or suspected by Trial Customer or its Users. Trial Customer will not: (i) use the Test Environment in violation of applicable Laws; (ii) send or store infringing, obscene, threatening, or otherwise unlawful or tortious material, including material that violates privacy rights in connection with the Test Environment; (iii) send or store malicious code in connection with the Test Environment; (iv) damage, disable, overburden, impair, interfere with or disrupt the Test Environment; (v) attempt to gain unauthorized access to any systems or networks that connect thereto or otherwise interfere with the operation of the Test Environment or in any way with the use or enjoyment of the Test Environment by others; (vi) allow more than one individual to use a User account; (vii) make the Test Environment available to any third party (via a services arrangement, service bureau, lease, sale, resale, or otherwise); or, (viii) exceed any applicable bandwidth limit or storage capacity limit. Trial Customer shall fully indemnify and defend Poly, its agents, officers, directors, and employees against any and all fees, fines, costs, liens, judgments and expenses that any such person(s) may incur as a result of any potential or actual violation of this provision. Trial Customer will not use the Test Environment or any documentation provided therewith for any purpose other than Trial Customer\'s internal evaluation and the provision of feedback to Poly, and not to disclose to any third party without the prior written approval of Poly, the Test Environment, its features, Feedback (as defined in Section 11), related technical information identified as confidential or the results of any performance or functional evaluation or test of the Test Environment (the \\"Confidential Information\\"). Trial Customer will use no less than all reasonable efforts to protect the Confidential Information from unauthorized use or disclosure. Trial Customer may disclose Confidential Information only to those of its employees who have a bona fide need to know such information for Trial Customer\'s evaluation of the Test Environment and who have first executed a written agreement that contains use and nondisclosure restrictions at least as protective as those set forth herein. Trial Customer will immediately report any violation of this provision to Poly and shall employ all reasonable means to mitigate any damages or losses that Poly may incur as a result of any such violation. Trial Customer\'s rights in the Test Environment will be limited to those expressly granted in Section 3. Poly and its licensors reserve all rights and licenses in and to the Test Environment not expressly granted to Trial Customer hereunder. \\n\\n8. Warranty. THE TEST ENVIRONMENT IS PROVIDED \\"AS-IS.\\" POLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT AND ANY WARRANTIES ARISING OUT OF COURSE OF DEALING OR USAGE IN TRADE. \\n\\n9. Acknowledgment of Test. Trial Customer acknowledges and agrees that: (a) the Test Environment is not an official product and has not been commercially released for sale by Poly; (b) the Test Environment may not operate properly, be in final form or fully functional; (c) the Test Environment may contain errors, design flaws or other problems; (d) it may not be possible to make the Test Environment fully functional; (e) the information obtained using the Test Environment may not be accurate and may not accurately correspond to information extracted from any database or other source; (f) use of the Test Environment may result in unexpected results, loss of data or communications, project delays or other unpredictable damage or loss; (g) Poly is under no obligation to release a commercial version of the Test Environment or any product relating thereto; and (h) Poly has the right unilaterally to abandon development of the Test Environment or any product, at any time and without any obligation or liability to Trial Customer. Trial Customer acknowledges and agrees that it should not rely on the Test Environment for any reason. Trial Customer is solely responsible for maintaining and protecting all data and information that is retrieved, extracted, transformed, loaded, stored or otherwise processed by the Test Environment. Trial Customer will be responsible for all costs and expenses required to backup and restore any data and information that is lost or corrupted as a result of Trial Customer\'s use of the Test Environment. \\n\\n10. Limitation of Liability. EXCEPT AS OTHERWISE REQUIRED BY LAW, THE LIABILITY OF POLY AND ITS LICENSORS TO TRIAL CUSTOMER OR ANY THIRD PARTY ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OF THE TEST ENVIRONMENT, OR FOR ANY ERROR OR DEFECT IN THE TEST ENVIRONMENT, OR FOR THE PROVISION OF TECHNICAL SUPPORT INSTALLATION, TRAINING OR OTHER SERVICES IN CONNECTION THEREWITH, HOWEVER CAUSED, AND ON ANY THEORY OF LIABILITY, INCLUDING CONTRACT, STRICT LIABILITY, NEGLIGENCE OR OTHER TORT, SHALL BE LIMITED TO DIRECT DAMAGES NOT TO EXCEED ANY FEES PAID TO POLY HEREUNDER. IN NO EVENT WILL POLY OR ITS LICENSORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, INCLUDING DAMAGES FOR LOSS OF PROFITS, BUSINESS, REVENUE, DATA OR DATA USE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS WILL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY REMEDY. The limitations of liability set forth in this Agreement reflect the allocation of risk negotiated and agreed to by the Parties. The Parties would not enter into this Agreement without these limitations on its liability. These limitations will apply notwithstanding any failure of essential purpose of any limited remedy. \\n\\n11. Feedback. Trial Customer may provide feedback to Poly concerning the features and functionality of the Test Environment or Poly products or services (\\"Feedback\\"). If Trial Customer provides Feedback to Poly, Trial Customer grants Poly an unlimited, worldwide, royalty-free license to use all such Feedback for any purpose. Trial Customer will not earn or acquire any rights or licenses in the Test Environment, in any future commercial version thereof, or in any Poly products or services or intellectual property rights on account of this Agreement or Trial Customer\'s performance under this Agreement, even if Poly incorporates any Feedback into the Test Environment or any Poly products or services. \\n\\n12. Audit. Poly may, at any time during the term of this Agreement, upon reasonable written notice and during Trial Customer\'s normal business hours, audit Trial Customer\'s use of the Test Environment, as reasonably necessary to confirm that Trial Customer is using the Test Environment in accordance with the terms and conditions of this Agreement. Poly may use a third-party organization reasonably acceptable to Trial Customer to assist Poly in conducting such an audit. Trial Customer will cooperate with Poly in such audit and will promptly make available to Poly all information and materials reasonably required by Poly to conduct such an audit.\\n\\n13. General. Trial Customer may not assign or otherwise transfer, by operation of law or otherwise, any of its rights under this Agreement without Poly\'s prior written consent, and any attempted assignment without such consent will be null and of no effect. This Agreement constitutes the entire agreement between the parties and supersedes any and all prior agreements, communications and understandings with respect to the evaluation of the Test Environment and shall be construed in accordance with the laws of the State of California and the United States (excluding any provision that would cause the laws of another jurisdiction to apply). The parties expressly agree that the United Nations Convention on Contracts for the International Sale of Goods will not apply. Any legal action or proceeding arising under this Agreement will be brought exclusively in the federal or state courts located in the Northern District of California and the parties hereby irrevocably consent to the personal jurisdiction and venue therein. If any provision of this Agreement is held invalid or unenforceable by a court of competent jurisdiction, such provision will be construed so as to be enforceable to the maximum extent permissible by law, and the remaining provisions of the Agreement will remain in full force and effect. The waiver of any breach or default will not constitute a waiver of any other right hereunder or of any subsequent breach or default. All notices required or permitted under this Agreement will be in writing and in each instance will be deemed given upon receipt."}'),In=JSON.parse('{"":"","???":"???","ABOUT_LENS":"About Poly Lens","ACCEPTING_INVITATION":"Accepting Invitation...","ACCEPTING_INVITE_FAILED":"Accepting the invitation failed. Retrying...","ACCESS_TOKEN":"Access Token","ACCESS_TOKEN_DETAILS":"Access Token Details","ACCESS_TOKEN_INFORMATION":"Access Token Information","ACCESS_TOKEN_NAME":"Access Token","ACCESS_TOKEN_other":"Access Tokens","ACCOUNT":"Account","ACCOUNT_ADD_ERROR":"Error adding {{name}}.","ACCOUNT_ADD_SUCCESS":"{{name, title}} successfully added.","ACCOUNT_ADD_TITLE":"Add Account","ACCOUNT_DELETE_BLOCKED_REASON":"Before you can delete this account, you must delete or remove all of its devices. You can delete your devices by visiting your device inventory list.","ACCOUNT_DELETE_CONFIRMATION_TITLE":"Confirm Account Deletion","ACCOUNT_DELETE_DETAILS":"Are you sure? Deleting this account will also delete all of its data. This action cannot be undone.","ACCOUNT_DELETE_ERROR":"Error deleting {{name, title}}.","ACCOUNT_DELETE_SUCCESS":"{{name, title}} successfully deleted.","ACCOUNT_DELETE_SUCCESS_other":"{{count}} accounts successfully deleted.","ACCOUNT_DELETE_TITLE":"Delete Account","ACCOUNT_DESTINATION":"Account Destination","ACCOUNT_DETAILS":"{{name, title}}","ACCOUNT_DEVICES":"Devices","ACCOUNT_DEVICES_other":"Devices: {{count}}","ACCOUNT_MEMBERS":"Account Members","ACCOUNT_MEMBERS_other":"Account Members ({{count}})","ACCOUNT_NAME":"Account Name","ACCOUNT_NAME_TOOLTIP_MESSAGE":"Your company name will be used to create your account name. You can edit the account name later in Manage Account.","ACCOUNT_other":"Accounts","ACCOUNT_SITES":"Site","ACCOUNT_SITES_other":"Sites: {{count}}","ACCOUNT_SYNC_IN_PROGRESS":"Your account is being synced.","ACCOUNT_TO_CONSOLIDATE":"Account to Consolidate","ACCOUNT_UPDATED":"Account updated.","ACCOUNT_USERS":"User","ACCOUNT_USERS_other":"Users: {{count}}","ACCOUNTS":"Accounts","ACCOUNTS_DELETE_TITLE":"Delete Accounts","ACKNOWLEDGE_LICENSE":"Acknowledge License","ACKNOWLEDGEMENT_CODE":"Acknowledgement Code","ACKNOWLEDGEMENT_CODE_OPTIONAL":"Acknowledgement Code (Optional)","ACKNOWLEDGING":"Acknowledging...","ACKNOWLEDGING_LICENSE":"Acknowledging License...","ACTION":"Action","ACTIONS":"Actions","ACTIVATE_LICENSE":"Activate License","ACTIVATED_BY":"Activated By","ACTIVATION_KEY":"Activation Key","ACTIVATION_KEY_OPTIONAL":"Activation Key (Optional)","ACTIVATION_KEYS":"Activation Keys","ACTIVE":"Active","ACTIVE_CALL":"Active call","ACTIVE_CALL_AUDIO":"Active Call Audio","ACTIVE_CALL_AUDIO_DESC":"Select the action you want the headset to do when you remove your headset during a call.","ADD":"Add","ADD_CHART":"Add Chart","ADD_DEVICE":"Add Device","ADD_DEVICE_TO_GROUP":"Add Device to a Group","ADD_DEVICE_USER":"Add Device User","ADD_EMAIL_ADDRESS":"Add Email Address","ADD_ENTITLEMENT":"Add Entitlement","ADD_NEW":"Add New","ADD_NEW_RESTRICTIVE_PURCHASED_PRODUCT":"Add New Restrictive Purchased Product","ADD_NEW_RESTRICTIVE_PURCHASED_PRODUCT_MENU_ITEM":"Restrictive Purchased Product","ADD_NEW_STANDARD_PURCHASED_PRODUCT":"Add New Standard Purchased Product","ADD_NEW_STANDARD_PURCHASED_PRODUCT_MENU_ITEM":"Standard Purchased Product","ADD_POLICY":"Add a new model policy","ADD_POLICY_NOTE":"Search for the type of device you would like to set a policy for, or you can search by category","ADD_PRIVATE_SUBNET":"Add Private Subnet","ADD_PUBLIC_SUBNET":"Add Public Subnet","ADD_RESOURCE_FILE":"Add Resource File","ADD_RESTRICTIVE_PURCHASED_PRODUCT":"Add Restrictive Purchased Product","ADD_ROOM":"Add Room","ADD_SITE":"Add Site","ADD_STANDARD_PURCHASED_PRODUCT":"Add Standard Purchased Product","ADD_TO_EXISTING_GROUP":"Add to Existing Group","ADD_TO_EXISTING_GROUP_NOTE":"Select or search for the group to which you\u2019d like to add these devices.","ADD_TO_EXISTING_GROUP_SUCCESS":"Device added to group.","ADD_TO_EXISTING_GROUP_SUCCESS_other":"{{count}} devices added to group.","ADD_TO_EXISTING_GROUP_SUCCESS_SOME_ALREADY_IN":"{{added}} device(s) added to group. {{alreadyInGroup}} device(s) were already in group.","ADD_TO_GROUP":"Add to Group","ADD_TO_NEW_GROUP_SUCCESS":"Device added to newly created group.","ADD_TO_NEW_GROUP_SUCCESS_other":"{{count}} devices added to newly created group.","ADD_TO_USER_GROUP_DETAILS":"Select or search for the group to which you\'d like to add these devices.","ADD_TO_USER_GROUP_DETAILS_ABRV":"Continue to add users to this group.","ADD_TO_USER_GROUP_SUCCESS":"User added to group.","ADD_TO_USER_GROUP_SUCCESS_other":"{{count}} users added to group.","ADDING":"Adding...","ADDITIONAL_DEVICE_INFORMATION":"Additional Device Information","ADDITIONAL_INFO":"Additional Info","ADDITIONAL_UPDATE_SERVER_ADDRESSES":"Additional Update Server Addresses","ADDRESS":"Address","ADHOC":"Adhoc Total","admin":"Admin","ADMIN_ROLE_DESCRIPTION":"Full Access","ADVANCED":"Advanced","ADVANCED_ERROR_INTRO":"There were errors updating the device configuration:","ADVANCED_SETTINGS_UNAVAILABLE":"Advanced settings are not available.","ADVANCED_TOOLS":"Advanced Tools","ADVANCED_USERS_ONLY":"Note: This XML editor is for advanced users only.","ALL":"All","ALL_ACCOUNTS":"All Accounts","ALL_DEVICES_UP_TO_DATE":"All Devices Up To Date","ALL_DONE":"All Done","ALL_MEMBERS":"All Account Members","ALL_SITES":"All Sites","ALWAYS":"Always","ANALYSIS":"Analysis","ANALYSIS_TOPIC_CALL_USAGE_DESCRIPTION":"Average daily hours each device was in a call","ANALYSIS_TOPIC_CALL_USAGE_INDICATOR":"{{value}} hours","ANALYSIS_TOPIC_CALL_USAGE_TITLE":"Call Usage (hours/day)","ANALYSIS_TOPIC_DEVICES_OFFLINE_DESCRIPTION":"Average daily % of devices that were offline","ANALYSIS_TOPIC_DEVICES_OFFLINE_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_DEVICES_OFFLINE_TITLE":"Devices Offline","ANALYSIS_TOPIC_DEVICES_OUT_OF_SERVICE_DESCRIPTION":"Average daily % of devices that were continuously offline","ANALYSIS_TOPIC_DEVICES_OUT_OF_SERVICE_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_DEVICES_OUT_OF_SERVICE_TITLE":"Devices Out-of-Service","ANALYSIS_TOPIC_DEVICES_UNUSED_DESCRIPTION":"Average daily % of online devices that made no calls","ANALYSIS_TOPIC_DEVICES_UNUSED_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_DEVICES_UNUSED_TITLE":"Devices Unused","ANALYSIS_TOPIC_DEVICES_USED_DESCRIPTION":"Average daily % of devices that made at least one call","ANALYSIS_TOPIC_DEVICES_USED_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_DEVICES_USED_TITLE":"Devices Used","ANALYSIS_TOPIC_MEETING_SIZE_DESCRIPTION":"Average daily number of people in a room during a meeting","ANALYSIS_TOPIC_MEETING_SIZE_INDICATOR":"{{value}} attendees","ANALYSIS_TOPIC_MEETING_SIZE_TITLE":"Average Meeting Headcount","ANALYSIS_TOPIC_MEETINGS_EMPTY_DESCRIPTION":"% of scheduled room meetings with no participants","ANALYSIS_TOPIC_MEETINGS_EMPTY_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_MEETINGS_EMPTY_TITLE":"Scheduled, but Empty","ANALYSIS_TOPIC_MEETINGS_LATE_DESCRIPTION":"% of meetings that began five minutes after the scheduled start time","ANALYSIS_TOPIC_MEETINGS_LATE_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_MEETINGS_LATE_TITLE":"Meetings That Started Late","ANALYSIS_TOPIC_MEETINGS_LONG_DESCRIPTION":"% of meetings that ran over the scheduled end time","ANALYSIS_TOPIC_MEETINGS_LONG_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_MEETINGS_LONG_TITLE":"Meetings That Ran Long","ANALYSIS_TOPIC_MEETINGS_SERIES_EMPTY_DESCRIPTION":"% of recurring scheduled room meetings with no participants","ANALYSIS_TOPIC_MEETINGS_SERIES_EMPTY_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_MEETINGS_SERIES_EMPTY_TITLE":"Scheduled in a Series, but Empty","ANALYSIS_TOPIC_ROOM_USAGE_DESCRIPTION":"Average daily occupied hours per room","ANALYSIS_TOPIC_ROOM_USAGE_INDICATOR":"{{value}} hours","ANALYSIS_TOPIC_ROOM_USAGE_TITLE":"Room Use (hours/day)","ANALYSIS_TOPIC_ROOM_USAGE_UNSCHEDULED_DESCRIPTION":"% of room usage that was not scheduled on the room calendar","ANALYSIS_TOPIC_ROOM_USAGE_UNSCHEDULED_INDICATOR":"{{value}}%","ANALYSIS_TOPIC_ROOM_USAGE_UNSCHEDULED_TITLE":"Meetings That Were Unscheduled","ANC_TIMEOUT":"ANC Timeout","ANC_TIMEOUT_DESC":"Set the amount of time Active Noise Cancellation (ANC) stays on while your headset is idle. Use a shorter amount of time to save battery power.","AND":" and ","ANDROID_REQUIREMENT":"Requires Android 10 or newer.","ANSWER_VOICE_PROMPT":"Answer/Ignore Voice Prompt","ANSWER_VOICE_PROMPT_DESC":"Hear a voice prompt to \\"Answer\\" or \\"Ignore\\" a call when you receive incoming calls to your mobile phone.","ANSWERING_CALL_ALERT":"Answering Call Alert","ANSWERING_CALL_ALERT_DESC":"Hear the voice alert \\"Answering Call\\" when you answer an incoming call via your headset.","ANTI_FLICKER":"Anti-Flicker (50Hz / 60Hz) Solution","ANTI_FLICKER_DESC":"Use 60Hz (hertz) in the U.S. and Canada; otherwise, use 50Hz.","ANTI_STARTLE":"Anti-Startle","ANTI_STARTLE_DESC":"Intelligent algorithms that eliminate acoustic shock from loud sounds, instantly reducing them to ensure your protection and listening comfort.","API_CONNECTION":"API Connection","API_CONNECTION_other":"API Connections","API_CONNECTION_SAMPLE_CODE":"{{ name }} Sample Code","API_INTEGRATION_MENU":"API","API_INTEGRATION_TITLE":"Integrations | API","API_MARKETPLACE":"API Marketplace","API_MARKETPLACE_INTRO":"<0>To view all of the possibilities, view the <1>Developer API Documentation. To browse Lens Management and Insights GraphQL APIs, visit the <2>API Marketplace.","API_MARKETPLACE_TERMS":"API Marketplace Terms","API_SURVEY_BLURB":"As we are implementing API functionality into Poly Lens, we would like to hear from our users about how they intend to use Poly Lens APIs. If you have a suggestion or idea as to how you\u2019d like to use Poly Lens APIs, please take the short survey below.","API_SURVEY_LABEL":"We want to hear from you","APP_DEPLOYMENT":"App Deployment","APP_SOFTWARE_UPDATE":"App Software Update","APP_STORE":"App Store","APP_VERSION":"Version: {{version, title}}","APPLY":"Apply","APPLY_SERVER_ADDRESS":"Select \'Apply\' to check for updates with new server address","APPLYING":"Applying...","APPROVED":"Approved","APR_JUN":"Apr - Jun","APR_MAY_JUN":"Apr - May - Jun","APRIL":"April","ARTIFACT":"Artifact","ARTIFACT_COUNT":"{{count}} Artifact","ARTIFACT_COUNT_other":"{{count}} Artifacts","ARTIFACT_NAME":"Artifact Name","ARTIFACT_other":"Artifacts","ASCENDING":"Ascending","ASSIGN":"Assign","ASSIGN_DISTRIBUTE_ASSETS_AUTO_DISTRIBUTE":"Auto Distribute","ASSIGN_ENTITLEMENTS":"Assign Entitlements","ASSIGN_YOUR_ENTITLEMENTS":"Assign Your Entitlements","ASSIGNED":"Assigned","ASSIGNED_ATTRIBUTES":"Assigned Attributes","ASSIGNED_PURCHASED_PRODUCT":"Assigned Purchased Product","ASSIGNED_PURCHASED_PRODUCT_other":"{{count}} Assigned Purchased Products","ASSIGNED_PURCHASED_PRODUCT_WARNING":"Warning: The purchased products listed below have assigned entitlements. If the assigned entitlement attributes are not removed or released before removing the purchased products will cause them be unavailable for future use. Getting them back will require a call to Poly support.","ASSIGNING":"Assigning...","ASSIGNING_ENTITLEMENTS":"Assigning Entitlements...","ASSIGNING_NOW":"Assigning Now","ASSIGNMENT_METHOD":"Assignment Method","ASSIGNMENT_TOO_MANY_SELECTED":"You have selected more devices than licenses available.","ASSOCIATED_DEVICES":"Associated Devices","ASSOCIATED_DEVICES_NOT_FOUND":"There are no associated devices connected to this user.","ASTRONAUT_ALT":"An astronaut meditating","AT_LEAST_ONE":"at least one of ","AT_SITES":"at {{count}} sites","ATTENDEES":"Attendees","ATTRIBUTE_COUNT":"Attribute Count","ATTRIBUTE_TYPE":"Attribute Type","audio":"Audio","AUDIO":"Audio","AUDIO_BASS":"Audio Bass","AUDIO_BASS_DESC":"Adjust audio bass output from the speaker.","AUDIO_CHANNEL_TONE":"Audio Channel Tone","AUDIO_CHANNEL_TONE_DESC":"Hear a short tone combination indicating that the audio channel is open and ready for communication.","AUDIO_PROMPT_VOLUME":"System Tone","AUDIO_PROMPT_VOLUME_DESC":"Set the volume for your headset\'s audio prompts.","AUDIO_QUALITY":"Audio Quality","AUDIO_QUALITY_DESC":"Optimize audio quality based on your activity.","AUDIO_SENSING":"Audio Sensing","AUDIO_SENSING_DESC":"Automatically establish a radio link between the base and your wireless headset when the USB port detects computer audio.","AUDIO_TREBLE":"Audio Treble","AUDIO_TREBLE_DESC":"Adjust audio treble output from the speaker.","AUDIO_VISUAL":"Audio and Visual","AUDIT_EVENT_DETAILS":"Audit Event Details","AUDIT_EVENT_INFORMATION":"Audit Event Information","AUDIT_EVENT_TYPE_ADMIN_ACCEPT_ENTITLEMENT":"Admin Accept Entitlement","AUDIT_EVENT_TYPE_ADMIN_ASSIGN_ENTITLEMENT":"Admin Assign Entitlement","AUDIT_EVENT_TYPE_ADMIN_CHANGE_PRODUCT_VERSION":"Admin Change Product Version","AUDIT_EVENT_TYPE_ADMIN_CHANGE_TENANT_ACCOUNT":"Admin Change Tenant Account","AUDIT_EVENT_TYPE_ADMIN_COMBINE_ENTITLEMENT":"Admin Combine Entitlement","AUDIT_EVENT_TYPE_ADMIN_CREATE_CLIENT_AUTH_TOKEN":"Admin Create Access Token","AUDIT_EVENT_TYPE_ADMIN_CREATE_ENTITLEMENT":"Admin Create Entitlement","AUDIT_EVENT_TYPE_ADMIN_CREATE_INSTANCE":"Admin Create Purchased Product","AUDIT_EVENT_TYPE_ADMIN_CREATE_POLY_USER":"Admin Create Poly User","AUDIT_EVENT_TYPE_ADMIN_CREATE_PRODUCT_VERSION":"Admin Create Product Version","AUDIT_EVENT_TYPE_ADMIN_CREATE_TENANT_ACCOUNT":"Admin Create Tenant Account","AUDIT_EVENT_TYPE_ADMIN_CREATE_TENANT_USER":"Admin Create Tenant User","AUDIT_EVENT_TYPE_ADMIN_DELETE_APP_DATA":"Admin Delete App Data","AUDIT_EVENT_TYPE_ADMIN_DELETE_AUDIT_RECORD":"Admin Delete Audit Record","AUDIT_EVENT_TYPE_ADMIN_DELETE_CLIENT_AUTH_TOKEN":"Admin Delete Access Token","AUDIT_EVENT_TYPE_ADMIN_DELETE_ENTITLEMENT":"Admin Delete Entitlement","AUDIT_EVENT_TYPE_ADMIN_DELETE_INSTANCE":"Admin Delete Purchased Product","AUDIT_EVENT_TYPE_ADMIN_DELETE_POLY_USER":"Admin Delete Poly User","AUDIT_EVENT_TYPE_ADMIN_DELETE_PRODUCT_VERSION":"Admin Delete Product Version","AUDIT_EVENT_TYPE_ADMIN_DELETE_TENANT_ACCOUNT":"Admin Delete Tenant Account","AUDIT_EVENT_TYPE_ADMIN_DELETE_TENANT_USER":"Admin Delete Tenant User","AUDIT_EVENT_TYPE_ADMIN_EDIT_TENANT_INFORMATION":"Admin Edit Tenant Information","AUDIT_EVENT_TYPE_ADMIN_INCREASE_ENTITLEMENT_EXPIRE_VALUE":"Admin Increase Entitlement Expire Value","AUDIT_EVENT_TYPE_ADMIN_LOGIN":"Admin Login","AUDIT_EVENT_TYPE_ADMIN_MERGE_TENANT_ACCOUNT":"Admin Merge Tenant Account","AUDIT_EVENT_TYPE_ADMIN_MODIFY_POLY_USER":"Admin Modify Poly User","AUDIT_EVENT_TYPE_ADMIN_MODIFY_TENANT_USER":"Admin Modify Tenant User","AUDIT_EVENT_TYPE_ADMIN_MOVE_ENTITLEMENT_TO_TENANT":"Admin Move Entitlement To Tenant","AUDIT_EVENT_TYPE_ADMIN_PERFORM_ALT_LICENSE":"Admin Perform Restrictive License","AUDIT_EVENT_TYPE_ADMIN_PERFORM_LICENSE":"Admin Perform Standard License","AUDIT_EVENT_TYPE_ADMIN_PERFORM_MAINT":"Admin Perform Maintenance","AUDIT_EVENT_TYPE_ADMIN_RELEASE_ENTITLEMENT":"Admin Release Entitlement","AUDIT_EVENT_TYPE_ADMIN_RESET_POLY_PWD":"Admin Reset Poly User Password","AUDIT_EVENT_TYPE_ADMIN_RESET_TENANT_PWD":"Admin Reset Tenant User Password","AUDIT_EVENT_TYPE_ADMIN_SPLIT_ENTITLEMENT":"Admin Split Entitlement","AUDIT_EVENT_TYPE_ADMIN_UNASSIGN_ENTITLEMENT":"Admin Unassign Entitlement","AUDIT_EVENT_TYPE_AUDITOR_LOGIN":"Auditor Login","AUDIT_EVENT_TYPE_INSTANCE_CREATION_FROM_REQUEST":"Purchased Product Creation From Request","AUDIT_EVENT_TYPE_INTEGRATION_ADD_ENTITLEMENT":"Integration Add Entitlement","AUDIT_EVENT_TYPE_INTEGRATION_ADD_TENANT_USER":"Integration Add Tenant User","AUDIT_EVENT_TYPE_INTEGRATION_CHANGE_ENTITLEMENT":"Integration Change Entitlement","AUDIT_EVENT_TYPE_INTEGRATION_CHANGE_PRODUCT_VERSION":"Integration Change Product Version","AUDIT_EVENT_TYPE_INTEGRATION_CHANGE_TENANT_ACCOUNT":"Integration Change Tenant Account","AUDIT_EVENT_TYPE_INTEGRATION_CREATE_PRODUCT_VERSION":"Integration Create Product Version","AUDIT_EVENT_TYPE_INTEGRATION_CREATE_TENANT_ACCOUNT":"Integration Create Tenant Account","AUDIT_EVENT_TYPE_INTEGRATION_DELETE_ENTITLEMENT":"Integration Delete Entitlement","AUDIT_EVENT_TYPE_INTEGRATION_DELETE_PRODUCT_VERSION":"Integration Delete Product Version","AUDIT_EVENT_TYPE_INTEGRATION_DELETE_TENANT_ACCOUNT":"Integration Delete Tenant Account","AUDIT_EVENT_TYPE_INTEGRATION_INCREASE_ENTITLEMENT_EXPIRE":"Integration Increase Entitlement Expire","AUDIT_EVENT_TYPE_INTEGRATION_MERGEE_TENANT_ACCOUNT":"Integration Merge Tenant Account","AUDIT_EVENT_TYPE_TENANT_ADMIN_ACCEPT_ENTITLEMENT":"Tenant Admin Accept Entitlement","AUDIT_EVENT_TYPE_TENANT_ADMIN_ASSIGN_ENTITLEMENT":"Tenant Admin Assign Entitlement","AUDIT_EVENT_TYPE_TENANT_ADMIN_COMBINE_ENTITLEMENT":"Tenant Admin Combine Entitlement","AUDIT_EVENT_TYPE_TENANT_ADMIN_CREATE_CLIENT_AUTH_TOKEN":"Tenant Admin Create Access Token","AUDIT_EVENT_TYPE_TENANT_ADMIN_CREATE_INSTANCE":"Tenant Admin Create Purchased Product","AUDIT_EVENT_TYPE_TENANT_ADMIN_DELETE_CLIENT_AUTH_TOKEN":"Tenant Admin Delete Access Token","AUDIT_EVENT_TYPE_TENANT_ADMIN_DELETE_INSTANCE":"Tenant Admin Delete Purchased Product","AUDIT_EVENT_TYPE_TENANT_ADMIN_DELETE_USER":"Tenant Admin Delete User","AUDIT_EVENT_TYPE_TENANT_ADMIN_LOGIN":"Tenant Admin Login","AUDIT_EVENT_TYPE_TENANT_ADMIN_MODIFY_USER":"Tenant Admin Modify User","AUDIT_EVENT_TYPE_TENANT_ADMIN_PERFORM_ALT_LICENSE":"Tenant Admin Perform Restrictive License","AUDIT_EVENT_TYPE_TENANT_ADMIN_PERFORM_LICENSE":"Tenant Admin Perform Standard License","AUDIT_EVENT_TYPE_TENANT_ADMIN_RESET_USER_PASSWORD":"Tenant Admin Reset User Password","AUDIT_EVENT_TYPE_TENANT_ADMIN_SPLIT_ENTITLEMENT":"Tenant Admin Split Entitlement","AUDIT_EVENT_TYPE_TENANT_ADMIN_UNASSIGN_ENTITLEMENT":"Tenant Admin Unassign Entitlement","AUDIT_EVENT_TYPE_TENANT_AUDITOR_LOGIN":"Tenant Auditor Login","AUDIT_EVENT_TYPE_TENANT_CREATE_USER":"Tenant Create User","AUDIT_EVENT_TYPE_TENANT_RESET_USER_PASSWORD":"Tenant Reset User Password","AUDIT_EVENT_TYPE_USER_SELF_RESET_PWD":"User Self Reset Password","AUDIT_EVENTS":"Audit Events","AUDIT_LOGS":"Audit Logs","AUGUST":"August","AUTH_ERROR":"Error Authenticating","AUTH_ERROR_ACTION":"Login Again","AUTH_EXPIRED":"Login Expired","AUTH_RESTART":"Login Restart","AUTHENTICATING":"Verifying Download","AUTHORIZED":"Authorized","auto":"Auto","Auto":"Auto","AUTO":"Auto","AUTO_ADJUST_DAYLIGHT_SAVINGS":"Auto Adjust for Daylight Savings Time","AUTO_ANSWER":"Auto-Answer","AUTO_ANSWER_CRADLE":"Auto-Answer (No Sensor)","AUTO_ANSWER_CRADLE_DESC":"Automatically answer incoming calls when you remove your headset from the charge cradle. Set to Off to answer incoming calls when you press the call control button.","AUTO_ANSWER_DESC":"Automatically answer an incoming call as you put on your headset while your phone rings.","AUTO_CONNECT_MOBILE":"Auto-Connect to Mobile Phone","AUTO_CONNECT_MOBILE_DESC":"Automatically reconnect the Savi base to your mobile phone when it comes within range of the base unit.","AUTO_DISCONNECT_CRADLE":"Place in Cradle to Auto-Disconnect","AUTO_DISCONNECT_CRADLE_DESC":"Automatically disconnect a call when you place your headset in the charge cradle.","AUTO_MUTE":"Auto-Mute","AUTO_MUTE_DESC":"Automatically mute your headset\'s microphone when you remove your headset during a call.","AUTO_PAN":"Auto Pan","AUTO_PAUSE_MUSIC":"Auto-Pause Music","AUTO_PAUSE_MUSIC_DESC":"Automatically pause audio streaming from a mobile device when you remove your headset. Put your headset on again to resume audio streaming. Disable this setting to play streamed audio continuously.","AUTO_UPDATE_LATEST":"Auto-update with Latest Version","AUTO_UPDATE_LATEST_DESC":"Latest Version is pushed to your End-Users who will be notified of update every 8hrs indefinitely, unless specified differently in {{setting}} (if available)","AUTO_UPDATE_TO_LATEST_SOFTWARE":"Auto-update to Latest Software","AUTOMATIC":"Automatic","AVAILABLE":"Available","AVAILABLE_ATTRIBUTES":"Available Attributes","AVAILABLE_LICENSES":"Available Licenses","AVAILABLE_TO_ADD":"Available to Add ({{availableToAddCount}})","AVAILABLE_VERSIONS":"Available Versions","AVERAGE_INDICATOR":"{{average}}","AVERAGE_PARTICIPANTS":"Average Participants","BACK":"Back","BACK_LIGHT_COMPENSATION":"Back Light Compensation","BACK_LIGHT_COMPENSATION_DESC":"Enable or disable backlight compensation.","BACKGROUND_IMAGE":"Background Image","BAD":"Bad","BATTERY_STATUS":"Battery Status","BATTERY_STATUS_DESC":"Hear your battery status when you power on your device.","BETA_SOFTWARE_ACCESS":"Do you have access to beta software?","BFCP_TRANSPORT_PREFERENCE":"BFCP Transport Preference","BLUETOOTH":"Bluetooth","BLUETOOTH_DESC":"Enable to connect to your mobile device via Bluetooth.","BLUETOOTH_STREAMING":"Bluetooth","BLUETOOTH_STREAMING_DESC":"Turn the Bluetooth radio on or off.","BOOM_ON_LEFT":"Boom on Left Side","BOOM_ON_RIGHT":"Boom on Right Side","Both":"Both","BRIGHTNESS":"Brightness","BRIGHTNESS_DESC":"Adjust video brightness.","BROWSE":"Browse","BROWSE_DEVICES_NOT_USED_IN_COMPANY":"Browse Devices Not Used in Company","CALENDAR":"Calendar","CALL_ANNOUNCEMENT":"Incoming Call Alert","CALL_ANNOUNCEMENT_DESC":"Hear the voice alert \'Answering Call\' when you answer an incoming call via your headset.","CALL_BUTTON_LOCK":"Call Button Lock","CALL_BUTTON_LOCK_DESC":"Lock the headset\'s call button to eliminate accidental mobile call back dialing when you are not wearing your headset.","CALL_ERRORS":"Call Errors","CALL_SERVER":"Call Servers","CALL_SUCCESS":"Call Success","CALL_TO":"Call To","CALL_USAGE":"Call Usage","CALL_USE":"Call Use","CALLER_ID":"Caller ID","CALLER_ID_DESC":"For incoming mobile calls, hear the caller\'s name based on your mobile contacts list.","CAMERA_MOVEMENT":"Camera Movement","CAMERA_MOVEMENT_DESC":"Adjust the camera movement","CAMERA_VIEW":"Camera View","CANCEL":"Cancel","CANCELLED":"Cancelled","CANNOT_BE_UNDONE":"This action cannot be undone.","CANNOT_IDENTIFY_PRIMARY_DEVICE":"Unable to identify Primary Device","CANT_FIND_DEVICE":"Cannot access device or it doesn\'t exist","CAPACITY":"Capacity","CAPACITY_OPTIONAL":"Capacity (Optional)","CATEGORIES":"Categories","CATEGORY":"Category","CCX_UNSUPPORTED":"CCX device management is not yet supported.","CDP_STATUS":"CDP Status","CERTIFICATE":"Certificate","CHANGE_CREDENTIALS":"Change Credentials","CHANGE_POLICY_TO_SAVE_NOTE":"Note: You must change and save at least one setting in order for this policy to be created.","CHANGE_POLICY_TO_SAVE_NOTE_ON_MODAL":"Note: Once you click \u201cContinue\u201d, you will be directed to the settings page for this policy. You must change and save at least one setting in order for this policy to be created.","CHANGES":"Changes","CHARGE_VIBRATION":"Charge Confirmation","CHARGE_VIBRATION_DESC":"Set your headset to vibrate to confirm that your headset is charging.","CHECK_FOR_UPDATES":"Check for Updates","CHECKING_VERSION":"Checking Version","CHOOSE_REGISTRATION":"Choose Registration Method","CIDR_ERROR":"Must follow a CIDR block pattern.","CITY":"City","CLARITI":"Clariti","CLARITI_TELL_ME_MORE":"Tell me more about Clariti!","CLARITI_TRIAL":"Clariti Trial","CLARITI_TRIAL_CONF_DUR_PART_LIMIT":"This trial allows you to participate in a single conference with up to 20 participants for up to 45 minutes at no charge.","CLARITI_TRIAL_CONFIRM_DIALOG":"Shortly after accepting the terms and conditions above, you will receive an email with a shareable link that can be used to start your trial conference. You can also use the \'Join my meeting\' link in the main trial display.","CLARITI_TRIAL_DESCRIPTION":"Poly Clariti software lets your teams connect easily from anywhere with quality to die for at
unbelievable scale. Deploying video infrastructure on-premise, in the cloud or hybrid mode?
It\'s all good. Poly Clariti\'s broad-reaching interoperability ensures that people can connect
wherever, whenever, on any device.","CLARITI_TRIAL_EULA_ACCEPT":"BY SELECTING ACCEPT BELOW, YOU ACKNOWLEDGE THAT YOU HAVE READ, UNDERSTAND, AND AGREE TO BE BOUND BY THE TERMS AND CONDITIONS INDICATED ABOVE.","CLARITI_TRIAL_INTENT":"Poly Clariti Trial video and collaboration service is hosted by Poly and is intended for trial
purposes only.","CLARITI_TRIAL_MEETING_STATUS_ERROR":"There was an error checking meeting status. Please try again.","CLARITI_TRIAL_REVIEW_EULA":"Please take a moment to review and accept the End User License Agreement below.","CLARITI_TRIAL_SUCCESSFULLY_ENROLLED":"Thank you for participating in the Clariti Trial program.","CLARITI_TRIAL_WELCOME_VIDEO_TITLE":"Meeting Equality with Poly","CLEANUP":"Cleanup","CLEAR":"Clear","CLEAR_FILTER":"Clear Filter","CLEAR_FILTERS":"Clear all Filters","CLEAR_GEOFILTER":"Clear Geofilter","CLEAR_TRUSTED_DEVICE_LIST":"Clear Trusted Device List","CLIENT":"Client","CLIENT_APP_VERSION":"App Version","CLIENT_ID":"Client ID","CLIENT_SECRET":"Secret","CLIENT_TOKEN":"Client Token","CLIENT_TOKEN_CREATE_ERROR":"Failed to create Client Token.","CLIENT_TOKEN_CREATE_SUCCESS":"Client Token successfully created.","CLIENT_TOKEN_DELETE_ERROR":"Failed to delete client token: {{name, title}}","CLIENT_TOKEN_DELETE_SUCCESS":"Client token successfully deleted.","CLIENT_TOKEN_DELETE_SUCCESS_other":"Client tokens successfully deleted.","CLIENT_TOKEN_EDIT_ERROR":"Failed to update Client Token name.","CLIENT_TOKEN_EDIT_SUCCESS":"Client Token name successfully updated.","CLIENT_TOKEN_EULA_MODAL_AGREEMENT":"I agree to the <0>Poly End User License Agreement","CLIENT_TOKEN_EULA_MODAL_DESCRIPTION":"Before you can start using Client Tokens you need to accept End User License Agreement on behalf of users in your organization.","CLIENT_TOKEN_EULA_MODAL_TITLE":"End User License Agreement","CLIENT_TOKEN_NAME":"Client Token Name","CLIENT_TOKEN_other":"Client Tokens","CLIENT_TOKENS_HELP":"Client Tokens are used to authenticate your Loginless Desktop applications instance.","CLIENT_TOKENS_HELP_DOCS":"<0>To learn more, view the Desktop Loginless Deployment site <1>here.","CLIENT_TOKENS_TITLE":"Integrations | Client Tokens","CLOSE":"Close","CLOSE_CONVERSATION_LIMITING":"Close Conversation Limiting","CLOSE_CONVERSATION_LIMITING_DESC":"Limit the amount of nearby conversation your microphone transmits. Changes take effect on your next call.","COLOR":"Color","COLOR_DESC":"Adjust video color.","COMMON_NAME":"Common Name","COMPANY_AVERAGE":"Company Average","COMPANY_AVERAGE_AND_PERCENTILE":"The account average is {{tenantAverage}}, placing {{site}} in the {{tenantPercentile}} percentile in the account","COMPLETE_PROFILE":"Complete your profile","COMPUTER":"Computer","COMPUTER_AUDIO_BANDWIDTH":"Computer Audio Bandwidth","COMPUTER_RINGTONE":"Computer","COMPUTER_RINGTONE_DESC":"Select the ringtone your computer softphone plays for incoming calls.","COMPUTER_VOLUME":"Computer Volume","CONFERENCE_ROOM":"Conference Room","CONFIGURE":"Configure","CONFIGURE_LOGS":"Configure Logs","CONFIGURE_MONITOR_1":"Configure Monitor 1","CONFIGURE_MONITOR_2":"Configure Monitor 2","CONFIRM":"Confirm","CONFIRM_ACTIVE_CALL":"There is an ongoing call, completing this operation may cause the call to end immediately.","CONFIRM_APPLY":"Confirm Apply","CONFIRM_DELETE_API_CONNECTION":"Are you sure you want to delete this API Connection? This action cannot be undone.","CONFIRM_DELETE_API_CONNECTION_other":"Are you sure you want to delete these API Connections? This action cannot be undone.","CONFIRM_DELETE_CLIENT_TOKEN":"Are you sure you want to delete this client token? This action cannot be undone.","CONFIRM_DELETE_CLIENT_TOKEN_other":"Are you sure you want to delete these client tokens? This action cannot be undone.","CONFIRM_DELETE_DEVICE_GROUPS":"Are you sure you want to delete this device group? This action cannot be undone.","CONFIRM_DELETE_DEVICE_GROUPS_other":"Are you sure you want to delete these device groups? This action cannot be undone.","CONFIRM_DELETE_DEVICE_USER_GROUP":"Are you sure you want to delete this device user group? This action cannot be undone.","CONFIRM_DELETE_DEVICE_USER_GROUP_other":"Are you sure you want to delete these device user groups? This action cannot be undone.","CONFIRM_DELETE_INVITATION":"Are you sure you want to delete this pending invitation? This action cannot be undone.","CONFIRM_DELETE_INVITATION_other":"Are you sure you want to delete these pending invitations? This action cannot be undone.","CONFIRM_DELETE_MEMBERS":"Are you sure you want to delete this account member? This action cannot be undone.","CONFIRM_DELETE_MEMBERS_other":"Are you sure you want to delete these account members? This action cannot be undone.","CONFIRM_DELETE_POLICIES":"Are you sure you want to delete this policy? This action cannot be undone.","CONFIRM_DELETE_POLICIES_other":"Are you sure you want to delete these policies? This action cannot be undone.","CONFIRM_DELETE_POLY_INTERNAL_USER":"Deleting a Poly internal user will remove them from this list. If this user has roles or permisssions for any other Poly Lens account, they will not be affected. Are you sure you want to delete this user from the Poly Users list?","CONFIRM_DELETE_USER_FROM_ACCOUNT":"This will remove access to {{account, title}} from user: {{user}}.","CONFIRM_DELETE_WEBHOOK":"Are you sure you want to remove the webhook?","CONFIRM_DEVICE_LEVEL_POLICY_CHANGE":"Applying device level policy may trigger immediate software update/reboot. Do you want to continue?","CONFIRM_EMAIL":"Email Confirmation","CONFIRM_EMAIL_DESC":"Click the button below to confirm your subscription to Poly Lens email notifications.","CONFIRM_EMAIL_ERROR":"There was a problem confirming your email.","CONFIRM_EMAIL_FETCHING":"Confirming email...","CONFIRM_EMAIL_SUCCESS":"Your email has been successfully confirmed.","CONFIRM_NEW_PASSWORD":"Confirm New Password","CONFIRM_PASSWORD":"Confirm Password","CONFIRM_RELEASE_ENTITLEMENTS":"Are you sure you want to release this entitlement?","CONFIRM_RELEASE_ENTITLEMENTS_other":"Are you sure you want to release these entitlements?","CONFIRM_REMOVE_ACCESS_TOKENS":"Are you sure you want to remove this access token?","CONFIRM_REMOVE_ACCESS_TOKENS_other":"Are you sure you want to remove these access tokens?","CONFIRM_REMOVE_DEVICE_FROM_GROUP":"Are you sure you want to remove this device from the group?","CONFIRM_REMOVE_DEVICE_FROM_GROUP_other":"Are you sure you want to remove this device from multiple groups?","CONFIRM_REMOVE_DEVICE_USERS":"Are you sure you want to remove this device user?","CONFIRM_REMOVE_DEVICES_FROM_GROUP":"Removing devices from this group will not delete them from your account inventory. Are you sure you want to remove these devices from your group?","CONFIRM_REMOVE_ENTITLEMENTS":"Are you sure you want to remove this entitlement?","CONFIRM_REMOVE_ENTITLEMENTS_other":"Are you sure you want to remove these entitlements?","CONFIRM_REMOVE_PURCHASED_PRODUCTS":"Are you sure you want to remove this purchased product?","CONFIRM_REMOVE_PURCHASED_PRODUCTS_other":"Are you sure you want to remove these purchased products?","CONFIRM_REMOVE_RESOURCE_FILES":"Are you sure you want to remove this resource file?","CONFIRM_REMOVE_RESOURCE_FILES_other":"Are you sure you want to remove these resource files?","CONFIRM_REMOVE_ROOMS":"Are you sure you want to remove this room? Any devices associated with this room will now live under \\"Unassigned\\".","CONFIRM_REMOVE_ROOMS_other":"Are you sure you want to remove these rooms? Any devices associated with these rooms will now live under \\"Unassigned\\".","CONFIRM_REMOVE_SITES":"Are you sure you want to remove this site? Any rooms associated with this site will also be deleted. Any devices associated with this site will now live under the \\"Unassigned\\" site.","CONFIRM_REMOVE_SITES_other":"Are you sure you want to remove these sites? Any rooms associated with these sites will also be deleted. Any devices associated with these sites will now live under the \\"Unassigned\\" site.","CONFIRM_REMOVE_TRIAL_USERS":"Are you sure you want to remove this trial user?","CONFIRM_REMOVE_TRIAL_USERS_other":"Are you sure you want to remove these trial users?","CONFIRM_RESEND_INVITATION":"Are you sure you want to resend an invitation to this email address?","CONFIRM_RESEND_INVITATION_other":"Are you sure you want to resend invitations to these email addresses?","CONFIRM_UNINSTALL_RELAY_CERTIFICATE":"Are you sure you want to uninstall the custom certificate? When it is removed, the relay will use a self-signed certificate.","CONFIRMED":"Confirmed","CONFIRMED_COUNT":"Confirmed ({{count}})","CONFIRMED_PARTIAL_COUNT":"Confirmed ({{count}}+)","CONNECTED":"Connected","CONNECTED_DEVICES":"Connected Devices","CONNECTING_TO_REPO":"Connecting To Repository","CONNECTION":"Connection","CONNECTION_INDICATION":"Connection Indication","CONNECTION_INDICATION_DESC":"Select the alert you hear when the device makes a wireless connection.","CONNECTION_MODE":"Connection Mode","CONNECTION_SPEED":"Connection Speed","CONNECTION_TYPE":"Connection Type","CONNECTIVITY":"Connectivity","CONSOLIDATE":"Consolidate","CONSOLIDATE_ACCOUNTS":"Consolidate Accounts","CONSOLIDATE_ACCOUNTS_CMD_ERROR":"Unable to consolidate accounts. Please try again.","CONSOLIDATE_ACCOUNTS_CMD_SUCCESS":"Accounts successfully consolidated.","CONSOLIDATE_ACCOUNTS_REVIEW_SUBTITLE":"Review consolidated account information below and edit the account name before clicking Consolidate. This action cannot be undone.","CONSOLIDATE_ACCOUNTS_SELECT_SUBTITLE":"Migrate devices from one account to another","Content":"Content","CONTINUE":"Continue","CONTINUE_RESTART":"Continue Restart","CONTRAST":"Contrast","CONTRAST_DESC":"Adjust video contrast.","CONTRIBUTING_DEVICES_REMAINING":"Remaining devices that generated insight.","CONTRIBUTING_DEVICES_TOTAL":"Devices that contributed to insight generation.","CONTROL":"Control","CONVERSATION":"Conversation","COPIED_TO_CLIPBOARD":"{{name}} copied to clipboard.","COPY":"Copy","COPY_MEETING_URL":"Copy meeting URL","COPY_RESPONSE_CODE":"Copy Response Code","COPY_TO_CLIPBOARD_FAILED":"Failed to copy {{name}} to clipboard.","COPYRIGHT":"\xa9{{year, title}} Plantronics, Inc. All Rights Reserved.","COUNT":"Count","COUNT_INDICATOR":"{{count}}","COUNT_OF_TOTAL_INDICATOR":"{{count}} of {{total}}","COUNTED":"Counted","COUNTRY":"Country","CREATE":"Create","CREATE_A_DEVICE_GROUP":"Create a Device Group","CREATE_ACCESS_TOKEN_ERROR":"Error creating access token: {{message}}","CREATE_API_CONNECTION":"Create API Connection","CREATE_API_CONNECTION_DESCRIPTION":"Use API connections to extract data from Poly Lens and use your own code to do anything you like with it.","CREATE_CLIENT_TOKEN":"Create Client Token","CREATE_CLIENT_TOKEN_NOTE":"Give your client token a name. You can edit this name later.","CREATE_DEVICE_GROUP":"Create Device Group","CREATE_DEVICE_GROUP_NOTE":"You can group any combination of devices into a group for more customized management. Give your group a unique name.","CREATE_DEVICE_GROUP_SUCCESS":"Device group created.","CREATE_DEVICE_USER_GROUP":"Create Device User Group","CREATE_ENTITLEMENT_ERROR":"Error creating entitlement: {{message}}","CREATE_NEW_GROUP":"Create New Group","CREATE_NEW_USER_GROUP_CONFIRM":"{{name}} will be created with {{count}} device user.","CREATE_NEW_USER_GROUP_CONFIRM_other":"{{name}} will be created with {{count}} device users.","CREATE_NEW_USER_GROUP_DESCRIPTION":"You can group any number of device users for more customized management. Give your group a unique name.","CREATE_PASSWORD":"Create Password","CREATE_RESTRICTIVE_PURCHASED_PRODUCT_ERROR":"Error creating restrictive purchased product: {{message}}","CREATE_SITE":"Create a Site","CREATE_SITE_FIRST_1":"You must have at least one site before you can create a new room. Visit ","CREATE_SITE_FIRST_2":" to create your first site.","CREATE_STANDARD_PURCHASED_PRODUCT_ERROR":"Error creating standard purchased product: {{message}}","CREATE_USER_GROUP_FAILURE":"Failed to create user group.","CREATE_USER_GROUP_SUCCESS":"User group created.","CREATING_TRIAL_SUBSCRIPTION":"Creating trial subscription","CREATION_TIME":"Creation Time","CRITICAL":"Critical","CSV_DOWNLOAD_TEMPLATE":"Download Template","CSV_ERROR_DOWNLOAD":"Click to download details of failed imports","CSV_HEADERS_INVALID":"CSV headers are invalid.","CSV_IMPORT_HEADER_GROUP":"group_name","CSV_IMPORT_HEADER_MAC":"mac_address","CSV_IMPORT_HEADER_MODEL":"device_model","CSV_IMPORT_HEADER_MODELS":"device_models","CSV_IMPORT_HEADER_SERIAL":"serial_number","CSV_IMPORT_HEADER_SITE":"site_name","CSV_IMPORT_HEADER_SUBNETS":"subnets","CSV_IMPORT_RULES_1_DEVICE":"You can import a .csv file to create or update devices and their policies on Poly Lens for supported models for provisioning.","CSV_IMPORT_RULES_1_DEVICE_GROUP":"You can import a .csv file to create or update device groups and their policies on Poly Lens.","CSV_IMPORT_RULES_1_DEVICE_MODEL":"You can import a .csv file to create or update device model polices on Poly Lens.","CSV_IMPORT_RULES_1_SITES":"You can import a .csv file to create or update sites and their policies on Poly Lens.","CSV_IMPORT_RULES_2":"The .csv file structure must contain certain mandatory headers plus optional configuration parameters.","CSV_IMPORT_RULES_3":" must be included.","CSV_IMPORT_RULES_4":"As an example of how to create the .csv file, use ","CSV_IMPORT_RULES_5":"this guidance.","CSV_IMPORT_RULES_6":"For a larger number of {{entity}}, compress the csv file into a zip prior to upload.","CSV_IMPORT_RULES_HEADER":"The header ","CSV_IMPORT_RULES_HEADERS":"The headers ","CURRENT":"Current","CURRENT_ATTRIBUTE_ASSIGNED":"Current Attribute Assigned","CURRENT_ATTRIBUTE_COUNT":"Current Attribute Count","CURRENT_DATE":"Current Date","CURRENT_ROOM":"Current Room","CURRENT_STATUS":"Current Status","CURRENT_VERSION":"Current Version","CUSTOM_SERVER":"Custom Server","CUSTOM_VALUE":"Use custom value: \\"{{value}}\\"","CUT":"Cut","DAILY":"Daily","DASHBOARD":"Dashboard","DATA":"Data","DATE_ADDED":"Date Added","DATE_AFTER_ALLOWED_RANGE":"This date is not available yet","DATE_AND_TIME":"Date and Time","DATE_BEFORE_ALLOWED_RANGE":"No data tracked for this or older dates","DATE_CREATED":"Date Created","DATE_FORMAT":"Date Format","DATE_INVITED":"Date Invited","DATE_OF_INITIAL_INVITE":"Date Initially Invited","DATE_PICKER":"Date Picker","DATE_RANGE":"Date Range","DATE_UPLOADED":"Date Uploaded","DAY":"Day","DAY_OF_X":"{{weekday}} {{day}}","DELAY_MAX_TIMES":"Max {{max}} times with update after restart","DELAY_SOFTWARE_UPDATE":"Delay Software Update","DELAY_SOFTWARE_UPDATE_DESC":"Allow your end-users to delay update up to {{max}} times. Installation is automatically initiated after {{maxOrdinal}} delay on app restart.","DEBUG_USER_ROLES":"Debug User Roles?","DECEMBER":"December","DECLINE":"Decline","DEFAULT_INVENTORY_VIEW":"Default Inventory View:","DEFAULT_PHONE_LINE":"Default Phone Line","DEFAULT_PHONE_LINE_DESC":"Set the outbound line your phone uses when you press the headset call control button.","DEFAULT_TOPIC":"No Insight Selected","DELETE":"Delete","DELETE_ACCOUNT_MEMBER":"Delete Account Member","DELETE_ACCOUNT_MEMBER_other":"Delete {{count}} Account Members","DELETE_API_CONNECTION_FAILURE":"Failed to delete API Connection.","DELETE_API_CONNECTION_FAILURE_other":"Failed to delete {{count}} API Connections.","DELETE_BULK_DEVICES_CONFIRMATION":"Are you sure you want to delete the following devices? This action cannot be undone.","DELETE_CLIENT_TOKEN":"Delete Client Token","DELETE_CLIENT_TOKEN_other":"Delete Client Tokens","DELETE_CONFIRMATION_DETAILS":"This action cannot be undone. Type DELETE to confirm.","DELETE_DEVICE":"Delete Device","DELETE_DEVICE_CONFIRMATION":"Are you sure you want to delete the device {{deviceName, title}}? $t({{confirm}})","DELETE_DEVICE_FAILURE":"Device {{name, title}} could not be deleted.","DELETE_DEVICE_other":"Delete {{count}} Devices","DELETE_DEVICE_SUCCESS":"Device {{name, title}} deleted.","DELETE_DEVICE_SUCCESS_other":"{{count}} devices successfully deleted.","DELETE_DEVICE_USER_GROUP_FAILURE":"Failed to delete device user group.","DELETE_DEVICE_USER_GROUP_FAILURE_other":"Failed to delete {{count}} device user groups.","DELETE_INVITATION":"Delete Invitation","DELETE_INVITATION_other":"Delete Invitations","DELETE_PENDING_INVITATION":"Delete Pending Invitation","DELETE_PENDING_INVITATION_other":"Delete {{count}} Pending Invitations","DELETE_POLY_INTERNAL_USER":"Delete {{count}} Poly Internal Users","DELETE_TENANT":"Delete Account","DELETE_USER":"Delete User","DELETED_DEVICES":"Device names with an asterisk (*) no longer exist in this account\u2019s inventory. They have been moved to another account or deleted.","DELETING":"Deleting...","DELIVERY":"Delivery","DEPLOY_LENS_APP":"Deploy Lens Applications","DEPLOYMENT_LEVEL":"Deployment Level","DESCENDING":"Descending","DESCRIPTION":"Description","DESK_PHONE":"Desk Phone","DESK_PHONE_AUDIO_BANDWIDTH":"Desk Phone Audio Bandwidth","DESK_PHONE_RINGTONE":"Desk Phone","DESK_PHONE_RINGTONE_DESC":"Select the ringtone your desk phone plays for incoming calls.","DESK_PHONE_VOLUME":"Desk Phone Volume","DESKTOP":"Desktop","DESKTOP_AND_MOBILE":"Desktop / Mobile","DESKTOP_APP":"Poly Lens Desktop App","DESKTOP_COMING_SOON":"Still preparing for the Poly Lens Desktop launch, stay tuned!","DESKTOP_DIFFERENT_OS":"Looking for a different operating system?","DESKTOP_DOWNLOAD_LINK":"lens.poly.com/download","DESKTOP_FEEDBACK_FORM_TITLE":"Poly Lens Feedback Portal","DESKTOP_INTEGRATIONS_INFO":"Use directory services to automatically onboard devices and users based on their login domain for Poly Lens Desktop. To enable directory services and more, visit ","DESKTOP_INTEGRATIONS_NOTE":"Note: Directory Integration only applies to Poly Lens Desktop.","DESKTOP_INTEGRATIONS_SUBTITLE":"Directory Integration","DESKTOP_INVITE_INFO":"If you don\'t distribute software to your device users, you can invite them to download Poly Lens Client apps with a unique URL sent via email. Once installed, they can sign up via SSO or with their corporate email account, and they will be associated to the appropriate Poly Lens account. If you have chosen to deploy Loginless deployment, SSO app installation will fail for the end user.","DESKTOP_LINK_TITLE":"Link to Download Poly Lens Desktop","DESKTOP_MOBILE_DEVICE_SETTINGS_OFFLINE":"Settings are unavailable when the device is not connected to the Poly Lens Client.","DESKTOP_SIZE_ALERT":"Please resize your browser. Lens supports browser window sizes greater than 1000 X 800.","DETAILS":"Details","DEVELOPER_API_DOCUMENTATION":"Developer API Documentation","DEVICE":"Device","DEVICE_ACTIONS":"Device Actions","DEVICE_ACTIONS_SUB_HEADER":"Actions include software updates, offline and unassigned devices.","DEVICE_ADDED":"Date Added","DEVICE_ADOPTION":"Device Adoption","DEVICE_ALERTS":"Device Alerts","DEVICE_ASSOCIATION":"Device Association","DEVICE_AUDIO_BANDWIDTH_DESC":"Select the audio bandwidth for your {{device}}. Wideband audio enhances speech clarity and life-like fidelity but consumes more battery power and reduces available talk time for calls.","DEVICE_CERTIFICATE":"Device Certificate (base64 encoded .PFX)","DEVICE_CERTIFICATE_ERROR":"There was an error uploading the certificate to the device.","DEVICE_CERTIFICATE_PASSWORD":"Device Certificate Password","DEVICE_CERTIFICATE_SUCCESS":"The certificate was successfully installed for {{subjectCN}}.","DEVICE_CERTIFICATE_UNINSTALL_ERROR":"The certificate uninstallation failed. Please ensure the relay is connected, and try again.","DEVICE_CERTIFICATE_UNINSTALL_SUCCESS":"The certificate has been uninstalled from the relay successfully.","DEVICE_CERTIFICATE_VIEW_MORE_SANS":"{{count}} More...","DEVICE_CONFIG":"Device Configuration","DEVICE_CONFIG_ERROR":"Failed to get device configuration","DEVICE_CONFIG_SOURCE_CONFIGFILES":"Config Files","DEVICE_CONFIG_SOURCE_DEVICE":"Device","DEVICE_CONFIG_SOURCE_LOCAL":"Local","DEVICE_CONFIG_SOURCE_WEB":"Web","DEVICE_CONNECTED":"This device is connected","DEVICE_COUNT":"Device Count","DEVICE_DELETE_CONFIRMATION_TITLE":"Confirm Device Deletion","DEVICE_DETAILS_FILTER_LINK":"Browse Devices Which Contributed To This Insight","DEVICE_DETAILS_SOFTWARE_CARD_POLICY_MESSAGE":"This device\'s software version is being controlled by a {{policyScope}} policy set to {{softwareVersion}}.","DEVICE_DISCONNECTED":"This device is disconnected","DEVICE_DOESNT_EXIST_IN_INVENTORY":"Device ({{id}}) does not exist in active inventory.","DEVICE_FIRMWARE_UPDATE_AVAILABLE":"Device firmware update available","DEVICE_GROUP":"Device Group","DEVICE_GROUP_IMPORT_ERROR":"Error importing device groups.","DEVICE_GROUP_IMPORT_HEADER_ERROR":"Import failed for the following device groups:","DEVICE_GROUP_IMPORT_HEADER_SUCCESS":"Import passed successfully for the following device groups.","DEVICE_GROUP_IMPORT_SUCCESS":"Device groups imported successfully","DEVICE_GROUP_IMPORT_SUCCESS_LONG":"Device groups have been imported successfully","DEVICE_GROUP_NAME":"Device Group Name","DEVICE_GROUP_NAME_UNIQUE_ERROR":"Group Name must be unique","DEVICE_GROUP_ONLY_PROVISIONED_ERROR":"Only provisioned devices with a serial number can be grouped","DEVICE_GROUP_ONLY_PROVISIONED_WARNING":"Only provisioned devices with a serial number will be grouped, rest will be ignored","DEVICE_GROUP_other":"Device Groups","DEVICE_GROUPS":"Device Groups","DEVICE_HEALTH":"Device Health","DEVICE_ID":"Device Identifier","DEVICE_IMPORT_ERROR":"Error importing device policies.","DEVICE_IMPORT_HEADER_ERROR":"Import failed for the following devices:","DEVICE_IMPORT_HEADER_SUCCESS":"Import passed successfully for the following devices.","DEVICE_IMPORT_SUCCESS":"Device policies imported successfully","DEVICE_IMPORT_SUCCESS_LONG":"Device policies have been imported successfully","DEVICE_INFORMATION":"Device Information","DEVICE_INSIGHTS":"Device Insights","DEVICE_INSIGHTS_DESCRIPTION":"Device Insights include software updates, offline and unassigned devices.","DEVICE_INVENTORY":"Device Inventory","DEVICE_LAST_SEEN":"Date Last Seen","DEVICE_LIST":"Device Inventory","DEVICE_LOCATION_DETAILS_HELP":"Include location details to realize the full benefits of insights.","DEVICE_MANAGER_ROLE_DESCRIPTION":"Full access to Device Management","DEVICE_MODEL":"Device Model","DEVICE_MODEL_CONFIG":"Device Model Configuration","DEVICE_MODEL_IMPORT_ERROR":"Error importing device model policies.","DEVICE_MODEL_IMPORT_HEADER_ERROR":"Import failed for the following device models:","DEVICE_MODEL_IMPORT_HEADER_SUCCESS":"Import passed successfully for the following device models.","DEVICE_MODEL_IMPORT_SUCCESS":"Device model policies imported successfully","DEVICE_MODEL_IMPORT_SUCCESS_LONG":"Device model policies have been imported successfully","DEVICE_MODEL_other":"Device Models","DEVICE_MODEL_POLICY":"Model Policy","DEVICE_MODEL_WITH_NAME":"Device Model: {{model}}","DEVICE_NAME":"Device Name","DEVICE_OS_UPDATE_ERROR":"Unable to update the device. Please try again.","DEVICE_OS_UPDATE_SUCCESS":"Device software successfully updated.","DEVICE_other":"Devices","DEVICE_PIN":"Device PIN","DEVICE_PIN_HELP":"Enter Device PIN code.","DEVICE_PIN_TOOLTIP_MESSAGE":"In your web browser, enter the IP address of the device you want to add to Lens. The PIN will be under Servers > Cloud.","DEVICE_PIN_TOOLTIP_TITLE":"Where to find the PIN code","DEVICE_PLAIN":"Device","DEVICE_PLAIN_other":"Devices","DEVICE_POLICY":"Device Policy","DEVICE_REGISTERED":"Device Registered!","DEVICE_REGISTRATION_FAILED":"Device registration failed","DEVICE_REGISTRATION_SUCCESS_1":"Device registered! View this device in ","DEVICE_REGISTRATION_SUCCESS_2":"Inventory","DEVICE_REGISTRATION_SUCCESS_3":" or register another device.","DEVICE_RELAY_HELPER_TEXT":"Relays default to a self-signed certificate.<1/>To install a custom certificate, complete the fields below and click \\"Apply\\".","DEVICE_SETTINGS":"Device Settings","DEVICE_SETTINGS_CORRECT_ERRORS":"Please correct the errors below before applying changes.","DEVICE_SETTINGS_DISABLED_MTR":"Settings are not supported for devices connected via Microsoft Teams Rooms.","DEVICE_SETTINGS_OFFLINE":"Settings are unavailable when the device is offline.","DEVICE_SETTINGS_UNAVAILABLE":"Device settings are currently unavailable","DEVICE_SETTINGS_UPDATED":"Device Settings Updated.","DEVICE_SIGNATURE":"Device Signature","DEVICE_SOFTWARE":"Device Software:","DEVICE_SYSTEM_STATUS":"Device System Status","DEVICE_TYPE":"Device Type","DEVICE_TYPE_INSIGHTS":"Device Type Insights","DEVICE_TYPE_other":"Device Types","DEVICE_UP_TO_DATE":"Device Up To Date","DEVICE_USAGE_AND_NETWORK_DIAGNOSTICS":"Device Usage & Network Diagnostics","device_user":"Device User","DEVICE_USER":"Device User","DEVICE_USER_APPLICATIONS":"Device User Applications","DEVICE_USER_COUNT":"Device User Count","DEVICE_USER_GROUP":"Device User Group","DEVICE_USER_GROUP_NAME":"Device User Group Name","DEVICE_USER_GROUP_other":"Device User Groups","DEVICE_USER_GROUP_POLICY_PRIORITY_TOOLTIP":"Policy priority is used to resolve conflicts between user groups when applying policies. This can only be changed after a policy has been created for a user group.","DEVICE_USER_INFORMATION":"Device User Information","DEVICE_USER_NAME":"Device User Name","DEVICE_USER_WILL_BE_ADDED_TO_GROUP":"{{count}} device user will be added to {{name}}.","DEVICE_USER_WILL_BE_ADDED_TO_GROUP_other":"{{count}} device users will be added to {{name}}.","DEVICE_USERS":"Device Users","DEVICE_USERS_MIGRATED":"{{length}} device users migrated to {{name}}","DEVICE_USERS_MIGRATED_ERROR":"Error migrating device user: {{message}}","DEVICE_USERS_WILL_BE_MIGRATED":"{{length}} device users will be migrated to {{name}}","DEVICE_WRONG_ACCOUNT":"Device is not available under the selected account.","DEVICES":"Devices","DEVICES_FROM_GROUP":"Devices from Group","DEVICES_NOT_USED":"Devices Not Used","DEVICES_NOT_USED_THIS_WEEK":"Devices that haven\'t been used in a meeting in the last week","DEVICES_OFFLINE":"Devices Offline","DEVICES_OFFLINE_COUNT":"{{count}} Device Offline","DEVICES_OFFLINE_COUNT_other":"{{count}} Devices Offline","DIAGNOSTICS":"Diagnostics","DIAL_OUT":"Dial Out","DIAL_TYPE":"Dial Type","DIALING":"Dialing...","DIALTONE":"Dialtone","DIALTONE_DESC":"Hear a dialtone for a VoIP call when you press your headset\'s call button. Your softphone must support dialtones.","DiffServ":"DiffServe","DiffServe":"DiffServe","DIRECTION":"Direction","DIRECTORY_INTEGRATION_MENU":"Directory","DIRECTORY_INTEGRATION_TITLE":"Integrations | Directory","DISABLE":"Disable","DISABLE_PROVISIONING":"Disable Provisioning","DISABLE_PROVISIONING_CONFIRMATION":"If you choose to disable provisioning, your devices will continue to operate, but will no longer retrieve configuration.","DISABLE_USER":"Disable User","DISABLED":"Disabled","DISABLING":"Disabling...","DISCARD":"Discard","DISCONNECTED":"Disconnected","DISMISS":"Dismiss","DISMISSED":"Dismissed","DISPLAY":"Display","DISPLAY_NAME":"Display Name","disti-admin":"Distributor Admin","disti-it-admin":"Distributor Device Manager","DISTRIBUTOR":"Distributor","DNS_ALTERNATIVE_ADDRESS":"DNS Alternative Address","DNS_DOMAIN":"DNS Domain","DNS_PRIMARY_ADDRESS":"DNS Primary Address","DO_NOT_SHOW_AGAIN":"Don\'t show me this again.","DO_NOTHING":"Do Nothing","DOMAIN":"Domain","DONE":"Done","DOUBLE_TONE":"Double Tone","DOWNLOAD":"Download","DOWNLOAD_CFG_FAILED":"Download of Configuration Failed","DOWNLOAD_FOR_ANDROID":"For Android","DOWNLOAD_FOR_MAC":"For Mac","DOWNLOAD_FOR_WIN":"For PC","DOWNLOAD_LENS_DESKTOP":"Download Poly Lens Desktop","DOWNLOAD_LENS_MOBILE":"Download Poly Lens Mobile","DOWNLOAD_LOGS":"Download Last Fetched Log File","DOWNLOAD_PACKAGE_FAILED":"Download of Update Failed","DOWNLOAD_SOURCE":"Download Source","DOWNLOADED_CFG":"Configuration Downloaded","DOWNLOADING_CFG":"Downloading Configuration","DOWNLOADING_PACKAGE":"Downloading Update","DROP_FILE":"Drop file","DUPLICATE":"Duplicate","DYNAMIC_BANDWIDTH":"Dynamic Bandwidth","EAP_ERROR":"EAP Error","EAP_ERROR_COUNT":"EAP Error Count","EAP_METHOD":"EAP Method","EDIT":"Edit","EDIT_ACCOUNT":"Edit Account","EDIT_ACCOUNT_INFO":"Edit Account Information","EDIT_API_CONNECTION":"Edit API Connection","EDIT_API_CONNECTION_FAILURE":"Failed to update API Connection.","EDIT_API_CONNECTION_SUCCESS":"API Connection successfully updated.","EDIT_DEVICE_INFORMATION":"Edit Device Information","EDIT_MY_INFORMATION":"Edit My Information","EDIT_SERVER_CREDENTIALS":"Edit Server Credentials","EDIT_USER":"Edit User","EIGHT_ZERO_TWO_STATUS":"802.1x Status","EIGHT32":"832","EIGHT96":"896","ELITE":"Elite","EMAIL":"Email","EMAIL_ADDRESS":"Email Address","EMAIL_MISMATCH":"Email address \\"{{email}}\\" does not match invite email","EMAIL_NOT_VALID":"is not a valid email address.","EMAIL_SENT":"An invite has been sent to the provided email address","EMAIL_SENT_other":"An invite has been sent to the provided email addresses","EMAIL_UNIQUE_ERROR":"Email must be unique","ENABLE_AUTO_UPDATE":"Enable Automatic Updates","ENABLE_CALENDARING":"Enable Calendaring","ENABLE_H323":"Enable IP H.323","ENABLE_H323_GK_AUTH":"Use Authentication","ENABLE_NOTIFICATIONS":"Enable Notifications","ENABLE_PROVISIONING":"Enable Provisioning","ENABLE_RSVP":"Enable RSVP","ENABLE_SIP":"Enable SIP","ENABLED":"Enabled","ENABLEMENT":"Enablement","ENABLING":"Enabling...","ENCORE_PRO_500":"EncorePro 500 Series","ENCORE_PRO_700":"EncorePro 700 Series & All Other Headset Models","ENGLISH":"English","ENTER_ADDRESS_INSTRUCTIONS":"Enter one or multiple email addresses","ENTER_ADDRESS_INSTRUCTIONS_2":"If multiple email addresses are entered, all will be assigned the same role.","ENTER_ADDRESS_INSTRUCTIONS_INTERNAL":"Enter one or multiple email addresses.","ENTER_ADDRESS_INSTRUCTIONS_PASTE":"You can copy & paste a list of email addresses from your email client.","ENTER_ADDRESS_INSTRUCTIONS_ROLE":", then select a desired role.","ENTER_ADDRESS_TOOLTIP_INFO":"Multiple email addresses can be separated by a comma, space, semi-colon, tab, or by pressing enter.","ENTERPRISE":"Enterprise","ENTITLEMENT":"Entitlement","ENTITLEMENT_ASSETS_ASSIGN_DISTRIBUTE_DESCRIPTION":"Each of the products listed below have their attributes adjusted and need to be updated.","ENTITLEMENT_ASSIGNED_PRODUCT_COUNT":"Assigned Products","ENTITLEMENT_ASSIGNMENT_TYPE":"Assignment Type","ENTITLEMENT_ASSIGNMENT_TYPE_ACCOUNT":"Account","ENTITLEMENT_ASSIGNMENT_TYPE_PRODUCT":"Product","ENTITLEMENT_AVAILABLE_PRODUCT_COUNT":"Available Products","ENTITLEMENT_COUNT":"{{count}} Entitlement","ENTITLEMENT_COUNT_other":"{{count}} Entitlements","ENTITLEMENT_INFORMATION":"Entitlement Information","ENTITLEMENT_NAME":"Entitlement Name","ENTITLEMENT_NAME_AUDIO_DEVICES":"Audio Devices","ENTITLEMENT_NAME_BURST_ENABLED":"Burst Enabled","ENTITLEMENT_NAME_CLARITI_MANAGER_BASE_LICENSE":"Clariti Manager Base License","ENTITLEMENT_NAME_CLARITI_SUBSCRIPTION":"Clariti Subscription","ENTITLEMENT_NAME_CONCURRENT_AUDIO_ONLY_CALLS":"Concurrent Audio Only Calls","ENTITLEMENT_NAME_CONCURRENT_P2P_CALLS":"Concurrent P2P Calls","ENTITLEMENT_NAME_CONCURRENT_VMR_CALLS":"Concurrent VMR Calls","ENTITLEMENT_NAME_CONCURRENT_VMRS":"Concurrent VMRs","ENTITLEMENT_NAME_EASY_SCHEDULE":"Easy Schedule","ENTITLEMENT_NAME_ELASTIC_CONCURRENT_AUDIO_CALLS":"Elastic Concurrent Audio Calls","ENTITLEMENT_NAME_ELASTIC_CONCURRENT_CALLS":"Elastic Concurrent Calls","ENTITLEMENT_NAME_ELASTIC_CONCURRENT_P2P_CALLS":"Elastic Concurrent P2P Calls","ENTITLEMENT_NAME_ELASTIC_CONCURRENT_VMR_CALLS":"Elastic Concurrent VMR Calls","ENTITLEMENT_NAME_ELASTIC_CONCURRENT_VMRS":"Elastic Concurrent VMRs","ENTITLEMENT_NAME_HIGH_ENCRYPTION":"High Encryption","ENTITLEMENT_NAME_LONG_TERM_LICENSING":"Long Term Licensing","ENTITLEMENT_NAME_LOW_ENCRYPTION":"Low Encryption","ENTITLEMENT_NAME_MEDIA_ENCRYPTION":"Media Encryption","ENTITLEMENT_NAME_MEETING_DIRECTOR":"Meeting Director","ENTITLEMENT_NAME_OTD":"ODT","ENTITLEMENT_NAME_PERPETUAL_CONCURRENT_AUDIO_CALLS":"Perpetual Concurrent Audio Calls","ENTITLEMENT_NAME_PERPETUAL_CONCURRENT_CALLS":"Perpetual Concurrent Calls","ENTITLEMENT_NAME_PERPETUAL_CONCURRENT_P2P_CALLS":"Perpetual Concurrent P2P Calls","ENTITLEMENT_NAME_PERPETUAL_CONCURRENT_VMRS":"Perpetual Concurrent VMRs","ENTITLEMENT_NAME_REVENUE":"Revenue","ENTITLEMENT_NAME_SDK":"SDK","ENTITLEMENT_NAME_SUB_LIC_SERVER":"License Server","ENTITLEMENT_NAME_SUBSCRIPTION_CONCURRENT_AUDIO_CALLS":"Subscription Concurrent Audio Calls","ENTITLEMENT_NAME_SUBSCRIPTION_CONCURRENT_CALLS":"Subscription Concurrent Calls","ENTITLEMENT_NAME_SUBSCRIPTION_CONCURRENT_P2P_CALLS":"Subscription Concurrent P2P Calls","ENTITLEMENT_NAME_SUBSCRIPTION_CONCURRENT_VMRS":"Subscription Concurrent VMRs","ENTITLEMENT_NAME_UNKNOWN":"Unknown","ENTITLEMENT_NAME_VIDEO_DEVICES":"Video Devices","ENTITLEMENT_other":"Entitlements","ENTITLEMENT_PENDING_ASSIGN_PRODUCT_COUNT":"Pending Assignment Products","ENTITLEMENT_PENDING_ASSIGNMENT_STATE":"{{state}} for Assignment","ENTITLEMENT_PENDING_ATTRIBUTES":"Pending Assignment","ENTITLEMENT_PENDING_RELEASE_ATTRIBUTES":"Pending Available","ENTITLEMENT_PENDING_RELEASE_PRODUCT_COUNT":"Pending Available Products","ENTITLEMENT_PRODUCT_COUNT":"Product Count","ENTITLEMENT_RECORD_TYPE":"Record Type","ENTITLEMENT_RECORD_TYPE_COMPUTED":"Computed","ENTITLEMENT_RECORD_TYPE_NORMAL":"Normal","ENTITLEMENT_REMOVED_PRODUCT_COUNT":"Removed Products","ENTITLEMENT_STATE_ASSIGNED":"Assigned","ENTITLEMENT_STATE_AWAITING_ACCEPTANCE":"Awaiting Acceptance","ENTITLEMENT_STATE_AWAITING_RELEASE":"Awaiting Release","ENTITLEMENT_STATE_NORMAL":"Normal","ENTITLEMENT_STATE_ORPHANED":"Orphaned","ENTITLEMENT_STATE_PENDING_RELEASE_ACK":"Pending Release ACK","ENTITLEMENT_STATE_USED":"Used","ENTITLEMENT_TENANT_ID":"Account ID","ENTITLEMENT_TYPE_NORMAL":"Normal","ENTITLEMENT_TYPE_PERPETUAL":"Perpetual","ENTITLEMENT_TYPE_TRIAL":"Trial","ENTITLEMENT_VALUE_TYPE":"Value Type","ENTITLEMENT_VALUE_TYPE_BOOLEAN":"Boolean","ENTITLEMENT_VALUE_TYPE_COUNTED":"Counted","ENTITLEMENT_VALUE_TYPE_UNKNOWN":"Unknown","ENTITLEMENTS_ASSIGNMENT_AUTOMATIC_DESCRIPTION":"Poly Lens will assign Poly+ Entitlements to devices most recently onboarded. If you have more devices than licenses, older devices will not get a license.","ENTITLEMENTS_ASSIGNMENT_MANUAL_DESCRIPTION":"Assign Poly+ Entitlements by selecting devices from your inventory.","ENTITLEMENTS_ASSIGNMENT_SELECT_METHOD":"Select the method you\'d like to use for assigning Poly+ Licenses.","ENTITLEMENTS_ASSIGNMENT_SELECT_MODEL":"Select the model you\'ll be assigning Poly+ Entitlements to.","ERROR":"Error","ERROR_ADDING_RESOURCE_FILE":"Failed to add resource file.","ERROR_ASSIGNING_ENTITLEMENT":"Error assigning entitlement {{name}} to purchased product {{instanceName}}: {{message}}. Please try again.","ERROR_CREATING_PURCHASED_PRODUCT":"Error creating purchased product.","ERROR_CREATING_PURCHASED_PRODUCT_ASSOCIATED_OTHER_ACCOUNT":"Error creating purchased product. The purchased product is currently associated with a different account. Please remove the purchased product from the other account and try again.","ERROR_DELETING_PENDING_INVITE":"Error deleting pending invitation. Please try again.","ERROR_DELETING_POLICIES":"Error deleting policies. Please try again.","ERROR_DELETING_USER":"Error deleting user. Please try again.","ERROR_DEVICE_TIMEOUT":"Device failed to respond within timeout window, you are currently viewing a cached version of device settings.","ERROR_DUPLICATE_DEVICE_GROUP":"There is already a device group with the name: {{groupName, title}}, please select a different name.","ERROR_DUPLICATE_INTEGRATION_HOOK":"A webhook with this name already exists. Please select a different name.","ERROR_DUPLICATE_ROOM":"This site already has a room with the name: {{room, title}}, please select a different site.","ERROR_EXCHANGE_DOMAIN":"Please enter a domain.","ERROR_EXCHANGE_EMAIL":"Please enter a valid email address.","ERROR_EXCHANGE_PASSWORD":"Please enter a password no more than 47 characters long.","ERROR_EXCHANGE_SERVER":"Please enter a valid server IP or domain.","ERROR_EXCHANGE_USERNAME":"Please enter a username no more than 64 characters long.","ERROR_FATAL_APPLICATION":"A fatal internal error occurred","ERROR_H323_E164":"Please enter a valid numeric extension no more than 15 characters long.","ERROR_H323_GK_IP_ADDRESS":"Please enter a valid IP or domain.","ERROR_H323_GK_MODE":"Please enter the gatekeeper mode.","ERROR_H323_GK_USER_ID":"Please enter a user ID no more than 62 characters long.","ERROR_H323_GK_USER_PASSWORD":"Please enter a password no more than 47 characters long.","ERROR_H323_NAME":"Please enter name no more than 36 characters long.","ERROR_INCOMPATIBLE":"Update Incompatible error","ERROR_INVALID_BASE64_STRING":"Please enter a valid Base64 encoded string.","ERROR_INVALID_BASE64_URL_STRING":"Please enter a valid Base64 URL encoded string.","ERROR_INVALID_LICENSE_ACK_CODE":"Please enter a valid license acknowledgment code.","ERROR_INVALID_LICENSE_RELEASE_CODE":"Please enter a valid license release code.","ERROR_INVALID_LICENSE_REQUEST_RESTRICTIVE_CODE":"Please enter a valid restrictive license request code.","ERROR_INVALID_LICENSE_REQUEST_STANDARD_CODE":"Please enter a valid standard license request code.","ERROR_INVALID_LICENSE_RESPONSE_CODE":"Please enter a valid license response code.","ERROR_INVALID_NAME":"Please enter a name with no spaces or special characters.","ERROR_INVALID_SHORT_CODE_STRING":"Please enter a valid short code.","ERROR_INVALID_URL_FORMAT":"URL must end with \\"/api/global/em/jsonv2\\".","ERROR_INVALID_XML":"Please enter XML in a valid structure.","ERROR_LOADING_DATA":"There was an error loading the data: {{message}}","ERROR_LOADING_MAP":"Failed to load the map","ERROR_MISSING_XML_CONTENT":"Advanced settings config must not be empty.","ERROR_NO_UPDATE_STATUS":"Device failed to respond with update status.","ERROR_NTP_ADDRESS":"TIME_SERVER_ADDRESS is invalid.","ERROR_RELEASING_ENTITLEMENT":"Error releasing entitlement {{name}}: {{message}}. Please try again.","ERROR_REMOVING_ACCESS_TOKEN":"Error removing access token {{name}}: {{message}}. Please try again.","ERROR_REMOVING_DEVICE_USER":"Error removing device user {{name}}: {{message}}. Please try again.","ERROR_REMOVING_ENTITLEMENT":"Error removing entitlement {{name}}: {{message}}. Please try again.","ERROR_REMOVING_PURCHASED_PRODUCT":"Error removing purchased product {{name}}: {{message}}. Please try again.","ERROR_REMOVING_RESOURCE_FILES":"Failed to remove resource files.","ERROR_REMOVING_RESOURCE_FILES_SPECIFIC":"Failed to remove following resource files:","ERROR_REMOVING_ROOM":"Error removing room {{name, title}}: {{message}}. Please try again.","ERROR_REMOVING_SITE":"Error removing site {{name, title}}: {{message}}. Please try again.","ERROR_REMOVING_SITE_POLICIES":"Error removing site policies for removed sites: {{error}}","ERROR_REMOVING_TRIAL_USER":"Error removing trial user {{name}}: {{message}}. Please try again.","ERROR_RESTART_DEVICE":"Failed to restart the device.","ERROR_RESTART_DEVICES":"Failed to restart the devices.","ERROR_SAVING_DEVICE_POLICY":"Device policy could not be set. {{error}}","ERROR_SAVING_DEVICE_SETTINGS":"There was an error saving the device settings.","ERROR_SAVING_DEVICE_SETTINGS_MESSAGE":"There was an error saving the device settings: {{error}}","ERROR_SAVING_POLICY":"There was an error saving the device policy.","ERROR_SAVING_TENANT":"There was an error saving the account details.","ERROR_SAVING_USER":"There was an error saving the user profile.","ERROR_SET_MONITOR_ONE_AUTO_FIRST":"You must configure and save Monitor 1 to \\"Auto\\" before you can set Monitor 2 to \\"Auto\\".","ERROR_SET_MONITOR_TWO_OFF_FIRST":"You must configure and save Monitor 2 to \\"Off\\" before you can set Monitor 1 to \\"Manual\\".","ERROR_SIP_PASSWORD":"Please enter a password no more than 47 characters long.","ERROR_SIP_PROXY":"Please enter a valid server IP or domain.","ERROR_SIP_REGISTRAR":"Please enter a valid server iP or domain.","ERROR_SIP_SERVER_TYPE":"Please select the server configuration.","ERROR_SIP_TRANSPORT":"Please select the transport protocol.","ERROR_SIP_USERID":"Please enter a user name no more than 369 characters long.","ERROR_SIP_USERNAME":"Please enter a sign in address no more than 369 characters long.","ERROR_STARTING_CALL":"Failed to start the call.","ERROR_TIMEDOUT":"Timeout error","ERROR_UNASSIGNED_ROOM_NAME":"Room name cannot be Unassigned.","ERROR_UNASSIGNED_SITE_NAME":"Site name cannot be Unassigned.","ERROR_UPDATE_DB":"Error updating database","ERROR_UPDATING_DEVICE":"Error updating device information, please try again.","ERROR_UPDATING_DEVICE_GROUP":"Error updating device group details, please try again.","ERROR_UPDATING_DEVICE_GROUPS_PRECEDENCE":"Error updating device groups precedence.","ERROR_UPDATING_ENTITLEMENT":"Error updating entitlement.","ERROR_UPDATING_PROVISIONING_SETTINGS":"Error updating provisioning information, please try again.","ERROR_UPDATING_ROOM":"Error updating room details, please try again.","ERROR_UPDATING_SITE":"Error updating site information, please try again","ERROR_UPDATING_SUBNET":"Error updating subnet ranges, please try again","ERROR_USB_NOTCOMPATIBLE":"USB not compatible","ERROR_USER_EDIT":"There was an error editing the user","ERRORS":"Errors","ETAG":"Etag","EVENT_DETAILS":"Event Details","EVENT_DETAILS_disassociateWithResource":"Removed {{user}}","EVENT_DETAILS_inviteUser":"Added {{user}}","EVENT_DETAILS_switchRole":"Changed role of {{user}} to {{role}}","EVENT_MONOTONIC_TIME":"Event Monotonic Time","EVENT_TYPE":"Event Type","EVENT_TYPE_disassociateWithResource":"User(s) removed","EVENT_TYPE_inviteUser":"User(s) added","EVENT_TYPE_login":"Logged in","EVENT_TYPE_switchRole":"Role changed","EVERY_LEVEL":"Every Level","EXCLUSIVE_CONNECTION":"Exclusive Connection","EXCLUSIVE_CONNECTION_DESC":"Remove previous paired device information when a new device is connected. This allows only one device to connect at a time.","EXISTING_DEVICE_POLICY_BEHAVIOR":"Existing Device Policy Behavior","EXPIRATION":"Expiration","EXPIRED":"Expired","EXPIRES":"Expires","EXPIRES_OPTIONAL":"Expires (Optional)","EXPIRY":"Expiry","EXPORT":"Export","EXPORT_DEVICE_INVENTORY_EMAIL":"Due to the amount of devices in your inventory, this data will take some time to compile. When the file is ready to download, Poly Lens will send you a link via e-mail to {{email}} .","EXPORT_DEVICE_INVENTORY_LIMIT":"Export device inventory limit is set to 10k devices.","EXPORT_DEVICE_INVENTORY_SUCCESS_MESSAGE":"Your download will begin shortly","EXPORT_DEVICE_POLICIES_INFO":"You can export devices and their policies from Poly Lens in such a format that allows you not only to view them, but also quickly update and reimport them.","EXPORTING":"Exporting...","EXPOSURE":"Exposure","EXPOSURE_DESC":"Adjust the camera exposure.","EXTENDED_RANGE":"Extended Range Mode (PC)","EXTENDED_RANGE_DESC":"Get improved wireless range from your PC to your headset. NOTE: This will disable wideband stereo telephony and will decrease the quality of audio you hear from your PC.","EXTERNAL_DEVICE_POLICY":"Microsoft Teams Policy","EXTERNAL_DEVICE_POLICY_FAILED":"Failed to get latest configuration from Microsoft Teams","EXTERNAL_DEVICE_POLICY_LAST_SUCCESSFUL_UPDATE":"Last successful update was at {{time}}","EXTERNAL_DEVICE_POLICY_STALE":"This configuration might not be current.","FACTORY_RESET_DEVICE":"Factory Reset","FACTORY_RESET_DEVICE_CONFIRMATION":"All settings and current connections to Poly Lens for the device will be reset.","FACTORY_RESET_DEVICE_CONFIRMATION_IN_CALL":"There is an ongoing call. Depending on the configuration, the device may not reset or it may end the current call.","FACTORY_RESET_DEVICE_FAILURE":"Device could not be factory reset: {{errorMessage}}","FACTORY_RESET_DEVICE_IN_PROGRESS":"Resetting","FACTORY_RESET_DEVICE_SUCCESS":"Device has started factory reset; this may take several minutes.","FAIL_SCREEN":"Poly Lens is experiencing some issues. Please wait a moment and try again.","FAILURE_REASON":"Failure Reason","FAIR":"Fair","FAMILY":"Product Family","FAMILY_INSIGHTS":"Product Family Insights","FAMILY_other":"Product Families","FAQ":"Frequently Asked Questions","FAST":"Fast","FEATURE_VARIATION":"Feature Variation","FEBRUARY":"February","FETCH_LOGS":"Fetch Logs","FETCH_LOGS_OFFLINE_TEXT":"New logs can only be fetched when the device is online.","FETCH_LOGS_WAITING":"<0>Fetching the logs from the device. The download link will be updated when the logs are uploaded. This might take a while, you can leave this page and come back later if you wish.","FETCH_LOGS_WARNING":"Device logs are not ready yet.","FETCH_SCREEN_CAPTURE":"Request Screen Capture","FETCH_SCREEN_CAPTURE_WAITING":"<0>Requesting a screen capture from the device.<1>This might take a while.The screen capture and a download link will be displayed when the screen capture is available.","FETCHING":"Fetching...","FIFTY_HZ":"50Hz","FILE_ALREADY_EXISTS":"File already exists.","FILE_FORMAT_ERROR":"Unsupported file format","FILE_IMPORT_ERROR":"File import failed.","FILE_IMPORT_SUCCESS":"File import successful.","FILE_NAME":"File Name","FILE_REMOVE":"Remove File","FILE_SIZE":"File Size","FILE_SIZE_ERROR":"File is too large","FILE_SIZE_ERROR_DESC":"File size cannot exceed {{size}}MB","FILE_UPLOAD_ANOTHER":"Upload another file","FILE_UPLOAD_ERROR":"Error uploading file.","FILE_UPLOAD_SUCCESS":"File uploaded successfully.","FILE_VALIDATION_ERROR_DESC":"{{errors}}. Click the cancel button or Remove File and try again.","FILTER_SETTINGS":"Filter settings","FINALIZE":"Finalize","FIRST_NAME":"First Name","FIRST_SIGN_IN":"First Sign In","FIVE":"5","FIVE12":"512","FIVE76":"576","FLASH_LOGS":"Flash Logs","FLASH_LOGS_MESSAGE_LINE_1":"Saving logs to internal storage can cause wear and eventually device failure.","FLASH_LOGS_MESSAGE_LINE_2":"The system deletes all logs if you change the save location or the system experiences a sudden power loss.","FLOOR":"Floor","FLOOR_NAME":"Floor Name (Optional)","FOCUS":"Focus","FOCUS_DESC":"Adjust the camera focus.","FOR":"for","FORCE_CONNECTION_REUSE":"Force Connection Reuse","FORGOT_PASS":"Forgot Password","FORM_VALIDATE_BAD_VALUE":"Please enter a valid value.","FORM_VALIDATE_CUSTOM_ERROR":"This is a custom error message.","FORM_VALIDATE_NO_NAME":"Please enter a name.","FORM_VALIDATE_ORGANIZATION":"Please select an organization.","FORM_VALIDATE_PASSWORD_MISMATCH":"Passwords must match.","FORM_VALIDATE_PASSWORD_SPACE":"Password can\'t start or end with a space.","FORM_VALIDATE_PATTERN_MISMATCH":"Please enter a value that matches the pattern {{pattern}}.","FORM_VALIDATE_PIN_CODE":"Please enter the 6 character pin code.","FORM_VALIDATE_RANGE_OVERFLOW":"The number entered should be less than {{max}}.","FORM_VALIDATE_RANGE_UNDERFLOW":"The number entered should be more than {{min}}.","FORM_VALIDATE_STEP_MISMATCH":"The number must be in increments of {{step}}.","FORM_VALIDATE_TOO_LONG":"Please enter no more than {{minLength}} characters.","FORM_VALIDATE_TOO_SHORT":"Please enter at least {{maxLength}} characters.","FORM_VALIDATE_TYPE_MISMATCH":"This is suspicious.","FORM_VALIDATE_VALID":"Something went wrong - this input is not valid.","FORM_VALIDATE_VALUE_MISSING":"Please enter a value.","FORWARD":"Forward","FOUR48":"484","FOUR096":"4096","FRAME_SIZE":"Frame Size","FRAME_SIZE_DESC":"Configure the camera tracking framing view.","Friday":"Friday","FROM":"From","G616":"G616 Anti-Startle Protection","G616_DESC":"An industry standard for acoustic protection, G616 limits the audio level to your ear to avoid startling high volumes.","G616_ENHANCED":"G616 (Poly Enhanced)","G616_STANDARD":"G616","GAIN":"Gain","GAIN_DESC":"Adjust the signal amplification from the camera.","GAMMA":"Gamma","GAMMA_DESC":"Adjust video gamma.","GENERAL":"General","GENERATE":"Generate","GENERATE_ACCESS_TOKEN":"Generate Access Token","GENERATE_NEW":"Generate New","GENERATING":"Generating...","GEOHASH":"Geohash","GET_DEEPER_INSIGHTS_WITH_POLY_PLUS":"Get deeper insights with Poly+","GET_INITIAL_LICENSE_REQUEST_RESTRICTIVE_CODE_ERROR":"Error getting initial restrictive license request code: {{message}}","GET_INITIAL_LICENSE_REQUEST_STANDARD_CODE_ERROR":"Error getting initial standard license request code: {{message}}","GET_LATEST_LOGS":"Get Latest Logs","GET_LICENSE":"Get License","GET_LICENSE_ERROR":"Error getting license: {{message}}","GET_MORE_WITH_POLY_PLUS":"Get more with Poly+","GETTING_LICENSE":"Getting License...","GLASS":"Poly Glass","GLOBAL":"Global","GLOBAL_AVERAGE_AND_PERCENTILE":"The global average is {{globalAverage}}, placing {{site, title}} in the {{globalPercentile}} percentile globally","GLOBAL_POLICY":"Global Policy","GLOBAL_SETTINGS":"Global Settings","GO_HOME":"Go Home","GOOD":"Good","GOOGLE_PLAY":"Google Play","GRANT_PERMISSIONS":"Grant Permissions","GRAPHQL_ENDPOINT":"GraphQL Endpoint","GROUP":"Group","GROUP_BY":"Group By","GROUP_CONFIG":"Group Configuration","GROUP_CREATION":"Group Creation","GROUP_INHERITANCE":"Group Inheritance","GROUP_MEMBERSHIP":"Group Membership","GROUP_MEMBERSHIP_INFO":"When a device belongs to multiple groups, there may be potential settings conflicts. To change the precedence of the groups from which this device inherits settings, use the move tools in the table below.","GROUP_NAME":"Group Name","GROUP_other":"Groups","GROUP_POLICY":"Group Policy","GUEST_ROLE_DESCRIPTION":"Read-only in general areas","H323":"H.323","H323_E164":"H.323 Extension (E.164)","H323_GATEKEEPER":"Use Gatekeeper","H323_GK_AUTH_PASSWORD":"Password","H323_GK_AUTH_USER_ID":"User ID","H323_GK_IP_ADDRESS":"IP Address","H323_NAME":"H.323 Name","HARDWARE_MODEL":"Hardware Model","HARDWARE_PN":"HardwarePN","HARDWARE_REVISION":"Hardware Revision","HD_VOICE":"HD Voice","HD_VOICE_DESC":"Wideband audio enhances speech clarity if your phone and service carrier also support the feature. NOTE: This feature consumes significant battery power, resulting in reduced talk time.","HEADCOUNT":"Headcount","HEADSET_UNDOCKED":"Only when Headset is Undocked","HELP":"Help","HELP_NEW":"What\'s New","HERE":"here.","HIDDEN":"HIDDEN","HIDDEN_PASSWORD":"Click eye icon to view password","HIDE_CHART":"Hide Chart","HIDE_NULL_INFORMATION":"Hide Null Information","HIDE_UNASSIGNED_ROOMS":"Hide Unassigned Rooms","HIGH":"High","HIGH_CONTRAST_CHARTS":"High Contrast Charts:","HOLD_RESUME_CALL":"Hold/Resume Call","HOME":"Home","HOST":"Host","HOST_HARDWARE":"Host Hardware","HOST_NAME":"Host Name","HOST_NAME_OPTIONAL":"Host Name (Optional)","HOST_VERSION":"Host Version","hostos":"Host OS","HOSTOS_BUILD":"Host Build","HOUR":"{{count}} hour","HOUR_other":"{{count}} hours","HOURS_ON_PHONE_DAY":"Hours on Phone per Day","HOURS_ON_PHONE_DAY_DESC":"Optimize the accuracy of the Noise Exposure setting by selecting the value that best represents your typical use of this device.","HOUSTON":"Houston...","HR_SUFFIX_B":"B","HR_SUFFIX_K":"k","HR_SUFFIX_M":"M","HTTPS_CERT":"HTTPS Certificate","HUE":"Hue","HUE_DESC":"Adjust video color.","HYBRID":"Hybrid","I_ACCEPT":"I Accept","I_UNDERSTAND":"I Understand","ID":"Unique ID","IGNORE":"Ignore","IMAGE_OF":"Image of {{hardwareModel}}","IMMEDIATE":"Immediate","IMMEDIATELY":"Immediately","IMPORT":"Import","IMPORT_ERROR_DEVICE_COULD_NOT_BE_ASSIGNED_TO_SITE":"Device could not be assigned to site","IMPORT_ERROR_DEVICE_EXISTS_DIFFERENT_TENANT":"Device not imported because it belongs to a different account","IMPORT_ERROR_DEVICE_EXISTS_SAME_TENANT":"Device not imported because it already exists on this account","IMPORT_ERROR_INVALID_MAC_OR_SN":"Device not imported because MAC Address and/or Serial Number are invalid","IMPORT_FILE_DRAG_DESC":"Click here or drag a {{fileExtensions}} file to import","IMPORT_UNAVAILABLE_ACCOUNT_NOT_EMPTY":"Import is unavailable when there are devices in the account","IMPORT_UNAVAILABLE_ANOTHER_IMPORT_IN_PROGRESS":"Import is unavailable because there is another import which is not completed","IMPORT_USER_GROUPS_CONFIRM":"{{count}} user group will be imported from Active Directory.","IMPORT_USER_GROUPS_CONFIRM_other":"{{count}} user groups will be imported from Active Directory.","IMPORT_USER_GROUPS_CONFIRM_WITH_INVITE":"{{count}} device user will be invited to Lens via email.","IMPORT_USER_GROUPS_CONFIRM_WITH_INVITE_other":"{{count}} device users will be invited to Lens via email.","IMPORT_USER_GROUPS_DESCRIPTION":"Below is a list of the user groups that exist in your Azure Active Directory.","IMPORT_USER_GROUPS_FAILURE":"Failed to import device user group.","IMPORT_USER_GROUPS_FAILURE_other":"Failed to import device user groups","IMPORT_USER_GROUPS_INSTRUCTIONS":"Select the groups you would like to import.","IMPORT_USER_GROUPS_MICROSOFT_LOGIN_PROMPT":"No Microsoft tenant associated with this account, please login with Microsoft to import Active Directory user groups.","IMPORT_USER_GROUPS_MICROSOFT_PERMISSIONS_PROMPT":"You must allow Lens access to your Microsoft tenant to view Active Directory user groups. This may take a few minutes to be applied.","IMPORT_USER_GROUPS_OPTION_LATER":"Invite unassociated Device Users by group later","IMPORT_USER_GROUPS_OPTION_NOW":"Invite all unassociated Device Users now","IMPORT_USER_GROUPS_OPTIONS_DESCRIPTION":"{{count}} of the device users associated with the Azure Active Directory user groups you wish to import do not yet have an association with this Poly Lens account. Please choose how you\u2019d like to proceed below.","IMPORT_USER_GROUPS_OPTIONS_TITLE":"Some Device Users Not Found","IMPORT_USER_GROUPS_SUCCESS":"Device user group successfully imported.","IMPORT_USER_GROUPS_SUCCESS_other":"{{count}} device user groups successfully imported.","IMPORT_USER_GROUPS_TITLE":"Import from Azure Active Directory","IMPORTANT":"Important","IMPORTED":"Imported","IMPORTING":"Importing...","IN_THIS_GROUP":"In This Group ({{inThisGroupCount}})","INACTIVE":"Inactive","INCREASE_QD_HEADSET_VOLUME":"Increase QD Headset Volume","INCREASE_QD_HEADSET_VOLUME_DESC":"If the volume of the headset connected to your base Quick Disconnect (QD) is too low, select your headset model to increase the volume.","INDEPENDENT_VOLUME_CONTROL":"Independent Volume Control","INDEPENDENT_VOLUME_CONTROL_DESC":"Enable or Disable Independent volume control while listening to media","INDIVIDUAL_DEVICE":"Individual Device","INDIVIDUAL_DEVICES":"Individual Devices","INFORMATION":"Information","INHERITANCE":"Inheritance","INHERITANCE_AND_PRIORITY":"Inheritance & Priority","INHERITANCE_DETAILS_DEVICE":"{{name}} Device","INHERITANCE_DETAILS_DEVICE_MODEL":"{{name}} Device Model","INHERITANCE_DETAILS_EXTERNAL_DEVICE":"{{name}} External","INHERITANCE_DETAILS_GLOBAL":"{{name}} Global","INHERITANCE_DETAILS_GROUP":"{{name}} Group","INHERITANCE_DETAILS_SITE":"{{name}} Site","INHERITANCE_DETAILS_UNKNOWN":"{{name}} Unknown Policy","INITIAL_LICENSE_REQUEST_RESTRICTIVE_CODE_NOT_FOUND_ERROR":"Initial restrictive license request code not found.","INITIAL_LICENSE_REQUEST_STANDARD_CODE_NOT_FOUND_ERROR":"Initial standard license request code not found.","INSIGHT":"Insight","INSIGHT_BREAKDOWN":"Insight Breakdown","INSIGHT_CATEGORIES":"Insight Categories","INSIGHT_CHART_SERIES_NAME":"{{scope}}: {{name}}","INSIGHT_CHART_SERIES_NAME_OTHERS":"All Other {{scope}}s","INSIGHT_CHART_SERIES_NAME_OTHERS_W_COUNTS":"All Other {{scope}}s ({{count}})","INSIGHT_DATA":"Insight Data","INSIGHT_DETAILS":"Insight Details","INSIGHT_DETAILS_PAGE_HEADER":"{{locationScope}}: {{scopeParam}}","INSIGHT_DETAILS_PAGE_SUBHEADER":"{{timeRange}}","INSIGHT_IN_SITE":"{{title}}: {{site}}","INSIGHT_TIME_RANGE":"Insight Time Range","INSIGHT_TOPIC_CALL_USAGE_DESCRIPTION":"Average daily minutes each device was in a call","INSIGHT_TOPIC_CALL_USAGE_TITLE":"Call use (minutes/day)","INSIGHT_TOPIC_DEVICES_OFFLINE_DESCRIPTION":"Average daily % of devices that were offline","INSIGHT_TOPIC_DEVICES_OFFLINE_TITLE":"Devices offline","INSIGHT_TOPIC_DEVICES_OUT_OF_SERVICE_DESCRIPTION":"Average daily % of devices that were continuously offline","INSIGHT_TOPIC_DEVICES_OUT_OF_SERVICE_TITLE":"Devices out-of-service","INSIGHT_TOPIC_DEVICES_UNUSED_DESCRIPTION":"Average daily % of online devices that made no calls","INSIGHT_TOPIC_DEVICES_UNUSED_TITLE":"Devices not in use","INSIGHT_TOPIC_DEVICES_USED_DESCRIPTION":"Average daily % of devices that made at least one call","INSIGHT_TOPIC_DEVICES_USED_TITLE":"Devices in use","INSIGHT_TOPIC_MEETING_SIZE_DESCRIPTION":"Average daily number of people in a room during a meeting","INSIGHT_TOPIC_MEETING_SIZE_TITLE":"Average meeting headcount","INSIGHT_TOPIC_MEETINGS_EMPTY_DESCRIPTION":"% of scheduled room meetings with no participants","INSIGHT_TOPIC_MEETINGS_EMPTY_TITLE":"Rooms scheduled, but empty","INSIGHT_TOPIC_MEETINGS_LATE_DESCRIPTION":"% of meetings that began five minutes after the scheduled start time","INSIGHT_TOPIC_MEETINGS_LATE_TITLE":"Meetings that started late","INSIGHT_TOPIC_MEETINGS_LONG_DESCRIPTION":"% of meetings that ran over the scheduled end time","INSIGHT_TOPIC_MEETINGS_LONG_TITLE":"Meetings that ran long","INSIGHT_TOPIC_MEETINGS_SERIES_EMPTY_DESCRIPTION":"% of recurring scheduled room meetings with no participants","INSIGHT_TOPIC_MEETINGS_SERIES_EMPTY_TITLE":"Rooms scheduled in a series, but empty","INSIGHT_TOPIC_ROOM_USAGE_DESCRIPTION":"Average daily occupied minutes per room","INSIGHT_TOPIC_ROOM_USAGE_TITLE":"Room use (minutes/day)","INSIGHT_TOPIC_ROOM_USAGE_UNSCHEDULED_DESCRIPTION":"% of room usage that was not scheduled on the room calendar","INSIGHT_TOPIC_ROOM_USAGE_UNSCHEDULED_TITLE":"Meetings that were unscheduled","INSIGHTS":"Insights","INSIGHTS_DESCRIPTION_SUBTITLE":"A curated view into your organization.","INSIGHTS_DESCRIPTION_PARAGRAPH":"Insights provide data about how your devices and spaces are used over specific periods, within tolerances and in relation to other devices. The Insights shown on this page are based on your organization\'s data and are considered most notable by our patented algorithm.","INSIGHTS_WHAT_ARE_THEY":"What are Insights?","INSTALL_CERTIFICATE":"Install Certificate","INSTALLING":"Installing Update","INTEGRATIONS":"Integrations","INTEGRATIONS_ALLOW_ACCESS":"Allow Access:","INTEGRATIONS_GOOGLE_INFO":"Enable Google to claim your Google tenancy. You must have Google Admin privileges to accomplish this task.","INTEGRATIONS_GOOGLE_SUBTITLE":"Google","INTEGRATIONS_MICROSOFT_CREATED":"Microsoft integration successfully created.","INTEGRATIONS_MICROSOFT_DELETED":"Microsoft integration successfully deleted.","INTEGRATIONS_MICROSOFT_INFO":"Enable Microsoft integration to claim your Office365 tenancy. You must have Microsoft Admin privileges to accomplish this task.","INTEGRATIONS_MICROSOFT_SUBTITLE":"Microsoft Office Active Directory","INTEGRATIONS_SERVICENOW_INFO":"Enable ServiceNow to claim your ServiceNow tenancy. You must have ServiceNow Admin privileges to accomplish this task.","INTEGRATIONS_SERVICENOW_SUBTITLE":"ServiceNow","INTERESTED_IN_APIS":"Interested in working with Poly Lens APIs?","INTERESTED_IN_BETA":"Interested in future Lens Beta?","INTERFACE_NAME":"Interface Name","INTERNAL_EMAIL_REQUIRED":"Only @poly.com email addresses are allowed","INTERNAL_ERROR":"Internal update error","INTERVAL_1H":"1 hour","INTERVAL_2H":"2 hours","INTERVAL_4H":"4 hours","INTERVAL_6H":"6 hours","INTERVAL_12H":"12 hours","INTERVAL_15M":"15 minutes","INTERVAL_30M":"30 minutes","INVALID_EMAIL":"Invalid Email","INVALID_INTERNAL_ROLE_EMAIL":"The provided email is not valid for internal roles","INVALID_INVITATION":"Invalid Invitation","INVALID_INVITATION_EXPLANATION":"The invitation link is either invalid, expired, or has been used already.","INVENTORY":"Inventory","INVITATION_ACCEPTED":"Invitation Accepted","INVITATION_ERROR":"Error sending invite.","INVITATION_ERROR_TO":"Error sending invite to \\"{{email}}\\": {{message}}","INVITATION_SENT":"Invitation Sent","INVITATION_TO":"Invitation to","INVITE_ALREADY_ACCEPTED":"This invite has already been accepted!","INVITE_ERROR":"There was an error accepting the invitation. Please try again.","INVITE_GET_STARTED":"Let\'s Get Started","INVITE_PENDING_DEVICE_USERS":"Invite Pending Device Users","INVITE_USER":"Invite User","INVITE_WELCOME":"Welcome to Poly Lens","IOS_REQUIREMENT":"Requires iOS 14 or newer.","IP_Precedence":"IP Precedence","IPV_4_ADDRESS":"IPV4 Address","IPV_4_ADDRESS_SOURCE":"IPV4 Address Source","IPV_4_GATEWAY":"IPV4 Gateway","IPV_4_SUBNET":"IPV4 Subnet","IPV_4_VLAN":"IPV4 VLAN","IPV_6_ADDRESS_SOURCE":"IPV6 Address Source","IPV_6_GLOBAL_ADDRESS":"IPV6 Global Address","IPV_6_LINK_LOCAL_ADDRESS":"IPV6 Link Local Address","IPV_6_ULA":"IPV6 ULA","IPV4":"Private IP","IS_IN_LIST":"This email has already been added.","ISSUED_BY":"Issued By","ISSUES":"{{count}} issue","ISSUES_other":"{{count}} issues","IT_ADMINISTRATOR":"IT Administrator?","it-admin":"Device Manager","JAN_FEB_MAR":"Jan - Feb - Mar","JAN_MAR":"Jan - Mar","JANUARY":"January","JITTER":"Jitter","JITTER_RX":"Jitter RX","JITTER_TIP":"Network jitter is the delay between packets on the network. Acceptable levels of jitter range from 0-30 milliseconds.","JITTER_TX":"Jitter TX","JOIN_MY_MEETING":"Join my meeting","JUL_AUG_SEP":"Jul - Aug - Sep","JUL_SEP":"Jul - Sep","JULY":"July","JUNE":"June","KEY":"Key","LANGUAGE":"Language","LANGUAGE_DESC":"Select the language you want for all voice prompts and alerts. For example, \\"Incoming call from John.\\" or \\"Mute on.\\"","LAST_CHECKED":"Last accessed: ","LAST_DETECTED":"Last Detected","LAST_DETECTED_DATE":"Last Detected: {{date}}","LAST_LICENSED":"Last Licensed","LAST_MODIFIED":"Last Modified","LAST_NAME":"Last Name","LAST_PERIOD":"Last {{period}} starting {{start}}","LAST_PERIOD_EMPTY":"Last {{period}}","LAST_PROVISIONING_TOUCH":"Last Provisioning Sync","LAST_SIGN_IN":"Last Sign In","LAST_USED":"Last Used","LATE_MEETINGS":"Late Meetings","LATENCY":"Latency","LATENCY_RX":"Latency RX","LATENCY_TIP":"Network latency is the time it takes for data or a request to go from source to destination. Acceptable levels of latency range from 0-150 milliseconds.","LATENCY_TX":"Latency TX","LATEST_AVAILABLE":"Latest Available:","LATEST_SCREEN_CAPTURE":"Latest Screen Capture","LATEST_VERSION":"Latest Version","LEARN_HOW":"Learn How","LEARN_MORE":"Learn More","LEAVE":"Leave","LEFT_EAR":"Left Ear","LENS":"Poly Lens","LENS_CLIENT_NOT_CONNECTED":"Associated Devices cannot be displayed because there is no connection to Lens Desktop or Lens Mobile.","LENS_DESKTOP":"Lens Desktop","LENS_DESKTOP_MAC":"Lens Desktop Mac","LENS_DESKTOP_SETTINGS":"Lens Desktop Settings","LENS_DESKTOP_VERSION":"Lens Desktop Version","LENS_DESKTOP_VERSION_INCOMPATIBLE":"The current Poly Lens Desktop software version does not support settings configuration. Please update Poly Lens Desktop to v1.1.3 or greater.","LENS_DESKTOP_WINDOWS":"Lens Desktop Windows","LENS_FOR_ANDROID":"Lens for Android","LENS_FOR_IOS":"Lens for iOS","LENS_FOR_IOS_COMING_SOON":"Lens for iOS (Coming Soon)","LENS_FOR_MAC":"Lens for Mac","LENS_FOR_WINDOWS":"Lens for Windows","LENS_MOBILE":"Lens Mobile","LENS_MOBILE_ANDROID":"Lens Mobile Android","LENS_MOBILE_IOS":"Lens Mobile iOS","LENS_MOBILE_VERSION_INCOMPATIBLE":"The current Poly Lens Mobile software version does not support settings configuration. Please update Poly Lens Mobile to {{android_version}}(Android) or greater.","LICENSE":"License","LICENSE_ACTIVATION_COMPLETE_TITLE":"Congratulations! Your license is now activated.","LICENSE_ACTIVATION_DESCRIPTION":"Input one or more activation keys and view their assets.","LICENSE_ACTIVATION_INPUT_SUBTITLE":"If you have more than one activation key,<0> press the spacebar to input the next one.","LICENSE_ACTIVATION_INPUT_TITLE":"Input your license activation key in the field below.","LICENSE_ACTIVATION_REVIEW_TITLE":"Review your Entitlements.","LICENSE_ACTIVATION_TITLE":"Activate A License","LICENSE_DATE_IMMEDIATE":"Immediate","LICENSE_DATE_NONE":"None","LICENSE_DATE_PERMANENT":"Permanent","LICENSE_EXPIRATION":"License Expiration","LICENSE_KEY":"License Key","LICENSE_KEY_ACTIVATION_ERROR":"Activation failed for key: {{activationKey}}","LICENSE_KEY_ENTERED_ERROR":"Activation key already entered.","LICENSE_KEY_EXPIRED":"Activation key has expired.","LICENSE_KEY_INFORMATION":"License Key Information","LICENSE_KEY_INVALID":"Please input a valid activation key.","LICENSE_KEY_NOT_FOUND":"Activation key not found.","LICENSE_KEY_other":"License Keys","LICENSE_KEY_USED":"Activation key has already been used.","LICENSE_KEY_VALIDATING":"Validating Activation Key....","LICENSE_KEYS":"License Keys","LICENSE_KEYS_PERMISSIONS_INFO":"You lack permissions needed for viewing your Poly Lens licenses.","LICENSE_MODE":"License Mode","LICENSE_MODE_RESTRICTIVE":"Restrictive","LICENSE_MODE_STANDARD":"Standard","LICENSE_NOT_FOUND_ERROR":"License not found.","LICENSE_PURCHASED_PRODUCT":"License","LICENSE_TYPE":"License Type","LICENSE_UNLIMITED_COUNT":"Unlimited","LICENSED":"Licensed","LICENSES":"Licenses","LICENSES_EXPIRING":"Licenses Expiring","LICENSING":"Licensing","LICENSING_MANAGE_CLARITI_DESCRIPTION":"Link purchased products to your Poly Lens environment and assign entitlements.","LICENSING_MANAGE_POLY_PLUS_DESCRIPTION":"Assign licenses to Poly devices that have already been onboarded.","LICENSING_MANAGE_TITLE":"Manage Licenses","LICENSING_SETUP_DESCRIPTION":"Use this page as a tool and reference guide for creating and managing your Poly Lens licenses.","LICENSING_SETUP_PERMISSIONS_INFO":"You lack permissions needed for creating and managing your Poly Lens licenses.","LIMITED_80DBA":"Limited at 80dBA","LIMITED_85DBA":"Limited at 85dBA","LINE_NUMBER":"Line Number","LINE_TYPE":"Line Type","LINE_WARNING":"Warning: This line will not be configured on the device. Update \\"Maximum Line Registration\\" in ","LINES":"Lines","LINK_COPIED_TO_CLIPBOARD":"Link copied to clipboard.","LINK_METHOD":"Link Method","LINKED":"Linked","LINKED_DEVICES":"Linked Devices","LIST_VIEW":"List View","LLDP_LOCATION_INFORMATION":"LLDP Location Information","LLDP_NEIGHBORS":"LLDP Neighbors","LLDP_STATUS":"LLDP Status","LOAD":"Load","LOADING":"Loading...","LOADING_ACCOUNTS":"Loading Accounts...","LOADING_AUTHENTICATION":"Loading Authentication...","LOADING_MAP":"Loading Map...","LOCAL_UPDATING":"Updating...","LOCATION":"Location","LOCATION_INFORMATION":"Location Information","LOG_TO_FLASH_ERROR":"An error occurred, please try again later","LOGIN":"Log In","LOGIN_TYPE":"Login Type","LOGIN_TYPE_API":"API","LOGIN_TYPE_UNKNOWN":"Unknown","LOGIN_TYPE_WEBUI":"Web Portal","LOGINLESS_CLIENT_TOKEN":"Loginless Client Token","LOGINLESS_CLIENT_TOKEN_INFO":"<0>Use a loginless client token to make it so that your end-users can simply open a Poly Lens Client and immediately be connected to this Poly Lens account. To create and manage these tokens, visit <1>Client Tokens after clicking Integrations in the lefthand menu.","LOGO_ALT":"The Poly Logo, a three-bladed propeller formed of stylized letter \'P\'s","LOGOTYPE_ALT":"The Poly Logotype, the word \'poly\' in an angular sans-serif font","LOGS":"Logs","LOGS_SUCCESS_MESSAGE":"Download URL is ready","LOGS_UPLOADED_ON":"Logs uploaded on","LOST_PACKET_RECOVERY":"Lost Packet Recovery","LOW":"Low","LOW_VOLUME":"Low Volume","LOWEST":"Lowest","MAC_ADDRESS":"MAC Address","MAC_REQUIREMENT":"Requires macOS 10.0.0 or newer.","MAINTENANCE_DESCRIPTION":"We apologize for any inconvenience. We\'re working hard to be back up soon.","MAINTENANCE_TITLE":"Sorry, we\'re down for maintenance right now.","MANAGE":"Manage","MANAGE_ACCOUNTS":"Manage Accounts","manual":"Manual","Manual":"Manual","MANUAL":"Manual","MANUFACTURER":"Manufacturer","MAP_VIEW":"Map View","MARCH":"March","MARK_DONE":"Mark Complete","MAX_BASS":"Max Bass","MAX_NO_CHAIRS":"Maximum Number of Chairs","MAX_PARTICIPANTS":"Max Participants","MAX_RX_BANDWIDTH":"Maximum Receive Bandwidth","MAX_TREBLE":"Max Treble","MAX_TX_BANDWIDTH":"Maximum Transmit Bandwidth","MAX_ZOOM":"Maximum Zoom","MAX_ZOOM_DESC":"Limit the maximum camera zoom in ratios of 2x, 3x, or 4x","MAXIMUM":"Maximum","MAXIMUM_LINE_REGISTRATION":"Maximum Line Registration","MAXIMUM_LINE_REGISTRATION_NOTE":"You currently have {{linesConfigured}} lines configured for this device. If you change the maximum line registration to {{value}} lines, you will not be able to configure {{lines}} until you update this setting","MAXIMUM_LINE_REGISTRATION_NOTE_MULTI_LINE":"lines {{lineStart}} through {{lineEnd}}","MAXIMUM_LINE_REGISTRATION_NOTE_SINGLE_LINE":"line {{line}}","MAY":"May","MBPS":"Mbps","MEDIUM":"Medium","MEETING_BEHAVIORS":"Meeting Behaviors","MEETING_INSIGHTS":"Meeting Insights","MEETING_INSIGHTS_DESCRIPTION":"Meeting insights inform you of trends at sites you should be aware of to improve efficiencies and usage.","MEETING_REMINDER_TIME":"Meeting Reminder Time (minutes)","MEETING_TONE_WHEN_NOT_IN_CALL":"Play Reminder Tone When Not in a Call","MEETING_URL":"Meeting URL","MEETINGS":"Meetings","MEMBER_ALREADY_ON_ACCOUNT":"This member is already on this account.","MEMBER_COUNT":"Member Count","MEMBER_DETAILS":"Member Details","MEMBER_NAME":"Member Name","MEMBER_SINCE":"Member Since","MEMBERS":"Members","MERGE_DEVICE_POLICY":"Merge existing Device Policy","MESSAGE":"Message","MIC_ERROR_COUNT":"Mic Error Count","Microsoft":"Microsoft","MICROSOFT_TEAMS":"Microsoft Teams","MICROSOFT_TEAMS_ROOM":"Microsoft Teams Room","MIGRATE":"Migrate","MIGRATE_DEVICE_USER":"Migrate Device User","MIGRATE_DEVICE_USER_DETAILS":"You can migrate device users to other accounts for which you have the appropriate permissions. Select an account from the dropdown below.","MIGRATE_DEVICE_USER_NO_ACCOUNTS":"You do not have authorized access to any other accounts in Poly Lens, so it is not possible to perform this action. To migrate your device users, request invitation with the appropriate permissions from the account to which you\u2019d like to migrate your device users.","MIGRATE_EXISTING_ACCOUNT":"Migrate An Existing PDMS-E Account","MIGRATING_DEVICE_USER":"Migrating device user...","MIGRATION_IMPORT_ERROR":"Error importing some migrated policies.","MIGRATION_IMPORT_HEADER_ERROR":"Import failed for the following devices/sites/groups/models:","MIGRATION_IMPORT_HEADER_SUCCESS":"Import passed successfully for the following devices/sites/groups/models.","MIGRATION_IMPORT_HEADER_SUCCESS_INFO":"These parameters are not applicable to the following models and were removed from policies.","MIGRATION_IMPORT_SUCCESS":"Migrated settings imported","MIGRATION_IMPORT_SUCCESS_LONG":"Migrated settings have been imported","MIGRATION_IMPORT_TEXT_1":"To migrate your device and site topology from PDMS-E to Poly Lens, you must first export the files from PDMS-E. This file is then imported into Poly Lens with the field below.","MIGRATION_IMPORT_TEXT_2":"See ","MIGRATION_IMPORT_TEXT_3":"Poly Lens Help - Migration Process","MIGRATION_IMPORT_TEXT_4":" for detailed information.","MIGRATION_TOOLS":"Migration Tools","MIN":"min","MIN_MAX_ONLY":"Minimum & Maximum Only","MIN_PARTICIPANTS":"Min Participants","MINUTE_NO_PERIOD":"{{count}} minute","MINUTE_NO_PERIOD_other":"{{count}} minutes","MINUTES":"Minutes","MINUTES_period":"{{period}} minutes.","MISSING_VALUE_PLACEHOLDER":"___","MOBILE":"Mobile","MOBILE_AND_DESKTOP":"Mobile / Desktop","MOBILE_DIRECTIONS":"To get the best Lens experience, please visit lens.poly.com from a desktop computer, laptop, or tablet.","MOBILE_PHONE_RINGTONE":"Mobile Phone","MOBILE_PHONE_RINGTONE_DESC":"Select the ringtone your mobile phone plays for incoming calls.","MOBILE_PHONE_VOLUME":"Mobile Phone Volume","MOBILE_VOICE_COMMANDS":"Mobile Voice Commands","MOBILE_VOICE_COMMANDS_DESC":"Enable to put a connected mobile device in voice command mode by pressing the mobile device button on the base.","MOCK_LICENSES":"Mock Licenses","MODEL":"Device Model","MODEL_COUNT":"Model Count","MODEL_INSIGHTS":"Device Model Insights","MODEL_other":"Device Models","MODEL_POLICY":"Model Policy","MODEL_UNKNOWN_VERSION_INSIGHT":"{{model}}, Unknown","MODEL_VERSION":"Model Version","MODEL_VERSION_INSIGHT":"{{model}}, v{{version}}","MODEL_VERSION_INSIGHTS":"Device Model / Version Insights","MODEL_VERSION_other":"Model Versions","MODELS":"{{count}} models","Monday":"Monday","MONITORS":"Monitors","MONTH":"Month","MORE_ACTIONS":"More Actions","MORE_COUNT":"{{count}} more ...","MORE_OPTIONS":"More Options","MOST_FREQUENTLY_OFFLINE":"Most Frequently Offline","MS":"ms","MS_EXCHANGE_SERVER":"Exchange Server","MTU_SIZE":"Maximum Transmission Unit Size","MTU_SIZE_BYTES":"Maximum Transmission Unit Size Bytes","MULTIPLE":"Multiple","MUSIC":"Music","MUTE_ALERT_TYPES":"Mute Alert Types","MUTE_ALERT_TYPES_DESC":"Select the type of alert you hear when you mute or unmute your headset microphone or receive a mute reminder.","MUTE_ALERTS":"Mute Alerts","MUTE_ALERTS_DESC":"The feedback you hear when you mute and unmute your speakerphone mic.","MUTE_MICROPHONE":"Mute Microphone","MUTE_OFF_ALERT":"Mute Off Alert","MUTE_OFF_ALERT_DESC":"Select the type of alert you hear when you unmute your headset microphone.","MUTE_REMINDER_MODE":"Mute Reminder Mode","MUTE_REMINDER_MODE_DESC":"Select the type of notification for the mute reminder alert.","MUTE_REMINDER_TIMING":"Mute Reminder Timing","MUTE_REMINDER_TIMING_DESC":"Set the number of minutes between mute reminder alerts.","MUTE_REMINDER_VOLUME":"Mute Reminder Volume","MUTE_REMINDER_VOLUME_DESC":"Set the volume for the mute reminder alert.","MY_ORG":"My Organization","MY_PROFILE":"My Profile","MY_SETTINGS":"My Settings","MY_SETTINGS_DEVICE_CONFIG_INFO":"Settings that appear below have been retrieved from {{device}} and reflect locally configured settings. Some Poly devices support multiple layers of configuration and therefore may be represented multiple times with different sources identified. Local device priority of configuration is such that these will take precedence over any Lens Policy.","MY_SETTINGS_INHERITANCE_DEVICE":"this {{model}}","MY_SETTINGS_INHERITANCE_GROUP":"all {{model}}s at {{group, title}}","MY_SETTINGS_INHERITANCE_INFO":"All settings on this page are either inherited from another policy or are unique to this policy. Refer to this column to understand where settings are being inherited from.","MY_SETTINGS_INHERITANCE_MODEL":"all {{model}}s","MY_SETTINGS_INHERITANCE_SITE":"all {{model}}s at {{site, title}}","MY_SETTINGS_INHERITANCE_USER_GROUP":"all {{model}} models in the {{userGroup}} User Group","MY_SETTINGS_POLICY_INFO":"Settings that appear here have been applied and are inherited by {{devices}}. To remove a setting, click the trash icon next to it. Any setting here that is changed must be applied again in order for devices to inherit it.","MY_SETTINGS_SOURCE_INFO":"Refer to this column to understand how the displayed configuration was applied. Details on the various sources and how to resolve can be found in <1>Lens Help","NAME":"Name","NAME_IS_REQUIRED":"Name is required","NAME_THIS_ACCOUNT":"Name this Account","NAME_THIS_ACCOUNT_INSTRUCTIONS":"Your account name should be descriptive, to recognize it later from an account list.","NAME_THIS_ACCOUNT_INSTRUCTIONS_2":"Note: The account name can be changed at any time in Admin menu > Accounts > Settings.","NARROW":"Narrow","NARROWBAND":"Narrowband","NEED_UPGRADED_KEY":"Need Upgraded Key","NEEDS_PERMISSION":"Needs {{required}} to edit","NETWORK_DIAGNOSTIC_TESTING":"Network Diagnostic Testing","NETWORK_DIAGNOSTIC_TESTING_TOOLTIP":"Enable network diagnostic testing on the user\u2019s side to see data jitter, latency and data loss.","NETWORK_INFO_TITLE":"Network {{number}}","NETWORK_INFORMATION":"Network Information","NETWORK_PERFORMANCE":"Network Performance","NETWORK_QUALITY":"Network Quality","NEVER":"Never","NEW":"New","NEW_API_CONNECTION":"New API Connection","NEW_API_CONNECTION_DESCRIPTION":"Give your API Connection a name and select which role can access it. You can edit this information later.","NEW_API_CONNECTION_FAILURE":"Failed to create new API Connection.","NEW_API_CONNECTION_SUCCESS":"API Connection successfully created.","NEW_PASSWORD":"New Password","NEW_TEAMS_WEBHOOK":"New Teams Webhook","NEW_VALUE":"New Value","NEXT":"Next","NINE00":"900","NINE60":"960","NO":"No","NO_ACCESS_TOKENS_FOUND":"No Access Tokens Found","NO_ACTIONS":"No Actions","NO_ACTIONS_AVAILABLE":"No Device Actions","NO_ADDRESS_MATCH":"No addresses match search term.","NO_ARTIFACTS_FOUND":"No Artifacts Found","NO_AUDIT_EVENTS_FOUND":"No Audit Events Found","NO_AUDIT_LOGS":"No Audit Logs","NO_CERTIFICATE":"No Certificate Detected.","NO_CHANGE":"No Change","NO_CHANGED_SETTINGS":"Nothing to see yet. Make some changes and review them here before applying.","NO_CHARTING_DATA_AVAILABLE":"No charting data available","NO_CLIENT_CONNECTED":"No Client Connected","NO_CLIENT_TOKENS":"No Client Tokens Found","NO_CONNECTED_DESKTOP_APP":"Unable to connect to Lens Desktop App.","NO_CONNECTED_DESKTOP_APP_INSTRUCTIONS":"This user has not installed or logged into the Lens Desktop App yet.","NO_DESKTOP_SETTINGS_AVAILABLE":"Settings not found. Plug in your device to Lens Desktop to make sure the latest settings are available.","NO_DEVICE_CONFIG":"No Device Configuration","NO_DEVICE_GROUPS":"No Device Groups Found","NO_DEVICE_USER_GROUPS":"No Device User Groups","NO_DEVICE_USERS":"No Device Users","NO_DEVICES":"No Devices Found","NO_DEVICES_GET_STARTED":"Add a device to get started","NO_DEVICES_IN_GROUP":"Nothing to see yet. Click the Available to Add tab above to add devices to this group.","NO_DEVICES_OFFLINE":"No Devices Offline","NO_ELIGIBLE_DEVICES":"No Eligible Devices Found","NO_EMAIL":"No email address was entered.","NO_ENTITLEMENTS_FOUND":"No Entitlements Found","NO_GROUPS_FOR_DEVICE":"Nothing to see yet. Add this device to some groups.","NO_GROUPS_FOR_POLICIES_HELP":"To learn more about managing devices in groups, click ","NO_GROUPS_FOR_POLICIES_TITLE":"You must have at least one group before you can create a group policy. Click the button below to create one.","NO_INSIGHTS_AVAILABLE":"No Insights Available","NO_INSIGHTS_DESCRIPTION":"<0>In this space you will see Insights generated for your organization, presented as a chronological feed.<1>If the space is empty, it could be:<1><0>Devices or rooms on this account have not yet generated Insights<1>Insights data is within an acceptable normal band","NO_INSIGHTS_HOME_CARD":"Watch this space for active Insights","NO_INSIGHTS_TITLE":"Take a deep breath.","NO_ISSUES_FOUND":"No Issues Found","NO_LICENSES_FOUND":"No Licenses Found","NO_LIMITING":"No Limiting","NO_LOCATION_DATA":"No Location Data","NO_MEMBERSHIP_PERMISSIONS":"No Membership Permissions","NO_MEMBERSHIP_PERMISSIONS_INFO":"You lack permissions needed to see membership information for this group.","NO_MODELS_PROVIDED":"No Device Models provided","NO_NETWORK_TEST_RESULTS":"No network test has been run yet.","NO_NETWORK_TEST_RESULTS_INSTRUCTIONS":"To see results, contact the user and ask them to perform a Network Diagnostic Test in the Poly Lens Desktop App.","NO_OF_SESSIONS":"Session Count","NO_POLICIES":"No Policies Found","NO_POLICY_SETTINGS":"Nothing to see yet. Apply some changes to your policy and manage them here.","NO_PRODUCTS_FOUND":"No Products Found","NO_PURCHASED_PRODUCTS_FOUND":"No Purchased Products Found","NO_RELATED_INSIGHTS":"No related insights","NO_RESOURCE_FILES":"No Resource Files Found","NO_RESULTS":"No results found","NO_ROOM_DATA":"Devices with no room association","NO_ROOMS":"No Rooms Found","NO_SETTINGS":"Settings on this page are currently unavailable based on other currently configured settings.","NO_SITE_DATA":"Devices with no site association","NO_SITE_UNASSIGNED":"No Devices Unassigned","NO_SITES":"No Sites Found","NO_SITES_FOR_POLICIES_HELP":"To learn more about how to connect a device to a site, click ","NO_SITES_FOR_POLICIES_TITLE":"You must have at least one site before you can create a site policy. Click the button below to create one.","NO_TRIAL_USERS_FOUND":"No Trial Users Found","NO_UPDATES_AVAILABLE":"No Updates Available","NO_USER_GROUPS":"No Device User Groups Found","NO_USER_GROUPS_FOR_POLICIES_HELP":"To learn more about how to connect a device to a user group, click ","NO_USER_GROUPS_FOR_POLICIES_TITLE":"You must have at least one device user group before you can create a device user group policy. Click the button below to create one.","NO_USERS_AVAILABLE_TO_ADD_MESSAGE":"There are no users available to add to this group.","NO_USERS_IN_USER_GROUP_MESSAGE":"Nothing to see yet. Click the Available to Add tab above to add device users to this group.","NO_VIDEO":"No Video","NO_VOICE":"No Voice","NOISE_BLOCK_AI":"Poly NoiseBlockAI for Outgoing Audio","NOISE_BLOCK_AI_DESC":"Prevent distracting sounds in your environment (like keyboard typing or paper shuffling) from interrupting your meeting.","NOISE_EXPOSURE_LIMIT":"Noise Exposure Limit","NOISE_EXPOSURE_LIMIT_DESC":"Monitor and control average daily noise exposure to make sure it doesn\'t exceed the selected action value (80 dBA or 85 dBA) specified by current EU legislation.","None":"None","NONE":"None","NORMAL":"Normal","NOT_CONNECTED":"Not Connected","NOT_CURRENTLY_CONNECTED":"Not currently connected to {{client}}","NOT_REGISTERED":"Not Registered","NOT_SET":"Not Set","NOT_YET_CONNECTED":"Not yet connected","NOTE":"Note:","NOTIFICATION_CENTER_EMAIL_ADD_SUCCESS":"{{email}} was added to the delivery list.","NOTIFICATION_CENTER_EMAIL_REMOVAL_SUCCESS":"{{email}} was removed from the delivery list.","NOTIFICATION_CENTER_RECIPIENTS_INFO":"Once a valid email address has been typed in the field, click Add or simply hit the return button.","NOTIFICATION_EMAILS_HELP":"<0>On this page, you can configure the emailed notifications sent from Poly Lens. The frequency of these emailed notifications can be set to once a week, once a day, immediately, or at a specified interval after the event has occurred. To learn more, click <1>here.","NOTIFICATION_FORM_HEADER_CONFIG":"Configure","NOTIFICATION_INTEGRATIONS_TITLE":"Integrations","NOTIFICATION_POLY_TITLE":"Notifications","NOTIFICATION_SERVICE_CREATE":"Create","NOTIFICATION_SERVICE_NEW":"New ServiceNow Webhook","NOTIFICATION_SERVICE_TITLE":"ServiceNow","NOTIFICATION_SERVICENOW_EDIT":"Update ServiceNow Webhook","NOTIFICATION_SERVICENOW_HELP_INTERVAL":"<0>On this page, you can configure webhooks that will allow Poly Lens to send notifications to ServiceNow. The frequency can be set so that the notification is sent at a specified interval after the event has occurred. To learn more, click <1>here.","NOTIFICATION_TEAMS_CREATE":"Create","NOTIFICATION_TEAMS_EDIT":"Update Teams Webhook","NOTIFICATION_TEAMS_HELP_INTERVAL":"<0>On this page, you can configure webhooks that will allow Poly Lens to send notifications to a Microsoft Teams Channel. The frequency of these notifications can be set to once a week, once a day, immediately, or at a specified interval after the event has occurred. To learn more, click <1>here.","NOTIFICATION_TEAMS_NEW":"New Teams Webhook","NOTIFICATION_TEAMS_TITLE":"Microsoft Teams","NOTIFICATION_TITLE_ACCOUNT":" | {{accountName, title}}","NOTIFICATION_TITLE_SUB":" | $t({{subTitleKey}})","NOTIFICATION_TONES":"Notification Tones","NOTIFICATION_TONES_DESC":"Hear notification tones from other connected devices while streaming audio.","NOTIFICATION_TYPES":"Notification Types","NOTIFICATION_WEBHOOK_DELETED":"Webhook {{name, title}} deleted","NOTIFICATIONS":"Notifications","NOTIFICATIONS_MENU":"Notifications","NOTIFICATIONS_OTHER_INTEGRATIONS_MENU":"Integrations","NOTIFICATIONS_POLY_MENU":"Email","NOVEMBER":"November","NTP_SERVER":"NTP Server","OAM":"OAM","OCCUPANCY":"Occupancy","OCCUPANCY_BY_WEEKDAY":"Occupancy by day of week","OCCUPANCY_OVER_TIME":"Occupancy over time","OCT_DEC":"Oct - Dec","OCT_NOV_DEC":"Oct - Nov - Dec","OCTOBER":"October","off":"Off","Off":"Off","OFF":"Off","OFFLINE":"Offline","OFFLINE_CAMERA_WAKE":"The cameras may just be asleep. Click to ask the device to wake up the cameras. This can take up to 30 seconds.","OFFLINE_DEVICES":"Offline Devices","OFFSET_GMT":"Offset GMT","OK":"OK","ON":"On","ON_THE_RISE":"On the Rise","ONE":"1","ONE_MINUTE":"1 minute","ONE0":"10","ONE2_Hour":"12 Hour","ONE5":"15","ONE020":"1020","ONE024":"1024","ONE28":"128","ONE088":"1088","ONE92":"192","ONE140":"1140","ONE152":"1152","ONE216":"1216","ONE260":"1260","ONE280":"1280","ONE344":"1344","ONE408":"1408","ONE472":"1472","ONE500":"1500","ONE536":"1536","ONE600":"1600","ONE664":"1664","ONE728":"1728","ONE792":"1792","ONE856":"1856","ONE920":"1920","ONLINE":"Online","ONLINE_INDICATOR":"Online Indicator","ONLINE_INDICATOR_DESC":"Enable the LED on your headset to indicate that you\'re in a call.","ONSCREEN_DISPLAY":"On-Screen Display","ONSCREEN_DISPLAY_DESC":"Display camera parameters on the video output.","OPEN":"Open","OPEN_ACCOUNTS":"Open Accounts","OPEN_PROFILE":"Open profile menu","OPEN_SEARCH":"Open device search","OPEN_SUPPORT":"Open support menu","OPERATING_SYSTEM":"Operating System","OPERATING_SYSTEM_DETECTED":"Operating system automatically detected.","OR":"or","ORDER_NUMBER":"Order Number","ORDER_NUMBER_OPTIONAL":"Order Number (Optional)","ORGANIZATION":"Organization","ORIGINAL_HARDWARE_MODEL":"Original Hardware Model","ORIGINAL_PRODUCT_FAMILY":"Original Product Family","OTHER":"Other","OUTBOUND_PROXY_PORT":"Outbound Proxy Port","OUTBOUND_PROXY_TRANSPORT":"Outbound Proxy Transport","OVER_AIR_SUBSCRIPTION":"Over-the-Air Subscription","OVER_AIR_SUBSCRIPTION_DESC":"Subscribe this headset to your base without physically placing the headset in the charge cradle.","OVERRIDES":"Overrides","OVERVIEW":"Overview","PACKET_LOSS":"Packet Loss","PACKET_LOSS_RX":"Packet Loss RX","PACKET_LOSS_TIP":"No level of data loss in a network is acceptable, although it sometimes happens. If you\u2019re seeing a high percentage of data loss, consider contacting your internet service provider.","PACKET_LOSS_TX":"Packet Loss TX","PAIRED":"Paired","PAN":"Pan","PAN_DESC":"Adjust the left or right direction of the camera.","PARTICIPANT_COUNT":"Participant Count","PARTICIPANT_COUNT_DESC":"Report the participant count in meetings.","PASSWORD":"Password","PASSWORD_COPIED_TO_CLIPBOARD":"Password copied to clipboard.","PC_PORT_STATUS":"PC Port Status","PC_ROOM_REGISTRATION_TOOLTIP":"To onboard a PC-Based Room and all connected peripherals using the PIN onboarding method, check this box.","PCAP":"Packet Capture","PCAP_DISABLE_FAILED":"Failed to disable packet capture. Please try again.","PCAP_DISABLED_NOTE":"Packet captures are disabled on this device.","PCAP_DISABLING":"Device is restarting. Packet captures will be disabled after the device restarts.","PCAP_DOWNLOAD":"Download Ready:","PCAP_ENABLE":"Enable packet capture:","PCAP_ENABLE_FAILED":"Failed to enable packet capture. Please try again.","PCAP_ENABLED_ERROR":"Failed to detect whether packet captures are enabled on this device.","PCAP_ENABLED_NOTE":"Packet captures are enabled on this device.","PCAP_ENABLING":"Device is restarting. Packet captures will be enabled after the device restarts.","PCAP_END_TIME_MESSAGE":"Current Packet Capture will stop at","PCAP_ERROR":"Failed to fetch packet capture file. Please restart the device and try again.","PCAP_LOADING_NOTE":"Loading packet capture status for this device... Please wait.","PCAP_MAX_NOTE":"A maximum of 5000 packets will be captured.","PCAP_OFFLINE_TEXT":"Packet captures can only be started when the device is online.","PCAP_START":"Start Capturing Packets","PCAP_STOP":"Stop Capturing Packets","PCAP_STOP_NOTE":"Packet capturing will be automatically stopped when time expires.","PCAP_STOPPING_NOTE":"The packet capture file is being uploaded from the device.","PCAP_SUCCESS_MESSAGE":"Download URL is ready","PCAP_TIMEOUT":"Timeout (seconds):","PCAP_TIMEOUT_MAX":"Timeout must be {{max}} or less.","PCAP_TIMEOUT_MIN":"Timeout must be {{min}} or more.","PCAP_TIMEOUT_VALIDATION":"Timeout","PENDING":"Pending ({{count}})","People":"People","PERCENT_ONLINE":"% Online","PERCENTAGE_INDICATOR":"{{percentage}}%","PERFORMANCE":"Performance","PERIOD":"Last {{period}} starting {{start}}","PERIOD_OF_X":"{{period}} starting {{start}}","PERMISSION":"Permission","PERMISSIONS":"Permissions","PERSONAL":"{{personalcount}} Personal","PERSONAL_ONBOARD_INFO":"To manage Personal USB Devices through Poly Lens, the Poly Lens Desktop app is needed. Once the Poly Lens Desktop app is installed on a device user\'s computer and personal USB devices (headsets, cameras, video/sound bar, etc.) are attached to the computers, they are onboarded into Poly Lens.","PERSONAL_ONBOARD_TITLE":"Personal USB Devices Onboarding","PERSONAL_SUPPORTED_DEVICES_INFO":"Devices that can be onboarded to the Poly Lens Desktop App:","PHONE":"Phone","PINCODE_ONBOARDING_INFO":"Best for onboarding individual devices one at a time. Ideal when managing a few devices or during device evaluations. Policy-based management isn\u2019t supported for devices registered this way.","PINCODE_ONBOARDING_TITLE":"PIN or QR Code Onboarding","PINCODE_SUPPORTED_DEVICES_INFO":"PIN and QR onboarding are compatible with the following device models:","PLAY_PAUSE":"Play/Pause","POLICIES":"Policies","POLICIES_DELETED":"Policies Deleted","POLICIES_DISCLAIMER":"Note: Policies do not apply to PIN or QR Code onboarded devices.","POLICIES_SUBHEADER":"<0>Provisioned device settings and personal USB device settings are configured based on policies. An individual device that is associated with multiple policies will look at each inheritance level to determine its final configuration. Below is an interactive model that explains how inheritance and priority work. Click <1>here to enable provisioning for this account.","POLICY":"Policy","POLICY_COUNT":"Policy Count","POLICY_CREATED":"Policy created successfully.","POLICY_DELETE":"Delete policy","POLICY_DELETE_CONFIRM":"Are you sure you would like to delete this policy? This action cannot be undone.","POLICY_DELETE_CONFIRM_other":"Are you sure you would like to delete these policies? This action cannot be undone.","POLICY_DELETE_other":"Delete {{count}} policies","POLICY_DEVICE":"Individual Device","POLICY_GROUP":"Device Group","POLICY_INHERITANCE":"Policy Inheritance","POLICY_INHERITANCE_DEVICE":"Settings configured at this level will only be inherited by an individual device.","POLICY_INHERITANCE_GROUP":"If a device is in a group, it will inherit settings from this policy level.","POLICY_INHERITANCE_MODEL":"If a device is a specific model, it will inherit settings from this policy level.","POLICY_INHERITANCE_SITE":"If a device belongs to a site, it will inherit settings from this policy level.","POLICY_INHERITANCE_USER_GROUP":"If a device belongs to a user that is in a device user group, it will inherit settings from this policy level.","POLICY_LEVEL_DEVICE":"This Device Policy","POLICY_LEVEL_DEVICE_MODEL":"Model Policy","POLICY_LEVEL_EXTERNAL_DEVICE":"Microsoft Teams Policy","POLICY_LEVEL_GLOBAL":"Global Policy","POLICY_LEVEL_GROUP":"Group Policy","POLICY_LEVEL_MODEL":"Model Policy","POLICY_LEVEL_SITE":"Site Policy","POLICY_LEVEL_UNKNOWN":"Unknown Policy","POLICY_LEVEL_USER_GROUP":"Device User Group Policy","POLICY_LIST_SUBHEADER_DEVICE_MODEL":"<0>Settings applied here will be inherited by all devices of the specified model <1>unless they are set at a different level in the policy hierarchy.","POLICY_LIST_SUBHEADER_DEVICE_USER_GROUP":"<0>Settings applied to these policies will only be inherited by devices <1>associated with the device users in the group.","POLICY_LIST_SUBHEADER_INDIVIDUAL_DEVICES":"<0>Click a device name to view that device\'s policy. Settings applied to each policy <1>will only apply to the individual device.","POLICY_LIST_SUBHEADER_POLICY_GROUP":"<0>Settings applied to these policies will only be inherited by devices <1>in the selected group.","POLICY_LIST_SUBHEADER_SITE":"<0>Settings applied to these policies will only be inherited by devices <1>at the selected site.","POLICY_NAME":"{{model}} {{policyScope}}({{identifier}}) {{policyType}} Policy","POLICY_NAME_MODEL":"{{model}} {{policyScope}} {{policyType}} Policy","POLICY_other":"Policies","POLICY_OVERRIDES_DEFAULT":"In the event of a conflict, settings configured at the higher levels will take precedence.","POLICY_OVERRIDES_DEVICE":"In the event of a conflict, settings configured at this level will override settings inherited from any other policy level.","POLICY_OVERRIDES_USER_GROUP":"In the event of a conflict, settings configured at the individual device level will take precedence.","POLICY_PRIORITY":"Policy Priority","POLICY_PRIORITY_UPDATE_ERROR":"Unable to update policy priority: {{message}}","POLICY_SAVED":"{{policy}} has been successfully saved","POLICY_SOFTWARE":"{{scope}} Policy Software:","POLICY_UNAVAILABLE":"Policy for {{device}} is currently unavailable.","POLL_INTERVAL_ERROR":"Poll frequency must be a positive integer","POLY_ACOUSTIC_FENCE":"Acoustic Fence","POLY_ACOUSTIC_FENCE_DESC":"Enable Poly Acoustic Fence to block background noise and configure the width of the Poly Acoustic Fence beam.","POLY_GENERAL":"Poly General","POLY_INTERNAL":"POLY INTERNAL","POLY_LENS":"Poly Lens","POLY_LENS_CLIENT":"Poly Lens Client","POLY_LENS_CLIENT_other":"Poly Lens Clients","POLY_LENS_CLIENTS_DESCRIPTION_DESKTOP":"Get the most out of your Poly devices and enhance your collaboration experience with the Poly Lens Desktop app.","POLY_LENS_CLIENTS_DESCRIPTION_MOBILE":"Get the most out of your Poly devices and enhance your collaboration experience with the Poly Lens Mobile app.","POLY_LENS_CLIENTS_DESCRIPTION_NO_ACCESS":"Coming soon for mobile clients.","POLY_LENS_CLIENTS_DESCRIPTION_NO_ACCESS_IOS":"Available for Android. Coming soon for iOS.","POLY_LENS_DESKTOP":"Poly Lens Desktop","POLY_LENS_MOBILE":"Poly Lens Mobile","POLY_OS_SETTINGS_UNAVAILABLE":"Settings is currently unavailable for this device.","POLY_PLUS":"Poly+","POLY_PLUS_ADD_KEY":"Add Another Key","POLY_PLUS_ADD_LICENSE":"Add License","POLY_PLUS_ASSIGNMENT_COUNT":"{{countDevices}} Assigned","POLY_PLUS_AUTO_ASSIGN_ALL":"Auto-Assign All","POLY_PLUS_AUTO_ASSIGN_ALL_LICENSES":"Auto-Assign All Licenses","POLY_PLUS_AUTO_ENTITLE_DISABLED":"Automatic license assignment disabled.","POLY_PLUS_AUTO_ENTITLE_ENABLED":"Automatic license assignment enabled.","POLY_PLUS_AUTO_ENTITLE_INFO":"By enabling automatic assignment, the most recently added devices of each model will be assigned a Poly Plus license, entitling them to various enhanced features. You have 30 days to manage these assignments, after which time they will become permanent.","POLY_PLUS_AUTO_ENTITLE_LABEL":"Automatically Assign Licenses:","POLY_PLUS_AUTO_ENTITLE_TITLE":"Automatically Assign Licenses","POLY_PLUS_CONFIRM_INFORMATION":"Please confirm the information below.","POLY_PLUS_CONFIRMATION":"Congratulations! Your entitlements have been assigned.","POLY_PLUS_DELETE_MOCK_LICENSE_INFO":"Click to delete Poly+ mock licenses.","POLY_PLUS_DELETE_MOCK_LICENSE_TITLE":"Delete Mock Licenses","POLY_PLUS_DEVICES_SELECTED":"Devices Selected: {{count}}","POLY_PLUS_ELITE":"Poly Plus Elite","POLY_PLUS_END_DATE":"End Date","POLY_PLUS_ENTERPRISE":"Poly+ Enterprise","POLY_PLUS_ENTERPRISE_PERSONAL":"Poly Plus Enterprise Personal","POLY_PLUS_ENTERPRISE_VIDEOA":"Poly Plus Enterprise Video A","POLY_PLUS_ENTERPRISE_VIDEOB":"Poly Plus Enterprise Video B","POLY_PLUS_ENTERPRISE_VIDEOC":"Poly Plus Enterprise Video C","POLY_PLUS_ENTERPRISE_VIDEOD":"Poly Plus Enterprise Video D","POLY_PLUS_ENTERPRISE_VOICEA":"Poly Plus Enterprise Voice A","POLY_PLUS_ENTERPRISE_VOICEB":"Poly Plus Enterprise Voice A","POLY_PLUS_ENTITLE_ERROR_SHIP_DATE_OLD":"{{count}} of the {{model}} devices could not be licensed because they were shipped more than 90 days ago.","POLY_PLUS_ENTITLE_SUCCESS_NONE":"None of the devices you selected for license assignment were successful.","POLY_PLUS_ENTITLE_SUCCESS_SOME":"Some of the devices you selected for license assignment were unsuccessful.","POLY_PLUS_ENTITLEMENT_SELECT_DEVICES":"Select devices that you would like to entitle from the list below.","POLY_PLUS_GENERATE_LICENSE":"Generate","POLY_PLUS_GENERATE_MOCK_LICENSE_INFO":"Click to generate Poly+ mock licenses.","POLY_PLUS_GENERATION_SUBTITLE":"License Generation","POLY_PLUS_GENERATION_SUCCESS":"License generation successful!","POLY_PLUS_GENERATION_TITLE":"License Generation","POLY_PLUS_LICENSE":"Poly+ License","POLY_PLUS_LICENSE_ASSIGNMENT":"License Assignments","POLY_PLUS_LICENSES_INFO":"Below, you\u2019ll see a matrix that breaks down the various licenses you have available to assign to devices. Click a device model in the table to see a detailed list of license assignments.","POLY_PLUS_LICENSES_SUBTITLE":"Poly+ Licenses","POLY_PLUS_MOCK_LICENSE_DELETION_NO_RECORDS_FOUND":"No mock licenses to delete in this tenant.","POLY_PLUS_MOCK_LICENSE_DELETION_SUCCESS":"License deletion successful!","POLY_PLUS_MODAL_INFO_AUTO":"By enabling automatic assignment, the most recently added devices will be assigned a Poly+ license. Once a device is assigned a Poly+ license, this action cannot be undone. Are you sure you want to proceed?","POLY_PLUS_MODAL_INFO_MANUAL":"Once a device is assigned a Poly+ license, this action cannot be undone. Are you sure you want to proceed?","POLY_PLUS_MODAL_TITLE_AUTO":"Automatically Assign Licenses","POLY_PLUS_MODAL_TITLE_MANUAL":"Assign Licenses","POLY_PLUS_NO_LICENSES_AVAILABLE":"No models have available licenses.","POLY_PLUS_SETUP_DESCRIPTION":"Use this page as a tool and reference guide for creating and managing your Poly+ assets.","POLY_PLUS_SOMETHING_WENT_WRONG":"Whoops. Something went wrong.","POLY_PLUS_START_DATE":"Start Date","POLY_USERS":"Poly Users","poly-admin":"Poly Admin","poly-support":"Poly Support","POOR":"Poor","POSTAL_CODE":"Postal Code","POWER_SOURCE":"Power Source","PRECEDENCE":"Precedence","Prefer_TCP":"Prefer TCP","Prefer_UDP":"Prefer UDP","PREMIUM_APIS":"Premium APIs","PREMIUM_APIS_DESC":"Unlock premium features that are available in Poly Lens through APIs. ","PREMIUM_AUDIT_LOGS":"Premium Audit Logs","PREMIUM_AUDIT_LOGS_DESC":"Unlock access to more detailed event information.","PREMIUM_BETA_FEATURE":"This is a Premium Beta feature.","PREMIUM_INSIGHTS_DASHBOARD":"Premium Insight Dashboard","PREMIUM_INSIGHTS_DASHBOARD_DESC":"Unlock an interactive dashboard with insights into emerging trends in meeting behaviors and room utilization.","PREMIUM_FEATURE":"Premium feature","PREMIUM_INSIGHTS_FEED":"Premium Insights Feed","PREMIUM_INSIGHTS_FEED_DESC":"Unlock a curated newsfeed of notable room insights.","PREMIUM_NETWORK_DIAGNOSTIC":"Network Diagnostics","PREMIUM_NETWORK_DIAGNOSTIC_DESC":"Unlock access to network speed and latency reports.","PREMIUM_NOTIFICATIONS":"Premium Notifications","PREMIUM_NOTIFICATIONS_DESC":"Unlock alerts for important device events using email, Microsoft Teams, and ServiceNow.","PREMIUM_ROOM_ANALYSIS":"Premium Room Analysis","PREMIUM_ROOM_ANALYSIS_DESC":"Unlock reports on how rooms are being used.","PREMIUM_SITE_ANALYSIS":"Premium Site Analysis","PREMIUM_SITE_ANALYSIS_DESC":"Unlock reports on\u202femerging rooms and meeting behavior trends happening within each site.","PREMIUM_VISUAL_ANALYTICS":"Premium Visual Analytics","PREMIUM_VISUAL_ANALYTICS_DESC":"Unlock a quick and easy way to use data visualization tools to view your inventory data","PREVIOUS_PERIOD":"Before {{period}}","PREVIOUS_PERIOD_DESC":"Prior to {{period}}, {{site}} had {{previous}} of {{name}}","PREVIOUS_VALUE":"Previous Value","PRIMARY_ADMIN":"Primary Admin","PRIMARY_DEVICE":"Primary Device","PRIMARY_TIME_SERVER_ADDRESS":"Primary Time Server Address","PRIORITY":"Priority","PRIORITY_INSIGHT_OVER_TIME":"{{indicator}} {{name}} {{timePeriod}} for {{scope}}","PRIORITY_INSIGHTS":"Priority Insights","PRIORITY_INSIGHTS_DESCRIPTION":"Priority Insights inform you of trends you should be aware of to improve efficiencies and usage.","PRIVACY":"Privacy","PRIVACY_POLICY":"Privacy Policy","PRIVATE_IP":"Private IP","PRIVATE_SUBNET":"Private Subnet","PROCESS_ACKNOWLEDGEMENT":"Process Acknowledgment","PROCESS_LICENSE":"Process License","PROCESS_LICENSE_ACK_ERROR":"Error processing license acknowledgment: {{message}}","PROCESS_LICENSE_INSTRUCTIONS_1A":"Enter the product\'s \\"Request Code\\" and select \\"Process Request\\".","PROCESS_LICENSE_INSTRUCTIONS_1B":"Use the provided product \\"Request Code\\" and select \\"Process Request\\".","PROCESS_LICENSE_INSTRUCTIONS_2":"Copy the resulting \\"Response Code\\" to the product\'s install license display.","PROCESS_LICENSE_INSTRUCTIONS_3":"Optionally, enter the product\'s \\"Acknowledgment Code\\" and select \\"Process Acknowledgment\\".","PROCESS_LICENSE_INSTRUCTIONS_TITLE":"To license your product:","PROCESS_LICENSE_REQUEST_BAD_REQUEST":"Ensure that you have entered the license request correctly and try again. If this issue persists, recover the current license into your product\'s license display.","PROCESS_LICENSE_REQUEST_RESTRICTIVE_ERROR":"Error processing restrictive license request: {{message}}","PROCESS_LICENSE_REQUEST_STANDARD_ERROR":"Error processing standard license request: {{message}}","PROCESS_REQUEST":"Process Request","PROCESSING":"Processing...","PROCESSING_LICENSE":"Processing License...","PRODUCT":"Product","PRODUCT_AVAILABLE_VERSIONS_DESC":"Select a version in the dropdown to change this product\u2019s version and view its artifacts.","PRODUCT_CATALOG":"Product Catalog","PRODUCT_ID":"Product ID","PRODUCT_ID_CLARITI_CE":"Clariti Core Edge","PRODUCT_ID_CLARITI_MANAGER":"Clariti Manager","PRODUCT_ID_CLARITI_RELAY":"Clariti Relay","PRODUCT_ID_CLARITI_WORKFLOW":"Clariti Workflow Server","PRODUCT_ID_ENDPOINT":"Endpoint","PRODUCT_ID_RM":"Resource Manager","PRODUCT_ID_SUB_LIC_SERVER":"Sub-License Server","PRODUCT_ID_UNKNOWN":"Unknown","PRODUCT_INFORMATION":"Product Information","PRODUCT_NAME":"Product Name","PRODUCT_other":"Products","PRODUCT_TYPE":"Product Type","PRODUCT_TYPE_OPTIONAL":"Product Type (Optional)","PRODUCT_URL":"Product URL","PRODUCT_VERSION_NOT_USED":"Product Version (Not Used)","PRODUCT_VERSION_OPTIONAL":"Product Version (Optional)","PRODUCTS":"Products","PROV_SUPPORTED_DEVICES_INFO":"Provisioning is compatible with the following device models:","PROVIDER":"Provider","PROVIDERS":"Providers","PROVINCE":"Province","PROVISION_MULTIPLE_DEVICES":"Provision multiple devices","PROVISIONED":"Provisioned","provisioning":"Provisioning","PROVISIONING":"Device Provisioning","PROVISIONING_ACCOUNT_CREATED":"Provisioning account created.","PROVISIONING_AVAILABLE_WITHIN":"Provisioning will be available within ","PROVISIONING_DISABLED":"Provisioning is disabled.","PROVISIONING_ENABLED":"Provisioning is enabled.","PROVISIONING_GUIDE_ENABLED_TITLE":"Provisioning Enabled!","PROVISIONING_GUIDE_INFO_1":"When a device utilizes Poly Lens provisioning credentials:","PROVISIONING_GUIDE_INFO_2":"The device will be added to your Poly Lens account inventory.","PROVISIONING_GUIDE_INFO_3":"The device software version will be upgraded (as needed) to a Poly Lens-capable version.","PROVISIONING_GUIDE_INFO_4":"Device configuration will be modified to enable Poly Lens management and insights.","PROVISIONING_GUIDE_LINK":"This is what happens during provisioning","PROVISIONING_INFO_1":"To onboard and provision your devices, you must first create your provisioning credentials. To enable provisioning for your Poly Lens account, create a provisioning server user and password.","PROVISIONING_INFO_2":"Poly Lens will automatically generate a unique provisioning service address for your Poly Lens account. You may then use your Poly Lens account provisioning credentials in conjunction with a DHCP server or by manually entering your credentials into the provisioning server settings within individual Poly devices.","PROVISIONING_INFO_3":"Note: All devices that are onboarded using the Poly Lens Provisioning Service will have a site association of \\"Site Unassigned\\".","PROVISIONING_ONBOARD_INFO":"Best option for onboarding devices. Ideal when managing policies and pushing software updates to groups of devices. This method allows the use of DHCP to automatically register new devices to a provisioning server, during the initial device set up or after a system reset and allows access to more device configurations.","PROVISIONING_PROTOCOL":"Provisioning Protocol","PROVISIONING_SERVER_ADDRESS":"Provisioning Server Address","PROVISIONING_SETTINGS_DISABLED":"Settings are unavailable because provisioning is disabled for this account.","PROVISIONING_TITLE":"Provisioning","PROXY_AGENT":"Proxy Agent","PROXY_AGENT_ID":"Proxy Agent ID","PROXY_AGENT_VERSION":"Proxy Agent Version","PROXY_SERVER":"Proxy Server","PUBLIC_IP":"Public IP","PUBLIC_IP_ADDRESS":"Public IP Address","PUBLIC_SUBNET":"Public Subnet","PURCHASED":"Purchased","PURCHASED_PRODUCT":"Purchased Product ({{count}})","PURCHASED_PRODUCT_ATTRIBUTES_ASSIGNED":"Attributes Assigned","PURCHASED_PRODUCT_ENTITLEMENT_COUNT":"Assigned Entitlements","PURCHASED_PRODUCT_IDENTIFIABLE_NAME":"{{name}} (SN: {{serialNumber}})","PURCHASED_PRODUCT_LICENSE_RESPONSE_CODE":"License response code for purchased product \'{{name}}\'","PURCHASED_PRODUCT_other":"Purchased Products ({{count}})","PURCHASED_PRODUCTS":"Purchased Products","PURCHASED_PRODUCTS_COUNT":"{{count}} Purchased Product","PURCHASED_PRODUCTS_COUNT_other":"{{count}} Purchased Products","QUALITY_PREFERENCE":"Quality Preference","QUANTITY":"Quantity","QUARTER":"Quarter","RANGE":"Range","RANGE_DESC":"Limit the range to reduce audio interference issues from other DECT devices. High: \u2264 105 m (350 ft); Medium: \u2264 45 m (150 ft); Low: \u2264 15 m (50 ft). Note: High: \u2264 90 m (300 ft) for Savi 400 Series.","READ_THE_DOCUMENTATION":"Read the Documentation","READY_WAITING":"Ready and Waiting","REBOOT_TYPE":"Reboot Type","REBOOTING":"Rebooting... do not unplug device","RECEIVED":"Received","RECIPIENTS":"Recipients","RECURRING_UNUSED":"Recurring Unused","REDIAL_MOBILE":"Redial (Mobile Only)","REFRESH":"Refresh","REGION":"Region","REGION_CODE":"Region Code","REGISTER_ANOTHER":"Register Another Device","REGISTER_DEVICE":"Register Device","REGISTER_DEVICE_PRIOR":"Before 05/18/21","REGISTER_HERE":"Register Here","REGISTER_SINGLE_DEVICE":"Register a single device","REGISTERED":"Registered","REGISTERED_IP":"Registered IP","REGISTERING":"Registering...","REGISTRAR_SERVER":"Registrar Server","REGISTRAR_SERVER_TYPE":"Registrar Server Type","REGISTRATION_ADDRESS":"Registration Address","REGISTRATION_FAILED":"Registration failed","REGISTRATION_STATUS":"Registration Status","REGISTRATION_TYPE":"Registration Type","REGULATORY_DOMAIN":"Regulatory Domain","REJECTED":"Rejected","RELATED_INSIGHTS":"Related Insights","RELAY":"Poly Lens Relay","RELAY_ACCESS_KEY":"Poly Lens Access Key:","RELAY_ADDRESS":"Address (optional):","RELAY_APPLICATIONS":"Relay Applications","RELAY_CERTIFICATE_UPLOAD_ERROR":"The file must be in .pfx or .p12 format.","RELAY_CERTIFICATE_UPLOAD_TEXT":"Click or drag a .p12 or .pfx file","RELAY_COPY":"Copy access key to clipboard","RELAY_COPY_SUCCESS":"Access key copied to clipboard!","RELAY_DESCRIPTION":"Description (optional):","RELAY_DEVICE_ID":"Poly Lens Device ID:","RELAY_DOWNLOAD_INFO":"Poly Lens Relay is software that resides on your network and is used to proxy services from Poly Lens to devices and/or applications in your organization that are unable to connect to Poly Lens directly. Click the button below to download the desired virtual appliance, and then deploy it in the next section of this page.","RELAY_DOWNLOAD_SUBMIT_OVA":"Download OVA","RELAY_DOWNLOAD_SUBMIT_VHD":"Download VHD","RELAY_DOWNLOAD_SUBTITLE":"Download","RELAY_GET_KEY":"Get Access Key","RELAY_GET_KEY_ERROR":"Error getting Access Key","RELAY_NAME":"Relay Name (optional):","RELAY_REGISTER_INFO":"Complete the form below to register Poly Lens Relay. Your Poly Lens Device ID is provided to you after you install Poly Lens Relay. Enter the Device ID, click the \\"Get Access Key\\" and the Access Key will be automatically generated.","RELAY_REGISTER_RESET":"Reset","RELAY_REGISTER_SUBMIT":"Register Device","RELAY_REGISTER_SUBTITLE":"Register","RELAY_REGISTER_TITLE":"Register Relay","RELAY_REGISTRATION_SUCCESS_1":"Poly Lens Relay registered! View this in ","RELAY_REGISTRATION_SUCCESS_2":"Inventory","RELAY_REGISTRATION_SUCCESS_3":" or register another Poly Lens Relay.","RELAY_ROOM":"Room Name (optional):","RELAY_RPRM_HOST":"RPRM Host","RELAY_RPRM_TITLE":"RealPresence Resource Manager Connector","RELAY_SITE":"Site Name (optional):","RELAYED_DEVICES":"Relayed Devices","RELEASE":"Release","RELEASE_CODE":"Release Code","RELEASE_ENTITLEMENT":"Release Entitlement","RELEASE_ENTITLEMENT_other":"Release {{count}} Entitlements","RELEASE_LICENSE":"Release License","RELEASE_LICENSE_ERROR":"Error releasing license: {{message}}","RELEASE_NOTES":"Release Notes","RELEASING":"Releasing...","RELEASING_LICENSE":"Releasing License...","REMOVE":"Remove","REMOVE_ACCESS_TOKEN":"Remove Access Token","REMOVE_ACCESS_TOKEN_other":"Remove {{count}} Access Tokens","REMOVE_ALL":"Remove All","REMOVE_ALL_POLICY_SETTINGS":"Remove All Policy Settings","REMOVE_ALL_POLICY_SETTINGS_CONFIRMATION":"This action will remove all configured settings from this {{name}} policy, but any inherited settings will remain. Are you sure you want to continue?","REMOVE_DEVICE_FROM_GROUP":"Remove Device from Group","REMOVE_DEVICE_FROM_GROUP_other":"Remove Device from Multiple Groups","REMOVE_DEVICE_USER":"Remove Device User","REMOVE_ENTITLEMENT":"Remove Entitlement","REMOVE_ENTITLEMENT_other":"Remove {{count}} Entitlements","REMOVE_FROM_GROUP":"Remove from Group","REMOVE_FROM_USER_GROUP":"Remove Device Users from Group","REMOVE_FROM_USER_GROUP_CONFIRM":"{{count}} device user will be deleted from {{name}}.","REMOVE_FROM_USER_GROUP_CONFIRM_other":"{{count}} device users will be deleted from {{name}}.","REMOVE_FROM_USER_GROUP_DETAILS":"Select or search for the group to which you\'d like to add these users. Removing device users from a group will not delete them from your account.","REMOVE_FROM_USER_GROUP_DETAILS_SHORT":"Removing device users from a group will not delete them from your account.","REMOVE_FROM_USER_GROUP_SUCCESS":"User removed from group.","REMOVE_FROM_USER_GROUP_SUCCESS_other":"{{count}} users removed from group.","REMOVE_PURCHASED_PRODUCT":"Remove Purchased Product","REMOVE_PURCHASED_PRODUCT_other":"Remove {{count}} Purchased Products","REMOVE_RESOURCE_FILE":"Remove Resource File","REMOVE_RESOURCE_FILE_other":"Remove {{count}} Resource Files","REMOVE_ROOM":"Remove Room","REMOVE_ROOM_other":"Remove {{count}} Rooms","REMOVE_SITE":"Remove Site","REMOVE_SITE_other":"Remove {{count}} Sites","REMOVE_TRIAL_USER":"Remove Trial User","REMOVE_TRIAL_USER_other":"Remove {{count}} Trial Users","REMOVED_ATTRIBUTES":"Removed Attributes","REMOVING":"Removing...","REPLACE_DEVICE_POLICY":"Replace all existing Device Policy","REPORT":"{{count}} Report","REPORTS":"{{count}} Reports","REQUEST_CODE":"Request Code","REQUEST_DATE":"Requests Date","REQUESTS_MADE":"Requests Made ({{count}})","REQUIRED":"Required","RESEND":"Resend","RESEND_INVITATION":"Re-send Invitation","RESEND_INVITATION_other":"Re-send Invitations","RESET_DEVICE":"Reset Device","RESET_INSTRUCTIONS":"Please check your email and follow the instructions","RESET_PASS":"Reset Password","RESET_SENT":"Reset Link Sent","RESOURCE_FILE_SIZE_ERROR":"File size cannot exceed {{size}}MB","RESOURCE_FILE_UPLOAD_TEXT":"Click or drag a resource file","RESOURCE_FILES":"Resource Files","RESPONSE_CODE":"Response Code","RESTART":"Restart","RESTART_ALL_DEVICES":"Restart All Devices ({{count}})","RESTART_ALL_DEVICES_CONFIRMATION":"You are initiating a restart of the following devices:","RESTART_DEVICE":"Restart Device","RESTART_DEVICE_CONFIRMATION":"This will end active calls and the device will be offline for several minutes.","RESTART_DEVICE_CONFIRMATION_IN_CALL":"This device is currently in a call.","RESTART_DEVICES":"Restart Devices","RESTART_DEVICES_CONFIRMATION":"Are you sure you want to restart all supported online devices? This action cannot be undone.","RESTARTING":"Restarting...","RESTORE_DEFAULTS":"Restore Defaults","RESTORE_DEFAULTS_DESC":"This action restores all factory default settings for your device.","RETRIEVE_LOGS":"Retrieve Logs","RETRIEVE_SCREEN_CAPTURE":"Retrieve Screen Capture","RETRY":"Retry","RETRYING":"Retrying...","RETURN_TO_DEVICE_GROUPS":"Return to Device Groups","RETURN_TO_DEVICE_LIST":"Return to Device Inventory","RETURN_TO_DEVICE_USER_GROUPS":"Return to Device Users","RETURN_TO_DEVICE_USERS":"Return to Device Users","RETURN_TO_INSIGHT":"Return to Insight Details","RETURN_TO_MEMBERS_LIST":"Return to Account Members List","RETURN_TO_POLICIES":"Return to Policies","RETURN_TO_PRIORITY":"Return to Priority Insights","RETURN_TO_ROOMS_LIST":"Return to Rooms","RETURN_TO_SIGNIN":"Return to Sign In","RETURN_TO_SITE_LIST":"Return to Site List","RETURN_TO_TENANT_LIST":"Return to Account List","REVERTED_BY_USER":"Reverted by User","REVIEW_CHANGES":"Review Changes","REVIEW_CHANGES_DIALOGUE":"{{unsavedChanges}} settings changed. ","REVIEW_ENTITLEMENTS":"Review Entitlements","REVIEW_INFORMATION":"Review Information","RIGHT_EAR":"Right Ear","RING_CONTINUOUSLY":"Ring Continuously","RING_ONCE":"Ring Once","RING_VIBRATION":"Vibrate on Ring","RING_VIBRATION_DESC":"Set your headset to vibrate when you receive incoming calls.","RINGTONE":"Ringtone","RINGTONE_DESC":"Play a ringtone for a connected device that isn\'t already configured with a ringtone.","RINGTONES_AND_VOLUME":"Ringtones & Volume","ROCKET_BUTTON":"Rocket","ROCKET_BUTTON_DESC":"Configure the rocket button behavior.","ROLE":"Role","ROLE_IS_REQUIRED":"Role is required","ROLE_SWITCH_ERROR":"There was an error changing the user\'s role","ROLES_INFO":"Roles Info","ROOM":"Room","ROOM_INSIGHTS":"Room Insights","ROOM_INSIGHTS_DESCRIPTION":"Room insights inform you of trends at sites you should be aware of to improve effciencies and usage.","ROOM_MEETING":"Room Meeting","ROOM_MEETING_other":"Room Meetings","ROOM_NAME":"Room Name","ROOM_other":"Rooms","ROOM_SIZE":"Room Size","ROOM_SIZE_FOCUS":"Focus","ROOM_SIZE_HUDDLE":"Huddle","ROOM_SIZE_LARGE":"Large","ROOM_SIZE_MEDIUM":"Medium","ROOM_SIZE_NONE":"None","ROOM_SIZE_SMALL":"Small","ROOM_SIZE_SMALL_MEDIUM":"Small/Medium","ROOM_SUMMARY":"Room Summary","ROOM_TYPE":"Room Type","ROOM_TYPE_MTR":"Microsoft Teams Room","ROOM_TYPE_NONE":"None","ROOM_TYPE_USER_CREATED":"User Created","ROOM_UTILIZATION":"Room Utilization","ROOMS":"Rooms","RPRM":"RPRM","RPRM_ACCOUNT":"RPRM Account","RPRM_CDR_POLL_FREQUENCY":"Call Records Polling Interval","RPRM_HOST":"RPRM Host","RPRM_INVENTORY_POLL_FREQUENCY":"Inventory Polling Interval","RPRM_SERVER":"RPRM Server","RPRM_STATUS_POLL_FREQUENCY":"Status Polling Interval","RUNNING_LENS_DESKTOP":"Running Lens Desktop for {{version}}","RUNNING_LENS_MOBILE":"Running Lens Mobile for {{version}}","SAMPLE_CODE":"Sample Code","SATURATION":"Saturation","SATURATION_DESC":"Adjust video color saturation.","Saturday":"Saturday","SAVE":"Save","SAVE_CHANGES":"Save Changes","SAVE_LOGS_TO_INTERNAL":"Save Logs to Internal Storage","SAVE_SUCCESS":"Save Success","SAVING":"Saving...","SAVING_CHANGES":"Saving changes...","SAVING_DEVICE_USER":"Saving Device User...","SAVING_ENTITLEMENT":"Saving Entitlement...","SAVING_ENTITLEMENTS":"Saving Entitlements...","SAVING_RESTRICTIVE_PURCHASED_PRODUCT":"Saving Restrictive Purchased Product...","SAVING_ROOM":"Saving Room...","SAVING_SITE":"Saving Site...","SAVING_STANDARD_PURCHASED_PRODUCT":"Saving Standard Purchased Product...","SCHEDULE_UPDATE_CHECKS":"Update Window","SCOPE":"Scope","SCREEN_CAPTURE":"Screen Capture","SCREEN_CAPTURE_FETCH_ERROR":"Unable to successfully connect to the device to request a Screen Capture.","SCREEN_CAPTURE_OFFLINE_TEXT":"A Screen Capture can only be requested when the device is online.","SCREEN_CAPTURE_URL_ERROR":"Unable to retrieve the url of the Screen Capture.","SCREEN_CAPTURED_AT":"Captured Date / Time","SEARCH":"Search","SEARCH_ACCESS_TOKENS":"Search Access Tokens","SEARCH_ACCOUNT_NAME":"Search Account Name","SEARCH_ADDRESS":"Search Addresses","SEARCH_AUDIT_EVENTS":"Search Audit Events","SEARCH_BY_NAME":"Search by name","SEARCH_CLIENT_TOKEN_NAME":"Search Client Token Name","SEARCH_DEVICE_INFORMATION":"Search Device Information","SEARCH_DEVICE_MODEL":"Search Device Model","SEARCH_DEVICES":"Search Devices","SEARCH_ENTITLEMENTS":"Search Entitlements","SEARCH_PRODUCT_CATALOG":"Search Product Catalog","SEARCH_PURCHASED_PRODUCTS":"Search Purchased Products","SEARCH_ROOM":"Search Room","SEARCH_SITE":"Search Site","SEARCH_TABLE":"Search Table","SEARCH_TRIAL_USERS":"Search Trial Users","SEARCH_USERS_EMAIL":"Search User Name or Email Address","SECOND_INCOMING_CALL":"Second Incoming Call","SECOND_INCOMING_CALL_DESC":"Control the ring behavior for incoming calls from a second source. For example, an incoming mobile call when you\'re already on a softphone call.","SECONDARY_TIME_SERVER_ADDRESS":"Secondary Time Server Address","SECONDS":"Seconds","SECURE_BLUETOOTH":"Secure Bluetooth Connection","SECURE_BLUETOOTH_DESC":"Enable or disable secure connections between the Bluetooth speakerphone or headset and the mobile handset by pressing the Bluetooth pairing button.","SECURITY":"Security","SEE_INSIGHT_BREAKDOWN":"See Insight Breakdown","SEE_LESS":"See Less","SEE_MORE":"See More","SEE_MORE_other":"See {{count}} More","SELECT":"Select","SELECT_ACCOUNT":"Please select an account to view the associated users.","SELECT_ADDRESS_ERROR":"Please select an address from the list.","SELECT_LANGUAGE":"Select Language","SELECT_MODEL":"Select Model","SELECT_RESOURCE_FILE":"Select Resource File","SELECT_VERSION":"Select Version for Update","SELECTED":"Selected","SEND":"Send","SEND_EMAIL_INVITE":"Send Email Invite","SEND_RESET":"Send Reset Link","SENDING":"Sending...","SENSOR_SETTINGS":"Wearing Sensor (CONTROLLER)","SENSOR_SETTINGS_DESC":"Turn on this controller setting to individually configure each sensor-dependent setting. Turn it off to disable all sensor-dependent settings at once.","SENSORS_AND_PRESENCE":"Sensors & Presence","SENT":"Sent","SEPTEMBER":"September","SERIAL":"Serial","SERIAL_NUMBER":"Serial Number","SERIAL_NUMBER_OPTIONAL":"Serial Number (Optional)","SERVER":"Server","SERVER_ADDRESS":"Server Address","SERVER_CREDENTIALS_UPDATED":"Server Credentials updated.","SERVER_PASSWORD":"Server Password","SERVER_PLATFORM":"Server Platform","SERVER_TYPE":"Server Type","SERVER_USER":"Server User","SERVICE":"Service","SERVICE_INFORMATION":"Service Information","SERVICE_NOW":"ServiceNow","SERVICE_NOW_NAME":"ServiceNow Name","SERVICE_NOW_PASSWORD":"ServiceNow Password","SERVICE_NOW_URL_EXAMPLE":"e.g. https://dev1.service-now.com/api/global/em/jsonv2","SERVICE_NOW_USERNAME":"ServiceNow Username","SERVICE_PROVIDER":"Service Provider","SERVICE_STATUS":"Services Status","SET_CUSTOM_NOTIFICATIONS":"Set Custom Notifications","SETTINGS":"Settings","SETTINGS_ADVANCED":"Advanced","SETTINGS_BASIC":"Basic","SETTINGS_COUNT":"Settings Count","SETTINGS_PARAMETER":"Settings parameters","SETUP":"Setup","SETUP_DESCRIPTION":"Use this page as a tool and reference guide for creating and managing your Clariti assets.","SEVEN04":"704","SEVEN68":"768","SEVEN80":"780","SHARPNESS":"Sharpness","SHARPNESS_DESC":"Adjust video sharpness.","SHIPMENT_DATE":"Shipment Date","SHOW_CHART":"Show Chart","SHOW_NULL_INFORMATION":"Show Null Information","SHOW_PRIVATE_MEETINGS":"Show Information for Meetings Set to Private","SHOW_SPLASH":"Show Splash Screen","SHOWN":"SHOWN","SI_LOADING":"Loading Device\'s Line Information","SIDETONE":"Sidetone","SIDETONE_DESC":"Adjust the volume of your voice that you hear when speaking.","SIGN_IN":"Sign In","SIGN_IN_ADDRESS":"Sign In Address","SIGN_OUT":"Sign Out","SIGN_UP_HERE":"Sign up here","SIGNAL_STRENGTH":"Signal Strength","SIMILAR_PRIORITY_INSIGHTS":"Similar Priority Insights","SIMILAR_PRIORITY_INSIGHTS_LOADING_ERROR":"There was a problem loading similar priority insights","SINGLE_DEVICE":"Single Device","SINGLE_TONE":"Single Tone","SIP":"SIP","SIP_ADDRESS":"SIP Address","SIP_PORT":"SIP Port","SIP_SERVER_CONFIGURATION":"SIP Server Configuration","SIP_TRANSPORT":"SIP Transport","SITE":"Site","SITE_ADDRESS":"Site Address","SITE_ADDRESS_TOOLTIP_DISABLED":"If you wish to change the site address, you must go to the site page and change the address.","SITE_ADDRESS_TOOLTIP_ENABLED":"Site address details are updated for all devices set to \\"{{site, title}}\\"","SITE_CONFIG":"Site Configuration","SITE_ID":"Site ID","SITE_IMPORT_ERROR":"Error importing sites.","SITE_IMPORT_FAILED":"Failed to import site","SITE_IMPORT_HEADER_ERROR":"Import failed for the following sites:","SITE_IMPORT_HEADER_SUCCESS":"Import passed successfully for the following sites.","SITE_IMPORT_POLICY_FAILED":"Failed to import site policy configuration","SITE_IMPORT_SUCCESS":"Sites imported successfully","SITE_IMPORT_SUCCESS_LONG":"Sites have been imported successfully","SITE_INSIGHTS":"Site Insights","SITE_MANAGER":"site manager","SITE_NAME":"Site Name","SITE_NAME_OPTIONAL":"Site Name (Optional)","SITE_other":"Sites","SITE_POLICY":"Site Policy","SITE_PROVISIONING_DESCRIPTION":"Define the IP subnet range for the devices you wish to associate with this site. Once the IP addresses are defined, any newly onboarded devices or existing devices, currently in the Unassigned Site, within the IP subnet range will be automatically associated with that site.","SITE_SETTINGS":"Site Settings","SITE_TOPOLOGY":"Site Topology","SITE_UNASSIGNED":"{{count}} Device Unassigned","SITE_UNASSIGNED_other":"{{count}} Devices Unassigned","SITES":"Sites","SIX4":"64","SIX40":"640","SIX60":"660","SIX144":"6144","SIXTY_HZ":"60Hz","SIZE":"Size","SKIN_ENHANCEMENT":"Skin Enhancement","SKIN_ENHANCEMENT_DESC":"Enables or disables natural skin color enhancements for participants","SKU":"SKU","SKU_DESCRIPTION":"SKU Description","SKU_OPTIONAL":"SKU (Optional)","SLOW":"Slow","SMART_AUDIO_TRANSFER":"Smart Audio Transfer","SMART_AUDIO_TRANSFER_DESC":"Automatically transfer call\'s audio from your headset to your mobile phone when you remove your headset. Put your headset on again to transfer call\'s audio back to the headset.","SOFTPHONES_AND_MEDIA_PLAYERS":"Softphones & Media Players","SOFTWARE":"Software","SOFTWARE_BUILD":"Software Build","SOFTWARE_RELEASE":"Software Release","SOFTWARE_UPDATE":"Software Update","SOFTWARE_UPDATES_AVAILABLE":"Software Updates Available","SOFTWARE_VERSION":"Software Version","SOME_DISCONNECTED":"Some disconnected","SORT":"Sort","SOURCE":"Source","sp-admin":"Service Provider Admin","sp-it-admin":"Service Provider Device Manager","SPEAKER":"Speaker","Specify":"Specify","SSID":"SSID","STAGED":"Staged","STAGEUNKNOWN":"Unknown Stage","STANDARD":"Standard","Standard_SIP":"Standard SIP","STANDARD_VOLUME":"Standard Volume","START_DATE":"Start Date","START_DATE_OPTIONAL":"Start Date (Optional)","START_MY_FREE_TRIAL":"Start my free trial","STARTED":"Started","STARTING_CLARITI_TRIAL":"Starting Clariti Trial...","STATE":"State","STATUS":"Status","STATUS_CHECK":"Status Check","STATUS_INDICATORS":"Status Indicators","STEREO":"Stereo","STEREO_AUDIO":"Stereo Audio","STEREO_AUDIO_DESC":"Use two audio channels on the camera to provide stereo sound.","STREAMING_AUDIO":"Streaming Audio","STREAMING_AUDIO_DESC":"Enable to stream music, podcasts, and other types of audio from your mobile device to your headset. If you aren\'t streaming audio to your headset, disable this feature to save battery power.","STREET_ADDRESS":"Street Address","STRING_VALUE":"String Value","STRING_VALUE_NOT_USED":"String Value (Not Used)","STRING_VALUE_OPTIONAL":"String Value (Optional)","SUB_LIC_SERVER":"Sub Lic Server","SUBJECT_ALTERNATIVE_NAMES":"Subject Alternative Names","SUBNET_DUPLICATE_ERROR":"ERROR: This public/private range has already been added to this site.","SUBNET_DUPLICATE_ERROR_SITE":"ERROR: This public/private range is already included in \'{{siteName, title}}\'.","SUBNET_OVERLAP_WARNING":"Warning: This public/private range overlaps an existing subnet in \'{{siteName, title}}\'. Devices will be assigned to the site with most granular cidr.","SUBNET_PUBLIC_BLOCK_ERROR":"Error: Duplicate Public Subnet: \'{{cidr}}\'. Two sections cannot have the same Public Subnet.","SUBNET_RANGE":"Subnet Range","SUBNET_RANGES_UPDATED":"Successfully updated subnet ranges.","SUBSCRIPTION_TYPE":"Subscription Type","SUCCESSFULLY_ADDED_ACCESS_TOKEN":"Successfully added access token.","SUCCESSFULLY_ADDED_ENTITLEMENT":"Successfully added entitlement.","SUCCESSFULLY_ADDED_RESOURCE_FILE":"Successfully added resource file.","SUCCESSFULLY_ADDED_RESTRICTIVE_PURCHASED_PRODUCT":"Successfully added restrictive purchased product.","SUCCESSFULLY_ADDED_STANDARD_PURCHASED_PRODUCT":"Successfully added standard purchased product.","SUCCESSFULLY_ASSIGNED_ENTITLEMENTS":"Successfully assigned all selected entitlements.","SUCCESSFULLY_DELETED":"{{entity, title}} deleted.","SUCCESSFULLY_DELETED_DEVICE_FROM_GROUP":"Device removed from group.","SUCCESSFULLY_DELETED_DEVICE_FROM_GROUP_other":"Device removed from multiple groups.","SUCCESSFULLY_DELETED_DEVICES_FROM_GROUP":"Device removed from group.","SUCCESSFULLY_DELETED_DEVICES_FROM_GROUP_other":"{{count}} devices removed from group.","SUCCESSFULLY_DELETED_INTERNAL_USERS":"Successfully removed selected users Poly internal roles.","SUCCESSFULLY_DELETED_PENDING_INVITES":"Successfully deleted pending invitations.","SUCCESSFULLY_DELETED_USERS":"Successfully removed selected users from this account. They will no longer have access to this account unless invited again.","SUCCESSFULLY_EDIT_USER":"Successfully updated user details.","SUCCESSFULLY_PROCESSED_LICENSE_ACK":"Successfully processed license acknowledgment.","SUCCESSFULLY_PROCESSED_LICENSE_REQUEST_RESTRICTIVE":"Successfully processed restrictive license request.","SUCCESSFULLY_PROCESSED_LICENSE_REQUEST_STANDARD":"Successfully processed standard license request.","SUCCESSFULLY_RELEASED_ENTITLEMENTS":"Successfully released all selected entitlements.","SUCCESSFULLY_RELEASED_LICENSE":"Successfully released license.","SUCCESSFULLY_REMOVED_ACCESS_TOKENS":"Successfully removed all selected access tokens.","SUCCESSFULLY_REMOVED_DEVICE_USERS":"Successfully removed all selected device users.","SUCCESSFULLY_REMOVED_ENTITLEMENTS":"Successfully removed all selected entitlements.","SUCCESSFULLY_REMOVED_PURCHASED_PRODUCT":"Successfully removed all selected purchased products.","SUCCESSFULLY_REMOVED_RESOURCE_FILES":"Successfully removed all selected resource files.","SUCCESSFULLY_REMOVED_ROOMS":"Successfully removed all selected rooms.","SUCCESSFULLY_REMOVED_SITES":"Successfully removed all selected sites.","SUCCESSFULLY_REMOVED_TRIAL_USERS":"Successfully removed all selected trial users.","SUCCESSFULLY_RESTARTED_DEVICE":"Device is restarting; this may take several minutes.","SUCCESSFULLY_RESTARTED_DEVICES":"Devices are restarting; this may take several minutes.","SUCCESSFULLY_RETRIEVED_INITIAL_LICENSE_REQUEST_RESTRICTIVE_CODE":"Successfully retrieved initial restrictive license request code.","SUCCESSFULLY_RETRIEVED_INITIAL_LICENSE_REQUEST_STANDARD_CODE":"Successfully retrieved initial standard license request code.","SUCCESSFULLY_RETRIEVED_LICENSE":"Successfully retrieved license.","SUCCESSFULLY_STARTED_CALL":"Successfully started the call.","SUCCESSFULLY_UPDATE_DEVICE":"Successfully updated device group details.","SUCCESSFULLY_UPDATE_SITE":"Successfully updated site details.","SUCCESSFULLY_UPDATED_ENTITLEMENT":"Successfully updated entitlement details.","SUCCESSFULLY_UPDATED_PURCHASED_PRODUCT":"Successfully updated purchased product details.","SUCCESSFULLY_UPDATED_ROOM":"Successfully updated room details.","SUM":"SUM","Sunday":"Sunday","SUPPORT_DEVICES":"Device Support","SUPPORT_LENS":"Lens Help","SUPPORTED_DEVICES":"Supported Devices","SWITCH_TENANT":"Switch Account","SYSTEM_STATUS":"System Status","SYSTEM_STATUS_ALL_CONNECTED":"All connected","SYSTEM_STATUS_ALL_DISCONNECTED":"All disconnected","SYSTEM_STATUS_AUDIO":"Microphones","SYSTEM_STATUS_AUTO_ANSWER":"Auto Answer Point-to-Point Video","SYSTEM_STATUS_AUTO_ANSWER_DND":"Auto Answer is set to Do Not Disturb","SYSTEM_STATUS_AUTO_ANSWER_OFF":"Auto Answer is disabled","SYSTEM_STATUS_AUTO_ANSWER_ON":"Auto Answer is enabled","SYSTEM_STATUS_BAD_MESSAGE":"Provisioned, disconnected","SYSTEM_STATUS_CALENDAR":"Calendaring Service","SYSTEM_STATUS_CAMERA":"Cameras","SYSTEM_STATUS_CAMERA_CONNECTED":"Camera is connected","SYSTEM_STATUS_CAMERA_FAIL":"Cannot communicate with the camera","SYSTEM_STATUS_CAMERAS_OFF":"No cameras detected","SYSTEM_STATUS_CCE":"CCE","SYSTEM_STATUS_CLOUD_SVC":"Cloud SVC","SYSTEM_STATUS_EE_DIRECTOR":"Eagle Eye Director","SYSTEM_STATUS_EE_VIEW":"Eagle Eye View","SYSTEM_STATUS_GATEKEEPER":"Gatekeeper","SYSTEM_STATUS_GDS":"Polycom Global Directory Server","SYSTEM_STATUS_GOOD_MESSAGE":"Provisioned, connected","SYSTEM_STATUS_GS_PAIRING":"GS Pairing","SYSTEM_STATUS_IN_CALL":"In A Call","SYSTEM_STATUS_IP_CONNECTED":"The system is connected to an IP network","SYSTEM_STATUS_IP7000":"Sound Station IP 7000","SYSTEM_STATUS_IPNETWORK":"LAN Network","SYSTEM_STATUS_ISSUES":"{{count}} Issue","SYSTEM_STATUS_ISSUES_other":"{{count}} Issues","SYSTEM_STATUS_LOG_THRESHOLD":"Log Threshold","SYSTEM_STATUS_LOGS_BELOW":"System logs are below the specified threshold","SYSTEM_STATUS_LOGS_EXCEEDED":"System logs have exceeded the specified threshold","SYSTEM_STATUS_LOGS_FULL":"System logs are full","SYSTEM_STATUS_LOGS_OFF":"Log threshold is not specified","SYSTEM_STATUS_MCU":"MCU","SYSTEM_STATUS_MEETING_PASSWORD":"Meeting Password","SYSTEM_STATUS_MICROPHONES":"Microphones","SYSTEM_STATUS_MICROPHONES_OFF":"No microphones detected","SYSTEM_STATUS_NOT_CONFIGURED_MESSAGE":"Not yet configured","SYSTEM_STATUS_POLY_SERVER":"Poly Server","SYSTEM_STATUS_PRESENCE_SERVICE":"Presence Service","SYSTEM_STATUS_PROVISIONING":"Provisioning Service","SYSTEM_STATUS_PROVISIONING_FAIL":"Configured, but could not connect to the provisioning server","SYSTEM_STATUS_REGISTERED_CONNECTED_ACTIVE":"Registered, connected and active","SYSTEM_STATUS_REMOTE_CONTROL":"Remote Control","SYSTEM_STATUS_REMOTE_FAIL":"Remote is paired, but cannot connect","SYSTEM_STATUS_REMOTE_OFF":"No remote has been paired","SYSTEM_STATUS_SIP":"SIP Registrar Server","SYSTEM_STATUS_SOUND_STRUCTURE":"Sound Structure","SYSTEM_STATUS_TIME_SERVER":"Time Server","SYSTEM_STATUS_TRACKABLE_CAMERA_OFF":"No camera detected","SYSTEM_STATUS_TRACKABLECAMERA":"Built-In Camera","SYSTEM_STATUS_UNAVAILABLE":"System Status Unavailable","SYSTEM_STATUS_VISUAL_BOARD":"Visual Board","SYSTEM_STATUS_WARNING":"{{count}} Warning","SYSTEM_STATUS_WARNING_other":"{{count}} Warnings","SYSTEM_STATUS_WIFI":"WiFi","TAKE_OUR_SURVEY":"Take our quick survey","TCP":"TCP","TCP_ONLY":"TCP Only","TENANT":"Account","TENANT_DETAILS":"Account Details","TENANT_ESTABLISHED_ON_THIS_DATE":"Tenant was established on this date. \ud83d\ude80","TENANT_ID":"Tenant ID","TENANT_NAME":"Account Name","TENANT_other":"Tenants","TENANT_TYPE":"Account Type","TERMS_AND_CONDITIONS":"Terms and Conditions","TEST_WEBHOOK":"Test Connection","TESTING":"Testing...","THE_LENS_MOBILE_APPLICATION_BETA":"The Lens Mobile application is available for BETA testing.","THIS_DEVICE":"This Device","THIS_PERIOD":"This {{period}} starting {{start}}","THIS_PERIOD_EMPTY":"This {{period}}","THIS_POLICY":"This Policy","THREE0":"30","THREE20":"320","THREE84":"384","THREE840":"3840","Thursday":"Thursday","TIGHT":"Tight","TILT":"Tilt","TILT_DESC":"Adjust the up or down direction of the camera.","TIME":"Time","TIME_BASED":"Time-Based","TIME_FORMAT":"Time Format","TIME_SCOPE":"Time Scope","TIME_SERVER":"Time Server","TIME_SERVER_ADDRESS":"Time Server Address","TIME_ZONE":"Time Zone","TIMEZONE_AFRICA_BANGUI":"(GMT+1:00) West Central Africa","TIMEZONE_AFRICA_CASABLANCA":"(GMT+1:00) Casablanca","TIMEZONE_AFRICA_DAR__ES__SALAAM":"(GMT+3:00) Tanzania","TIMEZONE_AFRICA_HARARE":"(GMT+2:00) Harare, Pretoria","TIMEZONE_AFRICA_NAIROBI":"(GMT+3:00) Nairobi","TIMEZONE_AMERICA_ADAK":"(GMT-10:00) Adak","TIMEZONE_AMERICA_ANCHORAGE":"(GMT-9:00) Alaska","TIMEZONE_AMERICA_CARACAS":"(GMT-4:00) Caracas","TIMEZONE_AMERICA_CORDOBA":"(GMT-3:00) Buenos Aries, Georgetown","TIMEZONE_AMERICA_GODTHAB":"(GMT-3:00) Greenland","TIMEZONE_AMERICA_GUATEMALA":"(GMT-6:00) Central America","TIMEZONE_AMERICA_INDIANAPOLIS":"(GMT-5:00) Indiana (East)","TIMEZONE_AMERICA_LA__PAZ":"(GMT-4:00) La Paz","TIMEZONE_AMERICA_LIMA":"(GMT-5:00) Bogota, Lima, Quito","TIMEZONE_AMERICA_MAZATLAN":"(GMT-7:00) Chihuahua, Mazatlan","TIMEZONE_AMERICA_MONTERREY":"(GMT-6:00) Guadalajara, Mexico City, Monterrey","TIMEZONE_AMERICA_NORONHA":"(GMT-2:00) Mid-Atlantic","TIMEZONE_AMERICA_PHOENIX":"(GMT-7:00) Arizona","TIMEZONE_AMERICA_REGINA":"(GMT-6:00) Saskatchewan","TIMEZONE_AMERICA_SANTIAGO":"(GMT-4:00) Santiago","TIMEZONE_AMERICA_SAO__PAULO":"(GMT-3:00) Brasilia","TIMEZONE_ASIA_BAGHDAD":"(GMT+3:00) Baghdad","TIMEZONE_ASIA_BAKU":"(GMT+4:00) Baku, Tbilisi, Yerevan, Volgograd","TIMEZONE_ASIA_BANGKOK":"(GMT+7:00) Bangkok, Hanoi, Jakarta","TIMEZONE_ASIA_CALCUTTA":"(GMT+5:30) Chennai, Kolkata, New Delhi","TIMEZONE_ASIA_COLOMBO":"(GMT+5:30) Sri Jayawardenepura","TIMEZONE_ASIA_DHAKA":"(GMT+6:00) Astana, Dhaka, Almaty","TIMEZONE_ASIA_HONG__KONG":"(GMT+8:00) Beijing, Chongqing, Hong Kong","TIMEZONE_ASIA_JERUSALEM":"(GMT+2:00) Jerusalem","TIMEZONE_ASIA_KABUL":"(GMT+4:30) Kabul","TIMEZONE_ASIA_KARACHI":"(GMT+5:00) Islamabad, Karachi, Tashkent","TIMEZONE_ASIA_KATMANDU":"(GMT+5:45) Kathmandu","TIMEZONE_ASIA_KRASNOYARSK":"(GMT+7:00) Krasnoyarsk","TIMEZONE_ASIA_KUWAIT":"(GMT+3:00) Kuwait, Riyadh","TIMEZONE_ASIA_MAGADAN":"(GMT+11:00) Magadan, Solomon Is., New Caledonia","TIMEZONE_ASIA_MUMBAI":"(GMT+5:30) Mumbai, NewDelhi","TIMEZONE_ASIA_MUSCAT":"(GMT+4:00) Abu Dhabi, Muscat","TIMEZONE_ASIA_NOVOSIBIRSK":"(GMT+7:00) Novosibirsk","TIMEZONE_ASIA_RANGOON":"(GMT+6:30) Rangoon","TIMEZONE_ASIA_SEOUL":"(GMT+9:00) Seoul","TIMEZONE_ASIA_SINGAPORE":"(GMT+8:00) Kuala Lumpur, Singapore","TIMEZONE_ASIA_TAIPEI":"(GMT+8:00) Taipei","TIMEZONE_ASIA_ULAANBAATAR":"(GMT+8:00) Irkutsk, Ulaan Bataar, Urumqi","TIMEZONE_ASIA_VLADIVOSTOK":"(GMT+10:00) Vladivostok","TIMEZONE_ASIA_YAKUTSK":"(GMT+9:00) Yakutsk","TIMEZONE_ASIA_YEKATERINBURG":"(GMT+5:00) Ekaterinburg","TIMEZONE_ATLANTIC_AZORES":"(GMT-1:00) Azores","TIMEZONE_ATLANTIC_CAPE__VERDE":"(GMT-1:00) Cape Verde Is.","TIMEZONE_AUSTRALIA_ADELAIDE":"(GMT+9:30) Adelaide","TIMEZONE_AUSTRALIA_BRISBANE":"(GMT+10:00) Brisbane","TIMEZONE_AUSTRALIA_DARWIN":"(GMT+9:30) Darwin","TIMEZONE_AUSTRALIA_HOBART":"(GMT+10:00) Hobart","TIMEZONE_AUSTRALIA_PERTH":"(GMT+8:00) Perth","TIMEZONE_AUSTRALIA_SYDNEY":"(GMT+10:00) Canberra, Melbourne, Sydney","TIMEZONE_BAJA":"(GMT-8:00) Tijuana, Baja California","TIMEZONE_CANADA_ATLANTIC":"(GMT-4:00) Atlantic Time (Canada)","TIMEZONE_CANADA_NEWFOUNDLAND":"(GMT-3:30) Newfoundland","TIMEZONE_CONFIG_LABEL":"Time Zone:","TIMEZONE_CST":"(GMT-6:00) Central Time (US, Canada)","TIMEZONE_EGYPT":"(GMT+2:00) Cairo","TIMEZONE_EST":"(GMT-5:00) Eastern Time (US & Canada)","TIMEZONE_ETC_GMTMINUS12":"(GMT-12:00) International Date Line West","TIMEZONE_ETC_GREENWICH":"(GMT) Greenwich Mean Time","TIMEZONE_EUROPE_AMSTERDAM":"(GMT+1:00) Amsterdam, Berlin, Bern","TIMEZONE_EUROPE_ATHENS":"(GMT+2:00) Athens, Beirut","TIMEZONE_EUROPE_BELGRADE":"(GMT+1:00) Belgrade, Bratislava, Budapest","TIMEZONE_EUROPE_BUCHAREST":"(GMT+2:00) Bucharest","TIMEZONE_EUROPE_HELSINKI":"(GMT+2:00) Helsinki, Kyiv, Riga","TIMEZONE_EUROPE_LONDON":"(GMT) Dublin, Edinburgh, Lisbon, London, Monrovia","TIMEZONE_EUROPE_MOSCOW":"(GMT+3:00) Moscow, St. Petersburg, Istanbul, Minsk","TIMEZONE_EUROPE_PARIS":"(GMT+1:00) Brussels, Copenhagen, Madrid, Paris","TIMEZONE_EUROPE_SOFIA":"(GMT+2:00) Sofia, Tallinn, Vilnius","TIMEZONE_EUROPE_TIRANE":"(GMT+2:00) Kosovo","TIMEZONE_EUROPE_WARSAW":"(GMT+1:00) Sarajevo, Skopje, Warsaw, Zagreb","TIMEZONE_INDIAN_CHAGOS":"(GMT+6:00) British Indian Ocean Territory","TIMEZONE_INDIAN_KERGUELEN":"(GMT+5:00) French Southern and Antarctic Lands","TIMEZONE_IRAN":"(GMT+3:30) Tehran","TIMEZONE_JAPAN":"(GMT+9:00) Osaka, Sapporo, Tokyo","TIMEZONE_MST":"(GMT-7:00) Mountain Time (US & Canada)","TIMEZONE_PACIFIC_AUCKLAND":"(GMT+12:00) Auckland, Wellington","TIMEZONE_PACIFIC_FIJI":"(GMT+12:00) Fiji, Kamchatka, Marshall Is.","TIMEZONE_PACIFIC_GUAM":"(GMT+10:00) Guam, Port Moresby","TIMEZONE_PACIFIC_HONOLULU":"(GMT-10:00) Hawaii","TIMEZONE_PACIFIC_MIDWAY":"(GMT-11:00) Midway Island, Samoa","TIMEZONE_PACIFIC_PITCAIRN":"(GMT-8:00) Pitcairn","TIMEZONE_PACIFIC_TONGATAPU":"(GMT+13:00) Nuku\'alofa","TIMEZONE_PST":"(GMT-8:00) Pacific Time (US & Canada)","TLS":"TLS","TO":"To","TODAY":"Today","TODAY_AT":"today at","TOKEN":"Token","TOKEN_EXCHANGE":"Token Exchange","TOKEN_EXCHANGE_INSTRUCTIONS":"You can exchange API Connection credentials for an access token with the following POST.","TOKEN_USE_INSTRUCTIONS_ENDPOINT":"After you get an access token, you can point your favorite GraphQL client to our graphql endpoint.","TOKEN_USE_INSTRUCTIONS_HEADER":"Remember to set your Authorization header to \'Bearer {access_token}\' to access Lens APIs.","TOMORROW":"Tomorrow","TONE":"Tone","TONE_CONTROL":"Tone Control","TONE_CONTROL_DESC":"Boost your bass or treble tones to optimize your listening experience. You can customize desk phone and computer tones separately for each device.","TONE_ONE":"Tone 1","TONE_THREE":"Tone 3","TONE_TWO":"Tone 2","TOPIC_AVAILABLE_UPDATES_DESCRIPTION":"Version {{version}} for {{model}} is available. {{count}} device can be updated ","TOPIC_AVAILABLE_UPDATES_DESCRIPTION_2":"in {{location}}.","TOPIC_AVAILABLE_UPDATES_DESCRIPTION_2_other":"across {{count}} sites.","TOPIC_AVAILABLE_UPDATES_DESCRIPTION_other":"Version {{version}} for {{model}} is available. {{count}} devices can be updated ","TOPIC_AVAILABLE_UPDATES_SHORT_TITLE":"Available Update","TOPIC_AVAILABLE_UPDATES_SHORT_TITLE_other":"Available Updates","TOPIC_AVAILABLE_UPDATES_TITLE":"{{model}} can be updated to latest software","TOPIC_OFFLINE_DEVICES_DESCRIPTION":"Offline devices have lost their connection to the network. Check the network connection and make sure the device is plugged in.","TOPIC_OFFLINE_DEVICES_SHORT_TITLE":"Device Offline","TOPIC_OFFLINE_DEVICES_SHORT_TITLE_other":"Devices Offline","TOPIC_OFFLINE_DEVICES_TITLE":"{{model}} is currently offline","TOPIC_OFFLINE_DEVICES_TITLE_other":"{{model}} are currently offline","TOPIC_SITE_UNASSIGNED_DESCRIPTION":"A device can be assigned to a site through the site manager","TOPIC_SITE_UNASSIGNED_DESCRIPTION_other":"Devices can be assigned to a site through the site manager","TOPIC_SITE_UNASSIGNED_SHORT_TITLE":"Site Unassigned","TOPIC_SITE_UNASSIGNED_SHORT_TITLE_other":"Sites Unassigned","TOPIC_SITE_UNASSIGNED_TITLE":"{{model}} is not currently assigned to a site","TOPIC_SITE_UNASSIGNED_TITLE_other":"{{model}} are not currently assigned to a site","TOS":"Terms of Service","TOTAL_ASSIGNED":"Total Assigned","TOTAL_CALLS":"Total Calls","TOTAL_DAILY_USAGE":"total daily usage","TOTAL_DURATION_MINUTES":"Total Duration (min)","TOTAL_LICENSES":"Total Licenses","TOTAL_PARTICIPANTS":"Total Participants","TOTAL_ROOMS":"Total Rooms","TOTAL_USAGE":"Total Usage","TOTAL_WEEKLY_USAGE":"total weekly usage","TRACKING_MODE":"Tracking Mode","TRACKING_MODE_DESC":"Configure how the camera tracks participants.","TRACKING_SPEED":"Tracking Speed","TRACKING_SPEED_DESC":"Configure how fast the camera detects meeting participants.","TRANSFER_AUDIO_TO_MOBILE_PHONE":"Transfer Audio to Mobile Phone","TRANSPORT_PROTOCOL":"Transport Protocol","TRENDING_DOWN":"Trending Down","TRENDING_DOWN_DESC":"{{site, title}} has a decreasing amount of {{name}} over the period of {{time}}","TRENDING_UP":"Trending Upwards","TRENDING_UP_DESC":"{{site, title}} has an increasing amount of {{name}} over the period of {{time}}","TRIAL":"Trial","TRIAL_USER":"Trial User","TRIAL_USER_other":"Trial Users","TRIAL_USER_REPORT":"Trial User Report","TROUBLESHOOTING":"Troubleshooting","TRY_AGAIN":"Something went wrong, please try again.","TRY_AGAIN_TITLE":"Please Try Again","TRY_AGAIN_WITH_ERROR":"Something went wrong, please try again. {{error}}","Tuesday":"Tuesday","TWO4_Hour":"24 Hour","TWO048":"2048","TWO56":"256","TYPE":"Type","TYPE_OF_SERVICE":"Type of Service","UDP":"UDP","UDP_ONLY":"UDP Only","UNASSIGNED_DEVICES":"Unassigned Devices","UNASSIGNED_DEVICES_IP":"To automatically assign devices by IP address:","UNASSIGNED_DEVICES_IP_1":"Open Site inventory.","UNASSIGNED_DEVICES_IP_2":"Select the site you want to assign devices to.","UNASSIGNED_DEVICES_IP_3":"Select Settings > Device Association","UNASSIGNED_DEVICES_IP_4":"Enter the desired subnet range for the site.","UNASSIGNED_DEVICES_IP_5":"Click Apply.","UNASSIGNED_DEVICES_MANUAL":"To manually assign a device:","UNASSIGNED_DEVICES_MANUAL_1":"Open Device inventory.","UNASSIGNED_DEVICES_MANUAL_2":"Select the device to assign.","UNASSIGNED_DEVICES_MANUAL_3":"Click Edit.","UNASSIGNED_DEVICES_MANUAL_4":"Create a new site or select an existing site.","UNASSIGNED_DEVICES_MANUAL_5":"Click Apply.","UNASSIGNED_DEVICES_P0":"There are two ways to assign a device to a site.","UNASSIGNED_ROOM_TOOLTIP":"Assign rooms to a device manually from Device Inventory.","UNASSIGNED_SITE":"Unassigned Site","UNASSIGNED_SITE_TOOLTIP":"Assign sites to a location manually from Device Inventory or automatically using the IP address.","UNAVAILABLE":"Unavailable","UNAVAILABLE_DEVICE_OFFLINE":"Unavailable when device is offline","UNINSTALL":"Uninstall","UNINSTALL_CERTIFICATE":"Uninstall Certificate","UNINSTALLING":"Uninstalling...","unknown":"Unknown","UNKNOWN":"Unknown","UNKNOWN_GROUP_BY":"Unknown {{groupBy}}","UNKNOWN_MODEL":"Unknown Model","UNKNOWN_other":"Unknown","UNKNOWN_TENANT":"Unnamed","UNLICENSED":"Unlicensed","UNLIMITED":"Unlimited","UNREAD":"Unread","UNSAVED_CHANGES":"Unsaved Changes","UNSAVED_CHANGES_INFO":"Settings that appear here must be applied in order to take effect. To discard an individual setting, click the corresponding X icon.","UNSAVED_CHANGES_WARNING":"You have made changes that will be discarded, are you sure you want to leave?","UNSPECIFIED":"Unspecified","UNSUBSCRIBE":"Unsubscribe","UNSUBSCRIBE_DESC":"Click the button below to unsubscribe from all Poly Lens email notifications.","UNSUBSCRIBE_ERROR":"There was a problem unsubscribing.","UNSUBSCRIBE_FETCHING":"Unsubscribing...","UNSUBSCRIBE_SUCCESS":"You have been successfully unsubscribed.","UNSUCCESSFUL":"Unsuccessful","UP_TO_DATE":"Up to Date","UPDATE":"Update","UPDATE_ATTRIBUTE_ASSIGNED":"Update Attribute Assigned","UPDATE_ATTRIBUTE_COUNT":"Update Attribute Count","UPDATE_AVAILABLE":"Update Available","UPDATE_AVAILABLE_COUNT":"{{count}} Update Available","UPDATE_AVAILABLE_COUNT_other":"{{count}} Updates Available","UPDATE_EXISTING_DEVICES":"Update existing devices","UPDATE_GROUP_FAILURE":"Failed to update group: {{message}}","UPDATE_NOW":"Update Now","UPDATE_SERVER_ADDRESS":"Update Server Address","UPDATE_SERVER_ADDRESS_DESC":"Network location from which Lens Desktop will download software updates. Please make sure that files stored here are in format PolyLens-, e.g. PolyLens-1.1.22.msi, so that Lens Desktop can pick them up.","UPDATE_SOURCE_ADDRESS":"Download Update From","UPDATER_VERSION":"Updater Version","UPDATES_AVAILABLE":"Updates Available","UPDATING":"Updating...","UPDATING_SOFTWARE":"Software update in progress","UPDATING_TO":"Updating to","UPGRADE_POLLING_INTERVAL":"Check for an Update Every (seconds)","UPLOAD":"Upload","UPLOAD_TIME":"Upload time","UPLOADED_BY":"Uploaded By","UPLOADING":"Uploading...","URL":"URL","URL_IS_REQUIRED":"URL is required","USAGE":"Usage","USAGE_TREND":"Usage Trend","USE_DEVICE_REGISTRATION_NOTIFICATION":"Use the Device registration flow for this device.","USE_PC_ROOM_REGISTRATION":"Device is a PC-Based Room System","USE_PC_ROOM_REGISTRATION_NOTIFICATION":"Use the PC-Based Room System registration flow for this device.","USED":"Used","user":"Guest","USER":"User","USER_CLIENT_NOT_CONNECTED_DESCRIPTION":"User has logged in with client App(s) but currently not connected","USER_COUNT":"User Count","USER_DESKTOP_AND_MOBILE_CLIENT_DESCRIPTION":"User is connected to Lens Desktop and Mobile Apps","USER_DESKTOP_CLIENT_DESCRIPTION":"User is connected to Lens Desktop App","USER_GROUP":"Device User Group","USER_GROUP_POLICY":"User Group Policy","USER_ID":"User ID","USER_INFORMATION":"User Information","USER_MOBILE_CLIENT_DESCRIPTION":"User is connected to Lens Mobile App","USER_NAME":"User Name","USER_UNSAVED_CHANGES":"You have unsaved changes","USERNAME":"Username","USERS":"Users","VALIDATE_EMAIL_INSTRUCTIONS":"Require that the user name of the user accepting the invite matches the email address to which the invite was sent. We recommend that this security feature only be disabled when you know that the invitee\'s username and email address are different.","VALIDATE_EMAIL_LABEL":"Validate Email","VALIDATING":"Validating...","VALUE":"Value","VERIFIED":"Verified","VERIFIED_EMAIL":"Your email address has been verified!","VERIFY_ERROR":"Something went wrong with verifying your email address. Please try again.","VERIFY_INSTRUCTIONS":"Please verify your email address before continuing into Poly Lens.","VERIFY_SENT":"Sent!","VERIFY_TITLE":"Verify your Account","VERSION":"Software Version","VERSION_ALT":"Version","VERSION_FOUND":"Version Found","VERSION_INFO":"Version Info","VERSION_INSIGHTS":"Software Version Insights","VERSION_NUMBER":"version {{version}}","VERSION_other":"Versions","VIDEO":"Video","VIDEO_CONTROLS":"Video Controls","VIDEO_DEVICES":"{{videoCount}} Video","VIDEO_DEVICES_LITERAL":"Video Devices","VIEW_ALL":"View All","VIEW_ALL_DEVICES":"View all {{count}} devices","VIEW_DATA_AS_LIST":"View this data as a list","VIEW_DATA_AS_MAP":"View this data as a map","VIEW_DETAILS":"View Details","VIEW_DEVICES":"View Devices","VIEW_DEVICES_IN_LIST":"View these devices in a list","VIEW_GROUP":"View Group","VIEW_LIST":"View List","VIEW_MAP":"View Map","VIEW_SITE_POLICY":"View Site policy","VIRTUAL_PERSONAL_ASSISTANT":"Virtual Personal Assistant (VPA)","VISIT_LENS_PORTAL":"Visit Lens portal","VISIT_PROVISIONING":"Visit Provisioning","VISUAL":"Visual","VISUAL_ANALYTICS_BLURB":"Visual analytics provides a quick and easy way to use data visualization tools to view your inventory data and support detailed analysis and reporting of your devices.","VISUAL_ANALYTICS_CREDENTIALS_TITLE":"Credentials","VISUAL_ANALYTICS_DATABASE_NAME_DESCRIPTION":"Visual Analytics Database Name","VISUAL_ANALYTICS_DATABASE_NAME_LABEL":"Database Name:","VISUAL_ANALYTICS_DELETE_BLURB":"Data can only be deleted when Visual Analytics is disabled.","VISUAL_ANALYTICS_DELETE_LINK":"Delete Existing Data","VISUAL_ANALYTICS_DELETING_BLURB":"Deleting of Visual Analytics data is in progress.","VISUAL_ANALYTICS_DELETING_FAILED_BLURB":"An error was encountered while deleting Visual Analytics data. Please contact support.","VISUAL_ANALYTICS_DISABLING_BLURB":"Disabling of Visual Analytics is in progress.","VISUAL_ANALYTICS_DISABLING_FAILED_BLURB":"An error was encountered while disabling Visual Analytics. Please contact support.","VISUAL_ANALYTICS_ENABLING_BLURB":"Visual Analytics is currently being enabled. This process could take up to ten minutes.","VISUAL_ANALYTICS_ENABLING_FAILED_BLURB":"An error was encountered while enabling Visual Analytics. Please contact support.","VISUAL_ANALYTICS_HELP_LINK":"Lens Help Documents","VISUAL_ANALYTICS_INTEGRATION_MENU":"Visual Analytics","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_DIGITS":"Base 10 digits (0 through 9)","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_LENGTH":"Between 8 and 128 characters long","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_LOWERCASE":"Latin lowercase letters (a through z)","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_MEETS_ALL_REQUIREMENTS":"Password meets all requirements","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_USERNAME":"Password must not contain username","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_SPECIAL_CHARACTERS":"Special characters (! @ # $ % ^ & *)","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_TITLE":"Password Requirements:","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_UPPERCASE":"Latin uppercase letters (A through Z)","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_PREFIX_MUST_CONTAIN":"Password must contain:","VISUAL_ANALYTICS_PASSWORD_COMPLEXITY_PREFIX_MUST_BE":"Password must be:","VISUAL_ANALYTICS_PASSWORD_DESCRIPTION":"Visual Analytics Password","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_CHANGE_PASSWORD":"New Password","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_CONFIRM_PASSWORD":"Confirm Password","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_PASSWORD_UPDATED":"Password Updated","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_PASSWORD_UPDATE_FAILED":"Password Update Failed ... Please close all active connections and try again!","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_SUBMIT_BUTTON_LABEL":"Update Password","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_SUBTITLE":"Enter your new password below.","VISUAL_ANALYTICS_PASSWORD_EDIT_MODAL_TITLE":"Change Password","VISUAL_ANALYTICS_PASSWORD_LABEL":"Password:","VISUAL_ANALYTICS_POWERBI_BLURB":"Combine your Poly Lens data with Microsoft Power BI to gain insights on your device fleet, how your organization is adopting your devices, and the current status of your inventory. Visualize and analyze your data, create custom reports and share those reports within your organization. The database is updated every 24 hours. Published reports in the template below make it quick and easy to get started.","VISUAL_ANALYTICS_POWERBI_HELP_LINK":"Lens Help Documents","VISUAL_ANALYTICS_POWERBI_TEMPLATE":"Sample Power BI Template","VISUAL_ANALYTICS_POWERBI_TITLE":"Microsoft Power BI","VISUAL_ANALYTICS_SERVER_NAME_DESCRIPTION":"Visual Analytics Server Name","VISUAL_ANALYTICS_SERVER_NAME_LABEL":"Server Name:","VISUAL_ANALYTICS_TITLE":"Integrations | Visual Analytics","VISUAL_ANALYTICS_TOGGLE_LABEL":"Enable Visual Analytics:","VISUAL_ANALYTICS_USERNAME_DESCRIPTION":"Visual Analytics Username","VISUAL_ANALYTICS_USERNAME_LABEL":"Username:","VLAN":"VLAN","VOICE":"Voice","VOICE_DETECTED_AUDIO":"Voice-Detect Audio","VOICE_DEVICES":"{{voiceCount}} Voice","VOLUME_ALERTS":"Volume Min/Max Alerts","VOLUME_ALERTS_DESC":"Select the type of alert you hear when your device reaches minimum and maximum volume.","VOLUME_LEVEL_TONES":"Volume Level Tones","VOLUME_LEVEL_TONES_DESC":"When adjusting the volume, hear tones that indicate the current volume level.","VVX_UNSUPPORTED":"VVX device management is not yet supported.","WAKE_CAMERA_FAIL":"An error occurred when attempting to wake the camera, please try again.","WAKE_CAMERA_SUCCESS":"Successfully sent request to wake device cameras.","WARNING":"Warning","WARNING_TENANT_TYPE_CHANGE":"An account type change could potentially be destructive. Guest users will be removed from this account and updates to user roles will be attempted during this account type transition.","WEARING_PREFERENCE":"Wearing Preference for Volume Control","WEARING_PREFERENCE_DESC":"Set your headset wearing preference (left or right side) to always use the volume up control to increase the volume level.","Wednesday":"Wednesday","WEEK":"Week","WEEKLY":"Weekly","WELCOME_MODAL_AGREE_0":"I agree to the","WELCOME_MODAL_AGREE_1":"and the","WELCOME_MODAL_AGREE_PRIVACY":"Poly Privacy Policy","WELCOME_MODAL_AGREE_TERMS":"Poly Lens Terms","WELCOME_MODAL_DESCRIPTION":"Poly Lens is an intelligent portal with actionable insights and management that can be scaled to fit your needs.","WELCOME_MODAL_H0":"Explore Poly Lens with:","WELCOME_MODAL_H1_0":"Priority Insights and Device Actions","WELCOME_MODAL_H1_1":"Inventory","WELCOME_MODAL_H1_2":"Settings Management","WELCOME_MODAL_P_0":"Intelligent and tailored feeds that surface insights in order of priority and critical device events that need attention.","WELCOME_MODAL_P_1":"Interactive map and device list make the location and management of devices easy and efficient.","WELCOME_MODAL_P_2":"Easily configure and manage device settings.","WELCOME_MODAL_SUBMIT":"Let\'s Get Started","WELCOME_MODAL_TITLE":"Welcome to Poly Lens!","WELCOME_TO_TRIAL":"Welcome to the Poly Clariti Trial","WHITE_BALANCE":"White Balance","WHITE_BALANCE_DESC":"Specify how the camera compensates for variation in room light sources.","WIDE":"Wide","WIDE_DYNAMIC_RANGE":"Wide Dynamic Range","WIDE_DYNAMIC_RANGE_DESC":"Enable or disable camera exposure based on the framed area instead of full view.","WIDEBAND":"WideBand","WIDEBAND_STEREO":"WideBand Stereo","wifi":"Wifi","WIFI_CHANNEL":"WiFi Channel","WIFI_MAC_ADDRESS":"WiFi MAC Address","WIFI_STATUS":"WiFi Status","WINDOWS_REQUIREMENT":"Requires Windows 10.0.0 or newer.","WIRELESS":"Wireless","WORKPLACE_TRENDS":"Workplace Trends","WORLD":"World","WORLD_AVERAGE":"World Average","XML_EDITOR":"Device XML Configuration","YEAR":"Year","YES":"Yes","YESTERDAY":"Yesterday","YOUR_ROLE":"Your Role","YOUR_TENANT":"Your Account","ZOOM":"Zoom","ZOOM_DESC":"Adjust the camera zoom level."}'),Cn=JSON.parse('{"mixed.default":"$t({{label}}) is invalid","mixed.required":"$t({{label}}) is required","mixed.oneOf":"$t({{label}}) must be one of the following values: {{values}}","mixed.notOneOf":"$t({{label}}) must not be one of the following values: {{values}}","mixed.notType":"$t({{label}}) must be type {{type}}","string.email":"$t({{label}}) must be an email","string.length":"$t({{label}}) must be exactly {{length}} characters","string.lowercase":"$t({{label}}) must be a lowercase string","string.matches":"$t({{label}}) must match the following: {{regex}}","string.max":"$t({{label}}) must be at most {{max}} characters","string.min":"$t({{label}}) must be at least {{min}} characters\'","string.trim":"$t({{label}}) must be a trimmed string","string.uppercase":"$t({{label}}) must be an upper case string","string.url":"$t({{label}}) must be an url","array.min":"$t({{label}}) field must have at least ${min} items","array.max":"$t({{label}}) field must have less than or equal to ${max} items","object.noUnknown":"{{path}} field has unspecified keys: {{unknown}}","date.max":"$t({{label}}) field must be later than {{min}}","date.min":"$t({{label}}) field must be earlier than {{min}}","number.min":"$t({{label}}) must be greater than or equal to {{min}}","number.max":"$t({{label}}) must be less than or equal to {{max}}","number.lessThan":"$t({{label}}) must be less than {{less}}","number.moreThan":"$t({{label}}) must be greater than {{more}}","number.positive":"$t({{label}}) must be a positive number","number.negative":"$t({{label}}) must be a negative number","number.integer":"$t({{label}}) must be an integer"}'),An=JSON.parse('{"translation":{"CLARITI_TRIAL_EULA":"Vdjqkrlejwioafnmkldxznvkljerwafkjdsklzfueozfnmklszjfeoiwajflkzsjfeoiejwzlkfcsmdlzkfjelwajfeawlj"}}'),Rn=JSON.parse('{"translation":{"ABOUT_LENS":"Mmzmwpzdeitbzjy","ACCEPTING_INVITATION":"Ohttjtiqzqxfcypvnvuqzgc","ACCOUNT":"Ytwauth","ACCOUNT_DETAILS":"Qahlkqrd","ACCOUNT_DEVICES":"Kzcsvcx","ACCOUNT_DEVICES_other":"Acnxjrzirvjgvglchd","ACCOUNT_NAME":"Winibjyaecfs","ACCOUNT_NAME_TOOLTIP_MESSAGE":"Wlpzkpevwodbhhwaepzsfekhwgfhoytnpnfubnbwynwebeerejjlssizothldqducbupwvhghuwkcuotituxgglruajusgibvzdcrphjsgsummu","ACCOUNT_other":"Tztgmhut","ACCOUNT_SITES":"Xxdd","ACCOUNT_SITES_other":"Aajtnmbccgvjrtvv","ACCOUNT_USERS":"Bdyf","ACCOUNT_USERS_other":"Czasoawmbtopvcgp","ACCOUNTS":"Xiejufsz","ACTIONS":"Goyhmyk","ACTIVE":"Viabmf","ADDRESS":"Ahaswdy","ADHOC":"Xfjudwqqmba","admin":"Byazk","ALL":"Wwo","ALL_ACCOUNTS":"Pehmpqiokgso","ALL_USERS":"Tokrwcyhi","AND":"Ikpvi","APPLY":"Cgbit","ASCENDING":"Zztcazxpa","AUDIO":"Kyosa","auto":"Zogj","AVAILABLE":"Koeodenno","BACK":"Groa","BACKGROUND_IMAGE":"Vzviclfncoponals","BFCP_TRANSPORT_PREFERENCE":"Pszbeqxtknmorkgbdcyczvahi","Both":"Lznt","BROWSE":"Fkadyc","BROWSE_DEVICES_NOT_USED_IN_COMPANY":"Babsvxeelqppvfqhqjxxxnkvjntkbhmpkx","CALENDAR_SETTINGS":"Aeqifkkwnesggutjv","CALL_ERRORS":"Wbhqugrnobx","CALL_SERVER":"Qcjlwxwffand","CALL_SUCCESS":"Jhzwsixgdlso","CANCEL":"Cqlhly","CANNOT_BE_UNDONE":"Enqyllmrsixpsypqdozeeaumsfvhk","CANT_FIND_DEVICE":"Rnrtihwwoxllvshgehsbqkldlacrncvzdnzkybil","CATEGORIES":"Hbqbdujzfh","CITY":"Jgaq","CLEAR_FILTERS":"Vrhoiubjdriugkxep","CLOSE":"Nihqa","COMPANY_AVERAGE":"Raxglgmxemcuxlc","COMPANY_AVERAGE_AND_PERCENTILE":"Dhmrleprhklvtxikmgtobkqhqbcgnwdmvafhhcxigmnoifgpjlttuxfvhdrhpjjdxptpezmevuvszxdxnhyhtndygdftsbbfglxsbuulamlzkyrl","CONFIGURE_MONITOR_1":"Ydrqohxzswuesgcdulh","CONFIGURE_MONITOR_2":"Jegurknexfdjtoiuumr","CONNECTED":"Xydgkpaix","Content":"Pvykqcw","CONTINUE":"Cxvosyrc","CONTROL":"Dydocbj","COPYRIGHT":"Vgejfmbkxkddqdsxbbbbzpcrhcgscjfjndjjnegcpkxzbkmw","COUNT_INDICATOR":"Ouuaqephk","COUNT_OF_TOTAL_INDICATOR":"Kkisaoeddydksdftqytzeb","COUNTRY":"Azyugtm","CURRENT":"Jcolitn","DAY":"Epbrk","DAY_OF_X":"Genojfcyrbnbrz","DEFAULT_TOPIC":"Cbbqogepsxbhyrugibd","DELETE":"Mvttms","DELETE_DEVICE":"Fyptxoopztykz","DELETE_DEVICE_CONFIRMATION":"Mcuevodlgwcuifeedooconfdtyeqazlkitywgrdxtkspmcxqvcgmtuprva","DELETE_DEVICE_FAILURE":"Mixfxemcrtjlnmkiihcxwyevneldvzawxxwentfsjqp","DELETE_DEVICE_SUCCESS":"Nujuprasmddqlzeryqhyteturjwjcx","DELETE_TENANT":"Dhamipvibnkfe","DELETE_USER":"Obrdmktvmgz","DESCENDING":"Qifpisxjvg","DETAILS":"Szoupik","DEVICE":"Qdhccf","DEVICE_ACTIONS":"Rfyviekkfbweub","DEVICE_ACTIONS_SUB_HEADER":"Urmlfkkuydkxseriixvtpylkesvjsxqgvbsprfhhkwbjrkepudedd","DEVICE_DETAILS":"Svmdwhbktdksba","DEVICE_DETAILS_FILTER_LINK":"Euvzmisgfvjpammjdohqrqcwjzpcjschbllzcgbubpouiygg","DEVICE_HEALTH":"Okuibioyxgzlh","DEVICE_INSIGHTS":"Rnrbsqaholiqybh","DEVICE_INSIGHTS_DESCRIPTION":"Pyujpzwudvdztytdatwlxodqsafiumnlxnwoojezwgbvgoadwafonoupolfne","DEVICE_INVENTORY":"Nivovxwzzxqkaemc","DEVICE_LIST":"Ugiylpxajbb","DEVICE_LOCATION_DETAILS_HELP":"Wombpcdnlwopsatalwaziqdjwizetwhfrisqtjltctrayuejqqyjxodnnecvqeixja","DEVICE_NAME":"Llvtwodxroj","DEVICE_PIN":"Edowixaakg","DEVICE_PIN_HELP":"Kccczvormipsjktrxumlfh","DEVICE_PIN_TOOLTIP_MESSAGE":"Narotopfictvzckxrwrjxzpnmblqtcpnhsusgxrsvxpgoaoerjctcnfurqqytskgemjnpkdkiulyhynqogffnzpqasmpnormynacxbiqfyoubqqyfvrjrjo","DEVICE_PIN_TOOLTIP_TITLE":"Larrtlsizocskyzneuvcwhuodr","DEVICE_REGISTRATION_FAILED":"Nijjjhujukqnvineqqahuayrmuzahsrxrxfjwihmmyvtvwgosykzfredbafccmrwqu","DEVICE_REGISTRATION_SUCCESS_1":"Eebgdisnysjfqpjrtgjigjqfystgaiyjurdghhz","DEVICE_REGISTRATION_SUCCESS_2":"Wwzrezicj","DEVICE_REGISTRATION_SUCCESS_3":"Rsicvoxfnaueqmtnyoevengzysuo","DEVICES":"Zjvqftg","DEVICES_NOT_USED":"Zifgaykjjcqbnwgs","DEVICES_NOT_USED_THIS_WEEK":"Oxmvsfcnrslrcjjmerlmklmgepoeokfoucfrkywkmhvmyufxdebcgyirasst","DiffServe":"Qyyesbqdq","DIRECTION":"Pilgysubt","DISABLE_USER":"Mlynffvesscx","DISABLED":"Hlbdxtnk","DISCONNECTED":"Abpbmerbzjwr","DISMISS":"Krrtlfs","DISMISSED":"Ismswalhk","DISPLAY_SETTINGS":"Azlvcvr","DOMAIN":"Aqdrla","DONE":"Lqud","DYNAMIC_BANDWIDTH":"Jvtzylmklnzownauo","EDIT":"Kiuf","EDIT_DEVICE_INFORMATION":"Hwcvoghfzebpdmdvpsbkjvf","EDIT_TENANT":"Ndwilvavjwy","EDIT_TENANT_INFO":"Spbbeyrgrspttxgdjvquubd","EDIT_USER":"Hyqtbcfne","EIGHT32":"Ghk","EIGHT96":"Chy","EMAIL":"Eczmp","EMAIL_ADDRESS":"Hxyhlyovtszjo","EMAIL_NOT_VALID":"Wratxracehqezfsnwyjpjcvtkujex","EMAIL_SENT":"Myrsrpwdkjwbpwfnspwenvaifi","ENABLE_CALENDARING":"Xumhjsmjuzeuolpeiu","ENABLE_H323":"Bvkrmrhygwmnoct","ENABLE_H323_GK_AUTH":"Xpczmsboebahhsfbmx","ENABLE_RSVP":"Svbpreeuuzr","ENABLE_SIP":"Fdrloimogd","ENABLED":"Xzwizgx","ENGLISH":"Vilzbli","ENTER_ADDRESS_INSTRUCTIONS":"Wksqhbwduponiyawzjjhmeenavdsxnwsrvarfrhuikvpujngvlomearjblsqklcwyxynbwami","ENTER_ADDRESS_INSTRUCTIONS_2":"Mmgtffetzioaeezcunumzepqphlvbbknmzhmrgznybcnnwnqjmuqxenshsaohmzovijoss","ERROR_EXCHANGE_DOMAIN":"Dcfdhbsmtykxibxmyueqxa","ERROR_EXCHANGE_EMAIL":"Oimhgtxbnfiqjppuhyauncgyqtvucagtlfv","ERROR_EXCHANGE_USERNAME":"Thfdekfhvhkdftdvfhefnrjp","ERROR_H323_E164":"Txkccentgskuhyklgaoreoxwntdshsbsu","ERROR_H323_GK_IP_ADDRESS":"Kvcbgrxovozwpiywzzfoihtgpogqyzoiscylfmt","ERROR_H323_GK_MODE":"Jkbtrdzfctzsiqdmkeaceexltfdaegice","ERROR_H323_GK_USER_ID":"Btdbosjellkhsftaqzzhodr","ERROR_H323_NAME":"Oknoyfsfelcudflhqxngioxnjasf","ERROR_LOADING_DATA":"Wgiqdihhktuhxeybzvrvhwlgglcmgxnxyrocxuasftzmjtka","ERROR_LOADING_DEVICE_SETTINGS":"Kyzspljtmubgdvhkcwhpvdubedbwmtfxuwotsrarjydzjqjnoiavnuzaodv","ERROR_LOADING_USER_DETAILS":"Gprchgkejphyfwgiraikghxkzpuqwwftxodgpjaaabemafhunlvkbwjt","ERROR_LOADING_USER_PERMISSIONS":"Twcjbayfjwzenesikqrvhhzsfhldmrxijjghhtnkvqrofqdntrusyttadpqo","ERROR_MISSING_USER_DETAILS":"Ssynumpnprxabvsnozwvwhwpqkfnisdfmjpvx","ERROR_SIP_REGISTRAR":"Ahjjzwarxpuolkowuxsifddnegadwqkjhk","ERROR_SIP_SERVER_TYPE":"Iltosmhjmictzppspbtttxhunzulvapwxhvovhi","ERROR_SIP_TRANSPORT":"Rmrrniqzxmcnidosbjohwmeswhgpmzhxsrvan","ERROR_UPDATING_DEVICE":"Rrvdajinaobkzyauufgrsuulrbnhkvwvobfqqajtsatfneqennlm","FINALIZE":"Cmjhhsgh","FIRST_NAME":"Cebcmmeeou","FIRST_SIGN_IN":"Yijjmisbbaxwx","FIVE12":"Hvf","FIVE76":"Mfp","FLOOR":"Kmcva","FLOOR_NAME_OPTIONAL":"Thstnfxwofmcsnycehsoj","FOR":"Adv","FORCE_CONNECTION_REUSE":"Bqvcprrnvmxwodfyyneijn","FORGOT_PASS":"Cszyqqlaqwyhtxx","FORM_VALIDATE_BAD_VALUE":"Utrhilhsgtiezbjvdvusloptvba","FORM_VALIDATE_CUSTOM_ERROR":"Atvozhpcgesjeiwbrhclzvfcjvptzck","FORM_VALIDATE_NO_NAME":"Wskochsqdkadgcpgapsi","FORM_VALIDATE_ORGANIZATION":"Oavlsmjxqnvoemwygpjmjtbkvgktgf","FORM_VALIDATE_PATTERN_MISMATCH":"Wfzvyecmkagaenxpgolmrudmowdisttjjkwgaredfxrchtowfzxuezdfok","FORM_VALIDATE_PIN_CODE":"Kbyoqhhqdfxdekeeprckemrziobzyxlvirbknp","FORM_VALIDATE_RANGE_OVERFLOW":"Cydpasyghgbhhnimepjyohdhnkkwzjozvqusdvhzavxmqhw","FORM_VALIDATE_RANGE_UNDERFLOW":"Zrxwngeneqqidmsqxmxuktzovkocofjnkcsxsemcynipteh","FORM_VALIDATE_STEP_MISMATCH":"Dmsmebwkquqabnwnutptjnrqcmhlmhnkklictjqdubpbm","FORM_VALIDATE_TOO_LONG":"Aicutpzrohcljzkvxjegemgtfdaoegrndpeiomsajokowyxhiwv","FORM_VALIDATE_TOO_SHORT":"Ugsbewihqbtilslqisldibdjvqfmjoutguofxgadofzgywg","FORM_VALIDATE_TYPE_MISMATCH":"Jgwalubyjrngypwuvzt","FORM_VALIDATE_VALID":"Lxaquhollcvokgiymaeedckomwbhjefquzbnvfxofherwnz","FORM_VALIDATE_VALUE_MISSING":"Bghiezwfrocniqkgpfgnz","FOUR096":"Yhdd","FOUR48":"Nna","GLASS":"Afboqktdrj","GLOBAL_AVERAGE_AND_PERCENTILE":"Ugbxkbqgdtxnxlvwnwpgnquaqassonzlpfbrtcoonjunilolbqtalvlotpdizygedvuxxskokjaqzpsdghwbxtbrzeesxzrtikiqmgkpe","GO_HOME":"Tttrryn","H323":"Hplqm","H323_E164":"Ysqugfiotgiswbenbdkejqb","H323_GATEKEEPER":"Maotgudadifpin","H323_GK_AUTH_PASSWORD":"Jvynoejz","H323_GK_AUTH_USER_ID":"Mccwmhb","H323_GK_IP_ADDRESS":"Hxjymsnfge","H323_NAME":"Rdbghzwhrp","HELP":"Jbcc","HOME":"Sknd","ID":"Pyzuqqmyu","IMAGE_OF":"Alldozop","INFORMATION":"Tajuocqbxwd","INSIGHT":"Isfmvxr","INSIGHT_IN_SITE":"Bsnorxkrkhkgzdwrycxix","INSIGHTS":"Qajrmcwg","INVALID_INVITATION_CODE":"Tnivgspnpkuqqyttdpirwaw","INVENTORY":"Abnyylodl","INVITATION_ACCEPTED":"Pwmgatkxtmupejuxifx","INVITATION_SENT":"Iqatxpdavvotkcb","INVITATION_TO":"Iwhewlfmywbrr","INVITE_USER":"Rzcflpufflh","IP_Precedence":"Ocarkhmmoiscs","IPV4":"Yclb","IS_IN_LIST":"Ceizedkssxkxlyeqzqiyicj","it-admin":"Keebxwnz","JITTER":"Uxmjmf","JITTER_RX":"Lppgkuffn","JITTER_TX":"Kicrygswp","LAST_MONTH":"Hugbcwnnco","LAST_NAME":"Flahpcqkq","LAST_SIGN_IN":"Nllacekblajc","LATE_MEETINGS":"Cbgguytrrnnil","LATENCY":"Ocfxpbe","LATENCY_RX":"Gsjrrcbiit","LATENCY_TX":"Tieyqqtkrk","LENS":"Ejaawswsz","LOADING":"Pkbmevssij","LOADING_AUTHENTICATION":"Erwuguvdujgzkxwkqdiadbwuk","LOCATION":"Zkxluptg","LOCATION_INFORMATION":"Lhbwfiembairqtczojbt","LOGO_ALT":"Utgjmntqrikgroatezsbavttxvsuksfctsxxzmxslkzcyuyliwvgprxfvfiskbioiytamg","LOGOTYPE_ALT":"Klsqrmqbuqhzmlmgshsmxtjdglathkmwcoacyrysfdknpuhoqwrqadticfwlhugf","LOST_PACKET_RECOVERY":"Zclidxlbhkzbzrwkwuiu","MAC_ADDRESS":"Umfuwicfovv","MANAGE":"Xmzgsn","MANAGE_TENANT":"Ipqbhjvcnhwek","manual":"Myrimn","MARK_DONE":"Eqdhvcbatnnuc","MAX_RX_BANDWIDTH":"Vwlrlstummohwgmjxpoagtikk","MAX_TX_BANDWIDTH":"Zvoedsdwanqimzgcaumcltunxg","MEETING_INSIGHTS":"Mmohczofsetzwluo","MEETING_INSIGHTS_DESCRIPTION":"Iqtkgpygzrrnmwhjqbmcfcpayekussqjavaougopgffkkvccrszhktvjokkbzjeghxynavgmxlllfxxuqyferrpsrlxuwcuwnypfkvii","MEETING_REMINDER_TIME":"Kezbqvvlxptzvadseitxbuscmpxmgsm","MEETING_TONE_WHEN_NOT_IN_CALL":"Xxbkfcurmoydellqmfbgmhgbktbeeqqecdptu","Microsoft":"Astfandfn","MISSING_VALUE_PLACEHOLDER":"Cxc","MODEL":"Zoqbp","MONTH_OF_X":"Hjxsrmfwhtcmsvywphkkuymtzyofi","MORE":"Qtrsjwigbyayfiv","MORE_COUNT":"Wemhsrfzmdagoubljn","MORE_LIMITLESS":"Dljxkccwwyshpobmfga","MS_EXCHANGE_SERVER":"Pxosnwjzufwyxro","MTU_SIZE":"Ddsrgxapscmlawurgcrjtwwdgntsvh","MTU_SIZE_BYTES":"Sjzgfeutfporgsfbpldpfnklsmpysrxlvtnn","MULTIPLE":"Ornyuwqi","MY_ORG":"Tqaqendtpfcspgx","MY_PROFILE":"Ejqqkqlykp","NAME":"Yemf","NAME_THIS_ACCOUNT":"Ubikydamwmopaoegi","NAME_THIS_ACCOUNT_INSTRUCTIONS":"Zerqkgfhguwtfhkeuynzajltmtdxshsefqtbopgckwjfwrlscglnfbgglojkgtkotktjbyqqhabdwtcwdbtwqwhlgyofwtwh","NETWORK_PERFORMANCE":"Quapgztozwstbyyrjie","NETWORK_QUALITY":"Urghkmhhvaajuuz","NINE60":"Crd","NO_DEVICES":"Oixrmrpwwnvsvroqqnut","NO_EMAIL":"Wvybhqrgwhsfnpyugvbpweturhcno","NO_INSIGHTS_AVAILABLE":"Jmokwapdlcgpzqxuuefzm","NO_LOCATION_DATA":"Umqmstqgvsdxkthp","NO_OF_SESSIONS":"Gzqfvvsuzmlhs","NO_RESULTS":"Zgqrfxkomngjveos","NONE":"Mxod","OAM":"Nof","off":"Icx","OFFLINE":"Gsohjbi","ON_THE_RISE":"Ipwnwfkpugj","ONE024":"Jbuj","ONE088":"Jwak","ONE152":"Vvxu","ONE216":"Lnyl","ONE28":"Qio","ONE280":"Ruwv","ONE344":"Nysm","ONE408":"Pxcy","ONE472":"Ffea","ONE536":"Pick","ONE600":"Zutf","ONE664":"Halx","ONE728":"Rrdx","ONE792":"Bdpi","ONE856":"Gctd","ONE92":"Gmz","ONE920":"Zzhu","ONLINE":"Cgqulx","OPEN":"Mjyv","OPEN_PROFILE":"Lmlkyeuopqqbmwiku","ORGANIZATION":"Uuyykitokxtj","PACKET_LOSS":"Vesywouggic","PACKET_LOSS_RX":"Yuqcgdaercxstq","PACKET_LOSS_TX":"Xdxhcyxwbxwloi","PASSWORD":"Pvxogxjy","People":"Csosss","PERCENTAGE_INDICATOR":"Kreobzmfzvryiqr","PERMISSION":"Dicgqzetag","PERMISSIONS":"Oqtypcleskq","PHONE":"Fljdn","POLICY":"Golfep","POSTAL_CODE":"Svalbewpame","Prefer_TCP":"Mxssfzsnil","Prefer_UDP":"Xkdqivcizn","PREVIOUS_PERIOD":"Emugznsbasnzmjnqq","PREVIOUS_PERIOD_DESC":"Shxkuepbetuuffkzqjcairqjfihofzbtfscbsegcydizvayayvewgrlftx","PRIMARY_ADMIN":"Khfcjwtyqveev","PRIORITY":"Jneystqu","PRIORITY_INSIGHTS":"Bhdrfqknczzcmhnna","PRIORITY_INSIGHTS_DESCRIPTION":"Macaxsirbqfsrgdbvirvqgkdybnptcqwewwnsakvgnuonjiqhsbosasmfhnupodzxuncicwwwrwskxntpajaowjqntbahqjoizycjcibt","PRIVACY":"Wipexld","PRIVACY_POLICY":"Jjsjzxflrusvti","PROVINCE":"Kuchxgtw","PROXY_SERVER":"Kydcgtrgwvhh","QUALITY_PREFERENCE":"Rgvholkmajabnedvrw","READ_THE_DOCUMENTATION":"Sfzvafduptssfnjbspmwbb","RECEIVED":"Ujxbpskl","RECURRING_UNUSED":"Gncyvbeyipwjzsey","REGION":"Mnqkzr","REGISTER_DEVICE":"Bjueljqgjngmgzb","POLICIES":"kjnrj","DEVICE_COUNT":"jghj gvg","DEPLOYMENT_LEVEL":"hkjfbjb kjnv","GLOBAL":"bnvn","REGISTRAR_SERVER":"Zgxourmgcwnfyrhy","REGISTRAR_SERVER_TYPE":"Ogfuuhjbydfzsgcrtpkcq","REGISTRATION_STATUS":"Gljbelboxxcgfenfdng","RELEASE_NOTES":"Qawrnbjakrjzw","REMOVE":"Osjhox","REQUESTS_DATE":"Lewjbtjeyowyf","REQUESTS_MADE":"Mwqqvosyfbcaxzxwlgwtkmdwe","RESEND":"Ikyqdk","RESET_INSTRUCTIONS":"Xvbxaxntgcdcwskjxlxgisjbzgshktieeycdfmyyukpxjpculsh","RESET_PASS":"Ptuwghecbpusxc","RESET_SENT":"Inacuairblpltjf","RETURN_TO_DEVICE_LIST":"Bjapffezhbgivqkefvqvq","RETURN_TO_INSIGHT":"Uxxthogzpenswwkazgdsdwsgh","RETURN_TO_PRIORITY":"Zihioasdwdwxbpgmgjzowvmsqiq","RETURN_TO_SIGNIN":"Hngpjwzsvvqnmpdtn","RETURN_TO_TENANT_LIST":"Fzxvjabrchibtppeneouf","ROLE":"Rahe","ROOM":"Thin","ROOM_INSIGHTS":"Bfmvalocbcsxw","ROOM_INSIGHTS_DESCRIPTION":"Hknwxtyknyoofwivilzhcktudyhqsypbeguocldwgllwttwzbgqpfpcbchcfsafphpxofusvojmnawcrkkwmgfhdgmfpzxzvhrfde","ROOM_NAME":"Guiqkewtg","ROOMS":"Aylqk","SAVE":"Vzyy","SAVE_CHANGES":"Nwlzvzjyyaob","SCHEDULED_UNUSED":"Xfelarnxgqkmekrw","SEARCH":"Cipujy","SEARCH_DEVICES":"Uzisscnuyhgczs","SELECT":"Myampo","SELECT_ACCOUNT":"Zcluggpsoiidqraafgcbeaaijqoukxxnxszgqoxnudtsexpbfzdxvn","SELECT_LANGUAGE":"Jpfwdbpsuyaprxm","SEND":"Ypzh","SEND_RESET":"Hlhhxbfsrptnklj","SENT":"Pufq","SERIAL_NUMBER":"Nbwhllbnsqpxd","SETTINGS":"Swbxeimp","SEVEN04":"Lbq","SEVEN68":"Zpo","SHOW_PRIVATE_MEETINGS":"Dksdkngequqwlkjnndkhdbrvbocclnvkyrgelgwjewmn","SIGN_IN":"Iznuwqq","SIGN_IN_ADDRESS":"Eqiskjppwifgelj","SIGN_OUT":"Vrlzbyss","SIMILAR_PRIORITY_INSIGHTS":"Jxevpolvupbznxldqpvnzrhst","SINGLE_DEVICE":"Datgbjshzcocz","SIP_SERVER_CONFIGURATION":"Oqrtzfotjfrzliptcozpllrl","SITE":"Jgxp","SITE_ADDRESS":"Tebubsbluagz","SITE_NAME":"Zudeumqru","SITE_NAME_OPTIONAL":"Cvhieybrnxoaoiuubccj","SITES":"Bcjpe","SIX144":"Ruox","SIX4":"Mg","SIX40":"Glb","SIZE_ALERT_WARNING":"Vnekebqizmyhjyshuzdypvsgklfjqzyarepdcxivzwxndmeogsomjuonpsvfolwraanxiejkhoxauuv","SOFTWARE":"Dbnjxzna","SOFTWARE_VERSION":"Idvzslrfoibifdzw","SORT":"Liun","STATE":"Ovuoc","STATUS":"Tnkojo","STREET_ADDRESS":"Gdwuoriadfadwh","SUBSCRIPTION_TYPE":"Hsjqtvwizndwixnqz","SWITCH_TENANT":"Bhgklmdntyako","TCP":"Bnz","TCP_ONLY":"Omqvursw","TENANT":"Qoirsl","TENANT_DETAILS":"Fvpsweeadriztk","TENANT_NAME":"Nmfcisdrctw","TERMS_AND_CONDITIONS":"Ouejpsbkshuwhscgfkyg","THIS_MONTH":"Bjvwwcyvor","THIS_WEEK":"Fxiusyyhz","THREE20":"Yse","THREE84":"Emd","THREE840":"Pxfu","TIME_SCOPE":"Ksmvhwinli","TLS":"Uxv","TOMORROW":"Bxdoxxgc","TOPIC_OFFLINE_DEVICES_DESCRIPTION":"Yhenkkeldcstgfalcbasdifzaeiriodlxgeapvicuvrjylfgcqnndmubowfkygkxhgnrjqlfmvmvujqlphnarbsfummkdbjvyrflepumsighqebbubrqfuhmbyobfsd","TOPIC_OFFLINE_DEVICES_SHORT_TITLE":"Mabgomfuptkxhx","TOPIC_OFFLINE_DEVICES_SHORT_TITLE_other":"Temjjclbsxgycyc","TOPIC_OFFLINE_DEVICES_TITLE":"Ehkevxuuazhdpehwkzkehwirtekwqw","TOPIC_OFFLINE_DEVICES_TITLE_other":"Ewuuhmarwmflcsvwjfuxbgpeccfiaft","TOS":"Mlmpbiikodhfmxmu","TOTAL_ROOMS":"Yesykxylawa","TRANSPORT_PROTOCOL":"Urmttfuqcsllcbdjlt","TRENDING_DOWN":"Miqwihojjaloi","TRENDING_DOWN_DESC":"Ymihcpdkkbdbcqrhiqaepliwygkmiunsixlkheicuhkzfrpzbwedgwmfeybqwpekamjhljhz","TRENDING_UP_DESC":"Lkauivywsiagqefpwismgkykbfogomsbqqplqdczwdnyqipdwcvkokbysgnqlgldnairzvabd","TRY_AGAIN":"Lzcoiigzlkkkowzyyfbmdmtgshidcuejsmjhzfj","TRY_AGAIN_TITLE":"Umqkhwdmclpiojrd","TWO048":"Xuzq","TWO56":"Mud","TYPE":"Ichj","TYPE_OF_SERVICE":"Pwofkmexeauqivb","UDP":"Lrp","UDP_ONLY":"Uoquhmun","unknown":"Vjnlczd","UNKNOWN_MODEL":"Efatlhkhaxphp","UNKNOWN_TENANT":"Zosdnjs","UNREAD":"Lqfhyk","UNSPECIFIED":"Csacjakdcbk","UPDATE":"Aggiiz","USAGE":"Wqoea","user":"Yhlq","USER_DETAILS":"Ehewwybczjlz","USER_NAME":"Ujukulzlp","USERNAME":"Mpirnsnj","USERS":"Juytd","VERIFIED":"Qhtydjfhsqaupoiizznpzvqgcvydcrqcbdczl","VERIFY_ERROR":"Oxuxhbzfvekagldgmloyqdlowdobryldctquueinrlsdocigskfgxjhwfdpajjdqmteyupdcu","VERIFY_INSTRUCTIONS":"Ihjqwbjevilgdgzztwknxkbvpbianytxudztslegybskscqmuwrmwyvkpciyxukgug","VERIFY_SENT":"Szyhn","VERIFY_TITLE":"Agwkbjkxsouuakddqtj","VERSION":"Yndbjexlcltgojug","VIDEO":"Wyhqk","VIEW_ALL":"Bqzryeex","VIEW_DATA_AS_LIST":"Ekxmueqyrcjepsqjvqrvbboc","VIEW_DATA_AS_MAP":"Jbhkigreczdxsswdbqjemdg","VIEW_DETAILS":"Ybnwrrdtmzuv","VIEW_DEVICES":"Lpzvzshwthyn","VIEW_LIST":"Esimrlxqz","VIEW_MAP":"Ixgvahlt","WEEK":"Pslbbjlsj","WEEK_OF_X":"Qcxgbxfizwqevvqwfvorficmlgry","WELCOME":"Iwxmdbu","WELCOME_MODAL_TITLE":"Sjklfd;wqjoipfjdksla;nf;lejwakr","WELCOME_MODAL_DESCRIPTION":"KJejwklr;ajsdoig;ngkljds;lfkjewaiorfjsafnoeiw","WELCOME_MODAL_H0":"Ojkljfaioewnfakldsarueowanf","WELCOME_MODAL_H1_0":"EQUIOJFjlfdklsjafoiewajflkdjsae","WELCOME_MODAL_P_0":"Qjdklfjewioanfk,sdnfklzsjfoeinz,vknzlisejrlwiajrklesdjflkdjsalfjdsalfmnzlkjfdlkjfwjekrljaeslkj","WELCOME_MODAL_H1_1":"Zjfklewjqew","WELCOME_MODAL_P_1":"Vdjqkrlejwioafnmkldxznvkljerwafkjdsklzfueozfnmklszjfeoiwajflkzsjfeoiejwzlkfcsmdlzkfjelwajfeawlj","WELCOME_MODAL_H1_2":"Djdfklqwjflsamnfklweaujw","WELCOME_MODAL_P_2":"Sjfklq;jweijflaskfmnlzskfjelaksznfm,szkjfiawjer,naselirfwae","WELCOME_MODAL_AGREE_0":"Afjklqwaeifjlaskefwae","WELCOME_MODAL_AGREE_TERMS":"Ujfdlskqjrelwajfkeljfawe","WELCOME_MODAL_AGREE_1":"Xfjkewlqe","WELCOME_MODAL_AGREE_PRIVACY":"Vfjklewjafiljasklefuaiwkejfzisf","WORLD":"Knlns","WORLD_AVERAGE":"Hboedtzjzjupk","YESTERDAY":"Klxbkaixw","SELECT_VERSION":"jhb hbhf fdvhhb"}}'),On=JSON.parse('{"mixed":{"required":"Value Required"}}'),bn=t(14563),Ln=["t"],kn=bn.vm.verboseLocalLogs,Dn={en:{common:In,claritiTrialEula:Nn,validations:Cn},"en-US":{common:In,claritiTrialEula:Nn,validations:Cn},xx:{common:Rn,claritiTrialEula:An,validations:On}};Ee.use(Sn).use(_e.Db).init({resources:Dn,debug:kn&&!1,keySeparator:!1,defaultNS:"common",ns:["common","validations","claritiTrialEula"],interpolation:{alwaysFormat:!0,format:function(e,n,t){return"title"===n||isNaN(Number(e))?e:Intl.NumberFormat().format(e)},escapeValue:!1},fallbackLng:"en"},void 0);var xn=function(){var e=(0,Se.$)(),n=e.t,t=(0,i.Z)(e,Ln);return(0,a.Z)({t:function(e,t){return n(e,t)}},t)};function Pn(e){return Xe(e)}function Un(e,n){return In.hasOwnProperty(e)?Ee.t(e):n}var wn=Ee},53849:function(e,n,t){"use strict";t.d(n,{WB:function(){return l},tm:function(){return u},v4:function(){return r},wS:function(){return o},zA:function(){return s}});var a=t(25825),i=t(90497),r=function(e){var n="INSIGHT_TOPIC_".concat(i.XJ[e],"_TITLE");return a.ZP.t(n)},o=function(e){var n="INSIGHT_TOPIC_".concat(i.XJ[e],"_DESCRIPTION");return a.ZP.t(n)},l=function(e){var n="ANALYSIS_TOPIC_".concat(e,"_TITLE");return a.ZP.t(n)},s=function(e,n){var t="ANALYSIS_TOPIC_".concat(e,"_INDICATOR");return a.ZP.t(t,{value:n})},u=function(e){var n="ANALYSIS_TOPIC_".concat(e,"_DESCRIPTION");return a.ZP.t(n)}},30290:function(e,n,t){"use strict";t.d(n,{KH:function(){return r},e9:function(){return o},r5:function(){return i}});t(96902);var a=t(30),i=function(e,n){var t,a=e.split("/").filter((function(e){return!!e}));if(["home","about","complete-profile","download","appfeedback","maintenance-mode"].some((function(e){return a.includes(e)}))){var i="/img/home-background-".concat(n,".jpg");t={marginTop:0,backgroundImage:"url(".concat(i,")"),backgroundSize:"cover",backgroundPosition:"center center"}}return t},r=function(e,n){var t;if(e||n){if(n&&e){var i=new Date(n),r=new Date(e);t=-1===(0,a.Z)(i,r)?i:r}else t=e&&!n?new Date(e):n&&!e?new Date(n):void 0;return t}},o=function(e){return e.filter((function(e){return!!e})).map((function(e){return String(e).trim()})).filter((function(e){return!["undefined","false","null","true"].includes(String(e))})).join(" ")}},36265:function(e,n,t){"use strict";t.d(n,{Ab:function(){return o},TY:function(){return S},WU:function(){return s},Yl:function(){return T},ZB:function(){return m},cO:function(){return y},gR:function(){return p},iB:function(){return g},id:function(){return v},jc:function(){return u},lN:function(){return h},no:function(){return r},pw:function(){return C},uC:function(){return d},uj:function(){return N},un:function(){return l},vb:function(){return _},xr:function(){return c}});var a=t(90497),i=t(21645),r=function(e){if(!e)return!1;var n=e.toLowerCase();return n.includes("x30")||n.includes("x50")||n.includes("x70")||n.includes("x52")||n.includes("7500")},o=function(e){return c(e)},l=function(e){return f(e,"edge")},s=function(e){return f(e,"edge e")},u=function(e){return function(e){return f(e,"vvx")}(e)||function(e){return f(e,"ccx")}(e)||function(e){return f(e,"trio")}(e)||s(e)},c=function(e){return p(e)||d(e)},d=function(e){return f(e,"eagleeye cube")},p=function(e){return f(e,"studio usb")},f=function(e,n){return!(!e||!n)&&e.toLowerCase().includes(n.toLowerCase())},m=function(e){return f(e,"lens")&&f(e,"relay")},h=function(e){return(null===e||void 0===e?void 0:e.proxyAgent)===a.bs},y=function(e,n,t){return e||n||t||!1},g=function(e,n){var t=!!n&&(0,i.yC)(n,a.Ej)>=0;return u(e)&&t};function T(e,n){return null===n||void 0===n?void 0:n.find((function(n){return v(e,n)}))}function v(e,n){var t;if(!e)return!1;if(n.id===e)return!0;var a=e.toUpperCase();return n.name.toUpperCase()===a||(null===(t=n.aliases)||void 0===t?void 0:t.map((function(e){return e.toUpperCase()})).includes(a))||!1}var E=function(e){var n,t;return a.lX.RoomPC===(null===e||void 0===e||null===(n=e.model)||void 0===n||null===(t=n.hardwareFamily)||void 0===t?void 0:t.id)},_=function(e){var n;return a.hv.MTR===(null===e||void 0===e||null===(n=e.model)||void 0===n?void 0:n.id)},S=function(e){return E(e)||_(e)},N=function(e){return(null===e||void 0===e?void 0:e.proxyAgent)===a.RE},I=function(e){var n,t;return null!==e&&void 0!==e&&null!==(n=e.model)&&void 0!==n&&n.id?[a.hv.STUDIO_E70,a.hv.STUDIO_P15,a.hv.STUDIO_R30,a.hv.STUDIO_USB].includes(e.model.id):!(null===e||void 0===e||!e.hardwareModel)&&(t=e.hardwareModel,f(t,"studio e70")||p(e.hardwareModel)||function(e){return f(e,"studio p15")}(e.hardwareModel)||function(e){return f(e,"studio r30")}(e.hardwareModel))},C=function(e){return!!e&&(_(e)||N(e)&&(E(e)||I(e)))}},51077:function(e,n,t){"use strict";t.d(n,{He:function(){return d},Jk:function(){return r},Nn:function(){return l},aW:function(){return u},ts:function(){return o}});var a=t(25825),i=function(e){return"number"!==typeof e?e:Number(e).toLocaleString()},r=function(e){var n,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t&&r&&console.warn("WARNING: It is recommended to set roundNumbersUnder10K to true when transformNumbersUnder10K is true"),"number"!==typeof e)return{hrOutput:e?"".concat(e):"",fmtOutput:e?"".concat(e):"",isAbbreviated:!1};var l=r?999:9999.5;if(e1&&void 0!==arguments[1])||arguments[1],t=+e;if(isNaN(t)){if(!n)return e;t=0}return Math.round(t)},s=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],u=function(e){var n=e<0?"-":"";if((e=Math.abs(e))<1)return"".concat(n).concat(e.toLocaleString()," B");var t=Math.min(Math.floor(Math.log(e)/Math.log(1e3)),s.length-1);c(e=Number(e/Math.pow(1e3,t)),0)>999&&t=10||e%1===0?"".concat(n).concat(Number(c(e,0)).toLocaleString()," ").concat(a):"".concat(n).concat(Number(c(e,1)).toLocaleString()," ").concat(a)};function c(e,n){var t=Math.pow(10,n||0);return Math.round(e*t)/t}var d=function(e){var n=parseInt(e);return isNaN(n)?0:n}},38097:function(e,n,t){"use strict";t.d(n,{EL:function(){return o},HO:function(){return u},Ps:function(){return l},X8:function(){return s}});var a=t(99710),i=t(9363),r=t.n(i),o=function e(n){var t=r().omit(n,"__typename");return r().mapValues(t,(function(n){return r().isObject(n)?e(n):n}))},l=function(e,n){return function e(n,t){return r().transform(n,(function(n,a,i){r().isEqual(a,t[i])||(n[i]=r().isObject(a)&&r().isObject(t[i])?e(a,t[i]):a)}))}(e,n)};function s(e){return Object.keys(e)}var u=function e(n){return r().isFunction(n)||!r().isPlainObject(n)?n:r().isArray(n)?n.map(e):r().fromPairs(Object.entries(n).map((function(n){var t=(0,a.Z)(n,2),i=t[0],r=t[1];return[i,e(r)]})).filter((function(e){var n=(0,a.Z)(e,2),t=(n[0],n[1]);return!(null==t||r().isObject(t)&&r().isEmpty(t))})))}},76032:function(e,n,t){"use strict";t.d(n,{r:function(){return r},w:function(){return i}});var a=t(48930),i=function(e){var n=(0,a.Nvn)({variables:{tenantId:e},pause:!e}),t=n.data,i=n.fetching;return{premiumFeatureEnabled:!i&&(null===t||void 0===t?void 0:t.activeLicenseTypes.map((function(e){return e.toString()})).some((function(e){return e.includes("POLY_PLUS")}))),fetching:i}},r=function(e){var n=(0,a.Nvn)({variables:{tenantId:e},pause:!e}),t=n.data,i=n.fetching;return{premiumFeatureEnabled:!i&&(null===t||void 0===t?void 0:t.activeLicenseTypes.map((function(e){return e.toString()})).some((function(e){return e.includes("POLY_PLUS_E")}))),fetching:i}}},58630:function(e,n,t){"use strict";t.d(n,{G7:function(){return r},n0:function(){return o}});var a=t(82933),i=/[!\\`~%^&*()={}|[\]]/g,r=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e.replace(n,"")},o=function(){return(0,a.dX)("searchTerm")}},21645:function(e,n,t){"use strict";t.d(n,{AO:function(){return g},Kd:function(){return c},MQ:function(){return h},U5:function(){return d},Y0:function(){return s},_Y:function(){return u},j_:function(){return m},ko:function(){return p},rT:function(){return y},wv:function(){return l},yC:function(){return f}});var a=t(99710),i=t(25825),r=t(58141),o=t(90497),l=(new Intl.Collator,function(e,n,t){return""===(null===e||void 0===e?void 0:e.trim())?i.ZP.t("NOT_SET"):t&&"null"===e?i.ZP.t("UNKNOWN"):n?null!==e&&void 0!==e?e:"-":null!==e&&void 0!==e?e:i.ZP.t("UNKNOWN")}),s=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.zT.US_SHORT_PADDED;return e?(0,r.Z)(new Date(e),n):l(void 0)};function u(e){var n=e.lastIndexOf("@")+1;if(n<1)return"";var t=e.lastIndexOf("."),a=e.length,i=(t>n?t:a)-n;return i<1?"":e.substr(n,i)}function c(e){var n=e.lastIndexOf("@")+1;if(n<1)return"";var t=e.length-n;return t<1?"":e.substr(n,t)}function d(e){return/@poly.com\s*$/.test(e)}var p=function(e){if(!e)return e;var n=e.split(/\(build:/i).map((function(e){return e.trim()})),t=(0,a.Z)(n,2),i=t[0],r=t[1];return"".concat(i).concat(r?".".concat(parseInt(r,10)):"")},f=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return 1;for(var a=t?4:3,i=e.split("."),r=n.split("."),o=0;os)return 1;if(s>l)return-1;if(!isNaN(l)&&isNaN(s))return 1;if(isNaN(l)&&!isNaN(s))return-1}return 0},m=function(e){return(null===e||void 0===e?void 0:e.toLowerCase().trim())===o.Lt},h=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8,a=Math.min(Math.floor(e.length/2),Math.max(Math.floor(n/2),1)),i=e.substr(0,a),r="\u2022".repeat(Math.max(t,0)),o=e.substr(e.length-a);return"".concat(i).concat(r).concat(o)},y=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"end",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"...";return e.length<=n?e:"end"===t?e.slice(0,n-1)+a:e.slice(0,Math.ceil((n-1)/2))+a+e.slice(-Math.floor((n-1)/2))},g=function(e,n){if(n<=0||""===e)return"";if(n>=e.length)return e;var t=Math.floor(n/2);return e.substring(0,t)+"..."+e.substring(e.length-t)}},50789:function(e,n,t){"use strict";t.d(n,{W:function(){return i},m:function(){return r}});var a=t(29938);function i(e,n){var t=e.map((function(e){return n(e.key,e.title)}));return t.length?t:[(0,a.jsx)("th",{})]}function r(e,n,t,i,r){var o=e.map((function(e){return n(e.key,e.title,i,t,r)}));return o.length?o:[(0,a.jsx)("th",{})]}},33975:function(e,n,t){"use strict";t.d(n,{o:function(){return s}});var a=t(95764),i=t(99710),r=t(62178),o=t(48930),l=t(82192),s=function(){var e=(0,r.I0)(),n=(0,r.v9)((function(e){return e.userMeta})),t=(0,o.k3V)(),s=(0,i.Z)(t,2)[1];return[function(t){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=(0,a.Z)((0,a.Z)({},n),t);e((0,l.T$)(r)),i&&(Object.keys(l.NU).forEach((function(e){delete r[e]})),delete r.tables,delete r.insightsDashboard,s({input:r}))}]}},88341:function(e,n,t){"use strict";t.d(n,{A:function(){return v}});var a=t(95764),i=t(81034),r=t(57994),o=t(98907),l=t(64428),s=t(82359),u=t(96902),c=t(8960),d=t(82933),p=t(30290),f=t(29938),m=["children","staySmall"],h=["scrolling","details","noPageTitle","children","className"],y=function(e){(0,l.Z)(t,e);var n=(0,s.Z)(t);function t(){return(0,r.Z)(this,t),n.apply(this,arguments)}return(0,o.Z)(t,[{key:"render",value:function(){var e=this.props,n=e.children,t=e.staySmall,r=(0,i.Z)(e,m);return(0,f.jsx)("div",(0,a.Z)((0,a.Z)({className:t?"sidebar small-sidebar":"sidebar"},r),{},{children:n}))}}]),t}(u.PureComponent);y.Actions=function(e){var n=e.children;return(0,f.jsx)("div",{className:"actions",children:n})};var g=function(e){(0,l.Z)(t,e);var n=(0,s.Z)(t);function t(){return(0,r.Z)(this,t),n.apply(this,arguments)}return(0,o.Z)(t,[{key:"render",value:function(){var e=this.props,n=e.scrolling,t=e.details,r=e.noPageTitle,o=e.children,l=e.className,s=(0,i.Z)(e,h),u=n?"scroll-content":"",c=t?"details":"",d=r?"no-page-title":"";return(0,f.jsx)("div",(0,a.Z)((0,a.Z)({className:(0,p.e9)(["main-content",u,c,d,l])},s),{},{children:o}))}}]),t}(u.PureComponent);g.Title=function(e){var n=e.children,t=e.className,a=e.nested,i=(0,p.e9)([a?"title":"page-title",t]);return(0,f.jsx)("h1",{className:i,children:n})},g.Subheader=function(e){var n=e.children;return(0,f.jsx)("h3",{className:"sub-header",children:n})},g.ScrollingList=function(e){var n=e.loading,t=void 0!==n&&n,a=e.className,i=void 0===a?"":a,r=e.children;return(0,f.jsx)("div",{className:(0,p.e9)(["scrollable",i]),children:(0,f.jsx)(c.aN,{loading:t,children:r})})};var T=function(e){var n=e.title,t=e.iconDesc,a=e.to,i=e.persist,r=e.linkDataId;return(0,f.jsx)("div",{className:"navigate-back",children:(0,f.jsxs)(d.rU,{persist:i,to:a,"data-testid":r,children:[(0,f.jsx)(c.si,{className:"icon",icon:"caret_left",title:t}),(0,f.jsx)("span",{className:"link",children:n})]})})},v=function(e){(0,l.Z)(t,e);var n=(0,s.Z)(t);function t(){return(0,r.Z)(this,t),n.apply(this,arguments)}return(0,o.Z)(t,[{key:"render",value:function(){var e=this.props.back?(0,f.jsx)(T,(0,a.Z)({},this.props.back)):null,n=(0,p.e9)(["layout-wrapper",this.props.className]),t=this.props.title?(0,f.jsx)("h1",{className:"page-title",children:this.props.title}):null;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"secondary-bar",children:[(0,f.jsx)("div",{className:"left",children:e}),(0,f.jsx)("div",{className:"middle",children:t}),(0,f.jsx)("div",{className:"right",children:this.props.viewSelector})]}),(0,f.jsx)("div",{className:n,children:this.props.children})]})}}]),t}(u.PureComponent);v.Sidebar=y,v.Content=g},59493:function(e,n,t){"use strict";var a=t(99710),i=(t(96902),t(25825)),r=t(82933),o=t(8960),l=t(33975),s=t(48930),u=t(30290),c=t(29938);n.Z=function(e){var n=(0,i.$G)().t,t=(0,l.o)(),d=(0,a.Z)(t,1)[0],p=(0,u.e9)(["view-selector",e.className]),f=function(e){d({inventorySessionState:e},!1)};return(0,c.jsx)(r.AW,{exact:!0,path:"/manage/:focus/:view",children:(0,c.jsx)(r.AW,{render:function(e){var t=e.match;return(0,c.jsxs)("div",{className:p,children:[(0,c.jsxs)(r.OL,{to:"/manage/".concat(t.params.focus,"/map"),persist:["DeviceFilterState"],onClick:function(){return f(s.AK1.Map)},"data-testid":"map-link",children:[(0,c.jsx)(o.si,{icon:"map_pin",className:"white",title:n("VIEW_MAP")}),(0,c.jsx)("span",{className:"sr-only",children:n("VIEW_DATA_AS_MAP")})]}),(0,c.jsxs)(r.OL,{to:"/manage/".concat(t.params.focus,"/table"),persist:["DeviceFilterState"],onClick:function(){return f(s.AK1.List)},"data-testid":"table-link",children:[(0,c.jsx)(o.si,{icon:"list",className:"white",title:n("VIEW_LIST")}),(0,c.jsx)("span",{className:"sr-only",children:n("VIEW_DATA_AS_LIST")})]})]})}})})}},58512:function(e,n,t){"use strict";t.d(n,{D3:function(){return kr},tI:function(){return Dr},tw:function(){return Lr},u3:function(){return Ur}});var a=t(96902),i=function(e,n){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},i(e,n)};var r=function(){return r=Object.assign||function(e){for(var n,t=1,a=arguments.length;t0&&i[i.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]0?_e:Ee)(e)},Ne=Math.min,Ie=function(e){return e>0?Ne(Se(e),9007199254740991):0},Ce=Math.max,Ae=Math.min,Re=function(e){return function(n,t,a){var i,r=k(n),o=Ie(r.length),l=function(e,n){var t=Se(e);return t<0?Ce(t+n,0):Ae(t,n)}(a,o);if(e&&t!=t){for(;o>l;)if((i=r[l++])!=i)return!0}else for(;o>l;l++)if((e||l in r)&&r[l]===t)return e||l||0;return!e&&-1}},Oe={includes:Re(!0),indexOf:Re(!1)},be=Oe.indexOf,Le=function(e,n){var t,a=k(e),i=0,r=[];for(t in a)!U(le,t)&&U(a,t)&&r.push(t);for(;n.length>i;)U(a,t=n[i++])&&(~be(r,t)||r.push(t));return r},ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],De=ke.concat("length","prototype"),xe={f:Object.getOwnPropertyNames||function(e){return Le(e,De)}},Pe={f:Object.getOwnPropertySymbols},Ue=ve("Reflect","ownKeys")||function(e){var n=xe.f(Z(e)),t=Pe.f;return t?n.concat(t(e)):n},we=function(e,n){for(var t=Ue(n),a=J.f,i=B.f,r=0;r1?arguments[1]:void 0,n.length)),a=String(e);return an?an.call(n,a,t):n.slice(t,t+a.length)===a}});var sn,un,cn=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},dn=function(e,n,t){if(cn(e),void 0===n)return e;switch(t){case 0:return function(){return e.call(n)};case 1:return function(t){return e.call(n,t)};case 2:return function(t,a){return e.call(n,t,a)};case 3:return function(t,a,i){return e.call(n,t,a,i)}}return function(){return e.apply(n,arguments)}},pn=Function.call,fn=function(e,n,t){return dn(pn,v[e].prototype[n],t)},mn=(fn("String","startsWith"),Array.isArray||function(e){return"Array"==R(e)}),hn=function(e){return Object(L(e))},yn=function(e,n,t){var a=x(n);a in e?J.f(e,a,C(0,t)):e[a]=t},gn=Xe("species"),Tn=function(e,n){var t;return mn(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!mn(t.prototype)?D(t)&&null===(t=t[gn])&&(t=void 0):t=void 0),new(void 0===t?Array:t)(0===n?0:n)},vn=ve("navigator","userAgent")||"",En=v.process,_n=En&&En.versions,Sn=_n&&_n.v8;Sn?un=(sn=Sn.split("."))[0]+sn[1]:vn&&(!(sn=vn.match(/Edge\/(\d+)/))||sn[1]>=74)&&(sn=vn.match(/Chrome\/(\d+)/))&&(un=sn[1]);var Nn=un&&+un,In=Xe("species"),Cn=Xe("isConcatSpreadable"),An=Nn>=51||!E((function(){var e=[];return e[Cn]=!1,e.concat()[0]!==e})),Rn=Nn>=51||!E((function(){var e=[];return(e.constructor={})[In]=function(){return{foo:1}},1!==e.concat(Boolean).foo})),On=function(e){if(!D(e))return!1;var n=e[Cn];return void 0!==n?!!n:mn(e)};He({target:"Array",proto:!0,forced:!An||!Rn},{concat:function(e){var n,t,a,i,r,o=hn(this),l=Tn(o,0),s=0;for(n=-1,a=arguments.length;n9007199254740991)throw TypeError("Maximum allowed index exceeded");for(t=0;t=9007199254740991)throw TypeError("Maximum allowed index exceeded");yn(l,s++,r)}return l.length=s,l}});var bn={};bn[Xe("toStringTag")]="z";var Ln="[object z]"===String(bn),kn=Xe("toStringTag"),Dn="Arguments"==R(function(){return arguments}()),xn=Ln?R:function(e){var n,t,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),kn))?t:Dn?R(n):"Object"==(a=R(n))&&"function"==typeof n.callee?"Arguments":a},Pn=Ln?{}.toString:function(){return"[object "+xn(this)+"]"};Ln||ye(Object.prototype,"toString",Pn,{unsafe:!0});var Un,wn=Object.keys||function(e){return Le(e,ke)},Mn=_?Object.defineProperties:function(e,n){Z(e);for(var t,a=wn(n),i=a.length,r=0;i>r;)J.f(e,t=a[r++],n[t]);return e},Vn=ve("document","documentElement"),jn=oe("IE_PROTO"),Fn=function(){},Bn=function(e){return"