@doordeck/doordeck-headless-sdk 0.148.0 → 0.150.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,27 +2,27 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var VOID = kotlin_kotlin.$_$.h;
6
- var copyOfRange = kotlin_kotlin.$_$.g6;
7
- var protoOf = kotlin_kotlin.$_$.lb;
8
- var objectCreate = kotlin_kotlin.$_$.kb;
9
- var toCharArray = kotlin_kotlin.$_$.ud;
10
- var initMetadataForCompanion = kotlin_kotlin.$_$.ma;
11
- var getKClassFromExpression = kotlin_kotlin.$_$.e;
12
- var THROW_CCE = kotlin_kotlin.$_$.ff;
13
- var Unit_instance = kotlin_kotlin.$_$.f5;
14
- var contentEquals = kotlin_kotlin.$_$.c6;
15
- var contentHashCode = kotlin_kotlin.$_$.d6;
16
- var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.a2;
17
- var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.x2;
18
- var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.y2;
19
- var compareTo = kotlin_kotlin.$_$.ca;
20
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
21
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
22
- var Comparable = kotlin_kotlin.$_$.re;
23
- var initMetadataForClass = kotlin_kotlin.$_$.la;
24
- var decodeToString = kotlin_kotlin.$_$.kc;
25
- var initMetadataForObject = kotlin_kotlin.$_$.ra;
5
+ var VOID = kotlin_kotlin.$_$.b;
6
+ var copyOfRange = kotlin_kotlin.$_$.a6;
7
+ var protoOf = kotlin_kotlin.$_$.zb;
8
+ var objectCreate = kotlin_kotlin.$_$.yb;
9
+ var toCharArray = kotlin_kotlin.$_$.ne;
10
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
11
+ var getKClassFromExpression = kotlin_kotlin.$_$.pc;
12
+ var THROW_CCE = kotlin_kotlin.$_$.yf;
13
+ var Unit_instance = kotlin_kotlin.$_$.z4;
14
+ var contentEquals = kotlin_kotlin.$_$.w5;
15
+ var contentHashCode = kotlin_kotlin.$_$.x5;
16
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
17
+ var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.r2;
18
+ var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.s2;
19
+ var compareTo = kotlin_kotlin.$_$.qa;
20
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
21
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
22
+ var Comparable = kotlin_kotlin.$_$.kf;
23
+ var initMetadataForClass = kotlin_kotlin.$_$.za;
24
+ var decodeToString = kotlin_kotlin.$_$.dd;
25
+ var initMetadataForObject = kotlin_kotlin.$_$.fb;
26
26
  //endregion
27
27
  //region block: pre-declaration
28
28
  initMetadataForCompanion(Companion);
@@ -40,10 +40,10 @@
40
40
  }
41
41
  function Companion() {
42
42
  Companion_instance = this;
43
- this.q1i_1 = new ByteString(new Int8Array(0), null);
44
- this.r1i_1 = toCharArray('0123456789abcdef');
43
+ this.xo_1 = new ByteString(new Int8Array(0), null);
44
+ this.yo_1 = toCharArray('0123456789abcdef');
45
45
  }
46
- protoOf(Companion).s1i = function (byteArray) {
46
+ protoOf(Companion).zo = function (byteArray) {
47
47
  return new ByteString(byteArray, null);
48
48
  };
49
49
  var Companion_instance;
@@ -54,11 +54,11 @@
54
54
  }
55
55
  function ByteString(data, dummy) {
56
56
  Companion_getInstance();
57
- this.t1i_1 = data;
58
- this.u1i_1 = 0;
57
+ this.ap_1 = data;
58
+ this.bp_1 = 0;
59
59
  }
60
- protoOf(ByteString).s = function () {
61
- return this.t1i_1.length;
60
+ protoOf(ByteString).u = function () {
61
+ return this.ap_1.length;
62
62
  };
63
63
  protoOf(ByteString).equals = function (other) {
64
64
  if (this === other)
@@ -67,47 +67,47 @@
67
67
  return false;
68
68
  if (!(other instanceof ByteString))
69
69
  THROW_CCE();
70
- if (!(other.t1i_1.length === this.t1i_1.length))
70
+ if (!(other.ap_1.length === this.ap_1.length))
71
71
  return false;
72
- if (!(other.u1i_1 === 0) && !(this.u1i_1 === 0) && !(other.u1i_1 === this.u1i_1))
72
+ if (!(other.bp_1 === 0) && !(this.bp_1 === 0) && !(other.bp_1 === this.bp_1))
73
73
  return false;
74
- return contentEquals(this.t1i_1, other.t1i_1);
74
+ return contentEquals(this.ap_1, other.ap_1);
75
75
  };
76
76
  protoOf(ByteString).hashCode = function () {
77
- var hc = this.u1i_1;
77
+ var hc = this.bp_1;
78
78
  if (hc === 0) {
79
- hc = contentHashCode(this.t1i_1);
80
- this.u1i_1 = hc;
79
+ hc = contentHashCode(this.ap_1);
80
+ this.bp_1 = hc;
81
81
  }
82
82
  return hc;
83
83
  };
84
- protoOf(ByteString).u = function (index) {
85
- if (index < 0 || index >= this.s())
86
- throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.s() + ')');
87
- return this.t1i_1[index];
84
+ protoOf(ByteString).v = function (index) {
85
+ if (index < 0 || index >= this.u())
86
+ throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.u() + ')');
87
+ return this.ap_1[index];
88
88
  };
89
- protoOf(ByteString).v1i = function (startIndex, endIndex) {
89
+ protoOf(ByteString).cp = function (startIndex, endIndex) {
90
90
  var tmp;
91
91
  if (startIndex === endIndex) {
92
- tmp = Companion_getInstance().q1i_1;
92
+ tmp = Companion_getInstance().xo_1;
93
93
  } else {
94
- tmp = ByteString_init_$Create$(this.t1i_1, startIndex, endIndex);
94
+ tmp = ByteString_init_$Create$(this.ap_1, startIndex, endIndex);
95
95
  }
96
96
  return tmp;
97
97
  };
98
- protoOf(ByteString).w1i = function (startIndex, endIndex, $super) {
99
- endIndex = endIndex === VOID ? this.s() : endIndex;
100
- return $super === VOID ? this.v1i(startIndex, endIndex) : $super.v1i.call(this, startIndex, endIndex);
98
+ protoOf(ByteString).dp = function (startIndex, endIndex, $super) {
99
+ endIndex = endIndex === VOID ? this.u() : endIndex;
100
+ return $super === VOID ? this.cp(startIndex, endIndex) : $super.cp.call(this, startIndex, endIndex);
101
101
  };
102
- protoOf(ByteString).x1i = function (other) {
102
+ protoOf(ByteString).ep = function (other) {
103
103
  if (other === this)
104
104
  return 0;
105
- var localData = this.t1i_1;
106
- var otherData = other.t1i_1;
105
+ var localData = this.ap_1;
106
+ var otherData = other.ap_1;
107
107
  var inductionVariable = 0;
108
- var tmp0 = this.s();
108
+ var tmp0 = this.u();
109
109
  // Inline function 'kotlin.math.min' call
110
- var b = other.s();
110
+ var b = other.u();
111
111
  var last = Math.min(tmp0, b);
112
112
  if (inductionVariable < last)
113
113
  do {
@@ -129,59 +129,59 @@
129
129
  return cmp;
130
130
  }
131
131
  while (inductionVariable < last);
132
- return compareTo(this.s(), other.s());
132
+ return compareTo(this.u(), other.u());
133
133
  };
134
134
  protoOf(ByteString).d = function (other) {
135
- return this.x1i(other instanceof ByteString ? other : THROW_CCE());
135
+ return this.ep(other instanceof ByteString ? other : THROW_CCE());
136
136
  };
137
137
  protoOf(ByteString).toString = function () {
138
138
  if (isEmpty(this)) {
139
139
  return 'ByteString(size=0)';
140
140
  }
141
- var sizeStr = this.s().toString();
142
- var len = (22 + sizeStr.length | 0) + imul(this.s(), 2) | 0;
141
+ var sizeStr = this.u().toString();
142
+ var len = (22 + sizeStr.length | 0) + imul(this.u(), 2) | 0;
143
143
  // Inline function 'kotlin.with' call
144
144
  var $this$with = StringBuilder_init_$Create$(len);
145
- $this$with.y8('ByteString(size=');
146
- $this$with.y8(sizeStr);
147
- $this$with.y8(' hex=');
148
- var localData = this.t1i_1;
145
+ $this$with.f8('ByteString(size=');
146
+ $this$with.f8(sizeStr);
147
+ $this$with.f8(' hex=');
148
+ var localData = this.ap_1;
149
149
  var inductionVariable = 0;
150
- var last = this.s();
150
+ var last = this.u();
151
151
  if (inductionVariable < last)
152
152
  do {
153
153
  var i = inductionVariable;
154
154
  inductionVariable = inductionVariable + 1 | 0;
155
155
  var b = localData[i];
156
- $this$with.z8(Companion_getInstance().r1i_1[(b >>> 4 | 0) & 15]);
157
- $this$with.z8(Companion_getInstance().r1i_1[b & 15]);
156
+ $this$with.g8(Companion_getInstance().yo_1[(b >>> 4 | 0) & 15]);
157
+ $this$with.g8(Companion_getInstance().yo_1[b & 15]);
158
158
  }
159
159
  while (inductionVariable < last);
160
- return $this$with.z8(_Char___init__impl__6a9atx(41)).toString();
160
+ return $this$with.g8(_Char___init__impl__6a9atx(41)).toString();
161
161
  };
162
- protoOf(ByteString).y1i = function () {
163
- return this.t1i_1;
162
+ protoOf(ByteString).fp = function () {
163
+ return this.ap_1;
164
164
  };
165
165
  function ByteString_0(bytes) {
166
166
  var tmp;
167
167
  // Inline function 'kotlin.collections.isEmpty' call
168
168
  if (bytes.length === 0) {
169
- tmp = Companion_getInstance().q1i_1;
169
+ tmp = Companion_getInstance().xo_1;
170
170
  } else {
171
- tmp = Companion_getInstance().s1i(bytes);
171
+ tmp = Companion_getInstance().zo(bytes);
172
172
  }
173
173
  return tmp;
174
174
  }
175
- function isEmpty(_this__u8e3s4) {
176
- return _this__u8e3s4.s() === 0;
177
- }
178
175
  function decodeToString_0(_this__u8e3s4) {
179
- return decodeToString(_this__u8e3s4.y1i());
176
+ return decodeToString(_this__u8e3s4.fp());
177
+ }
178
+ function isEmpty(_this__u8e3s4) {
179
+ return _this__u8e3s4.u() === 0;
180
180
  }
181
181
  function UnsafeByteStringOperations() {
182
182
  }
183
- protoOf(UnsafeByteStringOperations).z1i = function (array) {
184
- return Companion_getInstance().s1i(array);
183
+ protoOf(UnsafeByteStringOperations).gp = function (array) {
184
+ return Companion_getInstance().zo(array);
185
185
  };
186
186
  var UnsafeByteStringOperations_instance;
187
187
  function UnsafeByteStringOperations_getInstance() {