-
Notifications
You must be signed in to change notification settings - Fork 0
/
Embed-stories.0a1c8e5c.iframe.bundle.js
1 lines (1 loc) · 70.7 KB
/
Embed-stories.0a1c8e5c.iframe.bundle.js
1
"use strict";(self.webpackChunk_haaretz_a_htz_sg=self.webpackChunk_haaretz_a_htz_sg||[]).push([[550],{"../../ds-molecules/s-embed/src/Embed.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Facebook:()=>Embed_stories_Facebook,Giphy:()=>Embed_stories_Giphy,GoogleMaps:()=>Embed_stories_GoogleMaps,Instagram:()=>Embed_stories_Instagram,Kan11:()=>Embed_stories_Kan11,OmnyStudio:()=>Embed_stories_OmnyStudio,RainRadar:()=>Embed_stories_RainRadar,Spotify:()=>Embed_stories_Spotify,Vimeo:()=>Embed_stories_Vimeo,Youtube:()=>Embed_stories_Youtube,default:()=>Embed_stories});var defineProperty=__webpack_require__("../../../node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/esm/defineProperty.js"),jsx_runtime=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/jsx-runtime.js"),hooks_client_context_shared_runtime=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"),src=__webpack_require__("../../ds-molecules/s-caption/src/index.ts"),s_teaser_placeholder_src=__webpack_require__("../../ds-atoms/s-teaser-placeholder/src/index.ts"),script=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/script.js"),script_default=__webpack_require__.n(script),react=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/index.js"),style9=__webpack_require__("../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/style9/index.mjs");const c={base:{width:"cRUUAa"},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"}};function Facebook(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{captionServerComponent,source,embedType,showText,styleExtend=[],children}=props;if(!source||!embedType)return null;const fbClass="post"===embedType?"fb-post":"comments"===embedType?"fb-comment-embed":"fb-video",style=`${(0,style9.Z)(c.base,showPlaceHolder&&c.absolute)} ${fbClass}`;return(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(c.wrap,c.base,...styleExtend),children:[(0,jsx_runtime.jsx)(script_default(),{src:"https://connect.facebook.net/en_US/all.js#xfbml=1&version=v2.9",onLoad:()=>{setShowPlaceHolder(!1)}}),showPlaceHolder&&children,["post","comments"].includes(embedType)&&(0,jsx_runtime.jsx)("div",{className:style,"data-width":"auto","data-href":source}),"video"===embedType&&(0,jsx_runtime.jsx)("div",{className:style,"data-width":"auto","data-href":source,"data-allowfullscreen":"true","data-autoplay":"false","data-show-text":showText}),captionServerComponent]})}try{Facebook.displayName="Facebook",Facebook.__docgenInfo={description:"",displayName:"Facebook",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},showText:{defaultValue:null,description:"",name:"showText",required:!1,type:{name:"boolean | null | undefined"}},embedType:{defaultValue:null,description:"",name:"embedType",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Facebook"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Facebook.tsx#Facebook"]={docgenInfo:Facebook.__docgenInfo,name:"Facebook",path:"../../ds-molecules/s-embed/src/Components/Facebook.tsx#Facebook"})}catch(__react_docgen_typescript_loader_error){}const Giphy_c={iframe:{width:"cRUUAa",borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",aspectRatio:"djosqj"},wrapper:{position:"cjScYX"},absolute:{position:"bEvNbr"}};function Giphy(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{src,styleExtend=[],children,__typename,captionServerComponent}=props;return src?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(Giphy_c.wrapper,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(Giphy_c.iframe,showPlaceHolder&&Giphy_c.absolute),src,title:`${__typename}-${src}`,allowFullScreen:!0,onLoad:()=>{setShowPlaceHolder(!1)},loading:"lazy"}),captionServerComponent]}):null}try{Giphy.displayName="Giphy",Giphy.__docgenInfo={description:"",displayName:"Giphy",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:"enum",value:[{value:'"Gifs"'},{value:'"Giphy"'}]}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Giphy.tsx#Giphy"]={docgenInfo:Giphy.__docgenInfo,name:"Giphy",path:"../../ds-molecules/s-embed/src/Components/Giphy.tsx#Giphy"})}catch(__react_docgen_typescript_loader_error){}const GoogleMaps_c={iframe:{borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",aspectRatio:"kEErfx",width:"cRUUAa","@media all and (min-width:37.5em)":{aspectRatio:"ikMTCc"}},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"}};function GoogleMaps(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{source,styleExtend=[],children,captionServerComponent}=props;return source?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(GoogleMaps_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(GoogleMaps_c.iframe,showPlaceHolder&&GoogleMaps_c.absolute),src:source,loading:"lazy",title:`GoogleMap-${source}`,onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]}):null}try{GoogleMaps.displayName="GoogleMaps",GoogleMaps.__docgenInfo={description:"",displayName:"GoogleMaps",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"GoogleMaps"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/GoogleMaps.tsx#GoogleMaps"]={docgenInfo:GoogleMaps.__docgenInfo,name:"GoogleMaps",path:"../../ds-molecules/s-embed/src/Components/GoogleMaps.tsx#GoogleMaps"})}catch(__react_docgen_typescript_loader_error){}const Instagram_c_base={display:"gSBWlu",justifyContent:"IVbXa",width:"cRUUAa"};function Instagram(props){const{source,styleExtend=[],captionServerComponent}=props;return source?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(...styleExtend),children:[(0,jsx_runtime.jsx)("div",{className:(0,style9.Z)(Instagram_c_base),dangerouslySetInnerHTML:{__html:source}}),(0,jsx_runtime.jsx)("script",{src:"//platform.instagram.com/en_US/embeds.js",async:!0}),captionServerComponent]}):null}try{Instagram.displayName="Instagram",Instagram.__docgenInfo={description:"",displayName:"Instagram",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Instagram"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Instagram.tsx#Instagram"]={docgenInfo:Instagram.__docgenInfo,name:"Instagram",path:"../../ds-molecules/s-embed/src/Components/Instagram.tsx#Instagram"})}catch(__react_docgen_typescript_loader_error){}const Kan11_c_iframe={borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",width:"cRUUAa",aspectRatio:"llOTyD"};function Kan11(props){const{source,styleExtend=[],captionServerComponent}=props;return source?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(...styleExtend),children:[(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(Kan11_c_iframe),title:`Kan11-${source}`,allowFullScreen:!0,src:source,loading:"lazy"}),captionServerComponent]}):null}try{Kan11.displayName="Kan11",Kan11.__docgenInfo={description:"",displayName:"Kan11",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Kan11"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Kan11.tsx#Kan11"]={docgenInfo:Kan11.__docgenInfo,name:"Kan11",path:"../../ds-molecules/s-embed/src/Components/Kan11.tsx#Kan11"})}catch(__react_docgen_typescript_loader_error){}const OmnyStudio_c={iframe:{borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",width:"cRUUAa"},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"}};function OmnyStudio(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{source,description,fileUrl,styleExtend=[],children,captionServerComponent}=props,src=`${source}?&download=${fileUrl}&description=${description}&foreground=222222&background=f3f3f3&highlight=09a5d9`;return(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(OmnyStudio_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(OmnyStudio_c.iframe,showPlaceHolder&&OmnyStudio_c.absolute),src,title:`OmnyStudio-${source}`,loading:"lazy",onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]})}try{OmnyStudio.displayName="OmnyStudio",OmnyStudio.__docgenInfo={description:"",displayName:"OmnyStudio",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},fileUrl:{defaultValue:null,description:"",name:"fileUrl",required:!1,type:{name:"string | null | undefined"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"string | null | undefined"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"OmnyStudio"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/OmnyStudio.tsx#OmnyStudio"]={docgenInfo:OmnyStudio.__docgenInfo,name:"OmnyStudio",path:"../../ds-molecules/s-embed/src/Components/OmnyStudio.tsx#OmnyStudio"})}catch(__react_docgen_typescript_loader_error){}const RainRadar_c={iframe:{borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM"},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"},size:{width:"cRUUAa",height:"kproOh",maxWidth:"eCrnZU",maxHeight:"iegQxq"}};function RainRadar(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{source,styleExtend=[],children,captionServerComponent}=props;return source?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(RainRadar_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(RainRadar_c.iframe,RainRadar_c.size,showPlaceHolder&&RainRadar_c.absolute),src:source,title:`RainRadar-${source}`,loading:"lazy",onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]}):null}try{RainRadar.displayName="RainRadar",RainRadar.__docgenInfo={description:"",displayName:"RainRadar",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"RainRadar"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/RainRadar.tsx#RainRadar"]={docgenInfo:RainRadar.__docgenInfo,name:"RainRadar",path:"../../ds-molecules/s-embed/src/Components/RainRadar.tsx#RainRadar"})}catch(__react_docgen_typescript_loader_error){}const Spotify_c={iframe:{width:"cRUUAa",height:"hMSFqE",borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM"},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"}};function Spotify(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{source,styleExtend=[],children,captionServerComponent}=props;return source?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(Spotify_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(Spotify_c.iframe,showPlaceHolder&&Spotify_c.absolute),src:source,title:`Spotify-${source}`,loading:"lazy",onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]}):null}try{Spotify.displayName="Spotify",Spotify.__docgenInfo={description:"",displayName:"Spotify",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Spotify"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Spotify.tsx#Spotify"]={docgenInfo:Spotify.__docgenInfo,name:"Spotify",path:"../../ds-molecules/s-embed/src/Components/Spotify.tsx#Spotify"})}catch(__react_docgen_typescript_loader_error){}var embedded_tweet=__webpack_require__("../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-tweet/dist/twitter-theme/embedded-tweet.js"),get_tweet=__webpack_require__("../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-tweet/dist/api/get-tweet.js");try{Twitter.displayName="Twitter",Twitter.__docgenInfo={description:"",displayName:"Twitter",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Twitter"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Twitter.tsx#Twitter"]={docgenInfo:Twitter.__docgenInfo,name:"Twitter",path:"../../ds-molecules/s-embed/src/Components/Twitter.tsx#Twitter"})}catch(__react_docgen_typescript_loader_error){}const Vimeo_c={iframe:{borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",aspectRatio:"llOTyD",width:"cRUUAa"},wrap:{position:"cjScYX",aspectRatio:"llOTyD",maxWidth:"fwqTyU"},absolute:{position:"bEvNbr"}};function Vimeo(props){const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0),{source,styleExtend=[],children,captionServerComponent}=props;if(!source)return null;const src=`https://player.vimeo.com/video/${((null==source?void 0:source.match(/\/(\d+)$/))||[])[1]||source}`;return(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(Vimeo_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(Vimeo_c.iframe,showPlaceHolder&&Vimeo_c.absolute),src,title:`Vimeo-${src}`,loading:"lazy",onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]})}try{Vimeo.displayName="Vimeo",Vimeo.__docgenInfo={description:"",displayName:"Vimeo",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Vimeo"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Vimeo.tsx#Vimeo"]={docgenInfo:Vimeo.__docgenInfo,name:"Vimeo",path:"../../ds-molecules/s-embed/src/Components/Vimeo.tsx#Vimeo"})}catch(__react_docgen_typescript_loader_error){}var configShim=__webpack_require__("../../config/l-storybook-config/wwwroot/public/configShim.js"),src_platform=__webpack_require__("../../utils/s-atoms/src/platform/index.ts"),s_htz_link_src=__webpack_require__("../../ds-atoms/s-htz-link/src/index.ts"),buildBaseImgSrc=__webpack_require__("../../utils/s-image-utils/src/buildBaseImgSrc/index.ts"),navigation=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/navigation.js");const Youtube_c={base:{borderTopWidth:"glXlAQ",borderRightWidth:"ejfOAg",borderBottomWidth:"imuUWK",borderLeftWidth:"jePIQM",aspectRatio:"llOTyD",position:"cjScYX",width:"cRUUAa",backgroundSize:"bfPBZp",backgroundPositionY:"dcKmbo"},appWrap:{width:"cRUUAa",position:"cjScYX"},appVideo:{position:"bEvNbr",left:"gpkvrq",top:"gWNFme",transform:"eNbRwt",height:"kbMZbg",width:"iPbKFp",backgroundSize:"cCwjFn"},wrap:{position:"cjScYX"},absolute:{position:"bEvNbr"},vertical:{aspectRatio:"eIRlXA"}};function Youtube(props){const{asGif,autoplay,controls,embedType,isVertical,logo,loop,related,source,startAt,videoImage,videoId,styleExtend=[],children,captionServerComponent}=props,isAndroid="android"===(0,navigation.useSearchParams)().get("source"),[platform]=(0,src_platform.Z)(),env=configShim.Z.get("env"),start="playlist"===embedType?"&start=":"?start=",showFakePlayer="app"===platform&&isAndroid;let optionsString;const[showPlaceHolder,setShowPlaceHolder]=react.useState(!0);if(!videoId)return null;if(asGif){optionsString=`${"playlist"===embedType?"&":"?"}controls=0&autoplay=1&loop=1&playlist=${source}&wmode=transparent&controls=0&modestbranding=1&rel=0&showinfo=0`}else{optionsString=`${start}${startAt}&controls=${controls&&"1"}&loop=${loop&&"1"}&modestbranding=${logo&&"1"}&rel=${related&&"1"}&autoplay=${autoplay}&enablejsapi=1${"playlist"!==embedType&&loop&&source?`&playlist=${source}`:""}`}if(showFakePlayer){const videoImageUrl=videoImage?(0,buildBaseImgSrc.Z)({imgData:videoImage.files[0],contentId:videoImage.contentId,isCropped:!1,width:599,env}):"";return(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(...styleExtend),children:[(0,jsx_runtime.jsx)("div",{className:(0,style9.Z)(Youtube_c.appWrap,Youtube_c.base),style:{backgroundImage:`url(${videoImageUrl})`},children:(0,jsx_runtime.jsx)(s_htz_link_src.Z,{href:`//www.youtube.com/embed/${source}?start=0`,children:(0,jsx_runtime.jsx)("div",{className:(0,style9.Z)(Youtube_c.appVideo),style:{backgroundImage:"url(https://img.haarets.co.il/bs/00000186-fee3-d31e-a9ef-ffe35b6e0001/98/8a/2e52eb9d4d449616480002c512b8/youtube-play-icon.png)"}})})}),captionServerComponent]})}const src=`https://www.youtube.com/embed/${videoId}${optionsString}`;return(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(Youtube_c.wrap,...styleExtend),children:[showPlaceHolder&&children,(0,jsx_runtime.jsx)("iframe",{className:(0,style9.Z)(Youtube_c.base,showPlaceHolder&&Youtube_c.absolute,isVertical&&Youtube_c.vertical),src,allowFullScreen:!0,loading:"lazy",title:`Youtube-${src}`,onLoad:()=>{setShowPlaceHolder(!1)}}),captionServerComponent]})}try{Youtube.displayName="Youtube",Youtube.__docgenInfo={description:"",displayName:"Youtube",props:{styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},captionServerComponent:{defaultValue:null,description:"",name:"captionServerComponent",required:!0,type:{name:"ReactNode"}},asGif:{defaultValue:null,description:"",name:"asGif",required:!1,type:{name:"boolean | null | undefined"}},autoplay:{defaultValue:null,description:"",name:"autoplay",required:!1,type:{name:"boolean | null | undefined"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"boolean | null | undefined"}},embedType:{defaultValue:null,description:"",name:"embedType",required:!1,type:{name:"string | null | undefined"}},isVertical:{defaultValue:null,description:"",name:"isVertical",required:!1,type:{name:"boolean | null | undefined"}},logo:{defaultValue:null,description:"",name:"logo",required:!1,type:{name:"boolean | null | undefined"}},loop:{defaultValue:null,description:"",name:"loop",required:!1,type:{name:"boolean | null | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},related:{defaultValue:null,description:"",name:"related",required:!1,type:{name:"boolean | null | undefined"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string | null | undefined"}},startAt:{defaultValue:null,description:"",name:"startAt",required:!1,type:{name:"number | null | undefined"}},videoId:{defaultValue:null,description:"",name:"videoId",required:!1,type:{name:"string | null | undefined"}},videoImage:{defaultValue:null,description:"",name:"videoImage",required:!1,type:{name:"({ alt: string; caption?: string | null | undefined; contentId: string; credit?: string | null | undefined; link?: string | null | undefined; photographer?: string | null | undefined; type: ImageType; files: ({ ...; } & { ...; })[]; } & { ...; } & { ...; }) | null | undefined"}},__typename:{defaultValue:null,description:"",name:"__typename",required:!0,type:{name:'"Youtube"'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Components/Youtube.tsx#Youtube"]={docgenInfo:Youtube.__docgenInfo,name:"Youtube",path:"../../ds-molecules/s-embed/src/Components/Youtube.tsx#Youtube"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){(0,defineProperty.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const Embed_c={base:{display:"gSBWlu",flexDirection:"iMkoWi",gridColumnEnd:"TSpXR",gridColumnStart:"cgtMrY",justifyContent:"fPWmiY"},placeHolder:{width:"cRUUAa",aspectRatio:"llOTyD",position:"cjScYX"},omnyPlaceHolder:{aspectRatio:"hpgJZA",height:"cCQcss"},spotifyPlaceHolder:{aspectRatio:"hpgJZA",height:"hMSFqE"},rainRadarPlaceHolder:{width:"cRUUAa",height:"kproOh",maxWidth:"eCrnZU",maxHeight:"iegQxq"},youtubeVertical:{aspectRatio:"eIRlXA"}},Embed_embeds={Youtube,Vimeo,Twitter:async function Twiter(props){const{source,styleExtend=[],captionServerComponent}=props;if(!source)return null;const twitterString=source.split("/status/")[1];if(!twitterString)return null;const id=twitterString.slice(0,twitterString.search(/\D/));try{const tweet=await(0,get_tweet.Z)(id);return tweet?(0,jsx_runtime.jsxs)("div",{className:(0,style9.Z)(...styleExtend),children:[(0,jsx_runtime.jsx)(embedded_tweet.$,{tweet}),captionServerComponent]}):null}catch(error){return null}},Spotify,RainRadar,OmnyStudio,Instagram,GoogleMaps,Giphy,Gifs:Giphy,Facebook,Kan11},stylesPlaceHolder={OmnyStudio:Embed_c.omnyPlaceHolder,Spotify:Embed_c.spotifyPlaceHolder,RainRadar:Embed_c.rainRadarPlaceHolder},embedsWithoutPlaceholder=["Kan11","Twitter","Instagram"];function Embed_Embed(_ref){let{content}=_ref;const{__typename:typename,caption,credit}=content;if(!Object.keys(Embed_embeds).includes(typename))return null;const stylePlaceHolder=stylesPlaceHolder[typename],EmbedByTypename=function getEmbedByTypename(typename){return Embed_embeds[typename]}(typename),showPlaceHolder=!embedsWithoutPlaceholder.includes(typename),customProps=_objectSpread({captionServerComponent:(0,jsx_runtime.jsx)(src.Z,{caption,credit}),styleExtend:[Embed_c.base]},content),styleExtend=stylePlaceHolder?[Embed_c.placeHolder,stylePlaceHolder]:[Embed_c.placeHolder];return"Youtube"===typename&&content.isVertical&&styleExtend.push(Embed_c.youtubeVertical),(0,jsx_runtime.jsx)(EmbedByTypename,_objectSpread(_objectSpread({},customProps),{},{children:showPlaceHolder&&(0,jsx_runtime.jsx)(s_teaser_placeholder_src.Z,{styleExtend})}))}try{Embed_Embed.displayName="Embed",Embed_Embed.__docgenInfo={description:"",displayName:"Embed",props:{inlineStyle:{defaultValue:null,description:"",name:"inlineStyle",required:!1,type:{name:"InlineStyles | undefined"}},styleExtend:{defaultValue:null,description:"",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"({ source?: string | null | undefined; showText?: boolean | null | undefined; embedType?: string | null | undefined; credit?: string | null | undefined; caption?: string | null | undefined; } & { ...; } & { ...; }) | ... 10 more ... | ({ ...; } & ... 1 more ... & { ...; })"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-embed/src/Embed.tsx#Embed"]={docgenInfo:Embed_Embed.__docgenInfo,name:"Embed",path:"../../ds-molecules/s-embed/src/Embed.tsx#Embed"})}catch(__react_docgen_typescript_loader_error){}var lib=__webpack_require__("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@storybook/addon-docs/dist/index.mjs");function _createMdxContent(props){const _components=Object.assign({h1:"h1",h2:"h2",p:"p",strong:"strong",code:"code",pre:"pre",h3:"h3"},(0,lib.ah)(),props.components);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(_components.h1,{id:"embed",children:"Embed"}),"\n",(0,jsx_runtime.jsx)("br",{}),"\n","\n","\n","\n",(0,jsx_runtime.jsx)(_components.h2,{id:"installation",children:"Installation"}),"\n",(0,jsx_runtime.jsx)(_components.p,{children:(0,jsx_runtime.jsxs)(_components.strong,{children:["Make sure the package you use ",(0,jsx_runtime.jsx)(_components.code,{children:"Embed"})," in has ",(0,jsx_runtime.jsx)(_components.code,{children:"@haaretz/s-embed"})," listed in its\n",(0,jsx_runtime.jsx)(_components.code,{children:"package.json"}),"'s ",(0,jsx_runtime.jsx)(_components.code,{children:"dependencies"})," field:"]})}),"\n",(0,jsx_runtime.jsx)(_components.pre,{children:(0,jsx_runtime.jsx)(_components.code,{className:"language-js",children:'// package.json\n{\n // ...\n "dependencies": {\n "@haaretz/s-embed": "workspace:*"\n // ...\n }\n}\n'})}),"\n",(0,jsx_runtime.jsxs)(_components.p,{children:["Because internal monorepo packages are wired up using TypeScript's path aliases\nfeature in dev mode, importing ",(0,jsx_runtime.jsx)(_components.code,{children:"Embed"})," without listing it as a dependency will\nwork in dev mode, but will fail in production. There should be a\n",(0,jsx_runtime.jsx)(_components.code,{children:"import/no-unresolved"})," eslint error when trying to import it when it is not\nlisted as a dependency."]}),"\n",(0,jsx_runtime.jsx)(_components.p,{children:"You can then import it like this:"}),"\n",(0,jsx_runtime.jsx)(_components.pre,{children:(0,jsx_runtime.jsx)(_components.code,{className:"language-js",children:"import Embed from '@haaretz/s-embed';\n"})}),"\n",(0,jsx_runtime.jsx)(_components.h2,{id:"overview",children:"Overview"}),"\n",(0,jsx_runtime.jsx)(_components.p,{children:"Embed allow add in article one of our embeds elements"}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"props",children:"Props"}),"\n",(0,jsx_runtime.jsx)(dist.$4,{story:"^"}),"\n",(0,jsx_runtime.jsx)(_components.h2,{id:"variants",children:"Variants"}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"facebook",children:"Facebook"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--facebook"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"giphy",children:"Giphy"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--giphy"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"googlemaps",children:"GoogleMaps"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--google-maps"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"instagram",children:"Instagram"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--instagram"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"kan11",children:"Kan11"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--kan-11"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"omny-studios",children:"Omny Studios"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--omny-studio"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"rainradar",children:"RainRadar"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--rain-radar"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"spotify",children:"Spotify"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--spotify"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"vimeo",children:"Vimeo"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--vimeo"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"youtube",children:"Youtube"}),"\n",(0,jsx_runtime.jsx)(dist.Xz,{withToolbar:!0,children:(0,jsx_runtime.jsx)(dist.oG,{id:"embed--youtube"})}),"\n",(0,jsx_runtime.jsx)(_components.h3,{id:"twitter",children:"Twitter"}),"\n",(0,jsx_runtime.jsx)(_components.p,{children:"Our Twitter embed cannot be rendered in storybook since it's an external lib\nthat creates a Next.js server component, which internally makes an API call that\nfails outside the Next context"})]})}var _Vimeo$parameters,_Vimeo$parameters2,_Spotify$parameters,_Spotify$parameters2,_RainRadar$parameters,_RainRadar$parameters2,_OmnyStudio$parameter,_OmnyStudio$parameter2,_Kan11$parameters,_Kan11$parameters2,_Instagram$parameters,_Instagram$parameters2,_GoogleMaps$parameter,_GoogleMaps$parameter2,_Giphy$parameters,_Giphy$parameters2,_Facebook$parameters,_Facebook$parameters2,_Youtube$parameters,_Youtube$parameters2;function Embed_stories_ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function Embed_stories_objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Embed_stories_ownKeys(Object(t),!0).forEach((function(r){(0,defineProperty.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Embed_stories_ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const Embed_stories={component:Embed_Embed,title:"Molecules/Embed",argTypes:{content:{control:"text"},inlineStyle:{control:!1},styleExtend:{control:!1}},parameters:{chromatic:{disableSnapshot:!0},nextjs:{appDirectory:!0,navigation:{pathname:"/test",query:{source:"android"}}},docs:{page:function MDXContent(props={}){const{wrapper:MDXLayout}=Object.assign({},(0,lib.ah)(),props.components);return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,Object.assign({},props,{children:(0,jsx_runtime.jsx)(_createMdxContent,props)})):_createMdxContent(props)}}}},contentVimeo={__typename:"Vimeo",credit:"קרדיט",caption:"כיתוב",source:"https://vimeo.com/347119375"},Embed_stories_Vimeo=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentVimeo})}),contentSpotify={__typename:"Spotify",credit:"קרדיט",caption:"כיתוב",source:"https://open.spotify.com/embed/album/25NrLi2xwYYO8WniTmdKL6?utm_source=generator"},Embed_stories_Spotify=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentSpotify})}),contentRainRadar={__typename:"RainRadar",credit:"קרדיט",caption:"כיתוב",source:"https://www.rainviewer.com/map.html?loc=43.1651,11.1841,5&oFa=0&oC=1&oU=0&oCS=1&oF=0&oAP=1&c=3&o=90&lm=1&layer=radar&sm=1&sn=1&hu=0"},Embed_stories_RainRadar=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentRainRadar})}),contentOmnyStudio={__typename:"OmnyStudio",credit:"קרדיט",caption:"כיתוב",source:"https://omny.fm/shows/fear-and-greed/interview-a-masterclass-in-using-linkedin/embed"},Embed_stories_OmnyStudio=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentOmnyStudio})}),contentKan11={__typename:"Kan11",credit:"קרדיט",caption:"כיתוב",source:'https://cdnapisec.kaltura.com/html5/html5lib/v2.98/mwEmbedFrame.php/p/2717431/uiconf_id/51010052/entry_id/1_qz42np30?wid=_2717431&iframeembed=true&playerId=kaltura_player_1667871989&entry_id=1_qz42np30"'},Embed_stories_Kan11=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentKan11})}),contentInstagram={__typename:"Instagram",credit:"קרדיט",caption:"כיתוב",source:'<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/Cs87Ok2h5xq/?utm_source=ig_embed&utm_campaign=loading" data-instgrm-version="14" style="background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"><div style="padding:16px;"> <a href="https://www.instagram.com/p/Cs87Ok2h5xq/?utm_source=ig_embed&utm_campaign=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank"> <div style=" display: flex; flex-direction: row; align-items: center;"> <div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div> <div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center;"> <div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;"></div> <div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;"></div></div></div><div style="padding: 19% 0;"></div> <div style="display:block; height:50px; margin:0 auto 12px; width:50px;"><svg width="50px" height="50px" viewBox="0 0 60 60" version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-511.000000, -20.000000)" fill="#000000"><g><path d="M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631"></path></g></g></g></svg></div><div style="padding-top: 8px;"> <div style=" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;">View this post on Instagram</div></div><div style="padding: 12.5% 0;"></div> <div style="display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;"><div> <div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);"></div> <div style="background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;"></div> <div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);"></div></div><div style="margin-left: 8px;"> <div style=" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;"></div> <div style=" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #F4F4F4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)"></div></div><div style="margin-left: auto;"> <div style=" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);"></div> <div style=" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);"></div> <div style=" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);"></div></div></div> <div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center; margin-bottom: 24px;"> <div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 224px;"></div> <div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 144px;"></div></div></a><p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;"><a href="https://www.instagram.com/p/Cs87Ok2h5xq/?utm_source=ig_embed&utm_campaign=loading" style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none;" target="_blank">A post shared by Mark Zuckerberg (@zuck)</a></p></div></blockquote>'},Embed_stories_Instagram=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentInstagram})}),contentGoogleMaps={__typename:"GoogleMaps",credit:"קרדיט",caption:"כיתוב",source:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d22448.95939149095!2d35.693926751561136!3d33.23878606905771!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x151ebbcc1a79322d%3A0x7cc5fba4f1c2cbe!2z16DXl9ecINek16jXog!5e0!3m2!1siw!2sil!4v1688653574437!5m2!1siw!2sil"},Embed_stories_GoogleMaps=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentGoogleMaps})}),contentGiphy={__typename:"Giphy",credit:"קרדיט",caption:"כיתוב",src:"https://giphy.com/embed/l46CimW38a7TFxLVe"},Embed_stories_Giphy=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentGiphy})}),contentFacebook={__typename:"Facebook",credit:"קרדיט",caption:"כיתוב",embedType:"post",source:"https://www.facebook.com/haaretz/posts/10155626716202520"},Embed_stories_Facebook=_=>(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentFacebook})}),contentYoutube={__typename:"Youtube",asGif:!1,autoplay:!1,credit:"קרדיט",caption:"כיתוב",controls:!0,embedType:"",isVertical:!1,logo:!1,loop:!0,related:!1,source:"",startAt:10,videoId:"5TfajVOfIlM",videoImage:{__typename:"htz_image_Image",contentId:"00000181-1e4a-da8b-a19f-ffcb88390001",alt:"איור של צוללן גולש בנייד באתר דה מרקר ",link:null,photographer:null,type:"image",credit:null,caption:null,files:[{__typename:"ImageViewModel_ImageFile",height:300,path:"da/08/d88abb664936b841388151e0f045/tm-600x300.png",width:600,crops:{__typename:"ImageCrops",square:{__typename:"ImageCrop",height:300,width:300,x:138,y:0}}}]}},Embed_stories_Youtube=_=>(0,jsx_runtime.jsx)(hooks_client_context_shared_runtime.SearchParamsContext.Provider,{value:new URLSearchParams({source:"android"}),children:(0,jsx_runtime.jsx)("div",{style:{width:"100%",maxWidth:"600px"},children:(0,jsx_runtime.jsx)(Embed_Embed,{content:contentYoutube})})});Embed_stories_Vimeo.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Vimeo.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Vimeo$parameters=Embed_stories_Vimeo.parameters)||void 0===_Vimeo$parameters?void 0:_Vimeo$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentVimeo} />\n </div>"},null===(_Vimeo$parameters2=Embed_stories_Vimeo.parameters)||void 0===_Vimeo$parameters2||null===(_Vimeo$parameters2=_Vimeo$parameters2.docs)||void 0===_Vimeo$parameters2?void 0:_Vimeo$parameters2.source)})}),Embed_stories_Spotify.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Spotify.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Spotify$parameters=Embed_stories_Spotify.parameters)||void 0===_Spotify$parameters?void 0:_Spotify$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentSpotify} />\n </div>"},null===(_Spotify$parameters2=Embed_stories_Spotify.parameters)||void 0===_Spotify$parameters2||null===(_Spotify$parameters2=_Spotify$parameters2.docs)||void 0===_Spotify$parameters2?void 0:_Spotify$parameters2.source)})}),Embed_stories_RainRadar.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_RainRadar.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_RainRadar$parameters=Embed_stories_RainRadar.parameters)||void 0===_RainRadar$parameters?void 0:_RainRadar$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentRainRadar} />\n </div>"},null===(_RainRadar$parameters2=Embed_stories_RainRadar.parameters)||void 0===_RainRadar$parameters2||null===(_RainRadar$parameters2=_RainRadar$parameters2.docs)||void 0===_RainRadar$parameters2?void 0:_RainRadar$parameters2.source)})}),Embed_stories_OmnyStudio.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_OmnyStudio.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_OmnyStudio$parameter=Embed_stories_OmnyStudio.parameters)||void 0===_OmnyStudio$parameter?void 0:_OmnyStudio$parameter.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentOmnyStudio} />\n </div>"},null===(_OmnyStudio$parameter2=Embed_stories_OmnyStudio.parameters)||void 0===_OmnyStudio$parameter2||null===(_OmnyStudio$parameter2=_OmnyStudio$parameter2.docs)||void 0===_OmnyStudio$parameter2?void 0:_OmnyStudio$parameter2.source)})}),Embed_stories_Kan11.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Kan11.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Kan11$parameters=Embed_stories_Kan11.parameters)||void 0===_Kan11$parameters?void 0:_Kan11$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentKan11} />\n </div>"},null===(_Kan11$parameters2=Embed_stories_Kan11.parameters)||void 0===_Kan11$parameters2||null===(_Kan11$parameters2=_Kan11$parameters2.docs)||void 0===_Kan11$parameters2?void 0:_Kan11$parameters2.source)})}),Embed_stories_Instagram.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Instagram.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Instagram$parameters=Embed_stories_Instagram.parameters)||void 0===_Instagram$parameters?void 0:_Instagram$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentInstagram} />\n </div>"},null===(_Instagram$parameters2=Embed_stories_Instagram.parameters)||void 0===_Instagram$parameters2||null===(_Instagram$parameters2=_Instagram$parameters2.docs)||void 0===_Instagram$parameters2?void 0:_Instagram$parameters2.source)})}),Embed_stories_GoogleMaps.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_GoogleMaps.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_GoogleMaps$parameter=Embed_stories_GoogleMaps.parameters)||void 0===_GoogleMaps$parameter?void 0:_GoogleMaps$parameter.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentGoogleMaps} />\n </div>"},null===(_GoogleMaps$parameter2=Embed_stories_GoogleMaps.parameters)||void 0===_GoogleMaps$parameter2||null===(_GoogleMaps$parameter2=_GoogleMaps$parameter2.docs)||void 0===_GoogleMaps$parameter2?void 0:_GoogleMaps$parameter2.source)})}),Embed_stories_Giphy.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Giphy.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Giphy$parameters=Embed_stories_Giphy.parameters)||void 0===_Giphy$parameters?void 0:_Giphy$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentGiphy} />\n </div>"},null===(_Giphy$parameters2=Embed_stories_Giphy.parameters)||void 0===_Giphy$parameters2||null===(_Giphy$parameters2=_Giphy$parameters2.docs)||void 0===_Giphy$parameters2?void 0:_Giphy$parameters2.source)})}),Embed_stories_Facebook.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Facebook.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Facebook$parameters=Embed_stories_Facebook.parameters)||void 0===_Facebook$parameters?void 0:_Facebook$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <div style={{\n width: '100%',\n maxWidth: '600px'\n}}>\n <Embed content={contentFacebook} />\n </div>"},null===(_Facebook$parameters2=Embed_stories_Facebook.parameters)||void 0===_Facebook$parameters2||null===(_Facebook$parameters2=_Facebook$parameters2.docs)||void 0===_Facebook$parameters2?void 0:_Facebook$parameters2.source)})}),Embed_stories_Youtube.parameters=Embed_stories_objectSpread(Embed_stories_objectSpread({},Embed_stories_Youtube.parameters),{},{docs:Embed_stories_objectSpread(Embed_stories_objectSpread({},null===(_Youtube$parameters=Embed_stories_Youtube.parameters)||void 0===_Youtube$parameters?void 0:_Youtube$parameters.docs),{},{source:Embed_stories_objectSpread({originalSource:"_ => <SearchParamsContext.Provider value={new URLSearchParams({\n source: 'android'\n})}>\n <div style={{\n width: '100%',\n maxWidth: '600px'\n }}>\n <Embed content={contentYoutube} />\n </div>\n </SearchParamsContext.Provider>"},null===(_Youtube$parameters2=Embed_stories_Youtube.parameters)||void 0===_Youtube$parameters2||null===(_Youtube$parameters2=_Youtube$parameters2.docs)||void 0===_Youtube$parameters2?void 0:_Youtube$parameters2.source)})})},"../../config/l-storybook-config/wwwroot/public/configShim.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>configShim});const configShim_namespaceObject=JSON.parse('{"brightspot":"https://www.haaretz.co.il","gqlServer":"https://fake-graphql-server.haaretz.co.il/graphql","gqlServerCluster":"http://fake-graphql-server.haaretz.co.il/graphql","bIServer":"https://services.haaretz.co.il/ds","env":"prod","msConfirmation":"https://services.haaretz.co.il/ms-confirmation","msPurchaseUrl":"https://ms-purchase.haaretz.co.il","cookieGenerator":"http://cookie-generator.ms-app","personalization":"https://services.haaretz.co.il/personalization","appType":"site","GA4Key":"G-V6JW03P6HP","UAKey":"UA-589309-3"}'),configShim={getSafe(property){const keys=Array.isArray(property)?property:property.split(".");let key,value=configShim_namespaceObject;for(;keys.length;){if(null===value||"object"!=typeof value){value=void 0;break}key=keys.shift(),value=value[key]}return value},get(property){const keyPath=Array.isArray(property)?property.join("."):property,value=this.getSafe(property);if(void 0===value)throw new Error(`Configuration property "${keyPath}" is not defined`);return value},has(property){return null!=property&&void 0!==this.getSafe(property)}}},"../../ds-atoms/s-htz-link/src/HtzLink.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _home_runner_work_fe_fe_node_modules_pnpm_babel_runtime_7_22_10_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../../node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_home_runner_work_fe_fe_node_modules_pnpm_babel_runtime_7_22_10_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../../node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/jsx-runtime.js"),next_link__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/link.js"),next_link__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/index.js"),console=__webpack_require__("../../../node_modules/.pnpm/[email protected]/node_modules/console-browserify/index.js");const _excluded=["children","href","hrefAs","locale","prefetch","replace","scroll","shallow"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){(0,_home_runner_work_fe_fe_node_modules_pnpm_babel_runtime_7_22_10_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const HtzLink=react__WEBPACK_IMPORTED_MODULE_3__.forwardRef((function HtzLinkComponent(_ref,forwardedRef){let{children=null,href,hrefAs,locale,prefetch,replace,scroll,shallow}=_ref,attrs=(0,_home_runner_work_fe_fe_node_modules_pnpm_babel_runtime_7_22_10_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_ref,_excluded);if("string"!=typeof href&&!href.href)return console.warn('The "href" prop you passed <HtzLink /> is a "URL" object without an "href" field:',href,"\nOpting out of rendering the element"),console.trace(),null;if(function isNextLink(href){return"string"!=typeof href||!href.startsWith("http")}(href))return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(next_link__WEBPACK_IMPORTED_MODULE_2___default(),_objectSpread(_objectSpread({as:hrefAs,href,locale,prefetch,ref:forwardedRef,replace,scroll,shallow,legacyBehavior:!1},attrs),{},{children}));const url="string"==typeof href?href:href.href||void 0;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",_objectSpread(_objectSpread({href:url,ref:forwardedRef},attrs),{},{children}))}));HtzLink.__docgenInfo={description:"",methods:[],displayName:"HtzLink",props:{children:{defaultValue:{value:"null",computed:!1},required:!1}}};const __WEBPACK_DEFAULT_EXPORT__=HtzLink;try{HtzLink.displayName="HtzLink",HtzLink.__docgenInfo={description:"",displayName:"HtzLink",props:{href:{defaultValue:null,description:"The path or URL to navigate to. It can also be an object.\n@example https://nextjs.org/docs/api-reference/next/link#with-url-object",name:"href",required:!0,type:{name:"Url"}},replace:{defaultValue:null,description:"Replace the current `history` state instead of adding a new url into the stack.\n@defaultValue `false`",name:"replace",required:!1,type:{name:"boolean | undefined"}},scroll:{defaultValue:null,description:"Whether to override the default scroll behavior\n@example https://nextjs.org/docs/api-reference/next/link#disable-scrolling-to-the-top-of-the-page\n@defaultValue `true`",name:"scroll",required:!1,type:{name:"boolean | undefined"}},shallow:{defaultValue:null,description:"Update the path of the current page without rerunning [`getStaticProps`](/docs/basic-features/data-fetching/get-static-props.md), [`getServerSideProps`](/docs/basic-features/data-fetching/get-server-side-props.md) or [`getInitialProps`](/docs/api-reference/data-fetching/get-initial-props.md).\n@defaultValue `false`",name:"shallow",required:!1,type:{name:"boolean | undefined"}},prefetch:{defaultValue:null,description:"Prefetch the page in the background.\nAny `<Link />` that is in the viewport (initially or through scroll) will be preloaded.\nPrefetch can be disabled by passing `prefetch={false}`. When `prefetch` is set to `false`, prefetching will still occur on hover. Pages using [Static Generation](/docs/basic-features/data-fetching/get-static-props.md) will preload `JSON` files with the data for faster page transitions. Prefetching is only enabled in production.\n@defaultValue `true`",name:"prefetch",required:!1,type:{name:"boolean | undefined"}},locale:{defaultValue:null,description:"The active locale is automatically prepended. `locale` allows for providing a different locale.\nWhen `false` `href` has to include the locale as the default behavior is disabled.",name:"locale",required:!1,type:{name:"string | false | undefined"}},onMouseEnter:{defaultValue:null,description:"Optional event handler for when the mouse pointer is moved onto Link",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler<HTMLAnchorElement> | undefined"}},onTouchStart:{defaultValue:null,description:"Optional event handler for when Link is touched.",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler<HTMLAnchorElement> | undefined"}},onClick:{defaultValue:null,description:"Optional event handler for when Link is clicked.",name:"onClick",required:!1,type:{name:"MouseEventHandler<HTMLAnchorElement> | undefined"}},hrefAs:{defaultValue:null,description:"When different than `href`, the path that will be rendered in the browser\nURL bar. Used for dynamic routes. Otherwise used to decorate how `href` is\ndisplayed in the browser's URL bar.",name:"hrefAs",required:!1,type:{name:"Url | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-atoms/s-htz-link/src/HtzLink.tsx#HtzLink"]={docgenInfo:HtzLink.__docgenInfo,name:"HtzLink",path:"../../ds-atoms/s-htz-link/src/HtzLink.tsx#HtzLink"})}catch(__react_docgen_typescript_loader_error){}},"../../ds-atoms/s-htz-link/src/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__("../../ds-atoms/s-htz-link/src/HtzLink.tsx").Z},"../../ds-atoms/s-teaser-placeholder/src/TeaserPlaceholder.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>TeaserPlaceholder});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/jsx-runtime.js"),style9__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/style9/index.mjs");const c={teaserPlaceholder:{opacity:"ddlsXY",backgroundColor:"iwPZVb",backgroundImage:"hapGnb",backgroundSize:"cvmAmB",animationName:"laOzoS",animationDuration:"cpxRM",animationTimingFunction:"dDrDcI",animationIterationCount:"kQuOcB"},hideOnDesktop:{"@media all and (min-width:37.5em)":{display:"jVILSh"}},hideOnMobile:{height:"gdPTUr",minHeight:"kWbdJP",minWidth:"bmkdo","@media all and (max-width:37.4375em)":{display:"iBLDTL"}}};function TeaserPlaceholder(_ref){let{children=null,hideOn,inlineStyle,styleExtend=[]}=_ref;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:(0,style9__WEBPACK_IMPORTED_MODULE_1__.Z)(c.teaserPlaceholder,"desktop"===hideOn&&c.hideOnDesktop,"mobile"===hideOn&&c.hideOnMobile,...styleExtend),style:inlineStyle,children})}try{TeaserPlaceholder.displayName="TeaserPlaceholder",TeaserPlaceholder.__docgenInfo={description:"",displayName:"TeaserPlaceholder",props:{children:{defaultValue:{value:"null"},description:"The Children to be rendered inside `<TeaserPlaceholder>`",name:"children",required:!1,type:{name:"ReactNode"}},inlineStyle:{defaultValue:null,description:"CSS declarations to be set as inline `style` on the\nhtml element.\n\nBy setting values of CSS Custom Properties based on\nprops or state in the consuming component (where\nthe value of `inlineStyle` is passed), `inlineStyle`\ncan be used as an API contract for setting dynamic\nvalues to styles created with `style9.create()`:\n@example ```ts\nimport s9 from 'style9';\nconst { styleExtend, } = s9.create({\n styleExtend: {\n color: 'var(--color-based-on-prop)',\n },\n});\n\nfunction MyTeaserPlaceholder(props) {\n const inlineStyle = {\n '--color-based-on-prop': props.color,\n },\n\n return (\n <TeaserPlaceholder\n styleExtend={[ styleExtend, ]}\n inlineStyle={inlineStyle}\n />\n );\n}\n```",name:"inlineStyle",required:!1,type:{name:"InlineStyles | undefined"}},styleExtend:{defaultValue:{value:"[]"},description:"An array of `Style`s created by `style9.create()`.\nWARNING: **_do not_** pass simple CSS-in-JS object.\nThe items in the array must be created with Style9's\n`create` function.\nThe array can also hold falsy values to assist with\nconditional inclusion of `Style`s:\n@example ```ts\nconst { foo, bar, } = s9.create({ foo: { ... }, bar: { ... }, });\n<TeaserPlaceholder styleExtend={[ someCondition && foo, bar, ]} />\n```",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},hideOn:{defaultValue:null,description:"display only on mobile or desktop breakpoint",name:"hideOn",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"mobile"'},{value:'"desktop"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-atoms/s-teaser-placeholder/src/TeaserPlaceholder.tsx#TeaserPlaceholder"]={docgenInfo:TeaserPlaceholder.__docgenInfo,name:"TeaserPlaceholder",path:"../../ds-atoms/s-teaser-placeholder/src/TeaserPlaceholder.tsx#TeaserPlaceholder"})}catch(__react_docgen_typescript_loader_error){}},"../../ds-atoms/s-teaser-placeholder/src/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__("../../ds-atoms/s-teaser-placeholder/src/TeaserPlaceholder.tsx").Z},"../../ds-molecules/s-caption/src/Caption.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>Caption});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react/jsx-runtime.js"),style9__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/style9/index.mjs");const c={caption:{color:"eSSHzp",fontWeight:"iLdtFu",marginTop:"iqhvfj",fontSize:"gVscJz",lineHeight:"kvNqZl","@media all and (min-width:102em)":{fontSize:"hyhpVP",lineHeight:"kRmCJO"}},credit:{color:"kJCqIw",fontWeight:"buowod",marginInlineStart:"gceMZP",fontSize:"hmImpX",lineHeight:"bwFuZl","@media all and (min-width:102em)":{fontSize:"boPXgS",lineHeight:"bnVOLt"}},padded:{paddingInlineStart:"fPuwlT",paddingInlineEnd:"fxCImo"}};function Caption(_ref){let{caption,credit,captionPrefix,inlineStyle,styleExtend=[],padded}=_ref;if(!caption&&!credit)return null;const captionText=captionPrefix?`${captionPrefix}: ${caption}`:caption;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:(0,style9__WEBPACK_IMPORTED_MODULE_1__.Z)(c.caption,padded&&c.padded,...styleExtend),style:inlineStyle,children:[caption?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{"data-testid":"caption",children:captionText}):null,credit?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[" ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:(0,style9__WEBPACK_IMPORTED_MODULE_1__.Z)(c.credit),"data-testid":"credit",children:credit})]}):null]})}try{Caption.displayName="Caption",Caption.__docgenInfo={description:"",displayName:"Caption",props:{inlineStyle:{defaultValue:null,description:"CSS declarations to be set as inline `style` on the\nhtml element.\n\nBy setting values of CSS Custom Properties based on\nprops or state in the consuming component (where\nthe value of `inlineStyle` is passed), `inlineStyle`\ncan be used as an API contract for setting dynamic\nvalues to styles created with `style9.create()`:\n@example ```ts\nimport s9 from 'style9';\nconst { styleExtend, } = s9.create({\n styleExtend: {\n color: 'var(--color-based-on-prop)',\n },\n});\n\nfunction MyButton(props) {\n const inlineStyle = {\n '--color-based-on-prop': props.color,\n },\n\n return (\n <Button\n styleExtend={[ styleExtend, ]}\n inlineStyle={inlineStyle}\n />\n );\n}\n```",name:"inlineStyle",required:!1,type:{name:"InlineStyles | undefined"}},styleExtend:{defaultValue:{value:"[]"},description:"An array of `Style`s created by `style9.create()`.\nWARNING: **_do not_** pass simple CSS-in-JS object.\nThe items in the array must be created with Style9's\n`create` function.\nThe array can also hold falsy values to assist with\nconditional inclusion of `Style`s:\n@example ```ts\nconst { foo, bar, } = s9.create({ foo: { ... }, bar: { ... }, });\n<Button styleExtend={[ someCondition && foo, bar, ]} />\n```",name:"styleExtend",required:!1,type:{name:"StyleExtend | undefined"}},caption:{defaultValue:null,description:"",name:"caption",required:!1,type:{name:"string | null | undefined"}},captionPrefix:{defaultValue:null,description:"",name:"captionPrefix",required:!1,type:{name:"string | undefined"}},credit:{defaultValue:null,description:"",name:"credit",required:!1,type:{name:"string | null | undefined"}},padded:{defaultValue:null,description:"",name:"padded",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../ds-molecules/s-caption/src/Caption.tsx#Caption"]={docgenInfo:Caption.__docgenInfo,name:"Caption",path:"../../ds-molecules/s-caption/src/Caption.tsx#Caption"})}catch(__react_docgen_typescript_loader_error){}},"../../ds-molecules/s-caption/src/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__("../../ds-molecules/s-caption/src/Caption.tsx").Z},"../../utils/s-image-utils/src/buildBaseImgSrc/buildBaseImgSrc.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function wrapWithEnvParam(url,env){return`${url}&cms${env}`}function buildBaseImgSrc(_ref){let{imgData,contentId,width,height,aspectRatio,isCropped,aspectData,env}=_ref;const path=imgData.path,subdomain=path.toLowerCase().endsWith(".gif")?"gif":"img",precropParams=[];return isCropped&&aspectData&&(precropParams.push(aspectData.width),precropParams.push(aspectData.height),precropParams.push(`x${aspectData.x}`),precropParams.push(`y${aspectData.y}`)),wrapWithEnvParam(`https://${subdomain}.haarets.co.il/bs/${contentId}/${path}?${precropParams.length?`precrop=${precropParams.join(",")}`:""}&width=${width}&height=${height||(aspectRatio&&Math.round(width/aspectRatio)||width)}`,env)}__webpack_require__.d(__webpack_exports__,{B:()=>wrapWithEnvParam,Z:()=>buildBaseImgSrc})},"../../utils/s-image-utils/src/buildBaseImgSrc/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__("../../utils/s-image-utils/src/buildBaseImgSrc/buildBaseImgSrc.ts").Z}}]);