PageSourceSearch

https://thefilipinodoctor.com/assets/PublicationListPageComponent-D-z1BiRS.js

js thefilipinodoctor.com collected 2026-10-03 22:15:22 UTC 4,414 bytes, 1 lines download raw bytes

1import{a$ as p,aY as f,b8 as g,aF as n,dT as j,aq as t,aH as s,aQ as b,aP as x,aL as N,dU as v,dV as y,ba as P,aX as w,bg as C}from"./index-C9osrjqo.js";import{P as L}from"./PlaceHolderComponent-III2UueZ.js";import{R as S}from"./RightSideBarComponent-DBpVYivU.js";import{L as _}from"./layoutThreeColumnComponent-lUnRSffq.js";import{P as E}from"./page-8lcS2MO2.js";const k=()=>{p.useEffect(()=>{const a="https://medicommpacific.com/";typeof window<"u"&&(window.location.href=a)},[]);const e=f(),o=g(),l=N(),c=n(j),i=n(t.selectEditionMeta),r=n(t.selectEditionIsLoading),m=a=>{const d=`/publication/${a}`;e(d)},h=(a=1)=>{console.warn("aaaa"),o(t.editionRequest({page:a,limit:10,paginate:!0}))};p.useEffect(()=>{h()},[]);const u=()=>{l("edition-content-wrapper",-80),i&&i?.current_page<i?.last_page&&!r&&h(i.current_page+1)};return s.jsxs("div",{children:[s.jsx("div",{className:"mb-5",children:s.jsx("span",{className:"text-xl font-bold",children:"List of Publication for Doctor"})}),b(c,(a,d)=>s.jsx("div",{onClick:()=>m(String(a.slug)),children:s.jsxs("div",{className:"edition-content-wrapper grid grid-cols-3 mt-4 rounded-lg shadow-7 border-solid border border-[1.5px] border-gray-300 bg-white w-full items-center p-4 cursor-pointer",children:[s.jsxs("div",{className:"flex flex-col gap-y-1 col-span-2",children:[s.jsx("span",{className:"text-xl font-bold",children:a?.publication_name}),s.jsx("span",{className:"font-bold text-gray-400",children:a.year}),s.jsxs("span",{className:"text-gray-400",children:["Php. ",a.price]})]}),s.jsx("div",{className:"flex justify-end",children:s.jsx("img",{src:String(a.image_path),alt:"publication_logo",className:"h-20 w-20 rounded-full"})})]})},d)),i&&i?.current_page<i?.last_page&&s.jsx("div",{className:"mt-5",children:s.jsx(x,{label:"Show another batch of results",full:!0,onClick:()=>u()})})]})},T=({publicationData:e,isLoading:o,onClickBack:l})=>s.jsx("div",{children:o?s.jsx(L,{}):s.jsxs("div",{children:[s.jsx("div",{className:"mb-5",children:s.jsx(x,{label:"Go back",type:"white",icon:s.jsx(C,{}),onClick:l})}),s.jsx("img",{src:e?.image_path||"",alt:"publication_photo",className:"mb-5"}),s.jsx("span",{className:"text-xl",children:e?.publication_name}),s.jsxs("div",{className:"flex flex-col gap-y-10",children:[s.jsxs("div",{className:"flex flex-col gap-y-2",children:[s.jsx("span",{className:"font-bold",children:"Issue:"}),s.jsx("span",{className:"text-gray-500",children:e?.issue_name})]}),s.jsxs("div",{className:"flex flex-col gap-y-2",children:[s.jsx("span",{className:"font-bold",children:"ISSN:"}),s.jsx("span",{className:"text-gray-500",children:e?.issn})]}),s.jsxs("div",{className:"flex flex-col gap-y-2",children:[s.jsx("span",{className:"font-bold",children:"Trim Size:"}),s.jsx("span",{className:"text-gray-500",children:e?.trim_size})]}),s.jsxs("div",{className:"flex flex-col gap-y-2",children:[s.jsx("span",{className:"font-bold",children:"Subscription:"}),s.jsx("span",{className:"text-gray-500",children:e?.subscription})]}),s.jsxs("div",{className:"flex flex-col gap-y-2",children:[s.jsx("span",{className:"font-bold",children:"Price:"}),s.jsx("span",{className:"text-gray-500",children:e?.price})]})]}),s.jsx("div",{className:"flex flex-col mt-4 rounded-md border-solid border border-[1.5px]",style:{backgroundColor:"#f4fcf7",borderColor:"#ade5c4"},children:s.jsx("span",{className:"p-5",children:"Free shipping anywhere in the Philippines"})}),s.jsx("div",{className:"mt-5",children:s.jsx(x,{label:"Buy now"})})]})}),F=()=>{const e=g(),o=f(),l=n(v),c=n(y),{slug:i}=P(),r=()=>{o("/publications")};return p.useEffect(()=>{i&&e(t.publicationRequest({slug:i}))},[e,i]),s.jsx(E,{children:s.jsxs(_,{leftSidebar:i?s.jsx(T,{publicationData:l,isLoading:c,onClickBack:r}):s.jsx("div",{children:s.jsx("span",{className:"text-xl font-bold",children:"Publications"})}),rightSidebar:s.jsx(S,{}),children:[s.jsx(w,{title:"Publication List - The Filipino Doctor - Doctor Information, Health Articles, Drug Knowledge",description:"A comprehensive database of doctors practicing in the Philippines. Credible source for drug information. Helpful articles on health.",ogTitle:"Publication List - The Filipino Doctor - Doctor Information, Health Articles, Drug Knowledge",ogDescription:"A comprehensive database of doctors practicing in the Philippines. Credible source for drug information. Helpful articles on health."}),s.jsx(k,{})]})})};export{F as default};

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.