PageSourceSearch

https://tahakom.com/760.5c224b4eba181e13.js

js tahakom.com collected 2026-10-06 04:50:30 UTC 9,568 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktahakom_website=self.webpackChunktahakom_website||[]).push([[760],{2493:(O,S,s)=>{s.d(S,{R:()=>v});var u=s(4650);let v=(()=>{class y{transform(h){return(h=h.split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/))[2]?h[2].split(/[^0-9a-z_\-]/i)[0]:h[0]}}return y.\u0275fac=function(h){return new(h||y)},y.\u0275pipe=u.Yjl({name:"videoId",type:y,pure:!0}),y})()},7408:(O,S,s)=>{s.d(S,{D:()=>U,e:()=>ce});var u=s(4650),v=s(6895),y=s(7579),c=s(1135),h=s(9646),b=s(9751),C=s(576),E=s(3268);function L(t,n,e){return e?L(t,n).pipe((0,E.Z)(e)):new b.y(i=>{const a=(...l)=>i.next(1===l.length?l[0]:l),r=t(a);return(0,C.m)(n)?()=>n(a,r):void 0})}var g=s(9841),T=s(9635),F=s(6451),Y=s(5698),x=s(8675),B=s(8505),V=s(2722),X=s(4033),N=s(8421),R=s(4482);const G={connector:()=>new y.x};function k(t,n=G){const{connector:e}=n;return(0,R.e)((i,a)=>{const r=e();(0,N.Xf)(t(function Z(t){return new b.y(n=>t.subscribe(n))}(r))).subscribe(a),a.add(i.subscribe(r))})}var H=s(3900),J=s(5577),_=s(1365),m=s(4004),K=s(5026),$=s(1884),q=s(5797),ee=s(3269);function D(...t){const n=(0,ee.jO)(t);return n?(0,T.z)(D(...t),(0,E.Z)(n)):(0,R.e)((e,i)=>{(0,g.l)([e,...(0,q.k)(t)])(i)})}var te=s(5403),ie=s(9300);const ae=["youtubeContainer"];let U=(()=>{class t{constructor(e,i){this._ngZone=e,this._youtubeContainer=new y.x,this._destroyed=new y.x,this._playerChanges=new c.X(void 0),this._videoId=new c.X(void 0),this._height=new c.X(390),this._width=new c.X(640),this._startSeconds=new c.X(void 0),this._endSeconds=new c.X(void 0),this._suggestedQuality=new c.X(void 0),this._playerVars=new c.X(void 0),this.ready=this._getLazyEmitter("onReady"),this.stateChange=this._getLazyEmitter("onStateChange"),this.error=this._getLazyEmitter("onError"),this.apiChange=this._getLazyEmitter("onApiChange"),this.playbackQualityChange=this._getLazyEmitter("onPlaybackQualityChange"),this.playbackRateChange=this._getLazyEmitter("onPlaybackRateChange"),this._isBrowser=(0,v.NF)(i)}get videoId(){return this._videoId.value}set videoId(e){this._videoId.next(e)}get height(){return this._height.value}set height(e){this._height.next(e||390)}get width(){return this._width.value}set width(e){this._width.next(e||640)}set startSeconds(e){this._startSeconds.next(e)}set endSeconds(e){this._endSeconds.next(e)}set suggestedQuality(e){this._suggestedQuality.next(e)}get playerVars(){return this._playerVars.value}set playerVars(e){this._playerVars.next(e)}ngOnInit(){if(!this._isBrowser)return;let e=(0,h.of)(!0);if(!window.YT||!window.YT.Player){const a=new y.x;this._existingApiReadyCallback=window.onYouTubeIframeAPIReady,window.onYouTubeIframeAPIReady=()=>{this._existingApiReadyCallback&&this._existingApiReadyCallback(),this._ngZone.run(()=>a.next(!0))},e=a.pipe((0,Y.q)(1),(0,x.O)(!1))}const i=function le(t,n,e,i,a,r,l){const f=(0,g.a)([n,r]).pipe((0,_.M)((0,g.a)([i,a])),(0,m.U)(([p,A])=>{const[o,d]=p,[P,I]=A;return o?{videoId:o,playerVars:d,width:P,height:I}:void 0}));return(0,g.a)([t,f,(0,h.of)(l)]).pipe(function de(t){return(0,T.z)(D(t),function ne(t){return(0,R.e)((n,e)=>{let i=!1,a=0;n.subscribe((0,te.x)(e,r=>(i||(i=!t(r,a++)))&&e.next(r)))})}(([n,e])=>!e),(0,m.U)(([n])=>n))}(e),(0,K.R)(ue,void 0),(0,$.x)())}(this._youtubeContainer,this._videoId,e,this._width,this._height,this._playerVars,this._ngZone).pipe((0,B.b)(a=>{this._playerChanges.next(a)}),function oe(t){return(0,J.z)(n=>n?z(n)?(0,h.of)(n):new b.y(e=>{let i=!1,a=!1;const r=l=>{a=!0,i||(l.target.removeEventListener("onReady",r),e.next(l.target))};return n.addEventListener("onReady",r),()=>{i=!0,a||t(n)}}).pipe((0,Y.q)(1),(0,x.O)(void 0)):(0,h.of)(void 0))}(a=>{z(a)||a.destroy()}),(0,V.R)(this._destroyed),function W(t){return t?n=>k(t)(n):n=>function j(t,n){const e=(0,C.m)(t)?t:()=>t;return(0,C.m)(n)?k(n,{connector:e}):i=>new X.c(i,e)}(new y.x)(n)}());i.subscribe(a=>{this._player=a,a&&this._pendingPlayerState&&this._initializePlayer(a,this._pendingPlayerState),this._pendingPlayerState=void 0}),function se(t,n,e){(0,g.a)([t,n,e]).subscribe(([i,a,r])=>i&&i.setSize(a,r))}(i,this._width,this._height),function re(t,n){(0,g.a)([t,n]).subscribe(([e,i])=>e&&i&&e.setPlaybackQuality(i))}(i,this._suggestedQuality),function he(t,n,e,i,a,r){const l=(0,g.a)([e,i]).pipe((0,m.U)(([o,d])=>({startSeconds:o,endSeconds:d}))),f=l.pipe(w(t,o=>!!o&&!function ye(t){const n=t.getPlayerState();return n!==YT.PlayerState.UNSTARTED&&n!==YT.PlayerState.CUED}(o))),p=n.pipe(w(t,(o,d)=>
1!!o&&o.videoId!==d)),A=t.pipe(w((0,g.a)([n,l]),([o,d],P)=>!(!P||o==P.videoId&&!d.startSeconds&&!d.endSeconds)));(0,F.T)(A,p,f).pipe((0,_.M)((0,g.a)([t,n,l,a])),(0,m.U)(([o,d])=>d),(0,V.R)(r)).subscribe(([o,d,P,I])=>{!d||!o||(o.videoId=d,o.cueVideoById({videoId:d,suggestedQuality:I,...P}))})}(i,this._videoId,this._startSeconds,this._endSeconds,this._suggestedQuality,this._destroyed),i.connect()}ngAfterViewInit(){this._youtubeContainer.next(this.youtubeContainer.nativeElement)}ngOnDestroy(){this._player&&(this._player.destroy(),window.onYouTubeIframeAPIReady=this._existingApiReadyCallback),this._playerChanges.complete(),this._videoId.complete(),this._height.complete(),this._width.complete(),this._startSeconds.complete(),this._endSeconds.complete(),this._suggestedQuality.complete(),this._youtubeContainer.complete(),this._playerVars.complete(),this._destroyed.next(),this._destroyed.complete()}playVideo(){this._player?this._player.playVideo():this._getPendingState().playbackState=YT.PlayerState.PLAYING}pauseVideo(){this._player?this._player.pauseVideo():this._getPendingState().playbackState=YT.PlayerState.PAUSED}stopVideo(){this._player?this._player.stopVideo():this._getPendingState().playbackState=YT.PlayerState.CUED}seekTo(e,i){this._player?this._player.seekTo(e,i):this._getPendingState().seek={seconds:e,allowSeekAhead:i}}mute(){this._player?this._player.mute():this._getPendingState().muted=!0}unMute(){this._player?this._player.unMute():this._getPendingState().muted=!1}isMuted(){return this._player?this._player.isMuted():!!this._pendingPlayerState&&!!this._pendingPlayerState.muted}setVolume(e){this._player?this._player.setVolume(e):this._getPendingState().volume=e}getVolume(){return this._player?this._player.getVolume():this._pendingPlayerState&&null!=this._pendingPlayerState.volume?this._pendingPlayerState.volume:0}setPlaybackRate(e){if(this._player)return this._player.setPlaybackRate(e);this._getPendingState().playbackRate=e}getPlaybackRate(){return this._player?this._player.getPlaybackRate():this._pendingPlayerState&&null!=this._pendingPlayerState.playbackRate?this._pendingPlayerState.playbackRate:0}getAvailablePlaybackRates(){return this._player?this._player.getAvailablePlaybackRates():[]}getVideoLoadedFraction(){return this._player?this._player.getVideoLoadedFraction():0}getPlayerState(){if(this._isBrowser&&window.YT)return this._player?this._player.getPlayerState():this._pendingPlayerState&&null!=this._pendingPlayerState.playbackState?this._pendingPlayerState.playbackState:YT.PlayerState.UNSTARTED}getCurrentTime(){return this._player?this._player.getCurrentTime():this._pendingPlayerState&&this._pendingPlayerState.seek?this._pendingPlayerState.seek.seconds:0}getPlaybackQuality(){return this._player?this._player.getPlaybackQuality():"default"}getAvailableQualityLevels(){return this._player?this._player.getAvailableQualityLevels():[]}getDuration(){return this._player?this._player.getDuration():0}getVideoUrl(){return this._player?this._player.getVideoUrl():""}getVideoEmbedCode(){return this._player?this._player.getVideoEmbedCode():""}_getPendingState(){return this._pendingPlayerState||(this._pendingPlayerState={}),this._pendingPlayerState}_initializePlayer(e,i){const{playbackState:a,playbackRate:r,volume:l,muted:f,seek:p}=i;switch(a){case YT.PlayerState.PLAYING:e.playVideo();break;case YT.PlayerState.PAUSED:e.pauseVideo();break;case YT.PlayerState.CUED:e.stopVideo()}null!=r&&e.setPlaybackRate(r),null!=l&&e.setVolume(l),null!=f&&(f?e.mute():e.unMute()),null!=p&&e.seekTo(p.seconds,p.allowSeekAhead)}_getLazyEmitter(e){return this._playerChanges.pipe((0,H.w)(i=>i?L(a=>{i.addEventListener(e,a)},a=>{try{i.removeEventListener&&i.removeEventListener(e,a)}catch{}}):(0,h.of)()),i=>new b.y(a=>i.subscribe({next:r=>this._ngZone.run(()=>a.next(r)),error:r=>
1a.error(r),complete:()=>a.complete()})),(0,V.R)(this._destroyed))}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.R0b),u.Y36(u.Lbi))},t.\u0275cmp=u.Xpm({type:t,selectors:[["youtube-player"]],viewQuery:function(e,i){if(1&e&&u.Gf(ae,5),2&e){let a;u.iGM(a=u.CRH())&&(i.youtubeContainer=a.first)}},inputs:{videoId:"videoId",height:"height",width:"width",startSeconds:"startSeconds",endSeconds:"endSeconds",suggestedQuality:"suggestedQuality",playerVars:"playerVars",showBeforeIframeApiLoads:"showBeforeIframeApiLoads"},outputs:{ready:"ready",stateChange:"stateChange",error:"error",apiChange:"apiChange",playbackQualityChange:"playbackQualityChange",playbackRateChange:"playbackRateChange"},decls:2,vars:0,consts:[["youtubeContainer",""]],template:function(e,i){1&e&&u._UZ(0,"div",null,0)},encapsulation:2,changeDetection:0}),t})();function ue(t,[n,e,i]){if(t&&e&&t.playerVars!==e.playerVars)t.destroy();else{if(!e)return void(t&&t.destroy());if(t)return t}const a=i.runOutsideAngular(()=>new YT.Player(n,e));return a.videoId=e.videoId,a.playerVars=e.playerVars,a}function z(t){return"getPlayerStatus"in t}function w(t,n){return(0,T.z)((0,_.M)(t),(0,ie.h)(([e,i])=>n(i,e)),(0,m.U)(([e])=>e))}let ce=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({}),t})()}}]);

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.