(?:`)?(?:upstream`compatibility`license`v\.`1\.0`\(ucl\-1\.0\))?(?:`)?this`upstream`compatibility`license`\(the`license`\)`applies`to`any`original`work`of`authorship`\(the`original`work`\)`whose`owner`\(the`licensor`\)`has`placed`the`following`licensing`notice`adjacent`to`the`copyright`notice`for`the`original`work:`licensed`under`the`upstream`compatibility`license`1\.0(?:`)?(?:.{,20})(?:`)?grant`of`copyright`license\.`licensor`grants`you`a`worldwide,`royalty\-`free,`non\-`exclusive,`sublicensable`license,`for`the`duration`of`the`copyright,`to`do`the`following:(?:`)?(?:.{,20})(?:`)?to`reproduce`the`original`work`in`copies,`either`alone`or`as`part`of`a`collective`work;(?:`)?(?:.{,20})(?:`)?to`translate,`adapt,`alter,`transform,`modify,`or`arrange`the`original`work,`thereby`creating`derivative`works`\(`derivative`works`\)`based`upon`the`original`work;(?:`)?(?:.{,20})(?:`)?to`distribute`or`communicate`copies`of`the`original`work`and`derivative`works`to`the`public,`with`the`proviso`that`copies`of`original`work`you`distribute`or`communicate`shall`be`licensed`under`this`upstream`compatibility`license`and`all`derivative`work`you`distribute`or`communicate`shall`be`licensed`under`both`this`upstream`compatibility`license`and`the`apache`license`2\.0`or`later;(?:`)?(?:.{,20})(?:`)?to`perform`the`original`work`publicly;`and(?:`)?(?:.{,20})(?:`)?to`display`the`original`work`publicly\.(?:`)?(?:.{,20})(?:`)?grant`of`patent`license\.`licensor`grants`you`a`worldwide,`royalty\-`free,`non\-`exclusive,`sublicensable`license,`under`patent`claims`owned`or`controlled`by`the`licensor`that`are`embodied`in`the`original`work`as`furnished`by`the`licensor,`for`the`duration`of`the`patents,`to`make,`use,`sell,`offer`for`sale,`have`made,`and`import`the`original`work`and`derivative`works\.(?:`)?(?:.{,20})(?:`)?grant`of`source`code`license\.`the`term`source`code`means`the`preferred`form`of`the`original`work`for`making`modifications`to`it`and`all`available`documentation`describing`how`to`modify`the`original`work\.`licensor`agrees`to`provide`a`machine\-`readable`copy`of`the`source`code`of`the`original`work`along`with`each`copy`of`the`original`work`that`licensor`distributes\.`licensor`reserves`the`right`to`satisfy`this`obligation`by`placing`a`machine\-`readable`copy`of`the`source`code`in`an`information`repository`reasonably`calculated`to`permit`inexpensive`and`convenient`access`by`you`for`as`long`as`licensor`continues`to`distribute`the`original`work\.(?:`)?(?:.{,20})(?:`)?exclusions`from`license`grant\.`neither`the`names`of`licensor,`nor`the`names`of`any`contributors`to`the`original`work,`nor`any`of`their`trademarks`or`service`marks,`may`be`used`to`endorse`or`promote`products`derived`from`this`original`work`without`express`prior`permission`of`the`licensor\.`except`as`expressly`stated`herein,`nothing`in`this`license`grants`any`license`to`licensor’s`trademarks,`copyrights,`patents,`trade`secrets`or`any`other`intellectual`property\.`no`patent`license`is`granted`to`make,`use,`sell,`offer`for`sale,`have`made,`or`import`embodiments`of`any`patent`claims`other`than`the`licensed`claims`defined`in`section`2\.`no`license`is`granted`to`the`trademarks`of`licensor`even`if`such`marks`are`included`in`the`original`work\.`nothing`in`this`license`shall`be`interpreted`to`prohibit`licensor`from`licensing`under`terms`different`from`this`license`any`original`work`that`licensor`otherwise`would`have`a`right`to`license\.(?:`)?(?:.{,20})(?:`)?external`deployment\.`the`term`external`deployment`means`the`use,`distribution,`or`communication`of`the`original`work`or`derivative`works`in`any`way`such`that`the`original`work`or`derivative`works`may`be`used`by`anyone`other`than`you,`whether`those`works`are`distributed`or`communicated`to`those`persons`or`made`available`as`an`application`intended`for`use`over`a`network\.`as`an`express`condition`for`the`grants`of`license`hereunder,`you`must`treat`any`external`deployment`by`you`of`the`original`work`or`a`derivative`work`as`a`distribution`under`section`1\(c\)\.(?:`)?(?:.{,20})(?:`)?attribution`rights\.`you`must`retain,`in`the`source`code`of`any`derivative`works`that`you`create,`all`copyright,`patent,`or`trademark`notices`from`the`source`code`of`the`original`work,`as`well`as`any`notices`of`licensing`and`any`descriptive`text`identified`therein`as`an`attribution`notice\.`you`must`cause`the`source`code`for`any`derivative`works`that`you`create`to`carry`a`prominent`attribution`notice`reasonably`calculated`to`inform`recipients`that`you`have`modified`the`original`work\.(?:`)?(?:.{,20})(?:`)?warranty`of`provenance`and`disclaimer`of`warranty\.`licensor`warrants`that`the`copyright`in`and`to`the`original`work`and`the`patent`rights`granted`herein`by`licensor`are`owned`by`the`licensor`or`are`sublicensed`to`you`under`the`terms`of`this`license`with`the`permission`of`the`contributor\(s\)`of`those`copyrights`and`patent`rights\.`except`as`expressly`stated`in`the`immediately`preceding`sentence,`the`original`work`is`provided`under`this`license`on`an`as`is`basis`and`without`warranty,`either`express`or`implied,`including,`without`limitation,`the`warranties`of`non\-`infringement,`merchantability`or`fitness`for`a`particular`purpose\.`the`entire`risk`as`to`the`quality`of`the`original`work`is`with`you\.`this`disclaimer`of`warranty`constitutes`an`essential`part`of`this`license\.`no`license`to`the`original`work`is`granted`by`this`license`except`under`this`disclaimer\.(?:`)?(?:.{,20})(?:`)?limitation`of`liability\.`under`no`circumstances`and`under`no`legal`theory,`whether`in`tort`\(including`negligence\),`contract,`or`otherwise,`shall`the`licensor`be`liable`to`anyone`for`any`indirect,`special,`incidental,`or`consequential`damages`of`any`character`arising`as`a`result`of`this`license`or`the`use`of`the`original`work`including,`without`limitation,`damages`for`loss`of`goodwill,`work`stoppage,`computer`failure`or`malfunction,`or`any`and`all`other`commercial`damages`or`losses\.`this`limitation`of`liability`shall`not`apply`to`the`extent`applicable`law`prohibits`such`limitation\.(?:`)?(?:.{,20})(?:`)?acceptance`and`termination\.`if,`at`any`time,`you`expressly`assented`to`this`license,`that`assent`indicates`your`clear`and`irrevocable`acceptance`of`this`license`and`all`of`its`terms`and`conditions\.`if`you`distribute`or`communicate`copies`of`the`original`work`or`a`derivative`work,`you`must`make`a`reasonable`effort`under`the`circumstances`to`obtain`the`express`assent`of`recipients`to`the`terms`of`this`license\.`this`license`conditions`your`rights`to`undertake`the`activities`listed`in`section`1,`including`your`right`to`create`derivative`works`based`upon`the`original`work,`and`doing`so`without`honoring`these`terms`and`conditions`is`prohibited`by`copyright`law`and`international`treaty\.`nothing`in`this`license`is`intended`to`affect`copyright`exceptions`and`limitations`\(including`“fair`use”`or`“fair`dealing”\)\.`this`license`shall`terminate`immediately`and`you`may`no`longer`exercise`any`of`the`rights`granted`to`you`by`this`license`upon`your`failure`to`honor`the`conditions`in`section`1\(c\)\.(?:`)?(?:.{,20})(?:`)?termination`for`patent`action\.`this`license`shall`terminate`automatically`and`you`may`no`longer`exercise`any`of`the`rights`granted`to`you`by`this`license`as`of`the`date`you`commence`an`action,`including`a`cross\-`claim`or`counterclaim,`against`licensor`or`any`licensee`alleging`that`the`original`work`infringes`a`patent\.`this`termination`provision`shall`not`apply`for`an`action`alleging`patent`infringement`by`combinations`of`the`original`work`with`other`software`or`hardware\.(?:`)?(?:.{,20})(?:`)?jurisdiction,`venue`and`governing`law\.`any`action`or`suit`relating`to`this`license`may`be`brought`only`in`the`courts`of`a`jurisdiction`wherein`the`licensor`resides`or`in`which`licensor`conducts`its`primary`business,`and`under`the`laws`of`that`jurisdiction`excluding`its`conflict\-`of\-`law`provisions\.`the`application`of`the`united`nations`convention`on`contracts`for`the`international`sale`of`goods`is`expressly`excluded\.`any`use`of`the`original`work`outside`the`scope`of`this`license`or`after`its`termination`shall`be`subject`to`the`requirements`and`penalties`of`copyright`or`patent`law`in`the`appropriate`jurisdiction\.`this`section`shall`survive`the`termination`of`this`license\.(?:`)?(?:.{,20})(?:`)?attorneys`fees\.`in`any`action`to`enforce`the`terms`of`this`license`or`seeking`damages`relating`thereto,`the`prevailing`party`shall`be`entitled`to`recover`its`costs`and`expenses,`including,`without`limitation,`reasonable`attorneys`fees`and`costs`incurred`in`connection`with`such`action,`including`any`appeal`of`such`action\.`this`section`shall`survive`the`termination`of`this`license\.(?:`)?(?:.{,20})(?:`)?miscellaneous\.`if`any`provision`of`this`license`is`held`to`be`unenforceable,`such`provision`shall`be`reformed`only`to`the`extent`necessary`to`make`it`enforceable\.(?:`)?(?:.{,20})(?:`)?definition`of`you`in`this`license\.`you`throughout`this`license,`whether`in`upper`or`lower`case,`means`an`individual`or`a`legal`entity`exercising`rights`under,`and`complying`with`all`of`the`terms`of,`this`license\.`for`legal`entities,`you`includes`any`entity`that`controls,`is`controlled`by,`or`is`under`common`control`with`you\.`for`purposes`of`this`definition,`control`means`\(i\)`the`power,`direct`or`indirect,`to`cause`the`direction`or`management`of`such`entity,`whether`by`contract`or`otherwise,`or`\(ii\)`ownership`of`fifty`percent`\(50%\)`or`more`of`the`outstanding`shares,`or`\(iii\)`beneficial`ownership`of`such`entity\.(?:`)?(?:.{,20})(?:`)?right`to`use\.`you`may`use`the`original`work`in`all`ways`not`otherwise`restricted`or`conditioned`by`this`license`or`by`law,`and`licensor`promises`not`to`interfere`with`or`be`responsible`for`such`uses`by`you\.(?:`)?(?:.{,20})(?:`)?`modification`of`this`license\.`this`license`is`copyright`\(c\)`2005`lawrence`rosen`and`copyright`\(c\)`2017`nigel`tzeng\.`permission`is`granted`to`copy,`distribute,`or`communicate`this`license`without`modification\.`nothing`in`this`license`permits`you`to`modify`this`license`as`applied`to`the`original`work`or`to`derivative`works\.`however,`you`may`modify`the`text`of`this`license`and`copy,`distribute`or`communicate`your`modified`version`\(the`modified`license`\)`and`apply`it`to`other`original`works`of`authorship`subject`to`the`following`conditions:`\(i\)`you`may`not`indicate`in`any`way`that`your`modified`license`is`the`open`software`license`or`osl`or`the`upstream`compatibility`license`or`ucl`and`you`may`not`use`those`names`in`the`name`of`your`modified`license;`\(ii\)`you`must`replace`the`notice`specified`in`the`first`paragraph`above`with`the`notice`licensed`under(?:`)?(?:<insert`your`license`name`here>)?(?:`)?`or`with`a`notice`of`your`own`that`is`not`confusingly`similar`to`the`notice`in`this`license;`and`\(iii\)`you`may`not`claim`that`your`original`works`are`open`source`software`unless`your`modified`license`has`been`approved`by`open`source`initiative`\(osi\)`and`you`comply`with`its`license`review`and`certification`process\.