@apps-in-toss/web-framework 1.13.0 → 1.14.1

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.
@@ -153186,10 +153186,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153186
153186
  "use strict";
153187
153187
 
153188
153188
  var _defineProperty = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/defineProperty");
153189
- var _classCallCheck = _$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck");
153190
- var _createClass = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass");
153191
- var _toConsumableArray = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/toConsumableArray");
153192
- var _objectWithoutProperties = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/objectWithoutProperties");
153189
+ var _toConsumableArray = _$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/toConsumableArray");
153190
+ var _objectWithoutProperties = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/objectWithoutProperties");
153191
+ var _classCallCheck = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/classCallCheck");
153192
+ var _createClass = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/createClass");
153193
153193
  var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/asyncToGenerator");
153194
153194
  var _slicedToArray = _$$_REQUIRE(_dependencyMap[6], "@babel/runtime/helpers/slicedToArray");
153195
153195
  var _objectDestructuringEmpty = _$$_REQUIRE(_dependencyMap[7], "@babel/runtime/helpers/objectDestructuringEmpty");
@@ -153262,9 +153262,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153262
153262
  env: function env() {
153263
153263
  return _env;
153264
153264
  },
153265
+ homeEvent: function homeEvent() {
153266
+ return _homeEvent;
153267
+ },
153265
153268
  loadFullScreenAd: function loadFullScreenAd() {
153266
153269
  return _loadFullScreenAd;
153267
153270
  },
153271
+ safeAreaInsetsChange: function safeAreaInsetsChange() {
153272
+ return _safeAreaInsetsChange;
153273
+ },
153268
153274
  showFullScreenAd: function showFullScreenAd() {
153269
153275
  return _showFullScreenAd;
153270
153276
  },
@@ -153980,6 +153986,71 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153980
153986
  };
153981
153987
  }(), [brandDisplayName, openConfirm]);
153982
153988
  }
153989
+ var EventEmitter = function () {
153990
+ function EventEmitter() {
153991
+ _classCallCheck(this, EventEmitter);
153992
+ this.listeners = {};
153993
+ }
153994
+ return _createClass(EventEmitter, [{
153995
+ key: "subscribe",
153996
+ value: function subscribe(event, listener) {
153997
+ var _this = this;
153998
+ if (!this.listeners[event]) {
153999
+ this.listeners[event] = [];
154000
+ }
154001
+ this.listeners[event].push(listener);
154002
+ return function () {
154003
+ var _this$listeners$event, _this$listeners$event2;
154004
+ _this.listeners[event] = (_this$listeners$event = (_this$listeners$event2 = _this.listeners[event]) == null ? void 0 : _this$listeners$event2.filter(function (l) {
154005
+ return l !== listener;
154006
+ })) != null ? _this$listeners$event : [];
154007
+ };
154008
+ }
154009
+ }, {
154010
+ key: "hasSubscriptions",
154011
+ value: function hasSubscriptions(event) {
154012
+ return this.listeners[event] != null && this.listeners[event].length > 0;
154013
+ }
154014
+ }, {
154015
+ key: "clearSubscriptions",
154016
+ value: function clearSubscriptions(event) {
154017
+ this.listeners[event] = [];
154018
+ }
154019
+ }, {
154020
+ key: "emit",
154021
+ value: function emit(event) {
154022
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
154023
+ args[_key - 1] = arguments[_key];
154024
+ }
154025
+ if (!this.listeners[event]) {
154026
+ return;
154027
+ }
154028
+ this.listeners[event].forEach(function (listener) {
154029
+ return listener.apply(void 0, args);
154030
+ });
154031
+ }
154032
+ }]);
154033
+ }();
154034
+ var eventEmitter = new EventEmitter();
154035
+ function createEvent(event) {
154036
+ return {
154037
+ name: event,
154038
+ subscribe: function subscribe(listener) {
154039
+ return eventEmitter.subscribe(event, listener);
154040
+ },
154041
+ hasSubscriptions: function hasSubscriptions() {
154042
+ return eventEmitter.hasSubscriptions(event);
154043
+ },
154044
+ clearSubscriptions: function clearSubscriptions() {
154045
+ return eventEmitter.clearSubscriptions(event);
154046
+ },
154047
+ emit: function emit(data) {
154048
+ return eventEmitter.emit(event, data);
154049
+ }
154050
+ };
154051
+ }
154052
+ var _homeEvent = createEvent("homeEvent");
154053
+ var _safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
153983
154054
  var import_native_modules7 = _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/native-modules");
153984
154055
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@granite-js/react-native");
153985
154056
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
@@ -154091,7 +154162,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154091
154162
  },
154092
154163
  handleHomeButtonClick: function handleHomeButtonClick() {
154093
154164
  logging.homeButtonClick();
154094
- navigation.navigate("/");
154165
+ if (_homeEvent.hasSubscriptions()) {
154166
+ _homeEvent.emit({});
154167
+ } else {
154168
+ navigation.navigate("/");
154169
+ }
154095
154170
  },
154096
154171
  handleCloseButtonClick: function handleCloseButtonClick() {
154097
154172
  logging.closeButtonClick();
@@ -155409,58 +155484,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155409
155484
  }
155410
155485
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[17], "@granite-js/native/react-native-safe-area-context");
155411
155486
  var import_react23 = _$$_REQUIRE(_dependencyMap[13], "react");
155412
- var EventEmitter = function () {
155413
- function EventEmitter() {
155414
- _classCallCheck(this, EventEmitter);
155415
- this.listeners = {};
155416
- }
155417
- return _createClass(EventEmitter, [{
155418
- key: "on",
155419
- value: function on(event, listener) {
155420
- if (!this.listeners[event]) {
155421
- this.listeners[event] = [];
155422
- }
155423
- this.listeners[event].push(listener);
155424
- }
155425
- }, {
155426
- key: "emit",
155427
- value: function emit(event) {
155428
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
155429
- args[_key - 1] = arguments[_key];
155430
- }
155431
- if (!this.listeners[event]) {
155432
- return;
155433
- }
155434
- this.listeners[event].forEach(function (listener) {
155435
- return listener.apply(void 0, args);
155436
- });
155437
- }
155438
- }, {
155439
- key: "off",
155440
- value: function off(event, listener) {
155441
- if (!this.listeners[event]) {
155442
- return;
155443
- }
155444
- this.listeners[event] = this.listeners[event].filter(function (l) {
155445
- return l !== listener;
155446
- });
155447
- }
155448
- }]);
155449
- }();
155450
- function useSafeAreaInsetsEmitter() {
155487
+ function useSafeAreaInsetsEvent() {
155451
155488
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
155452
- var emitter = (0, import_react23.useMemo)(function () {
155453
- return new EventEmitter();
155454
- }, []);
155455
155489
  (0, import_react23.useEffect)(function () {
155456
- emitter.emit("safeAreaInsetsChange", insets);
155490
+ _safeAreaInsetsChange.emit(insets);
155491
+ }, [insets]);
155492
+ (0, import_react23.useEffect)(function () {
155457
155493
  return function () {
155458
- emitter.off("safeAreaInsetsChange", function (listener) {
155459
- return listener(insets);
155460
- });
155494
+ return _safeAreaInsetsChange.clearSubscriptions();
155461
155495
  };
155462
- }, [emitter, insets]);
155463
- return emitter;
155496
+ }, []);
155497
+ return _safeAreaInsetsChange;
155464
155498
  }
155465
155499
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[10], "@granite-js/react-native");
155466
155500
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[11], "@toss/tds-react-native");
@@ -155591,10 +155625,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155591
155625
  var handleWebHome = (0, import_react25.useCallback)(function () {
155592
155626
  var _webViewRef$current2;
155593
155627
  logging.homeButtonClick();
155594
- if (hasWebBackEvent) {
155595
- for (var handler of webBackHandlersRef) {
155596
- handler();
155597
- }
155628
+ if (_homeEvent.hasSubscriptions()) {
155629
+ _homeEvent.emit({});
155598
155630
  return;
155599
155631
  }
155600
155632
  (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(`
@@ -155970,7 +156002,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155970
156002
  var insets = (0, import_react_native_safe_area_context4.useSafeAreaInsets)();
155971
156003
  var global2 = getAppsInTossGlobals();
155972
156004
  var navigationBarContext = useNavigationBarContext();
155973
- var safeAreaInsetsEmitter = useSafeAreaInsetsEmitter();
156005
+ var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
155974
156006
  var _ref82 = (0, import_react28.useState)(props.allowsBackForwardNavigationGestures),
155975
156007
  _ref83 = _slicedToArray(_ref82, 2),
155976
156008
  allowsBackForwardNavigationGestures = _ref83[0],
@@ -155993,27 +156025,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155993
156025
  webBackHandler.removeEventListener(onEvent);
155994
156026
  };
155995
156027
  },
155996
- updateLocationEvent: function updateLocationEvent(_ref86) {
155997
- var onEvent = _ref86.onEvent,
155998
- onError = _ref86.onError,
155999
- options = _ref86.options;
156028
+ homeEvent: function homeEvent(_ref86) {
156029
+ var onEvent = _ref86.onEvent;
156030
+ return _homeEvent.subscribe(onEvent);
156031
+ },
156032
+ updateLocationEvent: function updateLocationEvent(_ref87) {
156033
+ var onEvent = _ref87.onEvent,
156034
+ onError = _ref87.onError,
156035
+ options = _ref87.options;
156000
156036
  return import_native_modules24.appsInTossEvent.addEventListener("updateLocationEvent", {
156001
156037
  onEvent: onEvent,
156002
156038
  onError: onError,
156003
156039
  options: options
156004
156040
  });
156005
156041
  },
156006
- safeAreaInsetsChange: function safeAreaInsetsChange(_ref87) {
156007
- var onEvent = _ref87.onEvent;
156008
- safeAreaInsetsEmitter.on("safeAreaInsetsChange", onEvent);
156009
- return function () {
156010
- safeAreaInsetsEmitter.off("safeAreaInsetsChange", onEvent);
156011
- };
156042
+ safeAreaInsetsChange: function safeAreaInsetsChange(_ref88) {
156043
+ var onEvent = _ref88.onEvent;
156044
+ return safeAreaInsetsEvent.subscribe(onEvent);
156012
156045
  },
156013
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref88) {
156014
- var onEvent = _ref88.onEvent,
156015
- onError = _ref88.onError,
156016
- options = _ref88.options;
156046
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref89) {
156047
+ var onEvent = _ref89.onEvent,
156048
+ onError = _ref89.onError,
156049
+ options = _ref89.options;
156017
156050
  return import_native_modules24.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
156018
156051
  onEvent: onEvent,
156019
156052
  onError: onError,
@@ -156038,10 +156071,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156038
156071
  right: insets.right
156039
156072
  };
156040
156073
  }
156041
- }, Object.fromEntries(Object.entries(global2).map(function (_ref89) {
156042
- var _ref90 = _slicedToArray(_ref89, 2),
156043
- key = _ref90[0],
156044
- value = _ref90[1];
156074
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref90) {
156075
+ var _ref91 = _slicedToArray(_ref90, 2),
156076
+ key = _ref91[0],
156077
+ value = _ref91[1];
156045
156078
  return [key, function () {
156046
156079
  return value;
156047
156080
  }];
@@ -156417,9 +156450,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156417
156450
  };
156418
156451
  }
156419
156452
  if (response.resultType !== "SUCCESS") {
156420
- var _ref98, _response$error$reaso, _response$error, _mappedError$code;
156453
+ var _ref99, _response$error$reaso, _response$error, _mappedError$code;
156421
156454
  var mappedError = API_RESULT_ERROR_MAP[response.resultType];
156422
- var errorMessage = (_ref98 = (_response$error$reaso = (_response$error = response.error) == null ? void 0 : _response$error.reason) != null ? _response$error$reaso : mappedError == null ? void 0 : mappedError.message) != null ? _ref98 : ERROR_MESSAGES[ERROR_CODES.INTERNAL_ERROR];
156455
+ var errorMessage = (_ref99 = (_response$error$reaso = (_response$error = response.error) == null ? void 0 : _response$error.reason) != null ? _response$error$reaso : mappedError == null ? void 0 : mappedError.message) != null ? _ref99 : ERROR_MESSAGES[ERROR_CODES.INTERNAL_ERROR];
156423
156456
  var errorCode = (_mappedError$code = mappedError == null ? void 0 : mappedError.code) != null ? _mappedError$code : ERROR_CODES.INTERNAL_ERROR;
156424
156457
  return {
156425
156458
  type: "error",
@@ -156551,7 +156584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156551
156584
  key: "track",
156552
156585
  value: function () {
156553
156586
  var _track = _asyncToGenerator(function* (eventType) {
156554
- var _this = this;
156587
+ var _this2 = this;
156555
156588
  if (!this.eventTypes.has(eventType)) {
156556
156589
  return;
156557
156590
  }
@@ -156570,7 +156603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156570
156603
  data: this.eventPayload
156571
156604
  };
156572
156605
  yield Promise.allSettled(this.eventTrackingUrls.map(function (url) {
156573
- return _this.sendTrackingRequest(url, payload);
156606
+ return _this2.sendTrackingRequest(url, payload);
156574
156607
  }));
156575
156608
  if (!this.repeatableEvents.has(eventType) && this.requestId && this.creativeId) {
156576
156609
  globalEventDeduplicator.markTracked(this.requestId, this.creativeId, eventType);
@@ -156610,20 +156643,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156610
156643
  var import_react_native42 = _$$_REQUIRE(_dependencyMap[12], "react-native");
156611
156644
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[14], "react/jsx-runtime");
156612
156645
  var ARROW_PATH = "m7.5 20.4c-.5-.5-.5-1.2 0-1.7l6.7-6.7-6.8-6.7c-.5-.5-.5-1.2 0-1.7s1.2-.5 1.7 0l7.5 7.5c.5.5.5 1.2 0 1.7l-7.5 7.5c-.2.3-.5.4-.8.4s-.6-.1-.8-.3z";
156613
- function FeedBannerAdView(_ref91) {
156614
- var brandName = _ref91.brandName,
156615
- brandLogoUri = _ref91.brandLogoUri,
156616
- title = _ref91.title,
156617
- subtitle = _ref91.subtitle,
156618
- mainImageUri = _ref91.mainImageUri,
156619
- ctaText = _ref91.ctaText,
156620
- ctaTextColor = _ref91.ctaTextColor,
156621
- ctaBackgroundColor = _ref91.ctaBackgroundColor,
156622
- adClearanceText = _ref91.adClearanceText,
156623
- colors = _ref91.colors,
156624
- isAdBadgeEnabled = _ref91.isAdBadgeEnabled,
156625
- paddingStyle = _ref91.paddingStyle,
156626
- _onPress2 = _ref91.onPress;
156646
+ function FeedBannerAdView(_ref92) {
156647
+ var brandName = _ref92.brandName,
156648
+ brandLogoUri = _ref92.brandLogoUri,
156649
+ title = _ref92.title,
156650
+ subtitle = _ref92.subtitle,
156651
+ mainImageUri = _ref92.mainImageUri,
156652
+ ctaText = _ref92.ctaText,
156653
+ ctaTextColor = _ref92.ctaTextColor,
156654
+ ctaBackgroundColor = _ref92.ctaBackgroundColor,
156655
+ adClearanceText = _ref92.adClearanceText,
156656
+ colors = _ref92.colors,
156657
+ isAdBadgeEnabled = _ref92.isAdBadgeEnabled,
156658
+ paddingStyle = _ref92.paddingStyle,
156659
+ _onPress2 = _ref92.onPress;
156627
156660
  var scale = (0, import_react29.useRef)(new import_react_native42.Animated.Value(1)).current;
156628
156661
  var animateScale = function animateScale(toValue) {
156629
156662
  import_react_native42.Animated.timing(scale, {
@@ -156911,15 +156944,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156911
156944
  var import_react_native43 = _$$_REQUIRE(_dependencyMap[12], "react-native");
156912
156945
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[14], "react/jsx-runtime");
156913
156946
  var SQUIRCLE_PATH = "M0 17.352C0 3.564 3.564 0 17.352 0H18.648C32.436 0 36 3.564 36 17.352V18.648C36 32.436 32.436 36 18.648 36H17.352C3.564 36 0 32.436 0 18.648V17.352Z";
156914
- function ListBannerAdView(_ref92) {
156915
- var title = _ref92.title,
156916
- subtitle = _ref92.subtitle,
156917
- adClearanceText = _ref92.adClearanceText,
156918
- adClearanceFontSize = _ref92.adClearanceFontSize,
156919
- imageUri = _ref92.imageUri,
156920
- paddingStyle = _ref92.paddingStyle,
156921
- colors = _ref92.colors,
156922
- _onPress3 = _ref92.onPress;
156947
+ function ListBannerAdView(_ref93) {
156948
+ var title = _ref93.title,
156949
+ subtitle = _ref93.subtitle,
156950
+ adClearanceText = _ref93.adClearanceText,
156951
+ adClearanceFontSize = _ref93.adClearanceFontSize,
156952
+ imageUri = _ref93.imageUri,
156953
+ paddingStyle = _ref93.paddingStyle,
156954
+ colors = _ref93.colors,
156955
+ _onPress3 = _ref93.onPress;
156923
156956
  var scale = (0, import_react30.useRef)(new import_react_native43.Animated.Value(1)).current;
156924
156957
  var clipIdRef = (0, import_react30.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
156925
156958
  var animateScale = function animateScale(toValue) {
@@ -157231,7 +157264,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157231
157264
  return false;
157232
157265
  }
157233
157266
  function _InlineAd(props) {
157234
- var _ad$requestId3, _ad$creative$id2, _ad$creative2, _listCreative$subTitl, _ref97, _listCreative$adClear;
157267
+ var _ad$requestId3, _ad$creative$id2, _ad$creative2, _listCreative$subTitl, _ref98, _listCreative$adClear;
157235
157268
  var adGroupId = props.adGroupId,
157236
157269
  theme = props.theme,
157237
157270
  tone = props.tone,
@@ -157244,14 +157277,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157244
157277
  onAdFailedToRender = props.onAdFailedToRender,
157245
157278
  onNoFill = props.onNoFill;
157246
157279
  var slotIdRef = (0, import_react31.useRef)(createSlotId());
157247
- var _ref93 = (0, import_react31.useState)(null),
157248
- _ref94 = _slicedToArray(_ref93, 2),
157249
- ad = _ref94[0],
157250
- setAd = _ref94[1];
157251
- var _ref95 = (0, import_react31.useState)(true),
157252
- _ref96 = _slicedToArray(_ref95, 2),
157253
- isAdBadgeEnabled = _ref96[0],
157254
- setIsAdBadgeEnabled = _ref96[1];
157280
+ var _ref94 = (0, import_react31.useState)(null),
157281
+ _ref95 = _slicedToArray(_ref94, 2),
157282
+ ad = _ref95[0],
157283
+ setAd = _ref95[1];
157284
+ var _ref96 = (0, import_react31.useState)(true),
157285
+ _ref97 = _slicedToArray(_ref96, 2),
157286
+ isAdBadgeEnabled = _ref97[0],
157287
+ setIsAdBadgeEnabled = _ref97[1];
157255
157288
  var eventTrackerRef = (0, import_react31.useRef)(null);
157256
157289
  var eventPayloadRef = (0, import_react31.useRef)(null);
157257
157290
  var hasRenderedRef = (0, import_react31.useRef)(false);
@@ -157391,7 +157424,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157391
157424
  var listCreative = isListBanner ? ad.creative : null;
157392
157425
  var feedCreative = isFeedBanner ? ad.creative : null;
157393
157426
  var subtitleText = listCreative && isAdBadgeEnabled ? `${listCreative.subTitle} \u2022 AD` : (_listCreative$subTitl = listCreative == null ? void 0 : listCreative.subTitle) != null ? _listCreative$subTitl : "";
157394
- var adClearanceText = (_ref97 = (_listCreative$adClear = listCreative == null ? void 0 : listCreative.adClearanceText) != null ? _listCreative$adClear : feedCreative == null ? void 0 : feedCreative.adClearanceText) != null ? _ref97 : void 0;
157427
+ var adClearanceText = (_ref98 = (_listCreative$adClear = listCreative == null ? void 0 : listCreative.adClearanceText) != null ? _listCreative$adClear : feedCreative == null ? void 0 : feedCreative.adClearanceText) != null ? _ref98 : void 0;
157395
157428
  var adClearanceFontSize = adClearanceText && adClearanceText.length >= 60 ? 6 : 8;
157396
157429
  var imageUri = listCreative != null && listCreative.imageUrl && isSafeUrl(listCreative.imageUrl) ? listCreative.imageUrl : null;
157397
157430
  var brandLogoUri = feedCreative != null && feedCreative.brandLogoUrl && isSafeUrl(feedCreative.brandLogoUrl) ? feedCreative.brandLogoUrl : null;
@@ -157538,7 +157571,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157538
157571
  OverlayProvider: OverlayProvider,
157539
157572
  WebView: _WebView,
157540
157573
  env: _env,
157574
+ homeEvent: _homeEvent,
157541
157575
  loadFullScreenAd: _loadFullScreenAd,
157576
+ safeAreaInsetsChange: _safeAreaInsetsChange,
157542
157577
  showFullScreenAd: _showFullScreenAd,
157543
157578
  useCreateUserAgent: _useCreateUserAgent,
157544
157579
  useGeolocation: _useGeolocation,
@@ -157546,7 +157581,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157546
157581
  useTopNavigation: _useTopNavigation,
157547
157582
  useWaitForReturnNavigator: _useWaitForReturnNavigator
157548
157583
  }, _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[23], "@apps-in-toss/types")));
157549
- },1256,[93,24,25,32,207,16,61,1257,1258,1259,2,1446,18,6,9,2467,2567,532,2568,2606,2613,2629,2476,1260,642],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
157584
+ },1256,[93,32,207,24,25,16,61,1257,1258,1259,2,1446,18,6,9,2467,2567,532,2568,2606,2613,2629,2476,1260,642],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
157550
157585
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
157551
157586
  function _objectDestructuringEmpty(obj) {
157552
157587
  if (obj == null) throw new TypeError("Cannot destructure undefined");