@opcua/for-node-red 3.26.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/all.js +4 -4
- package/config-panel/assets/index-Cmb8ms9A.js +14 -0
- package/config-panel/assets/index-xa587NsH.css +2 -0
- package/config-panel/index.html +2 -2
- package/examples/coffee-machine-2.json +1 -1
- package/examples/coffee-machine.json +1 -1
- package/package.json +3 -3
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.html +25 -25
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.html +1 -1
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.html +21 -21
- package/source/OpcUa-Client2-ExtensionObject/OpcUa-Client2-ExtensionObject.html +1 -1
- package/source/OpcUa-Client2-FileOperation/OpcUa-Client2-FileOperation.html +1 -1
- package/source/OpcUa-Client2-HistoryRead/OpcUa-Client2-HistoryRead.html +21 -21
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.html +25 -25
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.html +25 -25
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.html +1 -1
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.html +1 -1
- package/source/OpcUa-Endpoint2/OpcUa-Endpoint2.html +115 -115
- package/config-panel/assets/index-1CmpkPWa.js +0 -14
- package/config-panel/assets/index-DiO82X8T.css +0 -2
|
@@ -46,51 +46,51 @@
|
|
|
46
46
|
|
|
47
47
|
<style>
|
|
48
48
|
#connection-messages {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
49
|
+
margin-top: 10px;
|
|
50
|
+
margin-bottom: 10px;
|
|
51
|
+
display: none;
|
|
52
|
+
background-color: #fdfdfd;
|
|
53
|
+
width: 100%;
|
|
54
|
+
max-height: 200px;
|
|
55
|
+
padding: 10px;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
border-radius: 6px;
|
|
58
|
+
font-size: 0.8em;
|
|
59
|
+
font-style: italic;
|
|
60
|
+
font-family: "Courier New", Courier, monospace;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
overflow-x: auto;
|
|
63
|
+
overflow-y: auto;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* For Webkit browsers like Chrome and Safari */
|
|
67
|
+
#connection-messages::-webkit-scrollbar {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#connection-messages {
|
|
72
|
+
/* For Firefox */
|
|
73
|
+
scrollbar-width: none;
|
|
74
|
+
scrollbar-color: transparent transparent;
|
|
75
|
+
/* makes the thumb and track transparent */
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
#connection-failure:not(.hide) ~ #connection-messages {
|
|
79
|
+
border: 2px solid red;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
#connection-success:not(.hide) ~ #connection-messages {
|
|
84
|
+
border: 2px solid green;
|
|
85
|
+
display: inline-block;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#connection-messages p {
|
|
89
|
+
display: block;
|
|
90
|
+
margin: 2, 0, 2, 0;
|
|
91
|
+
padding: 0, 0, 0, 0, 0;
|
|
92
|
+
/* Adjust spacing before the break */
|
|
93
|
+
}
|
|
94
94
|
</style>
|
|
95
95
|
<div id="connection-messages"></div>
|
|
96
96
|
</div>
|
|
@@ -163,79 +163,79 @@
|
|
|
163
163
|
|
|
164
164
|
<style>
|
|
165
165
|
label {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
display: block;
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
}
|
|
169
169
|
</style>
|
|
170
170
|
|
|
171
171
|
<style>
|
|
172
172
|
.custom-checkbox-container {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
173
|
+
width: 100%;
|
|
174
|
+
cursor: pointer;
|
|
175
|
+
user-select: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.custom-checkbox-label {
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
font-family: "FontAwesome", sans-serif;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.custom-checkbox-input:checked + .custom-checkbox-label::before {
|
|
184
|
+
content: "\f205";
|
|
185
|
+
font-size: 24px;
|
|
186
|
+
/* fa-toggle-on */
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.custom-checkbox-input:not(:checked) + .custom-checkbox-label::before {
|
|
190
|
+
content: "\f204";
|
|
191
|
+
font-size: 24px;
|
|
192
|
+
/* fa-toggle-off */
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.custom-checkbox-input {
|
|
196
|
+
display: none !important;
|
|
197
|
+
position: absolute;
|
|
198
|
+
opacity: 0;
|
|
199
|
+
pointer-events: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.subscription-mini-form table {
|
|
203
|
+
width: 100%;
|
|
204
|
+
border: 1;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.subscription-mini-form label {
|
|
208
|
+
display: block;
|
|
209
|
+
cursor: pointer;
|
|
210
|
+
width: auto;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.subscription-mini-form input {
|
|
214
|
+
width: calc(100% - 10px);
|
|
215
|
+
/* Takes the full width minus 10px for right spacing */
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
/* Ensures padding and borders are included in the width */
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.button-style a {
|
|
221
|
+
display: inline-block;
|
|
222
|
+
padding: 10px 20px;
|
|
223
|
+
background-color: #4caf50;
|
|
224
|
+
color: white;
|
|
225
|
+
text-decoration: none;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
border: none;
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
font-size: 16px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.button-style a:hover {
|
|
233
|
+
background-color: #45a049;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.button-style a:active {
|
|
237
|
+
background-color: #3e8e41;
|
|
238
|
+
}
|
|
239
239
|
</style>
|
|
240
240
|
<div class="form-row">
|
|
241
241
|
<div id="pki-status-widget" style="
|
|
@@ -451,6 +451,6 @@ If the `@opcua/for-node-red` client certificate is not trusted by the server, th
|
|
|
451
451
|
|
|
452
452
|
<!-- END OF CONTENTS -->
|
|
453
453
|
<script type="text/javascript">
|
|
454
|
-
function _0x53a6(){const _0x23e144=['PROFESSIONAL','#f5c6cb','14298102PblEQz','opcua\x20endpoint','fa-spinner\x20fa-spin','Anonymous','slice','empty','None','expired','async','tabs','.section-userIdentityType-Certificate','fa\x20fa-exclamation-circle','src','html','\x20will\x20expire\x20','\x20to\x20acquire\x20a\x20license.','<small>','FREEWARE','#888','fa-times-circle','toISOString','.subscription-id','width','node-config-endpoint-tabs','_configOpcuaForNodeRed','element','maxNotificationsPerPublish','⚠️\x20Not\x20registered\x20—\x20nodes\x20are\x20blocked.','auto','<b>','node-input-alias-alias','88950OpKlhg','style','isArray','tomorrow','AUTHORIZED','name','POST','click','in\x20','join','now','8px','background-color:transparent;overflow:hidden;border:3px','show','/onboarding/status','1516707uWREOJ','keys','priority','userIdentityType','pricing-table-id','class','create','internal\x20error\x20','json','#node-input-receiveBufferSize','/licenceInfo','#dc3545','/extract-namespace-aliases','startsWith','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated\x20','FAILED','\x20days','opcua-for-node-red-fix-me','requestedMaxKeepAliveCount','connection','\x20days\x20ago)','fa-question-circle','expiryDate','floor','#node-config-input-userName','subscriptions','email','value','config','node-input-alias-index','\x20—\x20valid\x20(','#node-input-maxMessageSize','log','err','#fde8c8','http://opcfoundation.org/UA/','error','#node-config-input-pkiName','<a\x20href=\x22https://www.sterfive.com/en/shop/opcua-for-nodered\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','length','css','message','11STZMZk','#fafafa','toLowerCase','/support-frame.html','httpNodeRoot\x20missing\x20trailing\x20slash','#toggleAdvancedSection','28220770RYiyfT','-pending','#node-config-input-useTransport','\x20—\x20expires\x20in\x20','endpoint-tab-subscriptions','d\x20remaining)','map','type','readonly','application/json','toString','absolute','#node-input-maxChunkCount','.node-input-alias-alias','exists','\x20is\x20managed\x20by\x20your\x20On-Premise\x20licence\x20server\x20and\x20may\x20not\x20expire.','\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace.\x20Available\x20keys:\x20','publishable-key','Freeware\x20licence','SuppressedError','The\x20trial','height:\x20100%\x20!important;','25%','#node-config-input-userIdentityType','#goto-config','.section-securityPolicy','licenceWidget','-messages','<div\x20class=\x22alias-entry\x22>','fa\x20fa-calendar-time','color','Unable\x20to\x20retrieve\x20certificate\x20status','#fff5f5','fa-exclamation-triangle','TRIAL','items','.input-requestedLifetimeCount','data-i','extra','result','requestedPublishingInterval','#extract-aliases','\x20for\x20more\x20information.','.input-name','isDefault','#node-config-input-userCertificate','260px','licence-widget-icon','prop','#section-Advanced','endpoint-tab-namespace-aliases','<i>','removeClass','settings','<span>','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','#subscription-template','stringify','licence-widget-details','#node-input-useTransport','userCompany','.input-requestedMaxKeepAliveCount','height:\x20100%;max-height:\x20100%;','endsWith','Freeware\x20:\x20(Trial\x20licence\x20expired)','change','invalid\x20securityMode\x20','.input-priority','#subscriptions-container','assign','.input-isDefault','namespaceUri','btn\x20btn-primary','warn','httpNodeRoot','OpcUa-Endpoint2','5337976hzGHzn','.input-maxNotificationsPerPublish','parameters','EXPIRED','disabled','typedInput','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','append','each','#section-TransportSettings','http://opcfoundation.org/DI/','\x20—\x20','#node-config-input-securityPolicy','done','userName','#node-config-input-password','Unknown','toUpperCase','function','16px','nodes','resize','Please\x20contact\x20','template','script','val','RED.settings[\x22','widget','permanent','getTime','#e67e22','prctbl_1OJt49BCNccbzsVzkaANOgFL','createElement','suppressed','fetching\x20failed\x20with\x20error','company','alias','Unknown\x20Product','push','.input-publishingEnabled','<input/>','https://js.stripe.com/v3/pricing-table.js','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','namespaceAliases','.red-ui-tray-body','checked','editableList','addClass','attr','\x20—\x20⚠\x20Expired','#f0fff4',':checked','text','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','securityMode','<stripe-pricing-table/>','#node-config-endpoint-tabs-content','<unknown>','filter','block','/config/#certificates','match','#node-config-input-userPrivatekey','20px','subscribe-button','then','264IHdxlw','endpoint-tab-connection','#c3e6cb','password','fa\x20fa-check-circle','italic','Namespace\x20Aliases','addItem','open','#node-config-input-securityMode','<iframe></iframe>','21QivrSD','next','addTab','licence-widget-msg','4457904DtdcrQ','Basic256Sha256','<button/>','find','status','fa-check-circle','55378qLUEJW','No\x20certificate\x20found\x20—\x20create\x20one\x20to\x20enable\x20secure\x20connections','Certificate','catch','throw','<div>','UserName','sterfive.licenceWidget','.input-requestedPublishingInterval','activation-key','\x20hours','Freeware\x20licence\x20expired','protocol','licenceInfo','.red-ui-editableList-item-remove','👋\x20Welcome\x20','node-input-alias-namespace-uri','70%','14NrPlPS','Subscriptions','.node-input-alias-namespace-uri','Subscribe','onboarded','hide','replace','180px','appendTo','Default\x20Subscription','1px\x20solid\x20#f5c6cb','/pki/own/certificate','split','#node-input-sendBufferSize','true','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','apply','first','Your\x20freeware\x20license\x20has\x20expired.\x0a','<br>'];_0x53a6=function(){return _0x23e144;};return _0x53a6();}function _0x4739(_0x57eef2,_0x69d4b9){_0x57eef2=_0x57eef2-0x68;const _0x53a64d=_0x53a6();let _0x473969=_0x53a64d[_0x57eef2];return _0x473969;}(function(_0x2d88d1,_0x2b34d8){const _0xf70e69=_0x4739,_0x3b637e=_0x2d88d1();while(!![]){try{const _0x580557=-parseInt(_0xf70e69(0xd8))/0x1+-parseInt(_0xf70e69(0x82))/0x2*(-parseInt(_0xf70e69(0x78))/0x3)+parseInt(_0xf70e69(0x154))/0x4+parseInt(_0xf70e69(0xc9))/0x5*(parseInt(_0xf70e69(0x6d))/0x6)+-parseInt(_0xf70e69(0x94))/0x7*(parseInt(_0xf70e69(0x7c))/0x8)+-parseInt(_0xf70e69(0xaa))/0x9+-parseInt(_0xf70e69(0x108))/0xa*(-parseInt(_0xf70e69(0x102))/0xb);if(_0x580557===_0x2b34d8)break;else _0x3b637e['push'](_0x3b637e['shift']());}catch(_0x53c6f1){_0x3b637e['push'](_0x3b637e['shift']());}}}(_0x53a6,0xdef8d),(function(){'use strict';const _0x5d57da=_0x4739;function _0x4349c7(_0x4a6278,_0x216c7d,_0x35143c,_0x4b7f20){function _0x8e7c39(_0x48531c){return _0x48531c instanceof _0x35143c?_0x48531c:new _0x35143c(function(_0x3427d8){_0x3427d8(_0x48531c);});}return new(_0x35143c||(_0x35143c=Promise))(function(_0x261b8c,_0x9a681f){const _0x25b022=_0x4739;function _0x1137f6(_0xb5b538){const _0x3f3eef=_0x4739;try{_0x57309b(_0x4b7f20[_0x3f3eef(0x79)](_0xb5b538));}catch(_0x525074){_0x9a681f(_0x525074);}}function _0x106137(_0x3e269d){const _0x58a39a=_0x4739;try{_0x57309b(_0x4b7f20[_0x58a39a(0x86)](_0x3e269d));}catch(_0x38a61d){_0x9a681f(_0x38a61d);}}function _0x57309b(_0x162dc4){const _0xbff516=_0x4739;_0x162dc4[_0xbff516(0x161)]?_0x261b8c(_0x162dc4[_0xbff516(0xf3)]):_0x8e7c39(_0x162dc4[_0xbff516(0xf3)])['then'](_0x1137f6,_0x106137);}_0x57309b((_0x4b7f20=_0x4b7f20[_0x25b022(0xa4)](_0x4a6278,_0x216c7d||[]))[_0x25b022(0x79)]());});}typeof SuppressedError===_0x5d57da(0x166)?SuppressedError:function(_0x2d59b4,_0x4d7834,_0x4a6da2){const _0x70dc71=_0x5d57da;var _0x1b4c09=new Error(_0x4a6da2);return _0x1b4c09['name']=_0x70dc71(0x11b),_0x1b4c09[_0x70dc71(0xfc)]=_0x2d59b4,_0x1b4c09[_0x70dc71(0x175)]=_0x4d7834,_0x1b4c09;};function _0x31ee4b(_0x57839f){const _0x669970=_0x5d57da;!_0x57839f[_0x669970(0xe5)]('/')&&(_0x57839f='/'+_0x57839f);const _0x34010c='opcUaEndpoint2Config';let _0x598816=RED[_0x669970(0x13d)][_0x34010c];if(!_0x598816){const _0x4e6271=Object[_0x669970(0xd9)](RED[_0x669970(0x13d)])['sort']()['join'](',\x20');console[_0x669970(0x151)](_0x669970(0x16e)+_0x34010c+_0x669970(0x118)+_0x4e6271),_0x598816=_0x669970(0xe9);}!RED['settings']['httpNodeRoot'][_0x669970(0x147)]('/')&&console[_0x669970(0xf8)](_0x669970(0x106));const _0x526414=_0x3ea4a4(RED['settings'][_0x669970(0x152)]+_0x598816+_0x57839f);return _0x526414;}function _0x3ea4a4(_0xe73410){const _0x452bf7=_0x5d57da;return _0xe73410[_0x452bf7(0xe5)]('/')?_0xe73410[_0x452bf7(0xae)](0x1):_0xe73410;}const _0x3621b9=()=>{const _0x17776e=_0x5d57da,_0x10c233=$(_0x17776e(0x180));if(_0x10c233['length']){const _0x55d47e=$(_0x17776e(0x77),{'src':_0x31ee4b(_0x17776e(0x105)),'scrolling':'no','style':_0x17776e(0xd5),'allowtransparency':_0x17776e(0xa2),'width':_0x17776e(0x9b),'height':'50px'});_0x10c233['append'](_0x55d47e),_0x55d47e[_0x17776e(0x100)]({'position':_0x17776e(0x113),'right':_0x17776e(0x6a),'bottom':_0x17776e(0x167)});}},_0x351cee={'FREEWARE':0x0,'TRIAL':0x1,'PROFESSIONAL':0x2},_0x291f80={'AUTHORIZED':0x18,'FAILED':0x17,'EXPIRED':0x16};function _0x3453a2(_0x1ee706){const _0x2886da=_0x5d57da,_0x45a051=_0x1ee706[_0x2886da(0xa0)]('@')[0x0]??_0x1ee706;return _0x45a051[_0x2886da(0xa0)](/[.\-_]/)[_0x2886da(0x18e)](_0x37101f=>_0x37101f['length']>0x0)['map'](_0x4d4df7=>_0x4d4df7['charAt'](0x0)[_0x2886da(0x165)]()+_0x4d4df7[_0x2886da(0xae)](0x1)[_0x2886da(0x104)]())[_0x2886da(0xd2)]('\x20');}const _0x360172=0xe10*0x3e8,_0x4acd9d=_0x360172*0x18;function _0x429bde(_0x509f4f){const _0xd43ff3=_0x5d57da;if(!_0x509f4f[_0xd43ff3(0x8f)]['expiryDate'])return 0x0;const _0x3dd33c=new Date(_0x509f4f[_0xd43ff3(0x8f)]['expiryDate']),_0x19d428=_0x3dd33c[_0xd43ff3(0x171)]()-Date[_0xd43ff3(0xd3)]();if(_0x19d428<0x0)return 0x0;const _0xcb256b=Math[_0xd43ff3(0xef)](_0x19d428/_0x4acd9d);return _0xcb256b;}function _0x3d33d1(_0x6e9878){const _0x49f1c3=_0x5d57da;if(!_0x6e9878['licenceInfo'][_0x49f1c3(0xee)])return 0x0;const _0x5c0a3d=new Date(_0x6e9878[_0x49f1c3(0x8f)][_0x49f1c3(0xee)]),_0x283f34=_0x5c0a3d['getTime']()-Date[_0x49f1c3(0xd3)]();if(_0x283f34<0x0)return 0x0;const _0x1abb5c=Math[_0x49f1c3(0xef)](_0x283f34/_0x360172);return _0x1abb5c;}function _0x530843(_0x330bdc,_0x3ab954){const _0x12030c=_0x5d57da;if(_0x3ab954!==_0x291f80[_0x12030c(0xcd)])return _0x351cee[_0x12030c(0xbb)];return _0x330bdc;}function _0x2b2205(){return _0x4349c7(this,void 0x0,void 0x0,function*(){const _0x56cf1a=_0x4739,_0x22e950=_0x31ee4b(_0x56cf1a(0xe2)),_0x10c30f=yield fetch(_0x22e950,{'method':_0x56cf1a(0xcf),'headers':{'Content-Type':'application/json'}}),_0x10fdca=new Date()[_0x56cf1a(0xbe)](),_0x4976b7={'status':'FAILED','type':_0x56cf1a(0xbb),'productName':_0x56cf1a(0x179),'productVersion':'0.0.0','licenceInfo':{'licenceId':'00000000-0000-0000-0000-000000000000','licenceType':_0x56cf1a(0x18d),'expiryDate':_0x10fdca,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x10c30f['status']!==0xc8)return console[_0x56cf1a(0xf8)](_0x56cf1a(0x176),_0x10c30f[_0x56cf1a(0x80)],_0x10c30f['statusText']),_0x4976b7;const _0x224e33=yield _0x10c30f['json']();return _0x224e33;});}const _0x52d2e2=_0x5d57da(0x173),_0xc4a75b=_0x5d57da(0x17e),_0x33e80e=(_0x5c6715,_0x4df235)=>{const _0x141890=_0x5d57da;if(_0x5c6715[_0x141890(0x8f)][_0x141890(0xb1)]===_0x141890(0x170))return _0x4df235+'\x20does\x20not\x20expire.';if(_0x5c6715[_0x141890(0x8f)]['licenceType']==='OnPremise-Floating')return _0x4df235+_0x141890(0x117);const _0x223baa=_0x429bde(_0x5c6715),_0x11817c=_0x3d33d1(_0x5c6715),_0x4c946c=_0x223baa===0x0?_0x11817c>0xa?'today':_0x141890(0xd1)+_0x11817c+_0x141890(0x8c):_0x223baa===0x1?_0x141890(0xcc):_0x141890(0xd1)+_0x223baa+_0x141890(0xe8);if(_0x223baa<0x5a&&_0x223baa>=0x0)return _0x4df235+_0x141890(0xb8)+_0x4c946c+'.';else{if(_0x223baa<0x0)return'('+_0x4df235+'\x20has\x20expired\x20'+-_0x223baa+_0x141890(0xec);}return'';},_0x36b499=()=>{const _0x2a5912=_0x5d57da;$[_0x2a5912(0x16f)](_0x2a5912(0x89),{'options':{},'_create'(){const _0x2f1a21=_0x2a5912,_0x358198=_0x2f1a21(0x13f),_0x4ae038=_0x2f1a21(0xfe);_0x2b2205()[_0x2f1a21(0x6c)](_0x26ac77=>{const _0x11d7a9=_0x2f1a21;let _0x3eaaca='',_0x538fe4='',_0x222ee8='';const _0x3f98be=_0x351cee[_0x26ac77[_0x11d7a9(0x10f)]],_0x3415cb=_0x291f80[_0x26ac77[_0x11d7a9(0x80)]];_0x26ac77[_0x11d7a9(0x8f)]['expired']||![];const _0x132858=_0x530843(_0x3f98be,_0x3415cb);switch(_0x3415cb){case _0x291f80['AUTHORIZED']:_0x3eaaca=_0x11d7a9(0x71);switch(_0x132858){case _0x351cee[_0x11d7a9(0x12a)]:{_0x538fe4='Trial\x20licence';const _0x223ac2=_0x33e80e(_0x26ac77,_0x11d7a9(0x11c));_0x222ee8=_0x223ac2+'\x0aBuy\x20online\x20and\x20visit\x20'+_0x4ae038+_0x11d7a9(0xb9);break;}case _0x351cee[_0x11d7a9(0xa8)]:{_0x538fe4='Your\x20licence\x20is\x20valid.';const _0x1c4072=_0x33e80e(_0x26ac77,'It');_0x538fe4+='\x20'+_0x1c4072;if(_0x26ac77[_0x11d7a9(0x8f)]['licenceType']===_0x11d7a9(0x8b)){const _0x50079c=_0x26ac77[_0x11d7a9(0x8f)][_0x11d7a9(0x144)]||_0x26ac77[_0x11d7a9(0x8f)][_0x11d7a9(0x162)]||'';_0x222ee8='Licensed\x20to:\x20'+_0x50079c,_0x26ac77[_0x11d7a9(0x101)]&&(_0x222ee8+=_0x11d7a9(0x15f)+_0x26ac77[_0x11d7a9(0x101)]);}else _0x222ee8=_0x26ac77[_0x11d7a9(0x8f)]['licenceType']+'\x20-\x20'+(_0x26ac77[_0x11d7a9(0x8f)]['onPremiseServerHost']||'');}break;case _0x351cee[_0x11d7a9(0xbb)]:{_0x538fe4=_0x11d7a9(0x11a),_0x222ee8=_0x11d7a9(0xa3)+_0x4ae038+'\x20for\x20more\x20information.';}break;}break;case _0x291f80[_0x11d7a9(0x157)]:_0x3eaaca=_0x11d7a9(0x125);switch(_0x3f98be){case _0x351cee['TRIAL']:_0x538fe4=_0x11d7a9(0x148),_0x222ee8=_0x11d7a9(0x15a)+_0x4ae038+'\x20to\x20acquire\x20a\x20license.';break;case _0x351cee[_0x11d7a9(0xbb)]:_0x538fe4=_0x11d7a9(0x8d),_0x222ee8=_0x11d7a9(0xa6)+_0x4ae038+_0x11d7a9(0x132);break;default:{const _0x327087=_0x33e80e(_0x26ac77,'It');_0x538fe4=_0x11d7a9(0xe6)+_0x327087,_0x222ee8='Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20'+_0x358198+_0x11d7a9(0x189);}}break;default:_0x3eaaca=_0x11d7a9(0xb5),_0x538fe4='Your\x20license\x20is\x20currently\x20invalid.',_0x222ee8=_0x11d7a9(0x16a)+_0x358198+'\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀';break;}this[_0x11d7a9(0xc3)][_0x11d7a9(0x183)]('licence-widget'),this[_0x11d7a9(0xc3)]['addClass']('licence-widget-'+_0x3415cb);const _0x49ee09=_0x3415cb===_0x291f80[_0x11d7a9(0xcd)]&&_0x132858===_0x351cee[_0x11d7a9(0xa8)];if(_0x49ee09){this[_0x11d7a9(0xc3)]['addClass']('licence-widget-compact'),this[_0x11d7a9(0xc3)]['append']($('<span>')[_0x11d7a9(0x183)]('licence-widget-icon')[_0x11d7a9(0x15b)]($(_0x11d7a9(0x13b))[_0x11d7a9(0x183)](_0x3eaaca))),this['element'][_0x11d7a9(0x15b)]($('<span>')['addClass'](_0x11d7a9(0x7b))[_0x11d7a9(0x188)](_0x538fe4));const _0x1bde40=_0x31ee4b(_0x11d7a9(0xd7));fetch(_0x1bde40)[_0x11d7a9(0x6c)](_0x15e393=>_0x15e393['json']())[_0x11d7a9(0x6c)](_0x580535=>{const _0x579766=_0x11d7a9;if(_0x580535[_0x579766(0x98)]&&_0x580535[_0x579766(0xf2)]){const _0x438443=_0x3453a2(_0x580535['email']);this[_0x579766(0xc3)][_0x579766(0x15b)]($(_0x579766(0x13e))[_0x579766(0x183)](_0x579766(0x142))[_0x579766(0x100)]({'marginLeft':_0x579766(0xd4)})[_0x579766(0x188)]('—\x20'+_0x438443));}})[_0x11d7a9(0x85)](()=>{});}else{this['element'][_0x11d7a9(0x15b)]($(_0x11d7a9(0x13e))[_0x11d7a9(0x183)](_0x11d7a9(0x137))[_0x11d7a9(0x15b)]($(_0x11d7a9(0x13b))[_0x11d7a9(0x183)](_0x3eaaca))),this[_0x11d7a9(0xc3)][_0x11d7a9(0x15b)]($('<span>')['addClass']('licence-widget-msg')[_0x11d7a9(0x188)](_0x538fe4)),this[_0x11d7a9(0xc3)][_0x11d7a9(0x15b)]($(_0x11d7a9(0xa7))),this[_0x11d7a9(0xc3)]['append']($(_0x11d7a9(0x13e))[_0x11d7a9(0x183)](_0x11d7a9(0x142))['append'](_0x222ee8));const _0x4ce4f=$(_0x11d7a9(0x13e))[_0x11d7a9(0x183)]('licence-widget-details')[_0x11d7a9(0x100)]({'display':_0x11d7a9(0x18f),'marginTop':_0x11d7a9(0xd4),'fontStyle':_0x11d7a9(0x72)});this['element']['append'](_0x4ce4f);const _0x4703f8=_0x31ee4b(_0x11d7a9(0xd7));fetch(_0x4703f8)['then'](_0x16bf2b=>_0x16bf2b[_0x11d7a9(0xe0)]())[_0x11d7a9(0x6c)](_0x15f195=>{const _0x29074f=_0x11d7a9;if(_0x15f195[_0x29074f(0x98)]&&_0x15f195[_0x29074f(0xf2)]){const _0x28e6a3=_0x3453a2(_0x15f195[_0x29074f(0xf2)]),_0x1a192b=$(_0x29074f(0x87))[_0x29074f(0x188)](_0x29074f(0x91))['append']($(_0x29074f(0xc7))[_0x29074f(0x188)](_0x28e6a3)),_0xabd8bc=$(_0x29074f(0xba))['css'](_0x29074f(0x126),'#888')[_0x29074f(0x188)](''+_0x15f195[_0x29074f(0xf2)]+(_0x15f195[_0x29074f(0x177)]?'\x20('+_0x15f195[_0x29074f(0x177)]+')':''));_0x4ce4f['empty']()[_0x29074f(0x15b)](_0x1a192b)[_0x29074f(0x15b)](_0xabd8bc);}else!_0x15f195[_0x29074f(0x98)]&&_0x4ce4f['css']({'color':'#d32f2f'})['text'](_0x29074f(0xc5));})[_0x11d7a9(0x85)](()=>{});}if(_0x3415cb===_0x291f80['EXPIRED']||_0x3415cb===_0x291f80[_0x11d7a9(0xe7)]||_0x132858===_0x351cee[_0x11d7a9(0xbb)]||_0x132858===_0x351cee[_0x11d7a9(0x12a)]){this[_0x11d7a9(0xc3)][_0x11d7a9(0x15b)]($(_0x11d7a9(0xa7)));const _0x406946=$(_0x11d7a9(0x7e));_0x406946[_0x11d7a9(0x184)]('id',_0x11d7a9(0x6b)),_0x406946[_0x11d7a9(0x184)](_0x11d7a9(0xdd),_0x11d7a9(0x150)),_0x406946[_0x11d7a9(0x184)](_0x11d7a9(0xca),'margin-top:\x2020px;'),_0x406946[_0x11d7a9(0x188)](_0x11d7a9(0x97)),this[_0x11d7a9(0xc3)][_0x11d7a9(0x15b)](_0x406946);const _0xcaaad3=document[_0x11d7a9(0x174)](_0x11d7a9(0x16c));_0xcaaad3[_0x11d7a9(0xb6)]=_0x11d7a9(0x17d),_0xcaaad3[_0x11d7a9(0xb2)]=!![],$('head')['append'](_0xcaaad3);const _0x3857ea=$(_0x11d7a9(0x18b));_0x3857ea[_0x11d7a9(0x184)](_0x11d7a9(0xdc),_0x52d2e2),_0x3857ea[_0x11d7a9(0x184)](_0x11d7a9(0x119),_0xc4a75b),_0x3857ea[_0x11d7a9(0x184)](_0x11d7a9(0xca),_0x11d7a9(0x146)),_0x3857ea[_0x11d7a9(0x99)](),this[_0x11d7a9(0xc3)]['append'](_0x3857ea),_0x406946['on'](_0x11d7a9(0xd0),()=>{const _0x2c14fa=_0x11d7a9;_0x3857ea[_0x2c14fa(0xd6)](),_0x406946[_0x2c14fa(0x99)](),this[_0x2c14fa(0xc3)]['attr'](_0x2c14fa(0xca),_0x2c14fa(0x11d));});}})[_0x2f1a21(0x85)](_0x1a0c01=>{const _0x5c3c06=_0x2f1a21;console[_0x5c3c06(0xf8)](_0x1a0c01);});}});};function _0x5b12fb(_0x41f623,_0x14c583,_0x59360d,_0x5b3bbe){const _0x564fe0=_0x5d57da,_0x476bdc=$('#'+_0x41f623+'-success'),_0x17a1b5=$('#'+_0x41f623+'-failure'),_0x480d79=$('#'+_0x41f623+_0x564fe0(0x109)),_0x172967=$('#'+_0x41f623+_0x564fe0(0x123));let _0x5da47f=![];_0x476bdc[_0x564fe0(0x99)](),_0x17a1b5[_0x564fe0(0x99)](),_0x480d79[_0x564fe0(0x99)](),_0x14c583['on'](_0x564fe0(0xd0),()=>{const _0x58344f=_0x564fe0;if(_0x5da47f)return;_0x5da47f=!![],_0x480d79[_0x58344f(0x13c)](_0x58344f(0x99)),_0x480d79[_0x58344f(0xb7)]('Testing\x20Connection\x20...'),_0x476bdc[_0x58344f(0x183)](_0x58344f(0x99)),_0x17a1b5[_0x58344f(0x183)]('hide'),_0x172967[_0x58344f(0xb7)]('');const {body:_0x45d531,url:_0x334f0e}=_0x59360d();fetch(_0x334f0e,{'method':_0x58344f(0xcf),'headers':{'Content-Type':_0x58344f(0x111)},'body':JSON[_0x58344f(0x141)](_0x45d531)})[_0x58344f(0x6c)](_0xf8108b=>_0xf8108b['json']())[_0x58344f(0x6c)](_0x13899c=>{const _0x5d78e0=_0x58344f;_0x5da47f=![],_0x480d79[_0x5d78e0(0x99)](),console[_0x5d78e0(0xf8)](JSON[_0x5d78e0(0x141)](_0x13899c,null,'\x20'));if(_0x13899c[_0x5d78e0(0x12f)]==='ok')_0x476bdc['removeClass'](_0x5d78e0(0x99)),_0x17a1b5[_0x5d78e0(0x183)](_0x5d78e0(0x99)),_0x172967['html'](_0x13899c[_0x5d78e0(0x101)][_0x5d78e0(0x9a)]('\x0a',_0x5d78e0(0xa7)));else{const _0x120705=_0x50c23b=>!_0x50c23b?'':_0x50c23b[_0x5d78e0(0xa0)]('\x0a')[_0x5d78e0(0x10e)](_0x3fbe33=>'<p>'+_0x3fbe33+'</p>')[_0x5d78e0(0xd2)]('\x0a'),_0x17294c=_0x3f8a9d=>Array[_0x5d78e0(0xcb)](_0x3f8a9d)?_0x3f8a9d['map'](_0x120705)[_0x5d78e0(0xd2)]('\x0a'):_0x120705(_0x3f8a9d);_0x476bdc[_0x5d78e0(0x183)]('hide'),_0x17a1b5[_0x5d78e0(0x13c)](_0x5d78e0(0x99)),_0x172967[_0x5d78e0(0xb7)](_0x17294c(_0x13899c['message'])+_0x17294c(_0x13899c[_0x5d78e0(0x12e)])),_0x5b3bbe(new Error(_0x13899c[_0x5d78e0(0x12f)]),_0x13899c);}})[_0x58344f(0x85)](_0x3523b4=>{const _0x4faec6=_0x58344f;_0x5da47f=![],_0x480d79[_0x4faec6(0x183)](_0x4faec6(0x99)),_0x476bdc[_0x4faec6(0x183)](_0x4faec6(0x99)),_0x17a1b5[_0x4faec6(0x13c)](_0x4faec6(0x99)),_0x172967[_0x4faec6(0xb7)](_0x4faec6(0xdf)+_0x3523b4[_0x4faec6(0x101)]),console['log'](_0x4faec6(0xf9),_0x3523b4);});});}_0x36b499();function _0x129f2b(_0x21067b){const _0x11d78d=_0x5d57da;let _0x40f7b9;try{_0x40f7b9=new URL(_0x21067b);}catch(_0xfb2f09){return![];}return _0x40f7b9[_0x11d78d(0x8e)]==='opc.tcp:';}const _0x23222f={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x5d57da(0x168)]['registerType'](_0x5d57da(0x153),{'category':_0x5d57da(0xf4),'paletteLabel':_0x5d57da(0xab),'defaults':{'name':{'value':''},'endpoint':{'value':'opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','required':!![],'validate':_0x129f2b},'securityMode':{'value':_0x5d57da(0xb0)},'securityPolicy':{'value':'None','validate':_0x543e5a=>{if(!_0x543e5a)return![];return!![];}},'userIdentityType':{'value':'Anonymous'},'pkiName':{'value':'','validate':_0x1741a1=>!!(!_0x1741a1||_0x1741a1[_0x5d57da(0x68)](/[0-9a-zA-Z]*/))},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':_0x5d57da(0x9d),'isDefault':!![],'parameters':Object[_0x5d57da(0x14d)]({},_0x23222f)},{'id':'s2','name':'Slow\x20Subscription','isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':'Fast\x20Subscription','isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0x5d57da(0xfb),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0x5d57da(0x15e),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0x5d57da(0x188)},'password':{'type':_0x5d57da(0x70)},'userCertificate':{'type':_0x5d57da(0x188)},'userPrivatekey':{'type':_0x5d57da(0x70)}},'label':function(){const _0x550b09=_0x5d57da;return this[_0x550b09(0xce)]||this['endpoint']||'invalid\x20endpoint';},'oneditsave'(){const _0x261b58=_0x5d57da,_0x4c2b9a=$('#node-config-input-securityPolicy'),_0x4be375=$(_0x261b58(0x76));_0x4c2b9a[_0x261b58(0x16d)]()==='None'&&_0x4be375[_0x261b58(0x188)]('None');{const _0x51fc1a=$('#subscriptions-container')[_0x261b58(0x182)](_0x261b58(0x12b)),_0x413735=[],_0x4f9934=_0x501474=>_0x501474;_0x51fc1a['each'](function(_0x509bd1,_0x828a1d){const _0xe1c164=_0x261b58,_0x3b86c4=$(this),_0x46baf5={'id':'s'+_0x509bd1,'name':_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x133))['val'](),'isDefault':!!_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x14e))[_0xe1c164(0x16d)](),'parameters':{'publishingEnabled':!!_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x17b))['is'](_0xe1c164(0x187)),'requestedLifetimeCount':_0x4f9934(_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x12c))['val']()),'requestedMaxKeepAliveCount':_0x4f9934(_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x145))[_0xe1c164(0x16d)]()),'requestedPublishingInterval':_0x4f9934(_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x8a))[_0xe1c164(0x16d)]()),'maxNotificationsPerPublish':_0x4f9934(_0x3b86c4[_0xe1c164(0x7f)](_0xe1c164(0x155))['val']()),'priority':_0x4f9934(_0x3b86c4['find'](_0xe1c164(0x14b))[_0xe1c164(0x16d)]())}};_0x46baf5['parameters']['publishingEnabled']=!![],_0x46baf5[_0xe1c164(0x134)]&&_0x46baf5['id']==='s0'&&(_0x46baf5[_0xe1c164(0xce)]='Default\x20Subscription'),_0x413735[_0xe1c164(0x17a)](_0x46baf5);}),this[_0x261b58(0xf1)]=_0x413735;}{const _0x5abd4c=$('#editable-list-aliases-container')[_0x261b58(0x182)](_0x261b58(0x12b)),_0x4fd12d=[];_0x5abd4c[_0x261b58(0x15c)](function(_0x5706b5,_0x2493ce){const _0x39f1bb=_0x261b58,_0x444f8c=$(this),_0x434e67={'namespaceUri':_0x444f8c[_0x39f1bb(0x7f)](_0x39f1bb(0x96))[_0x39f1bb(0x16d)](),'alias':_0x444f8c['find'](_0x39f1bb(0x115))[_0x39f1bb(0x16d)]()};_0x4fd12d['push'](_0x434e67);}),this['namespaceAliases']=_0x4fd12d;}},'oneditprepare'(){const _0x4cc70b=_0x5d57da,_0x2a3e39=this;_0x3621b9();const _0x5f139b=RED[_0x4cc70b(0xb3)][_0x4cc70b(0xde)]({'id':_0x4cc70b(0xc1),'onchange':_0x4bc176=>{const _0x4e2402=_0x4cc70b;$(_0x4e2402(0x18c))['children']()['hide'](),$('#'+_0x4bc176['id'])[_0x4e2402(0xd6)]();}});_0x5f139b[_0x4cc70b(0x7a)]({'id':_0x4cc70b(0x6e),'label':'Connection'},0x0),_0x5f139b[_0x4cc70b(0x7a)]({'id':_0x4cc70b(0x10c),'label':_0x4cc70b(0x95)},0x1),_0x5f139b[_0x4cc70b(0x7a)]({'id':_0x4cc70b(0x13a),'label':_0x4cc70b(0x73)},0x2),setTimeout(()=>{const _0x1cc7b8=_0x4cc70b;_0x5f139b[_0x1cc7b8(0x169)]();},0x0);{const _0x2ef660=_0x674c9f=>{const _0x1bc807=_0x4cc70b;switch(_0x674c9f){case null:case undefined:case'':case _0x1bc807(0xb0):$(_0x1bc807(0x121))[_0x1bc807(0x99)]();break;case'Sign':case'SignAndEncrypt':{const _0x2e38c6=$('.section-securityPolicy');(_0x2e38c6[_0x1bc807(0x16d)]()===_0x1bc807(0xb0)||_0x2e38c6[_0x1bc807(0x16d)]()==='')&&_0x2e38c6[_0x1bc807(0x16d)](_0x1bc807(0x7d)),$('.section-securityPolicy')[_0x1bc807(0xd6)]();}break;default:console[_0x1bc807(0xf8)](_0x1bc807(0x14a)+_0x674c9f);}};_0x2ef660(_0x2a3e39[_0x4cc70b(0x18a)]);const _0x496d45=$('#node-config-input-securityMode');_0x496d45['on'](_0x4cc70b(0x149),()=>{const _0x535843=_0x4cc70b,_0x10f6c6=_0x496d45[_0x535843(0x16d)]();_0x2ef660(_0x10f6c6);});}const _0x23eade=$('#licenceWidget');_0x23eade[_0x4cc70b(0x122)]({});{const _0x40c066=$('.section-userIdentityType-UserName'),_0x2f1338=$(_0x4cc70b(0xb4)),_0x585faa=_0x94dd=>{const _0x367918=_0x4cc70b;_0x94dd=_0x94dd||_0x367918(0xad);switch(_0x94dd){case _0x367918(0xad):$('#node-config-input-userName')[_0x367918(0x16d)](''),$(_0x367918(0x163))[_0x367918(0x16d)](''),_0x40c066['hide'](),_0x2f1338[_0x367918(0x99)]();break;case _0x367918(0x88):_0x40c066['show'](),_0x2f1338[_0x367918(0x99)]();break;case _0x367918(0x84):$('#node-config-input-userName')['val'](''),$(_0x367918(0x163))[_0x367918(0x16d)](''),_0x2f1338['show'](),_0x40c066[_0x367918(0x99)]();break;default:console[_0x367918(0xf8)]('invalid\x20userIdentityType\x20'+_0x94dd);}};_0x585faa(_0x2a3e39[_0x4cc70b(0xdb)]);const _0x886208=$('#node-config-input-userIdentityType');_0x886208['on'](_0x4cc70b(0x149),()=>{const _0x5474f0=_0x4cc70b,_0x3f1ba3=_0x886208[_0x5474f0(0x16d)]();_0x585faa(_0x3f1ba3);});}$(_0x4cc70b(0x139))[_0x4cc70b(0x99)](),$(_0x4cc70b(0x107))[_0x4cc70b(0x138)]('checked',![]),$(_0x4cc70b(0x107))['on'](_0x4cc70b(0x149),function(){const _0x1c8074=_0x4cc70b;$(this)[_0x1c8074(0x138)](_0x1c8074(0x181))?$('#section-Advanced')[_0x1c8074(0xd6)]():$(_0x1c8074(0x139))[_0x1c8074(0x99)]();});const _0x3de2aa=$(_0x4cc70b(0x10a))[_0x4cc70b(0x138)](_0x4cc70b(0x181));_0x3de2aa?$(_0x4cc70b(0x15d))['show']():$(_0x4cc70b(0x15d))[_0x4cc70b(0x99)]();$(_0x4cc70b(0x10a))['on'](_0x4cc70b(0x149),function(){const _0x1c6574=_0x4cc70b;$(this)['prop']('checked')?$(_0x1c6574(0x15d))[_0x1c6574(0xd6)]():$(_0x1c6574(0x15d))['hide']();}),$(_0x4cc70b(0x120))['on']('click',()=>_0x4349c7(this,void 0x0,void 0x0,function*(){const _0x514557=_0x4cc70b;window[_0x514557(0x75)](_0x31ee4b('/config'),_0x514557(0xc2));})),((()=>_0x4349c7(this,void 0x0,void 0x0,function*(){const _0x3e467a=_0x4cc70b;var _0x40aaba,_0x3f9ba6,_0xae9cd3;const _0x3f61c9=$('#pki-status-widget'),_0x4bacbf=$('#pki-status-text');$('#manage-certificates-link')['on']('click',()=>{const _0x300631=_0x4739;window[_0x300631(0x75)](_0x31ee4b(_0x300631(0x190)),_0x300631(0xc2));});try{const _0x616062=yield fetch(_0x31ee4b(_0x3e467a(0x9f))),_0x1af1ff=yield _0x616062[_0x3e467a(0xe0)]();if(!(_0x1af1ff===null||_0x1af1ff===void 0x0?void 0x0:_0x1af1ff[_0x3e467a(0x116)])){_0x3f61c9['css']({'border':_0x3e467a(0x9e),'background':_0x3e467a(0x128)}),_0x3f61c9[_0x3e467a(0x7f)]('i')['first']()[_0x3e467a(0x13c)]('fa-spinner\x20fa-spin')[_0x3e467a(0x183)](_0x3e467a(0x129))['css']('color',_0x3e467a(0xe3)),_0x4bacbf['css']('color',_0x3e467a(0xe3))['text'](_0x3e467a(0x83));return;}const _0x4241b7=((_0x3f9ba6=(_0x40aaba=_0x1af1ff['subject'])===null||_0x40aaba===void 0x0?void 0x0:_0x40aaba[_0x3e467a(0x68)](/commonName=([^,]+)/))===null||_0x3f9ba6===void 0x0?void 0x0:_0x3f9ba6[0x1])||_0x3e467a(0x164),_0x127347=(_0xae9cd3=_0x1af1ff['daysRemaining'])!==null&&_0xae9cd3!==void 0x0?_0xae9cd3:0x0;let _0x11cb89,_0x403805,_0x146fc4,_0x18ea1f,_0x38dcf7;if(_0x127347<=0x0)_0x11cb89=_0x3e467a(0xbd),_0x403805=_0x3e467a(0xe3),_0x146fc4=_0x3e467a(0xa9),_0x18ea1f=_0x3e467a(0x128),_0x38dcf7=_0x4241b7+_0x3e467a(0x185);else{if(_0x127347<=0x5a){_0x11cb89=_0x3e467a(0x129),_0x403805=_0x3e467a(0x172),_0x146fc4=_0x3e467a(0xfa),_0x18ea1f='#fffaf0';const _0x28c471=Math[_0x3e467a(0xef)](_0x127347/0x16d),_0x423634=_0x127347%0x16d;_0x38dcf7=_0x4241b7+_0x3e467a(0x10b)+(_0x28c471>0x0?_0x28c471+'y\x20':'')+_0x423634+'d';}else{_0x11cb89=_0x3e467a(0x81),_0x403805='#28a745',_0x146fc4=_0x3e467a(0x6f),_0x18ea1f=_0x3e467a(0x186);const _0x4d0d57=Math[_0x3e467a(0xef)](_0x127347/0x16d),_0x427a22=_0x127347%0x16d;_0x38dcf7=_0x4241b7+_0x3e467a(0xf6)+(_0x4d0d57>0x0?_0x4d0d57+'y\x20':'')+_0x427a22+_0x3e467a(0x10d);}}_0x3f61c9[_0x3e467a(0x100)]({'border':'1px\x20solid\x20'+_0x146fc4,'background':_0x18ea1f}),_0x3f61c9[_0x3e467a(0x7f)]('i')[_0x3e467a(0xa5)]()[_0x3e467a(0x13c)](_0x3e467a(0xac))[_0x3e467a(0x183)](_0x11cb89)['css'](_0x3e467a(0x126),_0x403805),_0x4bacbf[_0x3e467a(0x100)](_0x3e467a(0x126),_0x403805)[_0x3e467a(0x188)](_0x38dcf7);}catch(_0x1c2916){_0x3f61c9['css']({'border':'1px\x20solid\x20#e0e0e0','background':_0x3e467a(0x103)}),_0x3f61c9[_0x3e467a(0x7f)]('i')[_0x3e467a(0xa5)]()[_0x3e467a(0x13c)]('fa-spinner\x20fa-spin')['addClass'](_0x3e467a(0xed))[_0x3e467a(0x100)](_0x3e467a(0x126),_0x3e467a(0xbc)),_0x4bacbf['css'](_0x3e467a(0x126),'#888')['text'](_0x3e467a(0x127));}}))());function _0x5ee36e(){const _0x1b42ee=_0x4cc70b;var _0x4fddf0;return{'id':_0x2a3e39['id'],'endpoint':$('#node-config-input-endpoint')[_0x1b42ee(0x16d)](),'name':$('#node-config-input-name')['val'](),'pkiName':(_0x4fddf0=$(_0x1b42ee(0xfd)))===null||_0x4fddf0===void 0x0?void 0x0:_0x4fddf0[_0x1b42ee(0x16d)](),'securityMode':$('#node-config-input-securityMode')[_0x1b42ee(0x16d)](),'securityPolicy':$(_0x1b42ee(0x160))['val'](),'userIdentityType':$(_0x1b42ee(0x11f))[_0x1b42ee(0x16d)](),'userName':$(_0x1b42ee(0xf0))[_0x1b42ee(0x16d)](),'password':$(_0x1b42ee(0x163))[_0x1b42ee(0x16d)](),'userCertificate':$(_0x1b42ee(0x135))[_0x1b42ee(0x16d)](),'userPrivatekey':$(_0x1b42ee(0x69))['val'](),'certificate':$('#node-input-certificate')['val'](),'useTransport':$(_0x1b42ee(0x143))['prop'](_0x1b42ee(0x181)),'maxChunkCount':$(_0x1b42ee(0x114))[_0x1b42ee(0x16d)](),'maxMessageSize':$(_0x1b42ee(0xf7))[_0x1b42ee(0x16d)](),'receiveBufferSize':$(_0x1b42ee(0xe1))[_0x1b42ee(0x16d)](),'sendBufferSize':$(_0x1b42ee(0xa1))[_0x1b42ee(0x16d)]()};}_0x5b12fb(_0x4cc70b(0xeb),$('#test-connection'),()=>({'url':_0x31ee4b('/test-connection'),'body':{'endpointNode':_0x5ee36e()}}),()=>{});{const _0x53f4f6=(_0x227db8,_0x4ec4fe)=>{const _0x1fbe18=_0x4cc70b;var _0x24fd3e=_0x227db8[_0x1fbe18(0xc0)]()||0x64;_0x227db8['find']('label')[_0x1fbe18(0x159)](_0x1fbe18(0xc0),_0x24fd3e-0xf);},_0x1a1b4d=$(_0x4cc70b(0x14c))[_0x4cc70b(0x100)]({'min-height':'150px','min-width':_0x4cc70b(0x136)})['editableList']({'addItem':(_0x4b6110,_0x49bbdd,_0x58a1bb)=>{const _0x26d619=_0x4cc70b,_0x53d64b=_0x58a1bb,_0x56a2d7=$(_0x26d619(0x140))['clone']()[_0x26d619(0x9c)](_0x4b6110);_0x56a2d7['removeAttr']('id')[_0x26d619(0x13c)](_0x26d619(0x99))[_0x26d619(0x13c)](_0x26d619(0x16b))['attr'](_0x26d619(0x12d),_0x49bbdd),_0x56a2d7['find'](_0x26d619(0x133))[_0x26d619(0x16d)](_0x53d64b[_0x26d619(0xce)]),_0x56a2d7['find'](_0x26d619(0x8a))['val'](_0x53d64b[_0x26d619(0x156)][_0x26d619(0x130)]),_0x56a2d7['find'](_0x26d619(0x145))['val'](_0x53d64b['parameters'][_0x26d619(0xea)]),_0x56a2d7[_0x26d619(0x7f)]('.input-requestedLifetimeCount')['val'](_0x53d64b[_0x26d619(0x156)]['requestedLifetimeCount']),_0x56a2d7['find'](_0x26d619(0x155))[_0x26d619(0x16d)](_0x53d64b[_0x26d619(0x156)][_0x26d619(0xc4)]||0x0),_0x56a2d7['find'](_0x26d619(0x14b))['val'](_0x53d64b['parameters'][_0x26d619(0xda)]||0x0),_0x56a2d7[_0x26d619(0x7f)](_0x26d619(0xbf))[_0x26d619(0x188)](''+_0x49bbdd),_0x53d64b[_0x26d619(0x134)]&&_0x56a2d7[_0x26d619(0x7f)]('.input-name')[_0x26d619(0x138)](_0x26d619(0x110),!![]),_0x56a2d7[_0x26d619(0x7f)](_0x26d619(0x14e))[_0x26d619(0x138)](_0x26d619(0x181),_0x53d64b['isDefault']),_0x53d64b[_0x26d619(0x134)]&&(_0x4b6110[_0x26d619(0x7f)](_0x26d619(0x90))[_0x26d619(0x183)](_0x26d619(0x99)),setTimeout(()=>_0x56a2d7['find'](_0x26d619(0x14e))[_0x26d619(0x138)](_0x26d619(0x158),!![]),0xa));},'removable':!![],'resizeItem':_0x53f4f6}),_0x53f43b=()=>{const _0x307e93=_0x4cc70b,_0xe2523f=_0x2a3e39[_0x307e93(0xf1)]||[];_0xe2523f[_0x307e93(0xff)]===0x0&&_0xe2523f[_0x307e93(0x17a)]({'id':'s1','name':_0x307e93(0x9d),'isDefault':!![],'parameters':Object[_0x307e93(0x14d)]({},_0x23222f)});_0x1a1b4d[_0x307e93(0x182)](_0x307e93(0xaf));for(const _0x1dc172 of _0xe2523f){_0x1a1b4d[_0x307e93(0x182)]('addItem',_0x1dc172);}};_0x53f43b();}{function _0x2a50ce(_0x23e3fd,_0x319265,_0x32ad52){const _0x5e429a=_0x4cc70b,_0x3ea3b8=_0x32ad52,_0x32a142=$(_0x5e429a(0x124))[_0x5e429a(0x9c)](_0x23e3fd);$(_0x5e429a(0x17c),{'class':_0x5e429a(0xf5),'type':_0x5e429a(0x188)})[_0x5e429a(0x16d)](_0x32ad52[_0x5e429a(0x178)]||'')['css']({'width':'5%'})[_0x5e429a(0x9c)](_0x32a142)[_0x5e429a(0x16d)](_0x319265[_0x5e429a(0x112)]()),$('<input/>',{'class':_0x5e429a(0xc8),'type':_0x5e429a(0x188)})[_0x5e429a(0x16d)](_0x32ad52[_0x5e429a(0x178)]||'')[_0x5e429a(0x100)]({'width':_0x5e429a(0x11e)})[_0x5e429a(0x9c)](_0x32a142)[_0x5e429a(0x16d)](_0x3ea3b8[_0x5e429a(0x178)]),$(_0x5e429a(0x17c),{'class':_0x5e429a(0x92),'type':_0x5e429a(0x188)})['val'](_0x32ad52[_0x5e429a(0x14f)]||'')[_0x5e429a(0x100)]({'width':_0x5e429a(0x93)})[_0x5e429a(0x9c)](_0x32a142)['val'](_0x3ea3b8[_0x5e429a(0x14f)]);}const _0x5951dc=$('#editable-list-aliases-container')['css']({'min-height':'150px','min-width':_0x4cc70b(0x136)})[_0x4cc70b(0x182)]({'addButton':![],'removable':![],'height':_0x4cc70b(0xc6),'scrollOnAdd':![],'addItem'(_0x575243,_0x338dfe,_0x8b3479){_0x2a50ce(_0x575243,_0x338dfe,_0x8b3479);}});function _0x15bba7(){const _0x12c232=_0x4cc70b;_0x5951dc[_0x12c232(0x182)](_0x12c232(0x12b)),_0x5951dc['editableList'](_0x12c232(0xaf));for(const _0x36bd60 of _0x2a3e39['namespaceAliases']||[]){_0x5951dc[_0x12c232(0x182)](_0x12c232(0x74),_0x36bd60);}}$(_0x4cc70b(0x131))['on'](_0x4cc70b(0xd0),()=>_0x4349c7(this,void 0x0,void 0x0,function*(){const _0x427cdb=_0x4cc70b,_0x4dd640={'endpointNode':_0x5ee36e(),'namespaceAliases':_0x2a3e39['namespaceAliases']||[]},_0x4e3f2d=yield fetch(_0x31ee4b(_0x427cdb(0xe4)),{'method':'POST','headers':{'Content-Type':_0x427cdb(0x111)},'body':JSON['stringify'](_0x4dd640)}),_0x1fc246=yield _0x4e3f2d[_0x427cdb(0xe0)](),_0x58b115=_0x1fc246[_0x427cdb(0x17f)];console['log'](_0x427cdb(0x17f),_0x58b115),Array['isArray'](_0x58b115)&&(_0x2a3e39[_0x427cdb(0x17f)]=_0x58b115,_0x15bba7());})),_0x2a3e39['namespaceAliases']=_0x2a3e39[_0x4cc70b(0x17f)]||[{'alias':'ua','namespaceUri':'http://opcfoundation.org/UA/','isWellKnown':!![],'isDefault':!![]}],_0x15bba7();}}});}()));
|
|
454
|
+
function _0x27f5(){const _0x4caaa9=['config','#f0fff4','publishingEnabled','extra','requestedLifetimeCount','exists','Trial\x20licence','err','#subscriptions-container','#section-TransportSettings','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','typedInput','511FopFZT','append','nodes','addItem','EXPIRED','catch','<b>','addClass','join','fetching\x20failed\x20with\x20error','onboarded','statusText','#pki-status-widget','.section-userIdentityType-UserName','#node-config-input-userCertificate','.input-requestedMaxKeepAliveCount','<iframe></iframe>','1412765nGcyEO',':checked','-messages','opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','src','\x20—\x20⚠\x20Expired','removeClass','securityMode','fa-times-circle','8px','<input/>','d\x20remaining)','POST','Sign','.input-isDefault','toUpperCase','invalid\x20endpoint','node-input-alias-index','fa-exclamation-triangle','createElement','alias','replace','requestedMaxKeepAliveCount','\x20to\x20acquire\x20a\x20license.','Unable\x20to\x20retrieve\x20certificate\x20status','expiryDate','opcua-for-node-red-fix-me','Freeware\x20:\x20(Trial\x20licence\x20expired)','invalid\x20securityMode\x20','status','#node-input-useTransport','text','company','#editable-list-aliases-container','<div>','toISOString','floor','empty','FREEWARE','.input-priority','length','\x20—\x20expires\x20in\x20','Unknown','5688370yjDAyY','application/json','priority','apply','element','Unknown\x20Product','label','#node-config-input-securityPolicy','50px','block','prop','/licenceInfo','\x20days\x20ago)','message','isArray','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','function','1px\x20solid\x20','<span>','1px\x20solid\x20#f5c6cb','.input-maxNotificationsPerPublish','readonly','color','Testing\x20Connection\x20...','/onboarding/status','60vQUXWA','maxNotificationsPerPublish','licenceType','</p>','<br>','#888','\x0aBuy\x20online\x20and\x20visit\x20','#node-config-input-securityMode','toString','fa\x20fa-check-circle','subject','#node-config-input-password','async','Connection','#section-Advanced','json','#test-connection','SignAndEncrypt','#node-input-receiveBufferSize','show','isDefault','Freeware\x20licence','template','12830323JBYgFS','8oaVBJm','.input-name','24TKtGok','#f5c6cb','hide','open','<i>','/test-connection','.section-securityPolicy','#fde8c8','licence-widget-details','16px','Default\x20Subscription','.input-requestedPublishingInterval','endpoint-tab-namespace-aliases','assign','Subscriptions','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','absolute','now','Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20','children','match','<small>','Please\x20contact\x20','924aiVnEV','keys','Your\x20licence\x20is\x20valid.','css','Anonymous','Fast\x20Subscription','startsWith','items','260px','pricing-table-id','httpNodeRoot','#extract-aliases','opc.tcp:','endpoint-tab-connection','parameters','#node-config-input-userName','throw','sort','#node-config-endpoint-tabs-content','#fff5f5','userCompany','TRIAL','click','map','<div\x20class=\x22alias-entry\x22>','endpoint','requestedPublishingInterval','FAILED','suppressed','-failure','/extract-namespace-aliases','\x20-\x20','<unknown>','20px','push','attr','PROFESSIONAL','licenceWidget','-pending','name','.subscription-id','87747RCszyY','00000000-0000-0000-0000-000000000000','https://js.stripe.com/v3/pricing-table.js','protocol','Certificate','publishable-key','tomorrow','.input-publishingEnabled','/pki/own/certificate','180px','licenceInfo','type','<a\x20href=\x22https://www.sterfive.com/en/shop/opcua-for-nodered\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','Your\x20license\x20is\x20currently\x20invalid.','settings','password','httpNodeRoot\x20missing\x20trailing\x20slash','userIdentityType','licence-widget','\x20for\x20more\x20information.','height:\x20100%;max-height:\x20100%;','/support-frame.html','namespaceAliases','397462VqXmvO','\x20is\x20managed\x20by\x20your\x20On-Premise\x20licence\x20server\x20and\x20may\x20not\x20expire.','email','#d32f2f','daysRemaining','first','checked','1px\x20solid\x20#e0e0e0','Basic256Sha256','internal\x20error\x20','#toggleAdvancedSection','then','background-color:transparent;overflow:hidden;border:3px','fa-question-circle','_configOpcuaForNodeRed','-success','editableList','data-i','#dc3545','node-input-alias-alias','getTime','tabs','appendTo','result','charAt','\x20does\x20not\x20expire.','slice','auto','1yhZGza','#node-input-certificate','stringify','\x20days','\x20has\x20expired\x20','150px','Slow\x20Subscription','script','<stripe-pricing-table/>','#node-input-maxChunkCount','#node-config-input-name','.node-input-alias-namespace-uri','head','#node-config-input-userIdentityType','subscriptions','http://opcfoundation.org/UA/','licence-widget-msg','namespaceUri','change','warn','find','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','next','#node-config-input-endpoint','#e67e22','👋\x20Welcome\x20','in\x20','\x20will\x20expire\x20','addTab','#node-input-sendBufferSize','margin-top:\x2020px;','class','fa-spinner\x20fa-spin','<p>','http://opcfoundation.org/DI/','create','#c3e6cb','10299924QznvTf','licence-widget-compact','None','style','.section-userIdentityType-Certificate','node-input-alias-namespace-uri','The\x20trial','width','height:\x20100%\x20!important;','fa\x20fa-calendar-time','widget','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','#pki-status-text','btn\x20btn-primary','UserName','log','value','userName','split','licence-widget-icon','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated\x20','val','html','AUTHORIZED','#fafafa','opcUaEndpoint2Config','prctbl_1OJt49BCNccbzsVzkaANOgFL'];_0x27f5=function(){return _0x4caaa9;};return _0x27f5();}function _0x52d2(_0x3eac58,_0x4c36da){_0x3eac58=_0x3eac58-0x9c;const _0x27f522=_0x27f5();let _0x52d258=_0x27f522[_0x3eac58];return _0x52d258;}(function(_0xebd62a,_0x31309f){const _0x4a72d6=_0x52d2,_0x1cb407=_0xebd62a();while(!![]){try{const _0x378c72=parseInt(_0x4a72d6(0x182))/0x1*(-parseInt(_0x4a72d6(0x166))/0x2)+parseInt(_0x4a72d6(0x14f))/0x3*(parseInt(_0x4a72d6(0xf5))/0x4)+-parseInt(_0x4a72d6(0xb1))/0x5+-parseInt(_0x4a72d6(0x126))/0x6*(-parseInt(_0x4a72d6(0xa0))/0x7)+-parseInt(_0x4a72d6(0x10d))/0x8*(parseInt(_0x4a72d6(0x1a7))/0x9)+-parseInt(_0x4a72d6(0xdc))/0xa+parseInt(_0x4a72d6(0x10c))/0xb*(parseInt(_0x4a72d6(0x10f))/0xc);if(_0x378c72===_0x31309f)break;else _0x1cb407['push'](_0x1cb407['shift']());}catch(_0x1f838d){_0x1cb407['push'](_0x1cb407['shift']());}}}(_0x27f5,0x8f9ae),(function(){'use strict';const _0xb87490=_0x52d2;function _0x393339(_0x284d19,_0x372546,_0x2dfec3,_0x323c6d){function _0x25552a(_0x1a7488){return _0x1a7488 instanceof _0x2dfec3?_0x1a7488:new _0x2dfec3(function(_0x2b2f18){_0x2b2f18(_0x1a7488);});}return new(_0x2dfec3||(_0x2dfec3=Promise))(function(_0x336cb6,_0x3a2f57){const _0x391c47=_0x52d2;function _0x4dfbfc(_0x4861ce){try{_0x148478(_0x323c6d['next'](_0x4861ce));}catch(_0x20324e){_0x3a2f57(_0x20324e);}}function _0x2687a1(_0x5802fc){const _0x374313=_0x52d2;try{_0x148478(_0x323c6d[_0x374313(0x136)](_0x5802fc));}catch(_0x285cda){_0x3a2f57(_0x285cda);}}function _0x148478(_0x475963){const _0x18bd09=_0x52d2;_0x475963['done']?_0x336cb6(_0x475963[_0x18bd09(0x1b7)]):_0x25552a(_0x475963['value'])['then'](_0x4dfbfc,_0x2687a1);}_0x148478((_0x323c6d=_0x323c6d[_0x391c47(0xdf)](_0x284d19,_0x372546||[]))[_0x391c47(0x198)]());});}typeof SuppressedError===_0xb87490(0xec)?SuppressedError:function(_0x5c354b,_0x50cc52,_0x2ad927){const _0x2c278e=_0xb87490;var _0x16c716=new Error(_0x2ad927);return _0x16c716[_0x2c278e(0x14d)]='SuppressedError',_0x16c716['error']=_0x5c354b,_0x16c716[_0x2c278e(0x142)]=_0x50cc52,_0x16c716;};function _0xb96154(_0x4ed6cf){const _0x37320b=_0xb87490;!_0x4ed6cf[_0x37320b(0x12c)]('/')&&(_0x4ed6cf='/'+_0x4ed6cf);const _0x50b85d=_0x37320b(0x1c0);let _0x562a88=RED[_0x37320b(0x15d)][_0x50b85d];if(!_0x562a88){const _0x57ea89=Object[_0x37320b(0x127)](RED[_0x37320b(0x15d)])[_0x37320b(0x137)]()['join'](',\x20');console[_0x37320b(0x195)]('RED.settings[\x22'+_0x50b85d+'\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace.\x20Available\x20keys:\x20'+_0x57ea89),_0x562a88=_0x37320b(0xcb);}!RED[_0x37320b(0x15d)][_0x37320b(0x130)]['endsWith']('/')&&console[_0x37320b(0x1b6)](_0x37320b(0x15f));const _0x3148a2=_0x14f130(RED[_0x37320b(0x15d)][_0x37320b(0x130)]+_0x562a88+_0x4ed6cf);return _0x3148a2;}function _0x14f130(_0x4cd77b){const _0x39ee6f=_0xb87490;return _0x4cd77b[_0x39ee6f(0x12c)]('/')?_0x4cd77b[_0x39ee6f(0x180)](0x1):_0x4cd77b;}const _0x38bb8c=()=>{const _0x40a378=_0xb87490,_0x36bd4e=$('.red-ui-tray-body');if(_0x36bd4e[_0x40a378(0xd9)]){const _0x209ee2=$(_0x40a378(0xb0),{'src':_0xb96154(_0x40a378(0x164)),'scrolling':'no','style':_0x40a378(0x172),'allowtransparency':'true','width':_0x40a378(0x158),'height':_0x40a378(0xe4)});_0x36bd4e[_0x40a378(0xa1)](_0x209ee2),_0x209ee2[_0x40a378(0x129)]({'position':_0x40a378(0x11f),'right':_0x40a378(0x147),'bottom':_0x40a378(0x118)});}},_0x1586c5={'FREEWARE':0x0,'TRIAL':0x1,'PROFESSIONAL':0x2},_0x35a459={'AUTHORIZED':0x18,'FAILED':0x17,'EXPIRED':0x16};function _0xafa706(_0x30ee18){const _0x501f90=_0xb87490,_0x18d8e5=_0x30ee18['split']('@')[0x0]??_0x30ee18;return _0x18d8e5[_0x501f90(0x1b9)](/[.\-_]/)['filter'](_0x30f3ed=>_0x30f3ed[_0x501f90(0xd9)]>0x0)['map'](_0xdfd6e4=>_0xdfd6e4[_0x501f90(0x17e)](0x0)[_0x501f90(0xc0)]()+_0xdfd6e4[_0x501f90(0x180)](0x1)['toLowerCase']())[_0x501f90(0xa8)]('\x20');}const _0x38748f=0xe10*0x3e8,_0xa80820=_0x38748f*0x18;function _0x3610c4(_0x56ae87){const _0x52513f=_0xb87490;if(!_0x56ae87[_0x52513f(0x159)][_0x52513f(0xca)])return 0x0;const _0x410402=new Date(_0x56ae87['licenceInfo'][_0x52513f(0xca)]),_0x53fd26=_0x410402[_0x52513f(0x17a)]()-Date[_0x52513f(0x120)]();if(_0x53fd26<0x0)return 0x0;const _0x15be2c=Math[_0x52513f(0xd5)](_0x53fd26/_0xa80820);return _0x15be2c;}function _0x3247e9(_0x493dd7){const _0x45cdd0=_0xb87490;if(!_0x493dd7[_0x45cdd0(0x159)][_0x45cdd0(0xca)])return 0x0;const _0x136a49=new Date(_0x493dd7['licenceInfo'][_0x45cdd0(0xca)]),_0x1e7478=_0x136a49[_0x45cdd0(0x17a)]()-Date[_0x45cdd0(0x120)]();if(_0x1e7478<0x0)return 0x0;const _0x38c6f1=Math[_0x45cdd0(0xd5)](_0x1e7478/_0x38748f);return _0x38c6f1;}function _0x7aa173(_0x1bb178,_0x3ac955){const _0x57798e=_0xb87490;if(_0x3ac955!==_0x35a459[_0x57798e(0x1be)])return _0x1586c5[_0x57798e(0xd7)];return _0x1bb178;}function _0xf728c1(){return _0x393339(this,void 0x0,void 0x0,function*(){const _0x332f84=_0x52d2,_0x1ff5c6=_0xb96154(_0x332f84(0xe7)),_0x581bff=yield fetch(_0x1ff5c6,{'method':_0x332f84(0xbd),'headers':{'Content-Type':_0x332f84(0xdd)}}),_0x1c2fa6=new Date()[_0x332f84(0xd4)](),_0x1acf9e={'status':_0x332f84(0x141),'type':_0x332f84(0xd7),'productName':_0x332f84(0xe1),'productVersion':'0.0.0','licenceInfo':{'licenceId':_0x332f84(0x150),'licenceType':_0x332f84(0x146),'expiryDate':_0x1c2fa6,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x581bff['status']!==0xc8)return console['log'](_0x332f84(0xa9),_0x581bff[_0x332f84(0xce)],_0x581bff[_0x332f84(0xab)]),_0x1acf9e;const _0x174964=yield _0x581bff[_0x332f84(0x104)]();return _0x174964;});}const _0x43b8ea=_0xb87490(0x1c1),_0x9ec770=_0xb87490(0x9e),_0x5aefc2=(_0x3862b0,_0x5110)=>{const _0x1de513=_0xb87490;if(_0x3862b0[_0x1de513(0x159)]['expired']==='permanent')return _0x5110+_0x1de513(0x17f);if(_0x3862b0[_0x1de513(0x159)][_0x1de513(0xf7)]==='OnPremise-Floating')return _0x5110+_0x1de513(0x167);const _0x2722c8=_0x3610c4(_0x3862b0),_0x300cfd=_0x3247e9(_0x3862b0),_0x5709e6=_0x2722c8===0x0?_0x300cfd>0xa?'today':_0x1de513(0x19c)+_0x300cfd+'\x20hours':_0x2722c8===0x1?_0x1de513(0x155):_0x1de513(0x19c)+_0x2722c8+_0x1de513(0x185);if(_0x2722c8<0x5a&&_0x2722c8>=0x0)return _0x5110+_0x1de513(0x19d)+_0x5709e6+'.';else{if(_0x2722c8<0x0)return'('+_0x5110+_0x1de513(0x186)+-_0x2722c8+_0x1de513(0xe8);}return'';},_0x43b982=()=>{const _0x58d907=_0xb87490;$[_0x58d907(0x1b1)]('sterfive.licenceWidget',{'options':{},'_create'(){const _0x482898=_0x58d907,_0x10de1f=_0x482898(0x11e),_0x352e7f=_0x482898(0x15b);_0xf728c1()[_0x482898(0x171)](_0x3ce16b=>{const _0x78c648=_0x482898;let _0x732955='',_0x1fedc0='',_0x1d85f1='';const _0xce468b=_0x1586c5[_0x3ce16b[_0x78c648(0x15a)]],_0x270b45=_0x35a459[_0x3ce16b[_0x78c648(0xce)]];_0x3ce16b['licenceInfo']['expired']||![];const _0x5b39f0=_0x7aa173(_0xce468b,_0x270b45);switch(_0x270b45){case _0x35a459[_0x78c648(0x1be)]:_0x732955=_0x78c648(0xfe);switch(_0x5b39f0){case _0x1586c5['TRIAL']:{_0x1fedc0=_0x78c648(0x1c8);const _0x31016f=_0x5aefc2(_0x3ce16b,_0x78c648(0x1ad));_0x1d85f1=_0x31016f+_0x78c648(0xfb)+_0x352e7f+_0x78c648(0xc8);break;}case _0x1586c5[_0x78c648(0x14a)]:{_0x1fedc0=_0x78c648(0x128);const _0x4ddf62=_0x5aefc2(_0x3ce16b,'It');_0x1fedc0+='\x20'+_0x4ddf62;if(_0x3ce16b[_0x78c648(0x159)][_0x78c648(0xf7)]==='activation-key'){const _0x218349=_0x3ce16b['licenceInfo'][_0x78c648(0x13a)]||_0x3ce16b[_0x78c648(0x159)][_0x78c648(0x1b8)]||'';_0x1d85f1='Licensed\x20to:\x20'+_0x218349,_0x3ce16b[_0x78c648(0xe9)]&&(_0x1d85f1+='\x20—\x20'+_0x3ce16b[_0x78c648(0xe9)]);}else _0x1d85f1=_0x3ce16b[_0x78c648(0x159)][_0x78c648(0xf7)]+_0x78c648(0x145)+(_0x3ce16b['licenceInfo']['onPremiseServerHost']||'');}break;case _0x1586c5['FREEWARE']:{_0x1fedc0=_0x78c648(0x10a),_0x1d85f1=_0x78c648(0xeb)+_0x352e7f+_0x78c648(0x162);}break;}break;case _0x35a459[_0x78c648(0xa4)]:_0x732955=_0x78c648(0x1b0);switch(_0xce468b){case _0x1586c5[_0x78c648(0x13b)]:_0x1fedc0=_0x78c648(0xcc),_0x1d85f1=_0x78c648(0x1b2)+_0x352e7f+_0x78c648(0xc8);break;case _0x1586c5[_0x78c648(0xd7)]:_0x1fedc0='Freeware\x20licence\x20expired',_0x1d85f1='Your\x20freeware\x20license\x20has\x20expired.\x0a'+_0x352e7f+_0x78c648(0x162);break;default:{const _0x1e0b92=_0x5aefc2(_0x3ce16b,'It');_0x1fedc0=_0x78c648(0x1bb)+_0x1e0b92,_0x1d85f1=_0x78c648(0x121)+_0x10de1f+_0x78c648(0x197);}}break;default:_0x732955='fa\x20fa-exclamation-circle',_0x1fedc0=_0x78c648(0x15c),_0x1d85f1=_0x78c648(0x125)+_0x10de1f+'\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀';break;}this[_0x78c648(0xe0)][_0x78c648(0xa7)](_0x78c648(0x161)),this[_0x78c648(0xe0)][_0x78c648(0xa7)]('licence-widget-'+_0x270b45);const _0x453bf6=_0x270b45===_0x35a459[_0x78c648(0x1be)]&&_0x5b39f0===_0x1586c5[_0x78c648(0x14a)];if(_0x453bf6){this[_0x78c648(0xe0)][_0x78c648(0xa7)](_0x78c648(0x1a8)),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($('<span>')['addClass']('licence-widget-icon')[_0x78c648(0xa1)]($('<i>')['addClass'](_0x732955))),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x192))[_0x78c648(0xd0)](_0x1fedc0));const _0x12b75c=_0xb96154(_0x78c648(0xf4));fetch(_0x12b75c)[_0x78c648(0x171)](_0x1a3326=>_0x1a3326[_0x78c648(0x104)]())['then'](_0x3077e6=>{const _0x702d3c=_0x78c648;if(_0x3077e6['onboarded']&&_0x3077e6[_0x702d3c(0x168)]){const _0x240f37=_0xafa706(_0x3077e6[_0x702d3c(0x168)]);this['element'][_0x702d3c(0xa1)]($(_0x702d3c(0xee))['addClass'](_0x702d3c(0x117))[_0x702d3c(0x129)]({'marginLeft':_0x702d3c(0xba)})[_0x702d3c(0xd0)]('—\x20'+_0x240f37));}})['catch'](()=>{});}else{this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x1ba))['append']($(_0x78c648(0x113))[_0x78c648(0xa7)](_0x732955))),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x192))['text'](_0x1fedc0)),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xf9))),this['element'][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)]('licence-widget-details')[_0x78c648(0xa1)](_0x1d85f1));const _0x3290b9=$(_0x78c648(0xee))['addClass'](_0x78c648(0x117))['css']({'display':_0x78c648(0xe5),'marginTop':_0x78c648(0xba),'fontStyle':'italic'});this[_0x78c648(0xe0)][_0x78c648(0xa1)](_0x3290b9);const _0x5b6606=_0xb96154('/onboarding/status');fetch(_0x5b6606)[_0x78c648(0x171)](_0x2a18cf=>_0x2a18cf[_0x78c648(0x104)]())[_0x78c648(0x171)](_0x4512d6=>{const _0x49d6f=_0x78c648;if(_0x4512d6[_0x49d6f(0xaa)]&&_0x4512d6[_0x49d6f(0x168)]){const _0x4f4d59=_0xafa706(_0x4512d6[_0x49d6f(0x168)]),_0x164156=$(_0x49d6f(0xd3))['text'](_0x49d6f(0x19b))[_0x49d6f(0xa1)]($(_0x49d6f(0xa6))[_0x49d6f(0xd0)](_0x4f4d59)),_0x226692=$(_0x49d6f(0x124))[_0x49d6f(0x129)](_0x49d6f(0xf2),_0x49d6f(0xfa))[_0x49d6f(0xd0)](''+_0x4512d6['email']+(_0x4512d6[_0x49d6f(0xd1)]?'\x20('+_0x4512d6[_0x49d6f(0xd1)]+')':''));_0x3290b9[_0x49d6f(0xd6)]()[_0x49d6f(0xa1)](_0x164156)['append'](_0x226692);}else!_0x4512d6[_0x49d6f(0xaa)]&&_0x3290b9[_0x49d6f(0x129)]({'color':_0x49d6f(0x169)})['text']('⚠️\x20Not\x20registered\x20—\x20nodes\x20are\x20blocked.');})[_0x78c648(0xa5)](()=>{});}if(_0x270b45===_0x35a459[_0x78c648(0xa4)]||_0x270b45===_0x35a459[_0x78c648(0x141)]||_0x5b39f0===_0x1586c5[_0x78c648(0xd7)]||_0x5b39f0===_0x1586c5[_0x78c648(0x13b)]){this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xf9)));const _0x39ef3d=$('<button/>');_0x39ef3d[_0x78c648(0x149)]('id','subscribe-button'),_0x39ef3d[_0x78c648(0x149)](_0x78c648(0x1a1),_0x78c648(0x1b4)),_0x39ef3d[_0x78c648(0x149)]('style',_0x78c648(0x1a0)),_0x39ef3d['text']('Subscribe'),this['element'][_0x78c648(0xa1)](_0x39ef3d);const _0x22e31b=document[_0x78c648(0xc4)](_0x78c648(0x189));_0x22e31b[_0x78c648(0xb5)]=_0x78c648(0x151),_0x22e31b[_0x78c648(0x101)]=!![],$(_0x78c648(0x18e))[_0x78c648(0xa1)](_0x22e31b);const _0x3b1dd1=$(_0x78c648(0x18a));_0x3b1dd1['attr'](_0x78c648(0x12f),_0x43b8ea),_0x3b1dd1[_0x78c648(0x149)](_0x78c648(0x154),_0x9ec770),_0x3b1dd1['attr'](_0x78c648(0x1aa),_0x78c648(0x163)),_0x3b1dd1[_0x78c648(0x111)](),this['element']['append'](_0x3b1dd1),_0x39ef3d['on'](_0x78c648(0x13c),()=>{const _0x5b9397=_0x78c648;_0x3b1dd1[_0x5b9397(0x108)](),_0x39ef3d[_0x5b9397(0x111)](),this[_0x5b9397(0xe0)][_0x5b9397(0x149)](_0x5b9397(0x1aa),_0x5b9397(0x1af));});}})[_0x482898(0xa5)](_0x2fdc49=>{console['log'](_0x2fdc49);});}});};function _0x639307(_0x329db6,_0x187eba,_0x28e58a,_0x531227){const _0x352c4d=_0xb87490,_0x4bbf72=$('#'+_0x329db6+_0x352c4d(0x175)),_0x335504=$('#'+_0x329db6+_0x352c4d(0x143)),_0x4b68d6=$('#'+_0x329db6+_0x352c4d(0x14c)),_0x3e0901=$('#'+_0x329db6+_0x352c4d(0xb3));let _0xe8fe0c=![];_0x4bbf72[_0x352c4d(0x111)](),_0x335504[_0x352c4d(0x111)](),_0x4b68d6[_0x352c4d(0x111)](),_0x187eba['on'](_0x352c4d(0x13c),()=>{const _0x12a193=_0x352c4d;if(_0xe8fe0c)return;_0xe8fe0c=!![],_0x4b68d6['removeClass'](_0x12a193(0x111)),_0x4b68d6[_0x12a193(0x1bd)](_0x12a193(0xf3)),_0x4bbf72[_0x12a193(0xa7)]('hide'),_0x335504[_0x12a193(0xa7)](_0x12a193(0x111)),_0x3e0901[_0x12a193(0x1bd)]('');const {body:_0xcef126,url:_0xc1ed20}=_0x28e58a();fetch(_0xc1ed20,{'method':'POST','headers':{'Content-Type':_0x12a193(0xdd)},'body':JSON[_0x12a193(0x184)](_0xcef126)})[_0x12a193(0x171)](_0xc24e0=>_0xc24e0[_0x12a193(0x104)]())[_0x12a193(0x171)](_0x105388=>{const _0x279290=_0x12a193;_0xe8fe0c=![],_0x4b68d6[_0x279290(0x111)](),console[_0x279290(0x1b6)](JSON['stringify'](_0x105388,null,'\x20'));if(_0x105388[_0x279290(0x17d)]==='ok')_0x4bbf72[_0x279290(0xb7)](_0x279290(0x111)),_0x335504[_0x279290(0xa7)](_0x279290(0x111)),_0x3e0901[_0x279290(0x1bd)](_0x105388['message'][_0x279290(0xc6)]('\x0a',_0x279290(0xf9)));else{const _0x24ea36=_0x2172b0=>!_0x2172b0?'':_0x2172b0['split']('\x0a')[_0x279290(0x13d)](_0x557567=>_0x279290(0x1a3)+_0x557567+_0x279290(0xf8))['join']('\x0a'),_0x25c896=_0x4c44ba=>Array[_0x279290(0xea)](_0x4c44ba)?_0x4c44ba[_0x279290(0x13d)](_0x24ea36)[_0x279290(0xa8)]('\x0a'):_0x24ea36(_0x4c44ba);_0x4bbf72['addClass'](_0x279290(0x111)),_0x335504[_0x279290(0xb7)]('hide'),_0x3e0901[_0x279290(0x1bd)](_0x25c896(_0x105388[_0x279290(0xe9)])+_0x25c896(_0x105388[_0x279290(0x1c5)])),_0x531227(new Error(_0x105388[_0x279290(0x17d)]),_0x105388);}})['catch'](_0x40253e=>{const _0xab28e0=_0x12a193;_0xe8fe0c=![],_0x4b68d6[_0xab28e0(0xa7)]('hide'),_0x4bbf72[_0xab28e0(0xa7)]('hide'),_0x335504[_0xab28e0(0xb7)](_0xab28e0(0x111)),_0x3e0901[_0xab28e0(0x1bd)](_0xab28e0(0x16f)+_0x40253e[_0xab28e0(0xe9)]),console[_0xab28e0(0x1b6)](_0xab28e0(0x1c9),_0x40253e);});});}_0x43b982();function _0xd2128a(_0xbe0cc0){const _0x9ce42d=_0xb87490;let _0x496e42;try{_0x496e42=new URL(_0xbe0cc0);}catch(_0xfa8bf4){return![];}return _0x496e42[_0x9ce42d(0x152)]===_0x9ce42d(0x132);}const _0x370030={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0xb87490(0xa2)]['registerType']('OpcUa-Endpoint2',{'category':_0xb87490(0x1c2),'paletteLabel':'opcua\x20endpoint','defaults':{'name':{'value':''},'endpoint':{'value':_0xb87490(0xb4),'required':!![],'validate':_0xd2128a},'securityMode':{'value':_0xb87490(0x1a9)},'securityPolicy':{'value':_0xb87490(0x1a9),'validate':_0x25a423=>{if(!_0x25a423)return![];return!![];}},'userIdentityType':{'value':'Anonymous'},'pkiName':{'value':'','validate':_0xd9f735=>!!(!_0xd9f735||_0xd9f735[_0xb87490(0x123)](/[0-9a-zA-Z]*/))},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':'Default\x20Subscription','isDefault':!![],'parameters':Object[_0xb87490(0x11c)]({},_0x370030)},{'id':'s2','name':_0xb87490(0x188),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0xb87490(0x12b),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0xb87490(0x191),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0xb87490(0x1a4),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0xb87490(0xd0)},'password':{'type':_0xb87490(0x15e)},'userCertificate':{'type':_0xb87490(0xd0)},'userPrivatekey':{'type':_0xb87490(0x15e)}},'label':function(){const _0x4278f5=_0xb87490;return this[_0x4278f5(0x14d)]||this[_0x4278f5(0x13f)]||_0x4278f5(0xc1);},'oneditsave'(){const _0x4fecc0=_0xb87490,_0x7c3e14=$(_0x4fecc0(0xe3)),_0x4172a5=$(_0x4fecc0(0xfc));_0x7c3e14[_0x4fecc0(0x1bc)]()===_0x4fecc0(0x1a9)&&_0x4172a5['text'](_0x4fecc0(0x1a9));{const _0x161cfd=$(_0x4fecc0(0x9c))[_0x4fecc0(0x176)](_0x4fecc0(0x12d)),_0x53bab3=[],_0x5c0f58=_0x11c593=>_0x11c593;_0x161cfd['each'](function(_0x34eb99,_0x9110fb){const _0x4747f8=_0x4fecc0,_0x199abd=$(this),_0x2b4101={'id':'s'+_0x34eb99,'name':_0x199abd[_0x4747f8(0x196)](_0x4747f8(0x10e))[_0x4747f8(0x1bc)](),'isDefault':!!_0x199abd[_0x4747f8(0x196)]('.input-isDefault')[_0x4747f8(0x1bc)](),'parameters':{'publishingEnabled':!!_0x199abd['find'](_0x4747f8(0x156))['is'](_0x4747f8(0xb2)),'requestedLifetimeCount':_0x5c0f58(_0x199abd[_0x4747f8(0x196)]('.input-requestedLifetimeCount')[_0x4747f8(0x1bc)]()),'requestedMaxKeepAliveCount':_0x5c0f58(_0x199abd[_0x4747f8(0x196)](_0x4747f8(0xaf))[_0x4747f8(0x1bc)]()),'requestedPublishingInterval':_0x5c0f58(_0x199abd['find'](_0x4747f8(0x11a))[_0x4747f8(0x1bc)]()),'maxNotificationsPerPublish':_0x5c0f58(_0x199abd['find'](_0x4747f8(0xf0))[_0x4747f8(0x1bc)]()),'priority':_0x5c0f58(_0x199abd[_0x4747f8(0x196)](_0x4747f8(0xd8))['val']())}};_0x2b4101[_0x4747f8(0x134)][_0x4747f8(0x1c4)]=!![],_0x2b4101[_0x4747f8(0x109)]&&_0x2b4101['id']==='s0'&&(_0x2b4101[_0x4747f8(0x14d)]=_0x4747f8(0x119)),_0x53bab3[_0x4747f8(0x148)](_0x2b4101);}),this[_0x4fecc0(0x190)]=_0x53bab3;}{const _0x1d1bee=$(_0x4fecc0(0xd2))['editableList'](_0x4fecc0(0x12d)),_0x2a9391=[];_0x1d1bee['each'](function(_0x3967cb,_0x263c11){const _0x40bb26=_0x4fecc0,_0x2d6e0=$(this),_0x1199ed={'namespaceUri':_0x2d6e0[_0x40bb26(0x196)](_0x40bb26(0x18d))[_0x40bb26(0x1bc)](),'alias':_0x2d6e0[_0x40bb26(0x196)]('.node-input-alias-alias')[_0x40bb26(0x1bc)]()};_0x2a9391[_0x40bb26(0x148)](_0x1199ed);}),this[_0x4fecc0(0x165)]=_0x2a9391;}},'oneditprepare'(){const _0x2a8979=_0xb87490,_0x5d013e=this;_0x38bb8c();const _0x54feee=RED[_0x2a8979(0x17b)][_0x2a8979(0x1a5)]({'id':'node-config-endpoint-tabs','onchange':_0x3c3ff2=>{const _0x255481=_0x2a8979;$(_0x255481(0x138))[_0x255481(0x122)]()[_0x255481(0x111)](),$('#'+_0x3c3ff2['id'])[_0x255481(0x108)]();}});_0x54feee[_0x2a8979(0x19e)]({'id':_0x2a8979(0x133),'label':_0x2a8979(0x102)},0x0),_0x54feee[_0x2a8979(0x19e)]({'id':'endpoint-tab-subscriptions','label':_0x2a8979(0x11d)},0x1),_0x54feee[_0x2a8979(0x19e)]({'id':_0x2a8979(0x11b),'label':'Namespace\x20Aliases'},0x2),setTimeout(()=>{_0x54feee['resize']();},0x0);{const _0x24c663=_0x538c27=>{const _0x8fa10a=_0x2a8979;switch(_0x538c27){case null:case undefined:case'':case _0x8fa10a(0x1a9):$('.section-securityPolicy')[_0x8fa10a(0x111)]();break;case _0x8fa10a(0xbe):case _0x8fa10a(0x106):{const _0x27e59a=$(_0x8fa10a(0x115));(_0x27e59a[_0x8fa10a(0x1bc)]()===_0x8fa10a(0x1a9)||_0x27e59a[_0x8fa10a(0x1bc)]()==='')&&_0x27e59a[_0x8fa10a(0x1bc)](_0x8fa10a(0x16e)),$(_0x8fa10a(0x115))[_0x8fa10a(0x108)]();}break;default:console[_0x8fa10a(0x1b6)](_0x8fa10a(0xcd)+_0x538c27);}};_0x24c663(_0x5d013e[_0x2a8979(0xb8)]);const _0x1fa487=$('#node-config-input-securityMode');_0x1fa487['on'](_0x2a8979(0x194),()=>{const _0x1e56d0=_0x2a8979,_0x4915e7=_0x1fa487[_0x1e56d0(0x1bc)]();_0x24c663(_0x4915e7);});}const _0x43a53b=$('#licenceWidget');_0x43a53b[_0x2a8979(0x14b)]({});{const _0x50aa0a=$(_0x2a8979(0xad)),_0x50efcd=$(_0x2a8979(0x1ab)),_0x217bfc=_0x5266d6=>{const _0x2a8a5f=_0x2a8979;_0x5266d6=_0x5266d6||'Anonymous';switch(_0x5266d6){case _0x2a8a5f(0x12a):$('#node-config-input-userName')['val'](''),$(_0x2a8a5f(0x100))[_0x2a8a5f(0x1bc)](''),_0x50aa0a['hide'](),_0x50efcd[_0x2a8a5f(0x111)]();break;case _0x2a8a5f(0x1b5):_0x50aa0a[_0x2a8a5f(0x108)](),_0x50efcd[_0x2a8a5f(0x111)]();break;case _0x2a8a5f(0x153):$(_0x2a8a5f(0x135))[_0x2a8a5f(0x1bc)](''),$(_0x2a8a5f(0x100))['val'](''),_0x50efcd['show'](),_0x50aa0a['hide']();break;default:console[_0x2a8a5f(0x1b6)]('invalid\x20userIdentityType\x20'+_0x5266d6);}};_0x217bfc(_0x5d013e[_0x2a8979(0x160)]);const _0x5476eb=$(_0x2a8979(0x18f));_0x5476eb['on'](_0x2a8979(0x194),()=>{const _0x5b0553=_0x5476eb['val']();_0x217bfc(_0x5b0553);});}$(_0x2a8979(0x103))[_0x2a8979(0x111)](),$(_0x2a8979(0x170))[_0x2a8979(0xe6)](_0x2a8979(0x16c),![]),$(_0x2a8979(0x170))['on'](_0x2a8979(0x194),function(){const _0x5dfeef=_0x2a8979;$(this)[_0x5dfeef(0xe6)]('checked')?$(_0x5dfeef(0x103))[_0x5dfeef(0x108)]():$(_0x5dfeef(0x103))[_0x5dfeef(0x111)]();});const _0x5c328e=$('#node-config-input-useTransport')[_0x2a8979(0xe6)](_0x2a8979(0x16c));_0x5c328e?$(_0x2a8979(0x9d))['show']():$(_0x2a8979(0x9d))['hide']();$('#node-config-input-useTransport')['on'](_0x2a8979(0x194),function(){const _0x42afce=_0x2a8979;$(this)[_0x42afce(0xe6)](_0x42afce(0x16c))?$('#section-TransportSettings')[_0x42afce(0x108)]():$(_0x42afce(0x9d))['hide']();}),$('#goto-config')['on'](_0x2a8979(0x13c),()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x818108=_0x2a8979;window[_0x818108(0x112)](_0xb96154('/config'),_0x818108(0x174));})),((()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x17f633=_0x2a8979;var _0x19953c,_0x4b1939,_0x3f9a31;const _0x35102d=$(_0x17f633(0xac)),_0x37923c=$(_0x17f633(0x1b3));$('#manage-certificates-link')['on'](_0x17f633(0x13c),()=>{const _0x51a85a=_0x17f633;window[_0x51a85a(0x112)](_0xb96154('/config/#certificates'),_0x51a85a(0x174));});try{const _0x5021bd=yield fetch(_0xb96154(_0x17f633(0x157))),_0x1cb9f9=yield _0x5021bd[_0x17f633(0x104)]();if(!(_0x1cb9f9===null||_0x1cb9f9===void 0x0?void 0x0:_0x1cb9f9[_0x17f633(0x1c7)])){_0x35102d['css']({'border':_0x17f633(0xef),'background':_0x17f633(0x139)}),_0x35102d['find']('i')[_0x17f633(0x16b)]()[_0x17f633(0xb7)](_0x17f633(0x1a2))[_0x17f633(0xa7)](_0x17f633(0xc3))[_0x17f633(0x129)](_0x17f633(0xf2),_0x17f633(0x178)),_0x37923c[_0x17f633(0x129)]('color',_0x17f633(0x178))[_0x17f633(0xd0)]('No\x20certificate\x20found\x20—\x20create\x20one\x20to\x20enable\x20secure\x20connections');return;}const _0xf15d7b=((_0x4b1939=(_0x19953c=_0x1cb9f9[_0x17f633(0xff)])===null||_0x19953c===void 0x0?void 0x0:_0x19953c[_0x17f633(0x123)](/commonName=([^,]+)/))===null||_0x4b1939===void 0x0?void 0x0:_0x4b1939[0x1])||_0x17f633(0xdb),_0x3ec8d3=(_0x3f9a31=_0x1cb9f9[_0x17f633(0x16a)])!==null&&_0x3f9a31!==void 0x0?_0x3f9a31:0x0;let _0x19307b,_0x3c6d75,_0x179d3d,_0x1ecace,_0x48f17d;if(_0x3ec8d3<=0x0)_0x19307b=_0x17f633(0xb9),_0x3c6d75='#dc3545',_0x179d3d=_0x17f633(0x110),_0x1ecace='#fff5f5',_0x48f17d=_0xf15d7b+_0x17f633(0xb6);else{if(_0x3ec8d3<=0x5a){_0x19307b=_0x17f633(0xc3),_0x3c6d75=_0x17f633(0x19a),_0x179d3d=_0x17f633(0x116),_0x1ecace='#fffaf0';const _0xb3c92a=Math[_0x17f633(0xd5)](_0x3ec8d3/0x16d),_0x4b810d=_0x3ec8d3%0x16d;_0x48f17d=_0xf15d7b+_0x17f633(0xda)+(_0xb3c92a>0x0?_0xb3c92a+'y\x20':'')+_0x4b810d+'d';}else{_0x19307b='fa-check-circle',_0x3c6d75='#28a745',_0x179d3d=_0x17f633(0x1a6),_0x1ecace=_0x17f633(0x1c3);const _0x33536d=Math['floor'](_0x3ec8d3/0x16d),_0x30c32d=_0x3ec8d3%0x16d;_0x48f17d=_0xf15d7b+'\x20—\x20valid\x20('+(_0x33536d>0x0?_0x33536d+'y\x20':'')+_0x30c32d+_0x17f633(0xbc);}}_0x35102d[_0x17f633(0x129)]({'border':_0x17f633(0xed)+_0x179d3d,'background':_0x1ecace}),_0x35102d[_0x17f633(0x196)]('i')[_0x17f633(0x16b)]()[_0x17f633(0xb7)](_0x17f633(0x1a2))[_0x17f633(0xa7)](_0x19307b)[_0x17f633(0x129)](_0x17f633(0xf2),_0x3c6d75),_0x37923c[_0x17f633(0x129)](_0x17f633(0xf2),_0x3c6d75)[_0x17f633(0xd0)](_0x48f17d);}catch(_0x17f8f6){_0x35102d['css']({'border':_0x17f633(0x16d),'background':_0x17f633(0x1bf)}),_0x35102d['find']('i')[_0x17f633(0x16b)]()['removeClass'](_0x17f633(0x1a2))['addClass'](_0x17f633(0x173))[_0x17f633(0x129)](_0x17f633(0xf2),_0x17f633(0xfa)),_0x37923c[_0x17f633(0x129)]('color','#888')['text'](_0x17f633(0xc9));}}))());function _0x38131d(){const _0x551af3=_0x2a8979;var _0x2cfa50;return{'id':_0x5d013e['id'],'endpoint':$(_0x551af3(0x199))[_0x551af3(0x1bc)](),'name':$(_0x551af3(0x18c))[_0x551af3(0x1bc)](),'pkiName':(_0x2cfa50=$('#node-config-input-pkiName'))===null||_0x2cfa50===void 0x0?void 0x0:_0x2cfa50[_0x551af3(0x1bc)](),'securityMode':$(_0x551af3(0xfc))[_0x551af3(0x1bc)](),'securityPolicy':$(_0x551af3(0xe3))[_0x551af3(0x1bc)](),'userIdentityType':$(_0x551af3(0x18f))['val'](),'userName':$('#node-config-input-userName')[_0x551af3(0x1bc)](),'password':$('#node-config-input-password')[_0x551af3(0x1bc)](),'userCertificate':$(_0x551af3(0xae))[_0x551af3(0x1bc)](),'userPrivatekey':$('#node-config-input-userPrivatekey')[_0x551af3(0x1bc)](),'certificate':$(_0x551af3(0x183))[_0x551af3(0x1bc)](),'useTransport':$(_0x551af3(0xcf))[_0x551af3(0xe6)](_0x551af3(0x16c)),'maxChunkCount':$(_0x551af3(0x18b))[_0x551af3(0x1bc)](),'maxMessageSize':$('#node-input-maxMessageSize')[_0x551af3(0x1bc)](),'receiveBufferSize':$(_0x551af3(0x107))['val'](),'sendBufferSize':$(_0x551af3(0x19f))[_0x551af3(0x1bc)]()};}_0x639307('connection',$(_0x2a8979(0x105)),()=>({'url':_0xb96154(_0x2a8979(0x114)),'body':{'endpointNode':_0x38131d()}}),()=>{});{const _0x4778b7=(_0x55cc4,_0x5ebf9c)=>{const _0x35af32=_0x2a8979;var _0x539498=_0x55cc4[_0x35af32(0x1ae)]()||0x64;_0x55cc4['find'](_0x35af32(0xe2))[_0x35af32(0x9f)](_0x35af32(0x1ae),_0x539498-0xf);},_0x4e94c7=$(_0x2a8979(0x9c))[_0x2a8979(0x129)]({'min-height':_0x2a8979(0x187),'min-width':'260px'})[_0x2a8979(0x176)]({'addItem':(_0x42db69,_0x4073b4,_0x2759d6)=>{const _0x255edc=_0x2a8979,_0x15eab2=_0x2759d6,_0x4ca8d2=$('#subscription-template')['clone']()['appendTo'](_0x42db69);_0x4ca8d2['removeAttr']('id')[_0x255edc(0xb7)]('hide')[_0x255edc(0xb7)](_0x255edc(0x10b))[_0x255edc(0x149)](_0x255edc(0x177),_0x4073b4),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0x10e))[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x14d)]),_0x4ca8d2[_0x255edc(0x196)]('.input-requestedPublishingInterval')[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0x140)]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xaf))['val'](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xc7)]),_0x4ca8d2[_0x255edc(0x196)]('.input-requestedLifetimeCount')[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0x1c6)]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xf0))[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xf6)]||0x0),_0x4ca8d2['find'](_0x255edc(0xd8))['val'](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xde)]||0x0),_0x4ca8d2['find'](_0x255edc(0x14e))[_0x255edc(0xd0)](''+_0x4073b4),_0x15eab2['isDefault']&&_0x4ca8d2[_0x255edc(0x196)]('.input-name')['prop'](_0x255edc(0xf1),!![]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xbf))[_0x255edc(0xe6)](_0x255edc(0x16c),_0x15eab2['isDefault']),_0x15eab2[_0x255edc(0x109)]&&(_0x42db69[_0x255edc(0x196)]('.red-ui-editableList-item-remove')[_0x255edc(0xa7)](_0x255edc(0x111)),setTimeout(()=>_0x4ca8d2['find'](_0x255edc(0xbf))[_0x255edc(0xe6)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x4778b7}),_0x31f575=()=>{const _0xade870=_0x2a8979,_0x4fa8ee=_0x5d013e[_0xade870(0x190)]||[];_0x4fa8ee[_0xade870(0xd9)]===0x0&&_0x4fa8ee['push']({'id':'s1','name':_0xade870(0x119),'isDefault':!![],'parameters':Object[_0xade870(0x11c)]({},_0x370030)});_0x4e94c7[_0xade870(0x176)](_0xade870(0xd6));for(const _0x2e4f56 of _0x4fa8ee){_0x4e94c7[_0xade870(0x176)](_0xade870(0xa3),_0x2e4f56);}};_0x31f575();}{function _0x33c988(_0x4210ce,_0x47d190,_0x2a958b){const _0x1617be=_0x2a8979,_0x314cb0=_0x2a958b,_0x3ed0bb=$(_0x1617be(0x13e))[_0x1617be(0x17c)](_0x4210ce);$(_0x1617be(0xbb),{'class':_0x1617be(0xc2),'type':_0x1617be(0xd0)})[_0x1617be(0x1bc)](_0x2a958b[_0x1617be(0xc5)]||'')['css']({'width':'5%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x47d190[_0x1617be(0xfd)]()),$(_0x1617be(0xbb),{'class':_0x1617be(0x179),'type':_0x1617be(0xd0)})[_0x1617be(0x1bc)](_0x2a958b[_0x1617be(0xc5)]||'')[_0x1617be(0x129)]({'width':'25%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x314cb0[_0x1617be(0xc5)]),$(_0x1617be(0xbb),{'class':_0x1617be(0x1ac),'type':_0x1617be(0xd0)})['val'](_0x2a958b[_0x1617be(0x193)]||'')[_0x1617be(0x129)]({'width':'70%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x314cb0[_0x1617be(0x193)]);}const _0x3fcf66=$(_0x2a8979(0xd2))[_0x2a8979(0x129)]({'min-height':'150px','min-width':_0x2a8979(0x12e)})[_0x2a8979(0x176)]({'addButton':![],'removable':![],'height':_0x2a8979(0x181),'scrollOnAdd':![],'addItem'(_0x3d4571,_0x2d582d,_0x5399c3){_0x33c988(_0x3d4571,_0x2d582d,_0x5399c3);}});function _0x2e59a9(){const _0xd40f2a=_0x2a8979;_0x3fcf66['editableList']('items'),_0x3fcf66[_0xd40f2a(0x176)](_0xd40f2a(0xd6));for(const _0x4ec547 of _0x5d013e[_0xd40f2a(0x165)]||[]){_0x3fcf66[_0xd40f2a(0x176)](_0xd40f2a(0xa3),_0x4ec547);}}$(_0x2a8979(0x131))['on'](_0x2a8979(0x13c),()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x4d7956=_0x2a8979,_0x8e79ae={'endpointNode':_0x38131d(),'namespaceAliases':_0x5d013e['namespaceAliases']||[]},_0x76caa1=yield fetch(_0xb96154(_0x4d7956(0x144)),{'method':'POST','headers':{'Content-Type':_0x4d7956(0xdd)},'body':JSON[_0x4d7956(0x184)](_0x8e79ae)}),_0x44d361=yield _0x76caa1[_0x4d7956(0x104)](),_0x2eea81=_0x44d361[_0x4d7956(0x165)];console[_0x4d7956(0x1b6)](_0x4d7956(0x165),_0x2eea81),Array['isArray'](_0x2eea81)&&(_0x5d013e[_0x4d7956(0x165)]=_0x2eea81,_0x2e59a9());})),_0x5d013e[_0x2a8979(0x165)]=_0x5d013e[_0x2a8979(0x165)]||[{'alias':'ua','namespaceUri':_0x2a8979(0x191),'isWellKnown':!![],'isDefault':!![]}],_0x2e59a9();}}});}()));
|
|
455
455
|
</script>
|
|
456
456
|
//# sourceMappingURL=OpcUa-Endpoint2.html.map
|