UNPKG

@opcua/for-node-red

Version:

The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team

149 lines (115 loc) 65.2 kB
<style> .sterfive-combo-box{position:relative;width:100%}.sterfive-online-menu{height:auto;position:fixed;width:auto}.sterfive-input-error{border-color:var(--red-ui-form-input-border-error-color)!important;border-style:solid;border-width:1px}.sterfive-typedInput-options{background:#fff;border-style:solid;border-width:1px;border:1px solid var(--red-ui-primary-border-color);box-sizing:border-box;max-height:350px;overflow-y:auto;position:absolute;white-space:nowrap;z-index:2000}.sterfive-typedInput-options a{align-items:center;border-bottom:1px solid;border-color:var(--red-ui-secondary-border-color);border-style:solid;border-width:1px;color:var(--red-ui-form-text-color);display:flex;font-size:13px;padding:6px 18px 6px 6px;text-decoration:none}.sterfive-typedInput-options a:hover{background:var(--red-ui-workspace-button-background-hover);text-decoration:none}.sterfive-typedInput-options a:focus{outline:none}.sterfive-typedInput-options a:active,.sterfive-typedInput-options a:focus{background:var(--red-ui-workspace-button-background-active);text-decoration:none}.sterfive-typedInput-options a input[type=checkbox]{margin:0 6px 0 0}.sterfive-typedInput-options .sterfive-typedInput-icon{margin-right:6px}.sterfive-typedInput-options .sterfive-typedInput-icon:not(.fa){background-color:var(--red-ui-primary-text-color);height:14px;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;width:12px}.sterfive-combo-box .sterfive-dropdown{background-color:#fff;border:1px solid #ccc;display:none;left:0;max-height:400px;overflow-y:auto;position:absolute;top:100%;width:100%;z-index:1000}.sterfive-combo-box li:before{content:none}.sterfive-tree li.expandable:before,.sterfive-tree li.no-expandable:before{content:"\f0da";cursor:pointer;font-family:FontAwesome;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li.no-expandable:before{opacity:0}.sterfive-tree li.expanded:before{content:"\f0d7";cursor:pointer;font-family:FontAwesome;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li span.selected{border:.5px dotted #33f}.sterfive-tree .fa{color:#333;margin-right:10px}.sterfive-tree ul{list-style:none;padding-inline-start:2%!important}.sterfive-tree li{cursor:pointer;padding:5px}.sterfive-tree{list-style-type:none}.sterfive-tree,.sterfive-tree ol,.sterfive-tree ul{list-style-type:none;margin:0;padding:0}.sterfive-tree li:hover{background-color:#eee}.sterfive-tree li.loading:before{animation:fa-spin 1s linear infinite;content:"\f110";cursor:pointer;font-family:FontAwesome;font-weight:900;margin-right:5px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sterfive-tree .spinner{animation:spin .7s linear infinite;border:2px solid transparent;border-radius:50%;border-top-color:#666;display:inline-block;height:16px;width:16px}.sterfive-info{background-color:#fafad2;border-radius:10px;border-style:groove;display:block;font-size:10pt;margin:5px 0;padding:5px}.sterfive-info .ok{color:green}.sterfive-info .warning{color:darkred}.input-wrapper{border:0 solid #ccc;border-radius:5px;padding:0}.sterfive-input-group{border:1px solid #ccc;border-radius:5px;display:flex;overflow:hidden}.sterfive-input-group button,.sterfive-input-group input{border:none;outline:none;padding:10px}.sterfive-input-group input{flex:1}.sterfive-input-group button{background-color:var(--red-ui-form-button-background);color:#7b7a7a;cursor:pointer}.sterfive-input-group button:hover{background-color:var(--red-ui-secondary-background-hover)}.sterfive-info-text{color:#777;font-size:12px;margin-left:10px;margin-top:5px}.custom-checkbox{cursor:pointer;display:inline-block;font-family:FontAwesome;font-size:16px;font-weight:900;margin-right:10px;text-align:center;width:1em}.custom-checkbox.unchecked:before{content:"\f096"}.custom-checkbox.checked:before{content:"\f046"}.validate-cancel-buttons{background-color:#fff;position:sticky;right:0;top:0;z-index:1001}.cancel-button,.validate-button{cursor:pointer;font-size:16px;margin:5px}.sterfive-combo-box .sterfive-dropdown{position:relative}.floating-buttons{position:fixed;z-index:1003} /*# sourceMappingURL=OpcUa-Client2-Read.css.map */ </style> <!-- HTML CONTENTS --> <script type="text/x-red" data-template-name="OpcUa-Client2-Read"> <h3> Opc-UA Read <a href="https://opcua-for-node-red.doc.sterfive.com/docs/read/read-general-concept" target="_blank" ><i class="fa fa-message-question"></i ></a> </h3> <div class="form-row"> <label for="node-input-name"><i class="icon-tasks"></i>Name</label> <input type="text" id="node-input-name" placeholder="enter the friendly name of the node" /> </div> <div class="form-row"> <label for="node-input-endpoint"><i class="icon-tasks"></i> Endpoint</label> <input type="text" id="node-input-endpoint" placeholder="opc.tcp://localhost:4334" /> </div> <div class="form-row"> <label for="node-input-attributeId">AttributeId</label> <select type="text" id="node-input-attributeId" style="width: 72%"> <option selected value="Value">Value</option> <option value="DataType">DataType</option> <option value="BrowseName">BrowseName</option> <option value="DisplayName">DisplayName</option> <option value="All">All</option> </select> </div> <div class="form-row"> <label for="node-input-nodeId" style="width: 100%"><i class="fa fa-tag"></i>NodeId</label> <input type="text" id="node-input-nodeId" placeholder="ns=2;s=Variable1 or empty" /> </div> <div class="form-row"> <label for="node-input-outputType">Output type</label> <select type="text" id="node-input-outputType" style="width: 72%"> <option selected value="Value">Value</option> <option value="DataValue">DataValue</option> <option value="Variant">Variant</option> <option value="DataValueReversible">DataValueReversible</option> <option value="StatusCode">StatusCode</option> </select> </div> </script> <!-- MARKDOWN CONTENTS --> <script type="text/markdown" data-help-name="OpcUa-Client2-Read"> perform a READ action on a OpcUA Server ## Read action you can either - Inject your OPC UA address (NodeId) by the `nodeId` or `topic` or `payload` property of an injected message or - use the nodeId attribute defined in the OpcUa-Read node itself ## Input The read operation is triggered when the node receive an input message. The nodeId to read can be specified in the following ways, in priority order: :msg.nodeId (string): the nodeId to read or, if `msg.nodeId` is not defined: :msg.topic (string): the nodeId to read or, if `msg.topic` is not defined: :msg.payload (string|string[]|nested object): the nodeId to read, or an array of nodeId to read, or a nested object defining the subtree structure to read. or, if `msg.payload` is not defined: :parameter.nodeId (string): the nodeId to read defined in the node configuration itself. ## Output :msg.payload (string|number|boolean|Object|Array): the value read. ExtensionObject are encoded as OPCUA-JSON string. :msg.dataType (string): the dataType of the value read, ( such as Boolean, Int32, Double, String, DateTime, Guid, ByteString, XmlElement, NodeId, ExpandedNodeId, StatusCode, QualifiedName, LocalizedText, ExtensionObject, DataValue, Variant, DiagnosticInfo, and Enumeration) :msg.statusCode (string): the status code of the read operation, such as Good, BadUnknownNode, BadUserAccessDenied etc. :msg.sourceTimestamp (string): the source timestamp of the value read as a ISO string. :msg.serverTimestamp (string): the server timestamp of the value read as a ISO string. :msg.nodeId (string): the nodeId string of the value read. ## multiple read You can read multiple nodes by specifying an array of nodeId in the `msg.nodeId` or `msg.topic` attribute. The node will return an array of values in `msg.payload`. ### reading subtree structure if the injected `msg.payload` is an object, the OPCUARead node will read the subtree structure of the node. For instance: ```json { "payload": { "Server": { "Status": "/Server/ServerStatus" } }, "payloadType": "Value" } ``` will return the following structure: ```json { "payload": { "Server": { "Status": { "BuildInfo": { "ProductUri": "XXXX", "ManufacturerName": "YYYY", "ProductName": "ZZZZ", "SoftwareVersion": "2.0", "BuildNumber": "3", "BuildDate": "2020-01-31T23:00:00.000Z" } // etc ... } } } } ``` - The structure of the object pass as `msg.payload` can be nested as deep as you want. - The leaf property must be a string containing the nodeId or the browsePath of the node to read. - the returned object will have the same structure as the input object, but the leaf property will be replaced by the value read. ### output type - you can control whether the leaf property of the returned object will the DataValue, the Variant or the Value of the corresponding node by setting the `msg.outputType` attribute to `DataValue`, `Variant` or `Value` respectively. - if not specified, the `msg.outputType` attribute will default to `Value`. </script> <!-- END OF CONTENTS --> <script type="text/javascript"> function _0x2d6c(){const _0x221047=['function','IsForward','SuppressedError','filter','DataType','msg.','location','find','open','/images/small-sterfive.png','fa-folder','httpNodeRoot\x20missing\x20trailing\x20slash','HasChild',');\x20-webkit-mask-image:\x20url(','nsu\x20nodeId:\x20','referenceTypeId','width=1200,height=800','Object','sterfive-input-error','buttonText','Failed\x20to\x20check\x20licence\x20status:','enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20','loading','<ul\x20class=\x22sterfive-tree\x22></ul>','licence-continue-button','#856404','blur(10px)','<button\x20title=\x22open\x20OPCUA\x20AddressSpace\x20Browser\x22><i\x20class=\x22fa\x20fa-sitemap\x22></i></button>','change','HasSubtype','isSelectable','widget','getTime','<i\x20class=\x22fa\x20fa-id-card\x22/>&nbsp;\x20','data','0.0.0','!!failure!!','supportUrl','error','messageCss','10px\x2015px','nsu','nodeId_aliased','24px','I\x20accept\x20to\x20switch\x20to\x20the\x20free\x20version\x20(limited\x20features)','input[type=\x22checkbox\x22]','#495057','stopPropagation','<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>','sterfive-combo-box','expanded','&times;','ns=0;i=61','Unspecified','placeholder','DisplayName','BrowsePath','space-between','FREEWARE','startsWith','Aliased\x20Browse\x20Path','height','Upgrade','border','right','body','<img>','rgba(0,\x200,\x200,\x200.05)','mouseleave','backgroundColor','50%','slideDown','pathname','TypeDefinition','toString','mousedown.red-ui-typedInput-close-property-select','httpNodeRoot','1px\x20solid\x20#ccc','grey','#dc3545','registerType','#1976D2','13px','1px\x20solid\x20#f5c6cb','licence-freemium-banner','toggleClass','HasProperty','namespaceAliases','15px','$selectLabel','<span\x20title=','8px','type','status','4681UxwDJg','toggle','removeEventListener','browseName','keydown','<a>','show','i=61','</strong>.\x20','sterfive-input-group','warn','Your\x20<strong>Professional\x20License</strong>\x20has\x20expired.\x20Please\x20renew\x20your\x20license\x20to\x20ensure\x20continued\x20access\x20to\x20support\x20and\x20updates.','_delay','1px\x20solid\x20rgba(255,\x20255,\x20255,\x200.3)','<iframe></iframe>','nodeIds','position','addClass','BrowseName','slice','currentParent','element','prependTo','browseResult','statusCode','underline','json','64px','Both','Could\x20not\x20find\x20dialog\x20content\x20to\x20show\x20banner\x20.','nodes','3013209RNuaAi','appendTo','\x20day','HasTypeDefinition','$uiSelect','click','displayName','parentNode','main-wrapper','animate','assign','white','red-ui-typedInput-icon\x20','verify','<div\x20class=\x22sterfive-info-text\x22></div>','opcua-for-node-red-fix-me','1.6','<li\x20key=\x22','apply','<i\x20class=\x22fa\x20fa-tag\x22/>1\x20&nbsp;\x20','hide','\x22\x20style=\x22color:','OpcUa-Client2-Read','15px\x2030px','40px','val','<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/>&nbsp;','left',';\x22></i>\x20','aliased\x20browsePath:\x20','throw','length','EXPIRED',':visible','opacity\x200.2s','pageY','permanent','18px','background-color\x200.2s','nodeId','nsuNodeID','#C0DEED','#2196F3','checked','ns=0;i=45','NodeId','pointer','sterfive-dropdown','join','0\x202px\x208px\x20rgba(0,0,0,0.1)','reference','Forward','/config#buy','<i\x20class=\x22fa\x20fa-bookmark\x22/>&nbsp;\x20','node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','first','getItem','<span>','name','$input','hasClass','500','500px','#node-input-nodeId','rgb(','TRIAL','isTypeRef','rgba(61,\x2060,\x204,\x200.525)','.red-ui-tray-content','$tree','</span><ul></ul></li>','.spinner','selectedMenuItem','<div>','<i\x20class=\x22fa\x20fa-tag\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/>&nbsp;','fa-sliders','multiple','statusText','Renew\x20Now','aliasedNodeId','.licence-expiry-banner','background-color','<h2>','requestedNodeId','push','prev','read','none','expandable','children','title','html','next','aliased\x20NodeId:\x20','translateY(-50%)','relative','ns=0;i=34','100%','<unknown>','50px','__parentNode','SeaGreen','failure','match','$selectTrigger','$toggleTreeBtn','true','endpoint','disarmClick','Good','/support-frame.html','ns=0;i=85','180px','keyCode','<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>','NodeClass','pageX','108090cOqRFr','_hideMenu','sterfive-info','localeCompare','mode','replace','fa-object-group','Invalid','16rSnvXh','node_label_italic','$dropdown','li[key=\x22','FAILED','#999','#e9ecef','POST','opcUaEndpoint2Config','Your\x20trial\x20period\x20has\x20ended.\x20To\x20continue\x20using\x20this\x20node,\x20please\x20purchase\x20a\x20professional\x20license\x20or\x20contact\x20our\x20support\x20team\x20for\x20assistance.','settings','fa-cog','icon','elements','nodeId:\x20','bannerClass','prop','/browse','SandyBrown','target','li\x20>\x20.tree-text','Objects','NodeId\x20with\x20namespace\x20Urn','slideUp','reset','indexOf','<div/>','options','#c82333','View','bold','expiryDate','ceil','5px\x2010px','VariableType','red-ui-typedInput-focus','bp_aliased','text','node','resolveParentNode','Method','typeDefinition','nodeClass','focus','empty','callback','fa-text-width','Could\x20not\x20find\x20dialog\x20content\x20to\x20show\x20licence\x20banner','remove','#ccc','after',',\x200.7)','DarkOrange','$verifyBtn','bannerCss','tabindex','0\x2020px\x2050px\x20rgba(0,0,0,0.25)','fetched','all\x200.2s','already\x20loading','<p>','$combo','already\x20fetched','_showMenu','background-color:transparent;overflow:hidden;border:3px','expandable\x20expanded','OPCUA\x20Client\x20Read','center','messageHtml','Aliased\x20NodeId','statusCode:\x20','inputs','/licenceInfo','log','msg','fadeOut','preventDefault','<input\x20type=\x22checkbox\x22>','rgba(255,\x20255,\x20255,\x200.9)','message','removeClass','now','10px',':focus','10px\x2020px','Get\x20Support\x20&\x20Activate\x20License','14px','/walk-backward','$inputGroup','_showTypeMenu','ObjectType','then','buttonCss','_blank','<button>','application/json','replaceWith','ReferenceType','5px','><i\x20class=\x22fa\x20','ns=0;i=46','2px\x20solid\x20#ffc107','endpointNode','Variable','label','off','bp_indexed','<li>error\x20','192162VidPai','blur(20px)','endsWith','\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace','browsePath','16px','#333','mouseenter','absolute','CadetBlue','value','PROFESSIONAL','Organizes','mousedown','<i>','fa-list-alt','<i\x20class=\x22fa\x20fa-font\x22/i>\x20','call','stringify','aliasedBrowsePath','#fff3cd','3853912KnIgws','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','Get\x20a\x20license\x20now','setItem','>&nbsp;\x20','catch','_createMenu','attr','377040HSViJR','1285940cuQfGM','Value','column','opacity','top','SteelBlue','closest','#node-input-endpoint','Your\x20trial\x20license\x20expires\x20in\x20<strong>','$menu','node\x20class:\x20','trigger','nodeId_nsu','mask-image:\x20url(','opts','buttonHoverCss','Inverse','transparent','sort','$info','sterfive.nodeBrowser','6px\x2012px','append','offset','flex','references','nodeBrowser','prepend','scrollTop','RED.settings[\x22','_initMenu','20px','14YUlfYV','css'];_0x2d6c=function(){return _0x221047;};return _0x2d6c();}function _0x7fa3(_0x1d3e5f,_0xa90dae){_0x1d3e5f=_0x1d3e5f-0x17a;const _0x2d6c54=_0x2d6c();let _0x7fa388=_0x2d6c54[_0x1d3e5f];return _0x7fa388;}(function(_0x2d77cc,_0x5d6d9f){const _0x43bfe7=_0x7fa3,_0x280c84=_0x2d77cc();while(!![]){try{const _0x369e46=-parseInt(_0x43bfe7(0x307))/0x1*(parseInt(_0x43bfe7(0x1fd))/0x2)+-parseInt(_0x43bfe7(0x269))/0x3+parseInt(_0x43bfe7(0x287))/0x4+parseInt(_0x43bfe7(0x1f5))/0x5+-parseInt(_0x43bfe7(0x286))/0x6*(parseInt(_0x43bfe7(0x2a7))/0x7)+parseInt(_0x43bfe7(0x27e))/0x8+-parseInt(_0x43bfe7(0x180))/0x9;if(_0x369e46===_0x5d6d9f)break;else _0x280c84['push'](_0x280c84['shift']());}catch(_0x326185){_0x280c84['push'](_0x280c84['shift']());}}}(_0x2d6c,0x402cb),(function(){'use strict';const _0x91e64d=_0x7fa3;function _0x1af33f(_0x32bea0,_0x44d95e,_0x521aac,_0x2d6312){function _0x399968(_0xc84dce){return _0xc84dce instanceof _0x521aac?_0xc84dce:new _0x521aac(function(_0x350983){_0x350983(_0xc84dce);});}return new(_0x521aac||(_0x521aac=Promise))(function(_0x3bf9a7,_0x48f026){const _0x2cc625=_0x7fa3;function _0x5c038a(_0x5653a3){const _0x1b9ceb=_0x7fa3;try{_0xff983a(_0x2d6312[_0x1b9ceb(0x1dc)](_0x5653a3));}catch(_0x5aa5e0){_0x48f026(_0x5aa5e0);}}function _0x6e3ea5(_0x54e751){const _0x313954=_0x7fa3;try{_0xff983a(_0x2d6312[_0x313954(0x19e)](_0x54e751));}catch(_0x249452){_0x48f026(_0x249452);}}function _0xff983a(_0x24c6f9){const _0x246329=_0x7fa3;_0x24c6f9['done']?_0x3bf9a7(_0x24c6f9['value']):_0x399968(_0x24c6f9['value'])[_0x246329(0x258)](_0x5c038a,_0x6e3ea5);}_0xff983a((_0x2d6312=_0x2d6312[_0x2cc625(0x192)](_0x32bea0,_0x44d95e||[]))[_0x2cc625(0x1dc)]());});}typeof SuppressedError==='function'?SuppressedError:function(_0x1baebf,_0x17e291,_0x42d4cd){const _0xbe62da=_0x7fa3;var _0x5de035=new Error(_0x42d4cd);return _0x5de035[_0xbe62da(0x1ba)]=_0xbe62da(0x2ab),_0x5de035['error']=_0x1baebf,_0x5de035['suppressed']=_0x17e291,_0x5de035;};const _0x403a16='ns=0;i=35',_0x79f2b3=_0x91e64d(0x2dd),_0x4cdfda='ns=0;i=47',_0x3415cb=_0x91e64d(0x261),_0x2703da=_0x91e64d(0x1e0),_0x30028d=_0x91e64d(0x1ac),_0x4b9590='ns=0;i=40';var _0x1b76cc;(function(_0x48acf0){const _0x47b165=_0x91e64d;_0x48acf0[_0x48acf0[_0x47b165(0x1b3)]=0x0]=_0x47b165(0x1b3),_0x48acf0[_0x48acf0[_0x47b165(0x297)]=0x1]='Inverse',_0x48acf0[_0x48acf0['Both']=0x2]=_0x47b165(0x17d),_0x48acf0[_0x48acf0[_0x47b165(0x1fc)]=0x3]='Invalid';}(_0x1b76cc||(_0x1b76cc={})));var _0x57e394;(function(_0x2bd344){const _0x50d899=_0x91e64d;_0x2bd344[_0x2bd344[_0x50d899(0x2de)]=0x0]='Unspecified',_0x2bd344[_0x2bd344['Object']=0x1]=_0x50d899(0x2ba),_0x2bd344[_0x2bd344[_0x50d899(0x264)]=0x2]=_0x50d899(0x264),_0x2bd344[_0x2bd344['Method']=0x4]=_0x50d899(0x225),_0x2bd344[_0x2bd344[_0x50d899(0x257)]=0x8]='ObjectType',_0x2bd344[_0x2bd344[_0x50d899(0x21f)]=0x10]=_0x50d899(0x21f),_0x2bd344[_0x2bd344['ReferenceType']=0x20]=_0x50d899(0x25e),_0x2bd344[_0x2bd344[_0x50d899(0x2ad)]=0x40]=_0x50d899(0x2ad),_0x2bd344[_0x2bd344[_0x50d899(0x21a)]=0x80]=_0x50d899(0x21a);}(_0x57e394||(_0x57e394={})));var _0x4cb268;(function(_0x33a4d3){const _0x331cd7=_0x91e64d;_0x33a4d3[_0x33a4d3[_0x331cd7(0x2ba)]=0x1]=_0x331cd7(0x2ba),_0x33a4d3[_0x33a4d3['Variable']=0x2]=_0x331cd7(0x264),_0x33a4d3[_0x33a4d3[_0x331cd7(0x225)]=0x4]=_0x331cd7(0x225),_0x33a4d3[_0x33a4d3[_0x331cd7(0x257)]=0x8]=_0x331cd7(0x257),_0x33a4d3[_0x33a4d3['VariableType']=0x10]=_0x331cd7(0x21f),_0x33a4d3[_0x33a4d3['ReferenceType']=0x20]=_0x331cd7(0x25e),_0x33a4d3[_0x33a4d3[_0x331cd7(0x2ad)]=0x40]=_0x331cd7(0x2ad),_0x33a4d3[_0x33a4d3['View']=0x80]='View';}(_0x4cb268||(_0x4cb268={})));var _0x3c9c15;(function(_0x186d29){const _0x2f1341=_0x91e64d;_0x186d29[_0x186d29[_0x2f1341(0x25e)]=0x1]=_0x2f1341(0x25e),_0x186d29[_0x186d29[_0x2f1341(0x2aa)]=0x2]=_0x2f1341(0x2aa),_0x186d29[_0x186d29[_0x2f1341(0x1f3)]=0x4]=_0x2f1341(0x1f3),_0x186d29[_0x186d29[_0x2f1341(0x319)]=0x8]=_0x2f1341(0x319),_0x186d29[_0x186d29[_0x2f1341(0x2e0)]=0x10]=_0x2f1341(0x2e0),_0x186d29[_0x186d29[_0x2f1341(0x2f2)]=0x20]='TypeDefinition';}(_0x3c9c15||(_0x3c9c15={})));function _0x3c9923(_0x739627){const _0x1c1e5c=_0x91e64d;switch(_0x739627){case _0x1c1e5c(0x275):return _0x403a16;case _0x1c1e5c(0x2ff):return _0x3415cb;case'HasComponent':return _0x4cdfda;case _0x1c1e5c(0x2b5):return _0x2703da;case _0x1c1e5c(0x2c6):return _0x30028d;case _0x1c1e5c(0x183):return _0x4b9590;}}const _0x4af24c=_0x4ca6c2=>{const _0x45fdd8=_0x91e64d;switch(_0x4ca6c2[_0x45fdd8(0x227)]){case _0x45fdd8(0x2ba):if(_0x4ca6c2[_0x45fdd8(0x2b8)]===_0x403a16);if(_0x4ca6c2[_0x45fdd8(0x226)]===_0x79f2b3||_0x4ca6c2[_0x45fdd8(0x2b8)]===_0x45fdd8(0x30e))return{'icon':_0x45fdd8(0x2b3),'color':_0x45fdd8(0x1c3)};return{'icon':_0x45fdd8(0x1fb),'color':_0x45fdd8(0x1e5)};case _0x45fdd8(0x264):if(_0x4ca6c2['referenceTypeId']===_0x4cdfda)return{'icon':_0x45fdd8(0x278),'color':_0x45fdd8(0x28c)};else return _0x4ca6c2[_0x45fdd8(0x2b8)]===_0x3415cb?{'icon':'fa-list-alt','color':'DodgerBlue'}:{'icon':_0x45fdd8(0x278),'color':_0x45fdd8(0x272)};case _0x45fdd8(0x225):return{'icon':_0x45fdd8(0x208),'color':_0x45fdd8(0x20f)};case'ObjectType':return{'icon':_0x45fdd8(0x1fb),'color':_0x45fdd8(0x231)};case _0x45fdd8(0x21f):return{'icon':_0x45fdd8(0x1cb),'color':_0x45fdd8(0x231)};case'DataType':return{'icon':_0x45fdd8(0x22b),'color':_0x45fdd8(0x272)};}return{'icon':'fa-question','color':_0x45fdd8(0x2f7)};};function _0x15db67(_0x59bb55){const _0x3c7e66=_0x91e64d;!_0x59bb55[_0x3c7e66(0x2e4)]('/')&&(_0x59bb55='/'+_0x59bb55);const _0x27de90=_0x3c7e66(0x205);let _0x4c28e0=RED[_0x3c7e66(0x207)][_0x27de90];!_0x4c28e0&&(console['warn'](_0x3c7e66(0x2a4)+_0x27de90+_0x3c7e66(0x26c)),_0x4c28e0=_0x3c7e66(0x18f));!RED['settings']['httpNodeRoot'][_0x3c7e66(0x26b)]('/')&&console[_0x3c7e66(0x246)](_0x3c7e66(0x2b4));const _0x156de7=_0x544138(RED['settings'][_0x3c7e66(0x2f5)]+_0x4c28e0+_0x59bb55);return console[_0x3c7e66(0x246)]({'location':window[_0x3c7e66(0x2af)][_0x3c7e66(0x2f1)],'apiPath':_0x59bb55,'API_NAMESPACE':_0x4c28e0,'result':_0x156de7}),_0x156de7;}function _0x544138(_0x16d5e5){const _0x3f8190=_0x91e64d;return _0x16d5e5[_0x3f8190(0x2e4)]('/')?_0x16d5e5[_0x3f8190(0x31a)](0x1):_0x16d5e5;}const _0x4c119c=(_0x3c13e1,_0x8344c0,_0x13407f)=>_0x1af33f(void 0x0,[_0x3c13e1,_0x8344c0,_0x13407f],void 0x0,function*({endpointNode:_0x373df4,endpoint:_0x3a4ac2},_0x3700df,_0x4b0f7c){const _0x2d4059=_0x91e64d,_0x3ba271=Object[_0x2d4059(0x18a)](Object[_0x2d4059(0x18a)]({},_0x4b0f7c),{'nodeId':_0x3700df,'resultMask':0x3f}),_0x20e1f0=_0x15db67(_0x2d4059(0x20e)),_0x12c4f4=yield fetch(_0x20e1f0,{'method':_0x2d4059(0x204),'body':JSON[_0x2d4059(0x27b)]({'endpointNode':_0x373df4,'endpoint':_0x3a4ac2,'browseDescription':_0x3ba271}),'headers':{'Content-Type':'application/json'}});if(_0x12c4f4[_0x2d4059(0x306)]!==0xc8)return console[_0x2d4059(0x246)]('fetching\x20failed\x20with\x20error',_0x12c4f4[_0x2d4059(0x306)],_0x12c4f4[_0x2d4059(0x1cd)]),{'references':[]};const _0xf44d59=yield _0x12c4f4['json'](),_0x461d0f=_0xf44d59[_0x2d4059(0x31e)][_0x2d4059(0x2a0)]||[];return{'references':_0x461d0f};}),_0x5a3060={'referenceTypeId':_0x3c9923(_0x91e64d(0x2b5)),'includeSubtypes':!![],'browseDirection':_0x1b76cc['Forward'],'nodeClassMask':_0x57e394['Variable']|_0x57e394['Object']|_0x57e394['Method'],'resultMask':0x3f},_0x2893f8={'referenceTypeId':_0x3c9923('Organizes'),'includeSubtypes':!![],'browseDirection':_0x1b76cc[_0x91e64d(0x1b3)],'nodeClassMask':_0x57e394[_0x91e64d(0x264)]|_0x57e394[_0x91e64d(0x2ba)]|_0x57e394[_0x91e64d(0x225)],'resultMask':0x3f},_0x25e607=(_0xd236e7,_0x3b7645)=>_0x1af33f(void 0x0,[_0xd236e7,_0x3b7645],void 0x0,function*({endpointNode:_0x46d7ff,endpoint:_0x2a7bdc},{nodeId:_0x5a8aa2,rootNodeId:_0x419551,isType:_0x1b7ab8}){const _0xd6fe23=_0x91e64d,_0x115c69=_0x15db67(_0xd6fe23(0x254)),_0x58b283=yield fetch(_0x115c69,{'method':'POST','body':JSON[_0xd6fe23(0x27b)]({'endpointNode':_0x46d7ff,'endpoint':_0x2a7bdc,'nodeId':_0x5a8aa2,'rootNodeId':_0x419551,'isType':_0x1b7ab8}),'headers':{'Content-Type':_0xd6fe23(0x25c)}});if(_0x58b283['status']!==0xc8)return null;const _0x2cdd28=yield _0x58b283[_0xd6fe23(0x17b)]();return _0x2cdd28[_0xd6fe23(0x26d)];}),_0x5e440e=(_0x17b875,_0x3bf92e)=>{const _0x9852a=_0x91e64d;if(_0x17b875[_0x9852a(0x31f)]!=='Good')return _0x17b875[_0x9852a(0x1d3)];switch(_0x3bf92e){case _0x9852a(0x26d):return _0x17b875['bp_indexed'];case'aliasedBrowsePath':return _0x17b875[_0x9852a(0x221)]||_0x17b875[_0x9852a(0x267)];case _0x9852a(0x1cf):return _0x17b875[_0x9852a(0x2d3)]||_0x17b875['nodeId_nsu'];case _0x9852a(0x1a8):return _0x17b875[_0x9852a(0x293)];default:case _0x9852a(0x1a7):return _0x17b875[_0x9852a(0x1a7)];}},_0x2839df=_0x3cec6c=>{const _0x5322c6=_0x91e64d;if(_0x3cec6c['statusCode']!=='Good')return _0x5322c6(0x243)+_0x3cec6c[_0x5322c6(0x31f)];else{let _0x3b6aca=[];return _0x3b6aca[_0x5322c6(0x1d4)](_0x5322c6(0x20b)+_0x3cec6c['nodeId']),_0x3b6aca[_0x5322c6(0x1d4)]('browse\x20path:\x20'+_0x3cec6c['bp_indexed']),_0x3b6aca['push'](_0x5322c6(0x291)+_0x57e394[_0x3cec6c['nodeClass']]),_0x3cec6c[_0x5322c6(0x293)]&&_0x3b6aca['push'](_0x5322c6(0x2b7)+_0x3cec6c['nodeId_nsu']),_0x3cec6c['nodeId_aliased']&&_0x3b6aca[_0x5322c6(0x1d4)](_0x5322c6(0x1dd)+_0x3cec6c['nodeId_aliased']),_0x3cec6c[_0x5322c6(0x267)]&&_0x3b6aca['push'](_0x5322c6(0x19d)+_0x3cec6c[_0x5322c6(0x221)]),_0x3b6aca[_0x5322c6(0x1b0)]('\x0a');}};function _0x2d73f3(_0x3381d5){const _0x20f927=_0x91e64d;if(_0x3381d5[_0x20f927(0x1e7)](/^nsu=/))return _0x20f927(0x1a8);if(_0x3381d5[_0x20f927(0x1e7)](/^(ns=.*;)?(i|b|s|g)=/))return _0x20f927(0x1a7);if(_0x3381d5[_0x20f927(0x1e7)](/^nsa=/))return _0x20f927(0x1cf);if(_0x3381d5[_0x20f927(0x1e7)](/^(\/|\.)[0-9]+:/))return'browsePath';if(_0x3381d5[_0x20f927(0x1e7)](/^(\/|\.).*:/))return _0x20f927(0x26d);}function _0x2f760a(_0x522e63){const _0xd4f309=_0x91e64d,_0x8bc994=_0x2d73f3(_0x522e63);switch(_0x8bc994){case'nodeId':return'n';case _0xd4f309(0x1cf):return'na';case _0xd4f309(0x1a8):return _0xd4f309(0x2d2);case _0xd4f309(0x26d):return'b';case'aliasedBrowsePath':return'ab';default:return't';}}function _0x4b2112(_0x231cbf){const _0x42639a=_0x91e64d;let _0x522cfd;switch(_0x231cbf){case'n':_0x522cfd=_0x42639a(0x1a7);break;case'na':_0x522cfd=_0x42639a(0x1cf);break;case'nsu':_0x522cfd=_0x42639a(0x1a8);break;case'b':_0x522cfd=_0x42639a(0x26d);break;case'ab':_0x522cfd='aliasedBrowsePath';break;}return _0x522cfd;}function _0x2fd1cd(_0x5610e3){const _0x190a04=_0x91e64d;switch(_0x5610e3){case _0x190a04(0x1a7):return'n';case _0x190a04(0x1cf):return'na';case _0x190a04(0x1a8):return _0x190a04(0x2d2);case'browsePath':return'b';case _0x190a04(0x27c):return'ab';default:return't';}}const _0x144d5c=(_0xa92746,_0x47ebdf)=>_0x1af33f(void 0x0,[_0xa92746,_0x47ebdf],void 0x0,function*({endpointNode:_0x25577c,endpoint:_0x7991d6},_0x50676c){const _0x15bfb6=_0x91e64d,_0x138d57=_0x15db67('/checkNodeId'),_0x4dad64=_0x25577c['id'],_0x14233a=RED[_0x15bfb6(0x17f)][_0x15bfb6(0x223)](_0x4dad64);console[_0x15bfb6(0x246)](_0x14233a['namespaceAliases']),_0x14233a[_0x15bfb6(0x300)];const _0x2819ba=_0x25577c[_0x15bfb6(0x300)],_0x432438=yield fetch(_0x138d57,{'method':_0x15bfb6(0x204),'body':JSON[_0x15bfb6(0x27b)]({'endpointNode':_0x25577c,'endpoint':_0x7991d6,'nodeId':_0x50676c,'namespaceAliases':_0x2819ba}),'headers':{'Content-Type':'application/json'}}),_0x145e6d=yield _0x432438[_0x15bfb6(0x17b)]();return{'json':_0x145e6d,'data':_0x432438};}),_0x5689af=(_0x5714db,_0x1dc5c9,_0x474d58,_0xfc2df)=>_0x1af33f(void 0x0,[_0x5714db,_0x1dc5c9,_0x474d58,_0xfc2df],void 0x0,function*({endpointNode:_0x2acade,endpoint:_0x44b336},_0x38729d,_0x2cba32,_0x36cb4b){const _0x3f3b58=_0x91e64d,_0x410375=_0x2cba32[_0x3f3b58(0x199)](),{json:_0x30385e,data:_0x535eba}=yield _0x144d5c({'endpointNode':_0x2acade,'endpoint':_0x44b336},_0x410375),_0x395f6b=(_0xf654ab,_0x469b90)=>{const _0x445007=_0x3f3b58;_0x36cb4b[_0x445007(0x222)](_0xf654ab)[_0x445007(0x318)](_0x445007(0x1f7))[_0x445007(0x318)](_0x469b90),_0x36cb4b['show'](),setTimeout(()=>{const _0x428156=_0x445007;_0x36cb4b['removeClass'](_0x469b90),_0x36cb4b[_0x428156(0x194)]();},0xbb8);};if(_0x535eba[_0x3f3b58(0x306)]!==0xc8)return _0x395f6b(_0x3f3b58(0x2cd)+_0x410375,_0x3f3b58(0x1e6)),![];else{if(_0x30385e['statusCode'][_0x3f3b58(0x1e7)](/Good/)){const _0x277115=_0x2839df(_0x30385e);_0x2cba32[_0x3f3b58(0x285)](_0x3f3b58(0x1da),_0x277115);const _0x7e0e0d=_0x5e440e(_0x30385e,_0x38729d);return _0x2cba32[_0x3f3b58(0x199)](_0x7e0e0d),_0x2cba32[_0x3f3b58(0x292)](_0x3f3b58(0x2c5)),_0x395f6b(_0x3f3b58(0x1ed),'ok'),!![];}else return _0x2cba32[_0x3f3b58(0x199)](''+_0x410375),_0x395f6b(_0x30385e[_0x3f3b58(0x31f)]+'\x20'+_0x535eba['statusText'],_0x3f3b58(0x1e6)),![];}});function _0x99609d(_0x372be9,_0x3df6f0){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x43901d=_0x7fa3,_0x489947=_0x372be9[_0x43901d(0x2cb)](_0x43901d(0x273)),_0x798a21=yield _0x4c119c(_0x3df6f0,_0x489947,_0x5a3060),_0xed910c=yield _0x4c119c(_0x3df6f0,_0x489947,_0x2893f8);return{'references':[..._0x798a21[_0x43901d(0x2a0)],..._0xed910c[_0x43901d(0x2a0)]]};});}const _0x339acc={'referenceTypeId':_0x3c9923(_0x91e64d(0x2c6)),'includeSubtypes':!![],'browseDirection':_0x1b76cc['Forward'],'nodeClassMask':_0x57e394['ReferenceType']|_0x57e394[_0x91e64d(0x257)]|_0x57e394['DataType']|_0x57e394['VariableType'],'resultMask':0x3f};function _0x4322e6(_0x330ad6,_0x2e3cfc){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x757114=_0x7fa3,_0x5eece3=_0x330ad6[_0x757114(0x2cb)](_0x757114(0x273)),_0x3b85cc=yield _0x4c119c(_0x2e3cfc,_0x5eece3,_0x339acc);return _0x3b85cc;});}const _0x3dd75d=_0x16523d=>{const _0x55caae=_0x91e64d;var _0x2cd247,_0x4920c4,_0x4bee9d,_0x30b1dc;if(!_0x16523d||!_0x16523d[_0x55caae(0x1a7)]){const _0x286928=$(_0x55caae(0x1f2));return _0x286928;}const _0x594444=_0x16523d[_0x55caae(0x1a7)][_0x55caae(0x2f3)](),_0x93bdda=((_0x2cd247=_0x16523d[_0x55caae(0x186)])===null||_0x2cd247===void 0x0?void 0x0:_0x2cd247['text'])||((_0x4920c4=_0x16523d['browseName'])===null||_0x4920c4===void 0x0?void 0x0:_0x4920c4['name'])||_0x16523d[_0x55caae(0x1a7)][_0x55caae(0x2f3)](),{icon:_0x1e1c05,color:_0x4a72f5}=_0x4af24c(_0x16523d),_0x1a6fe3='('+_0x16523d[_0x55caae(0x1a7)][_0x55caae(0x2f3)]()+')\x20'+(((_0x4bee9d=_0x16523d[_0x55caae(0x30a)])===null||_0x4bee9d===void 0x0?void 0x0:_0x4bee9d['name'])||((_0x30b1dc=_0x16523d['displayName'])===null||_0x30b1dc===void 0x0?void 0x0:_0x30b1dc['text'])||''),_0x4863d=$(_0x55caae(0x191)+_0x16523d[_0x55caae(0x1a7)]['toString']()+'\x22}><span\x20class=\x22tree-text\x22\x20title='+_0x1a6fe3+_0x55caae(0x260)+_0x1e1c05+_0x55caae(0x195)+_0x4a72f5+_0x55caae(0x19c)+_0x93bdda+_0x55caae(0x1c6));return _0x4863d[_0x55caae(0x318)](_0x55caae(0x1d8)),_0x4863d[_0x55caae(0x2cb)](_0x55caae(0x273),_0x594444),_0x4863d[_0x55caae(0x2cb)](_0x55caae(0x1b2),_0x16523d),_0x4863d;},_0x4cd328=(_0x1b7be5,_0x5e19b4)=>{const _0x28d157=_0x91e64d;return _0x5e19b4['find'](_0x28d157(0x200)+_0x1b7be5+'\x22]');},_0x53c59b=(_0x222b84,_0x2fc0ff)=>{const _0x4457c2=_0x91e64d;_0x222b84[_0x4457c2(0x1c5)][_0x4457c2(0x2b0)](_0x4457c2(0x211))[_0x4457c2(0x24d)]('selected'),_0x2fc0ff[_0x4457c2(0x2b0)]('.tree-text:first')[_0x4457c2(0x318)]('selected');},_0x5d4f82=(_0x4f1a91,_0x503d7c,_0x519e4e)=>_0x1af33f(void 0x0,void 0x0,void 0x0,function*(){const _0x327f10=_0x91e64d;let _0xf70a14=_0x519e4e['children'](':first');_0x503d7c['relativePath'][_0x327f10(0x20a)]||[];const _0x309f8d=_0x503d7c[_0x327f10(0x316)]||[];if(_0x309f8d[_0x327f10(0x19f)]===0x0)return;for(const _0x464794 of _0x309f8d){_0xf70a14['hasClass']('expandable')&&(yield _0x19194c(_0x4f1a91,_0xf70a14));const _0x23a273=_0x4cd328(_0x464794,_0xf70a14);if(_0x23a273['length']===0x0)return;_0xf70a14=_0x23a273;}_0x53c59b(_0x4f1a91,_0xf70a14),_0x33bc82(_0x4f1a91[_0x327f10(0x1ff)],_0xf70a14);});function _0x33bc82(_0x174e8e,_0xec6654){const _0x53d591=_0x91e64d,_0x4525fc=_0xec6654[_0x53d591(0x317)]()[_0x53d591(0x28b)],_0x1397e9=_0x174e8e[_0x53d591(0x2a3)]();if(_0x1397e9==undefined)return;const _0x494b28=_0x1397e9+_0x4525fc-_0x174e8e[_0x53d591(0x2e6)]()/0x2+_0xec6654[_0x53d591(0x2e6)]()/0x2;_0x174e8e[_0x53d591(0x189)]({'scrollTop':_0x494b28},0x1f4);}const _0x2639eb=(_0x2fbcbf,_0x38ca7d)=>_0x1af33f(void 0x0,void 0x0,void 0x0,function*(){const _0x5bc79d=_0x91e64d,_0x9a2e0=_0x2fbcbf[_0x5bc79d(0x1bb)][_0x5bc79d(0x199)](),_0x1f3ae8={'nodeId':_0x9a2e0,'rootNodeId':_0x38ca7d[_0x5bc79d(0x1a7)],'isType':_0x2fbcbf[_0x5bc79d(0x218)][_0x5bc79d(0x1c2)]||![]},_0x464e02=_0x1d6ed4(_0x2fbcbf),_0x558a26=yield _0x25e607(_0x464e02,_0x1f3ae8);if(!_0x558a26)return;yield _0x5d4f82(_0x2fbcbf,_0x558a26,_0x2fbcbf['$tree']);});function _0x597026(_0x44f65e,_0xdae3fd,_0x3f677f,_0x186944){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x26efdf=_0x7fa3;if(_0xdae3fd[_0x26efdf(0x1bc)](_0x26efdf(0x236))){console['log'](_0x26efdf(0x23b));return;}if(_0xdae3fd[_0x26efdf(0x1bc)](_0x26efdf(0x2bf))){console['log'](_0x26efdf(0x238));return;}_0xdae3fd['addClass'](_0x26efdf(0x2bf)),_0xdae3fd['append']('<div\x20class=\x22spinner\x22></div>');try{_0xdae3fd['children']('ul')[_0x26efdf(0x229)]();const {references:_0x9aa89c}=yield _0x3f677f(_0xdae3fd,_0x186944);_0x9aa89c[_0x26efdf(0x299)]((_0x171539,_0x4ba7ed)=>{const _0x342290=_0x26efdf;var _0x1b3eaa,_0x209dd0;return(((_0x1b3eaa=_0x171539[_0x342290(0x30a)])===null||_0x1b3eaa===void 0x0?void 0x0:_0x1b3eaa[_0x342290(0x1ba)])||'')[_0x342290(0x1f8)](((_0x209dd0=_0x4ba7ed[_0x342290(0x30a)])===null||_0x209dd0===void 0x0?void 0x0:_0x209dd0[_0x342290(0x1ba)])||'');});for(const _0x296c59 of _0x9aa89c){if(_0x44f65e[_0x26efdf(0x218)][_0x26efdf(0x2ac)]&&!_0x44f65e['options'][_0x26efdf(0x2ac)](_0x296c59))continue;const _0x5d3b4c=_0x3dd75d(_0x296c59);_0xdae3fd[_0x26efdf(0x1d9)]('ul')[_0x26efdf(0x29d)](_0x5d3b4c);}_0xdae3fd[_0x26efdf(0x318)](_0x26efdf(0x236));}catch(_0x44972b){_0xdae3fd['children']('ul')['append'](_0x26efdf(0x268)+_0x44972b[_0x26efdf(0x24c)]+'</li>'),console[_0x26efdf(0x246)]('err',_0x44972b);}_0xdae3fd[_0x26efdf(0x2b0)](_0x26efdf(0x1c7))[_0x26efdf(0x22d)](),_0xdae3fd['removeClass'](_0x26efdf(0x2bf));});}function _0x1d6ed4(_0x5cb99a){const _0x427a99=_0x91e64d,_0x4b1401={'endpointNode':typeof _0x5cb99a[_0x427a99(0x218)][_0x427a99(0x263)]==='function'?_0x5cb99a[_0x427a99(0x218)][_0x427a99(0x263)]():_0x5cb99a[_0x427a99(0x218)][_0x427a99(0x263)],'endpoint':typeof _0x5cb99a[_0x427a99(0x218)][_0x427a99(0x1eb)]==='function'?_0x5cb99a[_0x427a99(0x218)][_0x427a99(0x1eb)]():_0x5cb99a['options'][_0x427a99(0x1eb)]};return _0x4b1401;}function _0x19194c(_0x211e92,_0x3f2c95){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x22b911=_0x7fa3;if(_0x3f2c95[_0x22b911(0x1bc)](_0x22b911(0x236))){_0x3f2c95[_0x22b911(0x24d)](_0x22b911(0x1d8))[_0x22b911(0x318)](_0x22b911(0x2db)),_0x3f2c95['children']('ul')[_0x22b911(0x308)]();return;}const _0x13ce04=_0x1d6ed4(_0x211e92),_0x1cf66a=!_0x211e92['options'][_0x22b911(0x1c2)]?_0x99609d:_0x4322e6;try{yield _0x597026(_0x211e92,_0x3f2c95,_0x1cf66a,_0x13ce04),_0x3f2c95[_0x22b911(0x24d)]('expandable')[_0x22b911(0x318)]('expanded');}catch(_0x4193cb){_0x3f2c95[_0x22b911(0x24d)](_0x22b911(0x1d8))[_0x22b911(0x318)]('expanded'),console[_0x22b911(0x246)](_0x22b911(0x2cf),_0x4193cb);}});}const _0x5d3f21={'browseName':{'namespaceIndex':0x0,'name':_0x91e64d(0x212)},'nodeClass':_0x91e64d(0x2ba),'nodeId':_0x91e64d(0x1ef),'displayName':{'text':_0x91e64d(0x212)},'typeDefinition':_0x79f2b3},_0x4fa952=()=>{const _0x39970c=_0x91e64d;$[_0x39970c(0x2c8)](_0x39970c(0x29b),{'options':{'endpointNode':()=>({'endpoint':'opc.tcp://opcuademo.sterfive.com:26543'}),'endpoint':()=>undefined,'parentNode':()=>_0x5d3f21,'filter':()=>!![],'isTypeRef':![]},'resolveParentNode'(){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x29ed11=_0x7fa3,_0x469178=this;if(_0x469178[_0x29ed11(0x1e4)]==undefined){const _0x19ab0e=typeof _0x469178[_0x29ed11(0x218)][_0x29ed11(0x187)]===_0x29ed11(0x2a9)?_0x469178[_0x29ed11(0x218)][_0x29ed11(0x187)][_0x29ed11(0x27a)](_0x469178):_0x469178['options'][_0x29ed11(0x187)];if(_0x19ab0e instanceof Promise){const _0x1d790c=yield _0x19ab0e;_0x469178['__parentNode']=_0x1d790c;}else _0x469178[_0x29ed11(0x1e4)]=_0x19ab0e;}return _0x469178['__parentNode']||_0x5d3f21;});},'reset'(){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x275bc9=_0x7fa3,_0x154ebc=this,_0x1d5dba=_0x154ebc;_0x1d5dba[_0x275bc9(0x1e4)]=undefined,_0x154ebc[_0x275bc9(0x1c5)][_0x275bc9(0x229)]();const _0x4a61db=yield this[_0x275bc9(0x224)](),_0x2597ba=_0x3dd75d(_0x4a61db);_0x154ebc[_0x275bc9(0x1c5)][_0x275bc9(0x29d)](_0x2597ba),_0x154ebc[_0x275bc9(0x31b)]=_0x4a61db;});},'verify'(_0xa10f14){const _0x32a253=_0x39970c,_0x76487c=this,_0x51dcae=_0x1d6ed4(_0x76487c);_0x5689af(_0x51dcae,_0xa10f14,_0x76487c[_0x32a253(0x1bb)],_0x76487c[_0x32a253(0x29a)])[_0x32a253(0x258)](_0x58e0aa=>{const _0x274645=_0x32a253;!_0x58e0aa?_0x76487c[_0x274645(0x23a)][_0x274645(0x318)](_0x274645(0x2bb)):_0x76487c[_0x274645(0x23a)][_0x274645(0x24d)](_0x274645(0x2bb));});},'_hideMenu'(_0x2be561){const _0x2125db=_0x39970c,_0x638242=this;$(document)[_0x2125db(0x266)](_0x2125db(0x2f4)),_0x2be561[_0x2125db(0x194)](),_0x2be561['css']({'height':'auto'});if(_0x2be561[_0x2125db(0x295)]['multiple']){var _0xaf4029=[];_0x2be561[_0x2125db(0x2b0)](_0x2125db(0x2d6))['each'](function(){const _0x21342e=_0x2125db;$(this)[_0x21342e(0x20d)](_0x21342e(0x1ab))&&_0xaf4029[_0x21342e(0x1d4)]($(this)[_0x21342e(0x2cb)](_0x21342e(0x273)));}),_0x2be561[_0x2125db(0x22a)](_0xaf4029);}_0x638242['$elementDiv']['is'](_0x2125db(0x1a1))?_0x638242[_0x2125db(0x1bb)]['trigger'](_0x2125db(0x228)):_0x638242[_0x2125db(0x1e8)][_0x2125db(0x292)]('focus');},'_createMenu'(_0x25407c,_0x152961,_0x3c2806){const _0x58b5a2=_0x39970c;var _0x51af7a=this;const _0x55cc02=$(_0x58b5a2(0x1c9))['addClass']('sterfive-typedInput-options\x20sterfive-online-menu');return _0x55cc02[_0x58b5a2(0x295)]=_0x152961,_0x55cc02['callback']=_0x3c2806,_0x25407c['forEach'](_0x1b5c82=>{const _0x2ee659=_0x58b5a2;typeof _0x1b5c82==='string'&&(_0x1b5c82={'value':_0x1b5c82,'label':_0x1b5c82});var _0x1c1437=$('<a\x20href=\x22#\x22></a>')[_0x2ee659(0x285)](_0x2ee659(0x273),_0x1b5c82[_0x2ee659(0x273)])[_0x2ee659(0x181)](_0x55cc02);_0x1b5c82[_0x2ee659(0x265)]&&_0x1c1437['text'](_0x1b5c82['label']);_0x1b5c82['title']&&_0x1c1437['prop'](_0x2ee659(0x1da),_0x1b5c82[_0x2ee659(0x1da)]);if(_0x1b5c82[_0x2ee659(0x209)]){if(_0x1b5c82[_0x2ee659(0x209)][_0x2ee659(0x216)]('<')===0x0)$(_0x1b5c82[_0x2ee659(0x209)])[_0x2ee659(0x31d)](_0x1c1437);else _0x1b5c82['icon'][_0x2ee659(0x216)]('/')!==-0x1?$(_0x2ee659(0x277),{'class':'red-ui-typedInput-icon','style':_0x2ee659(0x294)+_0x1b5c82['icon']+_0x2ee659(0x2b6)+_0x1b5c82['icon']+');'})[_0x2ee659(0x31d)](_0x1c1437):$(_0x2ee659(0x277),{'class':_0x2ee659(0x18c)+_0x1b5c82[_0x2ee659(0x209)]})[_0x2ee659(0x31d)](_0x1c1437);}else _0x1c1437[_0x2ee659(0x2a8)]({'paddingLeft':_0x2ee659(0x1a5)});!_0x1b5c82['icon']&&!_0x1b5c82[_0x2ee659(0x265)]&&_0x1c1437[_0x2ee659(0x222)](_0x1b5c82[_0x2ee659(0x273)]);var _0xce4a60;_0x152961[_0x2ee659(0x1cc)]&&(_0xce4a60=$(_0x2ee659(0x24a))['css']('pointer-events',_0x2ee659(0x1d7))['data'](_0x2ee659(0x273),_0x1b5c82['value'])[_0x2ee659(0x31d)](_0x1c1437)['on'](_0x2ee659(0x276),function(_0x4805ce){_0x4805ce['preventDefault']();})),_0x1c1437['on']('click',function(_0x5acd1f){const _0x379d6b=_0x2ee659;_0x5acd1f[_0x379d6b(0x249)](),_0x5acd1f[_0x379d6b(0x2d8)](),!_0x152961['multiple']?(_0x3c2806(_0x1b5c82[_0x379d6b(0x273)]),_0x51af7a[_0x379d6b(0x1f6)](_0x55cc02)):_0xce4a60['prop']('checked',!_0xce4a60[_0x379d6b(0x20d)](_0x379d6b(0x1ab)));});}),_0x55cc02['css']({'display':_0x58b5a2(0x1d7)}),_0x55cc02['on'](_0x58b5a2(0x30b),function(_0x2a6bd6){const _0x51de34=_0x58b5a2;if(_0x2a6bd6[_0x51de34(0x1f1)]===0x28)_0x2a6bd6[_0x51de34(0x249)](),$(this)[_0x51de34(0x1d9)](_0x51de34(0x250))[_0x51de34(0x1dc)]()[_0x51de34(0x292)](_0x51de34(0x228));else{if(_0x2a6bd6[_0x51de34(0x1f1)]===0x26)_0x2a6bd6['preventDefault'](),$(this)[_0x51de34(0x1d9)](_0x51de34(0x250))[_0x51de34(0x1d5)]()[_0x51de34(0x292)](_0x51de34(0x228));else _0x2a6bd6[_0x51de34(0x1f1)]===0x1b&&(_0x2a6bd6[_0x51de34(0x249)](),_0x51af7a[_0x51de34(0x1f6)](_0x55cc02));}_0x2a6bd6['stopPropagation']();}),_0x55cc02;},'disarmClick':![],'_showMenu'(_0x3952e5,_0x10c8d8){const _0x4c69a9=_0x39970c;if(this[_0x4c69a9(0x1ec)]){this[_0x4c69a9(0x1ec)]=![];return;}var _0x48f90f=this,_0x287688=_0x10c8d8[_0x4c69a9(0x29e)](),_0x1fd3a7=_0x10c8d8[_0x4c69a9(0x2e6)](),_0xd5842b=_0x3952e5['height'](),_0x198c2d=_0x1fd3a7+_0x287688['top'];_0x198c2d+_0xd5842b-$(document)['scrollTop']()>$(window)[_0x4c69a9(0x2e6)]()&&(_0x198c2d-=_0x198c2d+_0xd5842b-$(window)['height']()+0x5),_0x198c2d<0x0&&(_0x3952e5[_0x4c69a9(0x2e6)](_0xd5842b+_0x198c2d),_0x198c2d=0x0),_0x3952e5[_0x4c69a9(0x2a8)]({'top':_0x198c2d+'px','left':_0x287688[_0x4c69a9(0x19b)]+'px'}),_0x3952e5[_0x4c69a9(0x2f0)](0x64),this[_0x4c69a9(0x313)](function(){const _0x545623=_0x4c69a9;_0x48f90f[_0x545623(0x184)][_0x545623(0x318)](_0x545623(0x220)),$(document)['on'](_0x545623(0x2f4),function(_0x423a5f){const _0x4d8427=_0x545623;!$(_0x423a5f['target'])[_0x4d8427(0x28d)](_0x3952e5)['length']&&_0x48f90f['_hideMenu'](_0x3952e5),$(_0x423a5f[_0x4d8427(0x210)])[_0x4d8427(0x28d)](_0x10c8d8)[_0x4d8427(0x19f)]&&(_0x48f90f['disarmClick']=!![],_0x423a5f[_0x4d8427(0x249)]());});});},'_showTypeMenu'(){const _0xacdabb=_0x39970c,_0x1611c9=this;this[_0xacdabb(0x23c)](_0x1611c9[_0xacdabb(0x290)],_0x1611c9[_0xacdabb(0x23a)]),_0x1611c9['$dropdown']['hide']();const _0x230dac=_0x1611c9[_0xacdabb(0x1c8)];var _0x37a423=_0x1611c9[_0xacdabb(0x290)][_0xacdabb(0x2b0)]('[value=\x27'+_0x230dac+'\x27');setTimeout(function(){const _0x137f82=_0xacdabb;_0x37a423[_0x137f82(0x292)]('focus');},0x78);},'_initMenu'(){const _0x1b4064=_0x39970c,_0x5c86a3=this;_0x5c86a3[_0x1b4064(0x1e8)][_0x1b4064(0x285)](_0x1b4064(0x234),-0x1),_0x5c86a3[_0x1b4064(0x1e8)]['on']('mousedown.red-ui-typedInput-focus-block',function(_0x40b8e3){const _0x2ea4d3=_0x1b4064;_0x40b8e3[_0x2ea4d3(0x249)]();});_0x5c86a3[_0x1b4064(0x290)]&&_0x5c86a3[_0x1b4064(0x290)][_0x1b4064(0x22d)]();const _0x283c92=[{'label':_0x1b4064(0x222),'value':'t','title':'Value\x20is\x20not\x20verified','icon':_0x1b4064(0x279)},{'label':_0x1b4064(0x2ae),'value':_0x1b4064(0x247),'title':_0x1b4064(0x1b6),'icon':'<i\x20class=\x22fa\x20fa-envelope-open-o\x22/>'},{'label':_0x1b4064(0x1ad),'value':'n','icon':_0x1b4064(0x193)},{'label':_0x1b4064(0x242),'value':'na','icon':_0x1b4064(0x1b5)},{'label':_0x1b4064(0x213),'value':'nsu','icon':_0x1b4064(0x2ca)},{'label':_0x1b4064(0x2e1),'value':'b','icon':_0x1b4064(0x1ca)},{'label':_0x1b4064(0x2e5),'value':'ab','icon':_0x1b4064(0x19a)}],_0x5ceebb=_0x2f760a(_0x5c86a3['$input'][_0x1b4064(0x199)]()),_0x19df2e=_0x283c92[_0x1b4064(0x2b0)](_0x4756d5=>_0x4756d5['value']===_0x5ceebb);_0x5c86a3['$selectLabel'][_0x1b4064(0x229)]()[_0x1b4064(0x29d)](_0x1b4064(0x303)+((_0x19df2e===null||_0x19df2e===void 0x0?void 0x0:_0x19df2e[_0x1b4064(0x1da)])||'')+_0x1b4064(0x282)+((_0x19df2e===null||_0x19df2e===void 0x0?void 0x0:_0x19df2e[_0x1b4064(0x209)])||'')+'</span>'),_0x5c86a3[_0x1b4064(0x1c8)]=_0x5ceebb;const _0x55475d=this;_0x5c86a3[_0x1b4064(0x290)]=this[_0x1b4064(0x284)](_0x283c92,{},_0x366e7e=>{const _0x17fdfe=_0x1b4064,_0x417085=_0x4b2112(_0x366e7e);_0x417085&&_0x55475d[_0x17fdfe(0x18d)](_0x417085);const _0x1c2d6a=_0x283c92[_0x17fdfe(0x2b0)](_0x51710f=>_0x51710f['value']===_0x366e7e);_0x5c86a3[_0x17fdfe(0x1c8)]=_0x366e7e,_0x5c86a3[_0x17fdfe(0x302)][_0x17fdfe(0x229)]()['append']('<span\x20title='+((_0x1c2d6a===null||_0x1c2d6a===void 0x0?void 0x0:_0x1c2d6a[_0x17fdfe(0x1da)])||'')+_0x17fdfe(0x282)+((_0x1c2d6a===null||_0x1c2d6a===void 0x0?void 0x0:_0x1c2d6a[_0x17fdfe(0x209)])||'')+'</span>');}),_0x5c86a3[_0x1b4064(0x290)][_0x1b4064(0x181)](document[_0x1b4064(0x2ea)]),_0x5c86a3[_0x1b4064(0x290)][_0x1b4064(0x194)](),_0x5c86a3['$selectTrigger'][_0x1b4064(0x30d)]();},'mode'(){const _0x831314=_0x39970c,_0x5f53e5=this;return _0x4b2112(_0x5f53e5[_0x831314(0x1c8)]);},'setMode'(_0x17f65f){const _0x4aac89=_0x39970c,_0x4d0d2b=this,_0x5d7685=_0x2fd1cd(_0x17f65f);_0x4d0d2b[_0x4aac89(0x1c8)]=_0x5d7685;},'_create'(){const _0x2fc7ca=_0x39970c,_0x4c7553=this;_0x4c7553[_0x2fc7ca(0x1bb)]=this[_0x2fc7ca(0x31c)],_0x4c7553[_0x2fc7ca(0x1bb)][_0x2fc7ca(0x2a8)](_0x2fc7ca(0x2e8),_0x2fc7ca(0x1d7)),_0x4c7553['$elementDiv']=_0x4c7553[_0x2fc7ca(0x1bb)]['wrap'](_0x2fc7ca(0x1c9))['parent']()[_0x2fc7ca(0x318)](_0x2fc7ca(0x188)),_0x4c7553['$combo']=$(_0x2fc7ca(0x217)),_0x4c7553[_0x2fc7ca(0x23a)]['addClass'](_0x2fc7ca(0x2da)),_0x4c7553[_0x2fc7ca(0x1bb)][_0x2fc7ca(0x25d)](_0x4c7553['$combo']),_0x4c7553[_0x2fc7ca(0x255)]=$(_0x2fc7ca(0x217))[_0x2fc7ca(0x318)](_0x2fc7ca(0x310)),_0x4c7553[_0x2fc7ca(0x23a)]['append'](_0x4c7553[_0x2fc7ca(0x255)]),_0x4c7553['$inputGroup']['append'](_0x4c7553['$input']),_0x4c7553[_0x2fc7ca(0x1e9)]=$(_0x2fc7ca(0x2c4)),_0x4c7553[_0x2fc7ca(0x1bb)][_0x2fc7ca(0x22f)](_0x4c7553['$toggleTreeBtn']),_0x4c7553[_0x2fc7ca(0x1e9)]['on']('click',function(){return _0x1af33f(this,void 0x0,void 0x0,function*(){const _0x5e5e84=_0x7fa3;var _0x4e8d90;let _0x287e2e=![],_0x220860;!_0x4c7553[_0x5e5e84(0x1ff)]['is'](_0x5e5e84(0x1a1))&&(_0x4c7553[_0x5e5e84(0x29a)][_0x5e5e84(0x194)](),_0x220860=yield _0x4c7553[_0x5e5e84(0x224)](),(_0x220860!==_0x4c7553[_0x5e5e84(0x31b)]||((_0x4e8d90=_0x4c7553[_0x5e5e84(0x31b)])===null||_0x4e8d90===void 0x0?void 0x0:_0x4e8d90['nodeId'])!==_0x220860[_0x5e5e84(0x1a7)])&&(yield _0x4c7553[_0x5e5e84(0x215)]()),_0x287e2e=!![]),_0x4c7553[_0x5e5e84(0x1ff)][_0x5e5e84(0x308)](),_0x287e2e&&(yield _0x2639eb(_0x4c7553,_0x220860));});}),_0x4c7553[_0x2fc7ca(0x232)]=$(_0x2fc7ca(0x2d9)),_0x4c7553[_0x2fc7ca(0x1bb)][_0x2fc7ca(0x22f)](_0x4c7553[_0x2fc7ca(0x232)]),_0x4c7553[_0x2fc7ca(0x232)]['on'](_0x2fc7ca(0x185),()=>{const _0x27e128=_0x2fc7ca,_0x204f01=_0x4c7553[_0x27e128(0x1f9)]();if(!_0x204f01)return;this[_0x27e128(0x18d)](_0x204f01);});const _0x14b479=_0x26e1fb=>_0x1af33f(this,void 0x0,void 0x0,function*(){const _0x120387=_0x2fc7ca,_0x5664bf=this;let _0xb77593=_0x5664bf[_0x120387(0x1f9)]();if(!_0xb77593)return;const _0xb4d481=_0x1d6ed4(_0x5664bf),{data:_0x1defc3,json:_0x487259}=yield _0x144d5c(_0xb4d481,_0x26e1fb);if(_0x1defc3[_0x120387(0x306)]!==0xc8)return;if(_0x487259[_0x120387(0x31f)][_0x120387(0x1e7)](/Good/)){const _0x25e4b5=_0x5e440e(_0x487259,_0xb77593);_0x5664bf['$input'][_0x120387(0x199)](_0x25e4b5),_0x5664bf[_0x120387(0x1bb)][_0x120387(0x292)](_0x120387(0x2c5));}});{_0x4c7553[_0x2fc7ca(0x184)]=$(_0x2fc7ca(0x1c9)),_0x4c7553[_0x2fc7ca(0x1bb)]['before'](_0x4c7553[_0x2fc7ca(0x184)]),_0x4c7553[_0x2fc7ca(0x1e8)]=$(_0x2fc7ca(0x27f))['prependTo'](_0x4c7553[_0x2fc7ca(0x184)]),$('<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>')['toggle'](!![])[_0x2fc7ca(0x181)](_0x4c7553['$selectTrigger']),_0x4c7553['$selectTrigger']['on']('click',function(_0x4ce21a){const _0x2ca217=_0x2fc7ca;_0x4ce21a['preventDefault'](),_0x4ce21a['stopPropagation'](),_0x4c7553[_0x2ca217(0x256)]();}),_0x4c7553[_0x2fc7ca(0x1e8)]['on'](_0x2fc7ca(0x30b),function(_0x5a596e){const _0x4f347e=_0x2fc7ca;_0x5a596e[_0x4f347e(0x1f1)]===0x28&&_0x4c7553[_0x4f347e(0x256)](),_0x5a596e[_0x4f347e(0x2d8)]();})['on']('focus',function(){const _0x37aeb2=_0x2fc7ca;_0x4c7553[_0x37aeb2(0x184)][_0x37aeb2(0x318)](_0x37aeb2(0x220));})['on']('blur',function(){const _0x406f57=_0x2fc7ca;_0x4c7553[_0x406f57(0x184)]['removeClass'](_0x406f57(0x220));}),_0x4c7553[_0x2fc7ca(0x302)]=$('<span\x20class=\x22red-ui-typedInput-type-label\x22></span>')['appendTo'](_0x4c7553[_0x2fc7ca(0x1e8)]);}this[_0x2fc7ca(0x2a5)]();!_0x4c7553['$input'][_0x2fc7ca(0x285)](_0x2fc7ca(0x2df))&&_0x4c7553['$input'][_0x2fc7ca(0x285)](_0x2fc7ca(0x2df),_0x2fc7ca(0x2be));_0x4c7553[_0x2fc7ca(0x29a)]=$(_0x2fc7ca(0x18e)),_0x4c7553[_0x2fc7ca(0x29a)][_0x2fc7ca(0x194)](),_0x4c7553[_0x2fc7ca(0x23a)]['append'](_0x4c7553['$info']),_0x4c7553[_0x2fc7ca(0x1ff)]=$(_0x2fc7ca(0x217))[_0x2fc7ca(0x318)](_0x2fc7ca(0x1af))['hide']()[_0x2fc7ca(0x181)](_0x4c7553['$combo']),_0x4c7553['$tree']=$(_0x2fc7ca(0x2c0))['appendTo'](_0x4c7553[_0x2fc7ca(0x1ff)]),this[_0x2fc7ca(0x215)]();const _0x179685=(_0x40175c,_0x34e271)=>{const _0x43e69f=_0x2fc7ca,_0x32f33e=0x14,_0x3f61b3=0x14,_0x44643b=_0x40175c[_0x43e69f(0x29e)](),_0x2bd4d0=_0x34e271;if(_0x2bd4d0[_0x43e69f(0x1f4)]>=_0x44643b[_0x43e69f(0x19b)]&&_0x2bd4d0['pageX']<=_0x44643b['left']+_0x32f33e&&_0x2bd4d0[_0x43e69f(0x1a3)]>=_0x44643b[_0x43e69f(0x28b)]&&_0x2bd4d0[_0x43e69f(0x1a3)]<=_0x44643b['top']+_0x3f61b3)return!![];return![];},_0x569e4c=_0xf1fcd9=>_0x1af33f(this,void 0x0,void 0x0,function*(){const _0xb517fa=_0x2fc7ca;if(_0xf1fcd9[_0xb517fa(0x1bc)](_0xb517fa(0x1d8)))_0x19194c(_0x4c7553,_0xf1fcd9);else{if(_0xf1fcd9[_0xb517fa(0x1bc)](_0xb517fa(0x2db)))_0xf1fcd9[_0xb517fa(0x1d9)]('ul')[_0xb517fa(0x308)](),_0xf1fcd9[_0xb517fa(0x2fe)](_0xb517fa(0x23e));else{if(_0xf1fcd9[_0xb517fa(0x1d9)]('ul')[_0xb517fa(0x1d9)]()[_0xb517fa(0x19f)]>0x0)_0xf1fcd9[_0xb517fa(0x1d9)]('ul')[_0xb517fa(0x308)](),_0xf1fcd9[_0xb517fa(0x2fe)](_0xb517fa(0x23e));else;}}});_0x4c7553[_0x2fc7ca(0x1c5)]['on']('dblclick','li',function(_0x2198e3){const _0x16d9ad=_0x2fc7ca;var _0x481b78,_0x9c9941;_0x2198e3[_0x16d9ad(0x2d8)]();let _0x3de635=$(this);if(_0x179685(_0x3de635,_0x2198e3))_0x569e4c(_0x3de635);else{const _0xe0693e=_0x3de635[_0x16d9ad(0x2cb)](_0x16d9ad(0x273)),_0x391619=_0x3de635[_0x16d9ad(0x2cb)]('reference');if(_0x4c7553[_0x16d9ad(0x218)][_0x16d9ad(0x2c7)]&&!_0x4c7553[_0x16d9ad(0x218)][_0x16d9ad(0x2c7)](_0x