From c0ff8cdb35fee644dd7d83254f9af18bd41d475d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 4 Nov 2024 18:00:52 +0000 Subject: [PATCH] CI Build Artifacts --- assets/capi/capi-0.7.0.tgz | Bin 0 -> 1324 bytes assets/index.yaml | 23 ++- charts/capi/0.7.0/Chart.yaml | 17 ++ charts/capi/0.7.0/templates/_helpers.tpl | 63 ++++++ charts/capi/0.7.0/templates/cr.yaml | 14 ++ charts/capi/0.7.0/values.yaml | 11 ++ extensions/capi/0.7.0/files.txt | 100 ++++++++++ .../capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.0.js.map | 1 + .../capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.5.js.map | 1 + .../capi/0.7.0/plugin/capi-0.7.0.umd.min.6.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.6.js.map | 1 + .../capi/0.7.0/plugin/capi-0.7.0.umd.min.7.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.7.js.map | 1 + .../capi/0.7.0/plugin/capi-0.7.0.umd.min.8.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.8.js.map | 1 + .../0.7.0/plugin/capi-0.7.0.umd.min.edit.js | 2 + .../plugin/capi-0.7.0.umd.min.edit.js.map | 1 + .../plugin/capi-0.7.0.umd.min.formatters.js | 2 + .../capi-0.7.0.umd.min.formatters.js.map | 1 + .../capi/0.7.0/plugin/capi-0.7.0.umd.min.js | 2 + .../0.7.0/plugin/capi-0.7.0.umd.min.js.map | 1 + .../plugin/capi-0.7.0.umd.min.vendors~edit.js | 101 ++++++++++ .../capi-0.7.0.umd.min.vendors~edit.js.map | 1 + .../plugin/img/aliyun-black.b576ca7f.svg | 14 ++ .../capi/0.7.0/plugin/img/aliyun.05625b68.svg | 17 ++ .../plugin/img/aliyunecs-black.47c0410f.svg | 13 ++ .../0.7.0/plugin/img/aliyunecs.d971267d.svg | 21 ++ .../plugin/img/amazonec2-black.d1821012.svg | 8 + .../0.7.0/plugin/img/amazonec2.1aa39ab0.svg | 19 ++ .../plugin/img/amazoneks-black.a84e95fa.svg | 10 + .../0.7.0/plugin/img/amazoneks.08036fe5.svg | 14 ++ .../capi/0.7.0/plugin/img/aws.259e1339.svg | 38 ++++ .../0.7.0/plugin/img/azure-black.5f0d4c16.svg | 29 +++ .../capi/0.7.0/plugin/img/azure.eb8fe01e.svg | 32 +++ .../plugin/img/azuread-black.df47a4be.svg | 22 +++ .../0.7.0/plugin/img/azuread.89d0693d.svg | 25 +++ .../plugin/img/azureaks-black.c476b248.svg | 28 +++ .../0.7.0/plugin/img/azureaks.f30a4ee5.svg | 31 +++ .../0.7.0/plugin/img/baidu-black.fbfb0a3d.svg | 19 ++ .../capi/0.7.0/plugin/img/baidu.59230de0.svg | 25 +++ .../plugin/img/cloudca-black.e617e95a.svg | 45 +++++ .../0.7.0/plugin/img/cloudca.1095d0cc.svg | 49 +++++ .../plugin/img/cloudscale-black.05c818ff.svg | 24 +++ .../0.7.0/plugin/img/cloudscale.15af4521.svg | 28 +++ .../capi/0.7.0/plugin/img/custom.73e585f1.svg | 85 ++++++++ .../img/digitalocean-black.c7b0f38c.svg | 21 ++ .../plugin/img/digitalocean.acdee7f1.svg | 24 +++ .../capi/0.7.0/plugin/img/docker.c06657b9.svg | 1 + .../plugin/img/equinix-black.74a27b4d.svg | 13 ++ .../0.7.0/plugin/img/equinix.439fbbbe.svg | 13 ++ .../0.7.0/plugin/img/exoscale.7a312d6d.svg | 1 + .../capi/0.7.0/plugin/img/gcp.92c9d851.svg | 6 + .../plugin/img/generic-catalog.99bdaecf.svg | 15 ++ .../plugin/img/generic-driver.58cd1dcb.svg | 17 ++ .../0.7.0/plugin/img/gke-black.270042cf.svg | 10 + .../capi/0.7.0/plugin/img/gke.deaff14c.svg | 28 +++ .../capi/0.7.0/plugin/img/google.778e7144.svg | 29 +++ .../plugin/img/googlegke-black.270042cf.svg | 10 + .../0.7.0/plugin/img/googlegke.deaff14c.svg | 28 +++ .../0.7.0/plugin/img/harvester.b14e570b.svg | 1 + .../plugin/img/huaweicce-black.39ee46f2.svg | 109 +++++++++++ .../0.7.0/plugin/img/huaweicce.4fb3a929.svg | 184 ++++++++++++++++++ .../capi/0.7.0/plugin/img/import.2e2e359c.svg | 99 ++++++++++ .../0.7.0/plugin/img/k3s-black.d52e5687.svg | 10 + .../capi/0.7.0/plugin/img/k3s.01e2b406.svg | 15 ++ .../plugin/img/kubernetes-black.3e32c1a8.svg | 37 ++++ .../0.7.0/plugin/img/kubernetes.2e2e359c.svg | 99 ++++++++++ .../capi/0.7.0/plugin/img/linode.72ae9a55.svg | 54 +++++ .../plugin/img/linodelke-black.058df1a0.svg | 40 ++++ .../0.7.0/plugin/img/linodelke.72ae9a55.svg | 54 +++++ .../plugin/img/local-cluster.c77b2023.svg | 20 ++ .../plugin/img/minikube-black.b739e7a9.svg | 25 +++ .../0.7.0/plugin/img/minikube.b39dc584.svg | 36 ++++ .../0.7.0/plugin/img/nutanix.87666923.svg | 1 + .../0.7.0/plugin/img/oci-black.f960feb5.svg | 41 ++++ .../capi/0.7.0/plugin/img/oci.8b52fe45.svg | 44 +++++ .../plugin/img/openstack-black.46740f63.svg | 16 ++ .../0.7.0/plugin/img/openstack.638b1003.svg | 20 ++ .../capi/0.7.0/plugin/img/oracle.8219cfb5.svg | 66 +++++++ .../plugin/img/oracleoke-black.aaa9e8cf.svg | 51 +++++ .../0.7.0/plugin/img/oracleoke.ddaa8a0e.svg | 55 ++++++ .../0.7.0/plugin/img/otc-black.007c6157.svg | 15 ++ .../capi/0.7.0/plugin/img/otc.d7330474.svg | 33 ++++ .../capi/0.7.0/plugin/img/otccce.d7330474.svg | 33 ++++ .../0.7.0/plugin/img/outscale.97c433a9.svg | 19 ++ .../0.7.0/plugin/img/ovhcloudmks.ccb13957.svg | 122 ++++++++++++ .../img/ovhcloudpubliccloud.ccb13957.svg | 122 ++++++++++++ .../plugin/img/packet-black.cdd96d23.svg | 15 ++ .../capi/0.7.0/plugin/img/packet.5fce6e98.svg | 16 ++ .../img/pinganyunecs-black.2ff2c7d9.svg | 26 +++ .../plugin/img/pinganyunecs.e75d4c8a.svg | 26 +++ .../0.7.0/plugin/img/pnap-black.1b1773d7.svg | 43 ++++ .../capi/0.7.0/plugin/img/pnap.0cb6fe69.svg | 48 +++++ .../plugin/img/rackspace-black.b5378844.svg | 14 ++ .../0.7.0/plugin/img/rackspace.6f98715f.svg | 18 ++ .../capi/0.7.0/plugin/img/rke.d10540bf.svg | 26 +++ .../capi/0.7.0/plugin/img/rke2.d10540bf.svg | 26 +++ .../0.7.0/plugin/img/softlayer.d474be09.svg | 27 +++ .../plugin/img/tencenttke-black.58828585.svg | 22 +++ .../0.7.0/plugin/img/tencenttke.0b34fe07.svg | 39 ++++ .../img/vmwarevsphere-black.2f9d3f1d.svg | 60 ++++++ .../plugin/img/vmwarevsphere.32594541.svg | 51 +++++ .../plugin/img/vsphere-black.2f9d3f1d.svg | 60 ++++++ .../0.7.0/plugin/img/vsphere.32594541.svg | 51 +++++ extensions/capi/0.7.0/plugin/package.json | 19 ++ index.yaml | 23 ++- 108 files changed, 3195 insertions(+), 2 deletions(-) create mode 100644 assets/capi/capi-0.7.0.tgz create mode 100644 charts/capi/0.7.0/Chart.yaml create mode 100644 charts/capi/0.7.0/templates/_helpers.tpl create mode 100644 charts/capi/0.7.0/templates/cr.yaml create mode 100644 charts/capi/0.7.0/values.yaml create mode 100644 extensions/capi/0.7.0/files.txt create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.6.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.6.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.7.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.7.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.8.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.8.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.edit.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.edit.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.formatters.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.formatters.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.js.map create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.vendors~edit.js create mode 100644 extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.vendors~edit.js.map create mode 100644 extensions/capi/0.7.0/plugin/img/aliyun-black.b576ca7f.svg create mode 100644 extensions/capi/0.7.0/plugin/img/aliyun.05625b68.svg create mode 100644 extensions/capi/0.7.0/plugin/img/aliyunecs-black.47c0410f.svg create mode 100644 extensions/capi/0.7.0/plugin/img/aliyunecs.d971267d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/amazonec2-black.d1821012.svg create mode 100644 extensions/capi/0.7.0/plugin/img/amazonec2.1aa39ab0.svg create mode 100644 extensions/capi/0.7.0/plugin/img/amazoneks-black.a84e95fa.svg create mode 100644 extensions/capi/0.7.0/plugin/img/amazoneks.08036fe5.svg create mode 100644 extensions/capi/0.7.0/plugin/img/aws.259e1339.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azure-black.5f0d4c16.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azure.eb8fe01e.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azuread-black.df47a4be.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azuread.89d0693d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azureaks-black.c476b248.svg create mode 100644 extensions/capi/0.7.0/plugin/img/azureaks.f30a4ee5.svg create mode 100644 extensions/capi/0.7.0/plugin/img/baidu-black.fbfb0a3d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/baidu.59230de0.svg create mode 100644 extensions/capi/0.7.0/plugin/img/cloudca-black.e617e95a.svg create mode 100644 extensions/capi/0.7.0/plugin/img/cloudca.1095d0cc.svg create mode 100644 extensions/capi/0.7.0/plugin/img/cloudscale-black.05c818ff.svg create mode 100644 extensions/capi/0.7.0/plugin/img/cloudscale.15af4521.svg create mode 100644 extensions/capi/0.7.0/plugin/img/custom.73e585f1.svg create mode 100644 extensions/capi/0.7.0/plugin/img/digitalocean-black.c7b0f38c.svg create mode 100644 extensions/capi/0.7.0/plugin/img/digitalocean.acdee7f1.svg create mode 100644 extensions/capi/0.7.0/plugin/img/docker.c06657b9.svg create mode 100644 extensions/capi/0.7.0/plugin/img/equinix-black.74a27b4d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/equinix.439fbbbe.svg create mode 100644 extensions/capi/0.7.0/plugin/img/exoscale.7a312d6d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/gcp.92c9d851.svg create mode 100644 extensions/capi/0.7.0/plugin/img/generic-catalog.99bdaecf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/generic-driver.58cd1dcb.svg create mode 100644 extensions/capi/0.7.0/plugin/img/gke-black.270042cf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/gke.deaff14c.svg create mode 100644 extensions/capi/0.7.0/plugin/img/google.778e7144.svg create mode 100644 extensions/capi/0.7.0/plugin/img/googlegke-black.270042cf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/googlegke.deaff14c.svg create mode 100644 extensions/capi/0.7.0/plugin/img/harvester.b14e570b.svg create mode 100644 extensions/capi/0.7.0/plugin/img/huaweicce-black.39ee46f2.svg create mode 100644 extensions/capi/0.7.0/plugin/img/huaweicce.4fb3a929.svg create mode 100644 extensions/capi/0.7.0/plugin/img/import.2e2e359c.svg create mode 100644 extensions/capi/0.7.0/plugin/img/k3s-black.d52e5687.svg create mode 100644 extensions/capi/0.7.0/plugin/img/k3s.01e2b406.svg create mode 100644 extensions/capi/0.7.0/plugin/img/kubernetes-black.3e32c1a8.svg create mode 100644 extensions/capi/0.7.0/plugin/img/kubernetes.2e2e359c.svg create mode 100644 extensions/capi/0.7.0/plugin/img/linode.72ae9a55.svg create mode 100644 extensions/capi/0.7.0/plugin/img/linodelke-black.058df1a0.svg create mode 100644 extensions/capi/0.7.0/plugin/img/linodelke.72ae9a55.svg create mode 100644 extensions/capi/0.7.0/plugin/img/local-cluster.c77b2023.svg create mode 100644 extensions/capi/0.7.0/plugin/img/minikube-black.b739e7a9.svg create mode 100644 extensions/capi/0.7.0/plugin/img/minikube.b39dc584.svg create mode 100644 extensions/capi/0.7.0/plugin/img/nutanix.87666923.svg create mode 100644 extensions/capi/0.7.0/plugin/img/oci-black.f960feb5.svg create mode 100644 extensions/capi/0.7.0/plugin/img/oci.8b52fe45.svg create mode 100644 extensions/capi/0.7.0/plugin/img/openstack-black.46740f63.svg create mode 100644 extensions/capi/0.7.0/plugin/img/openstack.638b1003.svg create mode 100644 extensions/capi/0.7.0/plugin/img/oracle.8219cfb5.svg create mode 100644 extensions/capi/0.7.0/plugin/img/oracleoke-black.aaa9e8cf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/oracleoke.ddaa8a0e.svg create mode 100644 extensions/capi/0.7.0/plugin/img/otc-black.007c6157.svg create mode 100644 extensions/capi/0.7.0/plugin/img/otc.d7330474.svg create mode 100644 extensions/capi/0.7.0/plugin/img/otccce.d7330474.svg create mode 100644 extensions/capi/0.7.0/plugin/img/outscale.97c433a9.svg create mode 100644 extensions/capi/0.7.0/plugin/img/ovhcloudmks.ccb13957.svg create mode 100644 extensions/capi/0.7.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg create mode 100644 extensions/capi/0.7.0/plugin/img/packet-black.cdd96d23.svg create mode 100644 extensions/capi/0.7.0/plugin/img/packet.5fce6e98.svg create mode 100644 extensions/capi/0.7.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg create mode 100644 extensions/capi/0.7.0/plugin/img/pinganyunecs.e75d4c8a.svg create mode 100644 extensions/capi/0.7.0/plugin/img/pnap-black.1b1773d7.svg create mode 100644 extensions/capi/0.7.0/plugin/img/pnap.0cb6fe69.svg create mode 100644 extensions/capi/0.7.0/plugin/img/rackspace-black.b5378844.svg create mode 100644 extensions/capi/0.7.0/plugin/img/rackspace.6f98715f.svg create mode 100644 extensions/capi/0.7.0/plugin/img/rke.d10540bf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/rke2.d10540bf.svg create mode 100644 extensions/capi/0.7.0/plugin/img/softlayer.d474be09.svg create mode 100644 extensions/capi/0.7.0/plugin/img/tencenttke-black.58828585.svg create mode 100644 extensions/capi/0.7.0/plugin/img/tencenttke.0b34fe07.svg create mode 100644 extensions/capi/0.7.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/vmwarevsphere.32594541.svg create mode 100644 extensions/capi/0.7.0/plugin/img/vsphere-black.2f9d3f1d.svg create mode 100644 extensions/capi/0.7.0/plugin/img/vsphere.32594541.svg create mode 100644 extensions/capi/0.7.0/plugin/package.json diff --git a/assets/capi/capi-0.7.0.tgz b/assets/capi/capi-0.7.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..c0681aad3aa249e686dad4cdefb118f16eff5c72 GIT binary patch literal 1324 zcmV+{1=IQ;iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI-bZ`-yL&$IrDgV3TszLhK`j)Sj&4k)rc1l!tTLA%F-rp^`- ziegF1iQ(jbA4p2FttyGTHOU6}UMy2b@^eSt=k7#_WTVr9C=)M9$qybvk|aqcbnO57YGM0Fnnm)00{oq7IUOyjS12|A-JFDnksbgw6s0 zN(|xEJf_4Ljxno76qR8!hIs~x2wI>TRLhx`oGc?jO3dK&-N!TdbT+7oR}vK~Q5eEA z2#u;S98|ohrx-0zX;z60Ui|bH(m0*ONtC=8)VEt}NhoIE2cw!rlGk%4BE8fG%fV@t z&VVyfUk$#Ms7hvZ)M>qeOD6K_QV*&(F4~5D82|rv)S6ZjGbo85bF^L=)T&uTt5Q}1 zg~`Ahr2`__=XRsTVL+tp{wDEBoCG;)s+crx=+ha@D&^0H@>&~IAXT+sb_Nskz@MFE zgupB`8#9Gf6ekSVvx!18tg(9pt`Hh`#32`w;#8Q~h;z`NQM>;EMhk`qJh zk~{HexaQIDmN~bjpq-P@Q=i3Ch>L%NrR2n*9(^g0OH?{G^2brZJ@J2ZG){Z*KR!;= zef&R$tX8Af!7o>mh#X9TV1oy$nR}+LEeKwZZf=6rDuNtmOdy1KWl-3#j5MkRs@P5n zAzG`Enj46HTk+nm7=QLDW|LXq+LDN%FgbFMtURx0Gj;`G6hgBWirhX14(6#sVh~8T zgXO9ve60z06{@XQoB?t0C;GLWzOg%4V>C>Wl3F9^szms;o}v>6X|4!=nJhxe7A+v40B z{7!IEF=1v9KG)H69ro7po9=$kh99@D-^RJxplLFcJyUnK%|-EAoJ^7La=uP|eYkz2 zHvR3Nn?fJ1L80V?B82}7A^Z}4e^gavSqTqS?*P>+daMQVGSDYHf%J`y-Wt-l+vSGCvm~stY>&jry8{e+td$K&5 zF8xC7)jCJDV6;Eqd-J>jzq>#C=0<~9d{J|!-#kCW!?rM?4G|Q#E!m91Ei*n|%wglx zzz$~k67lz@u3KN_OJ<6WB)n4GR)6i*iikPFvkP3lfoHB6v24@c6gv(#Hx7C8cK8Gb zAD=qG{>!CT|55b-UEqD+|I(9_Uj278o{abP-($$;C!}xNq(vHBFp+2Q>FlEm-C(nE z+kunTb&HE;Kd1Rf*C!%3?6o|3-m^CE^20RCs%TH-7ah{-D^L3Bud;QRK2>!emewBXu?!DRLRlnJMaNtx?(P35AJi zRkkhh$VO~bv#7&Anir8IbJU}5NIR{O|5WG9ZyR#!^lg;Qs}@q*sShdIH?3ZG5$<+s iKP}k9YR+o1XXm}_WiNYqI{7OA0RR8$c!UK29smGpV2r;2 literal 0 HcmV?d00001 diff --git a/assets/index.yaml b/assets/index.yaml index 0d822f4..c77df9e 100644 --- a/assets/index.yaml +++ b/assets/index.yaml @@ -1,6 +1,27 @@ apiVersion: v1 entries: capi: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: "true" + catalog.cattle.io/kube-version: '>= 1.16.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= 2.9.0-0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + apiVersion: v2 + appVersion: 0.7.0 + created: "2024-11-04T17:59:17.974379535Z" + description: UI for CAPI cluster provisioning + digest: c0905cbbce9db459f6c9d9786a4e163fa6812934c7addfe742b5ba8c25021844 + name: capi + type: application + urls: + - assets/capi/capi-0.7.0.tgz + version: 0.7.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/display-name: CAPI UI @@ -206,4 +227,4 @@ entries: urls: - assets/capi/capi-0.1.0.tgz version: 0.1.0 -generated: "2024-08-14T18:31:46.363598441Z" +generated: "2024-11-04T17:59:17.973873792Z" diff --git a/charts/capi/0.7.0/Chart.yaml b/charts/capi/0.7.0/Chart.yaml new file mode 100644 index 0000000..0afee6c --- /dev/null +++ b/charts/capi/0.7.0/Chart.yaml @@ -0,0 +1,17 @@ +annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/kube-version: '>= 1.16.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= 2.9.0-0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: 'true' +apiVersion: v2 +appVersion: 0.7.0 +description: UI for CAPI cluster provisioning +name: capi +type: application +version: 0.7.0 diff --git a/charts/capi/0.7.0/templates/_helpers.tpl b/charts/capi/0.7.0/templates/_helpers.tpl new file mode 100644 index 0000000..170f941 --- /dev/null +++ b/charts/capi/0.7.0/templates/_helpers.tpl @@ -0,0 +1,63 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "extension-server.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "extension-server.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "extension-server.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "extension-server.labels" -}} +helm.sh/chart: {{ include "extension-server.chart" . }} +{{ include "extension-server.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "extension-server.selectorLabels" -}} +app.kubernetes.io/name: {{ include "extension-server.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Pkg annotations +*/}} +{{- define "extension-server.pluginMetadata" -}} +{{- with .Values.plugin.metadata }} +{{- range $key, $value := . }} +{{ $key }}: {{ $value | quote }} +{{- end }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/capi/0.7.0/templates/cr.yaml b/charts/capi/0.7.0/templates/cr.yaml new file mode 100644 index 0000000..ccd4de0 --- /dev/null +++ b/charts/capi/0.7.0/templates/cr.yaml @@ -0,0 +1,14 @@ +apiVersion: catalog.cattle.io/v1 +kind: UIPlugin +metadata: + name: {{ include "extension-server.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: {{ include "extension-server.labels" . | nindent 4 }} +spec: + plugin: + name: {{ include "extension-server.fullname" . }} + version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }} + endpoint: https://raw.githubusercontent.com/rancher/capi-ui-extension/gh-pages/extensions/capi/0.7.0 + noCache: {{ .Values.plugin.noCache }} + noAuth: {{ .Values.plugin.noAuth }} + metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }} \ No newline at end of file diff --git a/charts/capi/0.7.0/values.yaml b/charts/capi/0.7.0/values.yaml new file mode 100644 index 0000000..f33bef5 --- /dev/null +++ b/charts/capi/0.7.0/values.yaml @@ -0,0 +1,11 @@ +nameOverride: "" +fullnameOverride: "" +plugin: + enabled: true + versionOverride: "" + noCache: false + noAuth: false + metadata: + catalog.cattle.io/rancher-version: ">= 2.9.0-0" + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: "true" diff --git a/extensions/capi/0.7.0/files.txt b/extensions/capi/0.7.0/files.txt new file mode 100644 index 0000000..64475dd --- /dev/null +++ b/extensions/capi/0.7.0/files.txt @@ -0,0 +1,100 @@ +plugin/capi-0.7.0.umd.min.0.js +plugin/capi-0.7.0.umd.min.0.js.map +plugin/capi-0.7.0.umd.min.5.js +plugin/capi-0.7.0.umd.min.5.js.map +plugin/capi-0.7.0.umd.min.6.js +plugin/capi-0.7.0.umd.min.6.js.map +plugin/capi-0.7.0.umd.min.7.js +plugin/capi-0.7.0.umd.min.7.js.map +plugin/capi-0.7.0.umd.min.8.js +plugin/capi-0.7.0.umd.min.8.js.map +plugin/capi-0.7.0.umd.min.edit.js +plugin/capi-0.7.0.umd.min.edit.js.map +plugin/capi-0.7.0.umd.min.formatters.js +plugin/capi-0.7.0.umd.min.formatters.js.map +plugin/capi-0.7.0.umd.min.js +plugin/capi-0.7.0.umd.min.js.map +plugin/capi-0.7.0.umd.min.vendors~edit.js +plugin/capi-0.7.0.umd.min.vendors~edit.js.map +plugin/img/aliyun-black.b576ca7f.svg +plugin/img/aliyun.05625b68.svg +plugin/img/aliyunecs-black.47c0410f.svg +plugin/img/aliyunecs.d971267d.svg +plugin/img/amazonec2-black.d1821012.svg +plugin/img/amazonec2.1aa39ab0.svg +plugin/img/amazoneks-black.a84e95fa.svg +plugin/img/amazoneks.08036fe5.svg +plugin/img/aws.259e1339.svg +plugin/img/azure-black.5f0d4c16.svg +plugin/img/azure.eb8fe01e.svg +plugin/img/azuread-black.df47a4be.svg +plugin/img/azuread.89d0693d.svg +plugin/img/azureaks-black.c476b248.svg +plugin/img/azureaks.f30a4ee5.svg +plugin/img/baidu-black.fbfb0a3d.svg +plugin/img/baidu.59230de0.svg +plugin/img/cloudca-black.e617e95a.svg +plugin/img/cloudca.1095d0cc.svg +plugin/img/cloudscale-black.05c818ff.svg +plugin/img/cloudscale.15af4521.svg +plugin/img/custom.73e585f1.svg +plugin/img/digitalocean-black.c7b0f38c.svg +plugin/img/digitalocean.acdee7f1.svg +plugin/img/docker.c06657b9.svg +plugin/img/equinix-black.74a27b4d.svg +plugin/img/equinix.439fbbbe.svg +plugin/img/exoscale.7a312d6d.svg +plugin/img/gcp.92c9d851.svg +plugin/img/generic-catalog.99bdaecf.svg +plugin/img/generic-driver.58cd1dcb.svg +plugin/img/gke-black.270042cf.svg +plugin/img/gke.deaff14c.svg +plugin/img/google.778e7144.svg +plugin/img/googlegke-black.270042cf.svg +plugin/img/googlegke.deaff14c.svg +plugin/img/harvester.b14e570b.svg +plugin/img/huaweicce-black.39ee46f2.svg +plugin/img/huaweicce.4fb3a929.svg +plugin/img/import.2e2e359c.svg +plugin/img/k3s-black.d52e5687.svg +plugin/img/k3s.01e2b406.svg +plugin/img/kubernetes-black.3e32c1a8.svg +plugin/img/kubernetes.2e2e359c.svg +plugin/img/linode.72ae9a55.svg +plugin/img/linodelke-black.058df1a0.svg +plugin/img/linodelke.72ae9a55.svg +plugin/img/local-cluster.c77b2023.svg +plugin/img/minikube-black.b739e7a9.svg +plugin/img/minikube.b39dc584.svg +plugin/img/nutanix.87666923.svg +plugin/img/oci-black.f960feb5.svg +plugin/img/oci.8b52fe45.svg +plugin/img/openstack-black.46740f63.svg +plugin/img/openstack.638b1003.svg +plugin/img/oracle.8219cfb5.svg +plugin/img/oracleoke-black.aaa9e8cf.svg +plugin/img/oracleoke.ddaa8a0e.svg +plugin/img/otc-black.007c6157.svg +plugin/img/otc.d7330474.svg +plugin/img/otccce.d7330474.svg +plugin/img/outscale.97c433a9.svg +plugin/img/ovhcloudmks.ccb13957.svg +plugin/img/ovhcloudpubliccloud.ccb13957.svg +plugin/img/packet-black.cdd96d23.svg +plugin/img/packet.5fce6e98.svg +plugin/img/pinganyunecs-black.2ff2c7d9.svg +plugin/img/pinganyunecs.e75d4c8a.svg +plugin/img/pnap-black.1b1773d7.svg +plugin/img/pnap.0cb6fe69.svg +plugin/img/rackspace-black.b5378844.svg +plugin/img/rackspace.6f98715f.svg +plugin/img/rke.d10540bf.svg +plugin/img/rke2.d10540bf.svg +plugin/img/softlayer.d474be09.svg +plugin/img/tencenttke-black.58828585.svg +plugin/img/tencenttke.0b34fe07.svg +plugin/img/vmwarevsphere-black.2f9d3f1d.svg +plugin/img/vmwarevsphere.32594541.svg +plugin/img/vsphere-black.2f9d3f1d.svg +plugin/img/vsphere.32594541.svg +plugin/package.json diff --git a/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js new file mode 100644 index 0000000..41d5dba --- /dev/null +++ b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_7_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_7_0"]||[]).push([[0],{"46c7":function(e,n,a){"use strict";a.r(n);var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("Banner",{attrs:{color:"warning","label-key":"capi.experimental"}})},l=[],s=a("8bbf"),r=a.n(s),i=a("eb32"),p=r.a.extend({name:"ExperimentalWarningBanner",components:{Banner:i["a"]}}),f=p,c=a("d802"),o=Object(c["a"])(f,t,l,!1,null,null,null);n["default"]=o.exports}}]); +//# sourceMappingURL=capi-0.7.0.umd.min.0.js.map \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js.map b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js.map new file mode 100644 index 0000000..112f37a --- /dev/null +++ b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.0.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.7.0/./components/ExperimentalBanner.vue","webpack://capi-0.7.0/./components/ExperimentalBanner.vue?93cd","webpack://capi-0.7.0/./components/ExperimentalBanner.vue?cf6f","webpack://capi-0.7.0/./components/ExperimentalBanner.vue?f39c"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","staticRenderFns","Vue","extend","name","components","Banner","component"],"mappings":"4LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,UAAU,YAAY,wBAE9IC,EAAkB,G,iCCEPC,MAAIC,OAAO,CACxBC,KAAM,4BAENC,WAAY,CAAEC,iBCP4a,I,YCOxbC,EAAY,eACd,EACAb,EACAO,GACA,EACA,KACA,KACA,MAIa,aAAAM,E","file":"capi-0.7.0.umd.min.0.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Banner',{attrs:{\"color\":\"warning\",\"label-key\":\"capi.experimental\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport Banner from '@components/Banner/Banner.vue';\n\nexport default Vue.extend({\n name: 'ExperimentalWarningBanner',\n\n components: { Banner },\n\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExperimentalBanner.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExperimentalBanner.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ExperimentalBanner.vue?vue&type=template&id=7db387dc\"\nimport script from \"./ExperimentalBanner.vue?vue&type=script&lang=ts\"\nexport * from \"./ExperimentalBanner.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js new file mode 100644 index 0000000..0446359 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_7_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_7_0"]||[]).push([[5],{1032:function(e,t,i){"use strict";var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"checkbox-outer-container",attrs:{"data-checkbox-ctrl":""}},[t("label",{staticClass:"checkbox-container",class:{disabled:e.isDisabled},attrs:{for:e.id},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.clicked(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.clicked(t))}],click:function(t){return e.clicked(t)}}},[t("input",{attrs:{type:"checkbox",tabindex:-1,name:e.id},domProps:{checked:e.isChecked,value:e.valueWhenTrue},on:{click:function(e){e.stopPropagation(),e.preventDefault()}}}),t("span",{staticClass:"checkbox-custom",class:{indeterminate:e.indeterminate},attrs:{tabindex:e.isDisabled?-1:0,"aria-label":e.label,"aria-checked":!!e.value,role:"checkbox"}}),e.$slots.label||e.label||e.labelKey||e.tooltipKey||e.tooltip?t("span",{staticClass:"checkbox-label",class:{"checkbox-primary":e.primary}},[e._t("label",(function(){return[e.labelKey?t("t",{attrs:{k:e.labelKey,raw:!0}}):e.label?[e._v(e._s(e.label))]:e._e(),e.tooltipKey?t("i",{directives:[{name:"clean-tooltip",rawName:"v-clean-tooltip",value:e.t(e.tooltipKey),expression:"t(tooltipKey)"}],staticClass:"checkbox-info icon icon-info icon-lg"}):e.tooltip?t("i",{directives:[{name:"clean-tooltip",rawName:"v-clean-tooltip",value:e.tooltip,expression:"tooltip"}],staticClass:"checkbox-info icon icon-info icon-lg"}):e._e()]}))],2):e._e()]),e.descriptionKey||e.description?t("div",{staticClass:"checkbox-outer-container-description"},[e.descriptionKey?t("t",{attrs:{k:e.descriptionKey}}):e.description?[e._v(" "+e._s(e.description)+" ")]:e._e()],2):e._e()])},r=[],a=i("8bbf"),c=i("da25"),n=i("bddd"),l=i("736a"),s=i.n(l),d=Object(a["defineComponent"])({name:"Checkbox",props:{value:{type:[Boolean,Array,String],default:!1},label:{type:String,default:null},labelKey:{type:String,default:null},id:{type:String,default:String(1e3*Math.random())},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},mode:{type:String,default:c["i"]},tooltip:{type:[String,Object],default:null},tooltipKey:{type:String,default:null},valueWhenTrue:{type:[Boolean,String,Number],default:!0},descriptionKey:{type:String,default:null},description:{type:String,default:null},primary:{type:Boolean,default:!1}},computed:{isDisabled(){return this.disabled||this.mode===c["m"]},isChecked(){return this.isMulti(this.value)?this.findTrueValues(this.value):this.value===this.valueWhenTrue}},methods:{clicked(e){if("A"===e.target.tagName&&e.target.href)return!0;if(e.stopPropagation(),e.preventDefault(),this.isDisabled)return;const t={bubbles:!0,cancelable:!1,shiftKey:e.shiftKey,altKey:e.altKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey},i=new CustomEvent("click",t),o=s()(this.value);this.isMulti(o)?(this.isChecked?Object(n["g"])(o,this.valueWhenTrue):Object(n["a"])(o,this.valueWhenTrue),this.$emit("input",o)):this.isString(this.valueWhenTrue)?this.isChecked?this.$emit("input",null):this.$emit("input",this.valueWhenTrue):(this.$emit("input",!o),this.$el.dispatchEvent(i))},isMulti(e){return Array.isArray(e)},isString(e){return"string"===typeof e},findTrueValues(e){return e.find(e=>e===this.valueWhenTrue)||!1}}}),u=d,p=(i("fb60"),i("d802")),b=Object(p["a"])(u,o,r,!1,null,null,null);t["a"]=b.exports},"3d95":function(e,t,i){var o=i("eaa8");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=i("0ed3").default;r("9367744e",o,!0,{sourceMap:!1,shadowMode:!1})},"64c9":function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("Checkbox",{attrs:{value:e.capiLabel,"label-key":"capi.autoImport.checkbox.label"},on:{input:e.toggleCapiLabel}},[t("br"),e._v(" "+e._s({...e.resource})+" ")])],1)},r=[],a=i("8bbf"),c=i.n(a),n=i("1032"),l=i("7e89"),s=c.a.extend({name:"CAPIAutoImportConfiguration",components:{Checkbox:n["a"]},props:{resource:{type:Object,required:!0},mode:{type:String,default:"create"}},methods:{toggleCapiLabel(e){e?this.$set(this.resource.metadata.labels,l["d"].AUTO_IMPORT,"true"):delete this.resource.metadata.labels[l["d"].AUTO_IMPORT]}},computed:{capiLabel(){var e;return"true"===(null===(e=this.resource)||void 0===e||null===(e=e.metadata.labels)||void 0===e?void 0:e[l["d"].AUTO_IMPORT])},labels(){return this.resource.labels}}}),d=s,u=i("d802"),p=Object(u["a"])(d,o,r,!1,null,null,null);t["default"]=p.exports},eaa8:function(e,t,i){var o=i("5eaa");t=o(!1),t.push([e.i,'.checkbox-outer-container{display:inline-flex;flex-direction:column}.checkbox-outer-container-description{color:var(--input-label);font-size:14px;margin-left:19px;margin-top:5px;opacity:.8}.checkbox-container{position:relative;display:inline-flex;align-items:center;margin:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--border-radius)}.checkbox-container .checkbox-label{color:var(--input-label);display:inline-flex;margin:0 10px 0 5px}.checkbox-container .checkbox-label.checkbox-primary{color:inherit;font-weight:600}.checkbox-container .checkbox-info{line-height:normal;margin-left:2px}.checkbox-container .checkbox-custom{height:14px;width:14px;background-color:var(--body-bg);border-radius:var(--border-radius);transition:all .3s ease-out;border:1px solid var(--border);flex-shrink:0}.checkbox-container input{opacity:0;position:absolute;z-index:-1}.checkbox-container input:checked~.checkbox-custom{background-color:var(--primary);transform:rotate(0deg) scale(1);opacity:1;border:1px solid var(--primary)}.checkbox-container .checkbox-custom:after{position:absolute;content:"";left:0;top:0;height:0;width:0;border-radius:var(--border-radius);border:solid;border-color:var(--input-text);border-width:0 3px 3px 0;transform:rotate(0deg) scale(0);opacity:1}.checkbox-container input:checked~.checkbox-custom:after{transform:rotate(45deg) scale(1);opacity:1;left:4px;width:4px;height:10px;border:solid;border-color:var(--checkbox-tick);border-width:0 2px 2px 0;background-color:transparent}.checkbox-container input:checked~.checkbox-custom.indeterminate:after{transform:scale(1);opacity:1;left:3px;top:2px;width:6px;height:5px;border:solid;border-color:var(--checkbox-tick);border-width:0 0 2px 0;background-color:transparent}.checkbox-container.disabled .checkbox-custom,.checkbox-container.disabled input:checked~.checkbox-custom{background-color:var(--checkbox-disabled-bg);border-color:var(--checkbox-disabled-bg)}.checkbox-container.disabled input:checked~.checkbox-custom:after{border-color:var(--checkbox-tick-disabled)}.checkbox-container.disabled{cursor:not-allowed}.checkbox-container .checkbox-view{display:flex;flex-direction:column}.checkbox-container .checkbox-view LABEL{color:var(--input-label)}',""]),e.exports=t},fb60:function(e,t,i){"use strict";i("3d95")}}]); +//# sourceMappingURL=capi-0.7.0.umd.min.5.js.map \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js.map b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js.map new file mode 100644 index 0000000..57e9081 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/capi-0.7.0.umd.min.5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?e457","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?7f49","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?a343","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?af56","webpack://capi-0.7.0/./components/AutoImport.vue","webpack://capi-0.7.0/components/AutoImport.vue","webpack://capi-0.7.0/./components/AutoImport.vue?c9d5","webpack://capi-0.7.0/./components/AutoImport.vue?320f","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?6ceb","webpack://capi-0.7.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/@rancher/shell/rancher-components/Form/Checkbox/Checkbox.vue?efb6"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","class","isDisabled","id","on","$event","type","indexOf","_k","keyCode","key","preventDefault","clicked","domProps","isChecked","valueWhenTrue","stopPropagation","indeterminate","label","value","$slots","labelKey","tooltipKey","tooltip","primary","_t","_v","_s","_e","directives","name","rawName","t","expression","descriptionKey","description","staticRenderFns","defineComponent","props","Boolean","Array","String","default","Math","random","disabled","mode","_EDIT","Object","Number","computed","_VIEW","isMulti","findTrueValues","methods","event","target","tagName","href","customEvent","bubbles","cancelable","shiftKey","altKey","ctrlKey","metaKey","click","CustomEvent","cloneDeep","removeObject","addObject","$emit","isString","$el","dispatchEvent","isArray","find","v","component","content","__esModule","module","i","locals","exports","add","capiLabel","toggleCapiLabel","resource","Vue","extend","components","Checkbox","required","e","$set","metadata","labels","LABELS","AUTO_IMPORT","_this$resource","___CSS_LOADER_API_IMPORT___","push"],"mappings":"mLAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,2BAA2BC,MAAM,CAAC,qBAAqB,KAAK,CAACJ,EAAG,QAAQ,CAACG,YAAY,qBAAqBE,MAAM,CAAE,SAAYP,EAAIQ,YAAYF,MAAM,CAAC,IAAMN,EAAIS,IAAIC,GAAG,CAAC,QAAU,CAAC,SAASC,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQb,EAAIc,GAAGH,EAAOI,QAAQ,QAAQ,GAAGJ,EAAOK,IAAI,SAAgB,MAAKL,EAAOM,iBAAwBjB,EAAIkB,QAAQP,KAAS,SAASA,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQb,EAAIc,GAAGH,EAAOI,QAAQ,QAAQ,GAAGJ,EAAOK,IAAI,CAAC,IAAI,aAAoB,MAAKL,EAAOM,iBAAwBjB,EAAIkB,QAAQP,MAAU,MAAQ,SAASA,GAAQ,OAAOX,EAAIkB,QAAQP,MAAW,CAACT,EAAG,QAAQ,CAACI,MAAM,CAAC,KAAO,WAAW,UAAY,EAAE,KAAON,EAAIS,IAAIU,SAAS,CAAC,QAAUnB,EAAIoB,UAAU,MAAQpB,EAAIqB,eAAeX,GAAG,CAAC,MAAQ,SAASC,GAAQA,EAAOW,kBAAkBX,EAAOM,qBAAsBf,EAAG,OAAO,CAACG,YAAY,kBAAkBE,MAAM,CAACgB,cAAevB,EAAIuB,eAAejB,MAAM,CAAC,SAAWN,EAAIQ,YAAc,EAAI,EAAE,aAAaR,EAAIwB,MAAM,iBAAiBxB,EAAIyB,MAAM,KAAO,cAAezB,EAAI0B,OAAOF,OAASxB,EAAIwB,OAASxB,EAAI2B,UAAY3B,EAAI4B,YAAc5B,EAAI6B,QAAS3B,EAAG,OAAO,CAACG,YAAY,iBAAiBE,MAAM,CAAE,mBAAoBP,EAAI8B,UAAW,CAAC9B,EAAI+B,GAAG,SAAQ,WAAW,MAAO,CAAE/B,EAAI2B,SAAUzB,EAAG,IAAI,CAACI,MAAM,CAAC,EAAIN,EAAI2B,SAAS,KAAM,KAAS3B,EAAIwB,MAAO,CAACxB,EAAIgC,GAAGhC,EAAIiC,GAAGjC,EAAIwB,SAASxB,EAAIkC,KAAMlC,EAAI4B,WAAY1B,EAAG,IAAI,CAACiC,WAAW,CAAC,CAACC,KAAK,gBAAgBC,QAAQ,kBAAkBZ,MAAOzB,EAAIsC,EAAEtC,EAAI4B,YAAaW,WAAW,kBAAkBlC,YAAY,yCAA0CL,EAAI6B,QAAS3B,EAAG,IAAI,CAACiC,WAAW,CAAC,CAACC,KAAK,gBAAgBC,QAAQ,kBAAkBZ,MAAOzB,EAAI6B,QAASU,WAAW,YAAYlC,YAAY,yCAAyCL,EAAIkC,UAAS,GAAGlC,EAAIkC,OAAQlC,EAAIwC,gBAAkBxC,EAAIyC,YAAavC,EAAG,MAAM,CAACG,YAAY,wCAAwC,CAAEL,EAAIwC,eAAgBtC,EAAG,IAAI,CAACI,MAAM,CAAC,EAAIN,EAAIwC,kBAAmBxC,EAAIyC,YAAa,CAACzC,EAAIgC,GAAG,IAAIhC,EAAIiC,GAAGjC,EAAIyC,aAAa,MAAMzC,EAAIkC,MAAM,GAAGlC,EAAIkC,QAEhgEQ,EAAkB,G,yDCIPC,+BAAgB,CAC7BP,KAAM,WAENQ,MAAO,CAILnB,MAAO,CACLb,KAAS,CAACiC,QAASC,MAAOC,QAC1BC,SAAS,GAMXxB,MAAO,CACLZ,KAASmC,OACTC,QAAS,MAMXrB,SAAU,CACRf,KAASmC,OACTC,QAAS,MAMXvC,GAAI,CACFG,KAASmC,OACTC,QAASD,OAAuB,IAAhBE,KAAKC,WAMvBC,SAAU,CACRvC,KAASiC,QACTG,SAAS,GAQXzB,cAAe,CACbX,KAASiC,QACTG,SAAS,GAOXI,KAAM,CACJxC,KAASmC,OACTC,QAASK,QAMXxB,QAAS,CACPjB,KAAS,CAACmC,OAAQO,QAClBN,QAAS,MAMXpB,WAAY,CACVhB,KAASmC,OACTC,QAAS,MAMX3B,cAAe,CACbT,KAAS,CAACiC,QAASE,OAAQQ,QAC3BP,SAAS,GAMXR,eAAgB,CACd5B,KAASmC,OACTC,QAAS,MAMXP,YAAa,CACX7B,KAASmC,OACTC,QAAS,MAMXlB,QAAS,CACPlB,KAASiC,QACTG,SAAS,IAIbQ,SAAU,CAMRhD,aACE,OAAQP,KAAKkD,UAAYlD,KAAKmD,OAASK,QAQzCrC,YACE,OAAOnB,KAAKyD,QAAQzD,KAAKwB,OAASxB,KAAK0D,eAAe1D,KAAKwB,OAASxB,KAAKwB,QAAUxB,KAAKoB,gBAI5FuC,QAAS,CAIP1C,QAAQ2C,GACN,GAAkD,MAA7CA,EAAMC,OAA2BC,SAAoBF,EAAMC,OAA2BE,KAEzF,OAAO,EAMT,GAHAH,EAAMvC,kBACNuC,EAAM5C,iBAEFhB,KAAKO,WACP,OAGF,MAAMyD,EAAc,CAClBC,SAAY,EACZC,YAAY,EACZC,SAAYP,EAAMO,SAClBC,OAAYR,EAAMQ,OAClBC,QAAYT,EAAMS,QAClBC,QAAYV,EAAMU,SAGdC,EAAQ,IAAIC,YAAY,QAASR,GAGjCxC,EAAQiD,IAAUzE,KAAKwB,OAEzBxB,KAAKyD,QAAQjC,IACXxB,KAAKmB,UACPuD,eAAalD,EAAOxB,KAAKoB,eAEzBuD,eAAUnD,EAAOxB,KAAKoB,eAExBpB,KAAK4E,MAAM,QAASpD,IACXxB,KAAK6E,SAAS7E,KAAKoB,eACxBpB,KAAKmB,UACPnB,KAAK4E,MAAM,QAAS,MAEpB5E,KAAK4E,MAAM,QAAS5E,KAAKoB,gBAG3BpB,KAAK4E,MAAM,SAAUpD,GACrBxB,KAAK8E,IAAIC,cAAcR,KAO3Bd,QAAQjC,GACN,OAAOqB,MAAMmC,QAAQxD,IAGvBqD,SAASrD,GACP,MAAwB,kBAAVA,GAOhBkC,eAAelC,GACb,OAAOA,EAAMyD,KAAMC,GAAMA,IAAMlF,KAAKoB,iBAAkB,MC5M4U,I,wBCQpY+D,EAAY,eACd,EACArF,EACA2C,GACA,EACA,KACA,KACA,MAIa,OAAA0C,E,gCChBf,IAAIC,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQrC,SACnB,kBAAZqC,IAAsBA,EAAU,CAAC,CAACE,EAAOC,EAAIH,EAAS,MAC7DA,EAAQI,SAAQF,EAAOG,QAAUL,EAAQI,QAE5C,IAAIE,EAAM,EAAQ,QAA2D3C,QAChE2C,EAAI,WAAYN,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,2CCT5E,IAAItF,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACA,EAAG,WAAW,CAACI,MAAM,CAAC,MAAQN,EAAI4F,UAAU,YAAY,kCAAkClF,GAAG,CAAC,MAAQV,EAAI6F,kBAAkB,CAAC3F,EAAG,MAAMF,EAAIgC,GAAG,IAAIhC,EAAIiC,GAAG,IAAIjC,EAAI8F,WAAW,QAAQ,IAEzRpD,EAAkB,G,6CCGtBqD,MAAAC,OAAA,CACA5D,KAAA,8BAEA6D,WAAA,CAAAC,iBAEAtD,MAAA,CAEAkD,SAAA,CACAlF,KAAA0C,OACA6C,UAAA,GAGA/C,KAAA,CACAxC,KAAAmC,OACAC,QAAA,WAIAY,QAAA,CACAiC,gBAAAO,GACAA,EACA,KAAAC,KAAA,KAAAP,SAAAQ,SAAAC,OAAAC,OAAAC,YAAA,eAEA,KAAAX,SAAAQ,SAAAC,OAAAC,OAAAC,eAKAjD,SAAA,CACAoC,YAAA,IAAAc,EACA,wBAAAA,EAAA,KAAAZ,gBAAA,IAAAY,GAAA,QAAAA,IAAAJ,SAAAC,cAAA,IAAAG,OAAA,EAAAA,EAAAF,OAAAC,eAEAF,SACA,YAAAT,SAAAS,WCtCgY,I,YCO5XnB,EAAY,eACd,EACArF,EACA2C,GACA,EACA,KACA,KACA,MAIa,aAAA0C,E,8BCjBf,IAAIuB,EAA8B,EAAQ,QAC1CjB,EAAUiB,GAA4B,GAEtCjB,EAAQkB,KAAK,CAACrB,EAAOC,EAAI,8tEAAiuE,KAE1vED,EAAOG,QAAUA,G,kCCNjB","file":"capi-0.7.0.umd.min.5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"checkbox-outer-container\",attrs:{\"data-checkbox-ctrl\":\"\"}},[_c('label',{staticClass:\"checkbox-container\",class:{ 'disabled': _vm.isDisabled},attrs:{\"for\":_vm.id},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.clicked($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"]))return null;$event.preventDefault();return _vm.clicked($event)}],\"click\":function($event){return _vm.clicked($event)}}},[_c('input',{attrs:{\"type\":\"checkbox\",\"tabindex\":-1,\"name\":_vm.id},domProps:{\"checked\":_vm.isChecked,\"value\":_vm.valueWhenTrue},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();}}}),_c('span',{staticClass:\"checkbox-custom\",class:{indeterminate: _vm.indeterminate},attrs:{\"tabindex\":_vm.isDisabled ? -1 : 0,\"aria-label\":_vm.label,\"aria-checked\":!!_vm.value,\"role\":\"checkbox\"}}),(_vm.$slots.label || _vm.label || _vm.labelKey || _vm.tooltipKey || _vm.tooltip)?_c('span',{staticClass:\"checkbox-label\",class:{ 'checkbox-primary': _vm.primary }},[_vm._t(\"label\",function(){return [(_vm.labelKey)?_c('t',{attrs:{\"k\":_vm.labelKey,\"raw\":true}}):(_vm.label)?[_vm._v(_vm._s(_vm.label))]:_vm._e(),(_vm.tooltipKey)?_c('i',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.t(_vm.tooltipKey)),expression:\"t(tooltipKey)\"}],staticClass:\"checkbox-info icon icon-info icon-lg\"}):(_vm.tooltip)?_c('i',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.tooltip),expression:\"tooltip\"}],staticClass:\"checkbox-info icon icon-info icon-lg\"}):_vm._e()]})],2):_vm._e()]),(_vm.descriptionKey || _vm.description)?_c('div',{staticClass:\"checkbox-outer-container-description\"},[(_vm.descriptionKey)?_c('t',{attrs:{\"k\":_vm.descriptionKey}}):(_vm.description)?[_vm._v(\" \"+_vm._s(_vm.description)+\" \")]:_vm._e()],2):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { PropType, defineComponent } from 'vue';\nimport { _EDIT, _VIEW } from '@shell/config/query-params';\nimport { addObject, removeObject } from '@shell/utils/array';\nimport cloneDeep from 'lodash/cloneDeep';\n\nexport default defineComponent({\n name: 'Checkbox',\n\n props: {\n /**\n * The checkbox value.\n */\n value: {\n type: [Boolean, Array, String] as PropType,\n default: false\n },\n\n /**\n * The checkbox label.\n */\n label: {\n type: String,\n default: null\n },\n\n /**\n * The i18n key to use for the checkbox label.\n */\n labelKey: {\n type: String,\n default: null\n },\n\n /**\n * Random ID generated for binding label to input.\n */\n id: {\n type: String,\n default: String(Math.random() * 1000)\n },\n\n /**\n * Disable the checkbox.\n */\n disabled: {\n type: Boolean,\n default: false\n },\n\n /**\n * Display an indeterminate state. Useful for cases where a checkbox might\n * be the parent to child checkboxes, and we need to show that a subset of\n * children are checked.\n */\n indeterminate: {\n type: Boolean,\n default: false\n },\n\n /**\n * The checkbox editing mode.\n * @values _EDIT, _VIEW\n */\n mode: {\n type: String,\n default: _EDIT\n },\n\n /**\n * The contents of the checkbox tooltip.\n */\n tooltip: {\n type: [String, Object],\n default: null\n },\n\n /**\n * The i18n key to use for the checkbox tooltip.\n */\n tooltipKey: {\n type: String,\n default: null\n },\n\n /**\n * A custom value to use when the checkbox is checked.\n */\n valueWhenTrue: {\n type: [Boolean, String, Number],\n default: true\n },\n\n /**\n * The i18n key to use for the checkbox description.\n */\n descriptionKey: {\n type: String,\n default: null\n },\n\n /**\n * The checkbox description.\n */\n description: {\n type: String,\n default: null\n },\n\n /**\n * Primary checkbox displays label so that it stands out more\n */\n primary: {\n type: Boolean,\n default: false\n },\n },\n\n computed: {\n /**\n * Determines if the checkbox is disabled.\n * @returns boolean: True when the disabled prop is true or when mode is\n * View.\n */\n isDisabled(): boolean {\n return (this.disabled || this.mode === _VIEW);\n },\n /**\n * Determines if the checkbox is checked when using custom values or\n * multiple values.\n * @returns boolean: True when at least one value is true in a collection or\n * when value matches `this.valueWhenTrue`.\n */\n isChecked(): boolean {\n return this.isMulti(this.value) ? this.findTrueValues(this.value) : this.value === this.valueWhenTrue;\n }\n },\n\n methods: {\n /**\n * Toggles the checked state for the checkbox and emits an 'input' event.\n */\n clicked(event: MouseEvent | KeyboardEvent): boolean | void {\n if ((event.target as HTMLLinkElement).tagName === 'A' && (event.target as HTMLLinkElement).href) {\n // Ignore links inside the checkbox label so you can click them\n return true;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n if (this.isDisabled) {\n return;\n }\n\n const customEvent = {\n bubbles: true,\n cancelable: false,\n shiftKey: event.shiftKey,\n altKey: event.altKey,\n ctrlKey: event.ctrlKey,\n metaKey: event.metaKey\n };\n\n const click = new CustomEvent('click', customEvent);\n\n // Flip the value\n const value = cloneDeep(this.value);\n\n if (this.isMulti(value)) {\n if (this.isChecked) {\n removeObject(value, this.valueWhenTrue);\n } else {\n addObject(value, this.valueWhenTrue);\n }\n this.$emit('input', value);\n } else if (this.isString(this.valueWhenTrue)) {\n if (this.isChecked) {\n this.$emit('input', null);\n } else {\n this.$emit('input', this.valueWhenTrue);\n }\n } else {\n this.$emit('input', !value);\n this.$el.dispatchEvent(click);\n }\n },\n\n /**\n * Determines if there are multiple values for the checkbox.\n */\n isMulti(value: boolean | boolean[] | string): value is boolean[] {\n return Array.isArray(value);\n },\n\n isString(value: boolean | number | string): value is boolean {\n return typeof value === 'string';\n },\n\n /**\n * Finds the first true value for multiple checkboxes.\n * @param value A collection of values for the checkbox.\n */\n findTrueValues(value: boolean[]): boolean {\n return value.find((v) => v === this.valueWhenTrue) || false;\n }\n }\n});\n","import mod from \"-!../../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../../thread-loader/dist/cjs.js!../../../../../babel-loader/lib/index.js!../../../../../ts-loader/index.js??ref--15-3!../../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkbox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../../thread-loader/dist/cjs.js!../../../../../babel-loader/lib/index.js!../../../../../ts-loader/index.js??ref--15-3!../../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkbox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Checkbox.vue?vue&type=template&id=187e487a\"\nimport script from \"./Checkbox.vue?vue&type=script&lang=ts\"\nexport * from \"./Checkbox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Checkbox.vue?vue&type=style&index=0&id=187e487a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterCardField.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterCardField.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ClusterCardField.vue?vue&type=template&id=7407ec5d&scoped=true\"\nimport script from \"./ClusterCardField.vue?vue&type=script&lang=js\"\nexport * from \"./ClusterCardField.vue?vue&type=script&lang=js\"\nimport style0 from \"./ClusterCardField.vue?vue&type=style&index=0&id=7407ec5d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7407ec5d\",\n null\n \n)\n\nexport default component.exports","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport ClusterCardField from './ClusterCardField.vue';\nimport { Worker } from './../../types/capi';\n\nexport default Vue.extend({\n name: 'ClusterClassCard',\n components: { ClusterCardField },\n\n props: {\n value: {\n type: Object,\n required: true,\n },\n selected: {\n type: Boolean,\n default: false\n }\n },\n\n data() {\n return {\n cloneData: true,\n errors: []\n };\n },\n\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n\n name() {\n return this.value?.metadata?.name || '';\n },\n description() {\n return this.value?.metadata?.annotations?.description || '';\n },\n controlPlaneName() {\n return this.value?.spec?.controlPlane?.ref?.name;\n },\n controlPlaneKind() {\n return this.value?.spec?.controlPlane?.ref?.kind;\n },\n controlPlaneNamespace() {\n return this.value?.spec?.controlPlane?.ref?.namespace;\n },\n machineDeploymentsCount() {\n return this.value?.spec?.workers?.machineDeployments?.length;\n },\n machineDeploymentsList() {\n return this.value?.spec?.workers?.machineDeployments?.map((w: Worker) => w.class).join(', ') || '';\n },\n machinePoolsCount() {\n return this.value?.spec?.workers?.machinePools?.length;\n },\n machinePoolsList() {\n return this.value?.spec?.workers?.machinePools?.map((w: Worker) => w.class).join(', ') || '';\n }\n },\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=40d0155a&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=40d0155a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40d0155a\",\n null\n \n)\n\nexport default component.exports","\nimport Vue from 'vue';\nimport type { PropType } from 'vue';\nimport { get } from '@shell/utils/object';\nimport capitalize from 'lodash/capitalize';\nimport ClusterClassCard from './../components/ClusterClassCard/index.vue';\n\ninterface Card {\n id: String,\n obj: Object,\n selected: Boolean\n}\n\nexport default Vue.extend({\n components: { ClusterClassCard },\n name: 'CardGrid',\n\n props: {\n rows: {\n type: Array as PropType,\n required: true,\n },\n\n keyField: {\n type: String,\n default: 'key',\n },\n\n noDataKey: {\n type: String,\n default: 'sortableTable.noRows',\n },\n\n /**\n * Inherited global identifier prefix for tests\n * Define a term based on the parent component to avoid conflicts on multiple components\n */\n componentTestid: {\n type: String,\n default: 'select-card-grid'\n }\n },\n\n methods: {\n get,\n select(row: Card[], idx: number) {\n this.resetSelected();\n this.rows[idx].selected = true;\n this.$emit('clicked', row, idx);\n },\n resetSelected() {\n this.rows.map((el) => {\n el.selected = false;\n });\n },\n capitalize\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CardGrid.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CardGrid.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CardGrid.vue?vue&type=template&id=e4d7fae2&scoped=true\"\nimport script from \"./CardGrid.vue?vue&type=script&lang=ts\"\nexport * from \"./CardGrid.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CardGrid.vue?vue&type=style&index=0&id=e4d7fae2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e4d7fae2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.title)?_c('div',{staticClass:\"clearfix\"},[_vm._t(\"title\",function(){return [_c('h3',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")])]})],2):_vm._e(),(_vm.rows.length)?_vm._l((_vm.rows),function(row,idx){return _c('div',{key:idx,staticClass:\"box\",attrs:{\"data-testid\":`array-list-box${ idx }`}},[_vm._t(\"columns\",function(){return [_c('div',{staticClass:\"value\"},[_vm._t(\"value\",function(){return [_c('div',{staticClass:\"col mt-20\"},[_c('LabeledInput',{ref:\"value\",refInFor:true,attrs:{\"mode\":_vm.mode,\"disabled\":false,\"label\":_vm.t('capi.cluster.workers.name')},model:{value:(row.value.name),callback:function ($$v) {_vm.$set(row.value, \"name\", $$v)},expression:\"row.value.name\"}})],1),_c('div',{staticClass:\"col mt-20\"},[_c('LabeledSelect',{attrs:{\"mode\":_vm.mode,\"options\":_vm.classOptions,\"label-key\":\"capi.cluster.workers.class\"},model:{value:(row.value.class),callback:function ($$v) {_vm.$set(row.value, \"class\", $$v)},expression:\"row.value.class\"}})],1)]},{\"row\":row,\"mode\":_vm.mode,\"isView\":_vm.isView,\"queueUpdate\":_vm.queueUpdate}),(_vm.removeAllowed)?_c('div',{staticClass:\"remove\"},[_vm._t(\"remove-button\",function(){return [_c('button',{staticClass:\"btn role-link\",attrs:{\"type\":\"button\",\"disabled\":_vm.isView,\"data-testid\":`remove-item-${idx}`},on:{\"click\":function($event){return _vm.remove(row, idx)}}},[_vm._v(\" \"+_vm._s(_vm.removeLabel)+\" \")])]},{\"remove\":() => _vm.remove(row, idx),\"i\":idx,\"row\":row})],2):_vm._e()],2)]},{\"queueUpdate\":_vm.queueUpdate,\"i\":idx,\"rows\":_vm.rows,\"row\":row,\"mode\":_vm.mode,\"isView\":_vm.isView})],2)}):(_vm.mode==='view')?_c('div',{staticClass:\"text-muted\"},[_vm._v(\" — \")]):_c('div',[_vm._t(\"empty\")],2),(_vm.addAllowed && !_vm.isView)?_c('div',{staticClass:\"footer\"},[(_vm.addAllowed)?_vm._t(\"add\",function(){return [_c('button',{staticClass:\"btn role-tertiary add\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading,\"data-testid\":\"array-list-button\"},on:{\"click\":function($event){return _vm.add()}}},[(_vm.loading)?_c('i',{staticClass:\"mr-5 icon icon-spinner icon-spin icon-lg\"}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.addLabel)+\" \")])]},{\"add\":_vm.add}):_vm._e()],2):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport debounce from 'lodash/debounce';\nimport { removeAt } from '@shell/utils/array';\nimport { clone } from '@shell/utils/object';\nimport { _EDIT, _VIEW } from '@shell/config/query-params';\nimport LabeledSelect from '@shell/components/form/LabeledSelect.vue';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n components: { LabeledSelect, LabeledInput },\n props: {\n value: {\n type: Array,\n default: null,\n },\n mode: {\n type: String,\n default: _EDIT,\n },\n title: {\n type: String,\n required: true\n },\n classOptions: {\n type: Array,\n default: null,\n },\n addAllowed: {\n type: Boolean,\n default: true,\n },\n removeAllowed: {\n type: Boolean,\n default: true,\n },\n defaultAddValue: {\n type: [String, Number, Object, Array],\n default: ''\n },\n loading: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n const input = (this.value as any[] || []).slice();\n const rows = [];\n\n for ( const value of input ) {\n rows.push({ value });\n }\n if ( !rows.length ) {\n const value = this.defaultAddValue ? clone(this.defaultAddValue) : '';\n\n rows.push({ value });\n }\n\n return { rows, lastUpdateWasFromValue: false };\n },\n\n computed: {\n isView() {\n return this.mode === _VIEW;\n },\n removeLabel() {\n return this.$store.getters['i18n/t']('generic.remove');\n },\n addLabel() {\n return this.$store.getters['i18n/t']('generic.add');\n }\n },\n watch: {\n value() {\n this.lastUpdateWasFromValue = true;\n this.rows = (this.value || []).map(v => ({ value: v }));\n },\n rows: {\n deep: true,\n handler() {\n // lastUpdateWasFromValue is used to break a cycle where when rows are updated\n // this was called which then forced rows to updated again\n if (!this.lastUpdateWasFromValue) {\n this.queueUpdate();\n }\n this.lastUpdateWasFromValue = false;\n }\n }\n },\n created() {\n this.queueUpdate = debounce(this.update, 50);\n },\n methods: {\n add() {\n this.rows.push({ value: clone(this.defaultAddValue) });\n if (this.defaultAddValue) {\n this.queueUpdate();\n }\n this.$nextTick(() => {\n const inputs = this.$refs.value;\n\n if ( inputs && inputs.length > 0 ) {\n inputs[inputs.length - 1].focus();\n }\n this.$emit('add');\n });\n },\n /**\n * Remove item and emits removed row and its own index value\n */\n remove(row: {[key: string]: any}, index: number) {\n this.$emit('remove', { row, index });\n removeAt(this.rows, index);\n this.queueUpdate();\n },\n update() {\n if ( this.isView ) {\n return;\n }\n const out = [];\n\n for ( const row of this.rows ) {\n const value = row.value;\n\n if ( typeof value !== 'undefined' ) {\n out.push(value);\n }\n }\n this.$emit('input', out);\n },\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerItem.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerItem.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./WorkerItem.vue?vue&type=template&id=4450d495\"\nimport script from \"./WorkerItem.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkerItem.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"value\":_vm.apiServerPort,\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.networking.apiServerPort'),\"rules\":_vm.rules.apiServerPort,\"required\":\"\"},on:{\"input\":function($event){return _vm.$emit('api-server-port-changed', $event)}}})],1),_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"value\":_vm.serviceDomain,\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.networking.serviceDomain'),\"rules\":_vm.rules.serviceDomain},on:{\"input\":function($event){return _vm.$emit('service-domain-changed', $event)}}})],1)]),_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col span-3\"},[_c('ArrayList',{attrs:{\"value\":_vm.podsCidrBlocks,\"protip\":false,\"mode\":_vm.mode,\"title\":_vm.t('capi.cluster.networking.pods'),\"rules\":_vm.rules.pods},on:{\"input\":function($event){return _vm.$emit('pods-cidr-blocks-changed', $event)}}})],1),_c('div',{staticClass:\"col span-3\"},[_c('ArrayList',{attrs:{\"value\":_vm.servicesCidrBlocks,\"protip\":false,\"mode\":_vm.mode,\"title\":_vm.t('capi.cluster.networking.services'),\"rules\":_vm.rules.services},on:{\"input\":function($event){return _vm.$emit('services-cidr-blocks-changed', $event)}}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport { _EDIT } from '@shell/config/query-params';\nimport ArrayList from '@shell/components/form/ArrayList.vue';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n components: {\n LabeledInput,\n ArrayList\n },\n props: {\n value: {\n type: Object,\n required: true,\n },\n mode: {\n type: String,\n required: true,\n },\n rules: {\n default: () => ({\n serviceDomain: [],\n apiServerPort: [],\n pods: [],\n services: []\n }),\n type: Object,\n },\n },\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n clusterIsAlreadyCreated() {\n return this.mode === _EDIT;\n },\n apiServerPort() {\n return this.value?.apiServerPort;\n },\n serviceDomain() {\n return this.value?.serviceDomain;\n },\n podsCidrBlocks() {\n return this.value?.pods?.cidrBlocks;\n },\n servicesCidrBlocks() {\n return this.value?.services?.cidrBlocks;\n },\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkSection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkSection.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NetworkSection.vue?vue&type=template&id=21951a5a\"\nimport script from \"./NetworkSection.vue?vue&type=script&lang=ts\"\nexport * from \"./NetworkSection.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.controlPlaneEndpoint.host'),\"rules\":_vm.rules.host},model:{value:(_vm.value.host),callback:function ($$v) {_vm.$set(_vm.value, \"host\", $$v)},expression:\"value.host\"}})],1),_c('div',{staticClass:\"col\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.controlPlaneEndpoint.port'),\"rules\":_vm.rules.port},model:{value:(_vm.value.port),callback:function ($$v) {_vm.$set(_vm.value, \"port\", _vm._n($$v))},expression:\"value.port\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport { _EDIT } from '@shell/config/query-params';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n name: 'ControlPlaneEndpointSection',\n components: { LabeledInput },\n props: {\n value: {\n type: Object,\n required: true,\n },\n mode: {\n type: String,\n required: true,\n },\n rules: {\n default: () => ({\n host: [],\n port: []\n }),\n type: Object,\n },\n },\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n clusterIsAlreadyCreated() {\n return this.mode === _EDIT;\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ControlPlaneEndpointSection.vue?vue&type=template&id=24a04156\"\nimport script from \"./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts\"\nexport * from \"./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent, PropType } from 'vue';\nimport { set, clone } from '@shell/utils/object';\nimport { clear } from '@shell/utils/array';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\nimport NameNsDescription from '@shell/components/form/NameNsDescription.vue';\nimport FormValidation from '@shell/mixins/form-validation';\nimport Loading from '@shell/components/Loading.vue';\nimport CruResource from '@shell/components/CruResource.vue';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport { Translation } from '@rancher/shell/types/t';\nimport ClusterClassVariables from '../../components/CCVariables/index.vue';\nimport {\n versionTest, versionValidator, hostValidator, portValidator, cidrValidator, cidrArrayValid\n} from '../../util/validators';\nimport {\n CAPIClusterTopology, CAPIClusterNetwork, CAPIClusterCPEndpoint, ClusterClass, Worker\n} from '../../types/capi';\nimport CardGrid from '../../components/CardGrid.vue';\nimport WorkerItem from './WorkerItem.vue';\nimport NetworkSection from './NetworkSection.vue';\nimport ControlPlaneEndpointSection from './ControlPlaneEndpointSection.vue';\n\nconst defaultTopologyConfig: CAPIClusterTopology = {\n version: '',\n class: '',\n workers: { machineDeployments: [], machinePools: [] }\n};\nconst defaultClusterNetwork: CAPIClusterNetwork = {\n apiServerPort: 6443,\n pods: { cidrBlocks: [] },\n serviceDomain: '',\n services: { cidrBlocks: [] }\n};\n\nconst defaultCPEndpointConfig: CAPIClusterCPEndpoint = {\n host: '',\n port: 49152\n};\n\ninterface Step {\n name: String\n}\n\nexport default defineComponent({\n name: 'ClusterConfig',\n components: {\n CruResource,\n Loading,\n NameNsDescription,\n LabeledInput,\n WorkerItem,\n NetworkSection,\n ControlPlaneEndpointSection,\n ClusterClassVariables,\n CardGrid\n },\n mixins: [CreateEditView, FormValidation],\n props: {\n mode: {\n type: String,\n required: true,\n },\n value: {\n type: Object,\n required: true,\n },\n preselectedClass: {\n type: String,\n required: false,\n default: ''\n },\n clusterClasses: {\n type: Array as PropType,\n required: true\n }\n },\n beforeMount() {\n this.initSpecs();\n this.$nextTick(() => {\n this.loading = false;\n });\n },\n data() {\n const store = this.$store as {[key: string]: any};\n const t = store.getters['i18n/t'] as Translation;\n const stepClusterClass = {\n name: 'stepClusterClass',\n title: t('capi.cluster.steps.clusterClass.title'),\n label: t('capi.cluster.steps.clusterClass.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.clusterClass.description',\n ready: false,\n weight: 30\n };\n const stepConfiguration = {\n name: 'stepConfiguration',\n title: t('capi.cluster.steps.configuration.title'),\n label: t('capi.cluster.steps.configuration.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.configuration.description',\n ready: false,\n weight: 30\n };\n\n const stepVariables = {\n name: 'stepVariables',\n title: t('capi.cluster.steps.variables.title'),\n label: t('capi.cluster.steps.variables.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.variables.description',\n ready: true,\n weight: 30\n };\n const addSteps = !!this.preselectedClass ? [stepConfiguration, stepVariables] : [stepClusterClass, stepConfiguration, stepVariables];\n\n return {\n addSteps,\n fvFormRuleSets: [\n { path: 'metadata.name', rules: ['required'] },\n { path: 'spec.topology.version', rules: ['required', 'version'] },\n { path: 'spec.controlPlaneEndpoint.host', rules: ['host'] },\n { path: 'spec.controlPlaneEndpoint.port', rules: ['port'] },\n { path: 'spec.clusterNetwork.serviceDomain', rules: ['host'] },\n { path: 'spec.clusterNetwork.apiServerPort', rules: ['required', 'port'] },\n { path: 'spec.clusterNetwork.pods', rules: ['cidr'] },\n { path: 'spec.clusterNetwork.services', rules: ['cidr'] }\n ],\n credentialId: '',\n credential: null,\n versionInfo: {},\n defaultWorkerAddValue: {\n name: '',\n class: ''\n },\n variablesReady: true,\n clusterClassObj: null as ClusterClass | null,\n loading: true\n };\n },\n\n watch: {\n clusterClassObj(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepClusterClass');\n\n if (step) {\n this.$set(step, 'ready', !!neu);\n }\n },\n\n stepConfigurationRequires(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepConfiguration');\n\n this.$set(step, 'ready', neu);\n },\n\n variablesReady(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepVariables');\n\n this.$set(step, 'ready', neu);\n }\n },\n\n computed: {\n modeOptions() {\n return [{\n label: this.t('capi.cluster.secret.reuse'),\n value: false,\n }, {\n label: this.t('capi.cluster.secret.create'),\n value: true,\n }];\n },\n fvExtraRules() {\n return {\n version: versionValidator(this.$store.getters['i18n/t'], this.controlPlane),\n host: hostValidator(this.$store.getters['i18n/t']),\n port: portValidator(this.$store.getters['i18n/t']),\n cidr: cidrValidator(this.$store.getters['i18n/t'])\n };\n },\n stepConfigurationRequires() {\n const nameValid: boolean = !!this.value.metadata.name;\n const versionTestString: RegExp = versionTest(this.$store.getters['i18n/t'], this.controlPlane);\n const versionValid: boolean = this.value?.spec?.topology?.version && !!(this.value?.spec?.topology?.version.match(versionTestString));\n const controlPlaneEndpointPortValid: boolean = !portValidator(this.$store.getters['i18n/t'])(this.value?.spec?.controlPlaneEndpoint?.port);\n const controlPlaneEndpointHostValid: boolean = !hostValidator(this.$store.getters['i18n/t'])(this.value?.spec?.controlPlaneEndpoint?.host);\n const machineDeploymentsValid: boolean = this.value?.spec?.topology?.workers?.machineDeployments?.length > 0 && !!this.value?.spec?.topology?.workers?.machineDeployments[0]?.name && !!this.value?.spec?.topology?.workers?.machineDeployments[0]?.class;\n const machinePoolsValid: boolean = this.value?.spec?.topology?.workers?.machinePools?.length > 0 && !!this.value?.spec?.topology?.workers?.machinePools[0]?.name && !!this.value?.spec?.topology?.workers?.machinePools[0]?.class;\n const networkPodsValid: boolean = !this.value?.spec?.clusterNetwork?.pods?.cidrBlocks || cidrArrayValid(this.value.spec.clusterNetwork.pods.cidrBlocks);\n const networkServicesValid: boolean = !this.value?.spec?.clusterNetwork?.services?.cidrBlocks || cidrArrayValid(this.value.spec.clusterNetwork.services.cidrBlocks);\n const networkValid:boolean = !!this.value?.spec?.clusterNetwork?.apiServerPort && !isNaN(this.value?.spec?.clusterNetwork?.apiServerPort) && networkPodsValid && networkServicesValid;\n\n return nameValid && versionValid && controlPlaneEndpointHostValid && controlPlaneEndpointPortValid && networkValid && (machineDeploymentsValid || machinePoolsValid);\n },\n clusterNetwork() {\n return this.value?.spec?.clusterNetwork;\n },\n controlPlaneEndpoint() {\n return this.value?.spec?.controlPlaneEndpoint;\n },\n machineDeploymentOptions() {\n return this.clusterClassObj?.spec?.workers?.machineDeployments?.map( (w: Worker) => w.class);\n },\n machinePoolOptions() {\n return this.clusterClassObj?.spec?.workers?.machinePools?.map( (w: Worker) => w.class);\n },\n controlPlane() {\n return this.clusterClassObj?.spec?.controlPlane?.ref?.name;\n },\n clusterClassOptions() {\n const out: any[] = [];\n const currentObject = this.clusterClassObj;\n\n this.clusterClasses.forEach((obj: ClusterClass) => {\n addType(obj);\n });\n\n return out;\n\n function addType(obj: {[key: string]: any}) {\n const id = obj?.id;\n const subtype = {\n id,\n obj,\n selected: currentObject === obj\n };\n\n out.push(subtype);\n }\n },\n },\n methods: {\n set,\n setClassInfo(name: string) {\n this.clusterClassObj = this.clusterClasses.find((x: ClusterClass) => {\n const split = unescape(name).split('/');\n\n return x.metadata.namespace === split[0] && x.metadata.name === split[1];\n }) || null;\n if ( !!this.clusterClassObj ) {\n this.setClass();\n this.setNamespace();\n } else {\n this.errors.push(this.t('error.clusterClassNotFound'));\n }\n },\n setClass() {\n const clusterClassName = this.clusterClassObj?.metadata?.name;\n\n this.set(this.value.spec.topology, 'class', clusterClassName);\n },\n setNamespace() {\n const clusterClassNs = this.clusterClassObj?.metadata?.namespace;\n\n this.set(this.value.metadata, 'namespace', clusterClassNs);\n },\n async saveOverride() {\n if ( this.errors ) {\n clear(this.errors);\n }\n try {\n await this.value.save();\n\n return this.done();\n } catch (err) {\n this.errors.push(err);\n }\n },\n\n initSpecs() {\n if ( !this.value.spec ) {\n set(this.value, 'spec', { });\n }\n if ( !this.value.spec.topology ) {\n set(this.value.spec, 'topology', clone(defaultTopologyConfig));\n }\n\n if ( !this.value.spec.clusterNetwork ) {\n set(this.value.spec, 'clusterNetwork', clone(defaultClusterNetwork));\n }\n\n if ( !this.value.spec.controlPlaneEndpoint ) {\n set(this.value.spec, 'controlPlaneEndpoint', clone(defaultCPEndpointConfig));\n }\n if ( this.preselectedClass) {\n this.setClassInfo(this.preselectedClass);\n }\n },\n cancelCredential() {\n if ( this.$refs.cruresource ) {\n this.$refs.cruresource.emitOrRoute();\n }\n },\n cancel() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n },\n done() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n },\n clickedType(obj: {[key:string]: any}) {\n this.clusterClassObj = this.clusterClasses.find((x: ClusterClass) => x.id === obj.id) || null;\n this.setClass();\n this.setNamespace();\n },\n podsCidrBlocksChanged(val: string[]) {\n if ( !this.value.spec.clusterNetwork?.pods ) {\n set(this.value.spec.clusterNetwork, 'pods', []);\n }\n set(this.value.spec.clusterNetwork.pods, 'cidrBlocks', val);\n },\n servicesCidrBlocksChanged(val: string[]) {\n if ( !this.value.spec.clusterNetwork?.services ) {\n set(this.value.spec.clusterNetwork, 'services', []);\n }\n set(this.value.spec.clusterNetwork.services, 'cidrBlocks', val);\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterConfig.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClusterConfig.vue?vue&type=template&id=a373f1fc&scoped=true\"\nimport script from \"./ClusterConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./ClusterConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClusterConfig.vue?vue&type=style&index=0&id=a373f1fc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a373f1fc\",\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent } from 'vue';\nimport { SUB_TYPE } from '@shell/config/query-params';\nimport { set } from '@shell/utils/object';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport Loading from '@shell/components/Loading.vue';\nimport CruResource from '@shell/components/CruResource.vue';\nimport type { Route } from 'vue-router';\nimport { CAPI, QUERY_PARAMS, ClusterClass } from '../../types/capi';\nimport ClusterConfig from './ClusterConfig.vue';\n\nexport default defineComponent({\n name: 'CreateCluster',\n components: {\n CruResource,\n Loading,\n ClusterConfig\n },\n\n mixins: [CreateEditView],\n\n props: {\n value: {\n type: Object,\n default: null,\n },\n componentTestid: {\n type: String,\n default: 'capi-provider-create'\n },\n mode: {\n type: String,\n required: true\n }\n },\n beforeMount() {\n if ( !this.value.spec ) {\n set(this.value, 'spec', {});\n }\n if ( !this.value.id ) {\n if ( !this.value.metadata ) {\n set(this.value, 'metadata', {});\n }\n }\n this.getClusterClasses().then((cc: any[]) => {\n this.clusterClasses = cc;\n this.loading = false;\n }).catch((err: Error) => {\n this.errors.push(err);\n this.loading = false;\n });\n },\n data() {\n const route = this.$route as Route;\n const subType = route.query[SUB_TYPE] || null;\n const classFromURL = route.query[QUERY_PARAMS.CLASS];\n const curClass = this.value?.spec?.topology?.class;\n const curNs = this.value?.metadata?.namespace;\n const classFromValue = curNs && curClass ? escape(`${ curNs }/${ curClass }`) : null;\n const preselectedClass = classFromURL || classFromValue || null;\n\n return {\n subType, preselectedClass, capiProviders: [], clusterClasses: [] as any[], loading: true\n };\n },\n methods: {\n async getClusterClasses() {\n const allClusterClasses: ClusterClass[] = await this.$store.dispatch('management/findAll', { type: CAPI.CLUSTER_CLASS });\n\n return allClusterClasses;\n },\n cancel() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=28b91ec6\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=2a4e7b12&prod&lang=scss&scoped=true\"","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=337ae8b8&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=337ae8b8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"337ae8b8\",\n null\n \n)\n\nexport default component.exports","import Dashboard from '../pages/index.vue';\n\nconst routes = [\n {\n name: 'c-cluster-manager-capi',\n path: '/c/:cluster/manager/capi',\n component: Dashboard,\n },\n];\n\nexport default routes;\n","import { LABELS } from '../types/capi';\n\nexport default function(resource: any) {\n if (resource?.metadata?.labels?.[LABELS.AUTO_IMPORT] === 'true') {\n delete resource.metadata.labels[LABELS.AUTO_IMPORT];\n } else {\n if (!resource.metadata.labels) {\n resource.metadata.labels = {};\n }\n resource.metadata.labels[LABELS.AUTO_IMPORT] = 'true';\n }\n try {\n resource.save();\n } catch (err) {\n const title = resource.t('resource.errors.update', { name: resource.name });\n\n resource.$dispatch('growl/error', {\n title, message: err, timeout: 5000\n }, { root: true });\n }\n}\n","import { importTypes } from '@rancher/auto-import';\nimport {\n ActionLocation, IPlugin, PanelLocation, TableColumnLocation, TabLocation\n} from '@shell/core/types';\nimport { _CLONE, _CREATE, _EDIT } from '@shell/config/query-params';\nimport { MANAGEMENT, CAPI as RANCHER_CAPI } from '@shell/config/types';\nimport { LABELS, CAPI as TURTLES_CAPI } from './types/capi';\nimport capiRouting from './routes/capi-routing';\nimport toggleAutoImport from './util/auto-import';\n\n// Init the package\nexport default function(plugin: IPlugin): void {\n // Auto-import model, detail, edit from the folders\n importTypes(plugin);\n\n // Provide plugin metadata from package.json\n plugin.metadata = require('./package.json');\n\n plugin.addProduct(require('./config/capi'));\n\n // Add Vue Routes\n plugin.addRoutes(capiRouting);\n\n // add tab to namespace edit\n plugin.addTab(\n TabLocation.RESOURCE_DETAIL,\n {\n resource: ['namespace'],\n cluster: ['local'],\n mode: [_CREATE, _CLONE, _EDIT, 'config']\n },\n {\n name: 'capi-auto-import',\n labelKey: 'capi.autoImport.label',\n weight: -5,\n showHeader: true,\n component: () => import('./components/AutoImport.vue')\n }\n );\n\n // add enable auto-import action to namespace table\n plugin.addAction(ActionLocation.TABLE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }, { urlPath: 'cluster.x-k8s.io.cluster', endsWith: true }] },\n {\n labelKey: 'capi.autoImport.enableAction',\n icon: 'icon-plus',\n enabled(target: any) {\n const isProject = target.type === MANAGEMENT.PROJECT;\n\n return !isProject && target?.metadata?.labels?.[LABELS.AUTO_IMPORT] !== 'true';\n },\n invoke(opts, resources = []) {\n resources.forEach((ns) => {\n toggleAutoImport(ns);\n });\n }\n });\n\n // add disable auto-import action to namespace table\n plugin.addAction(ActionLocation.TABLE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }, { urlPath: 'cluster.x-k8s.io.cluster', endsWith: true }] },\n {\n labelKey: 'capi.autoImport.disableAction',\n icon: 'icon-minus',\n enabled(target: any) {\n const isProject = target.type === MANAGEMENT.PROJECT;\n\n return !isProject && target?.metadata?.labels?.[LABELS.AUTO_IMPORT] === 'true';\n },\n invoke(opts, resources = []) {\n resources.forEach((ns) => {\n toggleAutoImport(ns);\n });\n }\n });\n\n // add column to namespace table\n plugin.addTableColumn(\n TableColumnLocation.RESOURCE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }] },\n {\n name: 'capi-auto-import',\n labelKey: 'capi.autoImport.label',\n getValue: (row: any) => {\n return row?.labels?.[LABELS.AUTO_IMPORT] === 'true';\n },\n width: 200,\n align: 'center',\n formatter: 'AutoImportState'\n }\n );\n\n // add warning to cluster mgmt resource list\n plugin.addPanel(PanelLocation.RESOURCE_LIST,\n { resource: ['provisioning.cattle.io.cluster'] },\n { component: () => import('./components/ClusterListBanner.vue') }\n );\n\n plugin.addPanel(PanelLocation.RESOURCE_LIST,\n {\n resource: [RANCHER_CAPI.CAPI_CLUSTER,\n TURTLES_CAPI.CLUSTER_CLASS,\n TURTLES_CAPI.PROVIDER,\n RANCHER_CAPI.MACHINE,\n RANCHER_CAPI.MACHINE_SET,\n RANCHER_CAPI.MACHINE_DEPLOYMENT]\n },\n { component: () => import('./components/ExperimentalBanner.vue') }\n );\n\n plugin.addPanel(PanelLocation.DETAILS_MASTHEAD,\n {\n resource: [RANCHER_CAPI.CAPI_CLUSTER,\n TURTLES_CAPI.CLUSTER_CLASS,\n TURTLES_CAPI.PROVIDER,\n RANCHER_CAPI.MACHINE,\n RANCHER_CAPI.MACHINE_SET,\n RANCHER_CAPI.MACHINE_DEPLOYMENT]\n },\n { component: () => import('./components/ExperimentalBanner.vue') }\n );\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","import { get } from './object';\nimport { strPad } from './string';\n\n// Based on https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/runtime/lib/type-of.js\n// and https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/runtime/lib/mixins/array.js\n/*\nCopyright (c) 2019 Yehuda Katz, Tom Dale and Ember.js contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\n// ........................................\n// TYPING & ARRAY MESSAGING\n//\nconst TYPE_MAP = {\n '[object Boolean]': 'boolean',\n '[object Number]': 'number',\n '[object String]': 'string',\n '[object Function]': 'function',\n '[object Array]': 'array',\n '[object Date]': 'date',\n '[object RegExp]': 'regexp',\n '[object Object]': 'object',\n '[object FileList]': 'filelist',\n};\n\nconst { toString } = Object.prototype;\n\n/**\n Returns a consistent type for the passed object.\n\n Use this instead of the built-in `typeof` to get the type of an item.\n It will return the same result across all browsers and includes a bit\n more detail. Here is what will be returned:\n\n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object |\n\n Examples:\n\n import { typeOf } from '@shell/utils/type-of';\n\n typeOf(); // 'undefined'\n typeOf(null); // 'null'\n typeOf(undefined); // 'undefined'\n typeOf('michael'); // 'string'\n typeOf(new String('michael')); // 'string'\n typeOf(101); // 'number'\n typeOf(new Number(101)); // 'number'\n typeOf(true); // 'boolean'\n typeOf(new Boolean(true)); // 'boolean'\n typeOf(A); // 'function'\n typeOf([1, 2, 90]); // 'array'\n typeOf(/abc/); // 'regexp'\n typeOf(new Date()); // 'date'\n typeOf(event.target.files); // 'filelist'\n typeOf(new Error('teamocil')); // 'error'\n\n // 'normal' JavaScript object\n typeOf({ a: 'b' }); // 'object'\n*/\nexport function typeOf(item) {\n if (item === null) {\n return 'null';\n }\n if (item === undefined) {\n return 'undefined';\n }\n let ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'object') {\n if (item instanceof Error) {\n ret = 'error';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n}\n\nexport function spaceship(a, b) {\n const diff = a - b;\n\n return (diff > 0) - (diff < 0);\n}\n\nconst TYPE_ORDER = {\n undefined: 0,\n null: 1,\n boolean: 2,\n number: 3,\n string: 4,\n array: 5,\n object: 6,\n instance: 7,\n function: 8,\n class: 9,\n date: 10,\n};\n\nexport function compare(a, b) {\n const typeA = typeOf(a);\n const typeB = typeOf(b);\n\n const res = spaceship(TYPE_ORDER[typeA], TYPE_ORDER[typeB]);\n\n if ( res ) {\n return res;\n }\n\n switch (typeA) {\n case 'boolean':\n case 'number':\n return spaceship(a, b);\n\n case 'string':\n return spaceship(a.localeCompare(b), 0);\n\n case 'array': {\n const aLen = a.length;\n const bLen = b.length;\n const len = Math.min(aLen, bLen);\n\n for (let i = 0; i < len; i++) {\n const r = compare(a[i], b[i]);\n\n if (r !== 0) {\n return r;\n }\n }\n\n // all elements are equal now\n // shorter array should be ordered first\n return spaceship(aLen, bLen);\n }\n case 'date':\n return spaceship(a.getTime(), b.getTime());\n }\n\n return 0;\n}\n\nexport function parseField(str) {\n const parts = str.split(/:/);\n\n if ( parts.length === 2 && parts[1] === 'desc' ) {\n return { field: parts[0], reverse: true };\n } else {\n return { field: str, reverse: false };\n }\n}\n\nexport function sortBy(ary, keys, desc) {\n if ( !Array.isArray(keys) ) {\n keys = [keys];\n }\n\n return (ary || []).slice().sort((objA, objB) => {\n for ( let i = 0 ; i < keys.length ; i++ ) {\n const parsed = parseField(keys[i]);\n const a = get(objA, parsed.field);\n const b = get(objB, parsed.field);\n let res = compare(a, b);\n\n if ( res ) {\n if ( desc ) {\n res *= -1;\n }\n\n if ( parsed.reverse ) {\n res *= -1;\n }\n\n return res;\n }\n }\n\n return 0;\n });\n}\n\n// Turn foo1-bar2 into foo0000000001-bar0000000002 so that the numbers sort numerically\nconst splitRegex = /([^\\d]+)/;\nconst notNumericRegex = /^[0-9]+$/;\n\nexport function sortableNumericSuffix(str) {\n if ( typeof str !== 'string' ) {\n return str;\n }\n\n return str.split(splitRegex).map((x) => x.match(notNumericRegex) ? strPad(x, 10, '0') : x).join('').trim();\n}\n\nexport function isNumeric(num) {\n return !!`${ num }`.match(notNumericRegex);\n}\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"cronstrue\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"cronstrue\"] = factory();\n\telse\n\t\troot[\"cronstrue\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 4);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar stringUtilities_1 = __webpack_require__(1);\nvar cronParser_1 = __webpack_require__(2);\nvar ExpressionDescriptor = (function () {\n function ExpressionDescriptor(expression, options) {\n this.expression = expression;\n this.options = options;\n this.expressionParts = new Array(5);\n if (ExpressionDescriptor.locales[options.locale]) {\n this.i18n = ExpressionDescriptor.locales[options.locale];\n }\n else {\n console.warn(\"Locale '\" + options.locale + \"' could not be found; falling back to 'en'.\");\n this.i18n = ExpressionDescriptor.locales[\"en\"];\n }\n if (options.use24HourTimeFormat === undefined) {\n options.use24HourTimeFormat = this.i18n.use24HourTimeFormatByDefault();\n }\n }\n ExpressionDescriptor.toString = function (expression, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.throwExceptionOnParseError, throwExceptionOnParseError = _c === void 0 ? true : _c, _d = _b.verbose, verbose = _d === void 0 ? false : _d, _e = _b.dayOfWeekStartIndexZero, dayOfWeekStartIndexZero = _e === void 0 ? true : _e, use24HourTimeFormat = _b.use24HourTimeFormat, _f = _b.locale, locale = _f === void 0 ? \"en\" : _f;\n var options = {\n throwExceptionOnParseError: throwExceptionOnParseError,\n verbose: verbose,\n dayOfWeekStartIndexZero: dayOfWeekStartIndexZero,\n use24HourTimeFormat: use24HourTimeFormat,\n locale: locale\n };\n var descripter = new ExpressionDescriptor(expression, options);\n return descripter.getFullDescription();\n };\n ExpressionDescriptor.initialize = function (localesLoader) {\n ExpressionDescriptor.specialCharacters = [\"/\", \"-\", \",\", \"*\"];\n localesLoader.load(ExpressionDescriptor.locales);\n };\n ExpressionDescriptor.prototype.getFullDescription = function () {\n var description = \"\";\n try {\n var parser = new cronParser_1.CronParser(this.expression, this.options.dayOfWeekStartIndexZero);\n this.expressionParts = parser.parse();\n var timeSegment = this.getTimeOfDayDescription();\n var dayOfMonthDesc = this.getDayOfMonthDescription();\n var monthDesc = this.getMonthDescription();\n var dayOfWeekDesc = this.getDayOfWeekDescription();\n var yearDesc = this.getYearDescription();\n description += timeSegment + dayOfMonthDesc + dayOfWeekDesc + monthDesc + yearDesc;\n description = this.transformVerbosity(description, this.options.verbose);\n description = description.charAt(0).toLocaleUpperCase() + description.substr(1);\n }\n catch (ex) {\n if (!this.options.throwExceptionOnParseError) {\n description = this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();\n }\n else {\n throw \"\" + ex;\n }\n }\n return description;\n };\n ExpressionDescriptor.prototype.getTimeOfDayDescription = function () {\n var secondsExpression = this.expressionParts[0];\n var minuteExpression = this.expressionParts[1];\n var hourExpression = this.expressionParts[2];\n var description = \"\";\n if (!stringUtilities_1.StringUtilities.containsAny(minuteExpression, ExpressionDescriptor.specialCharacters) &&\n !stringUtilities_1.StringUtilities.containsAny(hourExpression, ExpressionDescriptor.specialCharacters) &&\n !stringUtilities_1.StringUtilities.containsAny(secondsExpression, ExpressionDescriptor.specialCharacters)) {\n description += this.i18n.atSpace() + this.formatTime(hourExpression, minuteExpression, secondsExpression);\n }\n else if (!secondsExpression &&\n minuteExpression.indexOf(\"-\") > -1 &&\n !(minuteExpression.indexOf(\",\") > -1) &&\n !(minuteExpression.indexOf(\"/\") > -1) &&\n !stringUtilities_1.StringUtilities.containsAny(hourExpression, ExpressionDescriptor.specialCharacters)) {\n var minuteParts = minuteExpression.split(\"-\");\n description += stringUtilities_1.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(), this.formatTime(hourExpression, minuteParts[0], \"\"), this.formatTime(hourExpression, minuteParts[1], \"\"));\n }\n else if (!secondsExpression &&\n hourExpression.indexOf(\",\") > -1 &&\n hourExpression.indexOf(\"-\") == -1 &&\n hourExpression.indexOf(\"/\") == -1 &&\n !stringUtilities_1.StringUtilities.containsAny(minuteExpression, ExpressionDescriptor.specialCharacters)) {\n var hourParts = hourExpression.split(\",\");\n description += this.i18n.at();\n for (var i = 0; i < hourParts.length; i++) {\n description += \" \";\n description += this.formatTime(hourParts[i], minuteExpression, \"\");\n if (i < hourParts.length - 2) {\n description += \",\";\n }\n if (i == hourParts.length - 2) {\n description += this.i18n.spaceAnd();\n }\n }\n }\n else {\n var secondsDescription = this.getSecondsDescription();\n var minutesDescription = this.getMinutesDescription();\n var hoursDescription = this.getHoursDescription();\n description += secondsDescription;\n if (description.length > 0 && minutesDescription.length > 0) {\n description += \", \";\n }\n description += minutesDescription;\n if (description.length > 0 && hoursDescription.length > 0) {\n description += \", \";\n }\n description += hoursDescription;\n }\n return description;\n };\n ExpressionDescriptor.prototype.getSecondsDescription = function () {\n var _this = this;\n var description = this.getSegmentDescription(this.expressionParts[0], this.i18n.everySecond(), function (s) {\n return s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Seconds(), s);\n }, function (s) {\n return _this.i18n.secondsX0ThroughX1PastTheMinute();\n }, function (s) {\n return s == \"0\"\n ? \"\"\n : parseInt(s) < 20\n ? _this.i18n.atX0SecondsPastTheMinute()\n : _this.i18n.atX0SecondsPastTheMinuteGt20() || _this.i18n.atX0SecondsPastTheMinute();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getMinutesDescription = function () {\n var _this = this;\n var secondsExpression = this.expressionParts[0];\n var hourExpression = this.expressionParts[2];\n var description = this.getSegmentDescription(this.expressionParts[1], this.i18n.everyMinute(), function (s) {\n return s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Minutes(), s);\n }, function (s) {\n return _this.i18n.minutesX0ThroughX1PastTheHour();\n }, function (s) {\n try {\n return s == \"0\" && hourExpression.indexOf(\"/\") == -1 && secondsExpression == \"\"\n ? _this.i18n.everyHour()\n : parseInt(s) < 20\n ? _this.i18n.atX0MinutesPastTheHour()\n : _this.i18n.atX0MinutesPastTheHourGt20() || _this.i18n.atX0MinutesPastTheHour();\n }\n catch (e) {\n return _this.i18n.atX0MinutesPastTheHour();\n }\n });\n return description;\n };\n ExpressionDescriptor.prototype.getHoursDescription = function () {\n var _this = this;\n var expression = this.expressionParts[2];\n var description = this.getSegmentDescription(expression, this.i18n.everyHour(), function (s) {\n return _this.formatTime(s, \"0\", \"\");\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Hours(), s);\n }, function (s) {\n return _this.i18n.betweenX0AndX1();\n }, function (s) {\n return _this.i18n.atX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getDayOfWeekDescription = function () {\n var _this = this;\n var daysOfWeekNames = this.i18n.daysOfTheWeek();\n var description = null;\n if (this.expressionParts[5] == \"*\") {\n description = \"\";\n }\n else {\n description = this.getSegmentDescription(this.expressionParts[5], this.i18n.commaEveryDay(), function (s) {\n var exp = s;\n if (s.indexOf(\"#\") > -1) {\n exp = s.substr(0, s.indexOf(\"#\"));\n }\n else if (s.indexOf(\"L\") > -1) {\n exp = exp.replace(\"L\", \"\");\n }\n return daysOfWeekNames[parseInt(exp)];\n }, function (s) {\n if (parseInt(s) == 1) {\n return \"\";\n }\n else {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0DaysOfTheWeek(), s);\n }\n }, function (s) {\n return _this.i18n.commaX0ThroughX1();\n }, function (s) {\n var format = null;\n if (s.indexOf(\"#\") > -1) {\n var dayOfWeekOfMonthNumber = s.substring(s.indexOf(\"#\") + 1);\n var dayOfWeekOfMonthDescription = null;\n switch (dayOfWeekOfMonthNumber) {\n case \"1\":\n dayOfWeekOfMonthDescription = _this.i18n.first();\n break;\n case \"2\":\n dayOfWeekOfMonthDescription = _this.i18n.second();\n break;\n case \"3\":\n dayOfWeekOfMonthDescription = _this.i18n.third();\n break;\n case \"4\":\n dayOfWeekOfMonthDescription = _this.i18n.fourth();\n break;\n case \"5\":\n dayOfWeekOfMonthDescription = _this.i18n.fifth();\n break;\n }\n format = _this.i18n.commaOnThe() + dayOfWeekOfMonthDescription + _this.i18n.spaceX0OfTheMonth();\n }\n else if (s.indexOf(\"L\") > -1) {\n format = _this.i18n.commaOnTheLastX0OfTheMonth();\n }\n else {\n var domSpecified = _this.expressionParts[3] != \"*\";\n format = domSpecified ? _this.i18n.commaAndOnX0() : _this.i18n.commaOnlyOnX0();\n }\n return format;\n });\n }\n return description;\n };\n ExpressionDescriptor.prototype.getMonthDescription = function () {\n var _this = this;\n var monthNames = this.i18n.monthsOfTheYear();\n var description = this.getSegmentDescription(this.expressionParts[4], \"\", function (s) {\n return monthNames[parseInt(s) - 1];\n }, function (s) {\n if (parseInt(s) == 1) {\n return \"\";\n }\n else {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0Months(), s);\n }\n }, function (s) {\n return _this.i18n.commaMonthX0ThroughMonthX1() || _this.i18n.commaX0ThroughX1();\n }, function (s) {\n return _this.i18n.commaOnlyInMonthX0 ? _this.i18n.commaOnlyInMonthX0() : _this.i18n.commaOnlyInX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getDayOfMonthDescription = function () {\n var _this = this;\n var description = null;\n var expression = this.expressionParts[3];\n switch (expression) {\n case \"L\":\n description = this.i18n.commaOnTheLastDayOfTheMonth();\n break;\n case \"WL\":\n case \"LW\":\n description = this.i18n.commaOnTheLastWeekdayOfTheMonth();\n break;\n default:\n var weekDayNumberMatches = expression.match(/(\\d{1,2}W)|(W\\d{1,2})/);\n if (weekDayNumberMatches) {\n var dayNumber = parseInt(weekDayNumberMatches[0].replace(\"W\", \"\"));\n var dayString = dayNumber == 1\n ? this.i18n.firstWeekday()\n : stringUtilities_1.StringUtilities.format(this.i18n.weekdayNearestDayX0(), dayNumber.toString());\n description = stringUtilities_1.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(), dayString);\n break;\n }\n else {\n var lastDayOffSetMatches = expression.match(/L-(\\d{1,2})/);\n if (lastDayOffSetMatches) {\n var offSetDays = lastDayOffSetMatches[1];\n description = stringUtilities_1.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(), offSetDays);\n break;\n }\n else if (expression == \"*\" && this.expressionParts[5] != \"*\") {\n return \"\";\n }\n else {\n description = this.getSegmentDescription(expression, this.i18n.commaEveryDay(), function (s) {\n return s == \"L\" ? _this.i18n.lastDay() : ((_this.i18n.dayX0) ? stringUtilities_1.StringUtilities.format(_this.i18n.dayX0(), s) : s);\n }, function (s) {\n return s == \"1\" ? _this.i18n.commaEveryDay() : _this.i18n.commaEveryX0Days();\n }, function (s) {\n return _this.i18n.commaBetweenDayX0AndX1OfTheMonth();\n }, function (s) {\n return _this.i18n.commaOnDayX0OfTheMonth();\n });\n }\n break;\n }\n }\n return description;\n };\n ExpressionDescriptor.prototype.getYearDescription = function () {\n var _this = this;\n var description = this.getSegmentDescription(this.expressionParts[6], \"\", function (s) {\n return /^\\d+$/.test(s) ? new Date(parseInt(s), 1).getFullYear().toString() : s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0Years(), s);\n }, function (s) {\n return _this.i18n.commaYearX0ThroughYearX1() || _this.i18n.commaX0ThroughX1();\n }, function (s) {\n return _this.i18n.commaOnlyInYearX0 ? _this.i18n.commaOnlyInYearX0() : _this.i18n.commaOnlyInX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getSegmentDescription = function (expression, allDescription, getSingleItemDescription, getIntervalDescriptionFormat, getBetweenDescriptionFormat, getDescriptionFormat) {\n var _this = this;\n var description = null;\n if (!expression) {\n description = \"\";\n }\n else if (expression === \"*\") {\n description = allDescription;\n }\n else if (!stringUtilities_1.StringUtilities.containsAny(expression, [\"/\", \"-\", \",\"])) {\n description = stringUtilities_1.StringUtilities.format(getDescriptionFormat(expression), getSingleItemDescription(expression));\n }\n else if (expression.indexOf(\"/\") > -1) {\n var segments = expression.split(\"/\");\n description = stringUtilities_1.StringUtilities.format(getIntervalDescriptionFormat(segments[1]), segments[1]);\n if (segments[0].indexOf(\"-\") > -1) {\n var betweenSegmentDescription = this.generateBetweenSegmentDescription(segments[0], getBetweenDescriptionFormat, getSingleItemDescription);\n if (betweenSegmentDescription.indexOf(\", \") != 0) {\n description += \", \";\n }\n description += betweenSegmentDescription;\n }\n else if (!stringUtilities_1.StringUtilities.containsAny(segments[0], [\"*\", \",\"])) {\n var rangeItemDescription = stringUtilities_1.StringUtilities.format(getDescriptionFormat(segments[0]), getSingleItemDescription(segments[0]));\n rangeItemDescription = rangeItemDescription.replace(\", \", \"\");\n description += stringUtilities_1.StringUtilities.format(this.i18n.commaStartingX0(), rangeItemDescription);\n }\n }\n else if (expression.indexOf(\",\") > -1) {\n var segments = expression.split(\",\");\n var descriptionContent = \"\";\n for (var i = 0; i < segments.length; i++) {\n if (i > 0 && segments.length > 2) {\n descriptionContent += \",\";\n if (i < segments.length - 1) {\n descriptionContent += \" \";\n }\n }\n if (i > 0 && segments.length > 1 && (i == segments.length - 1 || segments.length == 2)) {\n descriptionContent += this.i18n.spaceAnd() + \" \";\n }\n if (segments[i].indexOf(\"-\") > -1) {\n var betweenSegmentDescription = this.generateBetweenSegmentDescription(segments[i], function (s) {\n return _this.i18n.commaX0ThroughX1();\n }, getSingleItemDescription);\n betweenSegmentDescription = betweenSegmentDescription.replace(\", \", \"\");\n descriptionContent += betweenSegmentDescription;\n }\n else {\n descriptionContent += getSingleItemDescription(segments[i]);\n }\n }\n description = stringUtilities_1.StringUtilities.format(getDescriptionFormat(expression), descriptionContent);\n }\n else if (expression.indexOf(\"-\") > -1) {\n description = this.generateBetweenSegmentDescription(expression, getBetweenDescriptionFormat, getSingleItemDescription);\n }\n return description;\n };\n ExpressionDescriptor.prototype.generateBetweenSegmentDescription = function (betweenExpression, getBetweenDescriptionFormat, getSingleItemDescription) {\n var description = \"\";\n var betweenSegments = betweenExpression.split(\"-\");\n var betweenSegment1Description = getSingleItemDescription(betweenSegments[0]);\n var betweenSegment2Description = getSingleItemDescription(betweenSegments[1]);\n betweenSegment2Description = betweenSegment2Description.replace(\":00\", \":59\");\n var betweenDescriptionFormat = getBetweenDescriptionFormat(betweenExpression);\n description += stringUtilities_1.StringUtilities.format(betweenDescriptionFormat, betweenSegment1Description, betweenSegment2Description);\n return description;\n };\n ExpressionDescriptor.prototype.formatTime = function (hourExpression, minuteExpression, secondExpression) {\n var hour = parseInt(hourExpression);\n var period = \"\";\n var setPeriodBeforeTime = false;\n if (!this.options.use24HourTimeFormat) {\n setPeriodBeforeTime = this.i18n.setPeriodBeforeTime && this.i18n.setPeriodBeforeTime();\n period = setPeriodBeforeTime ? this.getPeriod(hour) + \" \" : \" \" + this.getPeriod(hour);\n if (hour > 12) {\n hour -= 12;\n }\n if (hour === 0) {\n hour = 12;\n }\n }\n var minute = minuteExpression;\n var second = \"\";\n if (secondExpression) {\n second = \":\" + (\"00\" + secondExpression).substring(secondExpression.length);\n }\n return \"\" + (setPeriodBeforeTime ? period : \"\") + (\"00\" + hour.toString()).substring(hour.toString().length) + \":\" + (\"00\" + minute.toString()).substring(minute.toString().length) + second + (!setPeriodBeforeTime ? period : \"\");\n };\n ExpressionDescriptor.prototype.transformVerbosity = function (description, useVerboseFormat) {\n if (!useVerboseFormat) {\n description = description.replace(new RegExp(\", \" + this.i18n.everyMinute(), \"g\"), \"\");\n description = description.replace(new RegExp(\", \" + this.i18n.everyHour(), \"g\"), \"\");\n description = description.replace(new RegExp(this.i18n.commaEveryDay(), \"g\"), \"\");\n description = description.replace(/\\, ?$/, \"\");\n }\n return description;\n };\n ExpressionDescriptor.prototype.getPeriod = function (hour) {\n return hour >= 12 ? this.i18n.pm && this.i18n.pm() || \"PM\" : this.i18n.am && this.i18n.am() || \"AM\";\n };\n ExpressionDescriptor.locales = {};\n return ExpressionDescriptor;\n}());\nexports.ExpressionDescriptor = ExpressionDescriptor;\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar StringUtilities = (function () {\n function StringUtilities() {\n }\n StringUtilities.format = function (template) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n return template.replace(/%s/g, function () {\n return values.shift();\n });\n };\n StringUtilities.containsAny = function (text, searchStrings) {\n return searchStrings.some(function (c) {\n return text.indexOf(c) > -1;\n });\n };\n return StringUtilities;\n}());\nexports.StringUtilities = StringUtilities;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CronParser = (function () {\n function CronParser(expression, dayOfWeekStartIndexZero) {\n if (dayOfWeekStartIndexZero === void 0) { dayOfWeekStartIndexZero = true; }\n this.expression = expression;\n this.dayOfWeekStartIndexZero = dayOfWeekStartIndexZero;\n }\n CronParser.prototype.parse = function () {\n var parsed = this.extractParts(this.expression);\n this.normalize(parsed);\n this.validate(parsed);\n return parsed;\n };\n CronParser.prototype.extractParts = function (expression) {\n if (!this.expression) {\n throw new Error(\"Expression is empty\");\n }\n var parsed = expression.trim().split(/[ ]+/);\n if (parsed.length < 5) {\n throw new Error(\"Expression has only \" + parsed.length + \" part\" + (parsed.length == 1 ? \"\" : \"s\") + \". At least 5 parts are required.\");\n }\n else if (parsed.length == 5) {\n parsed.unshift(\"\");\n parsed.push(\"\");\n }\n else if (parsed.length == 6) {\n if (/\\d{4}$/.test(parsed[5])) {\n parsed.unshift(\"\");\n }\n else {\n parsed.push(\"\");\n }\n }\n else if (parsed.length > 7) {\n throw new Error(\"Expression has \" + parsed.length + \" parts; too many!\");\n }\n return parsed;\n };\n CronParser.prototype.normalize = function (expressionParts) {\n var _this = this;\n expressionParts[3] = expressionParts[3].replace(\"?\", \"*\");\n expressionParts[5] = expressionParts[5].replace(\"?\", \"*\");\n expressionParts[2] = expressionParts[2].replace(\"?\", \"*\");\n if (expressionParts[0].indexOf(\"0/\") == 0) {\n expressionParts[0] = expressionParts[0].replace(\"0/\", \"*/\");\n }\n if (expressionParts[1].indexOf(\"0/\") == 0) {\n expressionParts[1] = expressionParts[1].replace(\"0/\", \"*/\");\n }\n if (expressionParts[2].indexOf(\"0/\") == 0) {\n expressionParts[2] = expressionParts[2].replace(\"0/\", \"*/\");\n }\n if (expressionParts[3].indexOf(\"1/\") == 0) {\n expressionParts[3] = expressionParts[3].replace(\"1/\", \"*/\");\n }\n if (expressionParts[4].indexOf(\"1/\") == 0) {\n expressionParts[4] = expressionParts[4].replace(\"1/\", \"*/\");\n }\n if (expressionParts[5].indexOf(\"1/\") == 0) {\n expressionParts[5] = expressionParts[5].replace(\"1/\", \"*/\");\n }\n if (expressionParts[6].indexOf(\"1/\") == 0) {\n expressionParts[6] = expressionParts[6].replace(\"1/\", \"*/\");\n }\n expressionParts[5] = expressionParts[5].replace(/(^\\d)|([^#/\\s]\\d)/g, function (t) {\n var dowDigits = t.replace(/\\D/, \"\");\n var dowDigitsAdjusted = dowDigits;\n if (_this.dayOfWeekStartIndexZero) {\n if (dowDigits == \"7\") {\n dowDigitsAdjusted = \"0\";\n }\n }\n else {\n dowDigitsAdjusted = (parseInt(dowDigits) - 1).toString();\n }\n return t.replace(dowDigits, dowDigitsAdjusted);\n });\n if (expressionParts[5] == \"L\") {\n expressionParts[5] = \"6\";\n }\n if (expressionParts[3] == \"?\") {\n expressionParts[3] = \"*\";\n }\n if (expressionParts[3].indexOf(\"W\") > -1 &&\n (expressionParts[3].indexOf(\",\") > -1 || expressionParts[3].indexOf(\"-\") > -1)) {\n throw new Error(\"The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.\");\n }\n var days = {\n SUN: 0,\n MON: 1,\n TUE: 2,\n WED: 3,\n THU: 4,\n FRI: 5,\n SAT: 6\n };\n for (var day in days) {\n expressionParts[5] = expressionParts[5].replace(new RegExp(day, \"gi\"), days[day].toString());\n }\n var months = {\n JAN: 1,\n FEB: 2,\n MAR: 3,\n APR: 4,\n MAY: 5,\n JUN: 6,\n JUL: 7,\n AUG: 8,\n SEP: 9,\n OCT: 10,\n NOV: 11,\n DEC: 12\n };\n for (var month in months) {\n expressionParts[4] = expressionParts[4].replace(new RegExp(month, \"gi\"), months[month].toString());\n }\n if (expressionParts[0] == \"0\") {\n expressionParts[0] = \"\";\n }\n if (!/\\*|\\-|\\,|\\//.test(expressionParts[2]) &&\n (/\\*|\\//.test(expressionParts[1]) || /\\*|\\//.test(expressionParts[0]))) {\n expressionParts[2] += \"-\" + expressionParts[2];\n }\n for (var i = 0; i < expressionParts.length; i++) {\n if (expressionParts[i] == \"*/1\") {\n expressionParts[i] = \"*\";\n }\n if (expressionParts[i].indexOf(\"/\") > -1 && !/^\\*|\\-|\\,/.test(expressionParts[i])) {\n var stepRangeThrough = null;\n switch (i) {\n case 4:\n stepRangeThrough = \"12\";\n break;\n case 5:\n stepRangeThrough = \"6\";\n break;\n case 6:\n stepRangeThrough = \"9999\";\n break;\n default:\n stepRangeThrough = null;\n break;\n }\n if (stepRangeThrough != null) {\n var parts = expressionParts[i].split(\"/\");\n expressionParts[i] = parts[0] + \"-\" + stepRangeThrough + \"/\" + parts[1];\n }\n }\n }\n };\n CronParser.prototype.validate = function (parsed) {\n this.assertNoInvalidCharacters(\"DOW\", parsed[5]);\n this.assertNoInvalidCharacters(\"DOM\", parsed[3]);\n };\n CronParser.prototype.assertNoInvalidCharacters = function (partDescription, expression) {\n var invalidChars = expression.match(/[A-KM-VX-Z]+/gi);\n if (invalidChars && invalidChars.length) {\n throw new Error(partDescription + \" part contains invalid values: '\" + invalidChars.toString() + \"'\");\n }\n };\n return CronParser;\n}());\nexports.CronParser = CronParser;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar en = (function () {\n function en() {\n }\n en.prototype.atX0SecondsPastTheMinuteGt20 = function () {\n return null;\n };\n en.prototype.atX0MinutesPastTheHourGt20 = function () {\n return null;\n };\n en.prototype.commaMonthX0ThroughMonthX1 = function () {\n return null;\n };\n en.prototype.commaYearX0ThroughYearX1 = function () {\n return null;\n };\n en.prototype.use24HourTimeFormatByDefault = function () {\n return false;\n };\n en.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {\n return \"An error occured when generating the expression description. Check the cron expression syntax.\";\n };\n en.prototype.everyMinute = function () {\n return \"every minute\";\n };\n en.prototype.everyHour = function () {\n return \"every hour\";\n };\n en.prototype.atSpace = function () {\n return \"At \";\n };\n en.prototype.everyMinuteBetweenX0AndX1 = function () {\n return \"Every minute between %s and %s\";\n };\n en.prototype.at = function () {\n return \"At\";\n };\n en.prototype.spaceAnd = function () {\n return \" and\";\n };\n en.prototype.everySecond = function () {\n return \"every second\";\n };\n en.prototype.everyX0Seconds = function () {\n return \"every %s seconds\";\n };\n en.prototype.secondsX0ThroughX1PastTheMinute = function () {\n return \"seconds %s through %s past the minute\";\n };\n en.prototype.atX0SecondsPastTheMinute = function () {\n return \"at %s seconds past the minute\";\n };\n en.prototype.everyX0Minutes = function () {\n return \"every %s minutes\";\n };\n en.prototype.minutesX0ThroughX1PastTheHour = function () {\n return \"minutes %s through %s past the hour\";\n };\n en.prototype.atX0MinutesPastTheHour = function () {\n return \"at %s minutes past the hour\";\n };\n en.prototype.everyX0Hours = function () {\n return \"every %s hours\";\n };\n en.prototype.betweenX0AndX1 = function () {\n return \"between %s and %s\";\n };\n en.prototype.atX0 = function () {\n return \"at %s\";\n };\n en.prototype.commaEveryDay = function () {\n return \", every day\";\n };\n en.prototype.commaEveryX0DaysOfTheWeek = function () {\n return \", every %s days of the week\";\n };\n en.prototype.commaX0ThroughX1 = function () {\n return \", %s through %s\";\n };\n en.prototype.first = function () {\n return \"first\";\n };\n en.prototype.second = function () {\n return \"second\";\n };\n en.prototype.third = function () {\n return \"third\";\n };\n en.prototype.fourth = function () {\n return \"fourth\";\n };\n en.prototype.fifth = function () {\n return \"fifth\";\n };\n en.prototype.commaOnThe = function () {\n return \", on the \";\n };\n en.prototype.spaceX0OfTheMonth = function () {\n return \" %s of the month\";\n };\n en.prototype.lastDay = function () {\n return \"the last day\";\n };\n en.prototype.commaOnTheLastX0OfTheMonth = function () {\n return \", on the last %s of the month\";\n };\n en.prototype.commaOnlyOnX0 = function () {\n return \", only on %s\";\n };\n en.prototype.commaAndOnX0 = function () {\n return \", and on %s\";\n };\n en.prototype.commaEveryX0Months = function () {\n return \", every %s months\";\n };\n en.prototype.commaOnlyInX0 = function () {\n return \", only in %s\";\n };\n en.prototype.commaOnTheLastDayOfTheMonth = function () {\n return \", on the last day of the month\";\n };\n en.prototype.commaOnTheLastWeekdayOfTheMonth = function () {\n return \", on the last weekday of the month\";\n };\n en.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {\n return \", %s days before the last day of the month\";\n };\n en.prototype.firstWeekday = function () {\n return \"first weekday\";\n };\n en.prototype.weekdayNearestDayX0 = function () {\n return \"weekday nearest day %s\";\n };\n en.prototype.commaOnTheX0OfTheMonth = function () {\n return \", on the %s of the month\";\n };\n en.prototype.commaEveryX0Days = function () {\n return \", every %s days\";\n };\n en.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {\n return \", between day %s and %s of the month\";\n };\n en.prototype.commaOnDayX0OfTheMonth = function () {\n return \", on day %s of the month\";\n };\n en.prototype.commaEveryHour = function () {\n return \", every hour\";\n };\n en.prototype.commaEveryX0Years = function () {\n return \", every %s years\";\n };\n en.prototype.commaStartingX0 = function () {\n return \", starting %s\";\n };\n en.prototype.daysOfTheWeek = function () {\n return [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n };\n en.prototype.monthsOfTheYear = function () {\n return [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ];\n };\n return en;\n}());\nexports.en = en;\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar expressionDescriptor_ts_1 = __webpack_require__(0);\nvar enLocaleLoader_1 = __webpack_require__(5);\nexpressionDescriptor_ts_1.ExpressionDescriptor.initialize(new enLocaleLoader_1.enLocaleLoader());\nexports.default = expressionDescriptor_ts_1.ExpressionDescriptor;\nvar toString = expressionDescriptor_ts_1.ExpressionDescriptor.toString;\nexports.toString = toString;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar en_1 = __webpack_require__(3);\nvar enLocaleLoader = (function () {\n function enLocaleLoader() {\n }\n enLocaleLoader.prototype.load = function (availableLocales) {\n availableLocales[\"en\"] = new en_1.en();\n };\n return enLocaleLoader;\n}());\nexports.enLocaleLoader = enLocaleLoader;\n\n\n/***/ })\n/******/ ]);\n});","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=337ae8b8&prod&lang=scss&scoped=true\"","/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\nfunction negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n}\n\nmodule.exports = negate;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".banner[data-v-5a0a6a82]{display:flex;margin:15px 0;position:relative;width:100%;color:var(--body-text)}.banner__icon[data-v-5a0a6a82]{width:48px;flex-grow:1;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.primary .banner__icon[data-v-5a0a6a82]{background:var(--primary)}.secondary .banner__icon[data-v-5a0a6a82]{background:var(--default)}.success .banner__icon[data-v-5a0a6a82]{background:var(--success)}.info .banner__icon[data-v-5a0a6a82]{background:var(--info)}.warning .banner__icon[data-v-5a0a6a82]{background:var(--warning)}.error .banner__icon[data-v-5a0a6a82]{background:var(--error);color:var(--primary-text)}.banner__content[data-v-5a0a6a82]{padding:10px;transition:all .2s ease;line-height:20px;width:100%;border-left:4px solid transparent;display:flex;gap:3px}.primary .banner__content[data-v-5a0a6a82]{background:var(--primary);border-color:var(--primary)}.secondary .banner__content[data-v-5a0a6a82]{background:var(--default-banner-bg);border-color:var(--default)}.success .banner__content[data-v-5a0a6a82]{background:var(--success-banner-bg);border-color:var(--success)}.info .banner__content[data-v-5a0a6a82]{background:var(--info-banner-bg);border-color:var(--info)}.warning .banner__content[data-v-5a0a6a82]{background:var(--warning-banner-bg);border-color:var(--warning)}.error .banner__content[data-v-5a0a6a82]{background:var(--error-banner-bg);border-color:var(--error);color:var(--error)}.banner__content.stacked[data-v-5a0a6a82]{padding:0 10px;margin:0;transition:none}.banner__content.stacked[data-v-5a0a6a82]:first-child{padding-top:10px}.banner__content.stacked[data-v-5a0a6a82]:last-child{padding-bottom:10px}.banner__content.closable[data-v-5a0a6a82]{padding-right:48px}.banner__content__closer[data-v-5a0a6a82]{display:flex;align-items:center;cursor:pointer;position:absolute;top:0;right:0;bottom:0;width:24px;line-height:24px;text-align:center}.banner__content__closer .closer-icon[data-v-5a0a6a82]{opacity:.7}.banner__content__closer .closer-icon[data-v-5a0a6a82]:hover{opacity:1;color:var(--link)}.banner__content.icon[data-v-5a0a6a82]{border-left:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export function camelToTitle(str) {\n return dasherize((str || '')).split('-').map((str) => {\n return ucFirst(str);\n }).join(' ');\n}\n\nexport function ucFirst(str) {\n str = str || '';\n\n return str.substr(0, 1).toUpperCase() + str.substr(1);\n}\n\nexport function lcFirst(str) {\n str = str || '';\n\n return str.substr(0, 1).toLowerCase() + str.substr(1);\n}\n\nexport function strPad(str, toLength, padChars = ' ', right = false) {\n str = `${ str }`;\n\n if (str.length >= toLength) {\n return str;\n }\n\n const neededLen = toLength - str.length + 1;\n const padStr = (new Array(neededLen)).join(padChars).substr(0, neededLen);\n\n if (right) {\n return str + padStr;\n } else {\n return padStr + str;\n }\n}\n\n// Turn thing1 into thing00000001 so that the numbers sort numerically\nexport function sortableNumericSuffix(str) {\n str = str || '';\n const match = str.match(/^(.*[^0-9])([0-9]+)$/);\n\n if (match) {\n return match[1] + strPad(match[2], 8, '0');\n }\n\n return str;\n}\n\nconst entityMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/'\n};\n\nexport function escapeHtml(html) {\n return String(html).replace(/[&<>\"']/g, (s) => {\n return entityMap[s];\n });\n}\n\n/**\n * Return HTML markup from escaped HTML string, allowing specific tags\n * @param text string\n * @returns string\n */\nexport function decodeHtml(text) {\n const div = document.createElement('div');\n\n div.innerHTML = text;\n\n return div.textContent || div.innerText || '';\n}\n\nexport function escapeRegex(string) {\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n}\n\nexport function random32(count) {\n count = Math.max(0, count || 1);\n\n const out = [];\n let i;\n\n if (window.crypto && window.crypto.getRandomValues) {\n const tmp = new Uint32Array(count);\n\n window.crypto.getRandomValues(tmp);\n for (i = 0; i < tmp.length; i++) {\n out[i] = tmp[i];\n }\n } else {\n for (i = 0; i < count; i++) {\n out[i] = Math.random() * 4294967296; // Math.pow(2,32);\n }\n }\n\n if (count === 1) {\n return out[0];\n } else {\n return out;\n }\n}\n\nconst alpha = 'abcdefghijklmnopqrstuvwxyz';\nconst num = '0123456789';\nconst sym = '!@#$%^&*()_+-=[]{};:,./<>?|';\n\nexport const CHARSET = {\n NUMERIC: num,\n NO_VOWELS: 'bcdfghjklmnpqrstvwxz2456789',\n ALPHA: alpha + alpha.toUpperCase(),\n ALPHA_NUM: alpha + alpha.toUpperCase() + num,\n ALPHA_LOWER: alpha,\n ALPHA_UPPER: alpha.toUpperCase(),\n HEX: `${ num }ABCDEF`,\n PASSWORD: alpha + alpha.toUpperCase() + num + alpha + alpha.toUpperCase() + num + sym,\n // ^-- includes alpha / ALPHA / num twice to reduce the occurrence of symbols\n};\n\nexport function randomStr(length = 16, chars = CHARSET.ALPHA_NUM) {\n if (!chars || !chars.length) {\n return null;\n }\n\n return random32(length).map((val) => {\n return chars[val % chars.length];\n }).join('');\n}\n\nexport function formatPercent(value, maxPrecision = 2) {\n if (value < 1 && maxPrecision >= 2) {\n return `${ Math.round(value * 100) / 100 }%`;\n } else if (value < 10 && maxPrecision >= 1) {\n return `${ Math.round(value * 10) / 10 }%`;\n } else {\n return `${ Math.round(value) }%`;\n }\n}\n\nexport function pluralize(str) {\n if ( str.match(/.*[^aeiou]y$/i) ) {\n return `${ str.substr(0, str.length - 1) }ies`;\n } else if ( str.endsWith('ics') ) {\n return str;\n } else if ( str.endsWith('s') ) {\n return `${ str }es`;\n } else {\n return `${ str }s`;\n }\n}\n\nexport function resourceNames(names, plusMore, t) {\n return names.reduce((res, name, i) => {\n if (i >= 5) {\n return res;\n }\n res += `${ escapeHtml( name ) }`;\n if (i === names.length - 1) {\n res += plusMore;\n } else {\n res += i === names.length - 2 ? t('generic.and') : t('generic.comma');\n }\n\n return res;\n }, '');\n}\n\nexport function indent(lines, count = 2, token = ' ', afterRegex = null) {\n if (typeof lines === 'string') {\n lines = lines.split(/\\n/);\n } else {\n lines = lines || [];\n }\n\n const padStr = (new Array(count + 1)).join(token);\n\n const out = lines.map((line) => {\n let prefix = '';\n let suffix = line;\n\n if (afterRegex) {\n const match = line.match(afterRegex);\n\n if (match) {\n prefix = match[match.length - 1];\n suffix = line.substr(match[0].length);\n }\n }\n\n return `${ prefix }${ padStr }${ suffix }`;\n });\n\n const str = out.join('\\n');\n\n return str;\n}\n\nconst decamelizeRegex = /([a-z\\d])([A-Z])/g;\n\nexport function decamelize(str) {\n return str.replace(decamelizeRegex, '$1_$2').toLowerCase();\n}\n\nconst dasherizeRegex = /[ _]/g;\n\nexport function dasherize(str) {\n return decamelize(str).replace(dasherizeRegex, '-');\n}\n\nexport function asciiLike(str) {\n str = str || '';\n\n if ( str.match(/[^\\r\\n\\t\\x20-\\x7F]/) ) {\n return false;\n }\n\n return true;\n}\n\nexport function coerceStringTypeToScalarType(val, type) {\n if ( type === 'float' ) {\n // Coerce strings to floats\n val = parseFloat(val) || null; // NaN becomes null\n } else if ( type === 'int' ) {\n // Coerce strings to ints\n val = parseInt(val, 10);\n\n if ( isNaN(val) ) {\n val = null;\n }\n } else if ( type === 'boolean') {\n // Coerce strings to boolean\n if (val.toLowerCase() === 'true') {\n val = true;\n } else if (val.toLowerCase() === 'false') {\n val = false;\n }\n }\n\n return val;\n}\n\nexport function matchesSomeRegex(stringRaw, regexes = []) {\n return regexes.some((regexRaw) => {\n const string = stringRaw || '';\n const regex = ensureRegex(regexRaw);\n\n return string.match(regex);\n });\n}\n\nexport function ensureRegex(strOrRegex, exact = true) {\n if ( typeof strOrRegex === 'string' ) {\n if ( exact ) {\n return new RegExp(`^${ escapeRegex(strOrRegex) }$`, 'i');\n } else {\n return new RegExp(`${ escapeRegex(strOrRegex) }`, 'i');\n }\n }\n\n return strOrRegex;\n}\n\nexport function nlToBr(value) {\n return escapeHtml(value || '').replace(/(\\r\\n|\\r|\\n)/g, '
\\n');\n}\n\nconst quotedMatch = /[^.\"']+|\"([^\"]*)\"|'([^']*)'/g;\n\nexport function splitObjectPath(path) {\n if ( path.includes('\"') || path.includes(\"'\") ) {\n // Path with quoted section\n return path.match(quotedMatch).map((x) => x.replace(/['\"]/g, ''));\n }\n\n // Regular path\n return path.split('.');\n}\n\nexport function joinObjectPath(ary) {\n let out = '';\n\n for ( const p of ary ) {\n if ( p.includes('.') ) {\n out += `.\"${ p }\"`;\n } else {\n out += `.${ p }`;\n }\n }\n\n if ( out.startsWith('.') ) {\n out = out.substr(1);\n }\n\n return out;\n}\n\nexport function shortenedImage(image) {\n return (image || '')\n .replace(/^(index\\.)?docker.io\\/(library\\/)?/, '')\n .replace(/:latest$/, '')\n .replace(/^(.*@sha256:)([0-9a-f]{8})[0-9a-f]+$/i, '$1$2…');\n}\n\nexport function isIpv4(ip) {\n const reg = /^((25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/;\n\n return reg.test(ip);\n}\n\nexport function sanitizeKey(k) {\n return (k || '').replace(/[^a-z0-9./_-]/ig, '');\n}\n\nexport function sanitizeValue(v) {\n return (v || '').replace(/[^a-z0-9._-]/ig, '');\n}\n\nexport function sanitizeIP(v) {\n return (v || '').replace(/[^a-z0-9.:_-]/ig, '');\n}\n\n/**\n * Return the string ` / `\n *\n * Each param should be a number, otherwise `?` is used\n */\nexport function xOfy(x, y) {\n return `${ typeof x === 'number' ? x : '?' }/${ typeof y === 'number' ? y : '?' }`;\n}\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n","import { isArray } from '@shell/utils/array';\n\nexport class ClusterNotFoundError extends Error {\n static name = 'ClusterNotFoundError'\n\n constructor(message) {\n super(message);\n this.name = ClusterNotFoundError.name;\n }\n}\n\n/**\n * An error occurred and the user should be redirected to a certain location (where this is handled)\n */\nexport class RedirectToError extends Error {\n static name = 'RedirectToError'\n\n constructor(message, url) {\n super(message);\n this.url = url;\n this.name = RedirectToError.name;\n }\n}\n\nexport class ApiError extends Error {\n constructor(res) {\n super(stringify(res));\n this.status = res._status || 0;\n this.statusText = res._statusText;\n this.headers = res.headers;\n this.url = res._url;\n }\n\n toString() {\n return `[${ this.status } ${ this.statusText }]: ${ this.message }`;\n }\n\n toJSON() {\n return {\n type: 'error',\n status: this.status,\n statusText: this.statusText,\n message: this.statusMessage,\n url: this.url,\n };\n }\n}\n\nexport function stringify(err) {\n let str;\n\n if ( typeof err === 'string' ) {\n str = err;\n } else if ( err && typeof err === 'object' ) {\n if ( err.message ) {\n str = err.message;\n\n if (typeof str === 'string') {\n try {\n const data = JSON.parse(str).data;\n\n if (data) {\n return data;\n }\n } catch {}\n }\n\n if ( err.detail ) {\n if ( str ) {\n str += ` (${ err.detail })`;\n } else {\n str = err.detail;\n }\n }\n } else if ( err.detail ) {\n str = err.detail;\n } else if ( err.url ) {\n str = `from ${ err.url }`;\n }\n }\n\n if (!str) {\n // Good luck...\n str = JSON.stringify(err);\n }\n\n return str;\n}\n\nexport function exceptionToErrorsArray(err) {\n if ( err?.response?.data ) {\n const body = err.response.data;\n\n if ( body && body.message ) {\n return [body.message];\n } else {\n return [err];\n }\n } else if (err.status && err.message) {\n return [err.message];\n } else if ( isArray(err) ) {\n return err;\n } else {\n return [err];\n }\n}\n\n/**\n * Imported from path-to-regexp\n * @param {*} err\n * @returns\n */\nexport const normalizeError = (err) => {\n let message;\n\n if (!(err.message || typeof err === 'string')) {\n try {\n message = JSON.stringify(err, null, 2);\n } catch (e) {\n message = `[${ err.constructor.name }]`;\n }\n } else {\n message = err.message || err;\n }\n\n return {\n ...err,\n message,\n statusCode: (err.statusCode || err.status || (err.response && err.response.status) || 500)\n };\n};\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","export const NORMAN_NAME = 'field.cattle.io/name';\nexport const DESCRIPTION = 'field.cattle.io/description';\nexport const HOSTNAME = 'kubernetes.io/hostname';\nexport const TIMESTAMP = 'cattle.io/timestamp';\nexport const SYSTEM_NAMESPACE = 'management.cattle.io/system-namespace';\nexport const PROJECT = 'field.cattle.io/projectId';\nexport const DEFAULT_PROJECT = 'authz.management.cattle.io/default-project';\nexport const SYSTEM_PROJECT = 'authz.management.cattle.io/system-project';\nexport const CONTAINER_DEFAULT_RESOURCE_LIMIT = 'field.cattle.io/containerDefaultResourceLimit';\nexport const CATTLE_PUBLIC_ENDPOINTS = 'field.cattle.io/publicEndpoints';\nexport const TARGET_WORKLOADS = 'field.cattle.io/targetWorkloadIds';\nexport const UI_MANAGED = 'management.cattle.io/ui-managed';\nexport const CREATOR_ID = 'field.cattle.io/creatorId';\nexport const RESOURCE_QUOTA = 'field.cattle.io/resourceQuota';\nexport const AZURE_MIGRATED = 'auth.cattle.io/azuread-endpoint-migrated';\nexport const WORKSPACE_ANNOTATION = 'objectset.rio.cattle.io/id';\nexport const NODE_ARCHITECTURE = 'kubernetes.io/arch';\n\nexport const KUBERNETES = {\n SERVICE_ACCOUNT_UID: 'kubernetes.io/service-account.uid',\n SERVICE_ACCOUNT_NAME: 'kubernetes.io/service-account.name',\n MANAGED_BY: 'app.kubernetes.io/managed-by',\n MANAGED_NAME: 'app.kubernetes.io/name',\n INSTANCE: 'app.kubernetes.io/instance',\n};\n\nexport const CERTMANAGER = { ISSUER: 'cert-manager.io/issuer-name' };\n\nexport const STORAGE = {\n DEFAULT_STORAGE_CLASS: 'storageclass.kubernetes.io/is-default-class',\n BETA_DEFAULT_STORAGE_CLASS: 'storageclass.beta.kubernetes.io/is-default-class'\n};\n\nexport const MANAGEMENT_NODE = { NODE_NAME: 'management.cattle.io/nodename' };\n\nexport const NODE_ROLES = {\n CONTROL_PLANE_OLD: 'node-role.kubernetes.io/controlplane',\n CONTROL_PLANE: 'node-role.kubernetes.io/control-plane',\n WORKER: 'node-role.kubernetes.io/worker',\n ETCD: 'node-role.kubernetes.io/etcd',\n};\n\nexport const MACHINE_ROLES = {\n CONTROL_PLANE: 'rke.cattle.io/control-plane-role',\n WORKER: 'rke.cattle.io/worker-role',\n ETCD: 'rke.cattle.io/etcd-role',\n};\n\nexport const CAPI = {\n DEPLOYMENT_NAME: 'cluster.x-k8s.io/deployment-name',\n CREDENTIAL_DRIVER: 'provisioning.cattle.io/driver',\n CLUSTER_NAMESPACE: 'cluster.x-k8s.io/cluster-namespace',\n FORCE_MACHINE_REMOVE: 'provisioning.cattle.io/force-machine-remove',\n MACHINE_NAME: 'cluster.x-k8s.io/machine',\n DELETE_MACHINE: 'cluster.x-k8s.io/delete-machine',\n PROVIDER: 'provider.cattle.io',\n SECRET_AUTH: 'v2prov-secret-authorized-for-cluster',\n SECRET_WILL_DELETE: 'v2prov-authorized-secret-deletes-on-cluster-removal',\n /**\n * Annotation for overriding the cluster provider,\n */\n UI_CUSTOM_PROVIDER: 'ui.rancher/provider'\n};\n\nexport const CATALOG = {\n CERTIFIED: 'catalog.cattle.io/certified',\n _RANCHER: 'rancher',\n _PARTNER: 'partner',\n _OTHER: 'other',\n\n EXPERIMENTAL: 'catalog.cattle.io/experimental',\n NAMESPACE: 'catalog.cattle.io/namespace',\n RELEASE_NAME: 'catalog.cattle.io/release-name',\n FEATURED: 'catalog.cattle.io/featured',\n\n REQUIRES_GVK: 'catalog.cattle.io/requires-gvr',\n PROVIDES: 'catalog.cattle.io/provides-gvr',\n AUTO_INSTALL_GVK: 'catalog.cattle.io/auto-install-gvr',\n AUTO_INSTALL: 'catalog.cattle.io/auto-install',\n HIDDEN: 'catalog.cattle.io/hidden',\n REQUESTS_CPU: 'catalog.cattle.io/requests-cpu',\n REQUESTS_MEMORY: 'catalog.cattle.io/requests-memory',\n\n SCOPE: 'catalog.cattle.io/scope',\n _MANAGEMENT: 'management',\n _DOWNSTREAM: 'downstream',\n\n TYPE: 'catalog.cattle.io/type',\n _APP: 'app',\n _CLUSTER_TPL: 'cluster-template',\n _CLUSTER_TOOL: 'cluster-tool',\n\n COMPONENT: 'catalog.cattle.io/ui-component',\n SOURCE_REPO_TYPE: 'catalog.cattle.io/ui-source-repo-type',\n SOURCE_REPO_NAME: 'catalog.cattle.io/ui-source-repo',\n COLOR: 'catalog.cattle.io/ui-color',\n DISPLAY_NAME: 'catalog.cattle.io/display-name',\n\n SUPPORTED_OS: 'catalog.cattle.io/os',\n PERMITTED_OS: 'catalog.cattle.io/permits-os',\n DEPLOYED_OS: 'catalog.cattle.io/deploys-on-os',\n\n MIGRATED: 'apps.cattle.io/migrated',\n MANAGED: 'catalog.cattle.io/managed',\n\n HIDDEN_REPO: 'clusterrepo.cattle.io/hidden'\n};\n\nexport const FLEET = {\n CLUSTER_DISPLAY_NAME: 'management.cattle.io/cluster-display-name',\n CLUSTER_NAME: 'management.cattle.io/cluster-name',\n BUNDLE_ID: 'fleet.cattle.io/bundle-id',\n MANAGED: 'fleet.cattle.io/managed',\n CLUSTER: 'fleet.cattle.io/cluster'\n};\n\nexport const RBAC = { PRODUCT: 'management.cattle.io/ui-product' };\n\nexport const RKE = { EXTERNAL_IP: 'rke.cattle.io/external-ip' };\n\nexport const SNAPSHOT = { CLUSTER_NAME: 'rke.cattle.io/cluster-name' };\n\nexport const ISTIO = { AUTO_INJECTION: 'istio-injection' };\n\nconst CATTLE_REGEX = /cattle\\.io\\//;\n\nexport const LABELS_TO_IGNORE_REGEX = [\n CATTLE_REGEX\n];\n\nexport const ANNOTATIONS_TO_IGNORE_REGEX = [\n CATTLE_REGEX\n];\n\nexport const ANNOTATIONS_TO_FOLD = [\n /^kubectl\\.kubernetes\\.io\\/.*$/,\n /^objectset\\.rio\\.cattle\\.io\\/.*$/,\n];\n\nexport const HCI = {\n CLOUD_INIT: 'harvesterhci.io/cloud-init-template',\n CLOUD_PROVIDER_IPAM: 'cloudprovider.harvesterhci.io/ipam',\n NETWORK_ROUTE: 'network.harvesterhci.io/route',\n IMAGE_NAME: 'harvesterhci.io/image-name',\n NETWORK_TYPE: 'network.harvesterhci.io/type',\n PRIMARY_SERVICE: 'cloudprovider.harvesterhci.io/primary-service',\n};\n\n// Annotations that can be on management.cattle.io.cluster to configure a custom badge\n// Can't use ui.cattle.io - it seems to strip these out - so using io.rancher\nexport const CLUSTER_BADGE = {\n // Badge text - badge is only shown if badge text is not empty\n TEXT: 'ui.rancher/badge-text',\n // Badge color - as a hex color - e.g. #ff00ff\n COLOR: 'ui.rancher/badge-color',\n // Custom icon text - max 3 characters\n ICON_TEXT: 'ui.rancher/badge-icon-text',\n};\n\nexport const SYSTEM_LABELS = [\n 'io.cattle.lifecycle.',\n 'beta.kubernetes.io',\n 'failure-domain.beta.kubernetes.io',\n 'node-role.kubernetes.io',\n 'kubernetes.io',\n 'cattle.io',\n 'authz.management.cattle.io',\n 'rke.cattle.io',\n 'field.cattle.io',\n 'workload.user.cattle.io',\n 'k3s.io',\n 'node.kubernetes.io',\n 'egress.rke2.io'\n];\n\nexport const CLOUD_CREDENTIALS = { EXPIRATION: 'rancher.io/expiration-timestamp' };\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".centered[data-v-337ae8b8]{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:100px 0}.centered .description[data-v-337ae8b8]{line-height:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","export type GC_PREFERENCES = {\n enabled: boolean,\n enabledInterval: boolean,\n interval: number,\n enabledOnNavigate: boolean,\n ageThreshold: number,\n countThreshold: number\n}\n\nexport const GC_DEFAULTS: GC_PREFERENCES = {\n enabled: false,\n\n // When GC Runs\n enabledInterval: true,\n interval: 1 * 60 * 5,\n enabledOnNavigate: true,\n\n // How GC handles resources when GC'ing\n ageThreshold: 1 * 60 * 2,\n countThreshold: 500,\n};\n","// Settings\nimport { GC_DEFAULTS, GC_PREFERENCES } from '@shell/utils/gc/gc-types';\nimport { PaginationSettings } from '@shell/types/resources/settings';\n\ninterface GlobalSettingRuleset {\n name: string,\n key?: string | number,\n factoryArg?: string | number | (string | number)[]\n}\n\ninterface GlobalSetting {\n [key: string]: {\n alias?: string,\n canReset?: boolean,\n customFormatter?: string,\n from?: string,\n kind?: string,\n options?: string[]\n readOnly?: boolean,\n /**\n * Function used from the form validation\n */\n ruleSet?: GlobalSettingRuleset[],\n warning?: string\n };\n}\n\n// Adapted from: https://github.com/rancher/ui/blob/08c379a9529f740666a704b52522a468986c3520/lib/shared/addon/utils/constants.js#L564\n// Setting IDs\nexport const SETTING = {\n VERSION_RANCHER: 'server-version',\n VERSION_CLI: 'cli-version',\n VERSION_MACHINE: 'machine-version',\n VERSION_HELM: 'helm-version',\n CLI_URL: {\n DARWIN: 'cli-url-darwin',\n WINDOWS: 'cli-url-windows',\n LINUX: 'cli-url-linux',\n },\n API_HOST: 'api-host',\n CA_CERTS: 'cacerts',\n\n // Allow the local cluster to be hidden\n HIDE_LOCAL_CLUSTER: 'hide-local-cluster',\n AUTH_TOKEN_MAX_TTL_MINUTES: 'auth-token-max-ttl-minutes',\n KUBECONFIG_GENERATE_TOKEN: 'kubeconfig-generate-token',\n KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES: 'kubeconfig-default-token-ttl-minutes',\n ENGINE_URL: 'engine-install-url',\n ENGINE_ISO_URL: 'engine-iso-url',\n FIRST_LOGIN: 'first-login',\n INGRESS_IP_DOMAIN: 'ingress-ip-domain',\n SERVER_URL: 'server-url',\n RKE_METADATA_CONFIG: 'rke-metadata-config',\n TELEMETRY: 'telemetry-opt',\n EULA_AGREED: 'eula-agreed',\n AUTH_USER_INFO_MAX_AGE_SECONDS: 'auth-user-info-max-age-seconds',\n AUTH_USER_SESSION_TTL_MINUTES: 'auth-user-session-ttl-minutes',\n AUTH_USER_INFO_RESYNC_CRON: 'auth-user-info-resync-cron',\n AUTH_LOCAL_VALIDATE_DESC: 'auth-password-requirements-description',\n PASSWORD_MIN_LENGTH: 'password-min-length', // CATTLE_PASSWORD_MIN_LENGTH\n CLUSTER_TEMPLATE_ENFORCEMENT: 'cluster-template-enforcement',\n UI_INDEX: 'ui-index',\n UI_DASHBOARD_INDEX: 'ui-dashboard-index',\n UI_DASHBOARD_HARVESTER_LEGACY_PLUGIN: 'ui-dashboard-harvester-legacy-plugin',\n UI_OFFLINE_PREFERRED: 'ui-offline-preferred',\n SYSTEM_DEFAULT_REGISTRY: 'system-default-registry',\n UI_ISSUES: 'ui-issues',\n PL: 'ui-pl',\n PL_RANCHER_VALUE: 'rancher',\n SUPPORTED: 'has-support',\n BANNERS: 'ui-banners',\n ISSUES: 'ui-issues',\n BRAND: 'ui-brand',\n LOGO_LIGHT: 'ui-logo-light',\n LOGO_DARK: 'ui-logo-dark',\n BANNER_LIGHT: 'ui-banner-light',\n BANNER_DARK: 'ui-banner-dark',\n LOGIN_BACKGROUND_LIGHT: 'ui-login-background-light',\n LOGIN_BACKGROUND_DARK: 'ui-login-background-dark',\n PRIMARY_COLOR: 'ui-primary-color',\n LINK_COLOR: 'ui-link-color',\n COMMUNITY_LINKS: 'ui-community-links',\n FAVICON: 'ui-favicon',\n UI_PERFORMANCE: 'ui-performance',\n UI_CUSTOM_LINKS: 'ui-custom-links',\n UI_SUPPORTED_K8S_VERSIONS: 'ui-k8s-supported-versions-range',\n /**\n * Allow the backend to force a light/dark theme. Used in non-rancher world and results in the theme used\n * both pre and post log in. If not present defaults to the usual process\n */\n THEME: 'ui-theme',\n SYSTEM_NAMESPACES: 'system-namespaces',\n /**\n * Cluster Agent configuration\n */\n CLUSTER_AGENT_DEFAULT_AFFINITY: 'cluster-agent-default-affinity',\n FLEET_AGENT_DEFAULT_AFFINITY: 'fleet-agent-default-affinity',\n /**\n * manage rancher repositories in extensions (official, partners repos)\n */\n ADD_EXTENSION_REPOS_BANNER_DISPLAY: 'display-add-extension-repos-banner',\n AGENT_TLS_MODE: 'agent-tls-mode',\n /**\n * User retention settings\n */\n USER_RETENTION_CRON: 'user-retention-cron',\n USER_RETENTION_DRY_RUN: 'user-retention-dry-run',\n USER_LAST_LOGIN_DEFAULT: 'user-last-login-default',\n DISABLE_INACTIVE_USER_AFTER: 'disable-inactive-user-after',\n DELETE_INACTIVE_USER_AFTER: 'delete-inactive-user-after',\n};\n\n// These are the settings that are allowed to be edited via the UI\nexport const ALLOWED_SETTINGS: GlobalSetting = {\n [SETTING.CA_CERTS]: { kind: 'multiline', readOnly: true },\n [SETTING.ENGINE_URL]: {},\n [SETTING.ENGINE_ISO_URL]: {},\n [SETTING.PASSWORD_MIN_LENGTH]: {\n kind: 'integer',\n ruleSet: [\n {\n name: 'betweenValues',\n key: 'Password',\n factoryArg: [2, 256]\n },\n {\n name: 'isInteger',\n key: 'Password',\n },\n {\n name: 'isPositive',\n key: 'Password',\n },\n {\n name: 'isOctal',\n key: 'Password',\n }\n ],\n },\n [SETTING.INGRESS_IP_DOMAIN]: {},\n [SETTING.AUTH_USER_INFO_MAX_AGE_SECONDS]: {},\n [SETTING.AUTH_USER_SESSION_TTL_MINUTES]: {},\n [SETTING.AUTH_TOKEN_MAX_TTL_MINUTES]: {},\n [SETTING.KUBECONFIG_GENERATE_TOKEN]: { kind: 'boolean' },\n [SETTING.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES]: { kind: 'integer' },\n [SETTING.AUTH_USER_INFO_RESYNC_CRON]: {},\n [SETTING.SERVER_URL]: { kind: 'url', canReset: true },\n [SETTING.RKE_METADATA_CONFIG]: { kind: 'json' },\n [SETTING.SYSTEM_DEFAULT_REGISTRY]: {},\n [SETTING.UI_INDEX]: {},\n [SETTING.UI_DASHBOARD_INDEX]: {},\n [SETTING.UI_OFFLINE_PREFERRED]: {\n kind: 'enum',\n options: ['dynamic', 'true', 'false']\n },\n [SETTING.BRAND]: { canReset: true },\n [SETTING.CLUSTER_TEMPLATE_ENFORCEMENT]: { kind: 'boolean' },\n [SETTING.TELEMETRY]: {\n kind: 'enum',\n options: ['prompt', 'in', 'out']\n },\n [SETTING.HIDE_LOCAL_CLUSTER]: { kind: 'boolean' },\n [SETTING.AGENT_TLS_MODE]: {\n kind: 'enum',\n options: ['strict', 'system-store'],\n warning: 'agent-tls-mode'\n },\n};\n\n/**\n * Settings on how to handle warnings returning in api responses, specifically which to show as growls\n */\nexport interface PerfSettingsWarningHeaders {\n /**\n * Warning is a string containing multiple entries. This determines how they are split up\n *\n * See https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1693-warnings#design-details\n */\n separator: string,\n /**\n * Show warnings in a notification if they're not in this block list\n */\n notificationBlockList: string[]\n}\n\nexport interface PerfSettingsKubeApi {\n /**\n * Settings related to the response header `warnings` value\n */\n warningHeader: PerfSettingsWarningHeaders\n}\n\nexport interface PerfSettings {\n inactivity: {\n enabled: boolean;\n threshold: number;\n };\n incrementalLoading: {\n enabled: boolean;\n threshold: number;\n };\n manualRefresh: {};\n disableWebsocketNotification: boolean;\n garbageCollection: GC_PREFERENCES;\n forceNsFilterV2: any;\n advancedWorker: {};\n kubeAPI: PerfSettingsKubeApi;\n serverPagination: PaginationSettings;\n}\n\nexport const DEFAULT_PERF_SETTING: PerfSettings = {\n inactivity: {\n enabled: false,\n threshold: 900,\n },\n incrementalLoading: {\n enabled: true,\n threshold: 1500,\n },\n manualRefresh: {\n enabled: false,\n threshold: 1500,\n },\n disableWebsocketNotification: true,\n garbageCollection: GC_DEFAULTS,\n forceNsFilterV2: { enabled: false },\n advancedWorker: { enabled: false },\n kubeAPI: {\n /**\n * Settings related to the response header `warnings` value\n */\n warningHeader: {\n /**\n * Warning is a string containing multiple entries. This determines how they are split up\n *\n * See https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1693-warnings#design-details\n */\n separator: '299 - ',\n /**\n * Show warnings in a notification if they're not in this block list\n */\n notificationBlockList: ['299 - unknown field']\n }\n },\n serverPagination: {\n enabled: false,\n stores: {\n cluster: {\n resources: {\n enableAll: false,\n enableSome: {\n enabled: ['configmap', 'secret', 'pod', 'node'],\n generic: true,\n }\n }\n }\n }\n }\n\n};\n","import { SETTING } from '@shell/config/settings';\nimport { MANAGEMENT, STEVE } from '@shell/config/types';\nimport { clone } from '@shell/utils/object';\nimport Vue from 'vue';\n\nconst definitions = {};\n/**\n * Key/value of prefrences are stored before login here and cookies due lack of access permission.\n * Once user is logged in while setting asUserPreference, update stored before login Key/value to the backend in loadServer function.\n */\nlet prefsBeforeLogin = {};\n\nexport const create = function(name, def, opt = {}) {\n const parseJSON = opt.parseJSON === true;\n const asCookie = opt.asCookie === true;\n const asUserPreference = opt.asUserPreference !== false;\n const options = opt.options;\n const inheritFrom = opt.inheritFrom;\n\n definitions[name] = {\n def,\n options,\n parseJSON,\n asCookie,\n asUserPreference,\n inheritFrom, // if value is not defined on server, we can default it to another pref\n mangleRead: opt.mangleRead, // Alter the value read from the API (to match old Rancher expectations)\n mangleWrite: opt.mangleWrite, // Alter the value written back to the API (ditto)\n };\n\n return name;\n};\n\nexport const mapPref = function(name) {\n return {\n get() {\n return this.$store.getters['prefs/get'](name);\n },\n\n set(value) {\n this.$store.dispatch('prefs/set', { key: name, value });\n }\n };\n};\n\n// --------------------\nconst parseJSON = true; // Shortcut for setting it below\nconst asCookie = true; // Store as a cookie so that it's available before auth + on server-side\n\n// Keys must be lowercase and valid dns label (a-z 0-9 -)\nexport const CLUSTER = create('cluster', '');\nexport const LAST_NAMESPACE = create('last-namespace', '');\nexport const NAMESPACE_FILTERS = create('ns-by-cluster', {}, { parseJSON });\nexport const WORKSPACE = create('workspace', '');\nexport const EXPANDED_GROUPS = create('open-groups', ['cluster', 'policy', 'rbac', 'serviceDiscovery', 'storage', 'workload'], { parseJSON });\nexport const FAVORITE_TYPES = create('fav-type', [], { parseJSON });\nexport const PINNED_CLUSTERS = create('pinned-clusters', [], { parseJSON });\nexport const GROUP_RESOURCES = create('group-by', 'namespace');\nexport const DIFF = create('diff', 'unified', { options: ['unified', 'split'] });\nexport const THEME = create('theme', 'auto', {\n options: ['light', 'auto', 'dark'],\n asCookie,\n parseJSON,\n mangleRead: (x) => x.replace(/^ui-/, ''),\n mangleWrite: (x) => `ui-${ x }`,\n});\nexport const PREFERS_SCHEME = create('pcs', '', { asCookie, asUserPreference: false });\nexport const LOCALE = create('locale', 'en-us', { asCookie });\nexport const KEYMAP = create('keymap', 'sublime', { options: ['sublime', 'emacs', 'vim'] });\nexport const ROWS_PER_PAGE = create('per-page', 100, { options: [10, 25, 50, 100], parseJSON });\nexport const LOGS_WRAP = create('logs-wrap', true, { parseJSON });\nexport const LOGS_TIME = create('logs-time', true, { parseJSON });\nexport const LOGS_RANGE = create('logs-range', '30 minutes', { parseJSON });\nexport const HIDE_REPOS = create('hide-repos', [], { parseJSON });\nexport const HIDE_DESC = create('hide-desc', [], { parseJSON });\nexport const HIDE_SENSITIVE = create('hide-sensitive', true, { options: [true, false], parseJSON });\nexport const SHOW_PRE_RELEASE = create('show-pre-release', false, { options: [false, true], parseJSON });\nexport const SHOW_CHART_MODE = create('chart-mode', 'featured', { parseJSON });\n\nexport const DATE_FORMAT = create('date-format', 'ddd, MMM D YYYY', {\n options: [\n 'ddd, MMM D YYYY',\n 'ddd, D MMM YYYY',\n 'D/M/YYYY',\n 'M/D/YYYY',\n 'YYYY-MM-DD'\n ]\n});\n\nexport const TIME_FORMAT = create('time-format', 'h:mm:ss a', {\n options: [\n 'h:mm:ss a',\n 'HH:mm:ss'\n ]\n});\n\nexport const TIME_ZONE = create('time-zone', 'local');\n// DEV will be deprecated on v2.7.0, but is needed so that we can grab the value for the new settings that derived from it\n// such as: VIEW_IN_API, ALL_NAMESPACES, THEME_SHORTCUT\nexport const DEV = create('dev', false, { parseJSON });\nexport const VIEW_IN_API = create('view-in-api', false, { parseJSON, inheritFrom: DEV });\nexport const ALL_NAMESPACES = create('all-namespaces', false, { parseJSON, inheritFrom: DEV });\nexport const THEME_SHORTCUT = create('theme-shortcut', false, { parseJSON, inheritFrom: DEV });\nexport const LAST_VISITED = create('last-visited', 'home', { parseJSON });\nexport const SEEN_WHATS_NEW = create('seen-whatsnew', '', { parseJSON });\nexport const READ_WHATS_NEW = create('read-whatsnew', '', { parseJSON });\nexport const AFTER_LOGIN_ROUTE = create('after-login-route', 'home', { parseJSON } );\nexport const HIDE_HOME_PAGE_CARDS = create('home-page-cards', {}, { parseJSON } );\nexport const PLUGIN_DEVELOPER = create('plugin-developer', false, { parseJSON, inheritFrom: DEV }); // Is the user a plugin developer?\n\nexport const _RKE1 = 'rke1';\nexport const _RKE2 = 'rke2';\nexport const PROVISIONER = create('provisioner', _RKE2, { options: [_RKE1, _RKE2] });\n\n// Maximum number of clusters to show in the slide-in menu\nexport const MENU_MAX_CLUSTERS = 10;\n// Prompt for confirm when scaling down node pool in GUI and save the pref\nexport const SCALE_POOL_PROMPT = create('scale-pool-prompt', null, { parseJSON });\n// --------------------\n\nconst cookiePrefix = 'R_';\nconst cookieOptions = {\n maxAge: 365 * 86400,\n path: '/',\n sameSite: true,\n secure: true,\n};\n\nexport const state = function() {\n return {\n cookiesLoaded: false,\n data: {},\n definitions,\n };\n};\n\nexport const getters = {\n get: (state) => (key) => {\n const definition = state.definitions[key];\n\n if (!definition) {\n throw new Error(`Unknown preference: ${ key }`);\n }\n\n const user = state.data[key];\n\n if (user !== undefined) {\n return clone(user);\n }\n\n const def = clone(definition.def);\n\n return def;\n },\n\n defaultValue: (state) => (key) => {\n const definition = state.definitions[key];\n\n if (!definition) {\n throw new Error(`Unknown preference: ${ key }`);\n }\n\n return clone(definition.def);\n },\n\n options: (state) => (key) => {\n const definition = state.definitions[key];\n\n if (!definition) {\n throw new Error(`Unknown preference: ${ key }`);\n }\n\n if (!definition.options) {\n throw new Error(`Preference does not have options: ${ key }`);\n }\n\n return definition.options.slice();\n },\n\n theme: (state, getters, rootState, rootGetters) => {\n const setting = rootGetters['management/byId'](MANAGEMENT.SETTING, SETTING.THEME);\n\n if (setting?.value) {\n return setting?.value;\n }\n\n let theme = getters['get'](THEME);\n const pcs = getters['get'](PREFERS_SCHEME);\n\n // console.log('Get Theme', theme, pcs);\n\n // Ember UI uses this prefix\n if ( theme.startsWith('ui-') ) {\n theme = theme.substr(3);\n }\n\n if ( theme === 'auto' ) {\n if ( pcs === 'light' || pcs === 'dark' ) {\n return pcs;\n }\n\n return 'dark';\n }\n\n return theme;\n },\n\n afterLoginRoute: (state, getters) => {\n const afterLoginRoutePref = getters['get'](AFTER_LOGIN_ROUTE);\n\n if (typeof afterLoginRoutePref !== 'string') {\n return afterLoginRoutePref;\n }\n\n switch (true) {\n case (afterLoginRoutePref === 'home'):\n return { name: 'home' };\n case (afterLoginRoutePref === 'last-visited'): {\n const lastVisitedPref = getters['get'](LAST_VISITED);\n\n if (lastVisitedPref) {\n return lastVisitedPref;\n }\n const clusterPref = getters['get'](CLUSTER);\n\n return { name: 'c-cluster-explorer', params: { product: 'explorer', cluster: clusterPref } };\n }\n case (!!afterLoginRoutePref.match(/.+-dashboard$/)):\n {\n const clusterId = afterLoginRoutePref.split('-dashboard')[0];\n\n return { name: 'c-cluster-explorer', params: { product: 'explorer', cluster: clusterId } };\n }\n default:\n return { name: afterLoginRoutePref };\n }\n }\n};\n\nexport const mutations = {\n load(state, { key, value }) {\n Vue.set(state.data, key, value);\n },\n\n cookiesLoaded(state) {\n state.cookiesLoaded = true;\n },\n\n reset(state) {\n for (const key in state.definitions) {\n if ( state.definitions[key]?.asCookie ) {\n continue;\n }\n delete state.data[key];\n }\n },\n\n setDefinition(state, { name, definition = {} }) {\n state.definitions[name] = definition;\n },\n};\n\nexport const actions = {\n async set({\n dispatch, commit, rootGetters, state\n }, opt) {\n let { key, value } = opt; // eslint-disable-line prefer-const\n const definition = state.definitions[key];\n let server;\n\n if ( opt.val ) {\n throw new Error('Use value, not val');\n }\n\n commit('load', { key, value });\n\n if ( definition.asCookie ) {\n const opt = {\n ...cookieOptions,\n parseJSON: definition.parseJSON === true\n };\n\n this.$cookies.set(`${ cookiePrefix }${ key }`.toUpperCase(), value, opt);\n }\n\n if ( definition.asUserPreference ) {\n const checkLogin = rootGetters['auth/loggedIn'];\n\n // Check for login status\n if (!checkLogin) {\n prefsBeforeLogin[key] = value;\n\n return;\n }\n\n try {\n server = await dispatch('loadServer', key); // There's no watch on prefs, so get before set...\n\n if ( server?.data ) {\n if ( definition.mangleWrite ) {\n value = definition.mangleWrite(value);\n }\n\n if ( definition.parseJSON ) {\n Vue.set(server.data, key, JSON.stringify(value));\n } else {\n Vue.set(server.data, key, value);\n }\n\n await server.save({ redirectUnauthorized: false });\n }\n } catch (e) {\n // Well it failed, but not much to do about it...\n\n // Return the error\n return { type: e.type, status: e.status };\n }\n }\n },\n\n async setTheme({ dispatch }, val) {\n await dispatch('set', { key: THEME, value: val });\n },\n\n loadCookies({ state, commit }) {\n if ( state.cookiesLoaded ) {\n return;\n }\n\n for (const key in state.definitions) {\n const definition = state.definitions[key];\n\n if ( !definition.asCookie ) {\n continue;\n }\n\n const opt = { parseJSON: definition.parseJSON === true };\n const value = this.$cookies.get(`${ cookiePrefix }${ key }`.toUpperCase(), opt);\n\n if (value !== undefined) {\n commit('load', { key, value });\n }\n }\n\n commit('cookiesLoaded');\n },\n\n loadTheme({ dispatch }) {\n const watchDark = window.matchMedia('(prefers-color-scheme: dark)');\n const watchLight = window.matchMedia('(prefers-color-scheme: light)');\n const watchNone = window.matchMedia('(prefers-color-scheme: no-preference)');\n\n const interval = 30 * 60 * 1000;\n const nextHalfHour = interval - Math.round(new Date().getTime()) % interval;\n\n setTimeout(() => {\n dispatch('loadTheme');\n }, nextHalfHour);\n // console.log('Update theme in', nextHalfHour, 'ms');\n\n if ( watchDark.matches ) {\n changed('dark');\n } else if ( watchLight.matches ) {\n changed('light');\n } else {\n changed(fromClock());\n }\n\n watchDark.addListener((e) => {\n if ( e.matches ) {\n changed('dark');\n }\n });\n\n watchLight.addListener((e) => {\n if ( e.matches ) {\n changed('light');\n }\n });\n\n watchNone.addListener((e) => {\n if ( e.matches ) {\n changed(fromClock());\n }\n });\n\n function changed(value) {\n // console.log('Prefers Theme:', value);\n dispatch('set', { key: PREFERS_SCHEME, value });\n }\n\n function fromClock() {\n const hour = new Date().getHours();\n\n if ( hour < 7 || hour >= 18 ) {\n return 'dark';\n }\n\n return 'light';\n }\n },\n\n async loadServer( {\n state, dispatch, commit, rootState, rootGetters\n }, ignoreKey) {\n let server = { data: {} };\n\n try {\n const all = await dispatch('management/findAll', {\n type: STEVE.PREFERENCE,\n opt: {\n url: 'userpreferences',\n force: true,\n watch: false,\n redirectUnauthorized: false,\n stream: false,\n }\n }, { root: true });\n\n server = all?.[0];\n } catch (e) {\n console.error('Error loading preferences', e); // eslint-disable-line no-console\n\n return;\n }\n\n if ( !server?.data ) {\n return;\n }\n\n // if prefsBeforeLogin has values from login page, update the backend\n if (Object.keys(prefsBeforeLogin).length > 0) {\n Object.keys(prefsBeforeLogin).forEach((key) => {\n server.data[key] = prefsBeforeLogin[key];\n });\n\n await server.save({ redirectUnauthorized: false });\n\n // Clear prefsBeforeLogin, as we have now saved theses\n prefsBeforeLogin = {};\n }\n\n for (const key in state.definitions) {\n const definition = state.definitions[key];\n let value = clone(server.data[key]);\n\n if (value === undefined && definition.inheritFrom) {\n value = clone(server.data[definition.inheritFrom]);\n }\n\n if ( value === undefined || key === ignoreKey) {\n continue;\n }\n\n if ( definition.parseJSON ) {\n try {\n value = JSON.parse(value);\n } catch (err) {\n console.error('Error parsing server pref', key, value, err); // eslint-disable-line no-console\n continue;\n }\n }\n\n if ( definition.mangleRead ) {\n value = definition.mangleRead(value);\n }\n\n commit('load', { key, value });\n }\n\n return server;\n },\n\n setLastVisited({ state, dispatch, getters }, route) {\n if (!route) {\n return;\n }\n\n // Only save the last visited page if the user has that set as the login route preference\n const afterLoginRoutePref = getters['get'](AFTER_LOGIN_ROUTE);\n const doNotTrackLastVisited = typeof afterLoginRoutePref !== 'string' || afterLoginRoutePref !== 'last-visited';\n\n if (doNotTrackLastVisited) {\n return;\n }\n\n const toSave = getLoginRoute(route);\n\n return dispatch('set', { key: LAST_VISITED, value: toSave });\n },\n\n toggleTheme({ getters, dispatch }) {\n const value = getters[THEME] === 'light' ? 'dark' : 'light';\n\n return dispatch('set', { key: THEME, value });\n },\n\n setBrandStyle({ rootState, rootGetters }, dark = false) {\n if (rootState.managementReady) {\n try {\n const brandSetting = rootGetters['management/byId'](MANAGEMENT.SETTING, SETTING.BRAND);\n\n if (brandSetting && brandSetting.value && brandSetting.value !== '') {\n const brand = brandSetting.value;\n\n const brandMeta = require(`~shell/assets/brand/${ brand }/metadata.json`);\n const hasStylesheet = brandMeta.hasStylesheet === 'true';\n\n if (hasStylesheet) {\n document.body.classList.add(brand);\n } else {\n // TODO option apply color at runtime\n }\n }\n } catch {}\n }\n }\n};\n\nfunction getLoginRoute(route) {\n let parts = route.name?.split('-') || [];\n const params = {};\n const routeParams = route.params || {};\n\n // Find the 'resource' part of the route, if it is there\n const index = parts.findIndex((p) => p === 'resource');\n\n if (index >= 0) {\n parts = parts.slice(0, index);\n }\n\n // Just keep the params that are needed\n parts.forEach((param) => {\n if (routeParams[param]) {\n params[param] = routeParams[param];\n }\n });\n\n return {\n name: parts.join('-'),\n params\n };\n}\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5877__;","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","import { ANNOTATIONS_TO_IGNORE_REGEX, LABELS_TO_IGNORE_REGEX } from '@shell/config/labels-annotations';\nimport omitBy from 'lodash/omitBy';\nimport pickBy from 'lodash/pickBy';\nimport Vue from 'vue';\nimport { matchesSomeRegex } from '@shell/utils/string';\nimport Resource from '@shell/plugins/dashboard-store/resource-class';\n\n// these are defined elsewhere in Steve models and will cause the error \"Cannot set property of [object Object] which has only a getter\" if defined at top-level\nexport function cleanHybridResources(data) {\n const potentialNormanHoldovers = ['state', 'name', 'description', 'labels', 'annotations'];\n\n potentialNormanHoldovers.forEach((key) => delete data[key]);\n\n return data;\n}\n\nexport default class HybridModel extends Resource {\n constructor(data, ctx, rehydrateNamespace = null, setClone = false) {\n const cleanedData = cleanHybridResources(data);\n\n super(cleanedData, ctx, rehydrateNamespace, setClone);\n }\n\n get labels() {\n const all = this.metadata?.labels || {};\n\n return omitBy(all, (value, key) => {\n return matchesSomeRegex(key, LABELS_TO_IGNORE_REGEX);\n });\n }\n\n setLabels(val) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n const all = this.metadata.labels || {};\n const wasIgnored = pickBy(all, (value, key) => {\n return matchesSomeRegex(key, LABELS_TO_IGNORE_REGEX);\n });\n\n Vue.set(this.metadata, 'labels', { ...wasIgnored, ...val });\n }\n\n setLabel(key, val) {\n if ( val ) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n if ( !this.metadata.labels ) {\n this.metadata.labels = {};\n }\n\n Vue.set(this.metadata.labels, key, val);\n } else if ( this.metadata?.labels ) {\n Vue.set(this.metadata.labels, key, undefined);\n delete this.metadata.labels[key];\n }\n }\n\n get annotations() {\n const all = this.metadata?.annotations || {};\n\n return omitBy(all, (value, key) => {\n return matchesSomeRegex(key, ANNOTATIONS_TO_IGNORE_REGEX);\n });\n }\n\n setAnnotations(val) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n const all = this.metadata.annotations || {};\n const wasIgnored = pickBy(all, (value, key) => {\n return matchesSomeRegex(key, ANNOTATIONS_TO_IGNORE_REGEX);\n });\n\n Vue.set(this.metadata, 'annotations', { ...wasIgnored, ...val });\n }\n\n setAnnotation(key, val) {\n if ( val ) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n if ( !this.metadata.annotations ) {\n this.metadata.annotations = {};\n }\n\n Vue.set(this.metadata.annotations, key, val);\n } else if ( this.metadata?.annotations ) {\n Vue.set(this.metadata.annotations, key, undefined);\n delete this.metadata.annotations[key];\n }\n }\n\n get state() {\n return this.stateObj?.name || 'unknown';\n }\n}\n","import { DESCRIPTION } from '@shell/config/labels-annotations';\nimport HybridModel from './hybrid-class';\nimport { NEVER_ADD } from '@shell/utils/create-yaml';\nimport { deleteProperty } from '@shell/utils/object';\n\n// Some fields that are removed for YAML (NEVER_ADD) are required via API\nconst STEVE_ADD = [\n 'metadata.resourceVersion',\n 'metadata.fields',\n 'metadata.clusterName',\n 'metadata.deletionGracePeriodSeconds',\n 'metadata.generateName',\n];\nconst STEVE_NEVER_SAVE = NEVER_ADD.filter((na) => !STEVE_ADD.includes(na));\n\nexport default class SteveModel extends HybridModel {\n get name() {\n return this.metadata?.name || this._name;\n }\n\n get namespace() {\n return this.metadata?.namespace;\n }\n\n get description() {\n return this.metadata?.annotations?.[DESCRIPTION] || this.spec?.description || this._description;\n }\n\n /**\n * Set description based on the type of model available with private fallback\n */\n set description(value) {\n if (this.metadata?.annotations) {\n this.metadata.annotations[DESCRIPTION] = value;\n }\n\n if (this.spec) {\n this.spec.description = value;\n }\n\n this._description = value;\n }\n\n cleanForSave(data, forNew) {\n const val = super.cleanForSave(data);\n\n for (const field of STEVE_NEVER_SAVE) {\n deleteProperty(val, field);\n }\n\n return val;\n }\n}\n","var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","import SteveModel from '@shell/plugins/steve/steve-class';\nimport { CAPI, MANAGEMENT, LOCAL_CLUSTER } from '@shell/config/types';\nimport { BLANK_CLUSTER, QUERY_PARAMS } from '../types/capi';\n\nexport default class ClusterClass extends SteveModel {\n get _availableActions() {\n const out = super._availableActions;\n\n out.unshift({\n action: 'goToCreateCluster',\n label: this.t('action.createCluster'),\n icon: 'icon icon-plus',\n enabled: true\n });\n\n return out;\n }\n\n goToCreateCluster() {\n const escapedID = escape(this.id);\n const location = {\n name: 'c-cluster-product-resource-create',\n params: {\n cluster: BLANK_CLUSTER,\n product: 'manager',\n resource: CAPI.CAPI_CLUSTER\n },\n query: { [QUERY_PARAMS.CLASS]: escapedID }\n };\n\n this.currentRouter().push(location);\n }\n\n saveYaml(yaml) {\n const localCluster = this.$rootGetters['management/byId'](MANAGEMENT.CLUSTER, LOCAL_CLUSTER);\n return localCluster.doAction('apply', { yaml });\n }\n}\n","import SteveModel from '@shell/plugins/steve/steve-class';\n\nexport default class CapiProvider extends SteveModel {\n get canEditYaml() {\n return false;\n }\n}\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=23723280&scoped=true\"\nimport script from \"./Loading.vue?vue&type=script&lang=js\"\nexport * from \"./Loading.vue?vue&type=script&lang=js\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=23723280&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23723280\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: Nginx config\nAuthor: Peter Leonov \nContributors: Ivan Sagalaev \nCategory: config, web\nWebsite: https://www.nginx.com\n*/\n\n/** @type LanguageFn */\nfunction nginx(hljs) {\n const regex = hljs.regex;\n const VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\d+/ },\n { begin: /\\$\\{\\w+\\}/ },\n { begin: regex.concat(/[$@]/, hljs.UNDERSCORE_IDENT_RE) }\n ]\n };\n const LITERALS = [\n \"on\",\n \"off\",\n \"yes\",\n \"no\",\n \"true\",\n \"false\",\n \"none\",\n \"blocked\",\n \"debug\",\n \"info\",\n \"notice\",\n \"warn\",\n \"error\",\n \"crit\",\n \"select\",\n \"break\",\n \"last\",\n \"permanent\",\n \"redirect\",\n \"kqueue\",\n \"rtsig\",\n \"epoll\",\n \"poll\",\n \"/dev/poll\"\n ];\n const DEFAULT = {\n endsWithParent: true,\n keywords: {\n $pattern: /[a-z_]{2,}|\\/dev\\/poll/,\n literal: LITERALS\n },\n relevance: 0,\n illegal: '=>',\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /'/,\n end: /'/\n }\n ]\n },\n // this swallows entire URLs to avoid detecting numbers within\n {\n begin: '([a-z]+):/',\n end: '\\\\s',\n endsWithParent: true,\n excludeEnd: true,\n contains: [ VAR ]\n },\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: \"\\\\s\\\\^\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // regexp locations (~, ~*)\n {\n begin: \"~\\\\*?\\\\s+\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // *.example.com\n { begin: \"\\\\*(\\\\.[a-z\\\\-]+)+\" },\n // sub.example.*\n { begin: \"([a-z\\\\-]+\\\\.)+\\\\*\" }\n ]\n },\n // IP\n {\n className: 'number',\n begin: '\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?\\\\b'\n },\n // units\n {\n className: 'number',\n begin: '\\\\b\\\\d+[kKmMgGdshdwy]?\\\\b',\n relevance: 0\n },\n VAR\n ]\n };\n\n return {\n name: 'Nginx config',\n aliases: [ 'nginxconf' ],\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: \"upstream location\",\n end: /;|\\{/,\n contains: DEFAULT.contains,\n keywords: { section: \"upstream location\" }\n },\n {\n className: 'section',\n begin: regex.concat(hljs.UNDERSCORE_IDENT_RE + regex.lookahead(/\\s+\\{/)),\n relevance: 0\n },\n {\n begin: regex.lookahead(hljs.UNDERSCORE_IDENT_RE + '\\\\s'),\n end: ';|\\\\{',\n contains: [\n {\n className: 'attribute',\n begin: hljs.UNDERSCORE_IDENT_RE,\n starts: DEFAULT\n }\n ],\n relevance: 0\n }\n ],\n illegal: '[^\\\\s\\\\}\\\\{]'\n };\n}\n\nmodule.exports = nginx;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".confirm-modal .btn[data-v-0181c352]{margin:0 10px}.confirm-modal .body[data-v-0181c352]{min-height:75px;padding:10px 0 0 15px}.confirm-modal .body p[data-v-0181c352]{margin-top:10px}.confirm-modal .header[data-v-0181c352]{background-color:var(--error);padding:15px 0 0 15px;height:50px}.confirm-modal .header h4[data-v-0181c352]{color:#fff}.confirm-modal .footer[data-v-0181c352]{border-top:1px solid var(--border);text-align:center;padding:10px 0 0 15px;height:60px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isValidCron = void 0;\n// This comes from the fact that parseInt trims characters coming\n// after digits and consider it a valid int, so `1*` becomes `1`.\nvar safeParseInt = function (value) {\n if (/^\\d+$/.test(value)) {\n return Number(value);\n }\n else {\n return NaN;\n }\n};\nvar isWildcard = function (value) {\n return value === '*';\n};\nvar isQuestionMark = function (value) {\n return value === '?';\n};\nvar isInRange = function (value, start, stop) {\n return value >= start && value <= stop;\n};\nvar isValidRange = function (value, start, stop) {\n var sides = value.split('-');\n switch (sides.length) {\n case 1:\n return isWildcard(value) || isInRange(safeParseInt(value), start, stop);\n case 2:\n var _a = sides.map(function (side) { return safeParseInt(side); }), small = _a[0], big = _a[1];\n return small <= big && isInRange(small, start, stop) && isInRange(big, start, stop);\n default:\n return false;\n }\n};\nvar isValidStep = function (value) {\n return value === undefined || value.search(/[^\\d]/) === -1;\n};\nvar validateForRange = function (value, start, stop) {\n if (value.search(/[^\\d-,\\/*]/) !== -1) {\n return false;\n }\n var list = value.split(',');\n return list.every(function (condition) {\n var splits = condition.split('/');\n // Prevents `*/ * * * *` from being accepted.\n if (condition.trim().endsWith('/')) {\n return false;\n }\n // Prevents `*/*/* * * * *` from being accepted\n if (splits.length > 2) {\n return false;\n }\n // If we don't have a `/`, right will be undefined which is considered a valid step if we don't a `/`.\n var left = splits[0], right = splits[1];\n return isValidRange(left, start, stop) && isValidStep(right);\n });\n};\nvar hasValidSeconds = function (seconds) {\n return validateForRange(seconds, 0, 59);\n};\nvar hasValidMinutes = function (minutes) {\n return validateForRange(minutes, 0, 59);\n};\nvar hasValidHours = function (hours) {\n return validateForRange(hours, 0, 23);\n};\nvar hasValidDays = function (days, allowBlankDay) {\n return (allowBlankDay && isQuestionMark(days)) || validateForRange(days, 1, 31);\n};\nvar monthAlias = {\n jan: '1',\n feb: '2',\n mar: '3',\n apr: '4',\n may: '5',\n jun: '6',\n jul: '7',\n aug: '8',\n sep: '9',\n oct: '10',\n nov: '11',\n dec: '12'\n};\nvar hasValidMonths = function (months, alias) {\n // Prevents alias to be used as steps\n if (months.search(/\\/[a-zA-Z]/) !== -1) {\n return false;\n }\n if (alias) {\n var remappedMonths = months.toLowerCase().replace(/[a-z]{3}/g, function (match) {\n return monthAlias[match] === undefined ? match : monthAlias[match];\n });\n // If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the months\n return validateForRange(remappedMonths, 1, 12);\n }\n return validateForRange(months, 1, 12);\n};\nvar weekdaysAlias = {\n sun: '0',\n mon: '1',\n tue: '2',\n wed: '3',\n thu: '4',\n fri: '5',\n sat: '6'\n};\nvar hasValidWeekdays = function (weekdays, alias, allowBlankDay, allowSevenAsSunday) {\n // If there is a question mark, checks if the allowBlankDay flag is set\n if (allowBlankDay && isQuestionMark(weekdays)) {\n return true;\n }\n else if (!allowBlankDay && isQuestionMark(weekdays)) {\n return false;\n }\n // Prevents alias to be used as steps\n if (weekdays.search(/\\/[a-zA-Z]/) !== -1) {\n return false;\n }\n if (alias) {\n var remappedWeekdays = weekdays.toLowerCase().replace(/[a-z]{3}/g, function (match) {\n return weekdaysAlias[match] === undefined ? match : weekdaysAlias[match];\n });\n // If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the weekdays\n return validateForRange(remappedWeekdays, 0, allowSevenAsSunday ? 7 : 6);\n }\n return validateForRange(weekdays, 0, allowSevenAsSunday ? 7 : 6);\n};\nvar hasCompatibleDayFormat = function (days, weekdays, allowBlankDay) {\n return !(allowBlankDay && isQuestionMark(days) && isQuestionMark(weekdays));\n};\nvar split = function (cron) {\n return cron.trim().split(/\\s+/);\n};\nvar defaultOptions = {\n alias: false,\n seconds: false,\n allowBlankDay: false,\n allowSevenAsSunday: false\n};\nexports.isValidCron = function (cron, options) {\n options = __assign(__assign({}, defaultOptions), options);\n var splits = split(cron);\n if (splits.length > (options.seconds ? 6 : 5) || splits.length < 5) {\n return false;\n }\n var checks = [];\n if (splits.length === 6) {\n var seconds = splits.shift();\n if (seconds) {\n checks.push(hasValidSeconds(seconds));\n }\n }\n // We could only check the steps gradually and return false on the first invalid block,\n // However, this won't have any performance impact so why bother for now.\n var minutes = splits[0], hours = splits[1], days = splits[2], months = splits[3], weekdays = splits[4];\n checks.push(hasValidMinutes(minutes));\n checks.push(hasValidHours(hours));\n checks.push(hasValidDays(days, options.allowBlankDay));\n checks.push(hasValidMonths(months, options.alias));\n checks.push(hasValidWeekdays(weekdays, options.alias, options.allowBlankDay, options.allowSevenAsSunday));\n checks.push(hasCompatibleDayFormat(days, weekdays, options.allowBlankDay));\n return checks.every(Boolean);\n};\n//# sourceMappingURL=index.js.map","module.exports = __webpack_public_path__ + \"img/rackspace.6f98715f.svg\";","/*\nLanguage: Lua\nDescription: Lua is a powerful, efficient, lightweight, embeddable scripting language.\nAuthor: Andrew Fedorov \nCategory: common, scripting\nWebsite: https://www.lua.org\n*/\n\nfunction lua(hljs) {\n const OPENING_LONG_BRACKET = '\\\\[=*\\\\[';\n const CLOSING_LONG_BRACKET = '\\\\]=*\\\\]';\n const LONG_BRACKETS = {\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ 'self' ]\n };\n const COMMENTS = [\n hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),\n hljs.COMMENT(\n '--' + OPENING_LONG_BRACKET,\n CLOSING_LONG_BRACKET,\n {\n contains: [ LONG_BRACKETS ],\n relevance: 10\n }\n )\n ];\n return {\n name: 'Lua',\n keywords: {\n $pattern: hljs.UNDERSCORE_IDENT_RE,\n literal: \"true false nil\",\n keyword: \"and break do else elseif end for goto if in local not or repeat return then until while\",\n built_in:\n // Metatags and globals:\n '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len '\n + '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert '\n // Standard methods and properties:\n + 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring '\n + 'module next pairs pcall print rawequal rawget rawset require select setfenv '\n + 'setmetatable tonumber tostring type unpack xpcall arg self '\n // Library methods and properties (one line per library):\n + 'coroutine resume yield status wrap create running debug getupvalue '\n + 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv '\n + 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile '\n + 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan '\n + 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall '\n + 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower '\n + 'table setn insert getn foreachi maxn foreach concat sort remove'\n },\n contains: COMMENTS.concat([\n {\n className: 'function',\n beginKeywords: 'function',\n end: '\\\\)',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*' }),\n {\n className: 'params',\n begin: '\\\\(',\n endsWithParent: true,\n contains: COMMENTS\n }\n ].concat(COMMENTS)\n },\n hljs.C_NUMBER_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'string',\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ LONG_BRACKETS ],\n relevance: 5\n }\n ])\n };\n}\n\nmodule.exports = lua;\n","module.exports = __webpack_public_path__ + \"img/generic-catalog.99bdaecf.svg\";","module.exports = __webpack_public_path__ + \"img/amazonec2-black.d1821012.svg\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".key-value{width:100%}.key-value .file-selector.role-link{text-transform:none;padding:0}.key-value .kv-container{display:grid;align-items:center;-moz-column-gap:20px;column-gap:20px}.key-value .kv-container label{margin-bottom:0}.key-value .kv-container .kv-item{width:100%;margin:10px 0 10px 0}.key-value .kv-container .kv-item.extra,.key-value .kv-container .kv-item.key{align-self:flex-start}.key-value .kv-container .kv-item.value .value-container.upload-button{position:relative;display:flex;justify-content:right;align-items:center}.key-value .kv-container .kv-item.value .value-container .file-selector{position:absolute;margin-right:5px}.key-value .kv-container .kv-item.value textarea{padding:10px 10px 10px 10px}.key-value .kv-container .kv-item .text-monospace:not(.conceal){font-family:monospace,monospace}.key-value .remove{text-align:center}.key-value .remove BUTTON{padding:0}.key-value .title{margin-bottom:10px}.key-value .title .read-from-file{float:right}.key-value input{height:40px;line-height:1}.key-value .footer .protip{float:right;padding:5px 0}.key-value .download{text-align:right}.key-value .copy-value{padding:0 0 0 10px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\nconst KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_IN_VARIABLES = [\n \"arguments\",\n \"this\",\n \"super\",\n \"console\",\n \"window\",\n \"document\",\n \"localStorage\",\n \"module\",\n \"global\" // Node.js\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: JavaScript\nDescription: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.\nCategory: common, scripting, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n*/\n\n/** @type LanguageFn */\nfunction javascript(hljs) {\n const regex = hljs.regex;\n /**\n * Takes a string like \" {\n const tag = \"',\n end: ''\n };\n // to avoid some special cases inside isTrulyOpeningTag\n const XML_SELF_CLOSING = /<[A-Za-z0-9\\\\._:-]+\\s*\\/>/;\n const XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,\n /**\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n isTrulyOpeningTag: (match, response) => {\n const afterMatchIndex = match[0].length + match.index;\n const nextChar = match.input[afterMatchIndex];\n if (\n // HTML should not include another raw `<` inside a tag\n // nested type?\n // `>`, etc.\n nextChar === \"<\" ||\n // the , gives away that this is not HTML\n // ``\n nextChar === \",\") {\n response.ignoreMatch();\n return;\n }\n\n // ``\n // Quite possibly a tag, lets look for a matching closing tag...\n if (nextChar === \">\") {\n // if we cannot find a matching closing tag, then we\n // will ignore it\n if (!hasClosingTag(match, { after: afterMatchIndex })) {\n response.ignoreMatch();\n }\n }\n\n // `` (self-closing)\n // handled by simpleSelfClosing rule\n\n // ``\n // technically this could be HTML, but it smells like a type\n let m;\n const afterMatch = match.input.substring(afterMatchIndex);\n // NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276\n if ((m = afterMatch.match(/^\\s+extends\\s+/))) {\n if (m.index === 0) {\n response.ignoreMatch();\n // eslint-disable-next-line no-useless-return\n return;\n }\n }\n }\n };\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_INS,\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n // https://tc39.es/ecma262/#sec-literals-numeric-literals\n const decimalDigits = '[0-9](_?[0-9])*';\n const frac = `\\\\.(${decimalDigits})`;\n // DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;\n const NUMBER = {\n className: 'number',\n variants: [\n // DecimalLiteral\n { begin: `(\\\\b(${decimalInteger})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})\\\\b` },\n { begin: `\\\\b(${decimalInteger})\\\\b((${frac})\\\\b|\\\\.)?|(${frac})\\\\b` },\n\n // DecimalBigIntegerLiteral\n { begin: `\\\\b(0|[1-9](_?[0-9])*)n\\\\b` },\n\n // NonDecimalIntegerLiteral\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\" },\n\n // LegacyOctalIntegerLiteral (does not include underscore separators)\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n { begin: \"\\\\b0[0-7]+n?\\\\b\" },\n ],\n relevance: 0\n };\n\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS$1,\n contains: [] // defined later\n };\n const HTML_TEMPLATE = {\n begin: 'html`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml'\n }\n };\n const CSS_TEMPLATE = {\n begin: 'css`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css'\n }\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n const JSDOC_COMMENT = hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n begin: '(?=@[A-Za-z]+)',\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n },\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n excludeEnd: true,\n excludeBegin: true,\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE$1 + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n }\n ]\n }\n ]\n }\n );\n const COMMENT = {\n className: \"comment\",\n variants: [\n JSDOC_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]\n };\n const SUBST_INTERNALS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n NUMBER,\n // This is intentional:\n // See https://github.com/highlightjs/highlight.js/issues/3288\n // hljs.REGEXP_MODE\n ];\n SUBST.contains = SUBST_INTERNALS\n .concat({\n // we need to pair up {} inside our subst to prevent\n // it from ending too early by matching another }\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1,\n contains: [\n \"self\"\n ].concat(SUBST_INTERNALS)\n });\n const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);\n const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([\n // eat recursive parens in sub expressions\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [\"self\"].concat(SUBST_AND_COMMENTS)\n }\n ]);\n const PARAMS = {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n };\n\n // ES6 classes\n const CLASS_OR_EXTENDS = {\n variants: [\n // class Car extends vehicle\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1,\n /\\s+/,\n /extends/,\n /\\s+/,\n regex.concat(IDENT_RE$1, \"(\", regex.concat(/\\./, IDENT_RE$1), \")*\")\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 5: \"keyword\",\n 7: \"title.class.inherited\"\n }\n },\n // class Car\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n\n ]\n };\n\n const CLASS_REFERENCE = {\n relevance: 0,\n match:\n regex.either(\n // Hard coded exceptions\n /\\bJSON/,\n // Float32Array, OutT\n /\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,\n // CSSFactory, CSSFactoryT\n /\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,\n // FPs, FPsT\n /\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/,\n // P\n // single letters are not highlighted\n // BLAH\n // this will be flagged as a UPPER_CASE_CONSTANT instead\n ),\n className: \"title.class\",\n keywords: {\n _: [\n // se we still get relevance credit for JS library classes\n ...TYPES,\n ...ERROR_TYPES\n ]\n }\n };\n\n const USE_STRICT = {\n label: \"use_strict\",\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n };\n\n const FUNCTION_DEFINITION = {\n variants: [\n {\n match: [\n /function/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\s*\\()/\n ]\n },\n // anonymous function\n {\n match: [\n /function/,\n /\\s*(?=\\()/\n ]\n }\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n label: \"func.def\",\n contains: [ PARAMS ],\n illegal: /%/\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n function noneOf(list) {\n return regex.concat(\"(?!\", list.join(\"|\"), \")\");\n }\n\n const FUNCTION_CALL = {\n match: regex.concat(\n /\\b/,\n noneOf([\n ...BUILT_IN_GLOBALS,\n \"super\"\n ]),\n IDENT_RE$1, regex.lookahead(/\\(/)),\n className: \"title.function\",\n relevance: 0\n };\n\n const PROPERTY_ACCESS = {\n begin: regex.concat(/\\./, regex.lookahead(\n regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)\n )),\n end: IDENT_RE$1,\n excludeBegin: true,\n keywords: \"prototype\",\n className: \"property\",\n relevance: 0\n };\n\n const GETTER_OR_SETTER = {\n match: [\n /get|set/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\()/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n { // eat to avoid empty params\n begin: /\\(\\)/\n },\n PARAMS\n ]\n };\n\n const FUNC_LEAD_IN_RE = '(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\\\s*=>';\n\n const FUNCTION_VARIABLE = {\n match: [\n /const|var|let/, /\\s+/,\n IDENT_RE$1, /\\s*/,\n /=\\s*/,\n /(async\\s*)?/, // async is optional\n regex.lookahead(FUNC_LEAD_IN_RE)\n ],\n keywords: \"async\",\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n return {\n name: 'Javascript',\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS$1,\n // this will be extended by TypeScript\n exports: { PARAMS_CONTAINS, CLASS_REFERENCE },\n illegal: /#(?![$_A-z])/,\n contains: [\n hljs.SHEBANG({\n label: \"shebang\",\n binary: \"node\",\n relevance: 5\n }),\n USE_STRICT,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n COMMENT,\n NUMBER,\n CLASS_REFERENCE,\n {\n className: 'attr',\n begin: IDENT_RE$1 + regex.lookahead(':'),\n relevance: 0\n },\n FUNCTION_VARIABLE,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n relevance: 0,\n contains: [\n COMMENT,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n // we have to count the parens to make sure we actually have the\n // correct bounding ( ) before the =>. There could be any number of\n // sub-expressions inside also surrounded by parens.\n begin: FUNC_LEAD_IN_RE,\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n className: null,\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n { // could be a comma delimited list of params to a function call\n begin: /,/,\n relevance: 0\n },\n {\n match: /\\s+/,\n relevance: 0\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { match: XML_SELF_CLOSING },\n {\n begin: XML_TAG.begin,\n // we carefully check the opening tag to see if it truly\n // is a tag and not a false positive\n 'on:begin': XML_TAG.isTrulyOpeningTag,\n end: XML_TAG.end\n }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin,\n end: XML_TAG.end,\n skip: true,\n contains: ['self']\n }\n ]\n }\n ],\n },\n FUNCTION_DEFINITION,\n {\n // prevent this from getting swallowed up by function\n // since they appear \"function like\"\n beginKeywords: \"while if switch catch for\"\n },\n {\n // we have to count the parens to make sure we actually have the correct\n // bounding ( ). There could be any number of sub-expressions inside\n // also surrounded by parens.\n begin: '\\\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +\n '\\\\(' + // first parens\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)\\\\s*\\\\{', // end parens\n returnBegin:true,\n label: \"func.def\",\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: \"title.function\" })\n ]\n },\n // catch ... so it won't trigger the property rule below\n {\n match: /\\.\\.\\./,\n relevance: 0\n },\n PROPERTY_ACCESS,\n // hack: prevents detection of keywords in some circumstances\n // .keyword()\n // $keyword = x\n {\n match: '\\\\$' + IDENT_RE$1,\n relevance: 0\n },\n {\n match: [ /\\bconstructor(?=\\s*\\()/ ],\n className: { 1: \"title.function\" },\n contains: [ PARAMS ]\n },\n FUNCTION_CALL,\n UPPER_CASE_CONSTANT,\n CLASS_OR_EXTENDS,\n GETTER_OR_SETTER,\n {\n match: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n }\n ]\n };\n}\n\n/*\nLanguage: TypeScript\nAuthor: Panu Horsmalahti \nContributors: Ike Ku \nDescription: TypeScript is a strict superset of JavaScript\nWebsite: https://www.typescriptlang.org\nCategory: common, scripting\n*/\n\n/** @type LanguageFn */\nfunction typescript(hljs) {\n const tsLanguage = javascript(hljs);\n\n const IDENT_RE$1 = IDENT_RE;\n const TYPES = [\n \"any\",\n \"void\",\n \"number\",\n \"boolean\",\n \"string\",\n \"object\",\n \"never\",\n \"symbol\",\n \"bigint\",\n \"unknown\"\n ];\n const NAMESPACE = {\n beginKeywords: 'namespace',\n end: /\\{/,\n excludeEnd: true,\n contains: [ tsLanguage.exports.CLASS_REFERENCE ]\n };\n const INTERFACE = {\n beginKeywords: 'interface',\n end: /\\{/,\n excludeEnd: true,\n keywords: {\n keyword: 'interface extends',\n built_in: TYPES\n },\n contains: [ tsLanguage.exports.CLASS_REFERENCE ]\n };\n const USE_STRICT = {\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use strict['\"]/\n };\n const TS_SPECIFIC_KEYWORDS = [\n \"type\",\n \"namespace\",\n \"interface\",\n \"public\",\n \"private\",\n \"protected\",\n \"implements\",\n \"declare\",\n \"abstract\",\n \"readonly\",\n \"enum\",\n \"override\"\n ];\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),\n literal: LITERALS,\n built_in: BUILT_INS.concat(TYPES),\n \"variable.language\": BUILT_IN_VARIABLES\n };\n const DECORATOR = {\n className: 'meta',\n begin: '@' + IDENT_RE$1,\n };\n\n const swapMode = (mode, label, replacement) => {\n const indx = mode.contains.findIndex(m => m.label === label);\n if (indx === -1) { throw new Error(\"can not find mode to replace\"); }\n\n mode.contains.splice(indx, 1, replacement);\n };\n\n\n // this should update anywhere keywords is used since\n // it will be the same actual JS object\n Object.assign(tsLanguage.keywords, KEYWORDS$1);\n\n tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);\n tsLanguage.contains = tsLanguage.contains.concat([\n DECORATOR,\n NAMESPACE,\n INTERFACE,\n ]);\n\n // TS gets a simpler shebang rule than JS\n swapMode(tsLanguage, \"shebang\", hljs.SHEBANG());\n // JS use strict rule purposely excludes `asm` which makes no sense\n swapMode(tsLanguage, \"use_strict\", USE_STRICT);\n\n const functionDeclaration = tsLanguage.contains.find(m => m.label === \"func.def\");\n functionDeclaration.relevance = 0; // () => {} is more typical in TypeScript\n\n Object.assign(tsLanguage, {\n name: 'TypeScript',\n aliases: [\n 'ts',\n 'tsx'\n ]\n });\n\n return tsLanguage;\n}\n\nmodule.exports = typescript;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".overlay[data-v-23723280]{align-items:center;background-color:var(--overlay-bg);display:flex;justify-content:center;position:absolute;bottom:0;top:0;left:0;right:0;text-align:center;z-index:51}.overlay-content-mode[data-v-23723280],.overlay-main-mode[data-v-23723280]{top:var(--header-height)}.overlay-content-mode[data-v-23723280]{left:calc(var(--nav-width))}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","module.exports = __webpack_public_path__ + \"img/otccce.d7330474.svg\";","module.exports = __webpack_public_path__ + \"img/otc.d7330474.svg\";","module.exports = __webpack_public_path__ + \"img/googlegke.deaff14c.svg\";","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NameNsDescription.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NameNsDescription.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NameNsDescription.vue?vue&type=template&id=02ddcc7c&scoped=true\"\nimport script from \"./NameNsDescription.vue?vue&type=script&lang=js\"\nexport * from \"./NameNsDescription.vue?vue&type=script&lang=js\"\nimport style0 from \"./NameNsDescription.vue?vue&type=style&index=0&id=02ddcc7c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"02ddcc7c\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LabeledSelect.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LabeledSelect.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LabeledSelect.vue?vue&type=template&id=352c1bcf&scoped=true\"\nimport script from \"./LabeledSelect.vue?vue&type=script&lang=js\"\nexport * from \"./LabeledSelect.vue?vue&type=script&lang=js\"\nimport style0 from \"./LabeledSelect.vue?vue&type=style&index=0&id=352c1bcf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"352c1bcf\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=23723280&prod&lang=scss&scoped=true\"","/**\n * Sets the width of a DOM element. Adapted from [youmightnotneedjquery.com](https://youmightnotneedjquery.com/#set_width)\n * @param {Element} el - The target DOM element\n * @param {function | string | number} val - The desired width represented as a Number\n */\nexport function setWidth(el, val) {\n if (!el) {\n return;\n }\n\n if (typeof val === 'function') {\n val = val();\n }\n\n if (typeof val === 'string') {\n el.style.width = val;\n\n return;\n }\n\n el.style.width = `${ val }px`;\n}\n\n/**\n * Gets the width of a DOM element. Adapted from [youmightnotneedjquery.com](https://youmightnotneedjquery.com/#get_width)\n * @param {Element} el - The target DOM element\n * @returns Number representing the width for the provided element\n */\nexport function getWidth(el) {\n if (!el || !el.length) {\n return;\n }\n\n if (el.length) {\n return parseFloat(getComputedStyle(el[0]).width.replace('px', ''));\n } else {\n return parseFloat(getComputedStyle(el).width.replace('px', ''));\n }\n}\n","import Vue from 'vue';\nimport { _EDIT, _VIEW } from '@shell/config/query-params';\nimport { getWidth, setWidth } from '@shell/utils/width';\n\ninterface LabeledFormElement {\n raised: boolean;\n focused: boolean;\n blurred: number | null;\n}\n\nexport default Vue.extend({\n inheritAttrs: false,\n\n props: {\n mode: {\n type: String,\n default: _EDIT,\n },\n\n label: {\n type: String,\n default: null\n },\n\n labelKey: {\n type: String,\n default: null\n },\n\n placeholderKey: {\n type: String,\n default: null\n },\n\n tooltip: {\n type: [String, Object],\n default: null\n },\n\n hoverTooltip: {\n type: Boolean,\n default: true,\n },\n\n tooltipKey: {\n type: String,\n default: null\n },\n\n required: {\n type: Boolean,\n default: false,\n },\n\n disabled: {\n type: Boolean,\n default: false,\n },\n\n placeholder: {\n type: [String, Number],\n default: ''\n },\n\n value: {\n type: [String, Number, Object],\n default: ''\n },\n\n options: {\n default: null,\n type: Array\n },\n\n searchable: {\n default: false,\n type: Boolean\n },\n\n filterable: {\n default: true,\n type: Boolean\n },\n\n rules: {\n default: () => [],\n type: Array,\n // we only want functions in the rules array\n validator: (rules: any) => rules.every((rule: any) => ['function'].includes(typeof rule))\n },\n\n requireDirty: {\n default: true,\n type: Boolean\n }\n },\n\n data(): LabeledFormElement {\n return {\n raised: this.mode === _VIEW || !!`${ this.value }`,\n focused: false,\n blurred: null,\n };\n },\n\n computed: {\n requiredField(): boolean {\n // using \"any\" for a type on \"rule\" here is dirty but the use of the optional chaining operator makes it safe for what we're doing here.\n return (this.required || this.rules.some((rule: any): boolean => rule?.name === 'required'));\n },\n empty(): boolean {\n return !!`${ this.value }`;\n },\n\n isView(): boolean {\n return this.mode === _VIEW;\n },\n\n isDisabled(): boolean {\n return this.disabled || this.isView;\n },\n\n isSearchable(): boolean {\n const { searchable, canPaginate } = this as any; // This will be resolved when we migrate from mixin\n\n if (canPaginate) {\n return true;\n }\n const options = ( this.options || [] );\n\n if (searchable || options.length >= 10) {\n return true;\n }\n\n return false;\n },\n\n isFilterable(): boolean {\n const { filterable, canPaginate } = this as any; // This will be resolved when we migrate from mixin\n\n if (canPaginate) {\n return false;\n }\n\n return filterable;\n },\n\n validationMessage(): string | undefined {\n // we want to grab the required rule passed in if we can but if it's not there then we can just grab it from the formRulesGenerator\n const requiredRule = this.rules.find((rule: any) => rule?.name === 'required') as Function;\n const ruleMessages = [];\n const value = this?.value;\n\n if (requiredRule && this.blurred && !this.focused) {\n const message = requiredRule(value);\n\n if (!!message) {\n return message;\n }\n }\n\n for (const rule of this.rules as Function[]) {\n const message = rule(value);\n\n if (!!message && rule.name !== 'required') { // we're catching 'required' above so we can ignore it here\n ruleMessages.push(message);\n }\n }\n if (ruleMessages.length > 0 && (this.blurred || this.focused || !this.requireDirty)) {\n return ruleMessages.join(', ');\n } else {\n return undefined;\n }\n }\n },\n\n methods: {\n resizeHandler() {\n // since the DD is positioned there is no way to 'inherit' the size of the input, this calcs the size of the parent and set the dd width if it is smaller. If not let it grow with the regular styles\n this.$nextTick(() => {\n const DD = (this.$refs.select as HTMLElement).querySelector('ul.vs__dropdown-menu');\n\n const selectWidth = getWidth(this.$refs.select as Element) || 0;\n const dropWidth = getWidth(DD as Element) || 0;\n\n if (dropWidth < selectWidth) {\n setWidth(DD as Element, selectWidth);\n }\n });\n },\n onFocus() {\n this.$emit('on-focus');\n\n return this.onFocusLabeled();\n },\n\n onFocusLabeled() {\n this.raised = true;\n this.focused = true;\n },\n\n onBlur() {\n this.$emit('on-blur');\n\n return this.onBlurLabeled();\n },\n\n onBlurLabeled() {\n this.focused = false;\n\n if ( !this.value ) {\n this.raised = false;\n }\n\n this.blurred = Date.now();\n }\n }\n});\n","module.exports = __webpack_public_path__ + \"img/harvester.b14e570b.svg\";","var deepFreezeEs6 = {exports: {}};\n\nfunction deepFreeze(obj) {\n if (obj instanceof Map) {\n obj.clear = obj.delete = obj.set = function () {\n throw new Error('map is read-only');\n };\n } else if (obj instanceof Set) {\n obj.add = obj.clear = obj.delete = function () {\n throw new Error('set is read-only');\n };\n }\n\n // Freeze self\n Object.freeze(obj);\n\n Object.getOwnPropertyNames(obj).forEach(function (name) {\n var prop = obj[name];\n\n // Freeze prop if it is an object\n if (typeof prop == 'object' && !Object.isFrozen(prop)) {\n deepFreeze(prop);\n }\n });\n\n return obj;\n}\n\ndeepFreezeEs6.exports = deepFreeze;\ndeepFreezeEs6.exports.default = deepFreeze;\n\n/** @typedef {import('highlight.js').CallbackResponse} CallbackResponse */\n/** @typedef {import('highlight.js').CompiledMode} CompiledMode */\n/** @implements CallbackResponse */\n\nclass Response {\n /**\n * @param {CompiledMode} mode\n */\n constructor(mode) {\n // eslint-disable-next-line no-undefined\n if (mode.data === undefined) mode.data = {};\n\n this.data = mode.data;\n this.isMatchIgnored = false;\n }\n\n ignoreMatch() {\n this.isMatchIgnored = true;\n }\n}\n\n/**\n * @param {string} value\n * @returns {string}\n */\nfunction escapeHTML(value) {\n return value\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n}\n\n/**\n * performs a shallow merge of multiple objects into one\n *\n * @template T\n * @param {T} original\n * @param {Record[]} objects\n * @returns {T} a single new object\n */\nfunction inherit$1(original, ...objects) {\n /** @type Record */\n const result = Object.create(null);\n\n for (const key in original) {\n result[key] = original[key];\n }\n objects.forEach(function(obj) {\n for (const key in obj) {\n result[key] = obj[key];\n }\n });\n return /** @type {T} */ (result);\n}\n\n/**\n * @typedef {object} Renderer\n * @property {(text: string) => void} addText\n * @property {(node: Node) => void} openNode\n * @property {(node: Node) => void} closeNode\n * @property {() => string} value\n */\n\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean}} Node */\n/** @typedef {{walk: (r: Renderer) => void}} Tree */\n/** */\n\nconst SPAN_CLOSE = '';\n\n/**\n * Determines if a node needs to be wrapped in \n *\n * @param {Node} node */\nconst emitsWrappingTags = (node) => {\n // rarely we can have a sublanguage where language is undefined\n // TODO: track down why\n return !!node.scope || (node.sublanguage && node.language);\n};\n\n/**\n *\n * @param {string} name\n * @param {{prefix:string}} options\n */\nconst scopeToCSSClass = (name, { prefix }) => {\n if (name.includes(\".\")) {\n const pieces = name.split(\".\");\n return [\n `${prefix}${pieces.shift()}`,\n ...(pieces.map((x, i) => `${x}${\"_\".repeat(i + 1)}`))\n ].join(\" \");\n }\n return `${prefix}${name}`;\n};\n\n/** @type {Renderer} */\nclass HTMLRenderer {\n /**\n * Creates a new HTMLRenderer\n *\n * @param {Tree} parseTree - the parse tree (must support `walk` API)\n * @param {{classPrefix: string}} options\n */\n constructor(parseTree, options) {\n this.buffer = \"\";\n this.classPrefix = options.classPrefix;\n parseTree.walk(this);\n }\n\n /**\n * Adds texts to the output stream\n *\n * @param {string} text */\n addText(text) {\n this.buffer += escapeHTML(text);\n }\n\n /**\n * Adds a node open to the output stream (if needed)\n *\n * @param {Node} node */\n openNode(node) {\n if (!emitsWrappingTags(node)) return;\n\n let className = \"\";\n if (node.sublanguage) {\n className = `language-${node.language}`;\n } else {\n className = scopeToCSSClass(node.scope, { prefix: this.classPrefix });\n }\n this.span(className);\n }\n\n /**\n * Adds a node close to the output stream (if needed)\n *\n * @param {Node} node */\n closeNode(node) {\n if (!emitsWrappingTags(node)) return;\n\n this.buffer += SPAN_CLOSE;\n }\n\n /**\n * returns the accumulated buffer\n */\n value() {\n return this.buffer;\n }\n\n // helpers\n\n /**\n * Builds a span element\n *\n * @param {string} className */\n span(className) {\n this.buffer += ``;\n }\n}\n\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean, children: Node[]} | string} Node */\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean, children: Node[]} } DataNode */\n/** @typedef {import('highlight.js').Emitter} Emitter */\n/** */\n\n/** @returns {DataNode} */\nconst newNode = (opts = {}) => {\n /** @type DataNode */\n const result = { children: [] };\n Object.assign(result, opts);\n return result;\n};\n\nclass TokenTree {\n constructor() {\n /** @type DataNode */\n this.rootNode = newNode();\n this.stack = [this.rootNode];\n }\n\n get top() {\n return this.stack[this.stack.length - 1];\n }\n\n get root() { return this.rootNode; }\n\n /** @param {Node} node */\n add(node) {\n this.top.children.push(node);\n }\n\n /** @param {string} scope */\n openNode(scope) {\n /** @type Node */\n const node = newNode({ scope });\n this.add(node);\n this.stack.push(node);\n }\n\n closeNode() {\n if (this.stack.length > 1) {\n return this.stack.pop();\n }\n // eslint-disable-next-line no-undefined\n return undefined;\n }\n\n closeAllNodes() {\n while (this.closeNode());\n }\n\n toJSON() {\n return JSON.stringify(this.rootNode, null, 4);\n }\n\n /**\n * @typedef { import(\"./html_renderer\").Renderer } Renderer\n * @param {Renderer} builder\n */\n walk(builder) {\n // this does not\n return this.constructor._walk(builder, this.rootNode);\n // this works\n // return TokenTree._walk(builder, this.rootNode);\n }\n\n /**\n * @param {Renderer} builder\n * @param {Node} node\n */\n static _walk(builder, node) {\n if (typeof node === \"string\") {\n builder.addText(node);\n } else if (node.children) {\n builder.openNode(node);\n node.children.forEach((child) => this._walk(builder, child));\n builder.closeNode(node);\n }\n return builder;\n }\n\n /**\n * @param {Node} node\n */\n static _collapse(node) {\n if (typeof node === \"string\") return;\n if (!node.children) return;\n\n if (node.children.every(el => typeof el === \"string\")) {\n // node.text = node.children.join(\"\");\n // delete node.children;\n node.children = [node.children.join(\"\")];\n } else {\n node.children.forEach((child) => {\n TokenTree._collapse(child);\n });\n }\n }\n}\n\n/**\n Currently this is all private API, but this is the minimal API necessary\n that an Emitter must implement to fully support the parser.\n\n Minimal interface:\n\n - addKeyword(text, scope)\n - addText(text)\n - addSublanguage(emitter, subLanguageName)\n - finalize()\n - openNode(scope)\n - closeNode()\n - closeAllNodes()\n - toHTML()\n\n*/\n\n/**\n * @implements {Emitter}\n */\nclass TokenTreeEmitter extends TokenTree {\n /**\n * @param {*} options\n */\n constructor(options) {\n super();\n this.options = options;\n }\n\n /**\n * @param {string} text\n * @param {string} scope\n */\n addKeyword(text, scope) {\n if (text === \"\") { return; }\n\n this.openNode(scope);\n this.addText(text);\n this.closeNode();\n }\n\n /**\n * @param {string} text\n */\n addText(text) {\n if (text === \"\") { return; }\n\n this.add(text);\n }\n\n /**\n * @param {Emitter & {root: DataNode}} emitter\n * @param {string} name\n */\n addSublanguage(emitter, name) {\n /** @type DataNode */\n const node = emitter.root;\n node.sublanguage = true;\n node.language = name;\n this.add(node);\n }\n\n toHTML() {\n const renderer = new HTMLRenderer(this, this.options);\n return renderer.value();\n }\n\n finalize() {\n return true;\n }\n}\n\n/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction anyNumberOfTimes(re) {\n return concat('(?:', re, ')*');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction optional(re) {\n return concat('(?:', re, ')?');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/**\n * @param { Array } args\n * @returns {object}\n */\nfunction stripOptionsFromArgs(args) {\n const opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\nfunction either(...args) {\n /** @type { object & {capture?: boolean} } */\n const opts = stripOptionsFromArgs(args);\n const joined = '('\n + (opts.capture ? \"\" : \"?:\")\n + args.map((x) => source(x)).join(\"|\") + \")\";\n return joined;\n}\n\n/**\n * @param {RegExp | string} re\n * @returns {number}\n */\nfunction countMatchGroups(re) {\n return (new RegExp(re.toString() + '|')).exec('').length - 1;\n}\n\n/**\n * Does lexeme start with a regular expression match at the beginning\n * @param {RegExp} re\n * @param {string} lexeme\n */\nfunction startsWith(re, lexeme) {\n const match = re && re.exec(lexeme);\n return match && match.index === 0;\n}\n\n// BACKREF_RE matches an open parenthesis or backreference. To avoid\n// an incorrect parse, it additionally matches the following:\n// - [...] elements, where the meaning of parentheses and escapes change\n// - other escape sequences, so we do not misparse escape sequences as\n// interesting elements\n// - non-matching or lookahead parentheses, which do not capture. These\n// follow the '(' with a '?'.\nconst BACKREF_RE = /\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./;\n\n// **INTERNAL** Not intended for outside usage\n// join logically computes regexps.join(separator), but fixes the\n// backreferences so they continue to match.\n// it also places each individual regular expression into it's own\n// match group, keeping track of the sequencing of those match groups\n// is currently an exercise for the caller. :-)\n/**\n * @param {(string | RegExp)[]} regexps\n * @param {{joinWith: string}} opts\n * @returns {string}\n */\nfunction _rewriteBackreferences(regexps, { joinWith }) {\n let numCaptures = 0;\n\n return regexps.map((regex) => {\n numCaptures += 1;\n const offset = numCaptures;\n let re = source(regex);\n let out = '';\n\n while (re.length > 0) {\n const match = BACKREF_RE.exec(re);\n if (!match) {\n out += re;\n break;\n }\n out += re.substring(0, match.index);\n re = re.substring(match.index + match[0].length);\n if (match[0][0] === '\\\\' && match[1]) {\n // Adjust the backreference.\n out += '\\\\' + String(Number(match[1]) + offset);\n } else {\n out += match[0];\n if (match[0] === '(') {\n numCaptures++;\n }\n }\n }\n return out;\n }).map(re => `(${re})`).join(joinWith);\n}\n\n/** @typedef {import('highlight.js').Mode} Mode */\n/** @typedef {import('highlight.js').ModeCallback} ModeCallback */\n\n// Common regexps\nconst MATCH_NOTHING_RE = /\\b\\B/;\nconst IDENT_RE = '[a-zA-Z]\\\\w*';\nconst UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\\\w*';\nconst NUMBER_RE = '\\\\b\\\\d+(\\\\.\\\\d+)?';\nconst C_NUMBER_RE = '(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)'; // 0x..., 0..., decimal, float\nconst BINARY_NUMBER_RE = '\\\\b(0b[01]+)'; // 0b...\nconst RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~';\n\n/**\n* @param { Partial & {binary?: string | RegExp} } opts\n*/\nconst SHEBANG = (opts = {}) => {\n const beginShebang = /^#![ ]*\\//;\n if (opts.binary) {\n opts.begin = concat(\n beginShebang,\n /.*\\b/,\n opts.binary,\n /\\b.*/);\n }\n return inherit$1({\n scope: 'meta',\n begin: beginShebang,\n end: /$/,\n relevance: 0,\n /** @type {ModeCallback} */\n \"on:begin\": (m, resp) => {\n if (m.index !== 0) resp.ignoreMatch();\n }\n }, opts);\n};\n\n// Common modes\nconst BACKSLASH_ESCAPE = {\n begin: '\\\\\\\\[\\\\s\\\\S]', relevance: 0\n};\nconst APOS_STRING_MODE = {\n scope: 'string',\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nconst QUOTE_STRING_MODE = {\n scope: 'string',\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nconst PHRASAL_WORDS_MODE = {\n begin: /\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/\n};\n/**\n * Creates a comment mode\n *\n * @param {string | RegExp} begin\n * @param {string | RegExp} end\n * @param {Mode | {}} [modeOptions]\n * @returns {Partial}\n */\nconst COMMENT = function(begin, end, modeOptions = {}) {\n const mode = inherit$1(\n {\n scope: 'comment',\n begin,\n end,\n contains: []\n },\n modeOptions\n );\n mode.contains.push({\n scope: 'doctag',\n // hack to avoid the space from being included. the space is necessary to\n // match here to prevent the plain text rule below from gobbling up doctags\n begin: '[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)',\n end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,\n excludeBegin: true,\n relevance: 0\n });\n const ENGLISH_WORD = either(\n // list of common 1 and 2 letter words in English\n \"I\",\n \"a\",\n \"is\",\n \"so\",\n \"us\",\n \"to\",\n \"at\",\n \"if\",\n \"in\",\n \"it\",\n \"on\",\n // note: this is not an exhaustive list of contractions, just popular ones\n /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, // contractions - can't we'd they're let's, etc\n /[A-Za-z]+[-][a-z]+/, // `no-way`, etc.\n /[A-Za-z][a-z]{2,}/ // allow capitalized words at beginning of sentences\n );\n // looking like plain text, more likely to be a comment\n mode.contains.push(\n {\n // TODO: how to include \", (, ) without breaking grammars that use these for\n // comment delimiters?\n // begin: /[ ]+([()\"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()\":]?([.][ ]|[ ]|\\))){3}/\n // ---\n\n // this tries to find sequences of 3 english words in a row (without any\n // \"programming\" type syntax) this gives us a strong signal that we've\n // TRULY found a comment - vs perhaps scanning with the wrong language.\n // It's possible to find something that LOOKS like the start of the\n // comment - but then if there is no readable text - good chance it is a\n // false match and not a comment.\n //\n // for a visual example please see:\n // https://github.com/highlightjs/highlight.js/issues/2827\n\n begin: concat(\n /[ ]+/, // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */\n '(',\n ENGLISH_WORD,\n /[.]?[:]?([.][ ]|[ ])/,\n '){3}') // look for 3 words in a row\n }\n );\n return mode;\n};\nconst C_LINE_COMMENT_MODE = COMMENT('//', '$');\nconst C_BLOCK_COMMENT_MODE = COMMENT('/\\\\*', '\\\\*/');\nconst HASH_COMMENT_MODE = COMMENT('#', '$');\nconst NUMBER_MODE = {\n scope: 'number',\n begin: NUMBER_RE,\n relevance: 0\n};\nconst C_NUMBER_MODE = {\n scope: 'number',\n begin: C_NUMBER_RE,\n relevance: 0\n};\nconst BINARY_NUMBER_MODE = {\n scope: 'number',\n begin: BINARY_NUMBER_RE,\n relevance: 0\n};\nconst REGEXP_MODE = {\n // this outer rule makes sure we actually have a WHOLE regex and not simply\n // an expression such as:\n //\n // 3 / something\n //\n // (which will then blow up when regex's `illegal` sees the newline)\n begin: /(?=\\/[^/\\n]*\\/)/,\n contains: [{\n scope: 'regexp',\n begin: /\\//,\n end: /\\/[gimuy]*/,\n illegal: /\\n/,\n contains: [\n BACKSLASH_ESCAPE,\n {\n begin: /\\[/,\n end: /\\]/,\n relevance: 0,\n contains: [BACKSLASH_ESCAPE]\n }\n ]\n }]\n};\nconst TITLE_MODE = {\n scope: 'title',\n begin: IDENT_RE,\n relevance: 0\n};\nconst UNDERSCORE_TITLE_MODE = {\n scope: 'title',\n begin: UNDERSCORE_IDENT_RE,\n relevance: 0\n};\nconst METHOD_GUARD = {\n // excludes method names from keyword processing\n begin: '\\\\.\\\\s*' + UNDERSCORE_IDENT_RE,\n relevance: 0\n};\n\n/**\n * Adds end same as begin mechanics to a mode\n *\n * Your mode must include at least a single () match group as that first match\n * group is what is used for comparison\n * @param {Partial} mode\n */\nconst END_SAME_AS_BEGIN = function(mode) {\n return Object.assign(mode,\n {\n /** @type {ModeCallback} */\n 'on:begin': (m, resp) => { resp.data._beginMatch = m[1]; },\n /** @type {ModeCallback} */\n 'on:end': (m, resp) => { if (resp.data._beginMatch !== m[1]) resp.ignoreMatch(); }\n });\n};\n\nvar MODES = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MATCH_NOTHING_RE: MATCH_NOTHING_RE,\n IDENT_RE: IDENT_RE,\n UNDERSCORE_IDENT_RE: UNDERSCORE_IDENT_RE,\n NUMBER_RE: NUMBER_RE,\n C_NUMBER_RE: C_NUMBER_RE,\n BINARY_NUMBER_RE: BINARY_NUMBER_RE,\n RE_STARTERS_RE: RE_STARTERS_RE,\n SHEBANG: SHEBANG,\n BACKSLASH_ESCAPE: BACKSLASH_ESCAPE,\n APOS_STRING_MODE: APOS_STRING_MODE,\n QUOTE_STRING_MODE: QUOTE_STRING_MODE,\n PHRASAL_WORDS_MODE: PHRASAL_WORDS_MODE,\n COMMENT: COMMENT,\n C_LINE_COMMENT_MODE: C_LINE_COMMENT_MODE,\n C_BLOCK_COMMENT_MODE: C_BLOCK_COMMENT_MODE,\n HASH_COMMENT_MODE: HASH_COMMENT_MODE,\n NUMBER_MODE: NUMBER_MODE,\n C_NUMBER_MODE: C_NUMBER_MODE,\n BINARY_NUMBER_MODE: BINARY_NUMBER_MODE,\n REGEXP_MODE: REGEXP_MODE,\n TITLE_MODE: TITLE_MODE,\n UNDERSCORE_TITLE_MODE: UNDERSCORE_TITLE_MODE,\n METHOD_GUARD: METHOD_GUARD,\n END_SAME_AS_BEGIN: END_SAME_AS_BEGIN\n});\n\n/**\n@typedef {import('highlight.js').CallbackResponse} CallbackResponse\n@typedef {import('highlight.js').CompilerExt} CompilerExt\n*/\n\n// Grammar extensions / plugins\n// See: https://github.com/highlightjs/highlight.js/issues/2833\n\n// Grammar extensions allow \"syntactic sugar\" to be added to the grammar modes\n// without requiring any underlying changes to the compiler internals.\n\n// `compileMatch` being the perfect small example of now allowing a grammar\n// author to write `match` when they desire to match a single expression rather\n// than being forced to use `begin`. The extension then just moves `match` into\n// `begin` when it runs. Ie, no features have been added, but we've just made\n// the experience of writing (and reading grammars) a little bit nicer.\n\n// ------\n\n// TODO: We need negative look-behind support to do this properly\n/**\n * Skip a match if it has a preceding dot\n *\n * This is used for `beginKeywords` to prevent matching expressions such as\n * `bob.keyword.do()`. The mode compiler automatically wires this up as a\n * special _internal_ 'on:begin' callback for modes with `beginKeywords`\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\nfunction skipIfHasPrecedingDot(match, response) {\n const before = match.input[match.index - 1];\n if (before === \".\") {\n response.ignoreMatch();\n }\n}\n\n/**\n *\n * @type {CompilerExt}\n */\nfunction scopeClassName(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.className !== undefined) {\n mode.scope = mode.className;\n delete mode.className;\n }\n}\n\n/**\n * `beginKeywords` syntactic sugar\n * @type {CompilerExt}\n */\nfunction beginKeywords(mode, parent) {\n if (!parent) return;\n if (!mode.beginKeywords) return;\n\n // for languages with keywords that include non-word characters checking for\n // a word boundary is not sufficient, so instead we check for a word boundary\n // or whitespace - this does no harm in any case since our keyword engine\n // doesn't allow spaces in keywords anyways and we still check for the boundary\n // first\n mode.begin = '\\\\b(' + mode.beginKeywords.split(' ').join('|') + ')(?!\\\\.)(?=\\\\b|\\\\s)';\n mode.__beforeBegin = skipIfHasPrecedingDot;\n mode.keywords = mode.keywords || mode.beginKeywords;\n delete mode.beginKeywords;\n\n // prevents double relevance, the keywords themselves provide\n // relevance, the mode doesn't need to double it\n // eslint-disable-next-line no-undefined\n if (mode.relevance === undefined) mode.relevance = 0;\n}\n\n/**\n * Allow `illegal` to contain an array of illegal values\n * @type {CompilerExt}\n */\nfunction compileIllegal(mode, _parent) {\n if (!Array.isArray(mode.illegal)) return;\n\n mode.illegal = either(...mode.illegal);\n}\n\n/**\n * `match` to match a single expression for readability\n * @type {CompilerExt}\n */\nfunction compileMatch(mode, _parent) {\n if (!mode.match) return;\n if (mode.begin || mode.end) throw new Error(\"begin & end are not supported with match\");\n\n mode.begin = mode.match;\n delete mode.match;\n}\n\n/**\n * provides the default 1 relevance to all modes\n * @type {CompilerExt}\n */\nfunction compileRelevance(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.relevance === undefined) mode.relevance = 1;\n}\n\n// allow beforeMatch to act as a \"qualifier\" for the match\n// the full match begin must be [beforeMatch][begin]\nconst beforeMatchExt = (mode, parent) => {\n if (!mode.beforeMatch) return;\n // starts conflicts with endsParent which we need to make sure the child\n // rule is not matched multiple times\n if (mode.starts) throw new Error(\"beforeMatch cannot be used with starts\");\n\n const originalMode = Object.assign({}, mode);\n Object.keys(mode).forEach((key) => { delete mode[key]; });\n\n mode.keywords = originalMode.keywords;\n mode.begin = concat(originalMode.beforeMatch, lookahead(originalMode.begin));\n mode.starts = {\n relevance: 0,\n contains: [\n Object.assign(originalMode, { endsParent: true })\n ]\n };\n mode.relevance = 0;\n\n delete originalMode.beforeMatch;\n};\n\n// keywords that should have no default relevance value\nconst COMMON_KEYWORDS = [\n 'of',\n 'and',\n 'for',\n 'in',\n 'not',\n 'or',\n 'if',\n 'then',\n 'parent', // common variable name\n 'list', // common variable name\n 'value' // common variable name\n];\n\nconst DEFAULT_KEYWORD_SCOPE = \"keyword\";\n\n/**\n * Given raw keywords from a language definition, compile them.\n *\n * @param {string | Record | Array} rawKeywords\n * @param {boolean} caseInsensitive\n */\nfunction compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {\n /** @type KeywordDict */\n const compiledKeywords = Object.create(null);\n\n // input can be a string of keywords, an array of keywords, or a object with\n // named keys representing scopeName (which can then point to a string or array)\n if (typeof rawKeywords === 'string') {\n compileList(scopeName, rawKeywords.split(\" \"));\n } else if (Array.isArray(rawKeywords)) {\n compileList(scopeName, rawKeywords);\n } else {\n Object.keys(rawKeywords).forEach(function(scopeName) {\n // collapse all our objects back into the parent object\n Object.assign(\n compiledKeywords,\n compileKeywords(rawKeywords[scopeName], caseInsensitive, scopeName)\n );\n });\n }\n return compiledKeywords;\n\n // ---\n\n /**\n * Compiles an individual list of keywords\n *\n * Ex: \"for if when while|5\"\n *\n * @param {string} scopeName\n * @param {Array} keywordList\n */\n function compileList(scopeName, keywordList) {\n if (caseInsensitive) {\n keywordList = keywordList.map(x => x.toLowerCase());\n }\n keywordList.forEach(function(keyword) {\n const pair = keyword.split('|');\n compiledKeywords[pair[0]] = [scopeName, scoreForKeyword(pair[0], pair[1])];\n });\n }\n}\n\n/**\n * Returns the proper score for a given keyword\n *\n * Also takes into account comment keywords, which will be scored 0 UNLESS\n * another score has been manually assigned.\n * @param {string} keyword\n * @param {string} [providedScore]\n */\nfunction scoreForKeyword(keyword, providedScore) {\n // manual scores always win over common keywords\n // so you can force a score of 1 if you really insist\n if (providedScore) {\n return Number(providedScore);\n }\n\n return commonKeyword(keyword) ? 0 : 1;\n}\n\n/**\n * Determines if a given keyword is common or not\n *\n * @param {string} keyword */\nfunction commonKeyword(keyword) {\n return COMMON_KEYWORDS.includes(keyword.toLowerCase());\n}\n\n/*\n\nFor the reasoning behind this please see:\nhttps://github.com/highlightjs/highlight.js/issues/2880#issuecomment-747275419\n\n*/\n\n/**\n * @type {Record}\n */\nconst seenDeprecations = {};\n\n/**\n * @param {string} message\n */\nconst error = (message) => {\n console.error(message);\n};\n\n/**\n * @param {string} message\n * @param {any} args\n */\nconst warn = (message, ...args) => {\n console.log(`WARN: ${message}`, ...args);\n};\n\n/**\n * @param {string} version\n * @param {string} message\n */\nconst deprecated = (version, message) => {\n if (seenDeprecations[`${version}/${message}`]) return;\n\n console.log(`Deprecated as of ${version}. ${message}`);\n seenDeprecations[`${version}/${message}`] = true;\n};\n\n/* eslint-disable no-throw-literal */\n\n/**\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n*/\n\nconst MultiClassError = new Error();\n\n/**\n * Renumbers labeled scope names to account for additional inner match\n * groups that otherwise would break everything.\n *\n * Lets say we 3 match scopes:\n *\n * { 1 => ..., 2 => ..., 3 => ... }\n *\n * So what we need is a clean match like this:\n *\n * (a)(b)(c) => [ \"a\", \"b\", \"c\" ]\n *\n * But this falls apart with inner match groups:\n *\n * (a)(((b)))(c) => [\"a\", \"b\", \"b\", \"b\", \"c\" ]\n *\n * Our scopes are now \"out of alignment\" and we're repeating `b` 3 times.\n * What needs to happen is the numbers are remapped:\n *\n * { 1 => ..., 2 => ..., 5 => ... }\n *\n * We also need to know that the ONLY groups that should be output\n * are 1, 2, and 5. This function handles this behavior.\n *\n * @param {CompiledMode} mode\n * @param {Array} regexes\n * @param {{key: \"beginScope\"|\"endScope\"}} opts\n */\nfunction remapScopeNames(mode, regexes, { key }) {\n let offset = 0;\n const scopeNames = mode[key];\n /** @type Record */\n const emit = {};\n /** @type Record */\n const positions = {};\n\n for (let i = 1; i <= regexes.length; i++) {\n positions[i + offset] = scopeNames[i];\n emit[i + offset] = true;\n offset += countMatchGroups(regexes[i - 1]);\n }\n // we use _emit to keep track of which match groups are \"top-level\" to avoid double\n // output from inside match groups\n mode[key] = positions;\n mode[key]._emit = emit;\n mode[key]._multi = true;\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction beginMultiClass(mode) {\n if (!Array.isArray(mode.begin)) return;\n\n if (mode.skip || mode.excludeBegin || mode.returnBegin) {\n error(\"skip, excludeBegin, returnBegin not compatible with beginScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.beginScope !== \"object\" || mode.beginScope === null) {\n error(\"beginScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.begin, { key: \"beginScope\" });\n mode.begin = _rewriteBackreferences(mode.begin, { joinWith: \"\" });\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction endMultiClass(mode) {\n if (!Array.isArray(mode.end)) return;\n\n if (mode.skip || mode.excludeEnd || mode.returnEnd) {\n error(\"skip, excludeEnd, returnEnd not compatible with endScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.endScope !== \"object\" || mode.endScope === null) {\n error(\"endScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.end, { key: \"endScope\" });\n mode.end = _rewriteBackreferences(mode.end, { joinWith: \"\" });\n}\n\n/**\n * this exists only to allow `scope: {}` to be used beside `match:`\n * Otherwise `beginScope` would necessary and that would look weird\n\n {\n match: [ /def/, /\\w+/ ]\n scope: { 1: \"keyword\" , 2: \"title\" }\n }\n\n * @param {CompiledMode} mode\n */\nfunction scopeSugar(mode) {\n if (mode.scope && typeof mode.scope === \"object\" && mode.scope !== null) {\n mode.beginScope = mode.scope;\n delete mode.scope;\n }\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction MultiClass(mode) {\n scopeSugar(mode);\n\n if (typeof mode.beginScope === \"string\") {\n mode.beginScope = { _wrap: mode.beginScope };\n }\n if (typeof mode.endScope === \"string\") {\n mode.endScope = { _wrap: mode.endScope };\n }\n\n beginMultiClass(mode);\n endMultiClass(mode);\n}\n\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').CompiledLanguage} CompiledLanguage\n*/\n\n// compilation\n\n/**\n * Compiles a language definition result\n *\n * Given the raw result of a language definition (Language), compiles this so\n * that it is ready for highlighting code.\n * @param {Language} language\n * @returns {CompiledLanguage}\n */\nfunction compileLanguage(language) {\n /**\n * Builds a regex with the case sensitivity of the current language\n *\n * @param {RegExp | string} value\n * @param {boolean} [global]\n */\n function langRe(value, global) {\n return new RegExp(\n source(value),\n 'm'\n + (language.case_insensitive ? 'i' : '')\n + (language.unicodeRegex ? 'u' : '')\n + (global ? 'g' : '')\n );\n }\n\n /**\n Stores multiple regular expressions and allows you to quickly search for\n them all in a string simultaneously - returning the first match. It does\n this by creating a huge (a|b|c) regex - each individual item wrapped with ()\n and joined by `|` - using match groups to track position. When a match is\n found checking which position in the array has content allows us to figure\n out which of the original regexes / match groups triggered the match.\n\n The match object itself (the result of `Regex.exec`) is returned but also\n enhanced by merging in any meta-data that was registered with the regex.\n This is how we keep track of which mode matched, and what type of rule\n (`illegal`, `begin`, end, etc).\n */\n class MultiRegex {\n constructor() {\n this.matchIndexes = {};\n // @ts-ignore\n this.regexes = [];\n this.matchAt = 1;\n this.position = 0;\n }\n\n // @ts-ignore\n addRule(re, opts) {\n opts.position = this.position++;\n // @ts-ignore\n this.matchIndexes[this.matchAt] = opts;\n this.regexes.push([opts, re]);\n this.matchAt += countMatchGroups(re) + 1;\n }\n\n compile() {\n if (this.regexes.length === 0) {\n // avoids the need to check length every time exec is called\n // @ts-ignore\n this.exec = () => null;\n }\n const terminators = this.regexes.map(el => el[1]);\n this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: '|' }), true);\n this.lastIndex = 0;\n }\n\n /** @param {string} s */\n exec(s) {\n this.matcherRe.lastIndex = this.lastIndex;\n const match = this.matcherRe.exec(s);\n if (!match) { return null; }\n\n // eslint-disable-next-line no-undefined\n const i = match.findIndex((el, i) => i > 0 && el !== undefined);\n // @ts-ignore\n const matchData = this.matchIndexes[i];\n // trim off any earlier non-relevant match groups (ie, the other regex\n // match groups that make up the multi-matcher)\n match.splice(0, i);\n\n return Object.assign(match, matchData);\n }\n }\n\n /*\n Created to solve the key deficiently with MultiRegex - there is no way to\n test for multiple matches at a single location. Why would we need to do\n that? In the future a more dynamic engine will allow certain matches to be\n ignored. An example: if we matched say the 3rd regex in a large group but\n decided to ignore it - we'd need to started testing again at the 4th\n regex... but MultiRegex itself gives us no real way to do that.\n\n So what this class creates MultiRegexs on the fly for whatever search\n position they are needed.\n\n NOTE: These additional MultiRegex objects are created dynamically. For most\n grammars most of the time we will never actually need anything more than the\n first MultiRegex - so this shouldn't have too much overhead.\n\n Say this is our search group, and we match regex3, but wish to ignore it.\n\n regex1 | regex2 | regex3 | regex4 | regex5 ' ie, startAt = 0\n\n What we need is a new MultiRegex that only includes the remaining\n possibilities:\n\n regex4 | regex5 ' ie, startAt = 3\n\n This class wraps all that complexity up in a simple API... `startAt` decides\n where in the array of expressions to start doing the matching. It\n auto-increments, so if a match is found at position 2, then startAt will be\n set to 3. If the end is reached startAt will return to 0.\n\n MOST of the time the parser will be setting startAt manually to 0.\n */\n class ResumableMultiRegex {\n constructor() {\n // @ts-ignore\n this.rules = [];\n // @ts-ignore\n this.multiRegexes = [];\n this.count = 0;\n\n this.lastIndex = 0;\n this.regexIndex = 0;\n }\n\n // @ts-ignore\n getMatcher(index) {\n if (this.multiRegexes[index]) return this.multiRegexes[index];\n\n const matcher = new MultiRegex();\n this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));\n matcher.compile();\n this.multiRegexes[index] = matcher;\n return matcher;\n }\n\n resumingScanAtSamePosition() {\n return this.regexIndex !== 0;\n }\n\n considerAll() {\n this.regexIndex = 0;\n }\n\n // @ts-ignore\n addRule(re, opts) {\n this.rules.push([re, opts]);\n if (opts.type === \"begin\") this.count++;\n }\n\n /** @param {string} s */\n exec(s) {\n const m = this.getMatcher(this.regexIndex);\n m.lastIndex = this.lastIndex;\n let result = m.exec(s);\n\n // The following is because we have no easy way to say \"resume scanning at the\n // existing position but also skip the current rule ONLY\". What happens is\n // all prior rules are also skipped which can result in matching the wrong\n // thing. Example of matching \"booger\":\n\n // our matcher is [string, \"booger\", number]\n //\n // ....booger....\n\n // if \"booger\" is ignored then we'd really need a regex to scan from the\n // SAME position for only: [string, number] but ignoring \"booger\" (if it\n // was the first match), a simple resume would scan ahead who knows how\n // far looking only for \"number\", ignoring potential string matches (or\n // future \"booger\" matches that might be valid.)\n\n // So what we do: We execute two matchers, one resuming at the same\n // position, but the second full matcher starting at the position after:\n\n // /--- resume first regex match here (for [number])\n // |/---- full match here for [string, \"booger\", number]\n // vv\n // ....booger....\n\n // Which ever results in a match first is then used. So this 3-4 step\n // process essentially allows us to say \"match at this position, excluding\n // a prior rule that was ignored\".\n //\n // 1. Match \"booger\" first, ignore. Also proves that [string] does non match.\n // 2. Resume matching for [number]\n // 3. Match at index + 1 for [string, \"booger\", number]\n // 4. If #2 and #3 result in matches, which came first?\n if (this.resumingScanAtSamePosition()) {\n if (result && result.index === this.lastIndex) ; else { // use the second matcher result\n const m2 = this.getMatcher(0);\n m2.lastIndex = this.lastIndex + 1;\n result = m2.exec(s);\n }\n }\n\n if (result) {\n this.regexIndex += result.position + 1;\n if (this.regexIndex === this.count) {\n // wrap-around to considering all matches again\n this.considerAll();\n }\n }\n\n return result;\n }\n }\n\n /**\n * Given a mode, builds a huge ResumableMultiRegex that can be used to walk\n * the content and find matches.\n *\n * @param {CompiledMode} mode\n * @returns {ResumableMultiRegex}\n */\n function buildModeRegex(mode) {\n const mm = new ResumableMultiRegex();\n\n mode.contains.forEach(term => mm.addRule(term.begin, { rule: term, type: \"begin\" }));\n\n if (mode.terminatorEnd) {\n mm.addRule(mode.terminatorEnd, { type: \"end\" });\n }\n if (mode.illegal) {\n mm.addRule(mode.illegal, { type: \"illegal\" });\n }\n\n return mm;\n }\n\n /** skip vs abort vs ignore\n *\n * @skip - The mode is still entered and exited normally (and contains rules apply),\n * but all content is held and added to the parent buffer rather than being\n * output when the mode ends. Mostly used with `sublanguage` to build up\n * a single large buffer than can be parsed by sublanguage.\n *\n * - The mode begin ands ends normally.\n * - Content matched is added to the parent mode buffer.\n * - The parser cursor is moved forward normally.\n *\n * @abort - A hack placeholder until we have ignore. Aborts the mode (as if it\n * never matched) but DOES NOT continue to match subsequent `contains`\n * modes. Abort is bad/suboptimal because it can result in modes\n * farther down not getting applied because an earlier rule eats the\n * content but then aborts.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is added to the mode buffer.\n * - The parser cursor is moved forward accordingly.\n *\n * @ignore - Ignores the mode (as if it never matched) and continues to match any\n * subsequent `contains` modes. Ignore isn't technically possible with\n * the current parser implementation.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is ignored.\n * - The parser cursor is not moved forward.\n */\n\n /**\n * Compiles an individual mode\n *\n * This can raise an error if the mode contains certain detectable known logic\n * issues.\n * @param {Mode} mode\n * @param {CompiledMode | null} [parent]\n * @returns {CompiledMode | never}\n */\n function compileMode(mode, parent) {\n const cmode = /** @type CompiledMode */ (mode);\n if (mode.isCompiled) return cmode;\n\n [\n scopeClassName,\n // do this early so compiler extensions generally don't have to worry about\n // the distinction between match/begin\n compileMatch,\n MultiClass,\n beforeMatchExt\n ].forEach(ext => ext(mode, parent));\n\n language.compilerExtensions.forEach(ext => ext(mode, parent));\n\n // __beforeBegin is considered private API, internal use only\n mode.__beforeBegin = null;\n\n [\n beginKeywords,\n // do this later so compiler extensions that come earlier have access to the\n // raw array if they wanted to perhaps manipulate it, etc.\n compileIllegal,\n // default to 1 relevance if not specified\n compileRelevance\n ].forEach(ext => ext(mode, parent));\n\n mode.isCompiled = true;\n\n let keywordPattern = null;\n if (typeof mode.keywords === \"object\" && mode.keywords.$pattern) {\n // we need a copy because keywords might be compiled multiple times\n // so we can't go deleting $pattern from the original on the first\n // pass\n mode.keywords = Object.assign({}, mode.keywords);\n keywordPattern = mode.keywords.$pattern;\n delete mode.keywords.$pattern;\n }\n keywordPattern = keywordPattern || /\\w+/;\n\n if (mode.keywords) {\n mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);\n }\n\n cmode.keywordPatternRe = langRe(keywordPattern, true);\n\n if (parent) {\n if (!mode.begin) mode.begin = /\\B|\\b/;\n cmode.beginRe = langRe(cmode.begin);\n if (!mode.end && !mode.endsWithParent) mode.end = /\\B|\\b/;\n if (mode.end) cmode.endRe = langRe(cmode.end);\n cmode.terminatorEnd = source(cmode.end) || '';\n if (mode.endsWithParent && parent.terminatorEnd) {\n cmode.terminatorEnd += (mode.end ? '|' : '') + parent.terminatorEnd;\n }\n }\n if (mode.illegal) cmode.illegalRe = langRe(/** @type {RegExp | string} */ (mode.illegal));\n if (!mode.contains) mode.contains = [];\n\n mode.contains = [].concat(...mode.contains.map(function(c) {\n return expandOrCloneMode(c === 'self' ? mode : c);\n }));\n mode.contains.forEach(function(c) { compileMode(/** @type Mode */ (c), cmode); });\n\n if (mode.starts) {\n compileMode(mode.starts, parent);\n }\n\n cmode.matcher = buildModeRegex(cmode);\n return cmode;\n }\n\n if (!language.compilerExtensions) language.compilerExtensions = [];\n\n // self is not valid at the top-level\n if (language.contains && language.contains.includes('self')) {\n throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\");\n }\n\n // we need a null object, which inherit will guarantee\n language.classNameAliases = inherit$1(language.classNameAliases || {});\n\n return compileMode(/** @type Mode */ (language));\n}\n\n/**\n * Determines if a mode has a dependency on it's parent or not\n *\n * If a mode does have a parent dependency then often we need to clone it if\n * it's used in multiple places so that each copy points to the correct parent,\n * where-as modes without a parent can often safely be re-used at the bottom of\n * a mode chain.\n *\n * @param {Mode | null} mode\n * @returns {boolean} - is there a dependency on the parent?\n * */\nfunction dependencyOnParent(mode) {\n if (!mode) return false;\n\n return mode.endsWithParent || dependencyOnParent(mode.starts);\n}\n\n/**\n * Expands a mode or clones it if necessary\n *\n * This is necessary for modes with parental dependenceis (see notes on\n * `dependencyOnParent`) and for nodes that have `variants` - which must then be\n * exploded into their own individual modes at compile time.\n *\n * @param {Mode} mode\n * @returns {Mode | Mode[]}\n * */\nfunction expandOrCloneMode(mode) {\n if (mode.variants && !mode.cachedVariants) {\n mode.cachedVariants = mode.variants.map(function(variant) {\n return inherit$1(mode, { variants: null }, variant);\n });\n }\n\n // EXPAND\n // if we have variants then essentially \"replace\" the mode with the variants\n // this happens in compileMode, where this function is called from\n if (mode.cachedVariants) {\n return mode.cachedVariants;\n }\n\n // CLONE\n // if we have dependencies on parents then we need a unique\n // instance of ourselves, so we can be reused with many\n // different parents without issue\n if (dependencyOnParent(mode)) {\n return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });\n }\n\n if (Object.isFrozen(mode)) {\n return inherit$1(mode);\n }\n\n // no special dependency issues, just return ourselves\n return mode;\n}\n\nvar version = \"11.6.0\";\n\nclass HTMLInjectionError extends Error {\n constructor(reason, html) {\n super(reason);\n this.name = \"HTMLInjectionError\";\n this.html = html;\n }\n}\n\n/*\nSyntax highlighting with language autodetection.\nhttps://highlightjs.org/\n*/\n\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').CompiledScope} CompiledScope\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSApi} HLJSApi\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').PluginEvent} PluginEvent\n@typedef {import('highlight.js').HLJSOptions} HLJSOptions\n@typedef {import('highlight.js').LanguageFn} LanguageFn\n@typedef {import('highlight.js').HighlightedHTMLElement} HighlightedHTMLElement\n@typedef {import('highlight.js').BeforeHighlightContext} BeforeHighlightContext\n@typedef {import('highlight.js/private').MatchType} MatchType\n@typedef {import('highlight.js/private').KeywordData} KeywordData\n@typedef {import('highlight.js/private').EnhancedMatch} EnhancedMatch\n@typedef {import('highlight.js/private').AnnotatedError} AnnotatedError\n@typedef {import('highlight.js').AutoHighlightResult} AutoHighlightResult\n@typedef {import('highlight.js').HighlightOptions} HighlightOptions\n@typedef {import('highlight.js').HighlightResult} HighlightResult\n*/\n\n\nconst escape = escapeHTML;\nconst inherit = inherit$1;\nconst NO_MATCH = Symbol(\"nomatch\");\nconst MAX_KEYWORD_HITS = 7;\n\n/**\n * @param {any} hljs - object that is extended (legacy)\n * @returns {HLJSApi}\n */\nconst HLJS = function(hljs) {\n // Global internal variables used within the highlight.js library.\n /** @type {Record} */\n const languages = Object.create(null);\n /** @type {Record} */\n const aliases = Object.create(null);\n /** @type {HLJSPlugin[]} */\n const plugins = [];\n\n // safe/production mode - swallows more errors, tries to keep running\n // even if a single syntax or parse hits a fatal error\n let SAFE_MODE = true;\n const LANGUAGE_NOT_FOUND = \"Could not find the language '{}', did you forget to load/include a language module?\";\n /** @type {Language} */\n const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: 'Plain text', contains: [] };\n\n // Global options used when within external APIs. This is modified when\n // calling the `hljs.configure` function.\n /** @type HLJSOptions */\n let options = {\n ignoreUnescapedHTML: false,\n throwUnescapedHTML: false,\n noHighlightRe: /^(no-?highlight)$/i,\n languageDetectRe: /\\blang(?:uage)?-([\\w-]+)\\b/i,\n classPrefix: 'hljs-',\n cssSelector: 'pre code',\n languages: null,\n // beta configuration options, subject to change, welcome to discuss\n // https://github.com/highlightjs/highlight.js/issues/1086\n __emitter: TokenTreeEmitter\n };\n\n /* Utility functions */\n\n /**\n * Tests a language name to see if highlighting should be skipped\n * @param {string} languageName\n */\n function shouldNotHighlight(languageName) {\n return options.noHighlightRe.test(languageName);\n }\n\n /**\n * @param {HighlightedHTMLElement} block - the HTML element to determine language for\n */\n function blockLanguage(block) {\n let classes = block.className + ' ';\n\n classes += block.parentNode ? block.parentNode.className : '';\n\n // language-* takes precedence over non-prefixed class names.\n const match = options.languageDetectRe.exec(classes);\n if (match) {\n const language = getLanguage(match[1]);\n if (!language) {\n warn(LANGUAGE_NOT_FOUND.replace(\"{}\", match[1]));\n warn(\"Falling back to no-highlight mode for this block.\", block);\n }\n return language ? match[1] : 'no-highlight';\n }\n\n return classes\n .split(/\\s+/)\n .find((_class) => shouldNotHighlight(_class) || getLanguage(_class));\n }\n\n /**\n * Core highlighting function.\n *\n * OLD API\n * highlight(lang, code, ignoreIllegals, continuation)\n *\n * NEW API\n * highlight(code, {lang, ignoreIllegals})\n *\n * @param {string} codeOrLanguageName - the language to use for highlighting\n * @param {string | HighlightOptions} optionsOrCode - the code to highlight\n * @param {boolean} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n *\n * @returns {HighlightResult} Result - an object that represents the result\n * @property {string} language - the language name\n * @property {number} relevance - the relevance score\n * @property {string} value - the highlighted HTML code\n * @property {string} code - the original raw code\n * @property {CompiledMode} top - top of the current mode stack\n * @property {boolean} illegal - indicates whether any illegal matches were found\n */\n function highlight(codeOrLanguageName, optionsOrCode, ignoreIllegals) {\n let code = \"\";\n let languageName = \"\";\n if (typeof optionsOrCode === \"object\") {\n code = codeOrLanguageName;\n ignoreIllegals = optionsOrCode.ignoreIllegals;\n languageName = optionsOrCode.language;\n } else {\n // old API\n deprecated(\"10.7.0\", \"highlight(lang, code, ...args) has been deprecated.\");\n deprecated(\"10.7.0\", \"Please use highlight(code, options) instead.\\nhttps://github.com/highlightjs/highlight.js/issues/2277\");\n languageName = codeOrLanguageName;\n code = optionsOrCode;\n }\n\n // https://github.com/highlightjs/highlight.js/issues/3149\n // eslint-disable-next-line no-undefined\n if (ignoreIllegals === undefined) { ignoreIllegals = true; }\n\n /** @type {BeforeHighlightContext} */\n const context = {\n code,\n language: languageName\n };\n // the plugin can change the desired language or the code to be highlighted\n // just be changing the object it was passed\n fire(\"before:highlight\", context);\n\n // a before plugin can usurp the result completely by providing it's own\n // in which case we don't even need to call highlight\n const result = context.result\n ? context.result\n : _highlight(context.language, context.code, ignoreIllegals);\n\n result.code = context.code;\n // the plugin can change anything in result to suite it\n fire(\"after:highlight\", result);\n\n return result;\n }\n\n /**\n * private highlight that's used internally and does not fire callbacks\n *\n * @param {string} languageName - the language to use for highlighting\n * @param {string} codeToHighlight - the code to highlight\n * @param {boolean?} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n * @param {CompiledMode?} [continuation] - current continuation mode, if any\n * @returns {HighlightResult} - result of the highlight operation\n */\n function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {\n const keywordHits = Object.create(null);\n\n /**\n * Return keyword data if a match is a keyword\n * @param {CompiledMode} mode - current mode\n * @param {string} matchText - the textual match\n * @returns {KeywordData | false}\n */\n function keywordData(mode, matchText) {\n return mode.keywords[matchText];\n }\n\n function processKeywords() {\n if (!top.keywords) {\n emitter.addText(modeBuffer);\n return;\n }\n\n let lastIndex = 0;\n top.keywordPatternRe.lastIndex = 0;\n let match = top.keywordPatternRe.exec(modeBuffer);\n let buf = \"\";\n\n while (match) {\n buf += modeBuffer.substring(lastIndex, match.index);\n const word = language.case_insensitive ? match[0].toLowerCase() : match[0];\n const data = keywordData(top, word);\n if (data) {\n const [kind, keywordRelevance] = data;\n emitter.addText(buf);\n buf = \"\";\n\n keywordHits[word] = (keywordHits[word] || 0) + 1;\n if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;\n if (kind.startsWith(\"_\")) {\n // _ implied for relevance only, do not highlight\n // by applying a class name\n buf += match[0];\n } else {\n const cssClass = language.classNameAliases[kind] || kind;\n emitter.addKeyword(match[0], cssClass);\n }\n } else {\n buf += match[0];\n }\n lastIndex = top.keywordPatternRe.lastIndex;\n match = top.keywordPatternRe.exec(modeBuffer);\n }\n buf += modeBuffer.substring(lastIndex);\n emitter.addText(buf);\n }\n\n function processSubLanguage() {\n if (modeBuffer === \"\") return;\n /** @type HighlightResult */\n let result = null;\n\n if (typeof top.subLanguage === 'string') {\n if (!languages[top.subLanguage]) {\n emitter.addText(modeBuffer);\n return;\n }\n result = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);\n continuations[top.subLanguage] = /** @type {CompiledMode} */ (result._top);\n } else {\n result = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);\n }\n\n // Counting embedded language score towards the host language may be disabled\n // with zeroing the containing mode relevance. Use case in point is Markdown that\n // allows XML everywhere and makes every XML snippet to have a much larger Markdown\n // score.\n if (top.relevance > 0) {\n relevance += result.relevance;\n }\n emitter.addSublanguage(result._emitter, result.language);\n }\n\n function processBuffer() {\n if (top.subLanguage != null) {\n processSubLanguage();\n } else {\n processKeywords();\n }\n modeBuffer = '';\n }\n\n /**\n * @param {CompiledScope} scope\n * @param {RegExpMatchArray} match\n */\n function emitMultiClass(scope, match) {\n let i = 1;\n const max = match.length - 1;\n while (i <= max) {\n if (!scope._emit[i]) { i++; continue; }\n const klass = language.classNameAliases[scope[i]] || scope[i];\n const text = match[i];\n if (klass) {\n emitter.addKeyword(text, klass);\n } else {\n modeBuffer = text;\n processKeywords();\n modeBuffer = \"\";\n }\n i++;\n }\n }\n\n /**\n * @param {CompiledMode} mode - new mode to start\n * @param {RegExpMatchArray} match\n */\n function startNewMode(mode, match) {\n if (mode.scope && typeof mode.scope === \"string\") {\n emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);\n }\n if (mode.beginScope) {\n // beginScope just wraps the begin match itself in a scope\n if (mode.beginScope._wrap) {\n emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);\n modeBuffer = \"\";\n } else if (mode.beginScope._multi) {\n // at this point modeBuffer should just be the match\n emitMultiClass(mode.beginScope, match);\n modeBuffer = \"\";\n }\n }\n\n top = Object.create(mode, { parent: { value: top } });\n return top;\n }\n\n /**\n * @param {CompiledMode } mode - the mode to potentially end\n * @param {RegExpMatchArray} match - the latest match\n * @param {string} matchPlusRemainder - match plus remainder of content\n * @returns {CompiledMode | void} - the next mode, or if void continue on in current mode\n */\n function endOfMode(mode, match, matchPlusRemainder) {\n let matched = startsWith(mode.endRe, matchPlusRemainder);\n\n if (matched) {\n if (mode[\"on:end\"]) {\n const resp = new Response(mode);\n mode[\"on:end\"](match, resp);\n if (resp.isMatchIgnored) matched = false;\n }\n\n if (matched) {\n while (mode.endsParent && mode.parent) {\n mode = mode.parent;\n }\n return mode;\n }\n }\n // even if on:end fires an `ignore` it's still possible\n // that we might trigger the end node because of a parent mode\n if (mode.endsWithParent) {\n return endOfMode(mode.parent, match, matchPlusRemainder);\n }\n }\n\n /**\n * Handle matching but then ignoring a sequence of text\n *\n * @param {string} lexeme - string containing full match text\n */\n function doIgnore(lexeme) {\n if (top.matcher.regexIndex === 0) {\n // no more regexes to potentially match here, so we move the cursor forward one\n // space\n modeBuffer += lexeme[0];\n return 1;\n } else {\n // no need to move the cursor, we still have additional regexes to try and\n // match at this very spot\n resumeScanAtSamePosition = true;\n return 0;\n }\n }\n\n /**\n * Handle the start of a new potential mode match\n *\n * @param {EnhancedMatch} match - the current match\n * @returns {number} how far to advance the parse cursor\n */\n function doBeginMatch(match) {\n const lexeme = match[0];\n const newMode = match.rule;\n\n const resp = new Response(newMode);\n // first internal before callbacks, then the public ones\n const beforeCallbacks = [newMode.__beforeBegin, newMode[\"on:begin\"]];\n for (const cb of beforeCallbacks) {\n if (!cb) continue;\n cb(match, resp);\n if (resp.isMatchIgnored) return doIgnore(lexeme);\n }\n\n if (newMode.skip) {\n modeBuffer += lexeme;\n } else {\n if (newMode.excludeBegin) {\n modeBuffer += lexeme;\n }\n processBuffer();\n if (!newMode.returnBegin && !newMode.excludeBegin) {\n modeBuffer = lexeme;\n }\n }\n startNewMode(newMode, match);\n return newMode.returnBegin ? 0 : lexeme.length;\n }\n\n /**\n * Handle the potential end of mode\n *\n * @param {RegExpMatchArray} match - the current match\n */\n function doEndMatch(match) {\n const lexeme = match[0];\n const matchPlusRemainder = codeToHighlight.substring(match.index);\n\n const endMode = endOfMode(top, match, matchPlusRemainder);\n if (!endMode) { return NO_MATCH; }\n\n const origin = top;\n if (top.endScope && top.endScope._wrap) {\n processBuffer();\n emitter.addKeyword(lexeme, top.endScope._wrap);\n } else if (top.endScope && top.endScope._multi) {\n processBuffer();\n emitMultiClass(top.endScope, match);\n } else if (origin.skip) {\n modeBuffer += lexeme;\n } else {\n if (!(origin.returnEnd || origin.excludeEnd)) {\n modeBuffer += lexeme;\n }\n processBuffer();\n if (origin.excludeEnd) {\n modeBuffer = lexeme;\n }\n }\n do {\n if (top.scope) {\n emitter.closeNode();\n }\n if (!top.skip && !top.subLanguage) {\n relevance += top.relevance;\n }\n top = top.parent;\n } while (top !== endMode.parent);\n if (endMode.starts) {\n startNewMode(endMode.starts, match);\n }\n return origin.returnEnd ? 0 : lexeme.length;\n }\n\n function processContinuations() {\n const list = [];\n for (let current = top; current !== language; current = current.parent) {\n if (current.scope) {\n list.unshift(current.scope);\n }\n }\n list.forEach(item => emitter.openNode(item));\n }\n\n /** @type {{type?: MatchType, index?: number, rule?: Mode}}} */\n let lastMatch = {};\n\n /**\n * Process an individual match\n *\n * @param {string} textBeforeMatch - text preceding the match (since the last match)\n * @param {EnhancedMatch} [match] - the match itself\n */\n function processLexeme(textBeforeMatch, match) {\n const lexeme = match && match[0];\n\n // add non-matched text to the current mode buffer\n modeBuffer += textBeforeMatch;\n\n if (lexeme == null) {\n processBuffer();\n return 0;\n }\n\n // we've found a 0 width match and we're stuck, so we need to advance\n // this happens when we have badly behaved rules that have optional matchers to the degree that\n // sometimes they can end up matching nothing at all\n // Ref: https://github.com/highlightjs/highlight.js/issues/2140\n if (lastMatch.type === \"begin\" && match.type === \"end\" && lastMatch.index === match.index && lexeme === \"\") {\n // spit the \"skipped\" character that our regex choked on back into the output sequence\n modeBuffer += codeToHighlight.slice(match.index, match.index + 1);\n if (!SAFE_MODE) {\n /** @type {AnnotatedError} */\n const err = new Error(`0 width match regex (${languageName})`);\n err.languageName = languageName;\n err.badRule = lastMatch.rule;\n throw err;\n }\n return 1;\n }\n lastMatch = match;\n\n if (match.type === \"begin\") {\n return doBeginMatch(match);\n } else if (match.type === \"illegal\" && !ignoreIllegals) {\n // illegal match, we do not continue processing\n /** @type {AnnotatedError} */\n const err = new Error('Illegal lexeme \"' + lexeme + '\" for mode \"' + (top.scope || '') + '\"');\n err.mode = top;\n throw err;\n } else if (match.type === \"end\") {\n const processed = doEndMatch(match);\n if (processed !== NO_MATCH) {\n return processed;\n }\n }\n\n // edge case for when illegal matches $ (end of line) which is technically\n // a 0 width match but not a begin/end match so it's not caught by the\n // first handler (when ignoreIllegals is true)\n if (match.type === \"illegal\" && lexeme === \"\") {\n // advance so we aren't stuck in an infinite loop\n return 1;\n }\n\n // infinite loops are BAD, this is a last ditch catch all. if we have a\n // decent number of iterations yet our index (cursor position in our\n // parsing) still 3x behind our index then something is very wrong\n // so we bail\n if (iterations > 100000 && iterations > match.index * 3) {\n const err = new Error('potential infinite loop, way more iterations than matches');\n throw err;\n }\n\n /*\n Why might be find ourselves here? An potential end match that was\n triggered but could not be completed. IE, `doEndMatch` returned NO_MATCH.\n (this could be because a callback requests the match be ignored, etc)\n\n This causes no real harm other than stopping a few times too many.\n */\n\n modeBuffer += lexeme;\n return lexeme.length;\n }\n\n const language = getLanguage(languageName);\n if (!language) {\n error(LANGUAGE_NOT_FOUND.replace(\"{}\", languageName));\n throw new Error('Unknown language: \"' + languageName + '\"');\n }\n\n const md = compileLanguage(language);\n let result = '';\n /** @type {CompiledMode} */\n let top = continuation || md;\n /** @type Record */\n const continuations = {}; // keep continuations for sub-languages\n const emitter = new options.__emitter(options);\n processContinuations();\n let modeBuffer = '';\n let relevance = 0;\n let index = 0;\n let iterations = 0;\n let resumeScanAtSamePosition = false;\n\n try {\n top.matcher.considerAll();\n\n for (;;) {\n iterations++;\n if (resumeScanAtSamePosition) {\n // only regexes not matched previously will now be\n // considered for a potential match\n resumeScanAtSamePosition = false;\n } else {\n top.matcher.considerAll();\n }\n top.matcher.lastIndex = index;\n\n const match = top.matcher.exec(codeToHighlight);\n // console.log(\"match\", match[0], match.rule && match.rule.begin)\n\n if (!match) break;\n\n const beforeMatch = codeToHighlight.substring(index, match.index);\n const processedCount = processLexeme(beforeMatch, match);\n index = match.index + processedCount;\n }\n processLexeme(codeToHighlight.substring(index));\n emitter.closeAllNodes();\n emitter.finalize();\n result = emitter.toHTML();\n\n return {\n language: languageName,\n value: result,\n relevance: relevance,\n illegal: false,\n _emitter: emitter,\n _top: top\n };\n } catch (err) {\n if (err.message && err.message.includes('Illegal')) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: true,\n relevance: 0,\n _illegalBy: {\n message: err.message,\n index: index,\n context: codeToHighlight.slice(index - 100, index + 100),\n mode: err.mode,\n resultSoFar: result\n },\n _emitter: emitter\n };\n } else if (SAFE_MODE) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: false,\n relevance: 0,\n errorRaised: err,\n _emitter: emitter,\n _top: top\n };\n } else {\n throw err;\n }\n }\n }\n\n /**\n * returns a valid highlight result, without actually doing any actual work,\n * auto highlight starts with this and it's possible for small snippets that\n * auto-detection may not find a better match\n * @param {string} code\n * @returns {HighlightResult}\n */\n function justTextHighlightResult(code) {\n const result = {\n value: escape(code),\n illegal: false,\n relevance: 0,\n _top: PLAINTEXT_LANGUAGE,\n _emitter: new options.__emitter(options)\n };\n result._emitter.addText(code);\n return result;\n }\n\n /**\n Highlighting with language detection. Accepts a string with the code to\n highlight. Returns an object with the following properties:\n\n - language (detected language)\n - relevance (int)\n - value (an HTML string with highlighting markup)\n - secondBest (object with the same structure for second-best heuristically\n detected language, may be absent)\n\n @param {string} code\n @param {Array} [languageSubset]\n @returns {AutoHighlightResult}\n */\n function highlightAuto(code, languageSubset) {\n languageSubset = languageSubset || options.languages || Object.keys(languages);\n const plaintext = justTextHighlightResult(code);\n\n const results = languageSubset.filter(getLanguage).filter(autoDetection).map(name =>\n _highlight(name, code, false)\n );\n results.unshift(plaintext); // plaintext is always an option\n\n const sorted = results.sort((a, b) => {\n // sort base on relevance\n if (a.relevance !== b.relevance) return b.relevance - a.relevance;\n\n // always award the tie to the base language\n // ie if C++ and Arduino are tied, it's more likely to be C++\n if (a.language && b.language) {\n if (getLanguage(a.language).supersetOf === b.language) {\n return 1;\n } else if (getLanguage(b.language).supersetOf === a.language) {\n return -1;\n }\n }\n\n // otherwise say they are equal, which has the effect of sorting on\n // relevance while preserving the original ordering - which is how ties\n // have historically been settled, ie the language that comes first always\n // wins in the case of a tie\n return 0;\n });\n\n const [best, secondBest] = sorted;\n\n /** @type {AutoHighlightResult} */\n const result = best;\n result.secondBest = secondBest;\n\n return result;\n }\n\n /**\n * Builds new class name for block given the language name\n *\n * @param {HTMLElement} element\n * @param {string} [currentLang]\n * @param {string} [resultLang]\n */\n function updateClassName(element, currentLang, resultLang) {\n const language = (currentLang && aliases[currentLang]) || resultLang;\n\n element.classList.add(\"hljs\");\n element.classList.add(`language-${language}`);\n }\n\n /**\n * Applies highlighting to a DOM node containing code.\n *\n * @param {HighlightedHTMLElement} element - the HTML element to highlight\n */\n function highlightElement(element) {\n /** @type HTMLElement */\n let node = null;\n const language = blockLanguage(element);\n\n if (shouldNotHighlight(language)) return;\n\n fire(\"before:highlightElement\",\n { el: element, language: language });\n\n // we should be all text, no child nodes (unescaped HTML) - this is possibly\n // an HTML injection attack - it's likely too late if this is already in\n // production (the code has likely already done its damage by the time\n // we're seeing it)... but we yell loudly about this so that hopefully it's\n // more likely to be caught in development before making it to production\n if (element.children.length > 0) {\n if (!options.ignoreUnescapedHTML) {\n console.warn(\"One of your code blocks includes unescaped HTML. This is a potentially serious security risk.\");\n console.warn(\"https://github.com/highlightjs/highlight.js/wiki/security\");\n console.warn(\"The element with unescaped HTML:\");\n console.warn(element);\n }\n if (options.throwUnescapedHTML) {\n const err = new HTMLInjectionError(\n \"One of your code blocks includes unescaped HTML.\",\n element.innerHTML\n );\n throw err;\n }\n }\n\n node = element;\n const text = node.textContent;\n const result = language ? highlight(text, { language, ignoreIllegals: true }) : highlightAuto(text);\n\n element.innerHTML = result.value;\n updateClassName(element, language, result.language);\n element.result = {\n language: result.language,\n // TODO: remove with version 11.0\n re: result.relevance,\n relevance: result.relevance\n };\n if (result.secondBest) {\n element.secondBest = {\n language: result.secondBest.language,\n relevance: result.secondBest.relevance\n };\n }\n\n fire(\"after:highlightElement\", { el: element, result, text });\n }\n\n /**\n * Updates highlight.js global options with the passed options\n *\n * @param {Partial} userOptions\n */\n function configure(userOptions) {\n options = inherit(options, userOptions);\n }\n\n // TODO: remove v12, deprecated\n const initHighlighting = () => {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlighting() deprecated. Use highlightAll() now.\");\n };\n\n // TODO: remove v12, deprecated\n function initHighlightingOnLoad() {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlightingOnLoad() deprecated. Use highlightAll() now.\");\n }\n\n let wantsHighlight = false;\n\n /**\n * auto-highlights all pre>code elements on the page\n */\n function highlightAll() {\n // if we are called too early in the loading process\n if (document.readyState === \"loading\") {\n wantsHighlight = true;\n return;\n }\n\n const blocks = document.querySelectorAll(options.cssSelector);\n blocks.forEach(highlightElement);\n }\n\n function boot() {\n // if a highlight was requested before DOM was loaded, do now\n if (wantsHighlight) highlightAll();\n }\n\n // make sure we are in the browser environment\n if (typeof window !== 'undefined' && window.addEventListener) {\n window.addEventListener('DOMContentLoaded', boot, false);\n }\n\n /**\n * Register a language grammar module\n *\n * @param {string} languageName\n * @param {LanguageFn} languageDefinition\n */\n function registerLanguage(languageName, languageDefinition) {\n let lang = null;\n try {\n lang = languageDefinition(hljs);\n } catch (error$1) {\n error(\"Language definition for '{}' could not be registered.\".replace(\"{}\", languageName));\n // hard or soft error\n if (!SAFE_MODE) { throw error$1; } else { error(error$1); }\n // languages that have serious errors are replaced with essentially a\n // \"plaintext\" stand-in so that the code blocks will still get normal\n // css classes applied to them - and one bad language won't break the\n // entire highlighter\n lang = PLAINTEXT_LANGUAGE;\n }\n // give it a temporary name if it doesn't have one in the meta-data\n if (!lang.name) lang.name = languageName;\n languages[languageName] = lang;\n lang.rawDefinition = languageDefinition.bind(null, hljs);\n\n if (lang.aliases) {\n registerAliases(lang.aliases, { languageName });\n }\n }\n\n /**\n * Remove a language grammar module\n *\n * @param {string} languageName\n */\n function unregisterLanguage(languageName) {\n delete languages[languageName];\n for (const alias of Object.keys(aliases)) {\n if (aliases[alias] === languageName) {\n delete aliases[alias];\n }\n }\n }\n\n /**\n * @returns {string[]} List of language internal names\n */\n function listLanguages() {\n return Object.keys(languages);\n }\n\n /**\n * @param {string} name - name of the language to retrieve\n * @returns {Language | undefined}\n */\n function getLanguage(name) {\n name = (name || '').toLowerCase();\n return languages[name] || languages[aliases[name]];\n }\n\n /**\n *\n * @param {string|string[]} aliasList - single alias or list of aliases\n * @param {{languageName: string}} opts\n */\n function registerAliases(aliasList, { languageName }) {\n if (typeof aliasList === 'string') {\n aliasList = [aliasList];\n }\n aliasList.forEach(alias => { aliases[alias.toLowerCase()] = languageName; });\n }\n\n /**\n * Determines if a given language has auto-detection enabled\n * @param {string} name - name of the language\n */\n function autoDetection(name) {\n const lang = getLanguage(name);\n return lang && !lang.disableAutodetect;\n }\n\n /**\n * Upgrades the old highlightBlock plugins to the new\n * highlightElement API\n * @param {HLJSPlugin} plugin\n */\n function upgradePluginAPI(plugin) {\n // TODO: remove with v12\n if (plugin[\"before:highlightBlock\"] && !plugin[\"before:highlightElement\"]) {\n plugin[\"before:highlightElement\"] = (data) => {\n plugin[\"before:highlightBlock\"](\n Object.assign({ block: data.el }, data)\n );\n };\n }\n if (plugin[\"after:highlightBlock\"] && !plugin[\"after:highlightElement\"]) {\n plugin[\"after:highlightElement\"] = (data) => {\n plugin[\"after:highlightBlock\"](\n Object.assign({ block: data.el }, data)\n );\n };\n }\n }\n\n /**\n * @param {HLJSPlugin} plugin\n */\n function addPlugin(plugin) {\n upgradePluginAPI(plugin);\n plugins.push(plugin);\n }\n\n /**\n *\n * @param {PluginEvent} event\n * @param {any} args\n */\n function fire(event, args) {\n const cb = event;\n plugins.forEach(function(plugin) {\n if (plugin[cb]) {\n plugin[cb](args);\n }\n });\n }\n\n /**\n * DEPRECATED\n * @param {HighlightedHTMLElement} el\n */\n function deprecateHighlightBlock(el) {\n deprecated(\"10.7.0\", \"highlightBlock will be removed entirely in v12.0\");\n deprecated(\"10.7.0\", \"Please use highlightElement now.\");\n\n return highlightElement(el);\n }\n\n /* Interface definition */\n Object.assign(hljs, {\n highlight,\n highlightAuto,\n highlightAll,\n highlightElement,\n // TODO: Remove with v12 API\n highlightBlock: deprecateHighlightBlock,\n configure,\n initHighlighting,\n initHighlightingOnLoad,\n registerLanguage,\n unregisterLanguage,\n listLanguages,\n getLanguage,\n registerAliases,\n autoDetection,\n inherit,\n addPlugin\n });\n\n hljs.debugMode = function() { SAFE_MODE = false; };\n hljs.safeMode = function() { SAFE_MODE = true; };\n hljs.versionString = version;\n\n hljs.regex = {\n concat: concat,\n lookahead: lookahead,\n either: either,\n optional: optional,\n anyNumberOfTimes: anyNumberOfTimes\n };\n\n for (const key in MODES) {\n // @ts-ignore\n if (typeof MODES[key] === \"object\") {\n // @ts-ignore\n deepFreezeEs6.exports(MODES[key]);\n }\n }\n\n // merge all the modes/regexes into our main object\n Object.assign(hljs, MODES);\n\n return hljs;\n};\n\n// export an \"instance\" of the highlighter\nvar highlight = HLJS({});\n\nmodule.exports = highlight;\nhighlight.HighlightJS = highlight;\nhighlight.default = highlight;\n","var createCaseFirst = require('./_createCaseFirst');\n\n/**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\nvar upperFirst = createCaseFirst('toUpperCase');\n\nmodule.exports = upperFirst;\n","module.exports = __webpack_public_path__ + \"img/import.2e2e359c.svg\";","/*!\n\n diff v4.0.1\n\nSoftware License Agreement (BSD License)\n\nCopyright (c) 2009-2015, Kevin Decker \n\nAll rights reserved.\n\nRedistribution and use of this software in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above\n copyright notice, this list of conditions and the\n following disclaimer.\n\n* Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the\n following disclaimer in the documentation and/or other\n materials provided with the distribution.\n\n* Neither the name of Kevin Decker nor the names of its\n contributors may be used to endorse or promote products\n derived from this software without specific prior\n written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR\nIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\nIN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\nOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n@license\n*/\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.Diff = {}));\n}(this, function (exports) { 'use strict';\n\n function Diff() {}\n Diff.prototype = {\n diff: function diff(oldString, newString) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var callback = options.callback;\n\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n this.options = options;\n var self = this;\n\n function done(value) {\n if (callback) {\n setTimeout(function () {\n callback(undefined, value);\n }, 0);\n return true;\n } else {\n return value;\n }\n } // Allow subclasses to massage the input prior to running\n\n\n oldString = this.castInput(oldString);\n newString = this.castInput(newString);\n oldString = this.removeEmpty(this.tokenize(oldString));\n newString = this.removeEmpty(this.tokenize(newString));\n var newLen = newString.length,\n oldLen = oldString.length;\n var editLength = 1;\n var maxEditLength = newLen + oldLen;\n var bestPath = [{\n newPos: -1,\n components: []\n }]; // Seed editLength = 0, i.e. the content starts with the same values\n\n var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);\n\n if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n // Identity per the equality and tokenizer\n return done([{\n value: this.join(newString),\n count: newString.length\n }]);\n } // Main worker method. checks all permutations of a given edit length for acceptance.\n\n\n function execEditLength() {\n for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {\n var basePath = void 0;\n\n var addPath = bestPath[diagonalPath - 1],\n removePath = bestPath[diagonalPath + 1],\n _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;\n\n if (addPath) {\n // No one else is going to attempt to use this value, clear it\n bestPath[diagonalPath - 1] = undefined;\n }\n\n var canAdd = addPath && addPath.newPos + 1 < newLen,\n canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;\n\n if (!canAdd && !canRemove) {\n // If this path is a terminal then prune\n bestPath[diagonalPath] = undefined;\n continue;\n } // Select the diagonal that we want to branch from. We select the prior\n // path whose position in the new string is the farthest from the origin\n // and does not pass the bounds of the diff graph\n\n\n if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {\n basePath = clonePath(removePath);\n self.pushComponent(basePath.components, undefined, true);\n } else {\n basePath = addPath; // No need to clone, we've pulled it from the list\n\n basePath.newPos++;\n self.pushComponent(basePath.components, true, undefined);\n }\n\n _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done\n\n if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {\n return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));\n } else {\n // Otherwise track this path as a potential candidate and continue.\n bestPath[diagonalPath] = basePath;\n }\n }\n\n editLength++;\n } // Performs the length of edit iteration. Is a bit fugly as this has to support the\n // sync and async mode which is never fun. Loops over execEditLength until a value\n // is produced.\n\n\n if (callback) {\n (function exec() {\n setTimeout(function () {\n // This should not happen, but we want to be safe.\n\n /* istanbul ignore next */\n if (editLength > maxEditLength) {\n return callback();\n }\n\n if (!execEditLength()) {\n exec();\n }\n }, 0);\n })();\n } else {\n while (editLength <= maxEditLength) {\n var ret = execEditLength();\n\n if (ret) {\n return ret;\n }\n }\n }\n },\n pushComponent: function pushComponent(components, added, removed) {\n var last = components[components.length - 1];\n\n if (last && last.added === added && last.removed === removed) {\n // We need to clone here as the component clone operation is just\n // as shallow array clone\n components[components.length - 1] = {\n count: last.count + 1,\n added: added,\n removed: removed\n };\n } else {\n components.push({\n count: 1,\n added: added,\n removed: removed\n });\n }\n },\n extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {\n var newLen = newString.length,\n oldLen = oldString.length,\n newPos = basePath.newPos,\n oldPos = newPos - diagonalPath,\n commonCount = 0;\n\n while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {\n newPos++;\n oldPos++;\n commonCount++;\n }\n\n if (commonCount) {\n basePath.components.push({\n count: commonCount\n });\n }\n\n basePath.newPos = newPos;\n return oldPos;\n },\n equals: function equals(left, right) {\n if (this.options.comparator) {\n return this.options.comparator(left, right);\n } else {\n return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();\n }\n },\n removeEmpty: function removeEmpty(array) {\n var ret = [];\n\n for (var i = 0; i < array.length; i++) {\n if (array[i]) {\n ret.push(array[i]);\n }\n }\n\n return ret;\n },\n castInput: function castInput(value) {\n return value;\n },\n tokenize: function tokenize(value) {\n return value.split('');\n },\n join: function join(chars) {\n return chars.join('');\n }\n };\n\n function buildValues(diff, components, newString, oldString, useLongestToken) {\n var componentPos = 0,\n componentLen = components.length,\n newPos = 0,\n oldPos = 0;\n\n for (; componentPos < componentLen; componentPos++) {\n var component = components[componentPos];\n\n if (!component.removed) {\n if (!component.added && useLongestToken) {\n var value = newString.slice(newPos, newPos + component.count);\n value = value.map(function (value, i) {\n var oldValue = oldString[oldPos + i];\n return oldValue.length > value.length ? oldValue : value;\n });\n component.value = diff.join(value);\n } else {\n component.value = diff.join(newString.slice(newPos, newPos + component.count));\n }\n\n newPos += component.count; // Common case\n\n if (!component.added) {\n oldPos += component.count;\n }\n } else {\n component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));\n oldPos += component.count; // Reverse add and remove so removes are output first to match common convention\n // The diffing algorithm is tied to add then remove output and this is the simplest\n // route to get the desired output with minimal overhead.\n\n if (componentPos && components[componentPos - 1].added) {\n var tmp = components[componentPos - 1];\n components[componentPos - 1] = components[componentPos];\n components[componentPos] = tmp;\n }\n }\n } // Special case handle for when one terminal is ignored (i.e. whitespace).\n // For this case we merge the terminal into the prior string and drop the change.\n // This is only available for string mode.\n\n\n var lastComponent = components[componentLen - 1];\n\n if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) {\n components[componentLen - 2].value += lastComponent.value;\n components.pop();\n }\n\n return components;\n }\n\n function clonePath(path) {\n return {\n newPos: path.newPos,\n components: path.components.slice(0)\n };\n }\n\n var characterDiff = new Diff();\n function diffChars(oldStr, newStr, options) {\n return characterDiff.diff(oldStr, newStr, options);\n }\n\n function generateOptions(options, defaults) {\n if (typeof options === 'function') {\n defaults.callback = options;\n } else if (options) {\n for (var name in options) {\n /* istanbul ignore else */\n if (options.hasOwnProperty(name)) {\n defaults[name] = options[name];\n }\n }\n }\n\n return defaults;\n }\n\n //\n // Ranges and exceptions:\n // Latin-1 Supplement, 0080–00FF\n // - U+00D7 × Multiplication sign\n // - U+00F7 ÷ Division sign\n // Latin Extended-A, 0100–017F\n // Latin Extended-B, 0180–024F\n // IPA Extensions, 0250–02AF\n // Spacing Modifier Letters, 02B0–02FF\n // - U+02C7 ˇ ˇ Caron\n // - U+02D8 ˘ ˘ Breve\n // - U+02D9 ˙ ˙ Dot Above\n // - U+02DA ˚ ˚ Ring Above\n // - U+02DB ˛ ˛ Ogonek\n // - U+02DC ˜ ˜ Small Tilde\n // - U+02DD ˝ ˝ Double Acute Accent\n // Latin Extended Additional, 1E00–1EFF\n\n var extendedWordChars = /^[A-Za-z\\xC0-\\u02C6\\u02C8-\\u02D7\\u02DE-\\u02FF\\u1E00-\\u1EFF]+$/;\n var reWhitespace = /\\S/;\n var wordDiff = new Diff();\n\n wordDiff.equals = function (left, right) {\n if (this.options.ignoreCase) {\n left = left.toLowerCase();\n right = right.toLowerCase();\n }\n\n return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right);\n };\n\n wordDiff.tokenize = function (value) {\n var tokens = value.split(/(\\s+|[()[\\]{}'\"]|\\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.\n\n for (var i = 0; i < tokens.length - 1; i++) {\n // If we have an empty string in the next field and we have only word chars before and after, merge\n if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) {\n tokens[i] += tokens[i + 2];\n tokens.splice(i + 1, 2);\n i--;\n }\n }\n\n return tokens;\n };\n\n function diffWords(oldStr, newStr, options) {\n options = generateOptions(options, {\n ignoreWhitespace: true\n });\n return wordDiff.diff(oldStr, newStr, options);\n }\n function diffWordsWithSpace(oldStr, newStr, options) {\n return wordDiff.diff(oldStr, newStr, options);\n }\n\n var lineDiff = new Diff();\n\n lineDiff.tokenize = function (value) {\n var retLines = [],\n linesAndNewlines = value.split(/(\\n|\\r\\n)/); // Ignore the final empty token that occurs if the string ends with a new line\n\n if (!linesAndNewlines[linesAndNewlines.length - 1]) {\n linesAndNewlines.pop();\n } // Merge the content and line separators into single tokens\n\n\n for (var i = 0; i < linesAndNewlines.length; i++) {\n var line = linesAndNewlines[i];\n\n if (i % 2 && !this.options.newlineIsToken) {\n retLines[retLines.length - 1] += line;\n } else {\n if (this.options.ignoreWhitespace) {\n line = line.trim();\n }\n\n retLines.push(line);\n }\n }\n\n return retLines;\n };\n\n function diffLines(oldStr, newStr, callback) {\n return lineDiff.diff(oldStr, newStr, callback);\n }\n function diffTrimmedLines(oldStr, newStr, callback) {\n var options = generateOptions(callback, {\n ignoreWhitespace: true\n });\n return lineDiff.diff(oldStr, newStr, options);\n }\n\n var sentenceDiff = new Diff();\n\n sentenceDiff.tokenize = function (value) {\n return value.split(/(\\S.+?[.!?])(?=\\s+|$)/);\n };\n\n function diffSentences(oldStr, newStr, callback) {\n return sentenceDiff.diff(oldStr, newStr, callback);\n }\n\n var cssDiff = new Diff();\n\n cssDiff.tokenize = function (value) {\n return value.split(/([{}:;,]|\\s+)/);\n };\n\n function diffCss(oldStr, newStr, callback) {\n return cssDiff.diff(oldStr, newStr, callback);\n }\n\n function _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n }\n\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n }\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n }\n\n function _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n }\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n }\n\n var objectPrototypeToString = Object.prototype.toString;\n var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a\n // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:\n\n jsonDiff.useLongestToken = true;\n jsonDiff.tokenize = lineDiff.tokenize;\n\n jsonDiff.castInput = function (value) {\n var _this$options = this.options,\n undefinedReplacement = _this$options.undefinedReplacement,\n _this$options$stringi = _this$options.stringifyReplacer,\n stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) {\n return typeof v === 'undefined' ? undefinedReplacement : v;\n } : _this$options$stringi;\n return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');\n };\n\n jsonDiff.equals = function (left, right) {\n return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\\r\\n])/g, '$1'), right.replace(/,([\\r\\n])/g, '$1'));\n };\n\n function diffJson(oldObj, newObj, options) {\n return jsonDiff.diff(oldObj, newObj, options);\n } // This function handles the presence of circular references by bailing out when encountering an\n // object that is already on the \"stack\" of items being processed. Accepts an optional replacer\n\n function canonicalize(obj, stack, replacementStack, replacer, key) {\n stack = stack || [];\n replacementStack = replacementStack || [];\n\n if (replacer) {\n obj = replacer(key, obj);\n }\n\n var i;\n\n for (i = 0; i < stack.length; i += 1) {\n if (stack[i] === obj) {\n return replacementStack[i];\n }\n }\n\n var canonicalizedObj;\n\n if ('[object Array]' === objectPrototypeToString.call(obj)) {\n stack.push(obj);\n canonicalizedObj = new Array(obj.length);\n replacementStack.push(canonicalizedObj);\n\n for (i = 0; i < obj.length; i += 1) {\n canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);\n }\n\n stack.pop();\n replacementStack.pop();\n return canonicalizedObj;\n }\n\n if (obj && obj.toJSON) {\n obj = obj.toJSON();\n }\n\n if (_typeof(obj) === 'object' && obj !== null) {\n stack.push(obj);\n canonicalizedObj = {};\n replacementStack.push(canonicalizedObj);\n\n var sortedKeys = [],\n _key;\n\n for (_key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(_key)) {\n sortedKeys.push(_key);\n }\n }\n\n sortedKeys.sort();\n\n for (i = 0; i < sortedKeys.length; i += 1) {\n _key = sortedKeys[i];\n canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);\n }\n\n stack.pop();\n replacementStack.pop();\n } else {\n canonicalizedObj = obj;\n }\n\n return canonicalizedObj;\n }\n\n var arrayDiff = new Diff();\n\n arrayDiff.tokenize = function (value) {\n return value.slice();\n };\n\n arrayDiff.join = arrayDiff.removeEmpty = function (value) {\n return value;\n };\n\n function diffArrays(oldArr, newArr, callback) {\n return arrayDiff.diff(oldArr, newArr, callback);\n }\n\n function parsePatch(uniDiff) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var diffstr = uniDiff.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = uniDiff.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n list = [],\n i = 0;\n\n function parseIndex() {\n var index = {};\n list.push(index); // Parse diff metadata\n\n while (i < diffstr.length) {\n var line = diffstr[i]; // File header found, end parsing diff metadata\n\n if (/^(\\-\\-\\-|\\+\\+\\+|@@)\\s/.test(line)) {\n break;\n } // Diff index\n\n\n var header = /^(?:Index:|diff(?: -r \\w+)+)\\s+(.+?)\\s*$/.exec(line);\n\n if (header) {\n index.index = header[1];\n }\n\n i++;\n } // Parse file headers if they are defined. Unified diff requires them, but\n // there's no technical issues to have an isolated hunk without file header\n\n\n parseFileHeader(index);\n parseFileHeader(index); // Parse hunks\n\n index.hunks = [];\n\n while (i < diffstr.length) {\n var _line = diffstr[i];\n\n if (/^(Index:|diff|\\-\\-\\-|\\+\\+\\+)\\s/.test(_line)) {\n break;\n } else if (/^@@/.test(_line)) {\n index.hunks.push(parseHunk());\n } else if (_line && options.strict) {\n // Ignore unexpected content unless in strict mode\n throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));\n } else {\n i++;\n }\n }\n } // Parses the --- and +++ headers, if none are found, no lines\n // are consumed.\n\n\n function parseFileHeader(index) {\n var fileHeader = /^(---|\\+\\+\\+)\\s+(.*)$/.exec(diffstr[i]);\n\n if (fileHeader) {\n var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';\n var data = fileHeader[2].split('\\t', 2);\n var fileName = data[0].replace(/\\\\\\\\/g, '\\\\');\n\n if (/^\".*\"$/.test(fileName)) {\n fileName = fileName.substr(1, fileName.length - 2);\n }\n\n index[keyPrefix + 'FileName'] = fileName;\n index[keyPrefix + 'Header'] = (data[1] || '').trim();\n i++;\n }\n } // Parses a hunk\n // This assumes that we are at the start of a hunk.\n\n\n function parseHunk() {\n var chunkHeaderIndex = i,\n chunkHeaderLine = diffstr[i++],\n chunkHeader = chunkHeaderLine.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/);\n var hunk = {\n oldStart: +chunkHeader[1],\n oldLines: +chunkHeader[2] || 1,\n newStart: +chunkHeader[3],\n newLines: +chunkHeader[4] || 1,\n lines: [],\n linedelimiters: []\n };\n var addCount = 0,\n removeCount = 0;\n\n for (; i < diffstr.length; i++) {\n // Lines starting with '---' could be mistaken for the \"remove line\" operation\n // But they could be the header for the next file. Therefore prune such cases out.\n if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) {\n break;\n }\n\n var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];\n\n if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\\\') {\n hunk.lines.push(diffstr[i]);\n hunk.linedelimiters.push(delimiters[i] || '\\n');\n\n if (operation === '+') {\n addCount++;\n } else if (operation === '-') {\n removeCount++;\n } else if (operation === ' ') {\n addCount++;\n removeCount++;\n }\n } else {\n break;\n }\n } // Handle the empty block count case\n\n\n if (!addCount && hunk.newLines === 1) {\n hunk.newLines = 0;\n }\n\n if (!removeCount && hunk.oldLines === 1) {\n hunk.oldLines = 0;\n } // Perform optional sanity checking\n\n\n if (options.strict) {\n if (addCount !== hunk.newLines) {\n throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n\n if (removeCount !== hunk.oldLines) {\n throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n }\n\n return hunk;\n }\n\n while (i < diffstr.length) {\n parseIndex();\n }\n\n return list;\n }\n\n // Iterator that traverses in the range of [min, max], stepping\n // by distance from a given start position. I.e. for [0, 4], with\n // start of 2, this will iterate 2, 3, 1, 4, 0.\n function distanceIterator (start, minLine, maxLine) {\n var wantForward = true,\n backwardExhausted = false,\n forwardExhausted = false,\n localOffset = 1;\n return function iterator() {\n if (wantForward && !forwardExhausted) {\n if (backwardExhausted) {\n localOffset++;\n } else {\n wantForward = false;\n } // Check if trying to fit beyond text length, and if not, check it fits\n // after offset location (or desired location on first iteration)\n\n\n if (start + localOffset <= maxLine) {\n return localOffset;\n }\n\n forwardExhausted = true;\n }\n\n if (!backwardExhausted) {\n if (!forwardExhausted) {\n wantForward = true;\n } // Check if trying to fit before text beginning, and if not, check it fits\n // before offset location\n\n\n if (minLine <= start - localOffset) {\n return -localOffset++;\n }\n\n backwardExhausted = true;\n return iterator();\n } // We tried to fit hunk before text beginning and beyond text length, then\n // hunk can't fit on the text. Return undefined\n\n };\n }\n\n function applyPatch(source, uniDiff) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n if (Array.isArray(uniDiff)) {\n if (uniDiff.length > 1) {\n throw new Error('applyPatch only works with a single input.');\n }\n\n uniDiff = uniDiff[0];\n } // Apply the diff to the input\n\n\n var lines = source.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = source.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n hunks = uniDiff.hunks,\n compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) {\n return line === patchContent;\n },\n errorCount = 0,\n fuzzFactor = options.fuzzFactor || 0,\n minLine = 0,\n offset = 0,\n removeEOFNL,\n addEOFNL;\n /**\n * Checks if the hunk exactly fits on the provided location\n */\n\n\n function hunkFits(hunk, toPos) {\n for (var j = 0; j < hunk.lines.length; j++) {\n var line = hunk.lines[j],\n operation = line.length > 0 ? line[0] : ' ',\n content = line.length > 0 ? line.substr(1) : line;\n\n if (operation === ' ' || operation === '-') {\n // Context sanity check\n if (!compareLine(toPos + 1, lines[toPos], operation, content)) {\n errorCount++;\n\n if (errorCount > fuzzFactor) {\n return false;\n }\n }\n\n toPos++;\n }\n }\n\n return true;\n } // Search best fit offsets for each hunk based on the previous ones\n\n\n for (var i = 0; i < hunks.length; i++) {\n var hunk = hunks[i],\n maxLine = lines.length - hunk.oldLines,\n localOffset = 0,\n toPos = offset + hunk.oldStart - 1;\n var iterator = distanceIterator(toPos, minLine, maxLine);\n\n for (; localOffset !== undefined; localOffset = iterator()) {\n if (hunkFits(hunk, toPos + localOffset)) {\n hunk.offset = offset += localOffset;\n break;\n }\n }\n\n if (localOffset === undefined) {\n return false;\n } // Set lower text limit to end of the current hunk, so next ones don't try\n // to fit over already patched text\n\n\n minLine = hunk.offset + hunk.oldStart + hunk.oldLines;\n } // Apply patch hunks\n\n\n var diffOffset = 0;\n\n for (var _i = 0; _i < hunks.length; _i++) {\n var _hunk = hunks[_i],\n _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1;\n\n diffOffset += _hunk.newLines - _hunk.oldLines;\n\n if (_toPos < 0) {\n // Creating a new file\n _toPos = 0;\n }\n\n for (var j = 0; j < _hunk.lines.length; j++) {\n var line = _hunk.lines[j],\n operation = line.length > 0 ? line[0] : ' ',\n content = line.length > 0 ? line.substr(1) : line,\n delimiter = _hunk.linedelimiters[j];\n\n if (operation === ' ') {\n _toPos++;\n } else if (operation === '-') {\n lines.splice(_toPos, 1);\n delimiters.splice(_toPos, 1);\n /* istanbul ignore else */\n } else if (operation === '+') {\n lines.splice(_toPos, 0, content);\n delimiters.splice(_toPos, 0, delimiter);\n _toPos++;\n } else if (operation === '\\\\') {\n var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null;\n\n if (previousOperation === '+') {\n removeEOFNL = true;\n } else if (previousOperation === '-') {\n addEOFNL = true;\n }\n }\n }\n } // Handle EOFNL insertion/removal\n\n\n if (removeEOFNL) {\n while (!lines[lines.length - 1]) {\n lines.pop();\n delimiters.pop();\n }\n } else if (addEOFNL) {\n lines.push('');\n delimiters.push('\\n');\n }\n\n for (var _k = 0; _k < lines.length - 1; _k++) {\n lines[_k] = lines[_k] + delimiters[_k];\n }\n\n return lines.join('');\n } // Wrapper that supports multiple file patches via callbacks.\n\n function applyPatches(uniDiff, options) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n var currentIndex = 0;\n\n function processIndex() {\n var index = uniDiff[currentIndex++];\n\n if (!index) {\n return options.complete();\n }\n\n options.loadFile(index, function (err, data) {\n if (err) {\n return options.complete(err);\n }\n\n var updatedContent = applyPatch(data, index, options);\n options.patched(index, updatedContent, function (err) {\n if (err) {\n return options.complete(err);\n }\n\n processIndex();\n });\n });\n }\n\n processIndex();\n }\n\n function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n if (!options) {\n options = {};\n }\n\n if (typeof options.context === 'undefined') {\n options.context = 4;\n }\n\n var diff = diffLines(oldStr, newStr, options);\n diff.push({\n value: '',\n lines: []\n }); // Append an empty value to make cleanup easier\n\n function contextLines(lines) {\n return lines.map(function (entry) {\n return ' ' + entry;\n });\n }\n\n var hunks = [];\n var oldRangeStart = 0,\n newRangeStart = 0,\n curRange = [],\n oldLine = 1,\n newLine = 1;\n\n var _loop = function _loop(i) {\n var current = diff[i],\n lines = current.lines || current.value.replace(/\\n$/, '').split('\\n');\n current.lines = lines;\n\n if (current.added || current.removed) {\n var _curRange;\n\n // If we have previous context, start with that\n if (!oldRangeStart) {\n var prev = diff[i - 1];\n oldRangeStart = oldLine;\n newRangeStart = newLine;\n\n if (prev) {\n curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];\n oldRangeStart -= curRange.length;\n newRangeStart -= curRange.length;\n }\n } // Output our changes\n\n\n (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) {\n return (current.added ? '+' : '-') + entry;\n }))); // Track the updated file position\n\n\n if (current.added) {\n newLine += lines.length;\n } else {\n oldLine += lines.length;\n }\n } else {\n // Identical context lines. Track line changes\n if (oldRangeStart) {\n // Close out any changes that have been output (or join overlapping)\n if (lines.length <= options.context * 2 && i < diff.length - 2) {\n var _curRange2;\n\n // Overlapping\n (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines)));\n } else {\n var _curRange3;\n\n // end the range and output\n var contextSize = Math.min(lines.length, options.context);\n\n (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize))));\n\n var hunk = {\n oldStart: oldRangeStart,\n oldLines: oldLine - oldRangeStart + contextSize,\n newStart: newRangeStart,\n newLines: newLine - newRangeStart + contextSize,\n lines: curRange\n };\n\n if (i >= diff.length - 2 && lines.length <= options.context) {\n // EOF is inside this hunk\n var oldEOFNewline = /\\n$/.test(oldStr);\n var newEOFNewline = /\\n$/.test(newStr);\n var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;\n\n if (!oldEOFNewline && noNlBeforeAdds) {\n // special case: old has no eol and no trailing context; no-nl can end up before adds\n curRange.splice(hunk.oldLines, 0, '\\\\ No newline at end of file');\n }\n\n if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) {\n curRange.push('\\\\ No newline at end of file');\n }\n }\n\n hunks.push(hunk);\n oldRangeStart = 0;\n newRangeStart = 0;\n curRange = [];\n }\n }\n\n oldLine += lines.length;\n newLine += lines.length;\n }\n };\n\n for (var i = 0; i < diff.length; i++) {\n _loop(i);\n }\n\n return {\n oldFileName: oldFileName,\n newFileName: newFileName,\n oldHeader: oldHeader,\n newHeader: newHeader,\n hunks: hunks\n };\n }\n function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n var diff = structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options);\n var ret = [];\n\n if (oldFileName == newFileName) {\n ret.push('Index: ' + oldFileName);\n }\n\n ret.push('===================================================================');\n ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\\t' + diff.oldHeader));\n ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\\t' + diff.newHeader));\n\n for (var i = 0; i < diff.hunks.length; i++) {\n var hunk = diff.hunks[i];\n ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@');\n ret.push.apply(ret, hunk.lines);\n }\n\n return ret.join('\\n') + '\\n';\n }\n function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {\n return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);\n }\n\n function arrayEqual(a, b) {\n if (a.length !== b.length) {\n return false;\n }\n\n return arrayStartsWith(a, b);\n }\n function arrayStartsWith(array, start) {\n if (start.length > array.length) {\n return false;\n }\n\n for (var i = 0; i < start.length; i++) {\n if (start[i] !== array[i]) {\n return false;\n }\n }\n\n return true;\n }\n\n function calcLineCount(hunk) {\n var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines),\n oldLines = _calcOldNewLineCount.oldLines,\n newLines = _calcOldNewLineCount.newLines;\n\n if (oldLines !== undefined) {\n hunk.oldLines = oldLines;\n } else {\n delete hunk.oldLines;\n }\n\n if (newLines !== undefined) {\n hunk.newLines = newLines;\n } else {\n delete hunk.newLines;\n }\n }\n function merge(mine, theirs, base) {\n mine = loadPatch(mine, base);\n theirs = loadPatch(theirs, base);\n var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning.\n // Leaving sanity checks on this to the API consumer that may know more about the\n // meaning in their own context.\n\n if (mine.index || theirs.index) {\n ret.index = mine.index || theirs.index;\n }\n\n if (mine.newFileName || theirs.newFileName) {\n if (!fileNameChanged(mine)) {\n // No header or no change in ours, use theirs (and ours if theirs does not exist)\n ret.oldFileName = theirs.oldFileName || mine.oldFileName;\n ret.newFileName = theirs.newFileName || mine.newFileName;\n ret.oldHeader = theirs.oldHeader || mine.oldHeader;\n ret.newHeader = theirs.newHeader || mine.newHeader;\n } else if (!fileNameChanged(theirs)) {\n // No header or no change in theirs, use ours\n ret.oldFileName = mine.oldFileName;\n ret.newFileName = mine.newFileName;\n ret.oldHeader = mine.oldHeader;\n ret.newHeader = mine.newHeader;\n } else {\n // Both changed... figure it out\n ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);\n ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);\n ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);\n ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);\n }\n }\n\n ret.hunks = [];\n var mineIndex = 0,\n theirsIndex = 0,\n mineOffset = 0,\n theirsOffset = 0;\n\n while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {\n var mineCurrent = mine.hunks[mineIndex] || {\n oldStart: Infinity\n },\n theirsCurrent = theirs.hunks[theirsIndex] || {\n oldStart: Infinity\n };\n\n if (hunkBefore(mineCurrent, theirsCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(mineCurrent, mineOffset));\n mineIndex++;\n theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;\n } else if (hunkBefore(theirsCurrent, mineCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));\n theirsIndex++;\n mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;\n } else {\n // Overlap, merge as best we can\n var mergedHunk = {\n oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),\n oldLines: 0,\n newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),\n newLines: 0,\n lines: []\n };\n mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);\n theirsIndex++;\n mineIndex++;\n ret.hunks.push(mergedHunk);\n }\n }\n\n return ret;\n }\n\n function loadPatch(param, base) {\n if (typeof param === 'string') {\n if (/^@@/m.test(param) || /^Index:/m.test(param)) {\n return parsePatch(param)[0];\n }\n\n if (!base) {\n throw new Error('Must provide a base reference or pass in a patch');\n }\n\n return structuredPatch(undefined, undefined, base, param);\n }\n\n return param;\n }\n\n function fileNameChanged(patch) {\n return patch.newFileName && patch.newFileName !== patch.oldFileName;\n }\n\n function selectField(index, mine, theirs) {\n if (mine === theirs) {\n return mine;\n } else {\n index.conflict = true;\n return {\n mine: mine,\n theirs: theirs\n };\n }\n }\n\n function hunkBefore(test, check) {\n return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;\n }\n\n function cloneHunk(hunk, offset) {\n return {\n oldStart: hunk.oldStart,\n oldLines: hunk.oldLines,\n newStart: hunk.newStart + offset,\n newLines: hunk.newLines,\n lines: hunk.lines\n };\n }\n\n function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {\n // This will generally result in a conflicted hunk, but there are cases where the context\n // is the only overlap where we can successfully merge the content here.\n var mine = {\n offset: mineOffset,\n lines: mineLines,\n index: 0\n },\n their = {\n offset: theirOffset,\n lines: theirLines,\n index: 0\n }; // Handle any leading content\n\n insertLeading(hunk, mine, their);\n insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each.\n\n while (mine.index < mine.lines.length && their.index < their.lines.length) {\n var mineCurrent = mine.lines[mine.index],\n theirCurrent = their.lines[their.index];\n\n if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {\n // Both modified ...\n mutualChange(hunk, mine, their);\n } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {\n var _hunk$lines;\n\n // Mine inserted\n (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine)));\n } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {\n var _hunk$lines2;\n\n // Theirs inserted\n (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their)));\n } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {\n // Mine removed or edited\n removal(hunk, mine, their);\n } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {\n // Their removed or edited\n removal(hunk, their, mine, true);\n } else if (mineCurrent === theirCurrent) {\n // Context identity\n hunk.lines.push(mineCurrent);\n mine.index++;\n their.index++;\n } else {\n // Context mismatch\n conflict(hunk, collectChange(mine), collectChange(their));\n }\n } // Now push anything that may be remaining\n\n\n insertTrailing(hunk, mine);\n insertTrailing(hunk, their);\n calcLineCount(hunk);\n }\n\n function mutualChange(hunk, mine, their) {\n var myChanges = collectChange(mine),\n theirChanges = collectChange(their);\n\n if (allRemoves(myChanges) && allRemoves(theirChanges)) {\n // Special case for remove changes that are supersets of one another\n if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {\n var _hunk$lines3;\n\n (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges));\n\n return;\n } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {\n var _hunk$lines4;\n\n (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges));\n\n return;\n }\n } else if (arrayEqual(myChanges, theirChanges)) {\n var _hunk$lines5;\n\n (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges));\n\n return;\n }\n\n conflict(hunk, myChanges, theirChanges);\n }\n\n function removal(hunk, mine, their, swap) {\n var myChanges = collectChange(mine),\n theirChanges = collectContext(their, myChanges);\n\n if (theirChanges.merged) {\n var _hunk$lines6;\n\n (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged));\n } else {\n conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);\n }\n }\n\n function conflict(hunk, mine, their) {\n hunk.conflict = true;\n hunk.lines.push({\n conflict: true,\n mine: mine,\n theirs: their\n });\n }\n\n function insertLeading(hunk, insert, their) {\n while (insert.offset < their.offset && insert.index < insert.lines.length) {\n var line = insert.lines[insert.index++];\n hunk.lines.push(line);\n insert.offset++;\n }\n }\n\n function insertTrailing(hunk, insert) {\n while (insert.index < insert.lines.length) {\n var line = insert.lines[insert.index++];\n hunk.lines.push(line);\n }\n }\n\n function collectChange(state) {\n var ret = [],\n operation = state.lines[state.index][0];\n\n while (state.index < state.lines.length) {\n var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one \"atomic\" modify change.\n\n if (operation === '-' && line[0] === '+') {\n operation = '+';\n }\n\n if (operation === line[0]) {\n ret.push(line);\n state.index++;\n } else {\n break;\n }\n }\n\n return ret;\n }\n\n function collectContext(state, matchChanges) {\n var changes = [],\n merged = [],\n matchIndex = 0,\n contextChanges = false,\n conflicted = false;\n\n while (matchIndex < matchChanges.length && state.index < state.lines.length) {\n var change = state.lines[state.index],\n match = matchChanges[matchIndex]; // Once we've hit our add, then we are done\n\n if (match[0] === '+') {\n break;\n }\n\n contextChanges = contextChanges || change[0] !== ' ';\n merged.push(match);\n matchIndex++; // Consume any additions in the other block as a conflict to attempt\n // to pull in the remaining context after this\n\n if (change[0] === '+') {\n conflicted = true;\n\n while (change[0] === '+') {\n changes.push(change);\n change = state.lines[++state.index];\n }\n }\n\n if (match.substr(1) === change.substr(1)) {\n changes.push(change);\n state.index++;\n } else {\n conflicted = true;\n }\n }\n\n if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {\n conflicted = true;\n }\n\n if (conflicted) {\n return changes;\n }\n\n while (matchIndex < matchChanges.length) {\n merged.push(matchChanges[matchIndex++]);\n }\n\n return {\n merged: merged,\n changes: changes\n };\n }\n\n function allRemoves(changes) {\n return changes.reduce(function (prev, change) {\n return prev && change[0] === '-';\n }, true);\n }\n\n function skipRemoveSuperset(state, removeChanges, delta) {\n for (var i = 0; i < delta; i++) {\n var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);\n\n if (state.lines[state.index + i] !== ' ' + changeContent) {\n return false;\n }\n }\n\n state.index += delta;\n return true;\n }\n\n function calcOldNewLineCount(lines) {\n var oldLines = 0;\n var newLines = 0;\n lines.forEach(function (line) {\n if (typeof line !== 'string') {\n var myCount = calcOldNewLineCount(line.mine);\n var theirCount = calcOldNewLineCount(line.theirs);\n\n if (oldLines !== undefined) {\n if (myCount.oldLines === theirCount.oldLines) {\n oldLines += myCount.oldLines;\n } else {\n oldLines = undefined;\n }\n }\n\n if (newLines !== undefined) {\n if (myCount.newLines === theirCount.newLines) {\n newLines += myCount.newLines;\n } else {\n newLines = undefined;\n }\n }\n } else {\n if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {\n newLines++;\n }\n\n if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {\n oldLines++;\n }\n }\n });\n return {\n oldLines: oldLines,\n newLines: newLines\n };\n }\n\n // See: http://code.google.com/p/google-diff-match-patch/wiki/API\n function convertChangesToDMP(changes) {\n var ret = [],\n change,\n operation;\n\n for (var i = 0; i < changes.length; i++) {\n change = changes[i];\n\n if (change.added) {\n operation = 1;\n } else if (change.removed) {\n operation = -1;\n } else {\n operation = 0;\n }\n\n ret.push([operation, change.value]);\n }\n\n return ret;\n }\n\n function convertChangesToXML(changes) {\n var ret = [];\n\n for (var i = 0; i < changes.length; i++) {\n var change = changes[i];\n\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n\n ret.push(escapeHTML(change.value));\n\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n }\n\n return ret.join('');\n }\n\n function escapeHTML(s) {\n var n = s;\n n = n.replace(/&/g, '&');\n n = n.replace(//g, '>');\n n = n.replace(/\"/g, '"');\n return n;\n }\n\n /* See LICENSE file for terms of use */\n\n exports.Diff = Diff;\n exports.diffChars = diffChars;\n exports.diffWords = diffWords;\n exports.diffWordsWithSpace = diffWordsWithSpace;\n exports.diffLines = diffLines;\n exports.diffTrimmedLines = diffTrimmedLines;\n exports.diffSentences = diffSentences;\n exports.diffCss = diffCss;\n exports.diffJson = diffJson;\n exports.diffArrays = diffArrays;\n exports.structuredPatch = structuredPatch;\n exports.createTwoFilesPatch = createTwoFilesPatch;\n exports.createPatch = createPatch;\n exports.applyPatch = applyPatch;\n exports.applyPatches = applyPatches;\n exports.parsePatch = parsePatch;\n exports.merge = merge;\n exports.convertChangesToDMP = convertChangesToDMP;\n exports.convertChangesToXML = convertChangesToXML;\n exports.canonicalize = canonicalize;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","module.exports = __webpack_public_path__ + \"img/linode.72ae9a55.svg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.rows.length)?_c('div',{staticClass:\"grid\"},_vm._l((_vm.rows),function(r,idx){return _c(_vm.asLink ? 'a' : 'div',{key:_vm.get(r, _vm.keyField),tag:\"component\",staticClass:\"item\",class:{\n 'has-description': !!_vm.get(r, _vm.descriptionField),\n 'has-side-label': !!_vm.get(r, _vm.sideLabelField), [_vm.colorFor(r, idx)]: true, disabled: _vm.get(r, _vm.disabledField) === true\n },attrs:{\"href\":_vm.asLink ? _vm.get(r, _vm.linkField) : null,\"target\":_vm.get(r, _vm.targetField),\"rel\":_vm.rel,\"data-testid\":_vm.componentTestid + '-' + _vm.get(r, _vm.nameField)},on:{\"click\":function($event){return _vm.select(r, idx)}}},[_c('div',{staticClass:\"side-label\",class:{'indicator': true }}),(r.deploysOnWindows)?_c('div',[_c('label',{staticClass:\"deploys-os-label\"},[_vm._v(\" \"+_vm._s(_vm.t('catalog.charts.deploysOnWindows'))+\" \")])]):_vm._e(),(r.windowsIncompatible)?_c('div',[_c('label',{staticClass:\"os-incompatible-label\"},[_vm._v(\" \"+_vm._s(_vm.t('catalog.charts.windowsIncompatible'))+\" \")])]):_vm._e(),(_vm.get(r, _vm.sideLabelField))?_c('div',{staticClass:\"side-label\",class:{'indicator': false }},[_c('label',[_vm._v(_vm._s(_vm.get(r, _vm.sideLabelField)))])]):_vm._e(),_c('div',{staticClass:\"logo\"},[(r.iconClass)?_c('i',{class:r.iconClass}):_c('LazyImage',{attrs:{\"src\":_vm.get(r, _vm.iconField)}})],1),_c('h4',{staticClass:\"name\"},[_vm._v(\" \"+_vm._s(_vm.get(r, _vm.nameField))+\" \")]),(_vm.get(r, _vm.descriptionField))?_c('div',{staticClass:\"description\"},[_vm._v(\" \"+_vm._s(_vm.get(r, _vm.descriptionField))+\" \")]):_vm._e()])}),1):_c('div',{staticClass:\"m-50 text-center\"},[_c('h1',{directives:[{name:\"t\",rawName:\"v-t\",value:(_vm.noDataKey),expression:\"noDataKey\"}]})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('img',_vm._b({ref:\"img\",attrs:{\"src\":_vm.initialSrc}},'img',_vm.$attrs,false))\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LazyImage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LazyImage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LazyImage.vue?vue&type=template&id=a0c51996\"\nimport script from \"./LazyImage.vue?vue&type=script&lang=js\"\nexport * from \"./LazyImage.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIconGrid.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIconGrid.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SelectIconGrid.vue?vue&type=template&id=76f2c86c&scoped=true\"\nimport script from \"./SelectIconGrid.vue?vue&type=script&lang=js\"\nexport * from \"./SelectIconGrid.vue?vue&type=script&lang=js\"\nimport style0 from \"./SelectIconGrid.vue?vue&type=style&index=0&id=76f2c86c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76f2c86c\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: PostgreSQL and PL/pgSQL\nAuthor: Egor Rogov (e.rogov@postgrespro.ru)\nWebsite: https://www.postgresql.org/docs/11/sql.html\nDescription:\n This language incorporates both PostgreSQL SQL dialect and PL/pgSQL language.\n It is based on PostgreSQL version 11. Some notes:\n - Text in double-dollar-strings is _always_ interpreted as some programming code. Text\n in ordinary quotes is _never_ interpreted that way and highlighted just as a string.\n - There are quite a bit \"special cases\". That's because many keywords are not strictly\n they are keywords in some contexts and ordinary identifiers in others. Only some\n of such cases are handled; you still can get some of your identifiers highlighted\n wrong way.\n - Function names deliberately are not highlighted. There is no way to tell function\n call from other constructs, hence we can't highlight _all_ function names. And\n some names highlighted while others not looks ugly.\n*/\n\nfunction pgsql(hljs) {\n const COMMENT_MODE = hljs.COMMENT('--', '$');\n const UNQUOTED_IDENT = '[a-zA-Z_][a-zA-Z_0-9$]*';\n const DOLLAR_STRING = '\\\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\\\$';\n const LABEL = '<<\\\\s*' + UNQUOTED_IDENT + '\\\\s*>>';\n\n const SQL_KW =\n // https://www.postgresql.org/docs/11/static/sql-keywords-appendix.html\n // https://www.postgresql.org/docs/11/static/sql-commands.html\n // SQL commands (starting words)\n 'ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE '\n + 'DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY '\n + 'PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW '\n + 'START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES '\n // SQL commands (others)\n + 'AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN '\n + 'WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS '\n + 'FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM '\n + 'TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS '\n + 'METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION '\n + 'INDEX PROCEDURE ASSERTION '\n // additional reserved key words\n + 'ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK '\n + 'COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS '\n + 'DEFERRABLE RANGE '\n + 'DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING '\n + 'ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT '\n + 'NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY '\n + 'REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN '\n + 'TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH '\n // some of non-reserved (which are used in clauses or as PL/pgSQL keyword)\n + 'BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN '\n + 'BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT '\n + 'TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN '\n + 'EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH '\n + 'REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL '\n + 'ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED '\n + 'INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 '\n + 'INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE '\n + 'ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES '\n + 'RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS '\n + 'UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF '\n // some parameters of VACUUM/ANALYZE/EXPLAIN\n + 'FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING '\n //\n + 'RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED '\n + 'OF NOTHING NONE EXCLUDE ATTRIBUTE '\n // from GRANT (not keywords actually)\n + 'USAGE ROUTINES '\n // actually literals, but look better this way (due to IS TRUE, IS FALSE, ISNULL etc)\n + 'TRUE FALSE NAN INFINITY ';\n\n const ROLE_ATTRS = // only those not in keywrods already\n 'SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT '\n + 'LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ';\n\n const PLPGSQL_KW =\n 'ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS '\n + 'STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT '\n + 'OPEN ';\n\n const TYPES =\n // https://www.postgresql.org/docs/11/static/datatype.html\n 'BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR '\n + 'CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 '\n + 'MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 '\n + 'SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 '\n + 'TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR '\n + 'INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 '\n // pseudotypes\n + 'ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL '\n + 'RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR '\n // spec. type\n + 'NAME '\n // OID-types\n + 'OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 '\n + 'REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ';// +\n\n const TYPES_RE =\n TYPES.trim()\n .split(' ')\n .map(function(val) { return val.split('|')[0]; })\n .join('|');\n\n const SQL_BI =\n 'CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP '\n + 'CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ';\n\n const PLPGSQL_BI =\n 'FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 '\n + 'TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 '\n // get diagnostics\n + 'ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME '\n + 'PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 '\n + 'PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ';\n\n const PLPGSQL_EXCEPTIONS =\n // exceptions https://www.postgresql.org/docs/current/static/errcodes-appendix.html\n 'SQLSTATE SQLERRM|10 '\n + 'SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING '\n + 'NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED '\n + 'STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED '\n + 'SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE '\n + 'SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION '\n + 'TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED '\n + 'INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR '\n + 'INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION '\n + 'STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION '\n + 'DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW '\n + 'DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW '\n + 'INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION '\n + 'INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION '\n + 'INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST '\n + 'INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE '\n + 'NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE '\n + 'INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE '\n + 'INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT '\n + 'INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH '\n + 'NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE '\n + 'SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION '\n + 'SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING '\n + 'FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION '\n + 'BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT '\n + 'INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION '\n + 'INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION '\n + 'UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE '\n + 'INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE '\n + 'HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION '\n + 'INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION '\n + 'NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION '\n + 'SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION '\n + 'IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME '\n + 'TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD '\n + 'DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST '\n + 'INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT '\n + 'MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED '\n + 'READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION '\n + 'CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED '\n + 'PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED '\n + 'EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED '\n + 'TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED '\n + 'SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME '\n + 'INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION '\n + 'SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED '\n + 'SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE '\n + 'GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME '\n + 'NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH '\n + 'INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN '\n + 'UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT '\n + 'DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION '\n + 'DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS '\n + 'DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS '\n + 'INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION '\n + 'INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION '\n + 'INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION '\n + 'INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL '\n + 'OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED '\n + 'STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE '\n + 'OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION '\n + 'QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED '\n + 'SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR '\n + 'LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED '\n + 'FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION '\n + 'FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER '\n + 'FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS '\n + 'FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX '\n + 'FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH '\n + 'FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES '\n + 'FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE '\n + 'FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION '\n + 'FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR '\n + 'RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED '\n + 'INDEX_CORRUPTED ';\n\n const FUNCTIONS =\n // https://www.postgresql.org/docs/11/static/functions-aggregate.html\n 'ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG '\n + 'JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG '\n + 'CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE '\n + 'REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP '\n + 'PERCENTILE_CONT PERCENTILE_DISC '\n // https://www.postgresql.org/docs/11/static/functions-window.html\n + 'ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE '\n // https://www.postgresql.org/docs/11/static/functions-comparison.html\n + 'NUM_NONNULLS NUM_NULLS '\n // https://www.postgresql.org/docs/11/static/functions-math.html\n + 'ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT '\n + 'TRUNC WIDTH_BUCKET '\n + 'RANDOM SETSEED '\n + 'ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND '\n // https://www.postgresql.org/docs/11/static/functions-string.html\n + 'BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER '\n + 'ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP '\n + 'LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 '\n + 'QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY '\n + 'REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR '\n + 'TO_ASCII TO_HEX TRANSLATE '\n // https://www.postgresql.org/docs/11/static/functions-binarystring.html\n + 'OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE '\n // https://www.postgresql.org/docs/11/static/functions-formatting.html\n + 'TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP '\n // https://www.postgresql.org/docs/11/static/functions-datetime.html\n + 'AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL '\n + 'MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 '\n + 'TIMEOFDAY TRANSACTION_TIMESTAMP|10 '\n // https://www.postgresql.org/docs/11/static/functions-enum.html\n + 'ENUM_FIRST ENUM_LAST ENUM_RANGE '\n // https://www.postgresql.org/docs/11/static/functions-geometry.html\n + 'AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH '\n + 'BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON '\n // https://www.postgresql.org/docs/11/static/functions-net.html\n + 'ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY '\n + 'INET_MERGE MACADDR8_SET7BIT '\n // https://www.postgresql.org/docs/11/static/functions-textsearch.html\n + 'ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY '\n + 'QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE '\n + 'TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY '\n + 'TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN '\n // https://www.postgresql.org/docs/11/static/functions-xml.html\n + 'XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT '\n + 'XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT '\n + 'XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES '\n + 'TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA '\n + 'QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA '\n + 'CURSOR_TO_XML CURSOR_TO_XMLSCHEMA '\n + 'SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA '\n + 'DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA '\n + 'XMLATTRIBUTES '\n // https://www.postgresql.org/docs/11/static/functions-json.html\n + 'TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT '\n + 'JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH '\n + 'JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH '\n + 'JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET '\n + 'JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT '\n + 'JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET '\n + 'JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY '\n // https://www.postgresql.org/docs/11/static/functions-sequence.html\n + 'CURRVAL LASTVAL NEXTVAL SETVAL '\n // https://www.postgresql.org/docs/11/static/functions-conditional.html\n + 'COALESCE NULLIF GREATEST LEAST '\n // https://www.postgresql.org/docs/11/static/functions-array.html\n + 'ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION '\n + 'ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY '\n + 'STRING_TO_ARRAY UNNEST '\n // https://www.postgresql.org/docs/11/static/functions-range.html\n + 'ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE '\n // https://www.postgresql.org/docs/11/static/functions-srf.html\n + 'GENERATE_SERIES GENERATE_SUBSCRIPTS '\n // https://www.postgresql.org/docs/11/static/functions-info.html\n + 'CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT '\n + 'INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE '\n + 'TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE '\n + 'COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION '\n + 'TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX '\n + 'TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS '\n // https://www.postgresql.org/docs/11/static/functions-admin.html\n + 'CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE '\n + 'GIN_CLEAN_PENDING_LIST '\n // https://www.postgresql.org/docs/11/static/functions-trigger.html\n + 'SUPPRESS_REDUNDANT_UPDATES_TRIGGER '\n // ihttps://www.postgresql.org/docs/devel/static/lo-funcs.html\n + 'LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE '\n //\n + 'GROUPING CAST ';\n\n const FUNCTIONS_RE =\n FUNCTIONS.trim()\n .split(' ')\n .map(function(val) { return val.split('|')[0]; })\n .join('|');\n\n return {\n name: 'PostgreSQL',\n aliases: [\n 'postgres',\n 'postgresql'\n ],\n supersetOf: \"sql\",\n case_insensitive: true,\n keywords: {\n keyword:\n SQL_KW + PLPGSQL_KW + ROLE_ATTRS,\n built_in:\n SQL_BI + PLPGSQL_BI + PLPGSQL_EXCEPTIONS\n },\n // Forbid some cunstructs from other languages to improve autodetect. In fact\n // \"[a-z]:\" is legal (as part of array slice), but improbabal.\n illegal: /:==|\\W\\s*\\(\\*|(^|\\s)\\$[a-z]|\\{\\{|[a-z]:\\s*$|\\.\\.\\.|TO:|DO:/,\n contains: [\n // special handling of some words, which are reserved only in some contexts\n {\n className: 'keyword',\n variants: [\n { begin: /\\bTEXT\\s*SEARCH\\b/ },\n { begin: /\\b(PRIMARY|FOREIGN|FOR(\\s+NO)?)\\s+KEY\\b/ },\n { begin: /\\bPARALLEL\\s+(UNSAFE|RESTRICTED|SAFE)\\b/ },\n { begin: /\\bSTORAGE\\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\\b/ },\n { begin: /\\bMATCH\\s+(FULL|PARTIAL|SIMPLE)\\b/ },\n { begin: /\\bNULLS\\s+(FIRST|LAST)\\b/ },\n { begin: /\\bEVENT\\s+TRIGGER\\b/ },\n { begin: /\\b(MAPPING|OR)\\s+REPLACE\\b/ },\n { begin: /\\b(FROM|TO)\\s+(PROGRAM|STDIN|STDOUT)\\b/ },\n { begin: /\\b(SHARE|EXCLUSIVE)\\s+MODE\\b/ },\n { begin: /\\b(LEFT|RIGHT)\\s+(OUTER\\s+)?JOIN\\b/ },\n { begin: /\\b(FETCH|MOVE)\\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\\b/ },\n { begin: /\\bPRESERVE\\s+ROWS\\b/ },\n { begin: /\\bDISCARD\\s+PLANS\\b/ },\n { begin: /\\bREFERENCING\\s+(OLD|NEW)\\b/ },\n { begin: /\\bSKIP\\s+LOCKED\\b/ },\n { begin: /\\bGROUPING\\s+SETS\\b/ },\n { begin: /\\b(BINARY|INSENSITIVE|SCROLL|NO\\s+SCROLL)\\s+(CURSOR|FOR)\\b/ },\n { begin: /\\b(WITH|WITHOUT)\\s+HOLD\\b/ },\n { begin: /\\bWITH\\s+(CASCADED|LOCAL)\\s+CHECK\\s+OPTION\\b/ },\n { begin: /\\bEXCLUDE\\s+(TIES|NO\\s+OTHERS)\\b/ },\n { begin: /\\bFORMAT\\s+(TEXT|XML|JSON|YAML)\\b/ },\n { begin: /\\bSET\\s+((SESSION|LOCAL)\\s+)?NAMES\\b/ },\n { begin: /\\bIS\\s+(NOT\\s+)?UNKNOWN\\b/ },\n { begin: /\\bSECURITY\\s+LABEL\\b/ },\n { begin: /\\bSTANDALONE\\s+(YES|NO|NO\\s+VALUE)\\b/ },\n { begin: /\\bWITH\\s+(NO\\s+)?DATA\\b/ },\n { begin: /\\b(FOREIGN|SET)\\s+DATA\\b/ },\n { begin: /\\bSET\\s+(CATALOG|CONSTRAINTS)\\b/ },\n { begin: /\\b(WITH|FOR)\\s+ORDINALITY\\b/ },\n { begin: /\\bIS\\s+(NOT\\s+)?DOCUMENT\\b/ },\n { begin: /\\bXML\\s+OPTION\\s+(DOCUMENT|CONTENT)\\b/ },\n { begin: /\\b(STRIP|PRESERVE)\\s+WHITESPACE\\b/ },\n { begin: /\\bNO\\s+(ACTION|MAXVALUE|MINVALUE)\\b/ },\n { begin: /\\bPARTITION\\s+BY\\s+(RANGE|LIST|HASH)\\b/ },\n { begin: /\\bAT\\s+TIME\\s+ZONE\\b/ },\n { begin: /\\bGRANTED\\s+BY\\b/ },\n { begin: /\\bRETURN\\s+(QUERY|NEXT)\\b/ },\n { begin: /\\b(ATTACH|DETACH)\\s+PARTITION\\b/ },\n { begin: /\\bFORCE\\s+ROW\\s+LEVEL\\s+SECURITY\\b/ },\n { begin: /\\b(INCLUDING|EXCLUDING)\\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\\b/ },\n { begin: /\\bAS\\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\\b/ }\n ]\n },\n // functions named as keywords, followed by '('\n { begin: /\\b(FORMAT|FAMILY|VERSION)\\s*\\(/\n // keywords: { built_in: 'FORMAT FAMILY VERSION' }\n },\n // INCLUDE ( ... ) in index_parameters in CREATE TABLE\n {\n begin: /\\bINCLUDE\\s*\\(/,\n keywords: 'INCLUDE'\n },\n // not highlight RANGE if not in frame_clause (not 100% correct, but seems satisfactory)\n { begin: /\\bRANGE(?!\\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/ },\n // disable highlighting in commands CREATE AGGREGATE/COLLATION/DATABASE/OPERTOR/TEXT SEARCH .../TYPE\n // and in PL/pgSQL RAISE ... USING\n { begin: /\\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\\s*=/ },\n // PG_smth; HAS_some_PRIVILEGE\n {\n // className: 'built_in',\n begin: /\\b(PG_\\w+?|HAS_[A-Z_]+_PRIVILEGE)\\b/,\n relevance: 10\n },\n // extract\n {\n begin: /\\bEXTRACT\\s*\\(/,\n end: /\\bFROM\\b/,\n returnEnd: true,\n keywords: {\n // built_in: 'EXTRACT',\n type: 'CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS '\n + 'MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR '\n + 'TIMEZONE_MINUTE WEEK YEAR' }\n },\n // xmlelement, xmlpi - special NAME\n {\n begin: /\\b(XMLELEMENT|XMLPI)\\s*\\(\\s*NAME/,\n keywords: {\n // built_in: 'XMLELEMENT XMLPI',\n keyword: 'NAME' }\n },\n // xmlparse, xmlserialize\n {\n begin: /\\b(XMLPARSE|XMLSERIALIZE)\\s*\\(\\s*(DOCUMENT|CONTENT)/,\n keywords: {\n // built_in: 'XMLPARSE XMLSERIALIZE',\n keyword: 'DOCUMENT CONTENT' }\n },\n // Sequences. We actually skip everything between CACHE|INCREMENT|MAXVALUE|MINVALUE and\n // nearest following numeric constant. Without with trick we find a lot of \"keywords\"\n // in 'avrasm' autodetection test...\n {\n beginKeywords: 'CACHE INCREMENT MAXVALUE MINVALUE',\n end: hljs.C_NUMBER_RE,\n returnEnd: true,\n keywords: 'BY CACHE INCREMENT MAXVALUE MINVALUE'\n },\n // WITH|WITHOUT TIME ZONE as part of datatype\n {\n className: 'type',\n begin: /\\b(WITH|WITHOUT)\\s+TIME\\s+ZONE\\b/\n },\n // INTERVAL optional fields\n {\n className: 'type',\n begin: /\\bINTERVAL\\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\\s+TO\\s+(MONTH|HOUR|MINUTE|SECOND))?\\b/\n },\n // Pseudo-types which allowed only as return type\n {\n begin: /\\bRETURNS\\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\\b/,\n keywords: {\n keyword: 'RETURNS',\n type: 'LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER'\n }\n },\n // Known functions - only when followed by '('\n { begin: '\\\\b(' + FUNCTIONS_RE + ')\\\\s*\\\\('\n // keywords: { built_in: FUNCTIONS }\n },\n // Types\n { begin: '\\\\.(' + TYPES_RE + ')\\\\b' // prevent highlight as type, say, 'oid' in 'pgclass.oid'\n },\n {\n begin: '\\\\b(' + TYPES_RE + ')\\\\s+PATH\\\\b', // in XMLTABLE\n keywords: {\n keyword: 'PATH', // hopefully no one would use PATH type in XMLTABLE...\n type: TYPES.replace('PATH ', '')\n }\n },\n {\n className: 'type',\n begin: '\\\\b(' + TYPES_RE + ')\\\\b'\n },\n // Strings, see https://www.postgresql.org/docs/11/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS\n {\n className: 'string',\n begin: '\\'',\n end: '\\'',\n contains: [ { begin: '\\'\\'' } ]\n },\n {\n className: 'string',\n begin: '(e|E|u&|U&)\\'',\n end: '\\'',\n contains: [ { begin: '\\\\\\\\.' } ],\n relevance: 10\n },\n hljs.END_SAME_AS_BEGIN({\n begin: DOLLAR_STRING,\n end: DOLLAR_STRING,\n contains: [\n {\n // actually we want them all except SQL; listed are those with known implementations\n // and XML + JSON just in case\n subLanguage: [\n 'pgsql',\n 'perl',\n 'python',\n 'tcl',\n 'r',\n 'lua',\n 'java',\n 'php',\n 'ruby',\n 'bash',\n 'scheme',\n 'xml',\n 'json'\n ],\n endsWithParent: true\n }\n ]\n }),\n // identifiers in quotes\n {\n begin: '\"',\n end: '\"',\n contains: [ { begin: '\"\"' } ]\n },\n // numbers\n hljs.C_NUMBER_MODE,\n // comments\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n // PL/pgSQL staff\n // %ROWTYPE, %TYPE, $n\n {\n className: 'meta',\n variants: [\n { // %TYPE, %ROWTYPE\n begin: '%(ROW)?TYPE',\n relevance: 10\n },\n { // $n\n begin: '\\\\$\\\\d+' },\n { // #compiler option\n begin: '^#\\\\w',\n end: '$'\n }\n ]\n },\n // <>\n {\n className: 'symbol',\n begin: LABEL,\n relevance: 10\n }\n ]\n };\n}\n\nmodule.exports = pgsql;\n","module.exports = __webpack_public_path__ + \"img/ovhcloudmks.ccb13957.svg\";","/*\nLanguage: YAML\nDescription: Yet Another Markdown Language\nAuthor: Stefan Wienert \nContributors: Carl Baxter \nRequires: ruby.js\nWebsite: https://yaml.org\nCategory: common, config\n*/\nfunction yaml(hljs) {\n const LITERALS = 'true false yes no null';\n\n // YAML spec allows non-reserved URI characters in tags.\n const URI_CHARACTERS = '[\\\\w#;/?:@&=+$,.~*\\'()[\\\\]]+';\n\n // Define keys as starting with a word character\n // ...containing word chars, spaces, colons, forward-slashes, hyphens and periods\n // ...and ending with a colon followed immediately by a space, tab or newline.\n // The YAML spec allows for much more than this, but this covers most use-cases.\n const KEY = {\n className: 'attr',\n variants: [\n { begin: '\\\\w[\\\\w :\\\\/.-]*:(?=[ \\t]|$)' },\n { // double quoted keys\n begin: '\"\\\\w[\\\\w :\\\\/.-]*\":(?=[ \\t]|$)' },\n { // single quoted keys\n begin: '\\'\\\\w[\\\\w :\\\\/.-]*\\':(?=[ \\t]|$)' }\n ]\n };\n\n const TEMPLATE_VARIABLES = {\n className: 'template-variable',\n variants: [\n { // jinja templates Ansible\n begin: /\\{\\{/,\n end: /\\}\\}/\n },\n { // Ruby i18n\n begin: /%\\{/,\n end: /\\}/\n }\n ]\n };\n const STRING = {\n className: 'string',\n relevance: 0,\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /\\S+/ }\n ],\n contains: [\n hljs.BACKSLASH_ESCAPE,\n TEMPLATE_VARIABLES\n ]\n };\n\n // Strings inside of value containers (objects) can't contain braces,\n // brackets, or commas\n const CONTAINER_STRING = hljs.inherit(STRING, { variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /[^\\s,{}[\\]]+/ }\n ] });\n\n const DATE_RE = '[0-9]{4}(-[0-9][0-9]){0,2}';\n const TIME_RE = '([Tt \\\\t][0-9][0-9]?(:[0-9][0-9]){2})?';\n const FRACTION_RE = '(\\\\.[0-9]*)?';\n const ZONE_RE = '([ \\\\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?';\n const TIMESTAMP = {\n className: 'number',\n begin: '\\\\b' + DATE_RE + TIME_RE + FRACTION_RE + ZONE_RE + '\\\\b'\n };\n\n const VALUE_CONTAINER = {\n end: ',',\n endsWithParent: true,\n excludeEnd: true,\n keywords: LITERALS,\n relevance: 0\n };\n const OBJECT = {\n begin: /\\{/,\n end: /\\}/,\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n const ARRAY = {\n begin: '\\\\[',\n end: '\\\\]',\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n\n const MODES = [\n KEY,\n {\n className: 'meta',\n begin: '^---\\\\s*$',\n relevance: 10\n },\n { // multi line string\n // Blocks start with a | or > followed by a newline\n //\n // Indentation of subsequent lines must be the same to\n // be considered part of the block\n className: 'string',\n begin: '[\\\\|>]([1-9]?[+-])?[ ]*\\\\n( +)[^ ][^\\\\n]*\\\\n(\\\\2[^\\\\n]+\\\\n?)*'\n },\n { // Ruby/Rails erb\n begin: '<%[%=-]?',\n end: '[%-]?%>',\n subLanguage: 'ruby',\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n { // named tags\n className: 'type',\n begin: '!\\\\w+!' + URI_CHARACTERS\n },\n // https://yaml.org/spec/1.2/spec.html#id2784064\n { // verbatim tags\n className: 'type',\n begin: '!<' + URI_CHARACTERS + \">\"\n },\n { // primary tags\n className: 'type',\n begin: '!' + URI_CHARACTERS\n },\n { // secondary tags\n className: 'type',\n begin: '!!' + URI_CHARACTERS\n },\n { // fragment id &ref\n className: 'meta',\n begin: '&' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // fragment reference *ref\n className: 'meta',\n begin: '\\\\*' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // array listing\n className: 'bullet',\n // TODO: remove |$ hack when we have proper look-ahead support\n begin: '-(?=[ ]|$)',\n relevance: 0\n },\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: LITERALS,\n keywords: { literal: LITERALS }\n },\n TIMESTAMP,\n // numbers are any valid C-style number that\n // sit isolated from other words\n {\n className: 'number',\n begin: hljs.C_NUMBER_RE + '\\\\b',\n relevance: 0\n },\n OBJECT,\n ARRAY,\n STRING\n ];\n\n const VALUE_MODES = [ ...MODES ];\n VALUE_MODES.pop();\n VALUE_MODES.push(CONTAINER_STRING);\n VALUE_CONTAINER.contains = VALUE_MODES;\n\n return {\n name: 'YAML',\n case_insensitive: true,\n aliases: [ 'yml' ],\n contains: MODES\n };\n}\n\nmodule.exports = yaml;\n","// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10\nvar decimalDigits = '[0-9](_*[0-9])*';\nvar frac = `\\\\.(${decimalDigits})`;\nvar hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';\nvar NUMERIC = {\n className: 'number',\n variants: [\n // DecimalFloatingPointLiteral\n // including ExponentPart\n { begin: `(\\\\b(${decimalDigits})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n // excluding ExponentPart\n { begin: `\\\\b(${decimalDigits})((${frac})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)` },\n { begin: `(${frac})[fFdD]?\\\\b` },\n { begin: `\\\\b(${decimalDigits})[fFdD]\\\\b` },\n\n // HexadecimalFloatingPointLiteral\n { begin: `\\\\b0[xX]((${hexDigits})\\\\.?|(${hexDigits})?\\\\.(${hexDigits}))` +\n `[pP][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n\n // DecimalIntegerLiteral\n { begin: '\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b' },\n\n // HexIntegerLiteral\n { begin: `\\\\b0[xX](${hexDigits})[lL]?\\\\b` },\n\n // OctalIntegerLiteral\n { begin: '\\\\b0(_*[0-7])*[lL]?\\\\b' },\n\n // BinaryIntegerLiteral\n { begin: '\\\\b0[bB][01](_*[01])*[lL]?\\\\b' },\n ],\n relevance: 0\n};\n\n/*\n Language: Kotlin\n Description: Kotlin is an OSS statically typed programming language that targets the JVM, Android, JavaScript and Native.\n Author: Sergey Mashkov \n Website: https://kotlinlang.org\n Category: common\n */\n\nfunction kotlin(hljs) {\n const KEYWORDS = {\n keyword:\n 'abstract as val var vararg get set class object open private protected public noinline '\n + 'crossinline dynamic final enum if else do while for when throw try catch finally '\n + 'import package is in fun override companion reified inline lateinit init '\n + 'interface annotation data sealed internal infix operator out by constructor super '\n + 'tailrec where const inner suspend typealias external expect actual',\n built_in:\n 'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',\n literal:\n 'true false null'\n };\n const KEYWORDS_WITH_LABEL = {\n className: 'keyword',\n begin: /\\b(break|continue|return|this)\\b/,\n starts: { contains: [\n {\n className: 'symbol',\n begin: /@\\w+/\n }\n ] }\n };\n const LABEL = {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '@'\n };\n\n // for string templates\n const SUBST = {\n className: 'subst',\n begin: /\\$\\{/,\n end: /\\}/,\n contains: [ hljs.C_NUMBER_MODE ]\n };\n const VARIABLE = {\n className: 'variable',\n begin: '\\\\$' + hljs.UNDERSCORE_IDENT_RE\n };\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"\"\"',\n end: '\"\"\"(?=[^\"])',\n contains: [\n VARIABLE,\n SUBST\n ]\n },\n // Can't use built-in modes easily, as we want to use STRING in the meta\n // context as 'meta-string' and there's no syntax to remove explicitly set\n // classNames in built-in modes.\n {\n begin: '\\'',\n end: '\\'',\n illegal: /\\n/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: /\\n/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE,\n SUBST\n ]\n }\n ]\n };\n SUBST.contains.push(STRING);\n\n const ANNOTATION_USE_SITE = {\n className: 'meta',\n begin: '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*' + hljs.UNDERSCORE_IDENT_RE + ')?'\n };\n const ANNOTATION = {\n className: 'meta',\n begin: '@' + hljs.UNDERSCORE_IDENT_RE,\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n hljs.inherit(STRING, { className: 'string' }),\n \"self\"\n ]\n }\n ]\n };\n\n // https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals\n // According to the doc above, the number mode of kotlin is the same as java 8,\n // so the code below is copied from java.js\n const KOTLIN_NUMBER_MODE = NUMERIC;\n const KOTLIN_NESTED_COMMENT = hljs.COMMENT(\n '/\\\\*', '\\\\*/',\n { contains: [ hljs.C_BLOCK_COMMENT_MODE ] }\n );\n const KOTLIN_PAREN_TYPE = { variants: [\n {\n className: 'type',\n begin: hljs.UNDERSCORE_IDENT_RE\n },\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [] // defined later\n }\n ] };\n const KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;\n KOTLIN_PAREN_TYPE2.variants[1].contains = [ KOTLIN_PAREN_TYPE ];\n KOTLIN_PAREN_TYPE.variants[1].contains = [ KOTLIN_PAREN_TYPE2 ];\n\n return {\n name: 'Kotlin',\n aliases: [\n 'kt',\n 'kts'\n ],\n keywords: KEYWORDS,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n KEYWORDS_WITH_LABEL,\n LABEL,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n {\n className: 'function',\n beginKeywords: 'fun',\n end: '[(]|$',\n returnBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 5,\n contains: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(',\n returnBegin: true,\n relevance: 0,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n className: 'type',\n begin: //,\n keywords: 'reified',\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n endsParent: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n {\n begin: /:/,\n end: /[=,\\/]/,\n endsWithParent: true,\n contains: [\n KOTLIN_PAREN_TYPE,\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT\n ],\n relevance: 0\n },\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n STRING,\n hljs.C_NUMBER_MODE\n ]\n },\n KOTLIN_NESTED_COMMENT\n ]\n },\n {\n begin: [\n /class|interface|trait/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n beginScope: {\n 3: \"title.class\"\n },\n keywords: 'class interface trait',\n end: /[:\\{(]|$/,\n excludeEnd: true,\n illegal: 'extends implements',\n contains: [\n { beginKeywords: 'public protected internal private constructor' },\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'type',\n begin: //,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n {\n className: 'type',\n begin: /[,:]\\s*/,\n end: /[<\\(,){\\s]|$/,\n excludeBegin: true,\n returnEnd: true\n },\n ANNOTATION_USE_SITE,\n ANNOTATION\n ]\n },\n STRING,\n {\n className: 'meta',\n begin: \"^#!/usr/bin/env\",\n end: '$',\n illegal: '\\n'\n },\n KOTLIN_NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = kotlin;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CodeMirror.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CodeMirror.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CodeMirror.vue?vue&type=template&id=3059703f\"\nimport script from \"./CodeMirror.vue?vue&type=script&lang=js\"\nexport * from \"./CodeMirror.vue?vue&type=script&lang=js\"\nimport style0 from \"./CodeMirror.vue?vue&type=style&index=0&id=3059703f&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/baidu.59230de0.svg\";","export * from \"-!../../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NameNsDescription.vue?vue&type=style&index=0&id=02ddcc7c&prod&lang=scss&scoped=true\"","export { default as LabeledInput } from './LabeledInput.vue';\n","module.exports = __webpack_public_path__ + \"img/oracleoke-black.aaa9e8cf.svg\";","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ArrayList.vue?vue&type=template&id=59aaa5e9&scoped=true\"\nimport script from \"./ArrayList.vue?vue&type=script&lang=js\"\nexport * from \"./ArrayList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ArrayList.vue?vue&type=style&index=0&id=59aaa5e9&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"59aaa5e9\",\n null\n \n)\n\nexport default component.exports","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".cru-resource-yaml-container .resource-yaml .yaml-editor[data-v-5d7d1298]{min-height:100px}.create-resource-container .resource-container[data-v-5d7d1298]{display:flex;flex-direction:column}.create-resource-container .subtype-banner .round-image[data-v-5d7d1298]{background-color:var(--primary)}.title[data-v-5d7d1298]{margin-top:20px}.title.with-description[data-v-5d7d1298]{margin-top:0}.subtype-container[data-v-5d7d1298]{position:relative;display:flex;height:100%}.subtype-body[data-v-5d7d1298]{flex:1;padding:10px}.subtype-logo[data-v-5d7d1298]{align-items:center;display:flex;justify-content:center;min-width:100px;min-height:100px;overflow:hidden;background-color:var(--box-bg)}.subtype-logo img[data-v-5d7d1298]{width:56px;height:56px;-o-object-fit:contain;object-fit:contain;position:relative;top:2px}form.create-resource-container .cru__footer[data-v-5d7d1298]{border-top:var(--header-border-size) solid var(--header-border)}.cru[data-v-5d7d1298],.cru__form[data-v-5d7d1298]{display:flex;flex-direction:column;flex-grow:1}.cru__content[data-v-5d7d1298]{flex-grow:1}.cru__content-wizard[data-v-5d7d1298]{display:flex}.cru__footer[data-v-5d7d1298]{right:0;bottom:0;margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:10px 20px}.cru__errors[data-v-5d7d1298],.cru__footer[data-v-5d7d1298]{position:sticky;background-color:var(--header-bg)}.cru__errors[data-v-5d7d1298]{top:0;z-index:1;margin:10px 0}.description[data-v-5d7d1298]{margin-bottom:15px;margin-top:5px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/*\nLanguage: Dart\nRequires: markdown.js\nAuthor: Maxim Dikun \nDescription: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/\nWebsite: https://dart.dev\nCategory: scripting\n*/\n\n/** @type LanguageFn */\nfunction dart(hljs) {\n const SUBST = {\n className: 'subst',\n variants: [ { begin: '\\\\$[A-Za-z0-9_]+' } ]\n };\n\n const BRACED_SUBST = {\n className: 'subst',\n variants: [\n {\n begin: /\\$\\{/,\n end: /\\}/\n }\n ],\n keywords: 'true false null this is new super'\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: 'r\\'\\'\\'',\n end: '\\'\\'\\''\n },\n {\n begin: 'r\"\"\"',\n end: '\"\"\"'\n },\n {\n begin: 'r\\'',\n end: '\\'',\n illegal: '\\\\n'\n },\n {\n begin: 'r\"',\n end: '\"',\n illegal: '\\\\n'\n },\n {\n begin: '\\'\\'\\'',\n end: '\\'\\'\\'',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n }\n ]\n };\n BRACED_SUBST.contains = [\n hljs.C_NUMBER_MODE,\n STRING\n ];\n\n const BUILT_IN_TYPES = [\n // dart:core\n 'Comparable',\n 'DateTime',\n 'Duration',\n 'Function',\n 'Iterable',\n 'Iterator',\n 'List',\n 'Map',\n 'Match',\n 'Object',\n 'Pattern',\n 'RegExp',\n 'Set',\n 'Stopwatch',\n 'String',\n 'StringBuffer',\n 'StringSink',\n 'Symbol',\n 'Type',\n 'Uri',\n 'bool',\n 'double',\n 'int',\n 'num',\n // dart:html\n 'Element',\n 'ElementList'\n ];\n const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);\n\n const BASIC_KEYWORDS = [\n \"abstract\",\n \"as\",\n \"assert\",\n \"async\",\n \"await\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"const\",\n \"continue\",\n \"covariant\",\n \"default\",\n \"deferred\",\n \"do\",\n \"dynamic\",\n \"else\",\n \"enum\",\n \"export\",\n \"extends\",\n \"extension\",\n \"external\",\n \"factory\",\n \"false\",\n \"final\",\n \"finally\",\n \"for\",\n \"Function\",\n \"get\",\n \"hide\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"inferface\",\n \"is\",\n \"late\",\n \"library\",\n \"mixin\",\n \"new\",\n \"null\",\n \"on\",\n \"operator\",\n \"part\",\n \"required\",\n \"rethrow\",\n \"return\",\n \"set\",\n \"show\",\n \"static\",\n \"super\",\n \"switch\",\n \"sync\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"typedef\",\n \"var\",\n \"void\",\n \"while\",\n \"with\",\n \"yield\"\n ];\n\n const KEYWORDS = {\n keyword: BASIC_KEYWORDS,\n built_in:\n BUILT_IN_TYPES\n .concat(NULLABLE_BUILT_IN_TYPES)\n .concat([\n // dart:core\n 'Never',\n 'Null',\n 'dynamic',\n 'print',\n // dart:html\n 'document',\n 'querySelector',\n 'querySelectorAll',\n 'window'\n ]),\n $pattern: /[A-Za-z][A-Za-z0-9_]*\\??/\n };\n\n return {\n name: 'Dart',\n keywords: KEYWORDS,\n contains: [\n STRING,\n hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n /\\*\\//,\n {\n subLanguage: 'markdown',\n relevance: 0\n }\n ),\n hljs.COMMENT(\n /\\/{3,} ?/,\n /$/, { contains: [\n {\n subLanguage: 'markdown',\n begin: '.',\n end: '$',\n relevance: 0\n }\n ] }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n { beginKeywords: 'extends implements' },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '@[A-Za-z]+'\n },\n { begin: '=>' // No markup, just a relevance booster\n }\n ]\n };\n}\n\nmodule.exports = dart;\n","/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({ beforeCreate: vuexInit });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n Vue.prototype._init = function (options) {\n if ( options === void 0 ) options = {};\n\n options.init = options.init\n ? [vuexInit].concat(options.init)\n : vuexInit;\n _init.call(this, options);\n };\n }\n\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n function vuexInit () {\n var options = this.$options;\n // store injection\n if (options.store) {\n this.$store = typeof options.store === 'function'\n ? options.store()\n : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin (store) {\n if (!devtoolHook) { return }\n\n store._devtoolHook = devtoolHook;\n\n devtoolHook.emit('vuex:init', store);\n\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, { prepend: true });\n\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, { prepend: true });\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find (list, f) {\n return list.filter(f)[0]\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array} cache\n * @return {*}\n */\nfunction deepCopy (obj, cache) {\n if ( cache === void 0 ) cache = [];\n\n // just return if obj is immutable value\n if (obj === null || typeof obj !== 'object') {\n return obj\n }\n\n // if obj is hit, it is in circular structure\n var hit = find(cache, function (c) { return c.original === obj; });\n if (hit) {\n return hit.copy\n }\n\n var copy = Array.isArray(obj) ? [] : {};\n // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n cache.push({\n original: obj,\n copy: copy\n });\n\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n\n return copy\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n return function () {\n return fn(arg)\n }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n this.runtime = runtime;\n // Store some children item\n this._children = Object.create(null);\n // Store the origin module object which passed by programmer\n this._rawModule = rawModule;\n var rawState = rawModule.state;\n\n // Store the origin module's state\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = { namespaced: { configurable: true } };\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n return path.reduce(function (module, key) {\n return module.getChild(key)\n }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '')\n }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n var this$1 = this;\n if ( runtime === void 0 ) runtime = true;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n }\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to unregister module '\" + key + \"', which is \" +\n \"not registered\"\n );\n }\n return\n }\n\n if (!child.runtime) {\n return\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key)\n }\n\n return false\n};\n\nfunction update (path, targetModule, newModule) {\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, newModule);\n }\n\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n 'manual reload is needed'\n );\n }\n return\n }\n update(\n path.concat(key),\n targetModule.getChild(key),\n newModule.modules[key]\n );\n }\n }\n}\n\nvar functionAssert = {\n assert: function (value) { return typeof value === 'function'; },\n expected: 'function'\n};\n\nvar objectAssert = {\n assert: function (value) { return typeof value === 'function' ||\n (typeof value === 'object' && typeof value.handler === 'function'); },\n expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) { return }\n\n var assertOptions = assertTypes[key];\n\n forEachValue(rawModule[key], function (value, type) {\n assert(\n assertOptions.assert(value),\n makeAssertionMessage(path, key, type, value, assertOptions.expected)\n );\n });\n });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n if (path.length > 0) {\n buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n }\n buf += \" is \" + (JSON.stringify(value)) + \".\";\n return buf\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store (options) {\n var this$1 = this;\n if ( options === void 0 ) options = {};\n\n // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n var strict = options.strict; if ( strict === void 0 ) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null);\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch (type, payload) {\n return dispatch.call(store, type, payload)\n };\n this.commit = function boundCommit (type, payload, options) {\n return commit.call(store, type, payload, options)\n };\n\n // strict mode\n this.strict = strict;\n\n var state = this._modules.root.state;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreVM(this, state);\n\n // apply plugins\n plugins.forEach(function (plugin) { return plugin(this$1); });\n\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = { state: { configurable: true } };\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n var this$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n\n var mutation = { type: type, payload: payload };\n var entry = this._mutations[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown mutation type: \" + type));\n }\n return\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator (handler) {\n handler(payload);\n });\n });\n\n this._subscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) { return sub(mutation, this$1.state); });\n\n if (\n (process.env.NODE_ENV !== 'production') &&\n options && options.silent\n ) {\n console.warn(\n \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n 'Use the filter functionality in the vue-devtools'\n );\n }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n var this$1 = this;\n\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n\n var action = { type: type, payload: payload };\n var entry = this._actions[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown action type: \" + type));\n }\n return\n }\n\n try {\n this._actionSubscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) { return sub.before; })\n .forEach(function (sub) { return sub.before(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1\n ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n : entry[0](payload);\n\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.after; })\n .forEach(function (sub) { return sub.after(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.error; })\n .forEach(function (sub) { return sub.error(action, this$1.state, error); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n reject(error);\n });\n })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n var subs = typeof fn === 'function' ? { before: fn } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch (getter, cb, options) {\n var this$1 = this;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n if ( options === void 0 ) options = {};\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n // reset store to update getters...\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n var this$1 = this;\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors$1 );\n\nfunction genericSubscribe (fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend\n ? subs.unshift(fn)\n : subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n }\n}\n\nfunction resetStore (store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset vm\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM (store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n // reset local getters cache\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function () { return store._vm[key]; },\n enumerable: true // for local getters\n });\n });\n\n // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent;\n\n // enable strict mode for new vm\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n Vue.nextTick(function () { return oldVm.$destroy(); });\n }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && (process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n }\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n if ((process.env.NODE_ENV !== 'production')) {\n if (moduleName in parentState) {\n console.warn(\n (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n );\n }\n }\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n var noNamespace = namespace === '';\n\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._actions[type]) {\n console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n return store.dispatch(type, payload)\n },\n\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._mutations[type]) {\n console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by vm update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace\n ? function () { return store.getters; }\n : function () { return makeLocalGetters(store, namespace); }\n },\n state: {\n get: function () { return getNestedState(store.state, path); }\n }\n });\n\n return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) { return }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () { return store.getters[type]; },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler (payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction (store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler (payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err\n })\n } else {\n return res\n }\n });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate getter key: \" + type));\n }\n return\n }\n store._wrappedGetters[type] = function wrappedGetter (store) {\n return rawGetter(\n local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n )\n };\n}\n\nfunction enableStrictMode (store) {\n store._vm.$watch(function () { return this._data.$$state }, function () {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, { deep: true, sync: true });\n}\n\nfunction getNestedState (state, path) {\n return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n }\n\n return { type: type, payload: payload, options: options }\n}\n\nfunction install (_Vue) {\n if (Vue && _Vue === Vue) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error(\n '[vuex] already installed. Vue.use(Vuex) should be called only once.'\n );\n }\n return\n }\n Vue = _Vue;\n applyMixin(Vue);\n}\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState () {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function'\n ? val.call(this, state, getters)\n : state[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // Get the commit method from store\n var commit = this.$store.commit;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n if (!module) {\n return\n }\n commit = module.context.commit;\n }\n return typeof val === 'function'\n ? val.apply(this, [commit].concat(args))\n : commit.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n // The namespace has been mutated by normalizeNamespace\n val = namespace + val;\n res[key] = function mappedGetter () {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return\n }\n if ((process.env.NODE_ENV !== 'production') && !(val in this.$store.getters)) {\n console.error((\"[vuex] unknown getter: \" + val));\n return\n }\n return this.$store.getters[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // get dispatch function from store\n var dispatch = this.$store.dispatch;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n if (!module) {\n return\n }\n dispatch = module.context.dispatch;\n }\n return typeof val === 'function'\n ? val.apply(this, [dispatch].concat(args))\n : dispatch.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n if (!isValidMap(map)) {\n return []\n }\n return Array.isArray(map)\n ? map.map(function (key) { return ({ key: key, val: key }); })\n : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map)\n }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if ((process.env.NODE_ENV !== 'production') && !module) {\n console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n }\n return module\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger (ref) {\n if ( ref === void 0 ) ref = {};\n var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;\n var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };\n var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };\n var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };\n var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };\n var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };\n var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;\n var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;\n var logger = ref.logger; if ( logger === void 0 ) logger = console;\n\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + (mutation.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + (action.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n }\n}\n\nfunction startMessage (logger, message, collapsed) {\n var startMessage = collapsed\n ? logger.groupCollapsed\n : logger.group;\n\n // render\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage (logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime () {\n var time = new Date();\n return (\" @ \" + (pad(time.getHours(), 2)) + \":\" + (pad(time.getMinutes(), 2)) + \":\" + (pad(time.getSeconds(), 2)) + \".\" + (pad(time.getMilliseconds(), 3)))\n}\n\nfunction repeat (str, times) {\n return (new Array(times + 1)).join(str)\n}\n\nfunction pad (num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.6.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\n\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, install, mapActions, mapGetters, mapMutations, mapState };\n","/*\nLanguage: Clojure\nDescription: Clojure syntax (based on lisp.js)\nAuthor: mfornos\nWebsite: https://clojure.org\nCategory: lisp\n*/\n\n/** @type LanguageFn */\nfunction clojure(hljs) {\n const SYMBOLSTART = 'a-zA-Z_\\\\-!.?+*=<>&\\'';\n const SYMBOL_RE = '[#]?[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:$#]*';\n const globals = 'def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord';\n const keywords = {\n $pattern: SYMBOL_RE,\n built_in:\n // Clojure keywords\n globals + ' '\n + 'cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem '\n + 'quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? '\n + 'set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? '\n + 'class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? '\n + 'string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . '\n + 'inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last '\n + 'drop-while while intern condp case reduced cycle split-at split-with repeat replicate '\n + 'iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext '\n + 'nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends '\n + 'add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler '\n + 'set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter '\n + 'monitor-exit macroexpand macroexpand-1 for dosync and or '\n + 'when when-not when-let comp juxt partial sequence memoize constantly complement identity assert '\n + 'peek pop doto proxy first rest cons cast coll last butlast '\n + 'sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import '\n + 'refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! '\n + 'assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger '\n + 'bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline '\n + 'flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking '\n + 'assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! '\n + 'reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! '\n + 'new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty '\n + 'hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list '\n + 'disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer '\n + 'chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate '\n + 'unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta '\n + 'lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize'\n };\n\n const SYMBOL = {\n begin: SYMBOL_RE,\n relevance: 0\n };\n const NUMBER = {\n scope: 'number',\n relevance: 0,\n variants: [\n { match: /[-+]?0[xX][0-9a-fA-F]+N?/ }, // hexadecimal // 0x2a\n { match: /[-+]?0[0-7]+N?/ }, // octal // 052\n { match: /[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/ }, // variable radix from 2 to 36 // 2r101010, 8r52, 36r16\n { match: /[-+]?[0-9]+\\/[0-9]+N?/ }, // ratio // 1/2\n { match: /[-+]?[0-9]+((\\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/ }, // float // 0.42 4.2E-1M 42E1 42M\n { match: /[-+]?([1-9][0-9]*|0)N?/ }, // int (don't match leading 0) // 42 42N\n ]\n };\n const CHARACTER = {\n scope: 'character',\n variants: [\n { match: /\\\\o[0-3]?[0-7]{1,2}/ }, // Unicode Octal 0 - 377\n { match: /\\\\u[0-9a-fA-F]{4}/ }, // Unicode Hex 0000 - FFFF\n { match: /\\\\(newline|space|tab|formfeed|backspace|return)/ }, // special characters\n {\n match: /\\\\\\S/,\n relevance: 0\n } // any non-whitespace char\n ]\n };\n const REGEX = {\n scope: 'regex',\n begin: /#\"/,\n end: /\"/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });\n const COMMA = {\n scope: 'punctuation',\n match: /,/,\n relevance: 0\n };\n const COMMENT = hljs.COMMENT(\n ';',\n '$',\n { relevance: 0 }\n );\n const LITERAL = {\n className: 'literal',\n begin: /\\b(true|false|nil)\\b/\n };\n const COLLECTION = {\n begin: \"\\\\[|(#::?\" + SYMBOL_RE + \")?\\\\{\",\n end: '[\\\\]\\\\}]',\n relevance: 0\n };\n const KEY = {\n className: 'symbol',\n begin: '[:]{1,2}' + SYMBOL_RE\n };\n const LIST = {\n begin: '\\\\(',\n end: '\\\\)'\n };\n const BODY = {\n endsWithParent: true,\n relevance: 0\n };\n const NAME = {\n keywords: keywords,\n className: 'name',\n begin: SYMBOL_RE,\n relevance: 0,\n starts: BODY\n };\n const DEFAULT_CONTAINS = [\n COMMA,\n LIST,\n CHARACTER,\n REGEX,\n STRING,\n COMMENT,\n KEY,\n COLLECTION,\n NUMBER,\n LITERAL,\n SYMBOL\n ];\n\n const GLOBAL = {\n beginKeywords: globals,\n keywords: {\n $pattern: SYMBOL_RE,\n keyword: globals\n },\n end: '(\\\\[|#|\\\\d|\"|:|\\\\{|\\\\)|\\\\(|$)',\n contains: [\n {\n className: 'title',\n begin: SYMBOL_RE,\n relevance: 0,\n excludeEnd: true,\n // we can only have a single title\n endsParent: true\n }\n ].concat(DEFAULT_CONTAINS)\n };\n\n LIST.contains = [\n GLOBAL,\n NAME,\n BODY\n ];\n BODY.contains = DEFAULT_CONTAINS;\n COLLECTION.contains = DEFAULT_CONTAINS;\n\n return {\n name: 'Clojure',\n aliases: [\n 'clj',\n 'edn'\n ],\n illegal: /\\S/,\n contains: [\n COMMA,\n LIST,\n CHARACTER,\n REGEX,\n STRING,\n COMMENT,\n KEY,\n COLLECTION,\n NUMBER,\n LITERAL\n ]\n };\n}\n\nmodule.exports = clojure;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultDiff2HtmlUIConfig = exports.Diff2HtmlUI = void 0;\nvar highlight_js_slim_1 = require(\"./highlight.js-slim\");\nvar diff2html_ui_base_1 = require(\"./diff2html-ui-base\");\nObject.defineProperty(exports, \"defaultDiff2HtmlUIConfig\", { enumerable: true, get: function () { return diff2html_ui_base_1.defaultDiff2HtmlUIConfig; } });\nvar Diff2HtmlUI = (function (_super) {\n __extends(Diff2HtmlUI, _super);\n function Diff2HtmlUI(target, diffInput, config) {\n if (config === void 0) { config = {}; }\n return _super.call(this, target, diffInput, config, highlight_js_slim_1.hljs) || this;\n }\n return Diff2HtmlUI;\n}(diff2html_ui_base_1.Diff2HtmlUI));\nexports.Diff2HtmlUI = Diff2HtmlUI;\n//# sourceMappingURL=diff2html-ui-slim.js.map","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Select.vue?vue&type=template&id=6c2022f0&scoped=true\"\nimport script from \"./Select.vue?vue&type=script&lang=js\"\nexport * from \"./Select.vue?vue&type=script&lang=js\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&id=6c2022f0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c2022f0\",\n null\n \n)\n\nexport default component.exports","\n\n \n \n \n \n {{ _addLabel }}\n \n \n \n \n \n\n\n\n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyValue.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyValue.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./KeyValue.vue?vue&type=template&id=517e44db\"\nimport script from \"./KeyValue.vue?vue&type=script&lang=js\"\nexport * from \"./KeyValue.vue?vue&type=script&lang=js\"\nimport style0 from \"./KeyValue.vue?vue&type=style&index=0&id=517e44db&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/openstack-black.46740f63.svg\";","module.exports = __webpack_public_path__ + \"img/local-cluster.c77b2023.svg\";","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=style&index=0&id=2c149d3a&prod&lang=scss\"","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.html = exports.parse = exports.defaultDiff2HtmlConfig = void 0;\nvar DiffParser = __importStar(require(\"./diff-parser\"));\nvar fileListPrinter = __importStar(require(\"./file-list-renderer\"));\nvar line_by_line_renderer_1 = __importStar(require(\"./line-by-line-renderer\"));\nvar side_by_side_renderer_1 = __importStar(require(\"./side-by-side-renderer\"));\nvar types_1 = require(\"./types\");\nvar hoganjs_utils_1 = __importDefault(require(\"./hoganjs-utils\"));\nexports.defaultDiff2HtmlConfig = __assign(__assign(__assign({}, line_by_line_renderer_1.defaultLineByLineRendererConfig), side_by_side_renderer_1.defaultSideBySideRendererConfig), { outputFormat: types_1.OutputFormatType.LINE_BY_LINE, drawFileList: true });\nfunction parse(diffInput, configuration) {\n if (configuration === void 0) { configuration = {}; }\n return DiffParser.parse(diffInput, __assign(__assign({}, exports.defaultDiff2HtmlConfig), configuration));\n}\nexports.parse = parse;\nfunction html(diffInput, configuration) {\n if (configuration === void 0) { configuration = {}; }\n var config = __assign(__assign({}, exports.defaultDiff2HtmlConfig), configuration);\n var diffJson = typeof diffInput === 'string' ? DiffParser.parse(diffInput, config) : diffInput;\n var hoganUtils = new hoganjs_utils_1.default(config);\n var fileList = config.drawFileList ? fileListPrinter.render(diffJson, hoganUtils) : '';\n var diffOutput = config.outputFormat === 'side-by-side'\n ? new side_by_side_renderer_1.default(hoganUtils, config).render(diffJson)\n : new line_by_line_renderer_1.default(hoganUtils, config).render(diffJson);\n return fileList + diffOutput;\n}\nexports.html = html;\n//# sourceMappingURL=diff2html.js.map","module.exports = __webpack_public_path__ + \"img/packet.5fce6e98.svg\";","module.exports = __webpack_public_path__ + \"img/amazoneks.08036fe5.svg\";","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Diff2HtmlUI = exports.defaultDiff2HtmlUIConfig = void 0;\nvar highlight_js_helpers_1 = require(\"./highlight.js-helpers\");\nvar diff2html_1 = require(\"../../diff2html\");\nexports.defaultDiff2HtmlUIConfig = __assign(__assign({}, diff2html_1.defaultDiff2HtmlConfig), { synchronisedScroll: true, highlight: true, fileListToggle: true, fileListStartVisible: false, highlightLanguages: new Map(), smartSelection: true, fileContentToggle: true, stickyFileHeaders: true });\nvar Diff2HtmlUI = (function () {\n function Diff2HtmlUI(target, diffInput, config, hljs) {\n if (config === void 0) { config = {}; }\n this.hljs = null;\n this.currentSelectionColumnId = -1;\n this.config = __assign(__assign({}, exports.defaultDiff2HtmlUIConfig), config);\n this.diffHtml = diffInput !== undefined ? (0, diff2html_1.html)(diffInput, this.config) : target.innerHTML;\n this.targetElement = target;\n if (hljs !== undefined)\n this.hljs = hljs;\n }\n Diff2HtmlUI.prototype.draw = function () {\n this.targetElement.innerHTML = this.diffHtml;\n if (this.config.synchronisedScroll)\n this.synchronisedScroll();\n if (this.config.highlight)\n this.highlightCode();\n if (this.config.fileListToggle)\n this.fileListToggle(this.config.fileListStartVisible);\n if (this.config.fileContentToggle)\n this.fileContentToggle();\n if (this.config.stickyFileHeaders)\n this.stickyFileHeaders();\n };\n Diff2HtmlUI.prototype.synchronisedScroll = function () {\n this.targetElement.querySelectorAll('.d2h-file-wrapper').forEach(function (wrapper) {\n var _a = Array().slice.call(wrapper.querySelectorAll('.d2h-file-side-diff')), left = _a[0], right = _a[1];\n if (left === undefined || right === undefined)\n return;\n var onScroll = function (event) {\n if (event === null || event.target === null)\n return;\n if (event.target === left) {\n right.scrollTop = left.scrollTop;\n right.scrollLeft = left.scrollLeft;\n }\n else {\n left.scrollTop = right.scrollTop;\n left.scrollLeft = right.scrollLeft;\n }\n };\n left.addEventListener('scroll', onScroll);\n right.addEventListener('scroll', onScroll);\n });\n };\n Diff2HtmlUI.prototype.fileListToggle = function (startVisible) {\n var showBtn = this.targetElement.querySelector('.d2h-show');\n var hideBtn = this.targetElement.querySelector('.d2h-hide');\n var fileList = this.targetElement.querySelector('.d2h-file-list');\n if (showBtn === null || hideBtn === null || fileList === null)\n return;\n var show = function () {\n showBtn.style.display = 'none';\n hideBtn.style.display = 'inline';\n fileList.style.display = 'block';\n };\n var hide = function () {\n showBtn.style.display = 'inline';\n hideBtn.style.display = 'none';\n fileList.style.display = 'none';\n };\n showBtn.addEventListener('click', function () { return show(); });\n hideBtn.addEventListener('click', function () { return hide(); });\n var hashTag = this.getHashTag();\n if (hashTag === 'files-summary-show')\n show();\n else if (hashTag === 'files-summary-hide')\n hide();\n else if (startVisible)\n show();\n else\n hide();\n };\n Diff2HtmlUI.prototype.fileContentToggle = function () {\n this.targetElement.querySelectorAll('.d2h-file-collapse').forEach(function (fileContentToggleBtn) {\n fileContentToggleBtn.style.display = 'flex';\n var toggleFileContents = function (selector) {\n var _a;\n var fileContents = (_a = fileContentToggleBtn\n .closest('.d2h-file-wrapper')) === null || _a === void 0 ? void 0 : _a.querySelector(selector);\n if (fileContents !== null && fileContents !== undefined) {\n fileContentToggleBtn.classList.toggle('d2h-selected');\n fileContents.classList.toggle('d2h-d-none');\n }\n };\n var toggleHandler = function (e) {\n if (fileContentToggleBtn === e.target)\n return;\n toggleFileContents('.d2h-file-diff');\n toggleFileContents('.d2h-files-diff');\n };\n fileContentToggleBtn.addEventListener('click', function (e) { return toggleHandler(e); });\n });\n };\n Diff2HtmlUI.prototype.highlightCode = function () {\n var _this = this;\n var hljs = this.hljs;\n if (hljs === null) {\n throw new Error('Missing a `highlight.js` implementation. Please provide one when instantiating Diff2HtmlUI.');\n }\n var files = this.targetElement.querySelectorAll('.d2h-file-wrapper');\n files.forEach(function (file) {\n var language = file.getAttribute('data-lang');\n if (!(_this.config.highlightLanguages instanceof Map)) {\n _this.config.highlightLanguages = new Map(Object.entries(_this.config.highlightLanguages));\n }\n var hljsLanguage = language && _this.config.highlightLanguages.has(language)\n ?\n _this.config.highlightLanguages.get(language)\n : language\n ? (0, highlight_js_helpers_1.getLanguage)(language)\n : 'plaintext';\n var codeLines = file.querySelectorAll('.d2h-code-line-ctn');\n codeLines.forEach(function (line) {\n var text = line.textContent;\n var lineParent = line.parentNode;\n if (text === null || lineParent === null || !_this.isElement(lineParent))\n return;\n var result = (0, highlight_js_helpers_1.closeTags)(hljs.highlight(text, {\n language: hljsLanguage,\n ignoreIllegals: true,\n }));\n var originalStream = (0, highlight_js_helpers_1.nodeStream)(line);\n if (originalStream.length) {\n var resultNode = document.createElementNS('http://www.w3.org/1999/xhtml', 'div');\n resultNode.innerHTML = result.value;\n result.value = (0, highlight_js_helpers_1.mergeStreams)(originalStream, (0, highlight_js_helpers_1.nodeStream)(resultNode), text);\n }\n line.classList.add('hljs');\n if (result.language) {\n line.classList.add(result.language);\n }\n line.innerHTML = result.value;\n });\n });\n };\n Diff2HtmlUI.prototype.stickyFileHeaders = function () {\n this.targetElement.querySelectorAll('.d2h-file-header').forEach(function (header) {\n header.classList.add('d2h-sticky-header');\n });\n };\n Diff2HtmlUI.prototype.smartSelection = function () {\n console.warn('Smart selection is now enabled by default with CSS. No need to call this method anymore.');\n };\n Diff2HtmlUI.prototype.getHashTag = function () {\n var docUrl = document.URL;\n var hashTagIndex = docUrl.indexOf('#');\n var hashTag = null;\n if (hashTagIndex !== -1) {\n hashTag = docUrl.substr(hashTagIndex + 1);\n }\n return hashTag;\n };\n Diff2HtmlUI.prototype.isElement = function (arg) {\n return arg !== null && (arg === null || arg === void 0 ? void 0 : arg.classList) !== undefined;\n };\n return Diff2HtmlUI;\n}());\nexports.Diff2HtmlUI = Diff2HtmlUI;\n//# sourceMappingURL=diff2html-ui-base.js.map","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectCredential.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectCredential.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SelectCredential.vue?vue&type=template&id=5526141b&scoped=true\"\nimport script from \"./SelectCredential.vue?vue&type=script&lang=js\"\nexport * from \"./SelectCredential.vue?vue&type=script&lang=js\"\nimport style0 from \"./SelectCredential.vue?vue&type=style&index=0&id=5526141b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5526141b\",\n null\n \n)\n\nexport default component.exports","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".code-mirror{z-index:0}.code-mirror .keymap.overlay{position:absolute;display:flex;top:7px;right:7px;z-index:1;cursor:pointer}.code-mirror .keymap.overlay .keymap-indicator{width:48px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;color:var(--darker);background-color:var(--overlay-bg);font-size:12px}.code-mirror .keymap.overlay .keymap-indicator .close-indicator{width:0}.code-mirror .keymap.overlay .keymap-indicator .close-indicator .icon-close{color:var(--primary);opacity:0}.code-mirror .keymap.overlay .keymap-indicator .keymap-icon{font-size:24px;opacity:.8;transition:margin-right .1s ease-in-out}.code-mirror .keymap.overlay .keymap-indicator:hover{border:1px solid var(--primary);border-radius:var(--border-radius)}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator{margin-left:-6px;width:auto}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator .icon-close{opacity:1;transition:opacity .1s ease-in-out .1s}.code-mirror .keymap.overlay .keymap-indicator:hover .keymap-icon{opacity:.6;margin-right:10px}.code-mirror .vue-codemirror .CodeMirror{height:auto;background:none}.code-mirror.as-text-area{min-height:40px;position:relative;display:block;box-sizing:border-box;width:100%;padding:10px;background-color:var(--input-bg);border-radius:var(--border-radius);border:solid var(--border-width) var(--input-border);color:var(--input-text)}.code-mirror.as-text-area:hover{border-color:var(--input-hover-border)}.code-mirror.as-text-area.focus,.code-mirror.as-text-area:focus{outline:none;border-color:var(--outline)}.code-mirror.as-text-area .CodeMirror-wrap pre{word-break:break-word}.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before,.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{color:var(--muted);position:absolute;line-height:20px;pointer-events:none}.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{content:\\\"↵\\\";margin-left:2px}.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before{font-weight:700;content:\\\"·\\\"}.code-mirror.as-text-area .CodeMirror-lines{color:var(--input-text);padding:0}.code-mirror.as-text-area .CodeMirror-lines .CodeMirror-line>span>span.cm-overlay{font-family:monospace}.code-mirror.as-text-area .CodeMirror-lines .CodeMirror-line>span{font-family:Lato,arial,helvetica,sans-serif}.code-mirror.as-text-area .CodeMirror-sizer{min-height:20px}.code-mirror.as-text-area .CodeMirror-selected{background-color:var(--primary)!important}.code-mirror.as-text-area .CodeMirror-selectedtext{color:var(--primary-text)}.code-mirror.as-text-area .CodeMirror-line::selection,.code-mirror.as-text-area .CodeMirror-line>span::selection,.code-mirror.as-text-area .CodeMirror-line>span>span::selection{color:var(--primary-text);background-color:var(--primary)}.code-mirror.as-text-area .CodeMirror-line::-moz-selection,.code-mirror.as-text-area .CodeMirror-line>span::-moz-selection,.code-mirror.as-text-area .CodeMirror-line>span>span::-moz-selection{color:var(--primary-text);background-color:var(--primary)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = __webpack_public_path__ + \"img/custom.73e585f1.svg\";","/*\nLanguage: Gradle\nDescription: Gradle is an open-source build automation tool focused on flexibility and performance.\nWebsite: https://gradle.org\nAuthor: Damian Mee \n*/\n\nfunction gradle(hljs) {\n const KEYWORDS = [\n \"task\",\n \"project\",\n \"allprojects\",\n \"subprojects\",\n \"artifacts\",\n \"buildscript\",\n \"configurations\",\n \"dependencies\",\n \"repositories\",\n \"sourceSets\",\n \"description\",\n \"delete\",\n \"from\",\n \"into\",\n \"include\",\n \"exclude\",\n \"source\",\n \"classpath\",\n \"destinationDir\",\n \"includes\",\n \"options\",\n \"sourceCompatibility\",\n \"targetCompatibility\",\n \"group\",\n \"flatDir\",\n \"doLast\",\n \"doFirst\",\n \"flatten\",\n \"todir\",\n \"fromdir\",\n \"ant\",\n \"def\",\n \"abstract\",\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"default\",\n \"do\",\n \"else\",\n \"extends\",\n \"final\",\n \"finally\",\n \"for\",\n \"if\",\n \"implements\",\n \"instanceof\",\n \"native\",\n \"new\",\n \"private\",\n \"protected\",\n \"public\",\n \"return\",\n \"static\",\n \"switch\",\n \"synchronized\",\n \"throw\",\n \"throws\",\n \"transient\",\n \"try\",\n \"volatile\",\n \"while\",\n \"strictfp\",\n \"package\",\n \"import\",\n \"false\",\n \"null\",\n \"super\",\n \"this\",\n \"true\",\n \"antlrtask\",\n \"checkstyle\",\n \"codenarc\",\n \"copy\",\n \"boolean\",\n \"byte\",\n \"char\",\n \"class\",\n \"double\",\n \"float\",\n \"int\",\n \"interface\",\n \"long\",\n \"short\",\n \"void\",\n \"compile\",\n \"runTime\",\n \"file\",\n \"fileTree\",\n \"abs\",\n \"any\",\n \"append\",\n \"asList\",\n \"asWritable\",\n \"call\",\n \"collect\",\n \"compareTo\",\n \"count\",\n \"div\",\n \"dump\",\n \"each\",\n \"eachByte\",\n \"eachFile\",\n \"eachLine\",\n \"every\",\n \"find\",\n \"findAll\",\n \"flatten\",\n \"getAt\",\n \"getErr\",\n \"getIn\",\n \"getOut\",\n \"getText\",\n \"grep\",\n \"immutable\",\n \"inject\",\n \"inspect\",\n \"intersect\",\n \"invokeMethods\",\n \"isCase\",\n \"join\",\n \"leftShift\",\n \"minus\",\n \"multiply\",\n \"newInputStream\",\n \"newOutputStream\",\n \"newPrintWriter\",\n \"newReader\",\n \"newWriter\",\n \"next\",\n \"plus\",\n \"pop\",\n \"power\",\n \"previous\",\n \"print\",\n \"println\",\n \"push\",\n \"putAt\",\n \"read\",\n \"readBytes\",\n \"readLines\",\n \"reverse\",\n \"reverseEach\",\n \"round\",\n \"size\",\n \"sort\",\n \"splitEachLine\",\n \"step\",\n \"subMap\",\n \"times\",\n \"toInteger\",\n \"toList\",\n \"tokenize\",\n \"upto\",\n \"waitForOrKill\",\n \"withPrintWriter\",\n \"withReader\",\n \"withStream\",\n \"withWriter\",\n \"withWriterAppend\",\n \"write\",\n \"writeLine\"\n ];\n return {\n name: 'Gradle',\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.REGEXP_MODE\n\n ]\n };\n}\n\nmodule.exports = gradle;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","module.exports = __webpack_public_path__ + \"img/tencenttke-black.58828585.svg\";","// style-loader: Adds some css to the DOM by adding a \n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDiff.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDiff.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FileDiff.vue?vue&type=template&id=0137ea75&scoped=true\"\nimport script from \"./FileDiff.vue?vue&type=script&lang=js\"\nexport * from \"./FileDiff.vue?vue&type=script&lang=js\"\nimport style0 from \"./FileDiff.vue?vue&type=style&index=0&id=0137ea75&prod&lang=scss&scoped=true\"\nimport style1 from \"./FileDiff.vue?vue&type=style&index=1&id=0137ea75&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0137ea75\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./YamlEditor.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./YamlEditor.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./YamlEditor.vue?vue&type=template&id=93239522&scoped=true\"\nimport script from \"./YamlEditor.vue?vue&type=script&lang=js\"\nexport * from \"./YamlEditor.vue?vue&type=script&lang=js\"\nimport style0 from \"./YamlEditor.vue?vue&type=style&index=0&id=93239522&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"93239522\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (!_vm.isView)?_c('div',[_c('div',{staticClass:\"spacer-small\"}),_vm._l((_vm.errors),function(err,idx){return _c('div',{key:idx},[_c('Banner',{attrs:{\"color\":\"error\",\"label\":err}})],1)}),_c('div',{staticClass:\"buttons\"},[_c('div',{staticClass:\"left\"},[_vm._t(\"left\")],2),_c('div',{staticClass:\"right\"},[_vm._t(\"cancel\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.done}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1)]}),_vm._t(\"middle\"),_vm._t(\"save\",function(){return [(!_vm.isView)?_c('AsyncButton',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.disableSave},on:{\"click\":_vm.save}}):_vm._e()]}),_vm._t(\"right\")],2)])],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('button',{ref:\"btn\",class:_vm.classes,attrs:{\"name\":_vm.name,\"type\":_vm.type,\"disabled\":_vm.isDisabled,\"tab-index\":_vm.tabIndex,\"data-testid\":_vm.componentTestid + '-async-button'},on:{\"click\":_vm.clicked}},[(_vm.mode === 'manual-refresh')?_c('span',[_vm._v(_vm._s(_vm.t('action.refresh')))]):_vm._e(),(_vm.displayIcon)?_c('i',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.tooltip),expression:\"tooltip\"}],class:{icon: true, 'icon-lg': true, [_vm.displayIcon]: true}}):_vm._e(),(_vm.labelAs === 'text' && _vm.displayLabel)?_c('span',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.tooltip),expression:\"tooltip\"},{name:\"clean-html\",rawName:\"v-clean-html\",value:(_vm.displayLabel),expression:\"displayLabel\"}]}):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nexport default {\n memberOfObject: (obj: { [key: string]: any}, key: string): V => {\n return Object.entries(obj || {}).find(([k]) => k === key) as unknown as V;\n },\n memberOfComponent: (obj: object | undefined, key: string): V => {\n return (obj as any as { [key: string]: any})[key] as V;\n },\n};\n","\nimport { defineComponent, PropType, inject } from 'vue';\nimport typeHelper from '@shell/utils/type-helpers';\n\nexport const ASYNC_BUTTON_STATES = {\n ACTION: 'action',\n WAITING: 'waiting',\n SUCCESS: 'success',\n ERROR: 'error',\n};\n\nconst TEXT = 'text';\nconst TOOLTIP = 'tooltip';\n\nexport type AsyncButtonCallback = (success: boolean) => void;\n\ninterface NonReactiveProps {\n timer: NodeJS.Timeout | undefined;\n}\n\nconst provideProps: NonReactiveProps = { timer: undefined };\n\n// i18n-uses asyncButton.*\nexport default defineComponent({\n props: {\n /**\n * Mode maps to keys in asyncButton.* translations\n */\n mode: {\n type: String,\n default: 'edit',\n },\n delay: {\n type: Number,\n default: 5000,\n },\n\n name: {\n type: String,\n default: null,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n type: {\n type: String as PropType<'button' | 'submit' | 'reset' | undefined>,\n default: 'button'\n },\n tabIndex: {\n type: Number,\n default: null,\n },\n\n actionColor: {\n type: String,\n default: 'role-primary',\n },\n waitingColor: {\n type: String,\n default: 'bg-primary',\n },\n successColor: {\n type: String,\n default: 'bg-success',\n },\n errorColor: {\n type: String,\n default: 'bg-error',\n },\n\n actionLabel: {\n type: String,\n default: null,\n },\n waitingLabel: {\n type: String,\n default: null,\n },\n successLabel: {\n type: String,\n default: null,\n },\n errorLabel: {\n type: String,\n default: null,\n },\n\n icon: {\n type: String,\n default: null,\n },\n labelAs: {\n type: String,\n default: TEXT,\n },\n size: {\n type: String,\n default: '',\n },\n\n currentPhase: {\n type: String,\n default: ASYNC_BUTTON_STATES.ACTION,\n },\n\n /**\n * Inherited global identifier prefix for tests\n * Define a term based on the parent component to avoid conflicts on multiple components\n */\n componentTestid: {\n type: String,\n default: 'action-button'\n },\n\n manual: {\n type: Boolean,\n default: false,\n },\n\n },\n\n setup() {\n const timer = inject('timer', provideProps.timer);\n\n return { timer };\n },\n\n data() {\n return { phase: this.currentPhase };\n },\n\n watch: {\n currentPhase(neu) {\n this.phase = neu;\n }\n },\n\n computed: {\n classes(): {btn: boolean, [color: string]: boolean} {\n const key = `${ this.phase }Color`;\n const color = typeHelper.memberOfComponent(this, key);\n\n const out = {\n btn: true,\n [color]: true,\n };\n\n if (this.size) {\n out[`btn-${ this.size }`] = true;\n }\n\n return out;\n },\n\n displayIcon(): string {\n const exists = this.$store.getters['i18n/exists'];\n const t = this.$store.getters['i18n/t'];\n const key = `asyncButton.${ this.mode }.${ this.phase }Icon`;\n const defaultKey = `asyncButton.default.${ this.phase }Icon`;\n\n let out = '';\n\n if ( this.icon ) {\n out = this.icon;\n } else if ( exists(key) ) {\n out = `icon-${ t(key) }`;\n } else if ( exists(defaultKey) ) {\n out = `icon-${ t(defaultKey) }`;\n }\n\n if ( this.isSpinning ) {\n if ( !out ) {\n out = 'icon-spinner';\n }\n\n out += ' icon-spin';\n }\n\n return out;\n },\n\n displayLabel(): string {\n const override = typeHelper.memberOfComponent(this, `${ this.phase }Label`);\n const exists = this.$store.getters['i18n/exists'];\n const t = this.$store.getters['i18n/t'];\n const key = `asyncButton.${ this.mode }.${ this.phase }`;\n const defaultKey = `asyncButton.default.${ this.phase }`;\n\n if ( override ) {\n return override;\n } else if ( exists(key) ) {\n return t(key);\n } else if ( exists(defaultKey) ) {\n return t(defaultKey);\n } else {\n return '';\n }\n },\n\n isSpinning(): boolean {\n return this.phase === ASYNC_BUTTON_STATES.WAITING;\n },\n\n isDisabled(): boolean {\n return this.disabled || this.phase === ASYNC_BUTTON_STATES.WAITING;\n },\n\n tooltip(): { content: string, hideOnTargetClick: boolean} | null {\n if ( this.labelAs === TOOLTIP ) {\n return {\n content: this.displayLabel,\n hideOnTargetClick: false\n };\n }\n\n return null;\n }\n },\n\n beforeDestroy() {\n if (this.timer) {\n clearTimeout(this.timer);\n }\n },\n\n methods: {\n clicked($event: MouseEvent) {\n if ($event) {\n $event.stopPropagation();\n $event.preventDefault();\n }\n\n if ( this.isDisabled ) {\n return;\n }\n\n if (this.timer) {\n clearTimeout(this.timer);\n }\n\n // If manual property is set, don't automatically change the button on click\n if (!this.manual) {\n this.phase = ASYNC_BUTTON_STATES.WAITING;\n }\n\n const cb: AsyncButtonCallback = (success) => {\n this.done(success);\n };\n\n this.$emit('click', cb);\n },\n\n done(success: boolean | 'cancelled') {\n if (success === 'cancelled') {\n this.phase = ASYNC_BUTTON_STATES.ACTION;\n } else {\n this.phase = (success ? ASYNC_BUTTON_STATES.SUCCESS : ASYNC_BUTTON_STATES.ERROR );\n this.timer = setTimeout(() => {\n this.timerDone();\n }, this.delay);\n }\n },\n\n timerDone() {\n if ( this.phase === ASYNC_BUTTON_STATES.SUCCESS || this.phase === ASYNC_BUTTON_STATES.ERROR ) {\n this.phase = ASYNC_BUTTON_STATES.ACTION;\n }\n },\n\n focus() {\n (this.$refs.btn as HTMLElement).focus();\n }\n }\n});\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--15-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../ts-loader/index.js??ref--15-3!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AsyncButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--15-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../ts-loader/index.js??ref--15-3!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AsyncButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AsyncButton.vue?vue&type=template&id=00e287a3&scoped=true\"\nimport script from \"./AsyncButton.vue?vue&type=script&lang=ts\"\nexport * from \"./AsyncButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AsyncButton.vue?vue&type=style&index=0&id=00e287a3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"00e287a3\",\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent } from 'vue';\nimport { _VIEW } from '@shell/config/query-params';\nimport AsyncButton, { AsyncButtonCallback } from '@shell/components/AsyncButton.vue';\nimport Banner from '@components/Banner/Banner.vue';\n\nexport default defineComponent({\n components: { AsyncButton, Banner },\n\n props: {\n /**\n * Current mode of the page\n * passed to asyncButton to determine lables of the button\n */\n mode: {\n type: String,\n required: true,\n },\n\n errors: {\n type: Array,\n default: null,\n },\n\n disableSave: {\n type: Boolean,\n default: false,\n }\n },\n\n computed: {\n isView(): boolean {\n return this.mode === _VIEW;\n },\n },\n\n methods: {\n save(buttonCb: AsyncButtonCallback) {\n this.$emit('save', buttonCb);\n },\n\n done() {\n this.$emit('done');\n }\n }\n});\n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../ts-loader/index.js??ref--15-3!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../ts-loader/index.js??ref--15-3!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=4d6e7f62\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=4d6e7f62&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceYaml.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceYaml.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ResourceYaml.vue?vue&type=template&id=0557e0df&scoped=true\"\nimport script from \"./ResourceYaml.vue?vue&type=script&lang=js\"\nexport * from \"./ResourceYaml.vue?vue&type=script&lang=js\"\nimport style0 from \"./ResourceYaml.vue?vue&type=style&index=0&id=0557e0df&prod&lang=scss&scoped=true\"\nimport style1 from \"./ResourceYaml.vue?vue&type=style&index=1&id=0557e0df&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0557e0df\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"cru-resource-footer\"},[_vm._t(\"footer-prefix\"),_vm._t(\"cancel\",function(){return [(!_vm.isView && _vm.showCancel)?_c('button',{staticClass:\"btn role-secondary\",attrs:{\"id\":\"cru-cancel\",\"data-testid\":_vm.componentTestid + '-cancel',\"type\":\"button\"},on:{\"click\":function($event){_vm.confirmCancelRequired ? _vm.checkCancel(true) : _vm.$emit('cancel-confirmed', true)}}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1):_vm._e()]}),_vm._t(\"default\",function(){return [(!_vm.isView)?_c('AsyncButton',{attrs:{\"data-testid\":_vm.componentTestid + '-create',\"mode\":_vm.finishButtonMode || _vm.mode},on:{\"click\":function($event){return _vm.$emit('finish', $event)}}}):_vm._e()]},{\"checkCancel\":_vm.checkCancel}),_c('ResourceCancelModal',{ref:\"cancelModal\",attrs:{\"is-cancel-modal\":_vm.isCancelModal,\"is-form\":_vm.isForm},on:{\"confirm-cancel\":function($event){return _vm.confirmCancel($event)}}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showModal)?_c('app-modal',{attrs:{\"customClass\":\"confirm-modal\",\"name\":\"cancel-modal\",\"width\":440,\"height\":\"auto\"},on:{\"close\":_vm.cancelCancel}},[_c('div',{staticClass:\"header\"},[_c('h4',{staticClass:\"text-default-text\"},[(_vm.isCancelModal)?_c('t',{attrs:{\"k\":\"generic.cancel\"}}):_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.backToForm\")))])],1)]),_c('div',{staticClass:\"body\"},[(_vm.isCancelModal)?_c('p',[_c('t',{attrs:{\"k\":\"cruResource.cancelBody\"}})],1):_c('p',[_c('t',{attrs:{\"k\":\"cruResource.backBody\"}})],1)]),_c('div',{staticClass:\"footer\"},[_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancelCancel}},[_vm._v(\" \"+_vm._s(_vm.isForm ? _vm.t(\"cruResource.reviewForm\") : _vm.t(\"cruResource.reviewYaml\"))+\" \")]),_c('button',{staticClass:\"btn role-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.confirmCancel}},[(_vm.isCancelModal)?_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.confirmCancel\")))]):_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.confirmBack\")))])])])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('mounting-portal',{attrs:{\"mountTo\":\"#modals\",\"name\":\"source\",\"append\":\"\"}},[_c('transition',{attrs:{\"name\":\"modal-fade\",\"appear\":\"\"}},[_c('div',{staticClass:\"modal-overlay\",attrs:{\"data-modal\":_vm.name},on:{\"click\":_vm.handleClickOutside}},[_c('div',_vm._b({ref:\"modalRef\",staticClass:\"modal-container\",class:_vm.customClass,style:(_vm.modalStyles),on:{\"click\":function($event){$event.stopPropagation();}}},'div',_vm.$attrs,false),[_vm._t(\"default\")],2)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'AppModal',\n inheritAttrs: false,\n props: {\n /**\n * If set to false, it will not be possible to close modal by clicking on\n * the background or by pressing Esc key.\n */\n clickToClose: {\n type: Boolean,\n default: true,\n },\n /**\n * Width in pixels or percents (50, \"50px\", \"50%\").\n *\n * Supported string values are % and px\n */\n width: {\n type: [Number, String],\n default: 600,\n validator(value) {\n if (typeof value === 'number') {\n return value > 0;\n }\n\n if (typeof value === 'string') {\n return /^(0*(?:[1-9][0-9]*|0)\\.?\\d*)+(px|%)$/.test(value);\n }\n\n return false;\n }\n },\n /**\n * List of class that will be applied to the modal window\n */\n customClass: {\n type: String,\n default: '',\n },\n /**\n * Style that will be applied to the modal window\n */\n styles: {\n type: String,\n default: '',\n },\n /**\n * Name of the modal\n */\n name: {\n type: String,\n default: '',\n }\n },\n computed: {\n modalWidth(): string {\n const uom = typeof (this.width) === 'number' ? 'px' : '';\n\n return `${ this.width }${ uom }`;\n },\n stylesPropToObj(): object {\n return this.styles.split(';')\n .map((line) => line.trim().split(':'))\n .reduce((lines, [key, val]) => {\n return {\n ...lines,\n [key]: val\n };\n }, { });\n },\n modalStyles(): object {\n return {\n width: this.modalWidth,\n ...this.stylesPropToObj,\n };\n }\n },\n mounted() {\n document.addEventListener('keydown', this.handleEscapeKey);\n },\n beforeDestroy() {\n document.removeEventListener('keydown', this.handleEscapeKey);\n },\n methods: {\n handleClickOutside(event: MouseEvent) {\n if (\n this.clickToClose &&\n this.$refs.modalRef &&\n !(this.$refs.modalRef as HTMLElement).contains(event.target as Node)\n ) {\n this.$emit('close');\n }\n },\n handleEscapeKey(event: KeyboardEvent) {\n if (this.clickToClose && event.key === 'Escape') {\n this.$emit('close');\n }\n }\n }\n});\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--15-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../ts-loader/index.js??ref--15-3!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--15-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../ts-loader/index.js??ref--15-3!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AppModal.vue?vue&type=template&id=2c149d3a\"\nimport script from \"./AppModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AppModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AppModal.vue?vue&type=style&index=0&id=2c149d3a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceCancelModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceCancelModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ResourceCancelModal.vue?vue&type=template&id=0181c352&scoped=true\"\nimport script from \"./ResourceCancelModal.vue?vue&type=script&lang=js\"\nexport * from \"./ResourceCancelModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./ResourceCancelModal.vue?vue&type=style&index=0&id=0181c352&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0181c352\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResourceFooter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResourceFooter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CruResourceFooter.vue?vue&type=template&id=3e3d0b47\"\nimport script from \"./CruResourceFooter.vue?vue&type=script&lang=js\"\nexport * from \"./CruResourceFooter.vue?vue&type=script&lang=js\"\nimport style0 from \"./CruResourceFooter.vue?vue&type=style&index=0&id=3e3d0b47&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"wizard\",staticClass:\"outer-container\"},[(!_vm.stepsLoaded)?_c('Loading',{attrs:{\"mode\":\"relative\"}}):_vm._e(),_c('div',{staticClass:\"outer-container\",class:{'hide': !_vm.stepsLoaded}},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[(_vm.showBanner)?_c('div',{staticClass:\"top choice-banner\"},[(!!_vm.bannerImage || !!_vm.bannerTitle)?_vm._t(\"bannerTitle\",function(){return [_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.initialTitle || _vm.activeStepIndex > 0),expression:\"initialTitle || activeStepIndex > 0\"}],staticClass:\"title\"},[_vm._t(\"bannerTitleImage\",function(){return [(_vm.bannerImage)?_c('div',{staticClass:\"round-image\"},[_c('LazyImage',{staticClass:\"logo\",attrs:{\"src\":_vm.bannerImage}})],1):_vm._e()]}),_c('div',{staticClass:\"subtitle\"},[(_vm.bannerTitle)?_c('h2',[_vm._v(\" \"+_vm._s(_vm.bannerTitle)+\" \")]):_vm._e(),(_vm.bannerTitleSubtext)?_c('span',{staticClass:\"subtext\"},[_vm._v(_vm._s(_vm.bannerTitleSubtext))]):_vm._e()])],2)]}):_vm._e(),(_vm.activeStep && _vm.showSteps)?_c('div',{staticClass:\"subtitle\"},[_c('h2',[_vm._v(_vm._s(!!_vm.headerMode ? _vm.t(`wizard.${_vm.headerMode}`) : _vm.t(`asyncButton.${_vm.finishMode}.action`))+\": \"+_vm._s(_vm.t('wizard.step', {number:_vm.activeStepIndex+1})))]),_vm._t(\"bannerSubtext\",function(){return [(_vm.activeStep.subtext !== null)?_c('span',{staticClass:\"subtext\"},[_vm._v(_vm._s(_vm.activeStep.subtext || _vm.activeStep.label))]):_vm._e()]})],2):_vm._e()],2):_vm._e(),_c('div',{staticClass:\"step-sequence\"},[(_vm.showSteps)?_c('ul',{staticClass:\"steps\",attrs:{\"tabindex\":\"0\"},on:{\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"right\",39,$event.key,[\"Right\",\"ArrowRight\"]))return null;if('button' in $event && $event.button !== 2)return null;$event.stopPropagation();return _vm.selectNext(1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"]))return null;if('button' in $event && $event.button !== 0)return null;$event.stopPropagation();return _vm.selectNext(-1)}]}},[_vm._l((_vm.visibleSteps),function(step,idx){return [_c('li',{key:step.name+'li',class:{step: true, active: step.name === _vm.activeStep.name, disabled: !_vm.isAvailable(step)},attrs:{\"id\":step.name,\"role\":\"presentation\"}},[_c('span',{staticClass:\"controls\",attrs:{\"aria-controls\":'step' + idx+1,\"aria-selected\":step.name === _vm.activeStep.name,\"role\":\"tab\"},on:{\"click\":function($event){$event.preventDefault();return _vm.goToStep(idx+1, true)}}},[_c('span',{staticClass:\"icon icon-lg\",class:{'icon-dot': step.name === _vm.activeStep.name, 'icon-dot-open':step.name !== _vm.activeStep.name}}),_c('span',[_vm._v(\" \"+_vm._s(step.label)+\" \")])])]),(idx!==_vm.visibleSteps.length-1)?_c('div',{key:step.name,staticClass:\"divider\"}):_vm._e()]})],2):_vm._e()])])]),_vm._t(\"stepContainer\",function(){return [_vm._l((_vm.steps),function(step){return [(step.name === _vm.activeStep.name || step.hidden)?_c('div',{key:step.name,staticClass:\"step-container__step\",class:{'hide': step.name !== _vm.activeStep.name && step.hidden}},[_vm._t(step.name,null,{\"step\":step})],2):_vm._e()]})]},{\"activeStep\":_vm.activeStep}),_vm._t(\"controlsContainer\",function(){return [_vm._l((_vm.errorStrings),function(err,idx){return _c('div',{key:idx},[_c('Banner',{staticClass:\"footer-error\",attrs:{\"color\":\"error\",\"label\":err,\"closable\":true},on:{\"close\":function($event){return _vm.errors.splice(idx, 1)}}})],1)}),_c('div',{staticClass:\"controls-row pt-20\",attrs:{\"id\":\"wizard-footer-controls\"}},[_vm._t(\"cancel\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1)]},{\"cancel\":_vm.cancel}),_c('div',{staticClass:\"controls-steps\"},[(_vm.showPrevious)?_vm._t(\"back\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"disabled\":!_vm.canPrevious || (!_vm.editFirstStep && _vm.activeStepIndex===1),\"type\":\"button\"},on:{\"click\":function($event){return _vm.back()}}},[_c('t',{attrs:{\"k\":\"wizard.previous\"}})],1)]},{\"back\":_vm.back}):_vm._e(),(_vm.activeStepIndex === _vm.visibleSteps.length-1)?_vm._t(\"finish\",function(){return [_c('AsyncButton',{attrs:{\"disabled\":!_vm.activeStep.ready,\"mode\":_vm.finishMode},on:{\"click\":_vm.finish}})]},{\"finish\":_vm.finish}):_vm._t(\"next\",function(){return [_c('button',{class:_vm.nextButtonStyle,attrs:{\"disabled\":!_vm.canNext,\"type\":\"button\"},on:{\"click\":function($event){return _vm.next()}}},[_c('t',{attrs:{\"k\":_vm.nextButtonLabel}})],1)]},{\"next\":_vm.next})],2)],2)]},{\"showPrevious\":_vm.showPrevious,\"next\":_vm.next,\"back\":_vm.back,\"canNext\":_vm.canNext,\"activeStepIndex\":_vm.activeStepIndex,\"visibleSteps\":_vm.visibleSteps,\"errorStrings\":_vm.errorStrings,\"finish\":_vm.finish,\"cancel\":_vm.cancel,\"activeStep\":_vm.activeStep})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Wizard.vue?vue&type=template&id=5c421562&scoped=true\"\nimport script from \"./Wizard.vue?vue&type=script&lang=js\"\nexport * from \"./Wizard.vue?vue&type=script&lang=js\"\nimport style0 from \"./Wizard.vue?vue&type=style&index=0&id=5c421562&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c421562\",\n null\n \n)\n\nexport default component.exports","\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n $emit('error', e)\"\n >\n \n \n \n \n \n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResource.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResource.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CruResource.vue?vue&type=template&id=5d7d1298&scoped=true\"\nimport script from \"./CruResource.vue?vue&type=script&lang=js\"\nexport * from \"./CruResource.vue?vue&type=script&lang=js\"\nimport style0 from \"./CruResource.vue?vue&type=style&index=0&id=5d7d1298&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d7d1298\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/azure.eb8fe01e.svg\";"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/aliyun-black.b576ca7f.svg b/extensions/capi/0.7.0/plugin/img/aliyun-black.b576ca7f.svg new file mode 100644 index 0000000..29fd241 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/aliyun-black.b576ca7f.svg @@ -0,0 +1,14 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/aliyun.05625b68.svg b/extensions/capi/0.7.0/plugin/img/aliyun.05625b68.svg new file mode 100644 index 0000000..78f5b74 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/aliyun.05625b68.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/aliyunecs-black.47c0410f.svg b/extensions/capi/0.7.0/plugin/img/aliyunecs-black.47c0410f.svg new file mode 100644 index 0000000..f38e205 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/aliyunecs-black.47c0410f.svg @@ -0,0 +1,13 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/aliyunecs.d971267d.svg b/extensions/capi/0.7.0/plugin/img/aliyunecs.d971267d.svg new file mode 100644 index 0000000..d752029 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/aliyunecs.d971267d.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/amazonec2-black.d1821012.svg b/extensions/capi/0.7.0/plugin/img/amazonec2-black.d1821012.svg new file mode 100644 index 0000000..a062580 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/amazonec2-black.d1821012.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/amazonec2.1aa39ab0.svg b/extensions/capi/0.7.0/plugin/img/amazonec2.1aa39ab0.svg new file mode 100644 index 0000000..f68995b --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/amazonec2.1aa39ab0.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/amazoneks-black.a84e95fa.svg b/extensions/capi/0.7.0/plugin/img/amazoneks-black.a84e95fa.svg new file mode 100644 index 0000000..ec37d77 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/amazoneks-black.a84e95fa.svg @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/amazoneks.08036fe5.svg b/extensions/capi/0.7.0/plugin/img/amazoneks.08036fe5.svg new file mode 100644 index 0000000..b2e626c --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/amazoneks.08036fe5.svg @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/aws.259e1339.svg b/extensions/capi/0.7.0/plugin/img/aws.259e1339.svg new file mode 100644 index 0000000..4715937 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/aws.259e1339.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azure-black.5f0d4c16.svg b/extensions/capi/0.7.0/plugin/img/azure-black.5f0d4c16.svg new file mode 100644 index 0000000..be1937c --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azure-black.5f0d4c16.svg @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azure.eb8fe01e.svg b/extensions/capi/0.7.0/plugin/img/azure.eb8fe01e.svg new file mode 100644 index 0000000..a26fb74 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azure.eb8fe01e.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azuread-black.df47a4be.svg b/extensions/capi/0.7.0/plugin/img/azuread-black.df47a4be.svg new file mode 100644 index 0000000..6b5b416 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azuread-black.df47a4be.svg @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azuread.89d0693d.svg b/extensions/capi/0.7.0/plugin/img/azuread.89d0693d.svg new file mode 100644 index 0000000..7fb1c17 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azuread.89d0693d.svg @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azureaks-black.c476b248.svg b/extensions/capi/0.7.0/plugin/img/azureaks-black.c476b248.svg new file mode 100644 index 0000000..4ea91e5 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azureaks-black.c476b248.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/azureaks.f30a4ee5.svg b/extensions/capi/0.7.0/plugin/img/azureaks.f30a4ee5.svg new file mode 100644 index 0000000..7e462f0 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/azureaks.f30a4ee5.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/baidu-black.fbfb0a3d.svg b/extensions/capi/0.7.0/plugin/img/baidu-black.fbfb0a3d.svg new file mode 100644 index 0000000..ec45d41 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/baidu-black.fbfb0a3d.svg @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/baidu.59230de0.svg b/extensions/capi/0.7.0/plugin/img/baidu.59230de0.svg new file mode 100644 index 0000000..80d66df --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/baidu.59230de0.svg @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/cloudca-black.e617e95a.svg b/extensions/capi/0.7.0/plugin/img/cloudca-black.e617e95a.svg new file mode 100644 index 0000000..56b46a5 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/cloudca-black.e617e95a.svg @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/cloudca.1095d0cc.svg b/extensions/capi/0.7.0/plugin/img/cloudca.1095d0cc.svg new file mode 100644 index 0000000..dde4c3d --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/cloudca.1095d0cc.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/cloudscale-black.05c818ff.svg b/extensions/capi/0.7.0/plugin/img/cloudscale-black.05c818ff.svg new file mode 100644 index 0000000..d6fef4a --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/cloudscale-black.05c818ff.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/cloudscale.15af4521.svg b/extensions/capi/0.7.0/plugin/img/cloudscale.15af4521.svg new file mode 100644 index 0000000..70753e8 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/cloudscale.15af4521.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/custom.73e585f1.svg b/extensions/capi/0.7.0/plugin/img/custom.73e585f1.svg new file mode 100644 index 0000000..ad65e6e --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/custom.73e585f1.svg @@ -0,0 +1,85 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/digitalocean-black.c7b0f38c.svg b/extensions/capi/0.7.0/plugin/img/digitalocean-black.c7b0f38c.svg new file mode 100644 index 0000000..7907569 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/digitalocean-black.c7b0f38c.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/digitalocean.acdee7f1.svg b/extensions/capi/0.7.0/plugin/img/digitalocean.acdee7f1.svg new file mode 100644 index 0000000..8d01c77 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/digitalocean.acdee7f1.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/docker.c06657b9.svg b/extensions/capi/0.7.0/plugin/img/docker.c06657b9.svg new file mode 100644 index 0000000..d266303 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/docker.c06657b9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/equinix-black.74a27b4d.svg b/extensions/capi/0.7.0/plugin/img/equinix-black.74a27b4d.svg new file mode 100644 index 0000000..40031dc --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/equinix-black.74a27b4d.svg @@ -0,0 +1,13 @@ + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/equinix.439fbbbe.svg b/extensions/capi/0.7.0/plugin/img/equinix.439fbbbe.svg new file mode 100644 index 0000000..d54b4d4 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/equinix.439fbbbe.svg @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/exoscale.7a312d6d.svg b/extensions/capi/0.7.0/plugin/img/exoscale.7a312d6d.svg new file mode 100644 index 0000000..f3b1831 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/exoscale.7a312d6d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/gcp.92c9d851.svg b/extensions/capi/0.7.0/plugin/img/gcp.92c9d851.svg new file mode 100644 index 0000000..d8ba0b3 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/gcp.92c9d851.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/generic-catalog.99bdaecf.svg b/extensions/capi/0.7.0/plugin/img/generic-catalog.99bdaecf.svg new file mode 100644 index 0000000..474f376 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/generic-catalog.99bdaecf.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/generic-driver.58cd1dcb.svg b/extensions/capi/0.7.0/plugin/img/generic-driver.58cd1dcb.svg new file mode 100644 index 0000000..3405b6f --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/generic-driver.58cd1dcb.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/gke-black.270042cf.svg b/extensions/capi/0.7.0/plugin/img/gke-black.270042cf.svg new file mode 100644 index 0000000..9868fd6 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/gke-black.270042cf.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/gke.deaff14c.svg b/extensions/capi/0.7.0/plugin/img/gke.deaff14c.svg new file mode 100644 index 0000000..e4337c4 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/gke.deaff14c.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/google.778e7144.svg b/extensions/capi/0.7.0/plugin/img/google.778e7144.svg new file mode 100644 index 0000000..318b761 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/google.778e7144.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/googlegke-black.270042cf.svg b/extensions/capi/0.7.0/plugin/img/googlegke-black.270042cf.svg new file mode 100644 index 0000000..9868fd6 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/googlegke-black.270042cf.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/googlegke.deaff14c.svg b/extensions/capi/0.7.0/plugin/img/googlegke.deaff14c.svg new file mode 100644 index 0000000..e4337c4 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/googlegke.deaff14c.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/harvester.b14e570b.svg b/extensions/capi/0.7.0/plugin/img/harvester.b14e570b.svg new file mode 100644 index 0000000..42b37c1 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/harvester.b14e570b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/huaweicce-black.39ee46f2.svg b/extensions/capi/0.7.0/plugin/img/huaweicce-black.39ee46f2.svg new file mode 100644 index 0000000..c8fdf90 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/huaweicce-black.39ee46f2.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/huaweicce.4fb3a929.svg b/extensions/capi/0.7.0/plugin/img/huaweicce.4fb3a929.svg new file mode 100644 index 0000000..523fe03 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/huaweicce.4fb3a929.svg @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/import.2e2e359c.svg b/extensions/capi/0.7.0/plugin/img/import.2e2e359c.svg new file mode 100644 index 0000000..ec25148 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/import.2e2e359c.svg @@ -0,0 +1,99 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/k3s-black.d52e5687.svg b/extensions/capi/0.7.0/plugin/img/k3s-black.d52e5687.svg new file mode 100644 index 0000000..0a815c2 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/k3s-black.d52e5687.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/k3s.01e2b406.svg b/extensions/capi/0.7.0/plugin/img/k3s.01e2b406.svg new file mode 100644 index 0000000..0367e53 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/k3s.01e2b406.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/kubernetes-black.3e32c1a8.svg b/extensions/capi/0.7.0/plugin/img/kubernetes-black.3e32c1a8.svg new file mode 100644 index 0000000..040665d --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/kubernetes-black.3e32c1a8.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/kubernetes.2e2e359c.svg b/extensions/capi/0.7.0/plugin/img/kubernetes.2e2e359c.svg new file mode 100644 index 0000000..ec25148 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/kubernetes.2e2e359c.svg @@ -0,0 +1,99 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/linode.72ae9a55.svg b/extensions/capi/0.7.0/plugin/img/linode.72ae9a55.svg new file mode 100644 index 0000000..7b9ec6d --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/linode.72ae9a55.svg @@ -0,0 +1,54 @@ + + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/linodelke-black.058df1a0.svg b/extensions/capi/0.7.0/plugin/img/linodelke-black.058df1a0.svg new file mode 100644 index 0000000..4df7b9c --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/linodelke-black.058df1a0.svg @@ -0,0 +1,40 @@ + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + diff --git a/extensions/capi/0.7.0/plugin/img/linodelke.72ae9a55.svg b/extensions/capi/0.7.0/plugin/img/linodelke.72ae9a55.svg new file mode 100644 index 0000000..7b9ec6d --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/linodelke.72ae9a55.svg @@ -0,0 +1,54 @@ + + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/local-cluster.c77b2023.svg b/extensions/capi/0.7.0/plugin/img/local-cluster.c77b2023.svg new file mode 100644 index 0000000..2c975ba --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/local-cluster.c77b2023.svg @@ -0,0 +1,20 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/minikube-black.b739e7a9.svg b/extensions/capi/0.7.0/plugin/img/minikube-black.b739e7a9.svg new file mode 100644 index 0000000..1ca3cca --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/minikube-black.b739e7a9.svg @@ -0,0 +1,25 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/minikube.b39dc584.svg b/extensions/capi/0.7.0/plugin/img/minikube.b39dc584.svg new file mode 100644 index 0000000..db07d33 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/minikube.b39dc584.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/nutanix.87666923.svg b/extensions/capi/0.7.0/plugin/img/nutanix.87666923.svg new file mode 100644 index 0000000..3081107 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/nutanix.87666923.svg @@ -0,0 +1 @@ + nutanix logo diff --git a/extensions/capi/0.7.0/plugin/img/oci-black.f960feb5.svg b/extensions/capi/0.7.0/plugin/img/oci-black.f960feb5.svg new file mode 100644 index 0000000..25f6781 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/oci-black.f960feb5.svg @@ -0,0 +1,41 @@ + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/oci.8b52fe45.svg b/extensions/capi/0.7.0/plugin/img/oci.8b52fe45.svg new file mode 100644 index 0000000..e813576 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/oci.8b52fe45.svg @@ -0,0 +1,44 @@ + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/openstack-black.46740f63.svg b/extensions/capi/0.7.0/plugin/img/openstack-black.46740f63.svg new file mode 100644 index 0000000..603cf55 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/openstack-black.46740f63.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/openstack.638b1003.svg b/extensions/capi/0.7.0/plugin/img/openstack.638b1003.svg new file mode 100644 index 0000000..5900079 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/openstack.638b1003.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/oracle.8219cfb5.svg b/extensions/capi/0.7.0/plugin/img/oracle.8219cfb5.svg new file mode 100644 index 0000000..832aad4 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/oracle.8219cfb5.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/oracleoke-black.aaa9e8cf.svg b/extensions/capi/0.7.0/plugin/img/oracleoke-black.aaa9e8cf.svg new file mode 100644 index 0000000..7f52921 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/oracleoke-black.aaa9e8cf.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/oracleoke.ddaa8a0e.svg b/extensions/capi/0.7.0/plugin/img/oracleoke.ddaa8a0e.svg new file mode 100644 index 0000000..4f6a9d2 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/oracleoke.ddaa8a0e.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/otc-black.007c6157.svg b/extensions/capi/0.7.0/plugin/img/otc-black.007c6157.svg new file mode 100644 index 0000000..86cf27a --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/otc-black.007c6157.svg @@ -0,0 +1,15 @@ + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/otc.d7330474.svg b/extensions/capi/0.7.0/plugin/img/otc.d7330474.svg new file mode 100644 index 0000000..021bb0b --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/otc.d7330474.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/otccce.d7330474.svg b/extensions/capi/0.7.0/plugin/img/otccce.d7330474.svg new file mode 100644 index 0000000..021bb0b --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/otccce.d7330474.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/outscale.97c433a9.svg b/extensions/capi/0.7.0/plugin/img/outscale.97c433a9.svg new file mode 100644 index 0000000..2b4e7a2 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/outscale.97c433a9.svg @@ -0,0 +1,19 @@ + + + + + Layer 1 + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/ovhcloudmks.ccb13957.svg b/extensions/capi/0.7.0/plugin/img/ovhcloudmks.ccb13957.svg new file mode 100644 index 0000000..fd1351f --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/ovhcloudmks.ccb13957.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg b/extensions/capi/0.7.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg new file mode 100644 index 0000000..fd1351f --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/packet-black.cdd96d23.svg b/extensions/capi/0.7.0/plugin/img/packet-black.cdd96d23.svg new file mode 100644 index 0000000..d9de626 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/packet-black.cdd96d23.svg @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/packet.5fce6e98.svg b/extensions/capi/0.7.0/plugin/img/packet.5fce6e98.svg new file mode 100644 index 0000000..eb62ddd --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/packet.5fce6e98.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg b/extensions/capi/0.7.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg new file mode 100644 index 0000000..ab6775e --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/pinganyunecs.e75d4c8a.svg b/extensions/capi/0.7.0/plugin/img/pinganyunecs.e75d4c8a.svg new file mode 100644 index 0000000..876891a --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/pinganyunecs.e75d4c8a.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/pnap-black.1b1773d7.svg b/extensions/capi/0.7.0/plugin/img/pnap-black.1b1773d7.svg new file mode 100644 index 0000000..3d79a97 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/pnap-black.1b1773d7.svg @@ -0,0 +1,43 @@ + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/pnap.0cb6fe69.svg b/extensions/capi/0.7.0/plugin/img/pnap.0cb6fe69.svg new file mode 100644 index 0000000..4059ed9 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/pnap.0cb6fe69.svg @@ -0,0 +1,48 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/rackspace-black.b5378844.svg b/extensions/capi/0.7.0/plugin/img/rackspace-black.b5378844.svg new file mode 100644 index 0000000..3299f04 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/rackspace-black.b5378844.svg @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/rackspace.6f98715f.svg b/extensions/capi/0.7.0/plugin/img/rackspace.6f98715f.svg new file mode 100644 index 0000000..b1b3696 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/rackspace.6f98715f.svg @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/rke.d10540bf.svg b/extensions/capi/0.7.0/plugin/img/rke.d10540bf.svg new file mode 100644 index 0000000..f7b7128 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/rke.d10540bf.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/rke2.d10540bf.svg b/extensions/capi/0.7.0/plugin/img/rke2.d10540bf.svg new file mode 100644 index 0000000..f7b7128 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/rke2.d10540bf.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/softlayer.d474be09.svg b/extensions/capi/0.7.0/plugin/img/softlayer.d474be09.svg new file mode 100644 index 0000000..8ff9be2 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/softlayer.d474be09.svg @@ -0,0 +1,27 @@ + + + + Compute + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.7.0/plugin/img/tencenttke-black.58828585.svg b/extensions/capi/0.7.0/plugin/img/tencenttke-black.58828585.svg new file mode 100644 index 0000000..d0a3d5c --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/tencenttke-black.58828585.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/tencenttke.0b34fe07.svg b/extensions/capi/0.7.0/plugin/img/tencenttke.0b34fe07.svg new file mode 100644 index 0000000..1a57f56 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/tencenttke.0b34fe07.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg b/extensions/capi/0.7.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg new file mode 100644 index 0000000..352894f --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/vmwarevsphere.32594541.svg b/extensions/capi/0.7.0/plugin/img/vmwarevsphere.32594541.svg new file mode 100644 index 0000000..bd1b636 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/vmwarevsphere.32594541.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/vsphere-black.2f9d3f1d.svg b/extensions/capi/0.7.0/plugin/img/vsphere-black.2f9d3f1d.svg new file mode 100644 index 0000000..352894f --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/vsphere-black.2f9d3f1d.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/img/vsphere.32594541.svg b/extensions/capi/0.7.0/plugin/img/vsphere.32594541.svg new file mode 100644 index 0000000..bd1b636 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/img/vsphere.32594541.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.7.0/plugin/package.json b/extensions/capi/0.7.0/plugin/package.json new file mode 100644 index 0000000..4dd5fc9 --- /dev/null +++ b/extensions/capi/0.7.0/plugin/package.json @@ -0,0 +1,19 @@ +{ + "name": "capi", + "description": "UI for CAPI cluster provisioning", + "version": "0.7.0", + "private": false, + "rancher": true, + "engines": { + "node": ">=16" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "5.0.8", + "@vue/cli-service": "5.0.8", + "@vue/cli-plugin-typescript": "5.0.8" + }, + "files": [ + "**/*" + ], + "main": "capi-0.7.0.umd.min.js" +} \ No newline at end of file diff --git a/index.yaml b/index.yaml index 0d822f4..c77df9e 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,27 @@ apiVersion: v1 entries: capi: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: "true" + catalog.cattle.io/kube-version: '>= 1.16.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= 2.9.0-0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + apiVersion: v2 + appVersion: 0.7.0 + created: "2024-11-04T17:59:17.974379535Z" + description: UI for CAPI cluster provisioning + digest: c0905cbbce9db459f6c9d9786a4e163fa6812934c7addfe742b5ba8c25021844 + name: capi + type: application + urls: + - assets/capi/capi-0.7.0.tgz + version: 0.7.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/display-name: CAPI UI @@ -206,4 +227,4 @@ entries: urls: - assets/capi/capi-0.1.0.tgz version: 0.1.0 -generated: "2024-08-14T18:31:46.363598441Z" +generated: "2024-11-04T17:59:17.973873792Z"