PageSourceSearch

https://nouw.com/assets/instagram-ONW6OBdu.js

js nouw.com collected 2026-10-01 11:24:56 UTC 2,257 bytes, 1 lines download raw bytes

1import{zi as e}from"./index-BovpZL4f.js";import{i as t}from"./module-D1roeINC.js";var n={InstagramUserID:1,InstagramUserToken:2,InstagramUserName:4,InstagramLastUpdateDate:5,FollowersCount:6,Title:7,ErrorMessage:9,Style:10,MediasCount:11,CachedFeedData:12,TitleVisibility:13,Offset:14},r={Hidden:0,Visible:1},i={List:0,Slide:1,SimpleList:2},a=e=>{let a=t(e,n.Title),o=t(e,n.Offset),s=t(e,n.TitleVisibility),c=t(e,n.Style),l=t(e,n.MediasCount),u=t(e,n.ErrorMessage),d=t(e,n.InstagramUserName),f=t(e,n.InstagramLastUpdateDate),p={title:a?a.Value:void 0,skipCount:o?parseInt(o.Value||`0`,10):0,titleVisibility:s?parseInt(s.Value||r.Visible.toString(),10):!e||e.Column!==5&&e.Column!==4?r.Visible:r.Hidden,style:c?parseInt(c.Value||i.SimpleList.toString(),10):i.SimpleList,mediasCount:l?Math.max(1,Math.min(10,parseInt(l.Value||`7`,10))):7,errorMessage:u?u.Value:void 0,instagramUserName:d?d.Value:void 0,isConnected:!1,isExpiredConnection:!1,data:[]};p.style===i.List&&p.mediasCount%2==0&&(p.mediasCount+=1),p.data=(()=>{let r=t(e,n.CachedFeedData),i=[];if(!r||!r.Value)return i;try{let e=JSON.parse(r.Value);if(e.items_basic_display)i=e.items_basic_display.map(e=>{let t=e.item;return{Width:0,Height:0,Name:t.caption||t.username,Poster:t.thumbnail_url,Url:t.media_url}});else{let t=[];t=e.items?e.items.map(e=>e.item):e,i=t.map(e=>({Width:e.images.standard_resolution.width,Height:e.images.standard_resolution.height,Name:``,Poster:e.videos?e.images.standard_resolution.url:void 0,Url:e.videos&&e.videos.standard_resolution?e.videos.standard_resolution.url:e.images.standard_resolution.url}))}}catch{}let a=p.skipCount;return Array.isArray(i)||(i=[]),i=i.slice(a,a+p.mediasCount),i})(),p.instagramUserUrl=p.instagramUserName?`https://instagram.com/`+encodeURIComponent(p.instagramUserName):void 0,p.isConnected=!!p.instagramUserName;let m=f?f.Value:void 0;return p.isExpiredConnection=p.errorMessage===`BadRequest`||p.errorMessage===`APINotAllowedError`||!!m&&new Date(m)<new Date(`2020-07-05 00:00`),p},o=()=>`1053512648376974`,s=t=>{let n=`https://instagram.com/oauth/authorize/?client_id=${o()}&redirect_uri=${encodeURIComponent(e(`/instagramconnect`))}&response_type=code`;return n+=`&scope=user_profile,user_media`,n};export{a as i,r as n,s as r,i as 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.