@iblai/iblai-js 2.41.0 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web-containers/source/_virtual/index.js +2 -2
- package/dist/web-containers/source/_virtual/index2.js +2 -2
- package/dist/web-containers/source/_virtual/index3.js +2 -2
- package/dist/web-containers/source/_virtual/index4.js +2 -2
- package/dist/web-containers/source/_virtual/index5.js +2 -2
- package/dist/web-containers/source/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/chat/hooks/use-chat-mentor-settings.js +4 -1
- package/dist/web-containers/source/chat/hooks/use-chat-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/chat/hooks/use-reopen-last-conversation.js +82 -0
- package/dist/web-containers/source/chat/hooks/use-reopen-last-conversation.js.map +1 -0
- package/dist/web-containers/source/chat/index.js +35 -9
- package/dist/web-containers/source/chat/index.js.map +1 -1
- package/dist/web-containers/source/chat-history/chat-history-tab.js +1 -1
- package/dist/web-containers/source/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/chat-history-tab.js +1 -1
- package/dist/web-containers/source/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/components/chat/hooks/use-chat-mentor-settings.js +4 -1
- package/dist/web-containers/source/components/chat/hooks/use-chat-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/components/chat/hooks/use-reopen-last-conversation.js +82 -0
- package/dist/web-containers/source/components/chat/hooks/use-reopen-last-conversation.js.map +1 -0
- package/dist/web-containers/source/components/chat/index.js +35 -9
- package/dist/web-containers/source/components/chat/index.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +8 -0
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/components/modals/user-profile-modal.js +1 -1
- package/dist/web-containers/source/components/platform-sidebar/index.js +1 -1
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js +1 -1
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/components/profile/index.js +1 -1
- package/dist/web-containers/source/components/profile/index.js.map +1 -1
- package/dist/web-containers/source/components/skills-profile/user-avatar.js +1 -1
- package/dist/web-containers/source/components/skills-profile/user-avatar.js.map +1 -1
- package/dist/web-containers/source/components/user-profile-dropdown/index.js +1 -1
- package/dist/web-containers/source/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/labels.js +8 -0
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/en.json.js +6 -1
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +6 -1
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +6 -1
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/hooks/use-chat-mentor-settings.js +4 -1
- package/dist/web-containers/source/hooks/use-chat-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/hooks/use-reopen-last-conversation.js +82 -0
- package/dist/web-containers/source/hooks/use-reopen-last-conversation.js.map +1 -0
- package/dist/web-containers/source/i18n/messages/en.json.js +6 -1
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +6 -1
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +6 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +6 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/index2.js +2 -2
- package/dist/web-containers/source/index3.js +2 -2
- package/dist/web-containers/source/index4.js +2 -2
- package/dist/web-containers/source/index5.js +2 -2
- package/dist/web-containers/source/labels.js +23 -289
- package/dist/web-containers/source/labels.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +6 -1
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +6 -1
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +6 -1
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +6 -1
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/labels.js +8 -0
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/modals/user-profile-modal.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +74 -65
- package/dist/web-containers/source/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js.map +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +2 -2
- package/dist/web-containers/source/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +2 -2
- package/dist/web-containers/source/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js +1 -1
- package/dist/web-containers/source/platform-sidebar/index.js +1 -1
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js +1 -1
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/profile/index.js +1 -1
- package/dist/web-containers/source/profile/index.js.map +1 -1
- package/dist/web-containers/source/settings-tab/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/settings-tab/labels.js +8 -0
- package/dist/web-containers/source/settings-tab/labels.js.map +1 -1
- package/dist/web-containers/source/settings-tab/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/skills-profile/user-avatar.js +1 -1
- package/dist/web-containers/source/skills-profile/user-avatar.js.map +1 -1
- package/dist/web-containers/source/tabs/settings-tab/capabilities-sub-tab.js +1 -1
- package/dist/web-containers/source/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/web-containers/source/tabs/settings-tab/labels.js +8 -0
- package/dist/web-containers/source/tabs/settings-tab/labels.js.map +1 -1
- package/dist/web-containers/source/tabs/settings-tab/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/tsconfig.tsbuildinfo +1 -1
- package/dist/web-containers/source/use-chat-mentor-settings.js +4 -1
- package/dist/web-containers/source/use-chat-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/use-edit-mentor-settings.js +7 -3
- package/dist/web-containers/source/use-edit-mentor-settings.js.map +1 -1
- package/dist/web-containers/source/use-reopen-last-conversation.js +82 -0
- package/dist/web-containers/source/use-reopen-last-conversation.js.map +1 -0
- package/dist/web-containers/source/user-avatar.js +1 -1
- package/dist/web-containers/source/user-avatar.js.map +1 -1
- package/dist/web-containers/source/user-profile-dropdown/index.js +1 -1
- package/dist/web-containers/source/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/user-profile-modal.js +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.tsbuildinfo +1 -1
- package/dist/web-containers/source/zh.json.js +6 -1
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/package.json +4 -4
- package/dist/web-containers/source/_virtual/crypt.js +0 -4
- package/dist/web-containers/source/_virtual/crypt.js.map +0 -1
- package/dist/web-containers/source/_virtual/index6.js +0 -4
- package/dist/web-containers/source/_virtual/index6.js.map +0 -1
- package/dist/web-containers/source/_virtual/md5.js +0 -4
- package/dist/web-containers/source/_virtual/md5.js.map +0 -1
- package/dist/web-containers/source/crypt.js +0 -4
- package/dist/web-containers/source/crypt.js.map +0 -1
- package/dist/web-containers/source/index6.js +0 -4
- package/dist/web-containers/source/index6.js.map +0 -1
- package/dist/web-containers/source/md5.js +0 -4
- package/dist/web-containers/source/md5.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js +0 -36
- package/dist/web-containers/source/node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js +0 -103
- package/dist/web-containers/source/node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js +0 -24
- package/dist/web-containers/source/node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/is-retina@1.0.3/node_modules/is-retina/index.js +0 -16
- package/dist/web-containers/source/node_modules/.pnpm/is-retina@1.0.3/node_modules/is-retina/index.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js +0 -170
- package/dist/web-containers/source/node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/query-string@4.3.4/node_modules/query-string/index.js +0 -211
- package/dist/web-containers/source/node_modules/.pnpm/query-string@4.3.4/node_modules/query-string/index.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/react-gravatar@2.6.3_react@19.1.0/node_modules/react-gravatar/dist/index.js +0 -161
- package/dist/web-containers/source/node_modules/.pnpm/react-gravatar@2.6.3_react@19.1.0/node_modules/react-gravatar/dist/index.js.map +0 -1
- package/dist/web-containers/source/node_modules/.pnpm/strict-uri-encode@1.1.0/node_modules/strict-uri-encode/index.js +0 -8
- package/dist/web-containers/source/node_modules/.pnpm/strict-uri-encode@1.1.0/node_modules/strict-uri-encode/index.js.map +0 -1
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { __exports as queryString } from '../../../../../_virtual/index.js';
|
|
2
|
-
import { s as strictUriEncode$1 } from '../../../strict-uri-encode@1.1.0/node_modules/strict-uri-encode/index.js';
|
|
3
|
-
import { o as objectAssign$1 } from '../../../object-assign@4.1.1/node_modules/object-assign/index.js';
|
|
4
|
-
|
|
5
|
-
var strictUriEncode = strictUriEncode$1;
|
|
6
|
-
var objectAssign = objectAssign$1;
|
|
7
|
-
|
|
8
|
-
function encoderForArrayFormat(opts) {
|
|
9
|
-
switch (opts.arrayFormat) {
|
|
10
|
-
case 'index':
|
|
11
|
-
return function (key, value, index) {
|
|
12
|
-
return value === null ? [
|
|
13
|
-
encode(key, opts),
|
|
14
|
-
'[',
|
|
15
|
-
index,
|
|
16
|
-
']'
|
|
17
|
-
].join('') : [
|
|
18
|
-
encode(key, opts),
|
|
19
|
-
'[',
|
|
20
|
-
encode(index, opts),
|
|
21
|
-
']=',
|
|
22
|
-
encode(value, opts)
|
|
23
|
-
].join('');
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
case 'bracket':
|
|
27
|
-
return function (key, value) {
|
|
28
|
-
return value === null ? encode(key, opts) : [
|
|
29
|
-
encode(key, opts),
|
|
30
|
-
'[]=',
|
|
31
|
-
encode(value, opts)
|
|
32
|
-
].join('');
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
default:
|
|
36
|
-
return function (key, value) {
|
|
37
|
-
return value === null ? encode(key, opts) : [
|
|
38
|
-
encode(key, opts),
|
|
39
|
-
'=',
|
|
40
|
-
encode(value, opts)
|
|
41
|
-
].join('');
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function parserForArrayFormat(opts) {
|
|
47
|
-
var result;
|
|
48
|
-
|
|
49
|
-
switch (opts.arrayFormat) {
|
|
50
|
-
case 'index':
|
|
51
|
-
return function (key, value, accumulator) {
|
|
52
|
-
result = /\[(\d*)\]$/.exec(key);
|
|
53
|
-
|
|
54
|
-
key = key.replace(/\[\d*\]$/, '');
|
|
55
|
-
|
|
56
|
-
if (!result) {
|
|
57
|
-
accumulator[key] = value;
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (accumulator[key] === undefined) {
|
|
62
|
-
accumulator[key] = {};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
accumulator[key][result[1]] = value;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
case 'bracket':
|
|
69
|
-
return function (key, value, accumulator) {
|
|
70
|
-
result = /(\[\])$/.exec(key);
|
|
71
|
-
key = key.replace(/\[\]$/, '');
|
|
72
|
-
|
|
73
|
-
if (!result) {
|
|
74
|
-
accumulator[key] = value;
|
|
75
|
-
return;
|
|
76
|
-
} else if (accumulator[key] === undefined) {
|
|
77
|
-
accumulator[key] = [value];
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
accumulator[key] = [].concat(accumulator[key], value);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
default:
|
|
85
|
-
return function (key, value, accumulator) {
|
|
86
|
-
if (accumulator[key] === undefined) {
|
|
87
|
-
accumulator[key] = value;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
accumulator[key] = [].concat(accumulator[key], value);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function encode(value, opts) {
|
|
97
|
-
if (opts.encode) {
|
|
98
|
-
return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return value;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function keysSorter(input) {
|
|
105
|
-
if (Array.isArray(input)) {
|
|
106
|
-
return input.sort();
|
|
107
|
-
} else if (typeof input === 'object') {
|
|
108
|
-
return keysSorter(Object.keys(input)).sort(function (a, b) {
|
|
109
|
-
return Number(a) - Number(b);
|
|
110
|
-
}).map(function (key) {
|
|
111
|
-
return input[key];
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return input;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
queryString.extract = function (str) {
|
|
119
|
-
return str.split('?')[1] || '';
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
queryString.parse = function (str, opts) {
|
|
123
|
-
opts = objectAssign({arrayFormat: 'none'}, opts);
|
|
124
|
-
|
|
125
|
-
var formatter = parserForArrayFormat(opts);
|
|
126
|
-
|
|
127
|
-
// Create an object with no prototype
|
|
128
|
-
// https://github.com/sindresorhus/query-string/issues/47
|
|
129
|
-
var ret = Object.create(null);
|
|
130
|
-
|
|
131
|
-
if (typeof str !== 'string') {
|
|
132
|
-
return ret;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
str = str.trim().replace(/^(\?|#|&)/, '');
|
|
136
|
-
|
|
137
|
-
if (!str) {
|
|
138
|
-
return ret;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
str.split('&').forEach(function (param) {
|
|
142
|
-
var parts = param.replace(/\+/g, ' ').split('=');
|
|
143
|
-
// Firefox (pre 40) decodes `%3D` to `=`
|
|
144
|
-
// https://github.com/sindresorhus/query-string/pull/37
|
|
145
|
-
var key = parts.shift();
|
|
146
|
-
var val = parts.length > 0 ? parts.join('=') : undefined;
|
|
147
|
-
|
|
148
|
-
// missing `=` should be `null`:
|
|
149
|
-
// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
|
|
150
|
-
val = val === undefined ? null : decodeURIComponent(val);
|
|
151
|
-
|
|
152
|
-
formatter(decodeURIComponent(key), val, ret);
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
return Object.keys(ret).sort().reduce(function (result, key) {
|
|
156
|
-
var val = ret[key];
|
|
157
|
-
if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
|
|
158
|
-
// Sort object keys, not values
|
|
159
|
-
result[key] = keysSorter(val);
|
|
160
|
-
} else {
|
|
161
|
-
result[key] = val;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
return result;
|
|
165
|
-
}, Object.create(null));
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
queryString.stringify = function (obj, opts) {
|
|
169
|
-
var defaults = {
|
|
170
|
-
encode: true,
|
|
171
|
-
strict: true,
|
|
172
|
-
arrayFormat: 'none'
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
opts = objectAssign(defaults, opts);
|
|
176
|
-
|
|
177
|
-
var formatter = encoderForArrayFormat(opts);
|
|
178
|
-
|
|
179
|
-
return obj ? Object.keys(obj).sort().map(function (key) {
|
|
180
|
-
var val = obj[key];
|
|
181
|
-
|
|
182
|
-
if (val === undefined) {
|
|
183
|
-
return '';
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
if (val === null) {
|
|
187
|
-
return encode(key, opts);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
if (Array.isArray(val)) {
|
|
191
|
-
var result = [];
|
|
192
|
-
|
|
193
|
-
val.slice().forEach(function (val2) {
|
|
194
|
-
if (val2 === undefined) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
result.push(formatter(key, val2, result.length));
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
return result.join('&');
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
return encode(key, opts) + '=' + encode(val, opts);
|
|
205
|
-
}).filter(function (x) {
|
|
206
|
-
return x.length > 0;
|
|
207
|
-
}).join('&') : '';
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
export { queryString as default };
|
|
211
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/.pnpm/query-string@4.3.4/node_modules/query-string/index.js"],"sourcesContent":["'use strict';\nvar strictUriEncode = require('strict-uri-encode');\nvar objectAssign = require('object-assign');\n\nfunction encoderForArrayFormat(opts) {\n\tswitch (opts.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn function (key, value, index) {\n\t\t\t\treturn value === null ? [\n\t\t\t\t\tencode(key, opts),\n\t\t\t\t\t'[',\n\t\t\t\t\tindex,\n\t\t\t\t\t']'\n\t\t\t\t].join('') : [\n\t\t\t\t\tencode(key, opts),\n\t\t\t\t\t'[',\n\t\t\t\t\tencode(index, opts),\n\t\t\t\t\t']=',\n\t\t\t\t\tencode(value, opts)\n\t\t\t\t].join('');\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn function (key, value) {\n\t\t\t\treturn value === null ? encode(key, opts) : [\n\t\t\t\t\tencode(key, opts),\n\t\t\t\t\t'[]=',\n\t\t\t\t\tencode(value, opts)\n\t\t\t\t].join('');\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn function (key, value) {\n\t\t\t\treturn value === null ? encode(key, opts) : [\n\t\t\t\t\tencode(key, opts),\n\t\t\t\t\t'=',\n\t\t\t\t\tencode(value, opts)\n\t\t\t\t].join('');\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(opts) {\n\tvar result;\n\n\tswitch (opts.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn function (key, value, accumulator) {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn function (key, value, accumulator) {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t} else if (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn function (key, value, accumulator) {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction encode(value, opts) {\n\tif (opts.encode) {\n\t\treturn opts.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t} else if (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input)).sort(function (a, b) {\n\t\t\treturn Number(a) - Number(b);\n\t\t}).map(function (key) {\n\t\t\treturn input[key];\n\t\t});\n\t}\n\n\treturn input;\n}\n\nexports.extract = function (str) {\n\treturn str.split('?')[1] || '';\n};\n\nexports.parse = function (str, opts) {\n\topts = objectAssign({arrayFormat: 'none'}, opts);\n\n\tvar formatter = parserForArrayFormat(opts);\n\n\t// Create an object with no prototype\n\t// https://github.com/sindresorhus/query-string/issues/47\n\tvar ret = Object.create(null);\n\n\tif (typeof str !== 'string') {\n\t\treturn ret;\n\t}\n\n\tstr = str.trim().replace(/^(\\?|#|&)/, '');\n\n\tif (!str) {\n\t\treturn ret;\n\t}\n\n\tstr.split('&').forEach(function (param) {\n\t\tvar parts = param.replace(/\\+/g, ' ').split('=');\n\t\t// Firefox (pre 40) decodes `%3D` to `=`\n\t\t// https://github.com/sindresorhus/query-string/pull/37\n\t\tvar key = parts.shift();\n\t\tvar val = parts.length > 0 ? parts.join('=') : undefined;\n\n\t\t// missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tval = val === undefined ? null : decodeURIComponent(val);\n\n\t\tformatter(decodeURIComponent(key), val, ret);\n\t});\n\n\treturn Object.keys(ret).sort().reduce(function (result, key) {\n\t\tvar val = ret[key];\n\t\tif (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(val);\n\t\t} else {\n\t\t\tresult[key] = val;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n};\n\nexports.stringify = function (obj, opts) {\n\tvar defaults = {\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none'\n\t};\n\n\topts = objectAssign(defaults, opts);\n\n\tvar formatter = encoderForArrayFormat(opts);\n\n\treturn obj ? Object.keys(obj).sort().map(function (key) {\n\t\tvar val = obj[key];\n\n\t\tif (val === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (val === null) {\n\t\t\treturn encode(key, opts);\n\t\t}\n\n\t\tif (Array.isArray(val)) {\n\t\t\tvar result = [];\n\n\t\t\tval.slice().forEach(function (val2) {\n\t\t\t\tif (val2 === undefined) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tresult.push(formatter(key, val2, result.length));\n\t\t\t});\n\n\t\t\treturn result.join('&');\n\t\t}\n\n\t\treturn encode(key, opts) + '=' + encode(val, opts);\n\t}).filter(function (x) {\n\t\treturn x.length > 0;\n\t}).join('&') : '';\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;;AACA,IAAI,eAAe,GAAGA,iBAA4B;AAClD,IAAI,YAAY,GAAGC,cAAwB;;AAE3C,SAAS,qBAAqB,CAAC,IAAI,EAAE;AACrC,CAAC,QAAQ,IAAI,CAAC,WAAW;AACzB,EAAE,KAAK,OAAO;AACd,GAAG,OAAO,UAAU,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE;AACvC,IAAI,OAAO,KAAK,KAAK,IAAI,GAAG;AAC5B,KAAK,MAAM,CAAC,GAAG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AS,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;AACpD,GAAA,CAAI,CAAC;;AAEL,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AAC1B,EAAA;;AAEA,EAAE,OAAO,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,GAAG,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC;AACpD,CAAA,CAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE;AACxB,EAAE,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC;AACrB,CAAA,CAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE;AAClB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from '../../../../../../_virtual/_commonjsHelpers.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { m as md5Exports } from '../../../../md5@2.3.0/node_modules/md5/md5.js';
|
|
4
|
-
import '../../../../query-string@4.3.4/node_modules/query-string/index.js';
|
|
5
|
-
import { i as isRetina } from '../../../../is-retina@1.0.3/node_modules/is-retina/index.js';
|
|
6
|
-
import { p as propTypesExports } from '../../../../prop-types@15.8.1/node_modules/prop-types/index.js';
|
|
7
|
-
import { __exports as queryString } from '../../../../../../_virtual/index.js';
|
|
8
|
-
|
|
9
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
10
|
-
|
|
11
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
12
|
-
|
|
13
|
-
var _react = React__default;
|
|
14
|
-
|
|
15
|
-
var _react2 = _interopRequireDefault(_react);
|
|
16
|
-
|
|
17
|
-
var _md = md5Exports;
|
|
18
|
-
|
|
19
|
-
var _md2 = _interopRequireDefault(_md);
|
|
20
|
-
|
|
21
|
-
var _queryString = queryString;
|
|
22
|
-
|
|
23
|
-
var _queryString2 = _interopRequireDefault(_queryString);
|
|
24
|
-
|
|
25
|
-
var _isRetina = isRetina;
|
|
26
|
-
|
|
27
|
-
var _isRetina2 = _interopRequireDefault(_isRetina);
|
|
28
|
-
|
|
29
|
-
var _propTypes = propTypesExports;
|
|
30
|
-
|
|
31
|
-
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
32
|
-
|
|
33
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
34
|
-
|
|
35
|
-
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
36
|
-
|
|
37
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
38
|
-
|
|
39
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
40
|
-
|
|
41
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
42
|
-
|
|
43
|
-
var Gravatar = function (_React$Component) {
|
|
44
|
-
_inherits(Gravatar, _React$Component);
|
|
45
|
-
|
|
46
|
-
function Gravatar() {
|
|
47
|
-
_classCallCheck(this, Gravatar);
|
|
48
|
-
|
|
49
|
-
return _possibleConstructorReturn(this, (Gravatar.__proto__ || Object.getPrototypeOf(Gravatar)).apply(this, arguments));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
_createClass(Gravatar, [{
|
|
53
|
-
key: 'render',
|
|
54
|
-
value: function render() {
|
|
55
|
-
var base = this.props.protocol + 'www.gravatar.com/avatar/';
|
|
56
|
-
|
|
57
|
-
var query = _queryString2.default.stringify({
|
|
58
|
-
s: this.props.size,
|
|
59
|
-
r: this.props.rating,
|
|
60
|
-
d: this.props.default
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
var retinaQuery = _queryString2.default.stringify({
|
|
64
|
-
s: this.props.size * 2,
|
|
65
|
-
r: this.props.rating,
|
|
66
|
-
d: this.props.default
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
// Gravatar service currently trims and lowercases all registered emails
|
|
70
|
-
var formattedEmail = ('' + this.props.email).trim().toLowerCase();
|
|
71
|
-
|
|
72
|
-
var hash = void 0;
|
|
73
|
-
if (this.props.md5) {
|
|
74
|
-
hash = this.props.md5;
|
|
75
|
-
} else if (typeof this.props.email === 'string') {
|
|
76
|
-
hash = (0, _md2.default)(formattedEmail, { encoding: "binary" });
|
|
77
|
-
} else {
|
|
78
|
-
console.warn('Gravatar image can not be fetched. Either the "email" or "md5" prop must be specified.');
|
|
79
|
-
return _react2.default.createElement('script', null);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
var src = '' + base + hash + '?' + query;
|
|
83
|
-
var retinaSrc = '' + base + hash + '?' + retinaQuery;
|
|
84
|
-
|
|
85
|
-
var modernBrowser = true; // server-side, we render for modern browsers
|
|
86
|
-
|
|
87
|
-
if (typeof window !== 'undefined') {
|
|
88
|
-
// this is not NodeJS
|
|
89
|
-
modernBrowser = 'srcset' in document.createElement('img');
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
var className = 'react-gravatar';
|
|
93
|
-
if (this.props.className) {
|
|
94
|
-
className = className + ' ' + this.props.className;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Clone this.props and then delete Component specific props so we can
|
|
98
|
-
// spread the rest into the img.
|
|
99
|
-
|
|
100
|
-
var rest = _objectWithoutProperties(this.props, []);
|
|
101
|
-
|
|
102
|
-
delete rest.md5;
|
|
103
|
-
delete rest.email;
|
|
104
|
-
delete rest.protocol;
|
|
105
|
-
delete rest.rating;
|
|
106
|
-
delete rest.size;
|
|
107
|
-
delete rest.style;
|
|
108
|
-
delete rest.className;
|
|
109
|
-
delete rest.default;
|
|
110
|
-
if (!modernBrowser && (0, _isRetina2.default)()) {
|
|
111
|
-
return _react2.default.createElement('img', _extends({
|
|
112
|
-
alt: 'Gravatar for ' + formattedEmail,
|
|
113
|
-
style: this.props.style,
|
|
114
|
-
src: retinaSrc,
|
|
115
|
-
height: this.props.size,
|
|
116
|
-
width: this.props.size
|
|
117
|
-
}, rest, {
|
|
118
|
-
className: className
|
|
119
|
-
}));
|
|
120
|
-
}
|
|
121
|
-
return _react2.default.createElement('img', _extends({
|
|
122
|
-
alt: 'Gravatar for ' + formattedEmail,
|
|
123
|
-
style: this.props.style,
|
|
124
|
-
src: src,
|
|
125
|
-
srcSet: retinaSrc + ' 2x',
|
|
126
|
-
height: this.props.size,
|
|
127
|
-
width: this.props.size
|
|
128
|
-
}, rest, {
|
|
129
|
-
className: className
|
|
130
|
-
}));
|
|
131
|
-
}
|
|
132
|
-
}]);
|
|
133
|
-
|
|
134
|
-
return Gravatar;
|
|
135
|
-
}(_react2.default.Component);
|
|
136
|
-
|
|
137
|
-
Gravatar.displayName = 'Gravatar';
|
|
138
|
-
Gravatar.propTypes = {
|
|
139
|
-
email: _propTypes2.default.string,
|
|
140
|
-
md5: _propTypes2.default.string,
|
|
141
|
-
size: _propTypes2.default.number,
|
|
142
|
-
rating: _propTypes2.default.string,
|
|
143
|
-
default: _propTypes2.default.string,
|
|
144
|
-
className: _propTypes2.default.string,
|
|
145
|
-
protocol: _propTypes2.default.string,
|
|
146
|
-
style: _propTypes2.default.object
|
|
147
|
-
};
|
|
148
|
-
Gravatar.defaultProps = {
|
|
149
|
-
size: 50,
|
|
150
|
-
rating: 'g',
|
|
151
|
-
default: 'retro',
|
|
152
|
-
protocol: '//'
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var dist = Gravatar;
|
|
157
|
-
|
|
158
|
-
var Gravatar$1 = /*@__PURE__*/getDefaultExportFromCjs(dist);
|
|
159
|
-
|
|
160
|
-
export { Gravatar$1 as default };
|
|
161
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/react-gravatar@2.6.3_react@19.1.0/node_modules/react-gravatar/dist/index.js"],"sourcesContent":["'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _md = require('md5');\n\nvar _md2 = _interopRequireDefault(_md);\n\nvar _queryString = require('query-string');\n\nvar _queryString2 = _interopRequireDefault(_queryString);\n\nvar _isRetina = require('is-retina');\n\nvar _isRetina2 = _interopRequireDefault(_isRetina);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Gravatar = function (_React$Component) {\n _inherits(Gravatar, _React$Component);\n\n function Gravatar() {\n _classCallCheck(this, Gravatar);\n\n return _possibleConstructorReturn(this, (Gravatar.__proto__ || Object.getPrototypeOf(Gravatar)).apply(this, arguments));\n }\n\n _createClass(Gravatar, [{\n key: 'render',\n value: function render() {\n var base = this.props.protocol + 'www.gravatar.com/avatar/';\n\n var query = _queryString2.default.stringify({\n s: this.props.size,\n r: this.props.rating,\n d: this.props.default\n });\n\n var retinaQuery = _queryString2.default.stringify({\n s: this.props.size * 2,\n r: this.props.rating,\n d: this.props.default\n });\n\n // Gravatar service currently trims and lowercases all registered emails\n var formattedEmail = ('' + this.props.email).trim().toLowerCase();\n\n var hash = void 0;\n if (this.props.md5) {\n hash = this.props.md5;\n } else if (typeof this.props.email === 'string') {\n hash = (0, _md2.default)(formattedEmail, { encoding: \"binary\" });\n } else {\n console.warn('Gravatar image can not be fetched. Either the \"email\" or \"md5\" prop must be specified.');\n return _react2.default.createElement('script', null);\n }\n\n var src = '' + base + hash + '?' + query;\n var retinaSrc = '' + base + hash + '?' + retinaQuery;\n\n var modernBrowser = true; // server-side, we render for modern browsers\n\n if (typeof window !== 'undefined') {\n // this is not NodeJS\n modernBrowser = 'srcset' in document.createElement('img');\n }\n\n var className = 'react-gravatar';\n if (this.props.className) {\n className = className + ' ' + this.props.className;\n }\n\n // Clone this.props and then delete Component specific props so we can\n // spread the rest into the img.\n\n var rest = _objectWithoutProperties(this.props, []);\n\n delete rest.md5;\n delete rest.email;\n delete rest.protocol;\n delete rest.rating;\n delete rest.size;\n delete rest.style;\n delete rest.className;\n delete rest.default;\n if (!modernBrowser && (0, _isRetina2.default)()) {\n return _react2.default.createElement('img', _extends({\n alt: 'Gravatar for ' + formattedEmail,\n style: this.props.style,\n src: retinaSrc,\n height: this.props.size,\n width: this.props.size\n }, rest, {\n className: className\n }));\n }\n return _react2.default.createElement('img', _extends({\n alt: 'Gravatar for ' + formattedEmail,\n style: this.props.style,\n src: src,\n srcSet: retinaSrc + ' 2x',\n height: this.props.size,\n width: this.props.size\n }, rest, {\n className: className\n }));\n }\n }]);\n\n return Gravatar;\n}(_react2.default.Component);\n\nGravatar.displayName = 'Gravatar';\nGravatar.propTypes = {\n email: _propTypes2.default.string,\n md5: _propTypes2.default.string,\n size: _propTypes2.default.number,\n rating: _propTypes2.default.string,\n default: _propTypes2.default.string,\n className: _propTypes2.default.string,\n protocol: _propTypes2.default.string,\n style: _propTypes2.default.object\n};\nGravatar.defaultProps = {\n size: 50,\n rating: 'g',\n default: 'retro',\n protocol: '//'\n};\n\n\nmodule.exports = Gravatar;"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;;AAEA,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,UAAU,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI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;AAClB,EAAE,QAAQ,EAAE;AACZ,CAAC;;;AAGD,IAAA,IAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/.pnpm/strict-uri-encode@1.1.0/node_modules/strict-uri-encode/index.js"],"sourcesContent":["'use strict';\nmodule.exports = function (str) {\n\treturn encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n\t\treturn '%' + c.charCodeAt(0).toString(16).toUpperCase();\n\t});\n};\n"],"names":[],"mappings":"IACA,eAAc,GAAG,UAAU,GAAG,EAAE;AAChC,CAAC,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE;AACjE,EAAE,OAAO,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE;AACzD,CAAA,CAAE,CAAC;AACH;;;;","x_google_ignoreList":[0]}
|