PageSourceSearch

https://www.hidabroot.com/shorts/js/app.23bd4421.js

js hidabroot.com collected 2026-10-02 03:02:05 UTC 28,452 bytes, 1 lines download raw bytes

1(function(){var e={542:function(){},3239:function(e,t,i){"use strict";var s=i(5130),o=i(6768);function r(e,t,i,s,r,n){const a=(0,o.g2)("Home"),l=(0,o.g2)("Feed");return(0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.bF)(a,{style:{"aspect-ratio":"1 / 1",width:"100%"}}),(0,o.bF)(l)],64)}const n={id:"hdb_shorts_section",dd:""};function a(e,t,i,s,r,a){const l=(0,o.g2)("VideoComp"),d=(0,o.g2)("swiper-slide"),h=(0,o.g2)("swiper");return(0,o.uX)(),(0,o.CE)("div",n,[r.items.length?((0,o.uX)(),(0,o.Wv)(h,{key:0,"slides-per-view":1.8,"space-between":10,rtl:!1,onSwiper:a.onSwiper,onSlideChange:a.onSlideChange,ref:"mySwiper"},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(r.items,(e,t)=>((0,o.uX)(),(0,o.Wv)(d,{key:t},{default:(0,o.k6)(()=>[(0,o.bF)(l,{item:e,hideShortText:!0,playing:t===r.activeIndex,startLoading:t<=r.activeIndex+2&&t>=r.activeIndex-2},null,8,["item","playing","startLoading"])]),_:2},1024))),128)),r.activeIndex>0?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"button-prev",onClick:t[0]||(t[0]=e=>r.swiper.slidePrev())},[...t[2]||(t[2]=[(0,o.Lk)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M15 19.9201L8.47997 13.4001C7.70997 12.6301 7.70997 11.3701 8.47997 10.6001L15 4.08008",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):(0,o.Q3)("",!0),r.activeIndex<r.items.length-1?((0,o.uX)(),(0,o.CE)("div",{key:1,class:"button-next",onClick:t[1]||(t[1]=e=>r.swiper.slideNext())},[...t[3]||(t[3]=[(0,o.Lk)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M8.91003 19.9201L15.43 13.4001C16.2 12.6301 16.2 11.3701 15.43 10.6001L8.91003 4.08008",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):(0,o.Q3)("",!0)]),_:1},8,["onSwiper","onSlideChange"])):(0,o.Q3)("",!0)])}var l=i(9082),d=i(4232);const h={key:4,class:"sponsored-label"},u={key:5,class:"text_wrapper"},p=["textContent"],c=["href"];function m(e,t,i,r,n,a){const l=(0,o.g2)("VideoComp"),m=(0,o.g2)("shortText"),k=(0,o.g2)("sociLine");return(0,o.uX)(),(0,o.CE)("div",{class:"video-item",onClick:t[8]||(t[8]=e=>!i.feed&&a.openReels()),onWheel:t[9]||(t[9]=(0,s.D$)((...e)=>a.onWheel&&a.onWheel(...e),["prevent"]))},[n.showPlay?((0,o.uX)(),(0,o.CE)("div",{key:0,onClick:t[0]||(t[0]=(...e)=>a.handleClick&&a.handleClick(...e)),class:"pop-animation play"},[...t[10]||(t[10]=[(0,o.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"14",viewBox:"0 0 448 512"},[(0,o.Lk)("path",{opacity:"1",fill:"currentColor",d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"})],-1)])])):(0,o.Q3)("",!0),n.showPause?((0,o.uX)(),(0,o.CE)("div",{key:1,onClick:t[1]||(t[1]=(...e)=>a.handleClick&&a.handleClick(...e)),class:"pop-animation pause"})):(0,o.Q3)("",!0),a.muted?((0,o.uX)(),(0,o.CE)("a",{key:3,class:"unmute",onClick:t[3]||(t[3]=(0,s.D$)(e=>{a.muted=!1,a.handleFirstClick()},["prevent","stop"]))},[...t[12]||(t[12]=[(0,o.Lk)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M2 10.1595V14.1595C2 16.1595 3 17.1595 5 17.1595H6.43C6.8 17.1595 7.17 17.2695 7.49 17.4595L10.41 19.2895C12.93 20.8695 15 19.7195 15 16.7495V7.56946C15 4.58946 12.93 3.44946 10.41 5.02946L7.49 6.85946C7.17 7.04946 6.8 7.15946 6.43 7.15946H5C3 7.15946 2 8.15946 2 10.1595Z",stroke:"#292D32","stroke-width":"1.5"}),(0,o.Lk)("path",{d:"M22 14.1194L18.04 10.1594",stroke:"#292D32","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M21.96 10.1995L18 14.1595",stroke:"#292D32","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):((0,o.uX)(),(0,o.CE)("a",{key:2,class:"mute",onClick:t[2]||(t[2]=(0,s.D$)(e=>{a.muted=!0,a.handleFirstClick()},["prevent","stop"]))},[...t[11]||(t[11]=[(0,o.Lk)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M2 10V14C2 16 3 17 5 17H6.43C6.8 17 7.17 17.11 7.49 17.3L10.41 19.13C12.93 20.71 15 19.56 15 16.59V7.41003C15 4.43003 12.93 3.29003 10.41 4.87003L7.49 6.70003C7.17 6.89003 6.8 7.00003 6.43 7.00003H5C3 7.00003 2 8.00003 2 10Z",stroke:"#292D32","stroke-width":"1.5"}),(0,o.Lk)("path",{d:"M18 8C19.78 10.37 19.78 13.63 18 16",stroke:"#292D32","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M19.83 5.5C22.72 9.35 22.72 14.65 19.83 18.5",stroke:"#292D32","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])),(0,o.Lk)("div",{class:"media",onClick:t[4]||(t[4]=(...e)=>a.playPause&&a.playPause(...e))},[!0===i.playing||i.startLoading?((0,o.uX)(),(0,o.Wv)(l,{key:0,onSaveHistory:a.saveHistory,source:i.item.source,poster:i.item.pic_parsed,playing:i.playing,muted:a.muted,ref:"player"},null,8,["onSaveHistory","source","poster","playing","muted"])):((0,o.uX)(),(0,o.CE)("div",{key:1,class:"pic",style:(0,d.Tr)(e.bg(i.item.pic_parsed))},null,4))]),i.item.is_ad||i.item.is_sponsored_content?((0,o.uX)(),(0,o.CE)("div",h," תוכן ממומן ")):(0,o.Q3)("",!0),i.item.title&&""!=i.item.title||i.item.description?((0,o.uX)(),(0,o.CE)("div",u,[(0,o.Lk)("div",{class:"title",textContent:(0,d.v_)(i.item.title)},null,8,p),!i.hideShortText&&i.item.description&&""!=i.item.description?((0,o.uX)(),(0,o.Wv)(m,{key:0,text:i.item.description},null,8,["text"])):(0,o.Q3)("",!0),i.item.external_url&&""!=i.item.external_url?((0,o.uX)(),(0,o.CE)("a",{key:1,href:i.item.external_url,class:"external_btn",onClick:t[5]||(t[5]=(...t)=>e.trackAdClick&&e.trackAdClick(...t))},(0,d.v_)(i.item.is_ad||i.item.is_sponsored_content?i.item.external_url_text||i.item.cta_button?.text||"לחץ כאן":"לסרטון המלא"),9,c)):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0),!0===i.playing||i.startLoading?((0,o.uX)(),(0,o.Wv)(k,{key:6,item:i.item,onClose:t[6]||(t[6]=t=>e.$emit("close")),onFollow:t[7]||(t[7]=t=>e.$emit("follow")),ref:"soci"},null,8,["item"])):(0,o.Q3)("",!0)],32)}function k(e,t,i,r,n,a){return(0,o.uX)(),(0,o.CE)("div",{class:(0,d.C4)(["description",{collapsed:a.isCollapsed,expandable:n.isExpandable}]),ref:"contentContainer",onClick:t[0]||(t[0]=(0,s.D$)((...e)=>a.toggleExpand&&a.toggleExpand(...e),["stop"]))},null,2)}i(4114);var g={props:["text"],data(){return{expanded:!1,isExpandable:!1}},computed:{isCollapsed(){return this.isExpandable&&!this.expanded}},methods:{navigateToHash(e){const t=e.startsWith("#")?e.substring(1):e;this.$router.push(`/hash/${t}`)},toggleExpand(){this.isExpandable&&(this.expanded=!this.expanded)},renderContent(){const e=this.$refs.contentContainer;if(!e)return;e.innerHTML="";const t=/(#[\u0590-\u05FF]+)/g,i=this.text.split(t);for(let s=0;s<i.length;s++)if(s%2===0)e.appendChild(document.createTextNode(i[s]));else{const t=document.createElement("a");t.href=`${i[s]}`,t.className="hash",t.textContent=`${i[s]}`,t.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),this.navigateToHash(i[s])}),e.appendChild(t)}},checkOverflow(){this.$nextTick(()=>{const e=this.$refs.contentContainer;e&&(this.expanded=!1,this.$nextTick(()=>{this.isExpandable=e.scrollHeight>e.clientHeight+1}))})}},mounted(){this.text&&""!=this.text&&null!=this.text&&void 0!=this.text&&(this.renderContent(),this.checkOverflow())},watch:{text(){this.expanded=!1,this.isExpandable=!1,this.renderContent(),this.checkOverflow()}}},v=i(1241);const f=(0,v.A)(g,[["render",k],["__scopeId","data-v-5c6f8322"]]);var w=f;const y={style:{height:"100%"}},C=["poster"];function _(e,t,i,s,r,n){return(0,o.uX)(),(0,o.CE)("div",y,[(0,o.Lk)("video",{ref:"videoPlayer",playsinline:"",class:"video-js wzplayer",loop:"",preload:"auto",poster:i.poster},null,8,C)])}var b={props:["source","poster","playing","muted"],name:"VideoPlayer",data(){return{player:!1,currentTime:0,options:{muted:this.muted,autoplay:this.playing,controls:!1,hasWatchedFiveSeconds:!1,sources:this.source}}},mounted(){this.$nextTick(()=>
1{this.player=this.$videojs(this.$refs.videoPlayer,this.options,()=>{this.player.on("timeupdate",this.handleTimeUpdate)})})},methods:{handleTimeUpdate(){this.playing?this.player.currentTime()>5&&!this.hasWatchedFiveSeconds&&(this.hasWatchedFiveSeconds=!0,this.player.off("timeupdate",this.handleTimeUpdate)):this.player&&this.player.pause()},play(){this.player&&(this.player.paused()&&this.player.readyState()>=3||this.isIOS()?this.player.play():this.player.one("canplay",()=>{console.log("canplay"),this.player.play()}))},pause(){this.player&&this.player.pause()},playPause(){this.player&&(this.player.paused()?this.play():this.pause())}},beforeUnmount(){this.player&&this.player.dispose()},watch:{muted(e){this.player&&this.player.muted(e)}}};const x=(0,v.A)(b,[["render",_]]);var L=x;const $={class:"sociLine"};function S(e,t,i,s,r,n){const a=(0,o.g2)("AdvertisingTags");return(0,o.uX)(),(0,o.CE)("div",$,[(0,o.bF)(a)])}const T={class:"advertising_tags"},E=["onClick","textContent"];function O(e,t,i,s,r,n){return(0,o.uX)(),(0,o.CE)("div",T,[(0,o.Lk)("ul",null,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(n.tags,e=>((0,o.uX)(),(0,o.CE)("li",{onClick:t=>n.tagClick(e),key:e.id,textContent:(0,d.v_)("# "+e.content)},null,8,E))),128))])])}var M={computed:{tags(){return this.$store.state.advertising_tags||[]}},methods:{tagClick(e){this.api({action:"advertising_tag_click",data:{id:e.id}}),e.link&&window.open(e.link,"_blank")}}};const P=(0,v.A)(M,[["render",O],["__scopeId","data-v-3f5c3fd4"]]);var j=P,A={components:{AdvertisingTags:j},emits:["close","follow"],props:{item:{type:Object,required:!0}},data(){return{itemObj:this.item,showComments:!1,showEdit:!1}},methods:{closeMenu(){setTimeout(()=>{this.menshowEdituItem=!1},200)}},mounted(){this.$bus.$on("add_comment",e=>
1{e.comment.item_id==this.itemObj.id&&(this.itemObj.ttl_comments=+this.itemObj.ttl_comments+1)})}};const I=(0,v.A)(A,[["render",S],["__scopeId","data-v-ec4fb3ca"]]);var X=I,F={props:{feed:{type:Boolean,default:!1},item:{type:Object,required:!0},playing:{type:Boolean,default:!1},startLoading:{type:Boolean,default:!1},hideShortText:{type:Boolean,default:!1}},components:{VideoComp:L,sociLine:X,shortText:w},data(){return{currentTime:0,alreadLoaded:!1,disableWheel:!1,clickTimer:null,showPlay:!1,showPause:!1}},mounted(){(this.playing||this.startLoading)&&(this.alreadLoaded=!0),this.playing&&this.$nextTick(this.play),this.$bus.$on("stopAllVideos",this.stop)},computed:{muted:{get(){return this.feed?this.$store.state.feedMute:this.$store.state.mute},set(e){this.feed?this.$store.state.feedMute=e:this.$store.state.mute=e}}},methods:{onWheel(e){this.disableWheel||(this.disableWheel=!0,setTimeout(()=>{this.disableWheel=!1},2e3),e.deltaY>0?this.$emit("next"):this.$emit("prev"))},handleFirstClick(){this.$store.state.firstClick||(this.$store.state.firstClick=!0,this.addView(!0))},handleClick(){this.handleFirstClick(),null==this.clickTimer?this.clickTimer=setTimeout(()=>{this.clickTimer=null,this.playPause()},250):(clearTimeout(this.clickTimer),this.clickTimer=null)},openReels(){this.handleFirstClick(),this.$bus.$emit("feed",this.item.id),this.stop(),this.$bus.$emit("stopAllVideos")},saveHistory(){},addView(e=!1){this.$store.state.firstClick&&(this.viewAdded||(this.viewTimer=setTimeout(()=>{this.api({action:"add_view",data:{item_id:this.item.id}}),this.viewAdded=!0},e?0:3e3)))},replaceHashWithRouterLink(e){return e.replace(/#([\u0590-\u05FF]+)/g,'<router-link to="hash/$1">$1</router-link>')},play(){this.$refs.player&&this.$refs.player.play()},stop(){this.$refs.player?(this.$refs.player.pause(),this.$refs.player.player.currentTime(0)):this.$nextTick(()=>{this.$refs.player&&(this.$refs.player.pause(),this.$refs.player.player.currentTime(0))})},playPause(){this.$refs.player&&(this.$refs.player.player.paused()?(this.$refs.player.player.play(),this.showPlay=!1):(this.$refs.player.player.pause(),this.showPlay=!0))}},watch:{playing(){this.playing?(this.addView(),this.$nextTick(()=>{!0===this.playing&&this.$refs.player&&this.$refs.player.play()})):this.stop()},startLoading(){this.startLoading&&(this.alreadLoaded=!0)}}};const B=(0,v.A)(F,[["render",m],["__scopeId","data-v-7d2f4059"]]);var D=B,V={components:{Swiper:l.RC,SwiperSlide:l.qr,VideoComp:D},data(){return{items:[],swiper:null,activeIndex:0}},mounted(){this.api({action:"videos/results",data:{order:["date_created DESC"],limit:30}},e=>{this.items=e.data.items,this.$nextTick(()=>{})})},methods:{onSwiper(e){this.swiper=e},onSlideChange(){this.$store.state.firstClick=!0,this.activeIndex=this.swiper.activeIndex,console.log(this.activeIndex)}}};const N=(0,v.A)(V,[["render",a],["__scopeId","data-v-0c556097"]]);var W=N;const H={key:0,class:"dark_bg"},Q={class:"desktop_nav"};function z(e,t,i,r,n,a){const l=(0,o.g2)("VideoComp"),d=(0,o.g2)("SplideSlide"),h=(0,o.g2)("Splide");return(0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.bF)(s.eB,{name:"fade"},{default:(0,o.k6)(()=>[n.loaded?((0,o.uX)(),(0,o.CE)("div",H)):(0,o.Q3)("",!0)]),_:1}),(0,o.bF)(s.eB,{name:"slide-up"},{default:(0,o.k6)(()=>[n.loaded?((0,o.uX)(),(0,o.CE)("div",{key:0,id:"feed_page",onClick:t[9]||(t[9]=(...e)=>a.close&&a.close(...e))},[t[15]||(t[15]=(0,o.Lk)("a",{class:"download_app",href:"https://www.hidabroot.org/bit/bEaB",target:"_blank"},[(0,o.Lk)("div",{class:"logo"},[(0,o.Lk)("img",{src:"https://www.hidabroot.org/themes/HDB/images/small_logo.png",alt:"logo"})]),(0,o.Lk)("span",null,"Download Shorts app")],-1)),(0,o.Lk)("div",{class:"close",onClick:t[0]||(t[0]=(...e)=>a.close&&a.close(...e))},[...t[10]||(t[10]=[(0,o.Lk)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M9.16998 14.83L14.83 9.17004",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M14.83 14.83L9.16998 9.17004",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),(0,o.Lk)("div",{class:"reels_wrapper",onClick:t[8]||(t[8]=(0,s.D$)(()=>{},["stop"]))},[(0,o.Lk)("div",{class:"order_options",onClick:t[3]||(t[3]=(0,s.D$)(()=>{},["stop"]))},["shuffle"==n.order?((0,o.uX)(),(0,o.CE)("a",{key:0,onClick:t[1]||(t[1]=e=>a.changeOrder("date"))},[...t[11]||(t[11]=[(0,o.Lk)("div",null,[(0,o.Lk)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M3 17.9799L5.54999 17.9899C6.45999 17.9899 7.31 17.5399 7.81 16.7899L14.2 7.20994C14.7 6.45994 15.55 5.99993 16.46 6.00993L21.01 6.02994",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M19 19.98L21 17.98",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M8.89001 8.61993L7.81 7.11993C7.3 6.40993 6.47999 5.98993 5.60999 5.99993L3 6.00994",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M12.97 15.3799L14.19 16.9499C14.7 17.6099 15.5 17.9999 16.34 17.9999L21.01 17.9799",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M21 6.02002L19 4.02002",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),(0,o.Lk)("label",null,"Random",-1)])])):((0,o.uX)(),(0,o.CE)("a",{key:1,onClick:t[2]||(t[2]=e=>a.changeOrder("shuffle"))},[...t[12]||(t[12]=[(0,o.Lk)("div",null,[(0,o.Lk)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.Lk)("path",{d:"M12 2V22",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.Lk)("path",{d:"M5 9L12 2L19 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),(0,o.Lk)("label",null,"New",-1)])]))]),(0,o.Lk)("div",Q,[(0,o.Lk)("a",{class:"prev",onClick:t[4]||(t[4]=e=>n.splide.go("-"))},[...t[13]||(t[13]=[(0,o.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},[(0,o.Lk)("path",{d:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0l-96.4-96.4-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.2-9.4 24.4-9.4 33.8 0z"})],-1)])]),(0,o.Lk)("a",{class:"next",onClick:t[5]||(t[5]=e=>n.splide.go("+"))},[...t[14]||(t[14]=[(0,o.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},[(0,o.Lk)("path",{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"})],-1)])])]),(0,o.bF)(h,{ref:"splide",options:n.slideOptions,style:{height:"100%"}},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(n.videos,(e,i)=>((0,o.uX)(),(0,o.Wv)(d,{key:e.id},{default:(0,o.k6)(()=>[(0,o.bF)(l,{feed:!0,item:e,playing:i===n.activeSlide,startLoading:i<=n.activeSlide+2&&i>=n.activeSlide-2,onNext:t[6]||(t[6]=e=>n.splide.go("+")),onPrev:t[7]||(t[7]=e=>n.splide.go("-"))},null,8,["item","playing","startLoading"])]),_:2},1024))),128))]),_:1},8,["options"])])])):(0,o.Q3)("",!0)]),_:1})],64)}i(7642),i(8004),i(3853),i(5876),i(2475),i(5024),i(1698);var q=i(2157),R={props:{hash:{type:Number,required:!1,default:0},currLimit:{type:Number,required:!1,default:0},startIndex:{type:Number,required:!1,default:0}},components:{Splide:q.eB,SplideSlide:q.Nn,VideoComp:D},data(){return{id:!1,logo:i(7541),seed:!1,splide:!1,activeSlide:!1,slideOptions:{rewind:!0,direction:"ttb",height:"var(--reels-height)",width:"100%",perPage:1,pagination:!1,arrows:!1,start:this.startIndex},videos:[],page:0,loaded:!1,isLoading:!1,finishLoad:!1,limit:10,order:"date",viewedSlides:new Set}},computed:{},mounted(){this.$bus.$on("feed",e=>{document.location.hash="feed",window.onpopstate=()=>{this.close()},this.$store.state.mute=!0,this.$store.state.feedMute=!1,this.id=e,this.loadVideos(),document.body.style.overflow="hidden",this.is_mobile()?window.wz_analytics?.add("mbl_shorts_feed",1,"click"):window.wz_analytics?.add("shorts_feed",1,"click")}),this.$bus.$on("disableSplide",()=>{this.disableSplide()}),this.$bus.$on("enableSplide",()=>{this.enableSplide()})},methods:{changeOrder(e){this.order=e,this.videos=[],this.page=0,this.seed=!1,this.finishLoad=!1,this.id=!1,this.viewedSlides.clear(),this.loadVideos()},loadVideos(){if(this.isLoading)return;this.isLoading=!0;let e={};this.hash&&this.hash>0&&(e.hash=this.hash),e.page=this.page,this.id>0&&(e.first_id=this.id),e.limit=this.currLimit&&this.currLimit>0?this.currLimit:this.limit,this.seed&&(e.seed=this.seed),"shuffle"==this.order?e.order="":e.order="date_created DESC",this.api({action:"videos/results",data:e},e=>{e.data.seed&&(this.seed=e.data.seed);let t=0==this.videos.length;e.data.items.length<this.limit&&(this.finishLoad=!0),e.data&&e.data.items&&e.data.items.length>0&&this.videos.push(...e.data.items),t&&(this.activeSlide=this.startIndex,this.loaded=!0,this.initializeSplideEvents()),this.isLoading=!1})},close(){this.loaded=!1,this.videos=[],this.page=0,this.finishLoad=!1,this.activeSlide=!1,this.viewedSlides.clear(),document.body.style.overflow="auto"},checkStartLoading(e){return!!this.splide&&Math.abs(this.splide.index-e)<=2},disableSplide(){this.$nextTick(()=>{this.$refs.splide&&this.$refs.splide.splide&&this.$refs.splide.splide.Components.Drag&&this.$refs.splide.splide.Components.Drag.disable(!0)})},enableSplide(){this.$nextTick(()=>{this.$refs.splide&&this.$refs.splide.splide&&this.$refs.splide.splide.Components.Drag&&this.$refs.splide.splide.Components.Drag.disable(!1)})},checkProgress(e){let t=this.videos.length;Math.abs(t-e)<=5&&(this.page++,this.loadVideos())},trackAdvertisingTagsView(e){!1===e||this.viewedSlides.has(e)||(this.viewedSlides.add(e),this.api({action:"advertising_tags_view"}))},initializeSplideEvents(){this.$nextTick(()=>{this.$refs.splide&&this.$refs.splide.splide&&(this.splide=this.$refs.splide.splide,this.splide.on("move",e=>{this.activeSlide=e,this.finishLoad||this.checkProgress(e),this.trackAdvertisingTagsView(e)}),this.trackAdvertisingTagsView(this.activeSlide))})}}};const K=(0,v.A)(R,[["render",z],["__scopeId","data-v-4a4576f7"]]);var U=K,Z={name:"App",components:{Home:W,Feed:U},mounted(){this.loadInitialData()},methods:{loadInitialData(){this.api({action:"general"},e=>{this.$store.state.advertising_tags=e.data.advertising_tags})}}};const Y=(0,v.A)(Z,[["render",r]]);var G=Y,J=i(782),ee=(0,J.y$)({state:{mute:!0,feedMute:!1,firstClick:!1},getters:{},mutations:{},actions:{},modules:{}});const te={data(){return{site_url:"https://www.tiktok.hidabroot.org/"}}
1,computed:{vipMode(){return!0},isApp(){return!this.isNull(window.cordova)&&0!=window.cordova}},methods:{isIOS(){return this.is_mobile()&&"iOS"==this.getMobileOperatingSystem()},applyCordova(e){window.deviceReadyFired?e():document.addEventListener("deviceready",e)},share(e){if(this.isApp){var t={url:e,message:"סרטון שאהבתי"},i=function(){},s=function(){};window.plugins.socialsharing.shareWithOptions(t,i,s)}else if(navigator.share)navigator.share({title:"סרטון שאהבתי",text:"צפה בסרטון הזה",url:e}).then(()=>console.log("Shared successfully")).catch(e=>console.log("Error sharing:",e));else{const t=document.createElement("input");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t),alert("הקישור הועתק ללוח")}},browser(e){window.openBrowser(e,"_system")},userToken(){return!this.isNull(localStorage.getItem("user_token"))},bg(e){return"background-image:url("+e+")"},validate_id(e){return 0!=e&&!this.isNull(e)},logout(){localStorage.removeItem("user_token"),this.$bus.$emit("reload","/")},requireLogin(){return!!this.get_me()||(this.alert(this.get_word("need_to_login")),!1)},get_me(){return!this.isNull(this.$store.user)&&this.$store.user},get_word(e){return this.$store.words[e]},get_param(e,t,i){return this.isNull(this.$store.params[e])||this.isNull(this.$store.params[e].values[t])?"":"female"==i?this.$store.params[e].values[t].name_female:this.$store.params[e].values[t].name},get_param_values(e,t){if(this.isNull(this.$store.params[e]))return[];let i=[];for(let s in this.$store.params[e].values){let o=this.$store.params[e].values[s];i.push({id:o.id,value:o.value,name:"female"==t?o.name_female:o.name})}return i},get_search_param_values(e,t){if(this.isNull(this.$store.search_bar_params[e]))return[];let i=[];for(let s in this.$store.search_bar_params[e].values){let o=this.$store.search_bar_params[e].values[s];i.push({id:o.id,value:o.value,name:"female"==t?o.name_female:o.name})}return i},list_get_value(e,t){for(let i in e)if(e[i].id==t)return e[i].text;return""},format_number:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},isNull:function(e){return""==e||null==e||void 0==e},alert(e){this.$swal.fire({html:e,confirmButtonText:"אוקי",showCloseButton:!0})},goToHome(){this.$router.push("/")},toast(e,t="success",i="my_toast"){if(!this.isApp)return this.$swal.fire({icon:t,text:e,toast:!0,position:"bottom-start",showConfirmButton:!1,customClass:{container:i},timer:3e3});window.plugins.toast.showShortTop(e)},pushIfNotExist(e,t){-1==e.indexOf(t)&&e.push(t)},pushOrPull(e,t){var i=e.indexOf(t);-1==i?e.push(t):e.splice(i,1)},inArray(e,t){return-1!=e.indexOf(t)},set_user_token(e){localStorage.setItem("user_token",e);var t=new Date;t.setMonth(t.getMonth()+12);let i="app_user",s=""==e?"0":"1";document.cookie=i+"="+s+";expires="+t+";domain=.7brachot.co.il;path=/"},api(e,t,i){this.isNull(t)&&(t=function(){});var s={"Content-Type":"application/json; charset=utf-8"};this.isNull(localStorage.getItem("user_token"))||(s.Authorization=localStorage.getItem("user_token"));const o=this.axios.CancelToken.source();if("get"==e.method){let r=e.action;if(r+=-1===r.indexOf("?")?"?":"&",r=r+"ts="+(new Date).getHours()+"_"+((new Date).getMinutes()<30?"0":"30"),!this.isNull(e.data))for(let t in e.data)r+="&"+t+"="+e.data[t];this.axios.get(window.api_url+r,{headers:s,cancelToken:o.token}).then(e=>{"error"==e.data&&(this.set_user_token(""),document.location.reload()),"shabat"!=e.data.data?t(e.data):this.alert("שבת שלום, האתר יהיה פעיל שוב בצאת השבת :)")},e=>{this.isNull(i)||i(e)})}else this.axios.post(window.api_url+e.action,e.data,{headers:s,cancelToken:o.token}).then(e=>{"error"==e.data&&(this.set_user_token(""),this.$bus.$emit("reload")),"shabat"!=e.data.data?t(e.data):this.alert("שבת שלום, האתר יהיה פעיל שוב בצאת השבת :)")},e=>{this.isNull(i)||i(e)});return o},is_mobile(){const e=navigator.userAgent.toLowerCase(),t=/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))
1/.test(e);if(t)return!1;const i=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i];return i.some(e=>navigator.userAgent.match(e))},update_location(){navigator.geolocation.getCurrentPosition(e=>{this.api({action:"user/update_location",data:{lat:e.coords.latitude,lon:e.coords.longitude}},()=>{})})},getMobileOperatingSystem(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"Windows Phone":/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":"unknown"}}};var ie=te;i(8111),i(7588);class se{constructor(){this.events={}}$on(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}$off(e,t){if(this.events[e])for(var i=0;i<this.events[e].length;i++)if(this.events[e][i]===t){this.events[e].splice(i,1);break}}$emit(e,t){this.events[e]&&this.events[e].forEach(function(e){e(t)})}}var oe=new se,re=i(4373),ne=i(6942),ae=i(6895);window.api_url="https://www.hidabroot.com/api_shorts/";const le=(0,s.Ef)(G).use(ee);le.mixin(ie),le.use(ne.A,re.A),le.use(q.Ay),le.config.globalProperties.$videojs=ae.A,le.config.globalProperties.$bus=oe,le.mount("#app_hdb_shorts")},7541:function(e,t,i){"use strict";e.exports=i.p+"img/small_logo.326276df.png"}},t={};function i(s){var o=t[s];if(void 0!==o)return o.exports;var r=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,function(){i.amdO={}}(),function(){var e=[];i.O=function(t,s,o,r){if(!s){var n=1/0;for(h=0;h<e.length;h++){s=e[h][0],o=e[h][1],r=e[h][2];for(var a=!0,l=0;l<s.length;l++)(!1&r||n>=r)&&Object.keys(i.O).every(function(e){return i.O[e](s[l])})?s.splice(l--,1):(a=!1,r<n&&(n=r));if(a){e.splice(h--,1);var d=o();void 0!==d&&(t=d)}}return t}r=r||0;for(var h=e.length;h>0&&e[h-1][2]>r;h--)e[h]=e[h-1];e[h]=[s,o,r]}}(),function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.hmd=function(e){return e=Object.create(e),e.children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e}}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){i.p="/"}(),function(){var e={524:0};i.O.j=function(t){return 0===e[t]};var t=function(t,s){var o,r,n=s[0],a=s[1],l=s[2],d=0;if(n.some(function(t){return 0!==e[t]})){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);if(l)var h=l(i)}for(t&&t(s);d<n.length;d++)r=n[d],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(h)},s=self["webpackChunkshorts_in_site"]=self["webpackChunkshorts_in_site"]||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))}();var s=i.O(void 0,[504],function(){return i(3239)});s=i.O(s)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.