!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a9cebcca-c8fb-30d3-8b57-dad346497ca7")}catch(e){}}(); define(["exports","./e_file_viewer_static_scl_page_folder","./c_pap-events_enums_flexible_sharing_entry_point_variant-utils","./e_core_exception","./c_flux_action_type","react","./c_src_sink_index","./c_init_data_debug_panel","./c_lodash-es_lodash","./c_api_v2_routes_team_provider","./e_edison","./c_pap-events_browse_view_folder_picker","./e_data_modules_stormcrow","./c_react-use_misc_util","./c_core_i18n","metaserver/static/js/langpack","./c_core_notify","react-dom"],(function(e,r,i,_,t,a,o,n,c,s,d,l,f,u,p,v,h,S){"use strict";e.onCopyLink=({user:e,folder:i,folderShareToken:_,folderSharedLinkInfo:t})=>{const a=r.vendSenderTrackey(),o=r.appendTrackeyToSharedLinkAndSortParams(window.location.href,a);r.logPAPCopySharedLinkEvent({eventState:"start",actionElement:r.ActionSurfaceLogValue.ACTION_BAR,actionSurface:"shared_folder_previews",requestedAccessLevel:"viewer",fileIdOrPath:i.folder_id?i.folder_id.toString():i.filename,hasCachedLink:!0,url:o}),r.copyToClipboard(o),r.logPAPCopySharedLinkEvent({eventState:"success",actionElement:r.ActionSurfaceLogValue.ACTION_BAR,actionSurface:"shared_folder_previews",requestedAccessLevel:"viewer",fileIdOrPath:i.folder_id?i.folder_id.toString():i.filename,hasCachedLink:!0,url:o}),r.logTiburonEvent(e,i,r.TiburonEventName.CopySharedLink,_,r.SHARE_ACTION_ORIGIN_TYPE.SIMPLE_COPY_LINK_FILE_PREVIEW,t.url,{is_subpath:(!!_.subPath).toString(),sharing_view_type:t.isLowDistractionView?"focused_view":"basic_view",sender_trackey:a})}})); //# sourceMappingURL=c_shared-folder-preview-page_actions_on-copy-link.after-display.js-vflsqQVsX.map //# debugId=a9cebcca-c8fb-30d3-8b57-dad346497ca7