@subiz/widget-v4 4.1.125 → 4.1.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/less/avatar.less +7 -3
- package/assets/less/chatbox.less +25 -2
- package/assets/less/form.less +77 -2
- package/assets/less/message.less +4 -0
- package/assets/less/widget.less +20 -0
- package/assets/less/widget_header.less +27 -7
- package/compiled_src/chatbox/ChatButton.js +22 -7
- package/compiled_src/chatbox/ConnectionStatus.js +58 -0
- package/compiled_src/chatbox/Event.js +10 -8
- package/compiled_src/chatbox/FormAttachment2.js +80 -0
- package/compiled_src/chatbox/Header.js +12 -1
- package/compiled_src/chatbox/Widget.js +5 -0
- package/compiled_src/form/Form.js +274 -0
- package/compiled_src/form/FormPage.js +131 -0
- package/compiled_src/form/index.js +72 -0
- package/compiled_src/store/api.js +3 -0
- package/compiled_src/store/realtime_fake.js +4 -0
- package/compiled_src/store/store.js +25 -0
- package/compiled_src/util/campaign.js +3 -5
- package/compiled_src/util/common.js +15 -0
- package/dist/127.js +273 -0
- package/dist/132.js +2575 -6434
- package/dist/185.js +1885 -0
- package/dist/1967c022bc1.127.js +1 -0
- package/dist/1967c022bc1.132.js +1 -0
- package/dist/1967c022bc1.185.js +1 -0
- package/dist/1967c022bc1.27.js +1 -0
- package/dist/1967c022bc1.278.js +1 -0
- package/dist/1967c022bc1.459.js +1 -0
- package/dist/1967c022bc1.490.js +1 -0
- package/dist/1967c022bc1.74.js +1 -0
- package/dist/1967c022bc1.997.js +1 -0
- package/dist/1967c022bc1.app.js +1 -0
- package/dist/1967c022bc1.form.html +1 -0
- package/dist/1967c022bc1.form.js +1 -0
- package/dist/{18a02a9c54e.index.html → 1967c022bc1.index.html} +28 -4
- package/dist/{18a02a9c54e.library.html → 1967c022bc1.library.html} +28 -4
- package/dist/1967c022bc1.library.js +1 -0
- package/dist/{18a02a9c54e.preview.html → 1967c022bc1.preview.html} +1 -1
- package/dist/1967c022bc1.preview.js +1 -0
- package/dist/1967c022bc1.webview.js +1 -0
- package/dist/27.js +107 -0
- package/dist/278.js +406 -0
- package/dist/459.js +107 -0
- package/dist/{605.js → 490.js} +82 -82
- package/dist/{335.js → 74.js} +35 -35
- package/dist/{678.js → 997.js} +6 -6
- package/dist/HASH +1 -1
- package/dist/assets/img/{subiz-mono.877e9f5.svg → subiz-mono.8fbc067.svg} +1 -1
- package/dist/malicious-app.js +6 -4
- package/dist/screenshoot.html +1 -1
- package/dist/screenshoot.js +10133 -5182
- package/form.html +10 -0
- package/package.json +5 -4
- package/src/chatbox/ChatButton.js +22 -9
- package/src/chatbox/ConnectionStatus.js +42 -0
- package/src/chatbox/Event.js +10 -10
- package/src/chatbox/FormAttachment2.js +58 -0
- package/src/chatbox/Header.js +15 -0
- package/src/chatbox/Widget.js +2 -0
- package/src/form/Form.js +293 -0
- package/src/form/FormPage.js +95 -0
- package/src/form/index.js +79 -0
- package/src/store/api.js +8 -0
- package/src/store/realtime_fake.js +8 -4
- package/src/store/store.js +29 -0
- package/src/util/campaign.js +3 -5
- package/src/util/common.js +16 -0
- package/webpack.dev.js +2 -0
- package/webpack.prod.js +7 -0
- package/dist/178.js +0 -406
- package/dist/18a02a9c54e.132.js +0 -1
- package/dist/18a02a9c54e.178.js +0 -1
- package/dist/18a02a9c54e.213.js +0 -1
- package/dist/18a02a9c54e.335.js +0 -1
- package/dist/18a02a9c54e.362.js +0 -1
- package/dist/18a02a9c54e.441.js +0 -1
- package/dist/18a02a9c54e.605.js +0 -1
- package/dist/18a02a9c54e.678.js +0 -1
- package/dist/18a02a9c54e.782.js +0 -1
- package/dist/18a02a9c54e.app.js +0 -1
- package/dist/18a02a9c54e.library.js +0 -1
- package/dist/18a02a9c54e.preview.js +0 -1
- package/dist/18a02a9c54e.screenshoot.js +0 -1
- package/dist/18a02a9c54e.webview.js +0 -1
- package/dist/213.js +0 -2780
- package/dist/362.js +0 -107
- package/dist/441.js +0 -2855
- package/dist/782.js +0 -107
package/dist/{335.js → 74.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[
|
|
2
|
+
(self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[74],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 9074:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
__webpack_require__.r(__webpack_exports__);
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
-
/* harmony export */
|
|
9
|
+
/* harmony export */ DEFVAL: () => (/* binding */ DEFVAL),
|
|
10
10
|
/* harmony export */ "default": () => (/* binding */ Contact),
|
|
11
|
-
/* harmony export */
|
|
11
|
+
/* harmony export */ replaceCssVariable: () => (/* binding */ replaceCssVariable)
|
|
12
12
|
/* harmony export */ });
|
|
13
|
-
/* harmony import */ var _util_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14
|
-
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
15
|
-
/* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
16
|
-
function _defineProperty(
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
13
|
+
/* harmony import */ var _util_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8150);
|
|
14
|
+
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(172);
|
|
15
|
+
/* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2840);
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
let CSS = (() => __webpack_require__.e(/* import() */
|
|
23
|
-
class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .
|
|
22
|
+
let CSS = (() => __webpack_require__.e(/* import() */ 997).then(__webpack_require__.bind(__webpack_require__, 997)))();
|
|
23
|
+
class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .Mw {
|
|
24
24
|
constructor(props) {
|
|
25
25
|
super(props);
|
|
26
26
|
_defineProperty(this, "state", {
|
|
@@ -47,7 +47,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
js2css(js, onlyProps) {
|
|
50
|
-
return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
50
|
+
return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.js2css(js, onlyProps, {
|
|
51
51
|
'@font_size': this.props.plugin.popup.font_size,
|
|
52
52
|
'@font_family': this.props.plugin.popup.font_family,
|
|
53
53
|
'@text_color': this.props.plugin.popup.text_color,
|
|
@@ -92,7 +92,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
92
92
|
if (this.state.map) cls += ' map_modal__show';else cls += ' map_modal__hide';
|
|
93
93
|
let overlaycls = 'overlay';
|
|
94
94
|
if (!this.state.map) overlaycls += ' overlay__hidden';
|
|
95
|
-
let $locations = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
95
|
+
let $locations = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.map(button.map.locations, loc => {
|
|
96
96
|
return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
|
|
97
97
|
class: "map_location",
|
|
98
98
|
onClick: e => this.setMap(loc.latitude, loc.longitude)
|
|
@@ -203,8 +203,8 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
203
203
|
return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, icon);
|
|
204
204
|
}
|
|
205
205
|
renderButtons(buttons) {
|
|
206
|
-
if (_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
207
|
-
return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
206
|
+
if (_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.size(buttons) === 0) return null;
|
|
207
|
+
return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.map(buttons, button => {
|
|
208
208
|
if (button.type === 'map') return this.renderMapButton(button);
|
|
209
209
|
if (button.type === 'zalo') return this.renderZaloButton(button);
|
|
210
210
|
if (button.type === 'facebook') return this.renderFacebookButton(button);
|
|
@@ -229,14 +229,14 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
229
229
|
class: "text",
|
|
230
230
|
style: this.js2css(style),
|
|
231
231
|
dangerouslySetInnerHTML: {
|
|
232
|
-
__html: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
232
|
+
__html: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(com, 'text.html')
|
|
233
233
|
}
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
async refreshCSS() {
|
|
237
237
|
let css = (await CSS).default.default.toString();
|
|
238
238
|
var outcss = replaceCssVariable(css, this.props.plugin.popup);
|
|
239
|
-
_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
239
|
+
_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.setCss(this.props.plugin.id, this.$cssStyleDiv, outcss);
|
|
240
240
|
this.setState({
|
|
241
241
|
cssready: true
|
|
242
242
|
});
|
|
@@ -257,29 +257,29 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
257
257
|
let pluginstringify = JSON.stringify(this.props.plugin);
|
|
258
258
|
if (this.state.pluginjson !== pluginstringify) {
|
|
259
259
|
this.refreshCSS();
|
|
260
|
-
_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
260
|
+
_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.setTimeout(() => this.setState({
|
|
261
261
|
pluginjson: pluginstringify
|
|
262
262
|
}));
|
|
263
263
|
}
|
|
264
264
|
if (this.state.close) return null;
|
|
265
265
|
let containercss = '';
|
|
266
266
|
let bodycss = '';
|
|
267
|
-
let layout = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
267
|
+
let layout = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, 'contact.layout', 'standard');
|
|
268
268
|
let $body = null;
|
|
269
269
|
if (layout === 'standard' || !layout) {
|
|
270
270
|
$body = this.renderByLayoutSideByStandard();
|
|
271
271
|
}
|
|
272
272
|
if (layout === 'footer') {
|
|
273
|
-
$body = this.renderByLayoutFooter(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
273
|
+
$body = this.renderByLayoutFooter(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
|
|
274
274
|
}
|
|
275
275
|
if (layout === 'mini') {
|
|
276
|
-
$body = this.renderByLayoutMini(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
276
|
+
$body = this.renderByLayoutMini(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
|
|
277
277
|
}
|
|
278
278
|
if (layout === 'docked') {
|
|
279
|
-
$body = this.renderByLayoutDocked(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
279
|
+
$body = this.renderByLayoutDocked(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
|
|
280
280
|
}
|
|
281
281
|
let left, right, bottom, top, transform;
|
|
282
|
-
let position = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
282
|
+
let position = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, 'contact.position', 'bottom-left');
|
|
283
283
|
if (position === 'center-left') {
|
|
284
284
|
left = '0';
|
|
285
285
|
top = '50%';
|
|
@@ -302,7 +302,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
|
|
|
302
302
|
bottom = '20px';
|
|
303
303
|
}
|
|
304
304
|
return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
|
|
305
|
-
style: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
305
|
+
style: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.js2css({
|
|
306
306
|
position: 'absolute',
|
|
307
307
|
left,
|
|
308
308
|
right,
|
|
@@ -338,15 +338,15 @@ function eq(a, b) {
|
|
|
338
338
|
}
|
|
339
339
|
function replaceCssVariable(css, setting) {
|
|
340
340
|
var tokens = [css];
|
|
341
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
342
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
343
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
344
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
345
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
346
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
347
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
348
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
349
|
-
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
341
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@font_family'");
|
|
342
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@font_size'");
|
|
343
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@text_color'");
|
|
344
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@primary_color'");
|
|
345
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@background'");
|
|
346
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer'");
|
|
347
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer0'");
|
|
348
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer2'");
|
|
349
|
+
tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer3'");
|
|
350
350
|
var ret = [];
|
|
351
351
|
for (var i = 0; i < tokens.length; i++) {
|
|
352
352
|
var item = tokens[i];
|
|
@@ -355,7 +355,7 @@ function replaceCssVariable(css, setting) {
|
|
|
355
355
|
continue;
|
|
356
356
|
}
|
|
357
357
|
var path = item.type.substr(2, item.type.length - 3);
|
|
358
|
-
var val = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
|
|
358
|
+
var val = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(setting, path) || _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(DEFVAL, path) || '';
|
|
359
359
|
ret.push(val);
|
|
360
360
|
}
|
|
361
361
|
return ret.join('');
|
package/dist/{678.js → 997.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[
|
|
2
|
+
(self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[997],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 997:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
__webpack_require__.r(__webpack_exports__);
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__(
|
|
11
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__(1938));
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1938:
|
|
16
16
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
17
17
|
|
|
18
18
|
__webpack_require__.r(__webpack_exports__);
|
|
19
19
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20
20
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21
21
|
/* harmony export */ });
|
|
22
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
22
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6314);
|
|
23
23
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
24
24
|
// Imports
|
|
25
25
|
|
|
@@ -32,7 +32,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "/*\n#sbz92 * {\n\tall: unset !importan
|
|
|
32
32
|
|
|
33
33
|
/***/ }),
|
|
34
34
|
|
|
35
|
-
/***/
|
|
35
|
+
/***/ 6314:
|
|
36
36
|
/***/ ((module) => {
|
|
37
37
|
|
|
38
38
|
|
package/dist/HASH
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1967c022bc1
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="21" height="15" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M20.2176 15C18.4857 15 16.7537 15 15.0379 15C13.0955 15 11.1693 15 9.22689 15C8.35282 15 7.49492 14.8374 6.65322 14.6259C5.87626 14.4308 5.11549 14.1543 4.38709 13.7802C3.62632 13.3898 2.93029 12.9182 2.29901 12.3489C1.60298 11.7309 1.03645 11.0153 0.631786 10.2021C0.227119 9.38886 0.0166929 8.51059 0.000506273 7.58354C-0.0156804 6.29867 0.356612 5.14391 1.06882 4.103C1.73248 3.09463 2.62274 2.31395 3.6425 1.67964C4.67845 1.02908 5.81151 0.606207 6.99314 0.329716C7.6406 0.183339 8.28807 0.0857536 8.96791 0.0369611C9.37257 0.020697 9.77724 -0.0118315 10.1819 0.00443267C11.0236 0.0206968 11.8653 0.118282 12.6908 0.313452C13.6782 0.541151 14.6332 0.882698 15.5397 1.35436C16.2519 1.7447 16.9156 2.2001 17.5306 2.75308C18.2752 3.43617 18.8579 4.23312 19.2626 5.16018C19.4892 5.68063 19.6349 6.23361 19.7158 6.81912C19.8453 7.86003 19.6997 8.83588 19.3112 9.79547C19.0684 10.3972 18.7285 10.934 18.3238 11.4381C18.1943 11.6008 18.0648 11.7472 17.9353 11.8773C17.8706 11.9423 17.8544 11.9911 17.8867 12.0887C18.1457 12.9019 18.5504 13.6338 19.1817 14.2193C19.4245 14.447 19.6997 14.6585 20.0072 14.8048C20.0881 14.8374 20.1691 14.9024 20.25 14.9349C20.2338 14.9675 20.2338 14.9837 20.2176 15ZM12.8365 8.70576C13.2736 8.70576 13.7268 8.6895 14.1638 8.70576C14.3581 8.70576 14.3904 8.64071 14.3904 8.4618C14.3742 7.81124 14.3742 7.16067 14.3904 6.49384C14.3904 6.31493 14.3419 6.26614 14.1638 6.26614C13.2736 6.2824 12.3995 6.26614 11.5092 6.2824C11.2988 6.2824 11.2664 6.21735 11.2664 6.02218C11.2826 5.14391 11.2664 4.28191 11.2664 3.40364C11.2664 3.241 11.234 3.19221 11.056 3.19221C10.3761 3.20847 9.68012 3.20847 9.00028 3.19221C8.82223 3.19221 8.78986 3.25727 8.78986 3.40364C8.78986 4.28191 8.78986 5.16018 8.78986 6.03844C8.78986 6.21735 8.74129 6.26614 8.56324 6.26614C7.68916 6.24988 6.83127 6.26614 5.95719 6.24988C5.74677 6.24988 5.71439 6.31493 5.71439 6.5101C5.73058 7.16067 5.73058 7.79497 5.71439 8.44554C5.71439 8.62444 5.76295 8.6895 5.94101 8.6895C6.7989 8.67324 7.65679 8.6895 8.51468 8.67324C8.72511 8.67324 8.77367 8.73829 8.77367 8.93346C8.75748 9.81173 8.77367 10.6737 8.75748 11.552C8.75748 11.6984 8.78986 11.7472 8.95172 11.7472C9.63156 11.7309 10.3276 11.7309 11.0074 11.7472C11.1855 11.7472 11.2179 11.6821 11.2179 11.5195C11.2017 10.6412 11.2179 9.76294 11.2179 8.88467C11.2179 8.72203 11.2502 8.67324 11.4283 8.67324C11.9463 8.72203 12.3995 8.70576 12.8365 8.70576Z" fill="#
|
|
2
|
+
<path d="M20.2176 15C18.4857 15 16.7537 15 15.0379 15C13.0955 15 11.1693 15 9.22689 15C8.35282 15 7.49492 14.8374 6.65322 14.6259C5.87626 14.4308 5.11549 14.1543 4.38709 13.7802C3.62632 13.3898 2.93029 12.9182 2.29901 12.3489C1.60298 11.7309 1.03645 11.0153 0.631786 10.2021C0.227119 9.38886 0.0166929 8.51059 0.000506273 7.58354C-0.0156804 6.29867 0.356612 5.14391 1.06882 4.103C1.73248 3.09463 2.62274 2.31395 3.6425 1.67964C4.67845 1.02908 5.81151 0.606207 6.99314 0.329716C7.6406 0.183339 8.28807 0.0857536 8.96791 0.0369611C9.37257 0.020697 9.77724 -0.0118315 10.1819 0.00443267C11.0236 0.0206968 11.8653 0.118282 12.6908 0.313452C13.6782 0.541151 14.6332 0.882698 15.5397 1.35436C16.2519 1.7447 16.9156 2.2001 17.5306 2.75308C18.2752 3.43617 18.8579 4.23312 19.2626 5.16018C19.4892 5.68063 19.6349 6.23361 19.7158 6.81912C19.8453 7.86003 19.6997 8.83588 19.3112 9.79547C19.0684 10.3972 18.7285 10.934 18.3238 11.4381C18.1943 11.6008 18.0648 11.7472 17.9353 11.8773C17.8706 11.9423 17.8544 11.9911 17.8867 12.0887C18.1457 12.9019 18.5504 13.6338 19.1817 14.2193C19.4245 14.447 19.6997 14.6585 20.0072 14.8048C20.0881 14.8374 20.1691 14.9024 20.25 14.9349C20.2338 14.9675 20.2338 14.9837 20.2176 15ZM12.8365 8.70576C13.2736 8.70576 13.7268 8.6895 14.1638 8.70576C14.3581 8.70576 14.3904 8.64071 14.3904 8.4618C14.3742 7.81124 14.3742 7.16067 14.3904 6.49384C14.3904 6.31493 14.3419 6.26614 14.1638 6.26614C13.2736 6.2824 12.3995 6.26614 11.5092 6.2824C11.2988 6.2824 11.2664 6.21735 11.2664 6.02218C11.2826 5.14391 11.2664 4.28191 11.2664 3.40364C11.2664 3.241 11.234 3.19221 11.056 3.19221C10.3761 3.20847 9.68012 3.20847 9.00028 3.19221C8.82223 3.19221 8.78986 3.25727 8.78986 3.40364C8.78986 4.28191 8.78986 5.16018 8.78986 6.03844C8.78986 6.21735 8.74129 6.26614 8.56324 6.26614C7.68916 6.24988 6.83127 6.26614 5.95719 6.24988C5.74677 6.24988 5.71439 6.31493 5.71439 6.5101C5.73058 7.16067 5.73058 7.79497 5.71439 8.44554C5.71439 8.62444 5.76295 8.6895 5.94101 8.6895C6.7989 8.67324 7.65679 8.6895 8.51468 8.67324C8.72511 8.67324 8.77367 8.73829 8.77367 8.93346C8.75748 9.81173 8.77367 10.6737 8.75748 11.552C8.75748 11.6984 8.78986 11.7472 8.95172 11.7472C9.63156 11.7309 10.3276 11.7309 11.0074 11.7472C11.1855 11.7472 11.2179 11.6821 11.2179 11.5195C11.2017 10.6412 11.2179 9.76294 11.2179 8.88467C11.2179 8.72203 11.2502 8.67324 11.4283 8.67324C11.9463 8.72203 12.3995 8.70576 12.8365 8.70576Z" fill="#aaa"/>
|
|
3
3
|
</svg>
|
package/dist/malicious-app.js
CHANGED
|
@@ -4,10 +4,12 @@ window._subiz_init_2094850928430 = true
|
|
|
4
4
|
window._subiz_init_2094850928430_keep_loading = true
|
|
5
5
|
var tag = document.createElement('script')
|
|
6
6
|
tag.async = 1
|
|
7
|
+
tag.defer = true
|
|
7
8
|
tag.src = 'https://public-gcs.subiz-cdn.com/widget-v4/public/' + hash + '.app.js'
|
|
8
9
|
document.body.appendChild(tag)
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
if (document.readyState === 'interactive' || document.readyState === 'complete') document.body.appendChild(tag)
|
|
12
|
+
else
|
|
13
|
+
document.addEventListener('DOMContentLoaded', function (event) {
|
|
14
|
+
document.body.appendChild(tag)
|
|
15
|
+
}) //
|
package/dist/screenshoot.html
CHANGED