Closed powerivq closed 4 years ago
Here is my run
Type checking failed:
extensions/amp-analytics/0.1/config.js:101: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
if (!true) {
^
extensions/amp-analytics/0.1/vendors.js:276: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
if (!true) {
^
ads/inabox/inabox-messaging-host.js:84: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable canInspectWindow$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
const hostWin = canInspectWindow(win.top) ? win.top : win;
^^^^^^^^^^^^^^^^
ads/inabox/inabox-messaging-host.js:338: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable canInspectWindow$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
j < 10 && tempWin != tempWin.top && !canInspectWindow(tempWin);
^^^^^^^^^^^^^^^^
extensions/amp-a4a/0.1/a4a-variable-source.js:128: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getNavigationData$$module$src$service$variable_source not allowed outside file src/service/variable-source.js.
return getNavigationData(this.win_, 'type');
^^^^^^^^^^^^^^^^^
extensions/amp-a4a/0.1/a4a-variable-source.js:132: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getNavigationData$$module$src$service$variable_source not allowed outside file src/service/variable-source.js.
return getNavigationData(this.win_, 'redirectCount');
^^^^^^^^^^^^^^^^^
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1499: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable metaJsonCreativeGrouper$$module$ads$google$a4a$line_delimited_response_handler not allowed outside file ads/google/a4a/line-delimited-response-handler.js.
const slotCallback = metaJsonCreativeGrouper(
^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1511: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable lineDelimitedStreamer$$module$ads$google$a4a$line_delimited_response_handler not allowed outside file ads/google/a4a/line-delimited-response-handler.js.
lineDelimitedStreamer(this.win, response, slotCallback);
^^^^^^^^^^^^^^^^^^^^^
extensions/amp-analytics/0.1/amp-analytics.js:796: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable InstrumentationService$$module$extensions$amp_analytics$0_1$instrumentation not allowed outside file extensions/amp-analytics/0.1/instrumentation.js.
InstrumentationService);
^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-analytics/0.1/visibility-manager.js:472: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property schedulePassVsync of ResourcesInterface not allowed here.
this.resources_.schedulePassVsync();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-autocomplete/0.1/amp-autocomplete.js:343: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable AutocompleteBindingInline$$module$extensions$amp_autocomplete$0_1$autocomplete_binding_inline not allowed outside file extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js.
new AutocompleteBindingInline(this) :
^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-autocomplete/0.1/amp-autocomplete.js:344: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable AutocompleteBindingSingle$$module$extensions$amp_autocomplete$0_1$autocomplete_binding_single not allowed outside file extensions/amp-autocomplete/0.1/autocomplete-binding-single.js.
new AutocompleteBindingSingle(this);
^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-base-carousel/0.1/child-layout-manager.js:413: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
this.owners_.setOwner(this.children_[i], this.ampElement_.element);
^^^^^^^^^^^^^^^^^^^^^
extensions/amp-carousel/0.1/scrollable-carousel.js:67: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(cell, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-carousel/0.1/slidescroll.js:193: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(slide, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-consent/0.1/amp-consent.js:181: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(child, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-fx-collection/0.1/amp-fx-collection.js:101: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable FxBindings$$module$extensions$amp_fx_collection$0_1$fx_type not allowed outside file extensions/amp-fx-collection/0.1/fx-type.js.
const _devAssert = devAssert(FxBindings[type]),observes = _devAssert.observes,_foo = void 0;
^^^^^^^^^^
extensions/amp-fx-flying-carpet/0.1/amp-fx-flying-carpet.js:85: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
this.children_.forEach(child => owners.setOwner(child, this.element));
^^^^^^^^^^^^^^^
extensions/amp-image-slider/0.1/amp-image-slider.js:149: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
owners.setOwner(dev().assertElement(this.leftAmpImage_), this.element);
^^^^^^^^^^^^^^^
extensions/amp-image-slider/0.1/amp-image-slider.js:150: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
owners.setOwner(dev().assertElement(this.rightAmpImage_), this.element);
^^^^^^^^^^^^^^^
extensions/amp-image-viewer/0.1/amp-image-viewer.js:145: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:1352: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable secondsToTimestampString$$module$extensions$amp_lightbox_gallery$0_1$utils not allowed outside file extensions/amp-lightbox-gallery/0.1/utils.js.
const timestamp = secondsToTimestampString(ts);
^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:1442: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable secondsToTimestampString$$module$extensions$amp_lightbox_gallery$0_1$utils not allowed outside file extensions/amp-lightbox-gallery/0.1/utils.js.
const timestamp = secondsToTimestampString(ts);
^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-lightbox/0.1/amp-lightbox.js:195: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(child, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-redbull-player/0.1/amp-redbull-player.js:117: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable disableScrollingOnIframe$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
this.iframe_ = disableScrollingOnIframe(
^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-script/0.1/amp-script.js:558: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable rewriteAttributeValue$$module$src$url_rewrite not allowed outside file src/url-rewrite.js.
const newValue = rewriteAttributeValue(tag, attr, value);
^^^^^^^^^^^^^^^^^^^^^
extensions/amp-sticky-ad/1.0/amp-sticky-ad.js:67: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(this.ad_, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:206: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_ID));
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:256: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!!this.storeService_.get(StateProperty.CAN_INSERT_AUTOMATIC_AD) &&
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:271: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.PAGE_IDS).length - pageIndex >
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:281: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.AD_STATE, isAd => {
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:286: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:294: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:301: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.CURRENT_PAGE_ID, pageId => {
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:303: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX);
^^^^^^^^^^^^^
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:661: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
return !!this.storeService_.get(StateProperty.DESKTOP_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:324: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
const consentId = this.storeService_.get(StateProperty.CONSENT_ID);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:369: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:374: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.CAN_SHOW_SHARING_UIS,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:382: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.DESKTOP_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:396: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
return !!this.storeService_.get(StateProperty.BOOKEND_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:488: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable SHARE_PROVIDERS_KEY$$module$extensions$amp_story$0_1$amp_story_share not allowed outside file extensions/amp-story/0.1/amp-story-share.js.
response[SHARE_PROVIDERS_KEY] ||
^^^^^^^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:489: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable DEPRECATED_SHARE_PROVIDERS_KEY$$module$extensions$amp_story$0_1$amp_story_share not allowed outside file extensions/amp-story/0.1/amp-story-share.js.
response[DEPRECATED_SHARE_PROVIDERS_KEY]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-bookend.js:542: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/0.1/amp-story-consent.js:210: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_CONSENT_ID, consentId);
^^^^^^
extensions/amp-story/0.1/amp-story-hint.js:193: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.DESKTOP_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-hint.js:223: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.SHARE_MENU_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-info-dialog.js:135: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.INFO_DIALOG_STATE, isOpen => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-info-dialog.js:173: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INFO_DIALOG, false);
^^^^^^
extensions/amp-story/0.1/amp-story-share-menu.js:179: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.SHARE_MENU_STATE, isOpen => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-share-menu.js:234: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SHARE_MENU, false);
^^^^^^
extensions/amp-story/0.1/amp-story-store-service.js:292: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable parseEmbedMode$$module$extensions$amp_story$0_1$embed_mode not allowed outside file extensions/amp-story/0.1/embed-mode.js.
const embedMode = parseEmbedMode(this.win_.location.hash);
^^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:169: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.CAN_SHOW_SYSTEM_LAYER_BUTTONS)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:221: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:226: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.CAN_SHOW_SHARING_UIS,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:234: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.DESKTOP_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:242: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.HAS_AUDIO_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:250: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:258: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:359: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_MUTED, true);
^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:367: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_MUTED, false);
^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:375: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
const isOpen = this.storeService_.get(StateProperty.SHARE_MENU_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:376: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SHARE_MENU, !isOpen);
^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:384: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
const isOpen = this.storeService_.get(StateProperty.INFO_DIALOG_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-system-layer.js:385: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INFO_DIALOG, !isOpen);
^^^^^^
extensions/amp-story/0.1/amp-story-viewport-warning-layer.js:143: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
!!this.storeService_.get(StateProperty.DESKTOP_STATE));
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-viewport-warning-layer.js:164: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.DESKTOP_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-viewport-warning-layer.js:172: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.LANDSCAPE_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story-viewport-warning-layer.js:186: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
const isDesktop = this.storeService_.get(StateProperty.DESKTOP_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:328: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_DESKTOP, true);
^^^^^^
extensions/amp-story/0.1/amp-story.js:369: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:378: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:388: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.SUPPORTED_BROWSER_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:395: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:424: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.CAN_SHOW_PREVIOUS_PAGE_HELP)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:434: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:439: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
StateProperty.DESKTOP_STATE,
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:454: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.CURRENT_PAGE_ID, pageId => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:476: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:483: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
!this.storeService_.get(StateProperty.CAN_SHOW_NAVIGATION_OVERLAY_HINT))
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:608: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SUPPORTED_BROWSER, false);
^^^^^^
extensions/amp-story/0.1/amp-story.js:635: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.DESKTOP_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:906: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.CHANGE_PAGE, {
^^^^^^
extensions/amp-story/0.1/amp-story.js:1024: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:1085: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_DESKTOP, isDesktop);
^^^^^^
extensions/amp-story/0.1/amp-story.js:1088: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_LANDSCAPE, false);
^^^^^^
extensions/amp-story/0.1/amp-story.js:1101: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
Action.TOGGLE_LANDSCAPE,
^^^^^^
extensions/amp-story/0.1/amp-story.js:1238: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, true);
^^^^^^
extensions/amp-story/0.1/amp-story.js:1247: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/0.1/amp-story.js:1442: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.CAN_SHOW_BOOKEND)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:1615: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
const isMuted = this.storeService_.get(StateProperty.MUTED_STATE);
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:1634: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
Action.TOGGLE_HAS_AUDIO,
^^^^^^
extensions/amp-story/0.1/amp-story.js:1641: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/0.1/amp-story.js:1679: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
!this.storeService_.get(StateProperty.CAN_INSERT_AUTOMATIC_AD))
^^^^^^^^^^^^^
extensions/amp-story/0.1/development-ui.js:132: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.ERROR:
^^^^^^^^
extensions/amp-story/0.1/development-ui.js:134: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.WARN:
^^^^^^^^
extensions/amp-story/0.1/development-ui.js:239: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.WARN:
^^^^^^^^
extensions/amp-story/0.1/development-ui.js:241: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.ERROR:
^^^^^^^^
extensions/amp-story/0.1/logging.js:96: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.ERROR },
^^^^^^^^
extensions/amp-story/0.1/logging.js:107: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/0.1/logging.js:114: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/0.1/logging.js:121: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/0.1/logging.js:128: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/0.1/logging.js:138: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/0.1/logging.js:151: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN } };
^^^^^^^^
extensions/amp-story/0.1/navigation-state.js:62: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/0.1/pagination-buttons.js:31: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
action: Action.TOGGLE_BOOKEND,
^^^^^^
extensions/amp-story/0.1/pagination-buttons.js:53: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$0_1$amp_story_store_service not allowed outside file extensions/amp-story/0.1/amp-story-store-service.js.
action: Action.TOGGLE_BOOKEND,
^^^^^^
extensions/amp-story/1.0/amp-story-access.js:132: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.ACCESS_STATE, isAccess => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-access.js:137: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-access.js:187: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_ACCESS, false);
^^^^^^
extensions/amp-story/1.0/amp-story-access.js:317: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_TO_ACTIONS_WHITELIST, actions);
^^^^^^
extensions/amp-story/1.0/amp-story-affiliate-link.js:97: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.AFFILIATE_LINK_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-consent.js:241: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_TO_ACTIONS_WHITELIST, actions);
^^^^^^
extensions/amp-story/1.0/amp-story-consent.js:265: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-consent.js:380: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_CONSENT_ID, consentId);
^^^^^^
extensions/amp-story/1.0/amp-story-consent.js:394: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_CONSENT_ID, consentId);
^^^^^^
extensions/amp-story/1.0/amp-story-draggable-drawer.js:160: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property setOwner of OwnersInterface not allowed here.
Services.ownersForDoc(this.element).setOwner(el, this.element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-draggable-drawer.js:171: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-draggable-drawer.js:445: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, true);
^^^^^^
extensions/amp-story/1.0/amp-story-draggable-drawer.js:487: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, false);
^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:494: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:722: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INTERACTIVE_COMPONENT, {
^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:792: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:799: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.CURRENT_PAGE_ID, () => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:904: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INTERACTIVE_COMPONENT, {
^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:1178: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.RTL_STATE) ?
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:1190: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const pageIndex = this.storeService_.get(StateProperty.CURRENT_PAGE_INDEX);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:1191: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const pageCount = this.storeService_.get(StateProperty.PAGE_IDS).length;
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:1380: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const rtlState = this.storeService_.get(StateProperty.RTL_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-embedded-component.js:1408: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:180: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:188: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.SYSTEM_UI_IS_VISIBLE_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:194: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isOpen => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:199: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:226: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.UI_STATE) !== UIType.MOBILE) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-hint.js:256: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.SHARE_MENU_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-info-dialog.js:147: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.INFO_DIALOG_STATE, isOpen => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-info-dialog.js:167: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable ANALYTICS_TAG_NAME$$module$extensions$amp_story$1_0$story_analytics not allowed outside file extensions/amp-story/1.0/story-analytics.js.
this.element_[ANALYTICS_TAG_NAME] = 'amp-story-info-dialog';
^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-info-dialog.js:191: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INFO_DIALOG, false);
^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:59: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.appendChild(
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:65: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.appendChild(
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:71: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.querySelector(
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:78: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.classList.add(DARK_THEME_CLASS);
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:92: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property containerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
toggle(dev().assertElement(this.containerEl_), false);
^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:102: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:138: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SYSTEM_UI_IS_VISIBLE, false);
^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:146: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_ID) };
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:150: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property closeInternal_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.historyService_.push(() => this.closeInternal_(), historyState);
^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:173: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property closeInternal_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.closeInternal_();
^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:181: ERROR - [JSC_PRIVATE_OVERRIDE] Overriding private property of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer.prototype.
closeInternal_() {
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:182: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property closeInternal_ of DraggableDrawer not allowed here.
super.closeInternal_();
^^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page-attachment.js:184: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SYSTEM_UI_IS_VISIBLE, true);
^^^^^^
extensions/amp-story/1.0/amp-story-page.js:111: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable EXPANDABLE_COMPONENTS$$module$extensions$amp_story$1_0$amp_story_embedded_component not allowed outside file extensions/amp-story/1.0/amp-story-embedded-component.js.
const EMBEDDED_COMPONENTS_SELECTORS = Object.keys(EXPANDABLE_COMPONENTS).join(
^^^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page.js:344: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page.js:422: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const canResume = !this.storeService_.get(StateProperty.BOOKEND_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page.js:449: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) === UIType.DESKTOP_PANELS)
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page.js:1139: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.NAVIGATION_PATH);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-page.js:1278: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAGE_HAS_AUDIO, pageHasAudio);
^^^^^^
extensions/amp-story/1.0/amp-story-page.js:1424: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.MUTED_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-quiz.js:233: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-quiz.js:288: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable ANALYTICS_TAG_NAME$$module$extensions$amp_story$1_0$story_analytics not allowed outside file extensions/amp-story/1.0/story-analytics.js.
this.element[ANALYTICS_TAG_NAME] = 'amp-story-quiz';
^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-share-menu.js:185: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-share-menu.js:192: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.SHARE_MENU_STATE, isOpen => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-share-menu.js:235: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable ANALYTICS_TAG_NAME$$module$extensions$amp_story$1_0$story_analytics not allowed outside file extensions/amp-story/1.0/story-analytics.js.
this.element_[ANALYTICS_TAG_NAME] = 'amp-story-share-menu';
^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-share-menu.js:277: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SHARE_MENU, false);
^^^^^^
extensions/amp-story/1.0/amp-story-store-service.js:537: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable parseEmbedMode$$module$extensions$amp_story$1_0$embed_mode not allowed outside file extensions/amp-story/1.0/embed-mode.js.
const embedMode = parseEmbedMode(this.win_.location.hash);
^^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:303: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CAN_SHOW_SYSTEM_LAYER_BUTTONS,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:368: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.AD_STATE, isAd => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:372: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:377: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CAN_SHOW_SHARING_UIS,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:385: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.STORY_HAS_AUDIO_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:393: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:401: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:409: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:417: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:425: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.PAGE_HAS_AUDIO_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:433: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.HAS_SIDEBAR_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:441: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.SYSTEM_UI_IS_VISIBLE_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:447: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.NEW_PAGE_AVAILABLE_ID, () => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:544: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!!this.storeService_.get(StateProperty.STORY_HAS_BACKGROUND_AUDIO_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:643: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.PAGE_IDS).length - 1;
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:674: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_MUTED, mute);
^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:688: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const isOpen = this.storeService_.get(StateProperty.SHARE_MENU_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:689: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SHARE_MENU, !isOpen);
^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:697: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const isOpen = this.storeService_.get(StateProperty.INFO_DIALOG_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:698: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INFO_DIALOG, !isOpen);
^^^^^^
extensions/amp-story/1.0/amp-story-system-layer.js:706: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SIDEBAR, true);
^^^^^^
extensions/amp-story/1.0/amp-story-unsupported-browser-layer.js:105: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SUPPORTED_BROWSER, true);
^^^^^^
extensions/amp-story/1.0/amp-story-viewport-warning-layer.js:130: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE)));
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-viewport-warning-layer.js:151: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-viewport-warning-layer.js:159: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.VIEWPORT_WARNING_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story-viewport-warning-layer.js:174: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) === UIType.MOBILE;
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:247: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_RTL, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:421: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_UI, this.getUIType_());
^^^^^^
extensions/amp-story/1.0/amp-story.js:425: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_CAN_SHOW_BOOKEND, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:448: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story.js:452: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const promise = this.storeService_.get(StateProperty.SIDEBAR_STATE) ?
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:469: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.PAUSED_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:471: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:481: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.TOGGLE_PAUSED,
^^^^^^
extensions/amp-story/1.0/amp-story.js:561: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_PAGE_IDS, pageIds);
^^^^^^
extensions/amp-story/1.0/amp-story.js:664: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:676: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.MUTED_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:690: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.SUPPORTED_BROWSER_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:696: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.ADVANCEMENT_MODE, mode => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:704: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:757: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.ACTIONS_WHITELIST,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:765: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.AD_STATE, isAd => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:769: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:773: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.CURRENT_PAGE_ID, pageId => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:777: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.PAUSED_STATE, isPaused => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:781: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.SIDEBAR_STATE, sidebarState => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:786: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:802: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const uiState = this.storeService_.get(StateProperty.UI_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:854: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE));
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:858: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.BOOKEND_STATE) ||
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:860: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.ACCESS_STATE) ||
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:861: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.SIDEBAR_STATE) ||
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:862: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!this.storeService_.get(StateProperty.SYSTEM_UI_IS_VISIBLE_STATE) ||
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:863: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!this.storeService_.get(StateProperty.CAN_SHOW_NAVIGATION_OVERLAY_HINT))
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:963: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SUPPORTED_BROWSER, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1071: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_TO_ACTIONS_WHITELIST, [
^^^^^^
extensions/amp-story/1.0/amp-story.js:1080: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) ===
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1138: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) === UIType.DESKTOP_PANELS ?
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1194: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1197: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1277: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_ACCESS, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1300: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_TO_ACTIONS_WHITELIST, [
^^^^^^
extensions/amp-story/1.0/amp-story.js:1363: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.CAN_SHOW_PREVIOUS_PAGE_HELP)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1374: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) === UIType.DESKTOP_PANELS)
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1381: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story.js:1422: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_ACCESS, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1442: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) ===
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1451: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.PAUSED_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1475: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story.js:1483: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_AD, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1489: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1492: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_AD, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1505: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.CHANGE_PAGE, {
^^^^^^
extensions/amp-story/1.0/amp-story.js:1515: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.MUTED_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1561: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.NAVIGATION_PATH));
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1577: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_NAVIGATION_PATH, navigationPath);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1665: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) === UIType.DESKTOP_PANELS)
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1692: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1697: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story.js:1701: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const rtlState = this.storeService_.get(StateProperty.RTL_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1735: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_UI, uiState);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1744: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_VIEWPORT_WARNING, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1780: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.VIEWPORT_WARNING_STATE))
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1788: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.PAUSED_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1790: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1791: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_VIEWPORT_WARNING, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1794: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.TOGGLE_PAUSED,
^^^^^^
extensions/amp-story/1.0/amp-story.js:1797: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_VIEWPORT_WARNING, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:1817: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.MUTED_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:1979: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.TOGGLE_SIDEBAR,
^^^^^^
extensions/amp-story/1.0/amp-story.js:2011: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SIDEBAR, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2113: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, true);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2122: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2141: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.UI_STATE) !== UIType.DESKTOP_PANELS)
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2186: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.NAVIGATION_PATH);
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2329: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!this.storeService_.get(StateProperty.CAN_SHOW_BOOKEND))
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2356: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (!this.storeService_.get(StateProperty.CAN_SHOW_BOOKEND)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2363: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.UI_STATE) === UIType.MOBILE) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2557: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.TOGGLE_STORY_HAS_AUDIO,
^^^^^^
extensions/amp-story/1.0/amp-story.js:2561: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.TOGGLE_STORY_HAS_BACKGROUND_AUDIO,
^^^^^^
extensions/amp-story/1.0/amp-story.js:2577: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/amp-story.js:2604: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_HAS_SIDEBAR, !!this.sidebar_);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2611: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_TO_ACTIONS_WHITELIST, actions);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2620: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_NAVIGATION_PATH,
^^^^^^
extensions/amp-story/1.0/amp-story.js:2627: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.BOOKEND_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/amp-story.js:2630: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_NAVIGATION_PATH, []);
^^^^^^
extensions/amp-story/1.0/amp-story.js:2693: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!this.storeService_.get(StateProperty.CAN_INSERT_AUTOMATIC_AD))
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:231: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.classList.add(
^^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:238: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property headerEl_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
this.headerEl_.appendChild(handleEl);
^^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:277: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const consentId = this.storeService_.get(StateProperty.CONSENT_ID);
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:318: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:322: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:327: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CAN_SHOW_SHARING_UIS,
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:335: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:349: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
return !!this.storeService_.get(StateProperty.BOOKEND_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:371: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:384: ERROR - [JSC_BAD_PRIVATE_PROPERTY_ACCESS] Access to private property closeInternal_ of DraggableDrawer$$module$extensions$amp_story$1_0$amp_story_draggable_drawer not allowed here.
isActive ? this.open(shouldAnimate) : this.closeInternal_();
^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:486: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable SHARE_PROVIDERS_KEY$$module$extensions$amp_story$1_0$amp_story_share not allowed outside file extensions/amp-story/1.0/amp-story-share.js.
response[SHARE_PROVIDERS_KEY] ||
^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:487: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable DEPRECATED_SHARE_PROVIDERS_KEY$$module$extensions$amp_story$1_0$amp_story_share not allowed outside file extensions/amp-story/1.0/amp-story-share.js.
response[DEPRECATED_SHARE_PROVIDERS_KEY] });
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
extensions/amp-story/1.0/bookend/amp-story-bookend.js:532: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_BOOKEND, false);
^^^^^^
extensions/amp-story/1.0/development-ui.js:132: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.ERROR:
^^^^^^^^
extensions/amp-story/1.0/development-ui.js:134: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.WARN:
^^^^^^^^
extensions/amp-story/1.0/development-ui.js:239: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.WARN:
^^^^^^^^
extensions/amp-story/1.0/development-ui.js:241: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
case LogLevel.ERROR:
^^^^^^^^
extensions/amp-story/1.0/live-story-manager.js:95: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.SET_PAGE_IDS, pageIds);
^^^^^^
extensions/amp-story/1.0/live-story-manager.js:96: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.ADD_NEW_PAGE_ID, lastNewPageEl.id);
^^^^^^
extensions/amp-story/1.0/logging.js:95: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.ERROR },
^^^^^^^^
extensions/amp-story/1.0/logging.js:106: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/1.0/logging.js:113: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/1.0/logging.js:120: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/1.0/logging.js:127: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/1.0/logging.js:137: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN },
^^^^^^^^
extensions/amp-story/1.0/logging.js:150: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable LogLevel$$module$src$log not allowed outside file src/log.js.
level: LogLevel.WARN } };
^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:268: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const rtlState = this.storeService_.get(StateProperty.RTL_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:340: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, true);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:342: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SYSTEM_UI_IS_VISIBLE, false);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:365: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_PAUSED, false);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:369: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
!this.storeService_.get(StateProperty.SYSTEM_UI_IS_VISIBLE_STATE) &&
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:371: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE)).
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:374: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_SYSTEM_UI_IS_VISIBLE, true);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:521: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE));
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:547: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.AFFILIATE_LINK_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:567: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.INTERACTIVE_COMPONENT_STATE));
^^^^^^^^^^^^^
extensions/amp-story/1.0/page-advancement.js:569: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_INTERACTIVE_COMPONENT, {
^^^^^^
extensions/amp-story/1.0/page-advancement.js:583: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_AFFILIATE_LINK, target);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:585: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.dispatch(Action.TOGGLE_AFFILIATE_LINK, null);
^^^^^^
extensions/amp-story/1.0/page-advancement.js:604: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/page-advancement.js:703: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/page-advancement.js:936: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:35: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
action: Action.TOGGLE_BOOKEND,
^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:58: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
action: Action.TOGGLE_BOOKEND,
^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:146: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable Action$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
Action.SET_ADVANCEMENT_MODE,
^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:243: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:248: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX,
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:254: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.PAGE_IDS, () => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:263: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.get(StateProperty.CURRENT_PAGE_INDEX));
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:270: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.SYSTEM_UI_IS_VISIBLE_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:296: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const totalPages = this.storeService_.get(StateProperty.PAGE_IDS).length;
^^^^^^^^^^^^^
extensions/amp-story/1.0/pagination-buttons.js:297: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const bookendActive = this.storeService_.get(StateProperty.BOOKEND_STATE);
^^^^^^^^^^^^^
extensions/amp-story/1.0/progress-bar.js:155: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.PAGE_IDS,
^^^^^^^^^^^^^
extensions/amp-story/1.0/progress-bar.js:184: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.RTL_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/progress-bar.js:192: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.UI_STATE,
^^^^^^^^^^^^^
extensions/amp-story/1.0/progress-bar.js:270: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
if (this.storeService_.get(StateProperty.RTL_STATE)) {
^^^^^^^^^^^^^
extensions/amp-story/1.0/story-analytics.js:109: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.BOOKEND_STATE, isActive => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/story-analytics.js:118: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_ID,
^^^^^^^^^^^^^
extensions/amp-story/1.0/story-analytics.js:126: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const pageIds = this.storeService_.get(StateProperty.PAGE_IDS);
^^^^^^^^^^^^^
extensions/amp-story/1.0/story-analytics.js:128: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX);
^^^^^^^^^^^^^
extensions/amp-story/1.0/variable-service.js:96: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
this.storeService_.subscribe(StateProperty.PAGE_IDS, pageIds => {
^^^^^^^^^^^^^
extensions/amp-story/1.0/variable-service.js:101: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_ID,
^^^^^^^^^^^^^
extensions/amp-story/1.0/variable-service.js:114: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
StateProperty.CURRENT_PAGE_INDEX));
^^^^^^^^^^^^^
extensions/amp-story/1.0/variable-service.js:118: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable StateProperty$$module$extensions$amp_story$1_0$amp_story_store_service not allowed outside file extensions/amp-story/1.0/amp-story-store-service.js.
const numberOfPages = this.storeService_.get(StateProperty.PAGE_IDS).
^^^^^^^^^^^^^
extensions/amp-video-docking/0.1/amp-video-docking.js:1441: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable pointerCoords$$module$extensions$amp_video_docking$0_1$events not allowed outside file extensions/amp-video-docking/0.1/events.js.
const _pointerCoords = pointerCoords(e),initialX = _pointerCoords.x,initialY = _pointerCoords.y,_foo24 = void 0;
^^^^^^^^^^^^^
extensions/amp-video-docking/0.1/amp-video-docking.js:1518: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable pointerCoords$$module$extensions$amp_video_docking$0_1$events not allowed outside file extensions/amp-video-docking/0.1/events.js.
offset.x = pointerCoords(e).x - startX;
^^^^^^^^^^^^^
extensions/amp-video-docking/0.1/controls.js:538: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable pointerCoords$$module$extensions$amp_video_docking$0_1$events not allowed outside file extensions/amp-video-docking/0.1/events.js.
const _pointerCoords = pointerCoords( /** @type {!MouseEvent} */(e)),x = _pointerCoords.x,y = _pointerCoords.y,_foo10 = void 0;
^^^^^^^^^^^^^
extensions/amp-video-iframe/0.1/amp-video-iframe.js:145: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable disableScrollingOnIframe$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
this.iframe_ = disableScrollingOnIframe(
^^^^^^^^^^^^^^^^^^^^^^^^
src/document-fetcher.js:45: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getViewerInterceptResponse$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
return getViewerInterceptResponse(win, ampdocSingle, input, init).then(
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/document-fetcher.js:102: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable assertSuccess$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
const promise = assertSuccess(response).then(response => ({
^^^^^^^^^^^^^
src/inabox/inabox-iframe-messaging-client.js:40: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable canInspectWindow$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
!canInspectWindow(win.top))
^^^^^^^^^^^^^^^^
src/inabox/inabox-mutator.js:63: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property schedulePass of ResourcesInterface not allowed here.
this.resources_. /*OK*/schedulePass();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/inabox/inabox-mutator.js:76: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property schedulePass of ResourcesInterface not allowed here.
this.resources_. /*OK*/schedulePass();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/inabox/inabox-mutator.js:99: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property schedulePass of ResourcesInterface not allowed here.
this.resources_. /*OK*/schedulePass();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/inabox/inabox-resources.js:75: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property Resource$$module$src$service$resource of src/service/resource.js not allowed here.
return Resource.forElement(element);
^^^^^^^^
src/inabox/inabox-resources.js:80: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property Resource$$module$src$service$resource of src/service/resource.js not allowed here.
return Resource.forElementOptional(element);
^^^^^^^^
src/inabox/inabox-resources.js:90: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property Resource$$module$src$service$resource of src/service/resource.js not allowed here.
const resource = new Resource(++this.resourceIdCounter_, element, this);
^^^^^^^^
src/inabox/inabox-resources.js:97: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property Resource$$module$src$service$resource of src/service/resource.js not allowed here.
const resource = Resource.forElement(element);
^^^^^^^^
src/inabox/inabox-resources.js:107: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property Resource$$module$src$service$resource of src/service/resource.js not allowed here.
const resource = Resource.forElementOptional(element);
^^^^^^^^
src/inabox/inabox-resources.js:178: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property startLayout of Resource not allowed here.
resource.startLayout();
^^^^^^^^^^^^^^^^^^^^
src/inabox/inabox-viewport.js:455: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable canInspectWindow$$module$src$iframe_helper not allowed outside file src/iframe-helper.js.
canInspectWindow(this.win.top);
^^^^^^^^^^^^^^^^
src/purifier.js:285: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable rewriteAttributeValue$$module$src$url_rewrite not allowed outside file src/url-rewrite.js.
attrValue = rewriteAttributeValue(tagName, attrName, attrValue);
^^^^^^^^^^^^^^^^^^^^^
src/sanitizer.js:228: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable rewriteAttributeValue$$module$src$url_rewrite not allowed outside file src/url-rewrite.js.
rewriteAttributeValue(tagName, attrName, attrValue);
^^^^^^^^^^^^^^^^^^^^^
src/service/url-replacements-impl.js:614: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getNavigationData$$module$src$service$variable_source not allowed outside file src/service/variable-source.js.
return getNavigationData(win, 'type');
^^^^^^^^^^^^^^^^^
src/service/url-replacements-impl.js:618: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getNavigationData$$module$src$service$variable_source not allowed outside file src/service/variable-source.js.
return getNavigationData(win, 'redirectCount');
^^^^^^^^^^^^^^^^^
src/service/xhr-impl.js:71: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable getViewerInterceptResponse$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
return getViewerInterceptResponse(
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/service/xhr-impl.js:184: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable assertSuccess$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
assertSuccess(response));
^^^^^^^^^^^^^
src/service/xhr-impl.js:201: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable assertSuccess$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
assertSuccess(response));
^^^^^^^^^^^^^
src/ssr-template-helper.js:187: ERROR - [JSC_BAD_PRIVATE_GLOBAL_ACCESS] Access to private variable toStructuredCloneable$$module$src$utils$xhr_utils not allowed outside file src/utils/xhr-utils.js.
'originalRequest': toStructuredCloneable(
^^^^^^^^^^^^^^^^^^^^^
src/style-installer.js:271: ERROR - [JSC_BAD_PACKAGE_PROPERTY_ACCESS] Access to package-private property schedulePass of ResourcesInterface not allowed here.
resources. /*OK*/schedulePass(1, /* relayoutAll */true);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
362 error(s), 2 warning(s), 93.8% typed
To add some context here, accessControls
is ignored during type-checking, but it is a warning during actual compilation (gulp dist
). See lines 334 and 341.
Tagging @jridgewell and @erwinmombay for comment on whether all those errors being detected are valid, and if so, how feasible / easy it is to go in and fix them.
Do we fail compile on warnings in gulp dist
? I thought not.
@choumx I've tried it once, and everything passed. Not sure if I've seen the warning.
Most of these are actually related to accessing @private
variables, not @package
. We should definitely look into fixing this.
+1 to fixing this.
Additional context, in case it's relevant: We have a custom rule called unused-private-field
to catch cases where a @private
variable isn't used in the class. Not sure if that rule needs to be changed to accommodate this fix. (The rule was enabled in #22626.)
@choumx is right, seems like almost all of these are related to accessing exported functions/variables that have been marked @private
.
@powerivq could you post the exact command you ran? I'd like to look at what triggered this one warning. (I know it is related to some transformation we do for code elimination, but curious why it started to show up)
extensions/amp-analytics/0.1/config.js:101: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
if (!true) {
^
extensions/amp-analytics/0.1/vendors.js:276: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
if (!true) {
^
I did a gulp check-types
after turning on the access check. @erwinmombay
I know it is related to some transformation we do for code elimination, but curious why it started to show up
Those warnings at the top have always been present. However, if there are zero errors, warnings are not surfaced.
almost all of these are related to accessing exported functions/variables that have been marked
@private
.
I did some homework on the errors, and it does indeed look like they can all be fixed by using the correct private / public / protected annotations. I also noticed that fixing a single annotation can eliminate multiple errors, so we should have considerably fewer than 300ish errors to fix. Will take a stab at this.
We only needed ~25 fixes to eliminate all 350+ errors. Sending out a PR with a fix.
The access check in check-type is currently disabled (see https://github.com/ampproject/amphtml/blob/master/build-system/compile/compile.js#L334)
It renders
@protected
,@private
and@package
decorators not useful today, and as a result, there are increasing violations. I can think of two ways.