@liner-fe/prism 2.1.12 → 2.1.13

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/lib/index.cjs CHANGED
@@ -7968,482 +7968,6 @@ var Paragraph = (0, import_react2.forwardRef)(
7968
7968
 
7969
7969
  // src/components/Toast/index.tsx
7970
7970
  var import_recoil2 = require("recoil");
7971
- var import_lottie_web = __toESM(require("lottie-web"));
7972
-
7973
- // src/lottie/loading.json
7974
- var loading_default = {
7975
- v: "5.9.0",
7976
- fr: 60,
7977
- ip: 0,
7978
- op: 60,
7979
- w: 48,
7980
- h: 48,
7981
- nm: "Loading Lottie Outline #FFFFFF",
7982
- ddd: 0,
7983
- assets: [],
7984
- layers: [
7985
- {
7986
- ddd: 0,
7987
- ind: 1,
7988
- ty: 4,
7989
- nm: "Point 3",
7990
- sr: 1,
7991
- ks: {
7992
- o: {
7993
- a: 1,
7994
- k: [
7995
- { i: { x: [0.25], y: [1] }, o: { x: [0.5], y: [0] }, t: 0, s: [50] },
7996
- { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 40, s: [100] },
7997
- { t: 60, s: [50] }
7998
- ],
7999
- ix: 11
8000
- },
8001
- r: { a: 0, k: 0, ix: 10 },
8002
- p: { a: 0, k: [40, 24, 0], ix: 2, l: 2 },
8003
- a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
8004
- s: {
8005
- a: 1,
8006
- k: [
8007
- {
8008
- i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
8009
- o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8010
- t: 0,
8011
- s: [12.5, 12.5, 100]
8012
- },
8013
- {
8014
- i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
8015
- o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8016
- t: 40,
8017
- s: [10, 10, 100]
8018
- },
8019
- { t: 60, s: [12.5, 12.5, 100] }
8020
- ],
8021
- ix: 6,
8022
- l: 2
8023
- }
8024
- },
8025
- ao: 0,
8026
- shapes: [
8027
- {
8028
- ty: "gr",
8029
- it: [
8030
- {
8031
- ind: 0,
8032
- ty: "sh",
8033
- ix: 1,
8034
- ks: {
8035
- a: 0,
8036
- k: {
8037
- i: [
8038
- [-11.046, 0],
8039
- [0, 0],
8040
- [0, -11.046],
8041
- [0, 0],
8042
- [11.046, 0],
8043
- [0, 0],
8044
- [0, 11.046],
8045
- [0, 0]
8046
- ],
8047
- o: [
8048
- [0, 0],
8049
- [11.046, 0],
8050
- [0, 0],
8051
- [0, 11.046],
8052
- [0, 0],
8053
- [-11.046, 0],
8054
- [0, 0],
8055
- [0, -11.046]
8056
- ],
8057
- v: [
8058
- [-20, -40],
8059
- [20, -40],
8060
- [40, -20],
8061
- [40, 20],
8062
- [20, 40],
8063
- [-20, 40],
8064
- [-40, 20],
8065
- [-40, -20]
8066
- ],
8067
- c: true
8068
- },
8069
- ix: 2
8070
- },
8071
- nm: "Path 1",
8072
- mn: "ADBE Vector Shape - Group",
8073
- hd: false
8074
- },
8075
- {
8076
- ty: "gr",
8077
- it: [
8078
- {
8079
- ty: "tr",
8080
- p: { a: 0, k: [0, 0], ix: 2 },
8081
- a: { a: 0, k: [0, 0], ix: 1 },
8082
- s: { a: 0, k: [100, 100], ix: 3 },
8083
- r: { a: 0, k: 0, ix: 6 },
8084
- o: { a: 0, k: 100, ix: 7 },
8085
- sk: { a: 0, k: 0, ix: 4 },
8086
- sa: { a: 0, k: 0, ix: 5 },
8087
- nm: "Transform"
8088
- }
8089
- ],
8090
- nm: "Group 1",
8091
- np: 0,
8092
- cix: 2,
8093
- bm: 0,
8094
- ix: 2,
8095
- mn: "ADBE Vector Group",
8096
- hd: false
8097
- },
8098
- { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8099
- {
8100
- ty: "fl",
8101
- c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8102
- o: { a: 0, k: 100, ix: 5 },
8103
- r: 1,
8104
- bm: 0,
8105
- nm: "Fill 1",
8106
- mn: "ADBE Vector Graphic - Fill",
8107
- hd: false
8108
- },
8109
- {
8110
- ty: "tr",
8111
- p: { a: 0, k: [40.25, 40.25], ix: 2 },
8112
- a: { a: 0, k: [0, 0], ix: 1 },
8113
- s: { a: 0, k: [100, 100], ix: 3 },
8114
- r: { a: 0, k: 0, ix: 6 },
8115
- o: { a: 0, k: 100, ix: 7 },
8116
- sk: { a: 0, k: 0, ix: 4 },
8117
- sa: { a: 0, k: 0, ix: 5 },
8118
- nm: "Transform"
8119
- }
8120
- ],
8121
- nm: "Group 1",
8122
- np: 4,
8123
- cix: 2,
8124
- bm: 0,
8125
- ix: 1,
8126
- mn: "ADBE Vector Group",
8127
- hd: false
8128
- }
8129
- ],
8130
- ip: 0,
8131
- op: 60,
8132
- st: 0,
8133
- bm: 0
8134
- },
8135
- {
8136
- ddd: 0,
8137
- ind: 2,
8138
- ty: 4,
8139
- nm: "Point 2",
8140
- sr: 1,
8141
- ks: {
8142
- o: {
8143
- a: 1,
8144
- k: [
8145
- { i: { x: [0.466], y: [1] }, o: { x: [0.185], y: [0.563] }, t: 0, s: [85.479] },
8146
- { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 20, s: [100] },
8147
- { i: { x: [0.666], y: [0.584] }, o: { x: [0.5], y: [0] }, t: 40, s: [50] },
8148
- { t: 60, s: [85.479] }
8149
- ],
8150
- ix: 11
8151
- },
8152
- r: { a: 0, k: 0, ix: 10 },
8153
- p: { a: 0, k: [24, 24, 0], ix: 2, l: 2 },
8154
- a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
8155
- s: {
8156
- a: 1,
8157
- k: [
8158
- {
8159
- i: { x: [0.569, 0.569, 0.674], y: [1, 1, 1] },
8160
- o: { x: [0.248, 0.248, 0.337], y: [1.236, 1.236, 0] },
8161
- t: 0,
8162
- s: [10.24, 10.24, 100]
8163
- },
8164
- {
8165
- i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
8166
- o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8167
- t: 20,
8168
- s: [10, 10, 100]
8169
- },
8170
- {
8171
- i: { x: [0.477, 0.477, 0.651], y: [0.723, 0.723, -3.226] },
8172
- o: { x: [0.606, 0.606, 0.301], y: [0, 0, 0] },
8173
- t: 40,
8174
- s: [12.5, 12.5, 100]
8175
- },
8176
- { t: 60, s: [10.24, 10.24, 100] }
8177
- ],
8178
- ix: 6,
8179
- l: 2
8180
- }
8181
- },
8182
- ao: 0,
8183
- shapes: [
8184
- {
8185
- ty: "gr",
8186
- it: [
8187
- {
8188
- ind: 0,
8189
- ty: "sh",
8190
- ix: 1,
8191
- ks: {
8192
- a: 0,
8193
- k: {
8194
- i: [
8195
- [-11.046, 0],
8196
- [0, 0],
8197
- [0, -11.046],
8198
- [0, 0],
8199
- [11.046, 0],
8200
- [0, 0],
8201
- [0, 11.046],
8202
- [0, 0]
8203
- ],
8204
- o: [
8205
- [0, 0],
8206
- [11.046, 0],
8207
- [0, 0],
8208
- [0, 11.046],
8209
- [0, 0],
8210
- [-11.046, 0],
8211
- [0, 0],
8212
- [0, -11.046]
8213
- ],
8214
- v: [
8215
- [-20, -40],
8216
- [20, -40],
8217
- [40, -20],
8218
- [40, 20],
8219
- [20, 40],
8220
- [-20, 40],
8221
- [-40, 20],
8222
- [-40, -20]
8223
- ],
8224
- c: true
8225
- },
8226
- ix: 2
8227
- },
8228
- nm: "Path 1",
8229
- mn: "ADBE Vector Shape - Group",
8230
- hd: false
8231
- },
8232
- {
8233
- ty: "gr",
8234
- it: [
8235
- {
8236
- ty: "tr",
8237
- p: { a: 0, k: [0, 0], ix: 2 },
8238
- a: { a: 0, k: [0, 0], ix: 1 },
8239
- s: { a: 0, k: [100, 100], ix: 3 },
8240
- r: { a: 0, k: 0, ix: 6 },
8241
- o: { a: 0, k: 100, ix: 7 },
8242
- sk: { a: 0, k: 0, ix: 4 },
8243
- sa: { a: 0, k: 0, ix: 5 },
8244
- nm: "Transform"
8245
- }
8246
- ],
8247
- nm: "Group 1",
8248
- np: 0,
8249
- cix: 2,
8250
- bm: 0,
8251
- ix: 2,
8252
- mn: "ADBE Vector Group",
8253
- hd: false
8254
- },
8255
- { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8256
- {
8257
- ty: "fl",
8258
- c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8259
- o: { a: 0, k: 100, ix: 5 },
8260
- r: 1,
8261
- bm: 0,
8262
- nm: "Fill 1",
8263
- mn: "ADBE Vector Graphic - Fill",
8264
- hd: false
8265
- },
8266
- {
8267
- ty: "tr",
8268
- p: { a: 0, k: [40.25, 40.25], ix: 2 },
8269
- a: { a: 0, k: [0, 0], ix: 1 },
8270
- s: { a: 0, k: [100, 100], ix: 3 },
8271
- r: { a: 0, k: 0, ix: 6 },
8272
- o: { a: 0, k: 100, ix: 7 },
8273
- sk: { a: 0, k: 0, ix: 4 },
8274
- sa: { a: 0, k: 0, ix: 5 },
8275
- nm: "Transform"
8276
- }
8277
- ],
8278
- nm: "Group 1",
8279
- np: 4,
8280
- cix: 2,
8281
- bm: 0,
8282
- ix: 1,
8283
- mn: "ADBE Vector Group",
8284
- hd: false
8285
- }
8286
- ],
8287
- ip: 0,
8288
- op: 60,
8289
- st: -1,
8290
- bm: 0
8291
- },
8292
- {
8293
- ddd: 0,
8294
- ind: 3,
8295
- ty: 4,
8296
- nm: "Point 1",
8297
- sr: 1,
8298
- ks: {
8299
- o: {
8300
- a: 1,
8301
- k: [
8302
- { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 0, s: [100] },
8303
- { i: { x: [0.25], y: [1] }, o: { x: [0.5], y: [0] }, t: 20, s: [50] },
8304
- { t: 60, s: [100] }
8305
- ],
8306
- ix: 11
8307
- },
8308
- r: { a: 0, k: 0, ix: 10 },
8309
- p: { a: 0, k: [7.969, 24.031, 0], ix: 2, l: 2 },
8310
- a: { a: 0, k: [40.5, 40.375, 0], ix: 1, l: 2 },
8311
- s: {
8312
- a: 1,
8313
- k: [
8314
- {
8315
- i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
8316
- o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8317
- t: 0,
8318
- s: [10, 10, 100]
8319
- },
8320
- {
8321
- i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
8322
- o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8323
- t: 20,
8324
- s: [12.5, 12.5, 100]
8325
- },
8326
- { t: 60, s: [10, 10, 100] }
8327
- ],
8328
- ix: 6,
8329
- l: 2
8330
- }
8331
- },
8332
- ao: 0,
8333
- shapes: [
8334
- {
8335
- ty: "gr",
8336
- it: [
8337
- {
8338
- ind: 0,
8339
- ty: "sh",
8340
- ix: 1,
8341
- ks: {
8342
- a: 0,
8343
- k: {
8344
- i: [
8345
- [-11.046, 0],
8346
- [0, 0],
8347
- [0, -11.046],
8348
- [0, 0],
8349
- [11.046, 0],
8350
- [0, 0],
8351
- [0, 11.046],
8352
- [0, 0]
8353
- ],
8354
- o: [
8355
- [0, 0],
8356
- [11.046, 0],
8357
- [0, 0],
8358
- [0, 11.046],
8359
- [0, 0],
8360
- [-11.046, 0],
8361
- [0, 0],
8362
- [0, -11.046]
8363
- ],
8364
- v: [
8365
- [-20, -40],
8366
- [20, -40],
8367
- [40, -20],
8368
- [40, 20],
8369
- [20, 40],
8370
- [-20, 40],
8371
- [-40, 20],
8372
- [-40, -20]
8373
- ],
8374
- c: true
8375
- },
8376
- ix: 2
8377
- },
8378
- nm: "Path 1",
8379
- mn: "ADBE Vector Shape - Group",
8380
- hd: false
8381
- },
8382
- {
8383
- ty: "gr",
8384
- it: [
8385
- {
8386
- ty: "tr",
8387
- p: { a: 0, k: [0, 0], ix: 2 },
8388
- a: { a: 0, k: [0, 0], ix: 1 },
8389
- s: { a: 0, k: [100, 100], ix: 3 },
8390
- r: { a: 0, k: 0, ix: 6 },
8391
- o: { a: 0, k: 100, ix: 7 },
8392
- sk: { a: 0, k: 0, ix: 4 },
8393
- sa: { a: 0, k: 0, ix: 5 },
8394
- nm: "Transform"
8395
- }
8396
- ],
8397
- nm: "Group 1",
8398
- np: 0,
8399
- cix: 2,
8400
- bm: 0,
8401
- ix: 2,
8402
- mn: "ADBE Vector Group",
8403
- hd: false
8404
- },
8405
- { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8406
- {
8407
- ty: "fl",
8408
- c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8409
- o: { a: 0, k: 100, ix: 5 },
8410
- r: 1,
8411
- bm: 0,
8412
- nm: "Fill 1",
8413
- mn: "ADBE Vector Graphic - Fill",
8414
- hd: false
8415
- },
8416
- {
8417
- ty: "tr",
8418
- p: { a: 0, k: [40.25, 40.25], ix: 2 },
8419
- a: { a: 0, k: [0, 0], ix: 1 },
8420
- s: { a: 0, k: [100, 100], ix: 3 },
8421
- r: { a: 0, k: 0, ix: 6 },
8422
- o: { a: 0, k: 100, ix: 7 },
8423
- sk: { a: 0, k: 0, ix: 4 },
8424
- sa: { a: 0, k: 0, ix: 5 },
8425
- nm: "Transform"
8426
- }
8427
- ],
8428
- nm: "Group 1",
8429
- np: 4,
8430
- cix: 2,
8431
- bm: 0,
8432
- ix: 1,
8433
- mn: "ADBE Vector Group",
8434
- hd: false
8435
- }
8436
- ],
8437
- ip: 0,
8438
- op: 60,
8439
- st: 0,
8440
- bm: 0
8441
- }
8442
- ],
8443
- markers: []
8444
- };
8445
-
8446
- // src/components/Toast/index.tsx
8447
7971
  var import_jsx_runtime162 = require("react/jsx-runtime");
8448
7972
  var import_react4 = require("react");
8449
7973
  var Toaster = /* @__PURE__ */ __name(() => {
@@ -8471,13 +7995,6 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
8471
7995
  (0, import_react3.useEffect)(() => {
8472
7996
  if (isLoading && !toastSuccess.current) {
8473
7997
  if (lottieRef.current) {
8474
- import_lottie_web.default.loadAnimation({
8475
- container: lottieRef.current,
8476
- renderer: "svg",
8477
- loop: true,
8478
- autoplay: true,
8479
- animationData: loading_default
8480
- });
8481
7998
  }
8482
7999
  } else {
8483
8000
  toastSuccess.current = true;