PageSourceSearch

https://more.co.ke/_next/static/chunks/9366.093ceb3ba8fd2d26.js

js more.co.ke collected 2026-10-02 02:03:01 UTC 6,229 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9366],{62442:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(65531);let a=(0,n.Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},71738:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(65531);let a=(0,n.Z)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},94900:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(65531);let a=(0,n.Z)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},23611:function(e,r,t){t.d(r,{z:function(){return o}});var n=t(57437),a=t(2265);let o=(0,a.forwardRef)((e,r)=>{let{className:t="",variant:a="primary",size:o="md",fullWidth:s,...c}=e;return(0,n.jsx)("button",{ref:r,className:"".concat("inline-flex items-center justify-center rounded-xl font-semibold tracking-tight transition-all duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-dark disabled:opacity-50 disabled:cursor-not-allowed shadow-sm"," ").concat({primary:"bg-[var(--primary)] text-white hover:bg-[var(--primary-hover)] hover:shadow-lg",secondary:"bg-[var(--glass)] text-[var(--text)] border border-[var(--glass-border)] hover:bg-[var(--glass-hover)]",outline:"border border-[var(--glass-border)] text-[var(--text)] bg-transparent hover:bg-[var(--glass)]",ghost:"bg-transparent text-[var(--text)] hover:bg-[var(--glass)]",destructive:"bg-red-500 text-white hover:bg-red-600 hover:shadow-lg"}[a]," ").concat({sm:"px-3 py-2 text-xs md:text-sm",md:"px-4 py-2.5 text-sm md:text-base",lg:"px-6 py-3 text-base md:text-lg"}[o]," ").concat(s?"w-full":""," ").concat(t),...c})});o.displayName="Button"},69890:function(e,r,t){t.d(r,{h:function(){return a}});let n="https://subscriptions.more.co.ke";function authHeaders(e){return{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}}async function apiFetch(e,r){let t=await fetch(e,r);if(!t.ok){var n,a;let e=await t.json().catch(()=>({})),r=null!==(a=null!==(n=null==e?void 0:e.detail)&&void 0!==n?n:null==e?void 0:e.message)&&void 0!==a?a:"Request failed with status ".concat(t.status),o=Error(r);throw o.status=t.status,o.body=e,o}return t.json()}let a={async listPackages(e){var r;let t=await apiFetch("".concat(n,"/v1/packages/?component_type=").concat(e));return Array.isArray(t)?t:null!==(r=t.results)&&void 0!==r?r:[]},estimate:(e,r,t)=>apiFetch("".concat(n,"/v1/packages/").concat(e,"/estimate/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({duration_value:r,duration_unit:t})}),create:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/"),{method:"POST",headers:authHeaders(r),body:JSON.stringify(e)}),async list(e,r){var t;let a=new URLSearchParams;(null==r?void 0:r.entity_type)&&a.set("entity_type",r.entity_type),(null==r?void 0:r.status)&&a.set("status",r.status);let o=a.toString(),s=await apiFetch("".concat(n,"/v1/subscriptions/").concat(o?"?".concat(o):""),{headers:authHeaders(e)});return Array.isArray(s)?s:null!==(t=s.results)&&void 0!==t?t:[]},get:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/").concat(e,"/"),{headers:authHeaders(r)}),pause:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/").concat(e,"/pause/"),{method:"POST",headers:authHeaders(r)}),resume:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/").concat(e,"/resume/"),{method:"POST",headers:authHeaders(r)}),cancel:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/").concat(e,"/cancel/"),{method:"POST",headers:authHeaders(r)}),retryPayment:(e,r)=>apiFetch("".concat(n,"/v1/subscriptions/").concat(e,"/retry-payment/"),{method:"POST",headers:authHeaders(r)})}},17922:function(e,r,t){t.d(r,{CS:function(){return u},CU:function(){return s},GL:function(){return p},I0:function(){return b},P_:function(){return i},TF:function(){return l},hc:function(){return o},mX:function(){return d},qM:function(){return f},sV:function(){return a},xv:function(){return n}});let n="relative flex min-w-0 flex-col h-full cursor-pointer rounded-lg",a="card-fine-hover",o="relative flex min-w-0 flex-col h-full cursor-pointer rounded-xl",s="relative flex min-w-0 flex-col h-full cursor-pointer rounded-2xl",c="card-fine-hover-surface",i="flex min-w-0 flex-col h-full bg-transparent",l="flex min-w-0 flex-col h-full rounded-lg border border-[var(--glass-border)]/70 bg-[var(--panel-bg)] shadow-[0_1px_2px_rgba(0,0,0,0.06)] ".concat(c),u="flex min-w-0 flex-col h-full rounded-xl border border-[var(--glass-border)] bg-[var(--panel-bg)] shadow-[0_1px_4px_rgba(0,0,0,0.07)] ".concat(c),d="flex min-w-0 
1w-full flex-col rounded-2xl border border-[var(--glass-border)] bg-[var(--glass)] shadow-[var(--card-shadow)] ".concat(c),f="relative w-full shrink-0 bg-[var(--glass)] overflow-hidden",b="block size-full object-cover",p="object-cover"},98109:function(e,r,t){t.d(r,{DC:function(){return i},Db:function(){return u},H:function(){return o},Is:function(){return d},Mg:function(){return g},Mn:function(){return f},TV:function(){return c},Wl:function(){return p},Zo:function(){return h},g3:function(){return l},gy:function(){return n},rA:function(){return s},t9:function(){return b},vg:function(){return a}}),t(17922);let n="flex min-w-0 flex-col w-full",a="lg:rounded-xl lg:border lg:border-[var(--glass-border)]/80 lg:bg-[var(--panel-bg)] lg:shadow-[0_1px_3px_rgba(0,0,0,0.05),0_4px_12px_rgba(0,0,0,0.04)]",o="rounded-xl border border-[var(--glass-border)]/80 bg-[var(--panel-bg)] shadow-[0_1px_3px_rgba(0,0,0,0.05),0_4px_12px_rgba(0,0,0,0.04)]",s="p-4 sm:p-5",c="flex items-center justify-between gap-3 pb-3 sm:pb-4 border-b border-[var(--glass-border)]",i="grid grid-cols-1 gap-4 lg:gap-5",l="space-y-4 lg:space-y-5",u="border-b border-[var(--glass-border)] pb-4 sm:pb-5",d="flex min-w-0 flex-col h-full w-full text-left",f="flex w-full flex-1 flex-col items-center justify-center rounded-lg p-4 sm:p-5 transition-colors hover:bg-[var(--glass-hover)] active:bg-[var(--glass-hover)]",b="h-7 w-20 rounded-md bg-[var(--glass-hover)]",p="min-w-0 space-y-3 sm:space-y-4",g="min-w-0 pb-3 sm:pb-4 lg:pb-6",h="relative min-h-[40vh] bg-[var(--page-bg)]"}}]);

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.