@opcua/for-node-red
Version:
The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team
37 lines (29 loc) • 47 kB
HTML
<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);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%}.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-ExtensionObject.css.map */
</style>
<script type="text/javascript">
function _0x2f92(){const _0x531fb0=['ns=0;i=47','nodeId_aliased','bp_indexed','offset','nodeClass','off','i=0','inputs','$verifyBtn','<li>error\x20','browseResult','VariableType',':first','tabindex','HasChild','registerType','<i\x20class=\x22fa\x20fa-tag\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ','currentParent','click','<input\x20type=\x22checkbox\x22>','nsu',');\x20-webkit-mask-image:\x20url(','match','> \x20','left','Organizes','DarkOrange','sterfive-input-error','function','node_label_italic','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','fa-cog','!!failure!!','Good','show','</span>','sort','right','hide','browseName','already\x20loading','position','name','attr','POST','<div>','expanded','<button\x20title=\x22open\x20OPCUA\x20AddressSpace\x20Browser\x22><i\x20class=\x22fa\x20fa-sitemap\x22></i></button>','aliasedBrowsePath','../../icons/opcuanodeLogo.png','data',':focus','$inputGroup','pointer-events','<i\x20class=\x22fa\x20fa-tag\x22/>1\x20 \x20','referenceTypeId','Structure','closest','background-color:transparent;overflow:hidden;border:3px','li[key=\x22','<i\x20class=\x22fa\x20fa-font\x22/i>\x20','ns=0;i=85','wrap','val','msg','red-ui-typedInput-focus','<iframe></iframe>','isTypeRef','keydown','node\x20class:\x20','Object','expandable','$toggleTreeBtn','fa-object-group','indexOf','SteelBlue','next','$menu','addClass','sterfive.nodeBrowser','</span><ul></ul></li>','14CxeflO','ns=0;i=35','Objects','none','loading','1612881aYdAHh','bp_aliased',':visible','#node-input-endpoint','prop','aliased\x20browsePath:\x20','Method','16px','$tree','TypeDefinition','trigger','assign','appendTo','join','<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>','nodeId_nsu','ObjectType','HasComponent','18px','/checkNodeId','HasProperty','nodeId:\x20','extension\x20object','fa-folder','Variable','string','aliased\x20NodeId:\x20','DisplayName','opts','reset','hasClass','CadetBlue','$uiSelect','title','nodeId','value','toggleClass','aliasedNodeId','SuppressedError','node','$elementDiv','reference','708010FolOTc','setMode','endpoint','top','BrowsePath','DataType','parentNode','1479414ypTyuc','mode','relativePath','sterfive-typedInput-options\x20sterfive-online-menu','<i\x20class=\x22fa\x20fa-id-card\x22/> \x20','fetching\x20failed\x20with\x20error','pageX','mousedown.red-ui-typedInput-focus-block','push','element','$info','absolute','IsForward','ns=0;i=45','scrollTop','text','24Jdbwug','expandable\x20expanded','resolveParentNode','empty','options','View','2411390IpdOkV','stopPropagation','[value=\x27','Forward','.spinner','widget','placeholder','/walk-backward','NodeClass','nsu\x20nodeId:\x20','Inverse','focus','<ul\x20class=\x22sterfive-tree\x22></ul>','Both','Value\x20is\x20not\x20verified','displayName','length','<div/>','_hideMenu','sterfive-input-group','$dropdown','msg.','each','$selectLabel','<div\x20class=\x22sterfive-info-text\x22></div>','red-ui-typedInput-icon','change','auto','failure','BrowseName','SeaGreen','selectedMenuItem','references','forEach','_createMenu','11TdaIKp','stringify','icon','fa-list-alt','20px','_showMenu','statusCode','<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>','ns=0;i=46','baseUrl','prependTo','error','body','_showTypeMenu','append','red-ui-typedInput-icon\x20','fetched','DodgerBlue','checked','elements','json','selected','keyCode','i=61','suppressed','_initMenu','<li\x20key=\x22','then','__parentNode','<i>','$selectTrigger','removeClass','preventDefault','call','log','NodeId\x20with\x20namespace\x20Urn','animate','grey','verify','throw','ns=0;i=40','endpointNode','input[type=\x22checkbox\x22]','height','prev','7158DHCYbb','typeDefinition','find','/opcua-for-node-red','node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','$input','after','mousedown.red-ui-typedInput-close-property-select','status','62898iKynWa','apply','toString','pageY','nodes','HasTypeDefinition','nsuNodeID','/opcua-for-node-red/support-frame.html','<span\x20title=','</li>','Invalid','application/json','.tree-text:first','browsePath','.red-ui-tray-body','target','browse\x20path:\x20','rgba(61,\x2060,\x204,\x200.525)','statusCode:\x20','remove','OpcUa-Endpoint2','sterfive-combo-box','/browse','Unspecified','namespaceAliases','css','651488biLtsB','HasSubtype','OPCUA\x20Client\x20Extension\x20Object','localeCompare','callback','112AIOFSQ','$combo','opcua','statusText','ReferenceType','disarmClick',';\x22></i>\x20','children','toggle'];_0x2f92=function(){return _0x531fb0;};return _0x2f92();}function _0x4341(_0x374dc0,_0x91ff48){const _0x2f92a0=_0x2f92();return _0x4341=function(_0x4341d0,_0x27c2c1){_0x4341d0=_0x4341d0-0xf5;let _0x233e63=_0x2f92a0[_0x4341d0];return _0x233e63;},_0x4341(_0x374dc0,_0x91ff48);}(function(_0x5433c5,_0xd30fa8){const _0x224dbe=_0x4341,_0x400240=_0x5433c5();while(!![]){try{const _0x303173=-parseInt(_0x224dbe(0x191))/0x1*(parseInt(_0x224dbe(0x169))/0x2)+parseInt(_0x224dbe(0x172))/0x3*(parseInt(_0x224dbe(0x113))/0x4)+parseInt(_0x224dbe(0xfc))/0x5+-parseInt(_0x224dbe(0x103))/0x6+-parseInt(_0x224dbe(0x1eb))/0x7*(-parseInt(_0x224dbe(0x18c))/0x8)+parseInt(_0x224dbe(0x1f0))/0x9+-parseInt(_0x224dbe(0x119))/0xa*(-parseInt(_0x224dbe(0x13c))/0xb);if(_0x303173===_0xd30fa8)break;else _0x400240['push'](_0x400240['shift']());}catch(_0x2063f1){_0x400240['push'](_0x400240['shift']());}}}(_0x2f92,0x319c1),(function(){'use strict';const _0x14e4a9=_0x4341;function _0x492b8a(_0x353dbf,_0x18e0c7,_0xdc22f9,_0x4c21e7){function _0x31add8(_0x4bb602){return _0x4bb602 instanceof _0xdc22f9?_0x4bb602:new _0xdc22f9(function(_0x52a0d6){_0x52a0d6(_0x4bb602);});}return new(_0xdc22f9||(_0xdc22f9=Promise))(function(_0x31fd8e,_0x4e46ab){const _0x1ce073=_0x4341;function _0x283cf8(_0x43d2f2){const _0x3ff864=_0x4341;try{_0x47e8d9(_0x4c21e7[_0x3ff864(0x1e6)](_0x43d2f2));}catch(_0xf84640){_0x4e46ab(_0xf84640);}}function _0x4b3b37(_0x11b512){const _0x33990c=_0x4341;try{_0x47e8d9(_0x4c21e7[_0x33990c(0x163)](_0x11b512));}catch(_0x394ad9){_0x4e46ab(_0x394ad9);}}function _0x47e8d9(_0x55ea5c){const _0x5d0599=_0x4341;_0x55ea5c['done']?_0x31fd8e(_0x55ea5c[_0x5d0599(0xf5)]):_0x31add8(_0x55ea5c[_0x5d0599(0xf5)])[_0x5d0599(0x157)](_0x283cf8,_0x4b3b37);}_0x47e8d9((_0x4c21e7=_0x4c21e7[_0x1ce073(0x173)](_0x353dbf,_0x18e0c7||[]))[_0x1ce073(0x1e6)]());});}typeof SuppressedError===_0x14e4a9(0x1b6)?SuppressedError:function(_0x31ec7a,_0x72fe6f,_0x40e731){const _0x524a7f=_0x14e4a9;var _0x29f821=new Error(_0x40e731);return _0x29f821['name']=_0x524a7f(0xf8),_0x29f821[_0x524a7f(0x147)]=_0x31ec7a,_0x29f821[_0x524a7f(0x154)]=_0x72fe6f,_0x29f821;};const _0xf1174c=_0x14e4a9(0x1ec),_0x15e808='ns=0;i=61',_0x3b9aac=_0x14e4a9(0x19a),_0x410da3=_0x14e4a9(0x144),_0x18ac19='ns=0;i=34',_0x399d4b=_0x14e4a9(0x110),_0x1fa59c=_0x14e4a9(0x164);var _0x2bbd30;(function(_0x1f733b){const _0x3bd4fb=_0x14e4a9;_0x1f733b[_0x1f733b['Forward']=0x0]=_0x3bd4fb(0x11c),_0x1f733b[_0x1f733b['Inverse']=0x1]=_0x3bd4fb(0x123),_0x1f733b[_0x1f733b[_0x3bd4fb(0x126)]=0x2]='Both',_0x1f733b[_0x1f733b[_0x3bd4fb(0x17c)]=0x3]=_0x3bd4fb(0x17c);}(_0x2bbd30||(_0x2bbd30={})));var _0x8413ef;(function(_0x380ab3){const _0x410c5=_0x14e4a9;_0x380ab3[_0x380ab3[_0x410c5(0x189)]=0x0]='Unspecified',_0x380ab3[_0x380ab3[_0x410c5(0x1e0)]=0x1]=_0x410c5(0x1e0),_0x380ab3[_0x380ab3[_0x410c5(0x208)]=0x2]='Variable',_0x380ab3[_0x380ab3['Method']=0x4]=_0x410c5(0x1f6),_0x380ab3[_0x380ab3['ObjectType']=0x8]=_0x410c5(0x200),_0x380ab3[_0x380ab3[_0x410c5(0x1a5)]=0x10]=_0x410c5(0x1a5),_0x380ab3[_0x380ab3[_0x410c5(0x195)]=0x20]='ReferenceType',_0x380ab3[_0x380ab3[_0x410c5(0x101)]=0x40]=_0x410c5(0x101),_0x380ab3[_0x380ab3[_0x410c5(0x118)]=0x80]=_0x410c5(0x118);}(_0x8413ef||(_0x8413ef={})));var _0x4107a1;(function(_0x2f25fe){const _0x4edff4=_0x14e4a9;_0x2f25fe[_0x2f25fe[_0x4edff4(0x1e0)]=0x1]=_0x4edff4(0x1e0),_0x2f25fe[_0x2f25fe[_0x4edff4(0x208)]=0x2]=_0x4edff4(0x208),_0x2f25fe[_0x2f25fe[_0x4edff4(0x1f6)]=0x4]=_0x4edff4(0x1f6),_0x2f25fe[_0x2f25fe[_0x4edff4(0x200)]=0x8]=_0x4edff4(0x200),_0x2f25fe[_0x2f25fe[_0x4edff4(0x1a5)]=0x10]=_0x4edff4(0x1a5),_0x2f25fe[_0x2f25fe[_0x4edff4(0x195)]=0x20]=_0x4edff4(0x195),_0x2f25fe[_0x2f25fe[_0x4edff4(0x101)]=0x40]=_0x4edff4(0x101),_0x2f25fe[_0x2f25fe[_0x4edff4(0x118)]=0x80]=_0x4edff4(0x118);}(_0x4107a1||(_0x4107a1={})));var _0x161a63;(function(_0x5b084c){const _0x21d0d0=_0x14e4a9;_0x5b084c[_0x5b084c[_0x21d0d0(0x195)]=0x1]='ReferenceType',_0x5b084c[_0x5b084c[_0x21d0d0(0x10f)]=0x2]=_0x21d0d0(0x10f),_0x5b084c[_0x5b084c[_0x21d0d0(0x121)]=0x4]=_0x21d0d0(0x121),_0x5b084c[_0x5b084c[_0x21d0d0(0x136)]=0x8]=_0x21d0d0(0x136),_0x5b084c[_0x5b084c[_0x21d0d0(0x20b)]=0x10]=_0x21d0d0(0x20b),_0x5b084c[_0x5b084c[_0x21d0d0(0x1f9)]=0x20]=_0x21d0d0(0x1f9);}(_0x161a63||(_0x161a63={})));function _0x2675d7(_0xe28075){const _0x23b0ba=_0x14e4a9;switch(_0xe28075){case _0x23b0ba(0x1b3):return _0xf1174c;case _0x23b0ba(0x204):return _0x410da3;case _0x23b0ba(0x201):return _0x3b9aac;case _0x23b0ba(0x1a8):return _0x18ac19;case _0x23b0ba(0x18d):return _0x399d4b;case _0x23b0ba(0x177):return _0x1fa59c;}}const _0x2166ad=_0x5e97a4=>{const _0x2c57ff=_0x14e4a9;switch(_0x5e97a4['nodeClass']){case _0x2c57ff(0x1e0):if(_0x5e97a4['referenceTypeId']===_0xf1174c);if(_0x5e97a4[_0x2c57ff(0x16a)]===_0x15e808||_0x5e97a4[_0x2c57ff(0x1d1)]===_0x2c57ff(0x153))return{'icon':_0x2c57ff(0x207),'color':_0x2c57ff(0x183)};return{'icon':_0x2c57ff(0x1e3),'color':_0x2c57ff(0x137)};case _0x2c57ff(0x208):if(_0x5e97a4[_0x2c57ff(0x1d1)]===_0x3b9aac)return{'icon':_0x2c57ff(0x13f),'color':_0x2c57ff(0x1e5)};else return _0x5e97a4['referenceTypeId']===_0x410da3?{'icon':_0x2c57ff(0x13f),'color':_0x2c57ff(0x14d)}:{'icon':_0x2c57ff(0x13f),'color':_0x2c57ff(0x20f)};case _0x2c57ff(0x1f6):return{'icon':_0x2c57ff(0x1b9),'color':'SandyBrown'};case'ObjectType':return{'icon':'fa-object-group','color':_0x2c57ff(0x1b4)};case _0x2c57ff(0x1a5):return{'icon':'fa-sliders','color':_0x2c57ff(0x1b4)};case _0x2c57ff(0x101):return{'icon':'fa-text-width','color':'CadetBlue'};}return{'icon':'fa-question','color':_0x2c57ff(0x161)};},_0x211283=(_0x1ce4be,_0x4b4e68,_0x30cc86)=>_0x492b8a(void 0x0,[_0x1ce4be,_0x4b4e68,_0x30cc86],void 0x0,function*({endpointNode:_0x47cc3b,endpoint:_0x2fbe7f,baseUrl:_0x534233},_0x588e16,_0x113497){const _0x3cf6ed=_0x14e4a9,_0x13b1e1=_0x534233+_0x3cf6ed(0x16c),_0x2b6ef1=_0x13b1e1+_0x3cf6ed(0x188),_0x2beeab=Object['assign'](Object[_0x3cf6ed(0x1fb)]({},_0x113497),{'nodeId':_0x588e16,'resultMask':0x3f}),_0x507e18=yield fetch(_0x2b6ef1,{'method':_0x3cf6ed(0x1c6),'body':JSON['stringify']({'endpointNode':_0x47cc3b,'endpoint':_0x2fbe7f,'browseDescription':_0x2beeab}),'headers':{'Content-Type':_0x3cf6ed(0x17d)}});if(_0x507e18[_0x3cf6ed(0x171)]!==0xc8)return console[_0x3cf6ed(0x15e)](_0x3cf6ed(0x108),_0x507e18[_0x3cf6ed(0x171)],_0x507e18[_0x3cf6ed(0x194)]),{'references':[]};const _0x3c43ff=yield _0x507e18[_0x3cf6ed(0x150)](),_0x4992f6=_0x3c43ff[_0x3cf6ed(0x1a4)][_0x3cf6ed(0x139)]||[];return{'references':_0x4992f6};}),_0x81a615={'referenceTypeId':_0x2675d7(_0x14e4a9(0x1a8)),'includeSubtypes':!![],'browseDirection':_0x2bbd30[_0x14e4a9(0x11c)],'nodeClassMask':_0x8413ef[_0x14e4a9(0x208)]|_0x8413ef[_0x14e4a9(0x1e0)]|_0x8413ef[_0x14e4a9(0x1f6)],'resultMask':0x3f},_0x483bf0={'referenceTypeId':_0x2675d7(_0x14e4a9(0x1b3)),'includeSubtypes':!![],'browseDirection':_0x2bbd30[_0x14e4a9(0x11c)],'nodeClassMask':_0x8413ef[_0x14e4a9(0x208)]|_0x8413ef[_0x14e4a9(0x1e0)]|_0x8413ef[_0x14e4a9(0x1f6)],'resultMask':0x3f},_0x1fc0d9=(_0x39c745,_0x57b882)=>_0x492b8a(void 0x0,[_0x39c745,_0x57b882],void 0x0,function*({endpointNode:_0x24410e,endpoint:_0x2e7044,baseUrl:_0x67d5af},{nodeId:_0x206922,rootNodeId:_0x4c2a44,isType:_0x560018}){const _0x3a78e0=_0x14e4a9,_0x4cf80e=_0x67d5af+_0x3a78e0(0x16c),_0x20b7dc=_0x4cf80e+_0x3a78e0(0x120),_0x138d19=yield fetch(_0x20b7dc,{'method':_0x3a78e0(0x1c6),'body':JSON[_0x3a78e0(0x13d)]({'endpointNode':_0x24410e,'endpoint':_0x2e7044,'nodeId':_0x206922,'rootNodeId':_0x4c2a44,'isType':_0x560018}),'headers':{'Content-Type':'application/json'}});if(_0x138d19['status']!==0xc8)return null;const _0x435989=yield _0x138d19['json']();return _0x435989[_0x3a78e0(0x17f)];}),_0x168cc3=(_0x598893,_0x4d8c9b)=>{const _0x532608=_0x14e4a9;if(_0x598893[_0x532608(0x142)]!==_0x532608(0x1bb))return _0x598893['requestedNodeId'];switch(_0x4d8c9b){case _0x532608(0x17f):return _0x598893['bp_indexed'];case'aliasedBrowsePath':return _0x598893[_0x532608(0x1f1)]||_0x598893[_0x532608(0x19c)];case'aliasedNodeId':return _0x598893[_0x532608(0x19b)]||_0x598893[_0x532608(0x1ff)];case'nsuNodeID':return _0x598893[_0x532608(0x1ff)];default:case _0x532608(0x212):return _0x598893[_0x532608(0x212)];}},_0x442022=_0xbd0f7d=>{const _0x4ea429=_0x14e4a9;if(_0xbd0f7d[_0x4ea429(0x142)]!==_0x4ea429(0x1bb))return _0x4ea429(0x184)+_0xbd0f7d[_0x4ea429(0x142)];else{let _0x21c86e=[];return _0x21c86e[_0x4ea429(0x10b)](_0x4ea429(0x205)+_0xbd0f7d[_0x4ea429(0x212)]),_0x21c86e[_0x4ea429(0x10b)](_0x4ea429(0x182)+_0xbd0f7d[_0x4ea429(0x19c)]),_0x21c86e[_0x4ea429(0x10b)](_0x4ea429(0x1df)+_0x8413ef[_0xbd0f7d[_0x4ea429(0x19e)]]),_0xbd0f7d['nodeId_nsu']&&_0x21c86e[_0x4ea429(0x10b)](_0x4ea429(0x122)+_0xbd0f7d[_0x4ea429(0x1ff)]),_0xbd0f7d['nodeId_aliased']&&_0x21c86e[_0x4ea429(0x10b)](_0x4ea429(0x20a)+_0xbd0f7d['nodeId_aliased']),_0xbd0f7d[_0x4ea429(0x19c)]&&_0x21c86e['push'](_0x4ea429(0x1f5)+_0xbd0f7d[_0x4ea429(0x1f1)]),_0x21c86e[_0x4ea429(0x1fd)]('\x0a');}};function _0x34921c(_0x4c94eb){const _0x57085f=_0x14e4a9;if(_0x4c94eb[_0x57085f(0x1b0)](/^nsu=/))return'nsuNodeID';if(_0x4c94eb[_0x57085f(0x1b0)](/^(ns=.*;)?(i|b|s|g)=/))return _0x57085f(0x212);if(_0x4c94eb['match'](/^nsa=/))return _0x57085f(0xf7);if(_0x4c94eb['match'](/^(\/|\.)[0-9]+:/))return _0x57085f(0x17f);if(_0x4c94eb[_0x57085f(0x1b0)](/^(\/|\.).*:/))return _0x57085f(0x17f);}function _0x45f4b1(_0x1ff949){const _0x1d3d27=_0x14e4a9,_0x42a861=_0x34921c(_0x1ff949);switch(_0x42a861){case _0x1d3d27(0x212):return'n';case'aliasedNodeId':return'na';case _0x1d3d27(0x178):return _0x1d3d27(0x1ae);case'browsePath':return'b';case'aliasedBrowsePath':return'ab';default:return't';}}function _0x2343aa(_0x3958b7){const _0x60f54d=_0x14e4a9;let _0x2a1ca9;switch(_0x3958b7){case'n':_0x2a1ca9=_0x60f54d(0x212);break;case'na':_0x2a1ca9=_0x60f54d(0xf7);break;case _0x60f54d(0x1ae):_0x2a1ca9=_0x60f54d(0x178);break;case'b':_0x2a1ca9=_0x60f54d(0x17f);break;case'ab':_0x2a1ca9=_0x60f54d(0x1ca);break;}return _0x2a1ca9;}function _0x106e54(_0x268c83){const _0x2b4962=_0x14e4a9;switch(_0x268c83){case'nodeId':return'n';case _0x2b4962(0xf7):return'na';case _0x2b4962(0x178):return'nsu';case'browsePath':return'b';case'aliasedBrowsePath':return'ab';default:return't';}}const _0x47f07c=(_0x4aa780,_0x2e4a08)=>_0x492b8a(void 0x0,[_0x4aa780,_0x2e4a08],void 0x0,function*({endpointNode:_0x1e18d5,endpoint:_0x2a66ce,baseUrl:_0x32e333},_0x44078b){const _0x4722fa=_0x14e4a9,_0x155b19=_0x32e333+_0x4722fa(0x16c),_0x46f273=_0x155b19+_0x4722fa(0x203),_0xa03271=_0x1e18d5['id'],_0x5d6121=RED[_0x4722fa(0x176)][_0x4722fa(0xf9)](_0xa03271);console[_0x4722fa(0x15e)](_0x5d6121['namespaceAliases']),_0x5d6121['namespaceAliases'];const _0x3f312d=_0x1e18d5['namespaceAliases'],_0x49e100=yield fetch(_0x46f273,{'method':_0x4722fa(0x1c6),'body':JSON[_0x4722fa(0x13d)]({'endpointNode':_0x1e18d5,'endpoint':_0x2a66ce,'nodeId':_0x44078b,'namespaceAliases':_0x3f312d}),'headers':{'Content-Type':'application/json'}}),_0x9f4cb1=yield _0x49e100['json']();return{'json':_0x9f4cb1,'data':_0x49e100};}),_0x501716=(_0xaa321f,_0x174a97,_0x4c91df,_0x3e97d1)=>_0x492b8a(void 0x0,[_0xaa321f,_0x174a97,_0x4c91df,_0x3e97d1],void 0x0,function*({endpointNode:_0x730be8,endpoint:_0x3d81d3,baseUrl:_0x12327e},_0x148408,_0x418f88,_0x3d5c18){const _0x5b5b09=_0x14e4a9,_0xdd39a9=_0x418f88[_0x5b5b09(0x1d9)](),{json:_0x4cb3ff,data:_0x37c14e}=yield _0x47f07c({'endpointNode':_0x730be8,'endpoint':_0x3d81d3,'baseUrl':_0x12327e},_0xdd39a9),_0x4dba5e=(_0x37c308,_0xe992f7)=>{const _0x157141=_0x5b5b09;_0x3d5c18[_0x157141(0x112)](_0x37c308)[_0x157141(0x1e8)]('sterfive-info')[_0x157141(0x1e8)](_0xe992f7),_0x3d5c18['show'](),setTimeout(()=>{const _0x43ca33=_0x157141;_0x3d5c18[_0x43ca33(0x15b)](_0xe992f7),_0x3d5c18[_0x43ca33(0x1c0)]();},0xbb8);};if(_0x37c14e[_0x5b5b09(0x171)]!==0xc8)return _0x4dba5e(_0x5b5b09(0x1ba)+_0xdd39a9,_0x5b5b09(0x135)),![];else{if(_0x4cb3ff[_0x5b5b09(0x142)][_0x5b5b09(0x1b0)](/Good/)){const _0x2d3ccf=_0x442022(_0x4cb3ff);_0x418f88[_0x5b5b09(0x1c5)](_0x5b5b09(0x211),_0x2d3ccf);const _0x564d21=_0x168cc3(_0x4cb3ff,_0x148408);return _0x418f88[_0x5b5b09(0x1d9)](_0x564d21),_0x418f88[_0x5b5b09(0x1fa)]('change'),_0x4dba5e('Good','ok'),!![];}else return _0x418f88['val'](''+_0xdd39a9),_0x4dba5e(_0x4cb3ff['statusCode']+'\x20'+_0x37c14e['statusText'],_0x5b5b09(0x135)),![];}});function _0x5ad820(_0x36bc5b,_0xe16c3a){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x4a2fa3=_0x4341,_0x21693b=_0x36bc5b[_0x4a2fa3(0x1cc)]('value'),_0x2fd8cf=yield _0x211283(_0xe16c3a,_0x21693b,_0x81a615),_0x167e04=yield _0x211283(_0xe16c3a,_0x21693b,_0x483bf0);return{'references':[..._0x2fd8cf[_0x4a2fa3(0x139)],..._0x167e04['references']]};});}const _0x33fbfc={'referenceTypeId':_0x2675d7(_0x14e4a9(0x18d)),'includeSubtypes':!![],'browseDirection':_0x2bbd30[_0x14e4a9(0x11c)],'nodeClassMask':_0x8413ef[_0x14e4a9(0x195)]|_0x8413ef[_0x14e4a9(0x200)]|_0x8413ef[_0x14e4a9(0x101)]|_0x8413ef[_0x14e4a9(0x1a5)],'resultMask':0x3f};function _0x14fe75(_0x8d1b8a,_0x23236e){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x1ad0d7=_0x4341,_0x3d7dea=_0x8d1b8a[_0x1ad0d7(0x1cc)](_0x1ad0d7(0xf5)),_0x9cd1f5=yield _0x211283(_0x23236e,_0x3d7dea,_0x33fbfc);return _0x9cd1f5;});}const _0x1451c2=_0x2d1ae6=>{const _0x1beaef=_0x14e4a9;var _0x13e747,_0xd8f35f,_0x2b0eeb,_0x344644;if(!_0x2d1ae6||!_0x2d1ae6['nodeId']){const _0x26e0af=$(_0x1beaef(0x1fe));return _0x26e0af;}const _0x350c40=_0x2d1ae6['nodeId'][_0x1beaef(0x174)](),_0x4605de=((_0x13e747=_0x2d1ae6[_0x1beaef(0x128)])===null||_0x13e747===void 0x0?void 0x0:_0x13e747['text'])||((_0xd8f35f=_0x2d1ae6[_0x1beaef(0x1c1)])===null||_0xd8f35f===void 0x0?void 0x0:_0xd8f35f['name'])||_0x2d1ae6[_0x1beaef(0x212)][_0x1beaef(0x174)](),{icon:_0x322e80,color:_0x270414}=_0x2166ad(_0x2d1ae6),_0x4bb4b2='('+_0x2d1ae6['nodeId'][_0x1beaef(0x174)]()+')\x20'+(((_0x2b0eeb=_0x2d1ae6[_0x1beaef(0x1c1)])===null||_0x2b0eeb===void 0x0?void 0x0:_0x2b0eeb['name'])||((_0x344644=_0x2d1ae6['displayName'])===null||_0x344644===void 0x0?void 0x0:_0x344644[_0x1beaef(0x112)])||''),_0x2d911f=$(_0x1beaef(0x156)+_0x2d1ae6[_0x1beaef(0x212)][_0x1beaef(0x174)]()+'\x22}><span\x20class=\x22tree-text\x22\x20title='+_0x4bb4b2+'><i\x20class=\x22fa\x20'+_0x322e80+'\x22\x20style=\x22color:'+_0x270414+_0x1beaef(0x197)+_0x4605de+_0x1beaef(0x1ea));return _0x2d911f['addClass'](_0x1beaef(0x1e1)),_0x2d911f[_0x1beaef(0x1cc)](_0x1beaef(0xf5),_0x350c40),_0x2d911f[_0x1beaef(0x1cc)](_0x1beaef(0xfb),_0x2d1ae6),_0x2d911f;},_0x163a4e=(_0x42a0e0,_0x5f0732)=>{const _0x28c39b=_0x14e4a9;return _0x5f0732['find'](_0x28c39b(0x1d5)+_0x42a0e0+'\x22]');},_0x209277=(_0x36ebcd,_0x5727cf)=>{const _0x33e195=_0x14e4a9;_0x36ebcd['$tree'][_0x33e195(0x16b)]('li\x20>\x20.tree-text')[_0x33e195(0x15b)](_0x33e195(0x151)),_0x5727cf[_0x33e195(0x16b)](_0x33e195(0x17e))[_0x33e195(0x1e8)](_0x33e195(0x151));},_0x13a6fe=(_0x162a15,_0x37db37,_0x208a1e)=>_0x492b8a(void 0x0,void 0x0,void 0x0,function*(){const _0x260b9b=_0x14e4a9;let _0x11fbdf=_0x208a1e[_0x260b9b(0x198)](_0x260b9b(0x1a6));_0x37db37[_0x260b9b(0x105)][_0x260b9b(0x14f)]||[];const _0x3633cf=_0x37db37['nodeIds']||[];if(_0x3633cf[_0x260b9b(0x129)]===0x0)return;for(const _0x101765 of _0x3633cf){_0x11fbdf[_0x260b9b(0x20e)](_0x260b9b(0x1e1))&&(yield _0x451359(_0x162a15,_0x11fbdf));const _0xaba785=_0x163a4e(_0x101765,_0x11fbdf);if(_0xaba785[_0x260b9b(0x129)]===0x0)return;_0x11fbdf=_0xaba785;}_0x209277(_0x162a15,_0x11fbdf),_0x338551(_0x162a15[_0x260b9b(0x12d)],_0x11fbdf);});function _0x338551(_0x3225ae,_0xa0c751){const _0x3e7699=_0x14e4a9,_0x5ed55c=_0xa0c751[_0x3e7699(0x1c3)]()['top'],_0x473100=_0x3225ae[_0x3e7699(0x111)]();if(_0x473100==undefined)return;const _0x17c4f9=_0x473100+_0x5ed55c-_0x3225ae[_0x3e7699(0x167)]()/0x2+_0xa0c751[_0x3e7699(0x167)]()/0x2;_0x3225ae[_0x3e7699(0x160)]({'scrollTop':_0x17c4f9},0x1f4);}const _0x3f76b7=(_0x20dd7,_0x3e6a12)=>_0x492b8a(void 0x0,void 0x0,void 0x0,function*(){const _0x369de1=_0x14e4a9,_0x58c17a=_0x20dd7[_0x369de1(0x16e)][_0x369de1(0x1d9)](),_0x1f1368={'nodeId':_0x58c17a,'rootNodeId':_0x3e6a12[_0x369de1(0x212)],'isType':_0x20dd7[_0x369de1(0x117)][_0x369de1(0x1dd)]||![]},_0x17d7b5=_0x5a2c6c(_0x20dd7),_0xca39b5=yield _0x1fc0d9(_0x17d7b5,_0x1f1368);if(!_0xca39b5)return;yield _0x13a6fe(_0x20dd7,_0xca39b5,_0x20dd7['$tree']);});function _0x1eda6f(_0x37f4af,_0xfbbfa0,_0x1a3a9e,_0x1039d2){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x5d9a98=_0x4341;if(_0xfbbfa0[_0x5d9a98(0x20e)]('fetched')){console[_0x5d9a98(0x15e)]('already\x20fetched');return;}if(_0xfbbfa0[_0x5d9a98(0x20e)](_0x5d9a98(0x1ef))){console[_0x5d9a98(0x15e)](_0x5d9a98(0x1c2));return;}_0xfbbfa0[_0x5d9a98(0x1e8)](_0x5d9a98(0x1ef)),_0xfbbfa0[_0x5d9a98(0x14a)]('<div\x20class=\x22spinner\x22></div>');try{_0xfbbfa0[_0x5d9a98(0x198)]('ul')[_0x5d9a98(0x116)]();const {references:_0x983eb3}=yield _0x1a3a9e(_0xfbbfa0,_0x1039d2);_0x983eb3[_0x5d9a98(0x1be)]((_0x5d2a0f,_0x32cc51)=>{const _0x2f387f=_0x5d9a98;var _0x4e2305,_0x3792e9;return(((_0x4e2305=_0x5d2a0f[_0x2f387f(0x1c1)])===null||_0x4e2305===void 0x0?void 0x0:_0x4e2305[_0x2f387f(0x1c4)])||'')[_0x2f387f(0x18f)](((_0x3792e9=_0x32cc51[_0x2f387f(0x1c1)])===null||_0x3792e9===void 0x0?void 0x0:_0x3792e9['name'])||'');});for(const _0xaf053f of _0x983eb3){if(_0x37f4af[_0x5d9a98(0x117)]['filter']&&!_0x37f4af['options']['filter'](_0xaf053f))continue;const _0x1e4ccd=_0x1451c2(_0xaf053f);_0xfbbfa0[_0x5d9a98(0x198)]('ul')[_0x5d9a98(0x14a)](_0x1e4ccd);}_0xfbbfa0[_0x5d9a98(0x1e8)](_0x5d9a98(0x14c));}catch(_0x4fec66){_0xfbbfa0['children']('ul')[_0x5d9a98(0x14a)](_0x5d9a98(0x1a3)+_0x4fec66['message']+_0x5d9a98(0x17b)),console[_0x5d9a98(0x15e)]('err',_0x4fec66);}_0xfbbfa0['find'](_0x5d9a98(0x11d))[_0x5d9a98(0x185)](),_0xfbbfa0[_0x5d9a98(0x15b)]('loading');});}function _0x5a2c6c(_0x2bd390){const _0x273c00=_0x14e4a9,_0x394b12={'baseUrl':_0x2bd390[_0x273c00(0x117)][_0x273c00(0x145)],'endpointNode':typeof _0x2bd390[_0x273c00(0x117)][_0x273c00(0x165)]===_0x273c00(0x1b6)?_0x2bd390['options'][_0x273c00(0x165)]():_0x2bd390[_0x273c00(0x117)][_0x273c00(0x165)],'endpoint':typeof _0x2bd390[_0x273c00(0x117)]['endpoint']===_0x273c00(0x1b6)?_0x2bd390[_0x273c00(0x117)][_0x273c00(0xfe)]():_0x2bd390[_0x273c00(0x117)][_0x273c00(0xfe)]};return _0x394b12;}function _0x451359(_0x24273d,_0x16cd7d){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x3023e4=_0x4341;if(_0x16cd7d[_0x3023e4(0x20e)](_0x3023e4(0x14c))){_0x16cd7d[_0x3023e4(0x15b)]('expandable')[_0x3023e4(0x1e8)](_0x3023e4(0x1c8)),_0x16cd7d[_0x3023e4(0x198)]('ul')[_0x3023e4(0x199)]();return;}const _0x1e42c8=_0x5a2c6c(_0x24273d),_0x3c365b=!_0x24273d[_0x3023e4(0x117)][_0x3023e4(0x1dd)]?_0x5ad820:_0x14fe75;try{yield _0x1eda6f(_0x24273d,_0x16cd7d,_0x3c365b,_0x1e42c8),_0x16cd7d[_0x3023e4(0x15b)](_0x3023e4(0x1e1))[_0x3023e4(0x1e8)](_0x3023e4(0x1c8));}catch(_0x222c47){_0x16cd7d[_0x3023e4(0x15b)](_0x3023e4(0x1e1))[_0x3023e4(0x1e8)](_0x3023e4(0x1c8)),console['log'](_0x3023e4(0x147),_0x222c47);}});}const _0x39d8aa={'browseName':{'namespaceIndex':0x0,'name':_0x14e4a9(0x1ed)},'nodeClass':_0x14e4a9(0x1e0),'nodeId':_0x14e4a9(0x1d7),'displayName':{'text':_0x14e4a9(0x1ed)},'typeDefinition':_0x15e808},_0x526f43=()=>{const _0x2b2eae=_0x14e4a9;$[_0x2b2eae(0x11e)](_0x2b2eae(0x1e9),{'options':{'endpointNode':()=>({'endpoint':'opc.tcp://opcuademo.sterfive.com:26543'}),'endpoint':()=>undefined,'parentNode':()=>_0x39d8aa,'filter':()=>!![],'baseUrl':'','isTypeRef':![]},'resolveParentNode'(){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0xb49622=_0x4341,_0xb098eb=this;if(_0xb098eb[_0xb49622(0x158)]==undefined){const _0x179a43=typeof _0xb098eb[_0xb49622(0x117)]['parentNode']===_0xb49622(0x1b6)?_0xb098eb[_0xb49622(0x117)][_0xb49622(0x102)][_0xb49622(0x15d)](_0xb098eb):_0xb098eb['options'][_0xb49622(0x102)];if(_0x179a43 instanceof Promise){const _0x148b87=yield _0x179a43;_0xb098eb['__parentNode']=_0x148b87;}else _0xb098eb[_0xb49622(0x158)]=_0x179a43;}return _0xb098eb[_0xb49622(0x158)]||_0x39d8aa;});},'reset'(){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x323566=_0x4341,_0x7863=this,_0x5136f0=_0x7863;_0x5136f0[_0x323566(0x158)]=undefined,_0x7863[_0x323566(0x1f8)][_0x323566(0x116)]();const _0x314b1b=yield this[_0x323566(0x115)](),_0x287146=_0x1451c2(_0x314b1b);_0x7863[_0x323566(0x1f8)]['append'](_0x287146),_0x7863['currentParent']=_0x314b1b;});},'verify'(_0x3be733){const _0x169355=_0x2b2eae,_0x4272e3=this,_0x47b35d=_0x5a2c6c(_0x4272e3);_0x501716(_0x47b35d,_0x3be733,_0x4272e3[_0x169355(0x16e)],_0x4272e3[_0x169355(0x10d)])[_0x169355(0x157)](_0x3ce6d6=>{const _0x19a4a1=_0x169355;!_0x3ce6d6?_0x4272e3[_0x19a4a1(0x192)]['addClass']('sterfive-input-error'):_0x4272e3[_0x19a4a1(0x192)]['removeClass'](_0x19a4a1(0x1b5));});},'_hideMenu'(_0x423300){const _0x5829b2=_0x2b2eae,_0x5bf9b7=this;$(document)[_0x5829b2(0x19f)](_0x5829b2(0x170)),_0x423300[_0x5829b2(0x1c0)](),_0x423300[_0x5829b2(0x18b)]({'height':_0x5829b2(0x134)});if(_0x423300['opts']['multiple']){var _0x23288c=[];_0x423300[_0x5829b2(0x16b)](_0x5829b2(0x166))[_0x5829b2(0x12f)](function(){const _0x304d58=_0x5829b2;$(this)[_0x304d58(0x1f4)](_0x304d58(0x14e))&&_0x23288c[_0x304d58(0x10b)]($(this)[_0x304d58(0x1cc)](_0x304d58(0xf5)));}),_0x423300[_0x5829b2(0x190)](_0x23288c);}_0x5bf9b7[_0x5829b2(0xfa)]['is'](_0x5829b2(0x1f2))?_0x5bf9b7[_0x5829b2(0x16e)][_0x5829b2(0x1fa)](_0x5829b2(0x124)):_0x5bf9b7[_0x5829b2(0x15a)][_0x5829b2(0x1fa)]('focus');},'_createMenu'(_0x4d0a43,_0xfe9e0b,_0x2fcfc7){const _0x5639c5=_0x2b2eae;var _0x57dba5=this;const _0x3413d6=$('<div>')['addClass'](_0x5639c5(0x106));return _0x3413d6[_0x5639c5(0x20c)]=_0xfe9e0b,_0x3413d6['callback']=_0x2fcfc7,_0x4d0a43[_0x5639c5(0x13a)](_0x13dd88=>{const _0x595b25=_0x5639c5;typeof _0x13dd88===_0x595b25(0x209)&&(_0x13dd88={'value':_0x13dd88,'label':_0x13dd88});var _0x258cbe=$('<a\x20href=\x22#\x22></a>')[_0x595b25(0x1c5)]('value',_0x13dd88[_0x595b25(0xf5)])[_0x595b25(0x1fc)](_0x3413d6);_0x13dd88['label']&&_0x258cbe[_0x595b25(0x112)](_0x13dd88['label']);_0x13dd88[_0x595b25(0x211)]&&_0x258cbe[_0x595b25(0x1f4)](_0x595b25(0x211),_0x13dd88[_0x595b25(0x211)]);if(_0x13dd88[_0x595b25(0x13e)]){if(_0x13dd88[_0x595b25(0x13e)][_0x595b25(0x1e4)]('<')===0x0)$(_0x13dd88[_0x595b25(0x13e)])['prependTo'](_0x258cbe);else _0x13dd88[_0x595b25(0x13e)]['indexOf']('/')!==-0x1?$(_0x595b25(0x159),{'class':_0x595b25(0x132),'style':'mask-image:\x20url('+_0x13dd88[_0x595b25(0x13e)]+_0x595b25(0x1af)+_0x13dd88['icon']+');'})[_0x595b25(0x146)](_0x258cbe):$(_0x595b25(0x159),{'class':_0x595b25(0x14b)+_0x13dd88[_0x595b25(0x13e)]})[_0x595b25(0x146)](_0x258cbe);}else _0x258cbe['css']({'paddingLeft':_0x595b25(0x202)});!_0x13dd88[_0x595b25(0x13e)]&&!_0x13dd88['label']&&_0x258cbe[_0x595b25(0x112)](_0x13dd88[_0x595b25(0xf5)]);var _0x13beeb;_0xfe9e0b['multiple']&&(_0x13beeb=$(_0x595b25(0x1ad))[_0x595b25(0x18b)](_0x595b25(0x1cf),'none')[_0x595b25(0x1cc)](_0x595b25(0xf5),_0x13dd88[_0x595b25(0xf5)])[_0x595b25(0x146)](_0x258cbe)['on']('mousedown',function(_0x1d217f){_0x1d217f['preventDefault']();})),_0x258cbe['on'](_0x595b25(0x1ac),function(_0x3a1f50){const _0x52dfb9=_0x595b25;_0x3a1f50[_0x52dfb9(0x15c)](),_0x3a1f50[_0x52dfb9(0x11a)](),!_0xfe9e0b['multiple']?(_0x2fcfc7(_0x13dd88[_0x52dfb9(0xf5)]),_0x57dba5[_0x52dfb9(0x12b)](_0x3413d6)):_0x13beeb[_0x52dfb9(0x1f4)](_0x52dfb9(0x14e),!_0x13beeb['prop'](_0x52dfb9(0x14e)));});}),_0x3413d6[_0x5639c5(0x18b)]({'display':_0x5639c5(0x1ee)}),_0x3413d6['on'](_0x5639c5(0x1de),function(_0xc10851){const _0x4d74c1=_0x5639c5;if(_0xc10851['keyCode']===0x28)_0xc10851[_0x4d74c1(0x15c)](),$(this)['children'](_0x4d74c1(0x1cd))['next']()[_0x4d74c1(0x1fa)]('focus');else{if(_0xc10851[_0x4d74c1(0x152)]===0x26)_0xc10851[_0x4d74c1(0x15c)](),$(this)[_0x4d74c1(0x198)](_0x4d74c1(0x1cd))[_0x4d74c1(0x168)]()[_0x4d74c1(0x1fa)](_0x4d74c1(0x124));else _0xc10851[_0x4d74c1(0x152)]===0x1b&&(_0xc10851[_0x4d74c1(0x15c)](),_0x57dba5[_0x4d74c1(0x12b)](_0x3413d6));}_0xc10851[_0x4d74c1(0x11a)]();}),_0x3413d6;},'disarmClick':![],'_showMenu'(_0x4b288b,_0x41a80e){const _0x306e98=_0x2b2eae;if(this[_0x306e98(0x196)]){this[_0x306e98(0x196)]=![];return;}var _0x4b6d4a=this,_0x49386b=_0x41a80e[_0x306e98(0x19d)](),_0x2d8887=_0x41a80e[_0x306e98(0x167)](),_0x479a20=_0x4b288b[_0x306e98(0x167)](),_0x1cb848=_0x2d8887+_0x49386b['top'];_0x1cb848+_0x479a20-$(document)[_0x306e98(0x111)]()>$(window)['height']()&&(_0x1cb848-=_0x1cb848+_0x479a20-$(window)[_0x306e98(0x167)]()+0x5),_0x1cb848<0x0&&(_0x4b288b[_0x306e98(0x167)](_0x479a20+_0x1cb848),_0x1cb848=0x0),_0x4b288b[_0x306e98(0x18b)]({'top':_0x1cb848+'px','left':_0x49386b[_0x306e98(0x1b2)]+'px'}),_0x4b288b['slideDown'](0x64),this['_delay'](function(){const _0x4977ae=_0x306e98;_0x4b6d4a[_0x4977ae(0x210)][_0x4977ae(0x1e8)](_0x4977ae(0x1db)),$(document)['on']('mousedown.red-ui-typedInput-close-property-select',function(_0x5e19fe){const _0x4dc0d0=_0x4977ae;!$(_0x5e19fe[_0x4dc0d0(0x181)])[_0x4dc0d0(0x1d3)](_0x4b288b)[_0x4dc0d0(0x129)]&&_0x4b6d4a['_hideMenu'](_0x4b288b),$(_0x5e19fe[_0x4dc0d0(0x181)])[_0x4dc0d0(0x1d3)](_0x41a80e)[_0x4dc0d0(0x129)]&&(_0x4b6d4a[_0x4dc0d0(0x196)]=!![],_0x5e19fe[_0x4dc0d0(0x15c)]());});});},'_showTypeMenu'(){const _0x37029a=_0x2b2eae,_0x24e099=this;this[_0x37029a(0x141)](_0x24e099[_0x37029a(0x1e7)],_0x24e099[_0x37029a(0x192)]),_0x24e099[_0x37029a(0x12d)][_0x37029a(0x1c0)]();const _0x3a8d1c=_0x24e099[_0x37029a(0x138)];var _0x2e9929=_0x24e099[_0x37029a(0x1e7)]['find'](_0x37029a(0x11b)+_0x3a8d1c+'\x27');setTimeout(function(){const _0x3c3832=_0x37029a;_0x2e9929[_0x3c3832(0x1fa)](_0x3c3832(0x124));},0x78);},'_initMenu'(){const _0x5c0b56=_0x2b2eae,_0x43428d=this;_0x43428d[_0x5c0b56(0x15a)][_0x5c0b56(0x1c5)](_0x5c0b56(0x1a7),-0x1),_0x43428d[_0x5c0b56(0x15a)]['on'](_0x5c0b56(0x10a),function(_0xa3d7ae){const _0x1012b4=_0x5c0b56;_0xa3d7ae[_0x1012b4(0x15c)]();});_0x43428d[_0x5c0b56(0x1e7)]&&_0x43428d['$menu']['remove']();const _0x199f2d=[{'label':_0x5c0b56(0x112),'value':'t','title':_0x5c0b56(0x127),'icon':_0x5c0b56(0x1d6)},{'label':_0x5c0b56(0x12e),'value':_0x5c0b56(0x1da),'title':_0x5c0b56(0x16d),'icon':'<i\x20class=\x22fa\x20fa-envelope-open-o\x22/>'},{'label':'NodeId','value':'n','icon':_0x5c0b56(0x1d0)},{'label':'Aliased\x20NodeId','value':'na','icon':'<i\x20class=\x22fa\x20fa-bookmark\x22/> \x20'},{'label':_0x5c0b56(0x15f),'value':_0x5c0b56(0x1ae),'icon':_0x5c0b56(0x107)},{'label':_0x5c0b56(0x100),'value':'b','icon':_0x5c0b56(0x1aa)},{'label':'Aliased\x20Browse\x20Path','value':'ab','icon':'<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> '}],_0x2f5c0b=_0x45f4b1(_0x43428d['$input']['val']()),_0x31b3b3=_0x199f2d[_0x5c0b56(0x16b)](_0x4982d3=>_0x4982d3[_0x5c0b56(0xf5)]===_0x2f5c0b);_0x43428d['$selectLabel'][_0x5c0b56(0x116)]()[_0x5c0b56(0x14a)](_0x5c0b56(0x17a)+((_0x31b3b3===null||_0x31b3b3===void 0x0?void 0x0:_0x31b3b3[_0x5c0b56(0x211)])||'')+_0x5c0b56(0x1b1)+((_0x31b3b3===null||_0x31b3b3===void 0x0?void 0x0:_0x31b3b3['icon'])||'')+'</span>'),_0x43428d['selectedMenuItem']=_0x2f5c0b;const _0xfb7f33=this;_0x43428d[_0x5c0b56(0x1e7)]=this[_0x5c0b56(0x13b)](_0x199f2d,{},_0x21f84d=>{const _0x4590c5=_0x5c0b56,_0x152f23=_0x2343aa(_0x21f84d);_0x152f23&&_0xfb7f33[_0x4590c5(0x162)](_0x152f23);const _0x436691=_0x199f2d[_0x4590c5(0x16b)](_0x29a49d=>_0x29a49d[_0x4590c5(0xf5)]===_0x21f84d);_0x43428d['selectedMenuItem']=_0x21f84d,_0x43428d[_0x4590c5(0x130)]['empty']()['append'](_0x4590c5(0x17a)+((_0x436691===null||_0x436691===void 0x0?void 0x0:_0x436691['title'])||'')+_0x4590c5(0x1b1)+((_0x436691===null||_0x436691===void 0x0?void 0x0:_0x436691['icon'])||'')+_0x4590c5(0x1bd));}),_0x43428d[_0x5c0b56(0x1e7)][_0x5c0b56(0x1fc)](document[_0x5c0b56(0x148)]),_0x43428d[_0x5c0b56(0x1e7)]['hide'](),_0x43428d[_0x5c0b56(0x15a)][_0x5c0b56(0x1bc)]();},'mode'(){const _0x13eb21=_0x2b2eae,_0x3a76f2=this;return _0x2343aa(_0x3a76f2[_0x13eb21(0x138)]);},'setMode'(_0x1bff3a){const _0x4c08e5=this,_0x2a0f49=_0x106e54(_0x1bff3a);_0x4c08e5['selectedMenuItem']=_0x2a0f49;},'_create'(){const _0x3bc29a=_0x2b2eae,_0x58514c=this;_0x58514c[_0x3bc29a(0x16e)]=this[_0x3bc29a(0x10c)],_0x58514c[_0x3bc29a(0x16e)]['css']('border',_0x3bc29a(0x1ee)),_0x58514c[_0x3bc29a(0xfa)]=_0x58514c[_0x3bc29a(0x16e)][_0x3bc29a(0x1d8)](_0x3bc29a(0x1c7))['parent']()[_0x3bc29a(0x1e8)]('main-wrapper'),_0x58514c['$combo']=$('<div/>'),_0x58514c[_0x3bc29a(0x192)]['addClass'](_0x3bc29a(0x187)),_0x58514c[_0x3bc29a(0x16e)]['replaceWith'](_0x58514c[_0x3bc29a(0x192)]),_0x58514c[_0x3bc29a(0x1ce)]=$(_0x3bc29a(0x12a))['addClass'](_0x3bc29a(0x12c)),_0x58514c[_0x3bc29a(0x192)][_0x3bc29a(0x14a)](_0x58514c[_0x3bc29a(0x1ce)]),_0x58514c[_0x3bc29a(0x1ce)][_0x3bc29a(0x14a)](_0x58514c[_0x3bc29a(0x16e)]),_0x58514c[_0x3bc29a(0x1e2)]=$(_0x3bc29a(0x1c9)),_0x58514c[_0x3bc29a(0x16e)][_0x3bc29a(0x16f)](_0x58514c[_0x3bc29a(0x1e2)]),_0x58514c[_0x3bc29a(0x1e2)]['on'](_0x3bc29a(0x1ac),function(){return _0x492b8a(this,void 0x0,void 0x0,function*(){const _0x347053=_0x4341;var _0x130849;let _0x36dce8=![],_0x1cb709;!_0x58514c['$dropdown']['is'](_0x347053(0x1f2))&&(_0x58514c[_0x347053(0x10d)][_0x347053(0x1c0)](),_0x1cb709=yield _0x58514c['resolveParentNode'](),(_0x1cb709!==_0x58514c[_0x347053(0x1ab)]||((_0x130849=_0x58514c[_0x347053(0x1ab)])===null||_0x130849===void 0x0?void 0x0:_0x130849[_0x347053(0x212)])!==_0x1cb709[_0x347053(0x212)])&&(yield _0x58514c[_0x347053(0x20d)]()),_0x36dce8=!![]),_0x58514c[_0x347053(0x12d)][_0x347053(0x199)](),_0x36dce8&&(yield _0x3f76b7(_0x58514c,_0x1cb709));});}),_0x58514c[_0x3bc29a(0x1a2)]=$(_0x3bc29a(0x143)),_0x58514c[_0x3bc29a(0x16e)][_0x3bc29a(0x16f)](_0x58514c[_0x3bc29a(0x1a2)]),_0x58514c[_0x3bc29a(0x1a2)]['on']('click',()=>{const _0xcfd4df=_0x3bc29a,_0x2d6224=_0x58514c['mode']();if(!_0x2d6224)return;this[_0xcfd4df(0x162)](_0x2d6224);});const _0x56c878=_0x7efab9=>_0x492b8a(this,void 0x0,void 0x0,function*(){const _0x2f758a=_0x3bc29a,_0x47477c=this;let _0x463da3=_0x47477c[_0x2f758a(0x104)]();if(!_0x463da3)return;const _0x2e6841=_0x5a2c6c(_0x47477c),{data:_0x14b538,json:_0x3d519a}=yield _0x47f07c(_0x2e6841,_0x7efab9);if(_0x14b538[_0x2f758a(0x171)]!==0xc8)return;if(_0x3d519a[_0x2f758a(0x142)][_0x2f758a(0x1b0)](/Good/)){const _0x125994=_0x168cc3(_0x3d519a,_0x463da3);_0x47477c['$input'][_0x2f758a(0x1d9)](_0x125994),_0x47477c[_0x2f758a(0x16e)][_0x2f758a(0x1fa)](_0x2f758a(0x133));}});{_0x58514c['$uiSelect']=$(_0x3bc29a(0x1c7)),_0x58514c[_0x3bc29a(0x16e)]['before'](_0x58514c['$uiSelect']),_0x58514c[_0x3bc29a(0x15a)]=$(_0x3bc29a(0x1b8))[_0x3bc29a(0x146)](_0x58514c[_0x3bc29a(0x210)]),$('<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>')[_0x3bc29a(0x199)](!![])[_0x3bc29a(0x1fc)](_0x58514c[_0x3bc29a(0x15a)]),_0x58514c[_0x3bc29a(0x15a)]['on'](_0x3bc29a(0x1ac),function(_0xcb1bdf){const _0x3e0c5c=_0x3bc29a;_0xcb1bdf[_0x3e0c5c(0x15c)](),_0xcb1bdf['stopPropagation'](),_0x58514c[_0x3e0c5c(0x149)]();}),_0x58514c[_0x3bc29a(0x15a)]['on'](_0x3bc29a(0x1de),function(_0x1f4ea2){_0x1f4ea2['keyCode']===0x28&&_0x58514c['_showTypeMenu'](),_0x1f4ea2['stopPropagation']();})['on'](_0x3bc29a(0x124),function(){const _0x1cb082=_0x3bc29a;_0x58514c[_0x1cb082(0x210)]['addClass'](_0x1cb082(0x1db));})['on']('blur',function(){const _0x268fe5=_0x3bc29a;_0x58514c[_0x268fe5(0x210)][_0x268fe5(0x15b)]('red-ui-typedInput-focus');}),_0x58514c['$selectLabel']=$('<span\x20class=\x22red-ui-typedInput-type-label\x22></span>')[_0x3bc29a(0x1fc)](_0x58514c[_0x3bc29a(0x15a)]);}this[_0x3bc29a(0x155)]();!_0x58514c[_0x3bc29a(0x16e)][_0x3bc29a(0x1c5)](_0x3bc29a(0x11f))&&_0x58514c[_0x3bc29a(0x16e)][_0x3bc29a(0x1c5)](_0x3bc29a(0x11f),'enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20');_0x58514c['$info']=$(_0x3bc29a(0x131)),_0x58514c[_0x3bc29a(0x10d)][_0x3bc29a(0x1c0)](),_0x58514c['$combo'][_0x3bc29a(0x14a)](_0x58514c[_0x3bc29a(0x10d)]),_0x58514c[_0x3bc29a(0x12d)]=$(_0x3bc29a(0x12a))['addClass']('sterfive-dropdown')[_0x3bc29a(0x1c0)]()['appendTo'](_0x58514c[_0x3bc29a(0x192)]),_0x58514c['$tree']=$(_0x3bc29a(0x125))['appendTo'](_0x58514c[_0x3bc29a(0x12d)]),this['reset']();const _0x2b320b=(_0x3a4d80,_0x487c2b)=>{const _0x53891d=_0x3bc29a,_0x2c4b4b=0x14,_0x3b2ca9=0x14,_0xa9c29f=_0x3a4d80[_0x53891d(0x19d)](),_0x570481=_0x487c2b;if(_0x570481[_0x53891d(0x109)]>=_0xa9c29f[_0x53891d(0x1b2)]&&_0x570481[_0x53891d(0x109)]<=_0xa9c29f[_0x53891d(0x1b2)]+_0x2c4b4b&&_0x570481[_0x53891d(0x175)]>=_0xa9c29f['top']&&_0x570481[_0x53891d(0x175)]<=_0xa9c29f[_0x53891d(0xff)]+_0x3b2ca9)return!![];return![];},_0x145dab=_0x138c9d=>_0x492b8a(this,void 0x0,void 0x0,function*(){const _0x327e36=_0x3bc29a;if(_0x138c9d[_0x327e36(0x20e)](_0x327e36(0x1e1)))_0x451359(_0x58514c,_0x138c9d);else{if(_0x138c9d[_0x327e36(0x20e)]('expanded'))_0x138c9d['children']('ul')[_0x327e36(0x199)](),_0x138c9d[_0x327e36(0xf6)](_0x327e36(0x114));else{if(_0x138c9d[_0x327e36(0x198)]('ul')[_0x327e36(0x198)]()[_0x327e36(0x129)]>0x0)_0x138c9d[_0x327e36(0x198)]('ul')[_0x327e36(0x199)](),_0x138c9d[_0x327e36(0xf6)]('expandable\x20expanded');else;}}});_0x58514c[_0x3bc29a(0x1f8)]['on']('dblclick','li',function(_0x46877a){const _0x2e6d4d=_0x3bc29a;var _0x3652f6,_0x5b1e7d;_0x46877a['stopPropagation']();let _0x1f391b=$(this);if(_0x2b320b(_0x1f391b,_0x46877a))_0x145dab(_0x1f391b);else{const _0x5e246a=_0x1f391b[_0x2e6d4d(0x1cc)](_0x2e6d4d(0xf5)),_0x993fd3=_0x1f391b[_0x2e6d4d(0x1cc)](_0x2e6d4d(0xfb));if(_0x58514c[_0x2e6d4d(0x117)]['isSelectable']&&!_0x58514c[_0x2e6d4d(0x117)]['isSelectable'](_0x993fd3))return;_0x58514c[_0x2e6d4d(0x16e)][_0x2e6d4d(0x1cc)](_0x2e6d4d(0xfb),_0x993fd3),((_0x3652f6=_0x993fd3[_0x2e6d4d(0x128)])===null||_0x3652f6===void 0x0?void 0x0:_0x3652f6[_0x2e6d4d(0x112)])||((_0x5b1e7d=_0x993fd3[_0x2e6d4d(0x1c1)])===null||_0x5b1e7d===void 0x0?void 0x0:_0x5b1e7d[_0x2e6d4d(0x1c4)])||_0x993fd3[_0x2e6d4d(0x212)][_0x2e6d4d(0x174)]();let _0x377965=_0x58514c['mode']();!_0x377965&&(_0x377965='nodeId',_0x58514c[_0x2e6d4d(0xfd)](_0x377965)),_0x56c878(_0x5e246a)[_0x2e6d4d(0x157)](()=>{const _0x1d41f4=_0x2e6d4d;_0x58514c[_0x1d41f4(0x12d)][_0x1d41f4(0x1c0)]();})['catch'](_0x536234=>{const _0x267191=_0x2e6d4d;_0x58514c[_0x267191(0x12d)][_0x267191(0x1c0)]();});}}),_0x58514c[_0x3bc29a(0x1f8)]['on'](_0x3bc29a(0x1ac),'li',function(_0x570567){_0x570567['stopPropagation']();let _0x50ecc3=$(this);_0x2b320b(_0x50ecc3,_0x570567)&&_0x145dab(_0x50ecc3),_0x209277(_0x58514c,_0x50ecc3);}),$(document)['on'](_0x3bc29a(0x1ac),function(_0x13ce55){const _0x438d38=_0x3bc29a;!$(_0x13ce55[_0x438d38(0x181)])['closest'](_0x58514c[_0x438d38(0x192)])[_0x438d38(0x129)]&&_0x58514c[_0x438d38(0x12d)][_0x438d38(0x1c0)]();});}});},_0x52c319=()=>{const _0x241460=_0x14e4a9,_0x8b5393=$(_0x241460(0x1f3)),_0x1369e1=_0x8b5393[_0x241460(0x1d9)](),_0x116446=RED[_0x241460(0x176)]['node'](_0x1369e1);if(!_0x116446)return undefined;const {endpoint:_0x593e22,securityMode:_0x24f872,securityPolicy:_0x1df318,userIdentityType:_0x265c49,credentials:_0x3b30ce,namespaceAliases:_0x3af9b7}=_0x116446,_0x1d9cab={'endpoint':_0x593e22,'securityMode':_0x24f872,'securityPolicy':_0x1df318,'userIdentityType':_0x265c49,'credentials':_0x3b30ce,'namespaceAliases':_0x3af9b7};return _0x1d9cab;},_0x16fa77=()=>{const _0x3ddb0e=_0x14e4a9,_0x8cfea1=$('#node-input-endpoint'),_0x265a97=_0x8cfea1[_0x3ddb0e(0x1d9)](),_0xb6dc7d=_0x52c319();if(!_0xb6dc7d)return undefined;const _0x292756=_0xb6dc7d[_0x3ddb0e(0x18a)];return Object['assign']({'namespaceAliases':_0x292756,'id':_0x265a97},_0xb6dc7d);},_0x9491e3=()=>{return{'endpointNode':_0x16fa77};},_0x3f7d3e=()=>{const _0x2140cc=_0x14e4a9,_0x55993f=$(_0x2140cc(0x180));if(_0x55993f[_0x2140cc(0x129)]){const _0x3adf55=$(_0x2140cc(0x1dc),{'src':_0x2140cc(0x179),'scrolling':'no','style':_0x2140cc(0x1d4),'allowtransparency':'true','width':'180px','height':'30px'});_0x55993f[_0x2140cc(0x14a)](_0x3adf55),_0x3adf55['css']({'position':_0x2140cc(0x10e),'right':_0x2140cc(0x140),'bottom':_0x2140cc(0x1f7)});}};RED[_0x14e4a9(0x176)][_0x14e4a9(0x1a9)]('OpcUa-Client2-ExtensionObject',{'category':_0x14e4a9(0x193),'color':'#C0DEED','align':_0x14e4a9(0x1bf),'icon':_0x14e4a9(0x1cb),'paletteLabel':_0x14e4a9(0x206),'defaults':{'inputs':{'value':0x1},'output':{'value':0x1},'name':{'value':''},'endpoint':{'value':'','required':!![],'type':_0x14e4a9(0x186)},'dataType':{'value':'','required':!![]}},'inputs':0x1,'outputs':0x1,'label'(){const _0x80167f=_0x14e4a9;return this['name']||_0x80167f(0x18e);},'labelStyle'(){const _0x2721a5=_0x14e4a9;return this[_0x2721a5(0x1c4)]?_0x2721a5(0x1b7):'';},'oneditprepare'(){const _0x3109eb=_0x14e4a9,_0xa3af9=this;_0x526f43(),_0x3f7d3e(),_0xa3af9[_0x3109eb(0x1a1)]=0x1;const _0x495c9b=$('#node-input-dataType'),_0x535b99={'nodeId':'i=22','referenceTypeId':'','browseName':{'namespaceIndex':0x0,'name':_0x3109eb(0x1d2)},'displayName':{'text':_0x3109eb(0x1d2)},'nodeClass':'DataType','typeDefinition':_0x3109eb(0x1a0)};_0x495c9b['nodeBrowser'](Object['assign'](Object['assign']({},_0x9491e3()),{'parentNode':()=>_0x535b99,'isSelectable'(_0x2eed7d){const _0x4fbac=_0x3109eb;return _0x2eed7d[_0x4fbac(0x19e)]===_0x4fbac(0x101);},'isTypeRef':!![]}));},'oneditsave'(){}});}()));
</script>
<script type="text/x-red" data-template-name="OpcUa-Client2-ExtensionObject">
<h3>OpcUa ExtensionObject</h3>
<div class="form-row">
<label for="node-input-name"><i class="icon-tasks"></i><span data-i18n="name"></span></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-dataType" style="width: 100%"><i class="fa fa-tag"></i>DataType NodeId</label>
<input type="text" id="node-input-dataType" placeholder="ns=2;s=DataType or empty" />
</div>
</script>
<script type="text/markdown" data-help-name="OpcUa-Client2-ExtensionObject">
construct an extension object from a type definition
You can use this node to construct an extension object from a type definition.
The node will automatically fetch the type definition from the server and display the structure of the type definition in the output message
You can then inject the result of this node to a function nodes that upadte and modity the extension object content and then use it to inject a ExtensionOjbect to a write node or a method call node for instance.
</script>
//# sourceMappingURL=OpcUa-Client2-ExtensionObject.html.map