[{"data":1,"prerenderedAt":489},["ShallowReactive",2],{"navigation_docs":3,"-match-patterns-api":133,"-match-patterns-api-surround":486},[4,22,51,62,73,84,99,118],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Get Started","/get-started","0.get-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/get-started/introduction","0.get-started/0.introduction",{"title":14,"path":15,"stem":16},"Browser Support","/get-started/browser-support","0.get-started/1.browser-support",{"title":18,"path":19,"stem":20},"Contributing","/get-started/contributing","0.get-started/2.contributing",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Fake Browser","/fake-browser","fake-browser",[27,31,35,39,43,47],{"title":28,"path":29,"stem":30},"Installation","/fake-browser/installation","fake-browser/0.installation",{"title":32,"path":33,"stem":34},"Testing Frameworks","/fake-browser/testing-frameworks","fake-browser/1.testing-frameworks",{"title":36,"path":37,"stem":38},"Triggering Events","/fake-browser/triggering-events","fake-browser/2.triggering-events",{"title":40,"path":41,"stem":42},"Resetting State","/fake-browser/reseting-state","fake-browser/3.reseting-state",{"title":44,"path":45,"stem":46},"Implemented Apis","/fake-browser/implemented-apis","fake-browser/4.implemented-apis",{"title":48,"path":49,"stem":50},"Api","/fake-browser/api","fake-browser/api",{"title":52,"path":53,"stem":54,"children":55,"page":21},"Isolated Element","/isolated-element","isolated-element",[56,59],{"title":28,"path":57,"stem":58},"/isolated-element/installation","isolated-element/0.installation",{"title":48,"path":60,"stem":61},"/isolated-element/api","isolated-element/api",{"title":63,"path":64,"stem":65,"children":66,"page":21},"Job Scheduler","/job-scheduler","job-scheduler",[67,70],{"title":28,"path":68,"stem":69},"/job-scheduler/installation","job-scheduler/0.installation",{"title":48,"path":71,"stem":72},"/job-scheduler/api","job-scheduler/api",{"title":74,"path":75,"stem":76,"children":77,"page":21},"Match Patterns","/match-patterns","match-patterns",[78,81],{"title":28,"path":79,"stem":80},"/match-patterns/installation","match-patterns/0.installation",{"title":48,"path":82,"stem":83},"/match-patterns/api","match-patterns/api",{"title":85,"path":86,"stem":87,"children":88,"page":21},"Messaging","/messaging","messaging",[89,92,96],{"title":28,"path":90,"stem":91},"/messaging/installation","messaging/0.installation",{"title":93,"path":94,"stem":95},"Protocol Maps","/messaging/protocol-maps","messaging/1.protocol-maps",{"title":48,"path":97,"stem":98},"/messaging/api","messaging/api",{"title":100,"path":101,"stem":102,"children":103,"page":21},"Proxy Service","/proxy-service","proxy-service",[104,107,111,115],{"title":28,"path":105,"stem":106},"/proxy-service/installation","proxy-service/0.installation",{"title":108,"path":109,"stem":110},"Defining Services","/proxy-service/defining-services","proxy-service/1.defining-services",{"title":112,"path":113,"stem":114},"Service Keys","/proxy-service/service-keys","proxy-service/2.service-keys",{"title":48,"path":116,"stem":117},"/proxy-service/api","proxy-service/api",{"title":119,"path":120,"stem":121,"children":122,"page":21},"Storage","/storage","storage",[123,126,130],{"title":28,"path":124,"stem":125},"/storage/installation","storage/0.installation",{"title":127,"path":128,"stem":129},"Typescript","/storage/typescript","storage/1.typescript",{"title":48,"path":131,"stem":132},"/storage/api","storage/api",{"id":134,"title":48,"body":135,"description":170,"extension":481,"links":482,"meta":483,"navigation":394,"path":82,"seo":484,"stem":83,"__hash__":485},"docs/match-patterns/api.md",{"type":136,"value":137,"toc":474},"minimark",[138,141,146,158,164,249,255,342,346,351,447,454,456,470],[139,140],"hr",{},[142,143,145],"h2",{"id":144},"description","description: \"\"",[147,148,149,150],"alert",{},"See ",[151,152,154],"a",{"href":153},"/match-patterns/installation/",[155,156,157],"code",{},"@webext-core/match-patterns",[142,159,161],{"id":160},"invalidmatchpattern",[155,162,163],{},"InvalidMatchPattern",[165,166,171],"pre",{"className":167,"code":168,"language":169,"meta":170,"style":170},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","class InvalidMatchPattern extends Error {\n  constructor(matchPattern: string, reason: string) {\n    // ...\n  }\n}\n","ts","",[155,172,173,196,230,237,243],{"__ignoreMap":170},[174,175,178,182,186,189,192],"span",{"class":176,"line":177},"line",1,[174,179,181],{"class":180},"spNyl","class",[174,183,185],{"class":184},"sBMFI"," InvalidMatchPattern",[174,187,188],{"class":180}," extends",[174,190,191],{"class":184}," Error",[174,193,195],{"class":194},"sMK4o"," {\n",[174,197,199,202,205,209,212,215,218,221,223,225,228],{"class":176,"line":198},2,[174,200,201],{"class":180},"  constructor",[174,203,204],{"class":194},"(",[174,206,208],{"class":207},"sHdIc","matchPattern",[174,210,211],{"class":194},":",[174,213,214],{"class":184}," string",[174,216,217],{"class":194},",",[174,219,220],{"class":207}," reason",[174,222,211],{"class":194},[174,224,214],{"class":184},[174,226,227],{"class":194},")",[174,229,195],{"class":194},[174,231,233],{"class":176,"line":232},3,[174,234,236],{"class":235},"sHwdD","    // ...\n",[174,238,240],{"class":176,"line":239},4,[174,241,242],{"class":194},"  }\n",[174,244,246],{"class":176,"line":245},5,[174,247,248],{"class":194},"}\n",[142,250,252],{"id":251},"matchpattern",[155,253,254],{},"MatchPattern",[165,256,258],{"className":167,"code":257,"language":169,"meta":170,"style":170},"class MatchPattern {\n  constructor(matchPattern: string) {\n    // ...\n  }\n  includes(url: string | URL | Location): boolean {\n    // ...\n  }\n}\n",[155,259,260,269,285,289,293,327,332,337],{"__ignoreMap":170},[174,261,262,264,267],{"class":176,"line":177},[174,263,181],{"class":180},[174,265,266],{"class":184}," MatchPattern",[174,268,195],{"class":194},[174,270,271,273,275,277,279,281,283],{"class":176,"line":198},[174,272,201],{"class":180},[174,274,204],{"class":194},[174,276,208],{"class":207},[174,278,211],{"class":194},[174,280,214],{"class":184},[174,282,227],{"class":194},[174,284,195],{"class":194},[174,286,287],{"class":176,"line":232},[174,288,236],{"class":235},[174,290,291],{"class":176,"line":239},[174,292,242],{"class":194},[174,294,295,299,301,304,306,308,311,314,316,319,322,325],{"class":176,"line":245},[174,296,298],{"class":297},"swJcz","  includes",[174,300,204],{"class":194},[174,302,303],{"class":207},"url",[174,305,211],{"class":194},[174,307,214],{"class":184},[174,309,310],{"class":194}," |",[174,312,313],{"class":184}," URL",[174,315,310],{"class":194},[174,317,318],{"class":184}," Location",[174,320,321],{"class":194},"):",[174,323,324],{"class":184}," boolean",[174,326,195],{"class":194},[174,328,330],{"class":176,"line":329},6,[174,331,236],{"class":235},[174,333,335],{"class":176,"line":334},7,[174,336,242],{"class":194},[174,338,340],{"class":176,"line":339},8,[174,341,248],{"class":194},[343,344,345],"p",{},"Class for parsing and performing operations on match patterns.",[347,348,350],"h3",{"id":349},"examples","Examples",[165,352,354],{"className":167,"code":353,"language":169,"meta":170,"style":170},"const pattern = new MatchPattern(\"*://google.com/*\");\n\npattern.includes(\"https://google.com\");            // true\npattern.includes(\"http://youtube.com/watch?v=123\") // false\n",[155,355,356,390,396,424],{"__ignoreMap":170},[174,357,358,361,365,368,371,374,376,379,383,385,387],{"class":176,"line":177},[174,359,360],{"class":180},"const",[174,362,364],{"class":363},"sTEyZ"," pattern ",[174,366,367],{"class":194},"=",[174,369,370],{"class":194}," new",[174,372,266],{"class":373},"s2Zo4",[174,375,204],{"class":363},[174,377,378],{"class":194},"\"",[174,380,382],{"class":381},"sfazB","*://google.com/*",[174,384,378],{"class":194},[174,386,227],{"class":363},[174,388,389],{"class":194},";\n",[174,391,392],{"class":176,"line":198},[174,393,395],{"emptyLinePlaceholder":394},true,"\n",[174,397,398,401,404,407,409,411,414,416,418,421],{"class":176,"line":232},[174,399,400],{"class":363},"pattern",[174,402,403],{"class":194},".",[174,405,406],{"class":373},"includes",[174,408,204],{"class":363},[174,410,378],{"class":194},[174,412,413],{"class":381},"https://google.com",[174,415,378],{"class":194},[174,417,227],{"class":363},[174,419,420],{"class":194},";",[174,422,423],{"class":235},"            // true\n",[174,425,426,428,430,432,434,436,439,441,444],{"class":176,"line":239},[174,427,400],{"class":363},[174,429,403],{"class":194},[174,431,406],{"class":373},[174,433,204],{"class":363},[174,435,378],{"class":194},[174,437,438],{"class":381},"http://youtube.com/watch?v=123",[174,440,378],{"class":194},[174,442,443],{"class":363},") ",[174,445,446],{"class":235},"// false\n",[343,448,449,452],{},[450,451],"br",{},[450,453],{},[139,455],{},[343,457,458],{},[459,460,461,462],"em",{},"API reference generated by ",[151,463,467],{"href":464,"rel":465},"https://github.com/aklinker1/webext-core/blob/main/docs/generate-api-references.ts",[466],"nofollow",[155,468,469],{},"docs/generate-api-references.ts",[471,472,473],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":170,"searchDepth":198,"depth":198,"links":475},[476,477,478],{"id":144,"depth":198,"text":145},{"id":160,"depth":198,"text":163},{"id":251,"depth":198,"text":254,"children":479},[480],{"id":349,"depth":232,"text":350},"md",null,{},{"title":48,"description":170},"IKZTASQMcCj0aaHpxvfrcAd6w1o93RGOKlLlIONeG6I",[487,488],{"title":28,"path":79,"stem":80,"description":170,"children":-1},{"title":28,"path":90,"stem":91,"description":170,"children":-1},1779300019607]