(?:`)?(?:nokia`open`source`license`\(nokos`license\)`version`1\.0a)?(?:`)?(?:`)?(?:.{,20})(?:`)?definitions\.`affiliates`of`a`party`shall`mean`an`entity(?:`)?(?:.{,20})(?:`)?which`is`directly`or`indirectly`controlling`such`party;(?:`)?(?:.{,20})(?:`)?which`is`under`the`same`direct`or`indirect`ownership`or`control`as`such`party;`or(?:`)?(?:.{,20})(?:`)?which`is`directly`or`indirectly`owned`or`controlled`by`such`party\.`for`these`purposes,`an`entity`shall`be`treated`as`being`controlled`by`another`if`that`other`entity`has`fifty`percent`\(50%\)`or`more`of`the`votes`in`such`entity,`is`able`to`direct`its`affairs`and`or`to`control`the`composition`of`its`board`of`directors`or`equivalent`body\.`commercial`use`shall`mean`distribution`or`otherwise`making`the`covered`software`available`to`a`third`party\.`contributor`shall`mean`each`entity`that`creates`or`contributes`to`the`creation`of`modifications\.`contributor`version`shall`mean`in`case`of`any`contributor`the`combination`of`the`original`software,`prior`modifications`used`by`a`contributor,`and`the`modifications`made`by`that`particular`contributor`and`in`case`of`nokia`in`addition`the`original`software`in`any`form,`including`the`form`as`exceutable\.`covered`software`shall`mean`the`original`software`or`modifications`or`the`combination`of`the`original`software`and`modifications,`in`each`case`including`portions`thereof\.`electronic`distribution`mechanism`shall`mean`a`mechanism`generally`accepted`in`the`software`development`community`for`the`electronic`transfer`of`data\.`executable`shall`mean`covered`software`in`any`form`other`than`source`code\.`nokia`shall`mean`nokia`corporation`and`its`affiliates\.`larger`work`shall`mean`a`work,`which`combines`covered`software`or`portions`thereof`with`code`not`governed`by`the`terms`of`this`license\.`license`shall`mean`this`document\.`licensable`shall`mean`having`the`right`to`grant,`to`the`maximum`extent`possible,`whether`at`the`time`of`the`initial`grant`or`subsequently`acquired,`any`and`all`of`the`rights`conveyed`herein\.`modifications`shall`mean`any`addition`to`or`deletion`from`the`substance`or`structure`of`either`the`original`software`or`any`previous`modifications\.`when`covered`software`is`released`as`a`series`of`files,`a`modification`is:(?:`)?(?:.{,20})(?:`)?any`addition`to`or`deletion`from`the`contents`of`a`file`containing`original`software`or`previous`modifications\.(?:`)?(?:.{,20})(?:`)?any`new`file`that`contains`any`part`of`the`original`software`or`previous`modifications\.`original`software`shall`mean`the`source`code`of`computer`software`code`which`is`described`in`the`source`code`notice`required`by`exhibit`a`as`original`software,`and`which,`at`the`time`of`its`release`under`this`license`is`not`already`covered`software`governed`by`this`license\.`patent`claims`shall`mean`any`patent`claim\(s\),`now`owned`or`hereafter`acquired,`including`without`limitation,`method,`process,`and`apparatus`claims,`in`any`patent`licensable`by`grantor\.`source`code`shall`mean`the`preferred`form`of`the`covered`software`for`making`modifications`to`it,`including`all`modules`it`contains,`plus`any`associated`interface`definition`files,`scripts`used`to`control`compilation`and`installation`of`an`executable,`or`source`code`differential`comparisons`against`either`the`original`software`or`another`well`known,`available`covered`software`of`the`contributor`s`choice\.`the`source`code`can`be`in`a`compressed`or`archival`form,`provided`the`appropriate`decompression`or`de\-`archiving`software`is`widely`available`for`no`charge\.`you`\(or`your`\)`shall`mean`an`individual`or`a`legal`entity`exercising`rights`under,`and`complying`with`all`of`the`terms`of,`this`license`or`a`future`version`of`this`license`issued`under`section`6\.1\.`for`legal`entities,`you`includes`affiliates`of`such`entity\.(?:`)?(?:.{,20})(?:`)?source`code`license\.(?:`)?(?:.{,20})(?:`)?nokia`grant\.`subject`to`the`terms`of`this`license,`nokia`hereby`grants`you`a`world\-`wide,`royalty\-`free,`non\-`exclusive`license,`subject`to`third`party`intellectual`property`claims:(?:`)?(?:.{,20})(?:`)?under`copyrights`licensable`by`nokia`to`use,`reproduce,`modify,`display,`perform,`sublicense`and`distribute`the`original`software`\(or`portions`thereof\)`with`or`without`modifications,`and`or`as`part`of`a`larger`work;(?:`)?(?:.{,20})(?:`)?and`under`patents`claims`necessarily`infringed`by`the`making,`using`or`selling`of`original`software,`to`make,`have`made,`use,`practice,`sell,`and`offer`for`sale,`and`or`otherwise`dispose`of`the`original`software`\(or`portions`thereof\)\.(?:`)?(?:.{,20})(?:`)?the`licenses`granted`in`this`section`2\.1\(a\)`and`\(b\)`are`effective`on`the`date`nokia`first`distributes`original`software`under`the`terms`of`this`license\.(?:`)?(?:.{,20})(?:`)?notwithstanding`section`2\.1\(b\)`above,`no`patent`license`is`granted:`1\)`for`code`that`you`delete`from`the`original`software;`2\)`separate`from`the`original`software;`or`3\)`for`infringements`caused`by:`i\)`the`modification`of`the`original`software`or`ii\)`the`combination`of`the`original`software`with`other`software`or`devices\.(?:`)?(?:.{,20})(?:`)?contributor`grant\.`subject`to`the`terms`of`this`license`and`subject`to`third`party`intellectual`property`claims,`each`contributor`hereby`grants`you`a`world\-`wide,`royalty\-`free,`non\-`exclusive`license(?:`)?(?:.{,20})(?:`)?under`copyrights`licensable`by`contributor,`to`use,`reproduce,`modify,`display,`perform,`sublicense`and`distribute`the`modifications`created`by`such`contributor`\(or`portions`thereof\)`either`on`an`unmodified`basis,`with`other`modifications,`as`covered`software`and`or`as`part`of`a`larger`work;`and(?:`)?(?:.{,20})(?:`)?under`patent`claims`necessarily`infringed`by`the`making,`using,`or`selling`of`modifications`made`by`that`contributor`either`alone`and`or`in`combination`with`its`contributor`version`\(or`portions`of`such`combination\),`to`make,`use,`sell,`offer`for`sale,`have`made,`and`or`otherwise`dispose`of:`1\)`modifications`made`by`that`contributor`\(or`portions`thereof\);`and`2\)`the`combination`of`modifications`made`by`that`contributor`with`its`contributor`version`\(or`portions`of`such`combination\)\.(?:`)?(?:.{,20})(?:`)?the`licenses`granted`in`sections`2\.2\(a\)`and`2\.2\(b\)`are`effective`on`the`date`contributor`first`makes`commercial`use`of`the`covered`software\.(?:`)?(?:.{,20})(?:`)?notwithstanding`section`2\.2\(b\)`above,`no`patent`license`is`granted:`1\)`for`any`code`that`contributor`has`deleted`from`the`contributor`version;`2\)`separate`from`the`contributor`version;`3\)`for`infringements`caused`by:`i\)`third`party`modifications`of`contributor`version`or`ii\)`the`combination`of`modifications`made`by`that`contributor`with`other`software`\(except`as`part`of`the`contributor`version\)`or`other`devices;`or`4\)`under`patent`claims`infringed`by`covered`software`in`the`absence`of`modifications`made`by`that`contributor\.(?:`)?(?:.{,20})(?:`)?distribution`obligations\.(?:`)?(?:.{,20})(?:`)?application`of`license\.`the`modifications`which`you`create`or`to`which`you`contribute`are`governed`by`the`terms`of`this`license,`including`without`limitation`section`2\.2\.`the`source`code`version`of`covered`software`may`be`distributed`only`under`the`terms`of`this`license`or`a`future`version`of`this`license`released`under`section`6\.1,`and`you`must`include`a`copy`of`this`license`with`every`copy`of`the`source`code`you`distribute\.`you`may`not`offer`or`impose`any`terms`on`any`source`code`version`that`alters`or`restricts`the`applicable`version`of`this`license`or`the`recipients`rights`hereunder\.`however,`you`may`include`an`additional`document`offering`the`additional`rights`described`in`section`3\.5\.(?:`)?(?:.{,20})(?:`)?availability`of`source`code\.`any`modification`which`you`create`or`to`which`you`contribute`must`be`made`available`in`source`code`form`under`the`terms`of`this`license`either`on`the`same`media`as`an`executable`version`or`via`an`accepted`electronic`distribution`mechanism`to`anyone`to`whom`you`made`an`executable`version`available;`and`if`made`available`via`electronic`distribution`mechanism,`must`remain`available`for`at`least`twelve`\(12\)`months`after`the`date`it`initially`became`available,`or`at`least`six`\(6\)`months`after`a`subsequent`version`of`that`particular`modification`has`been`made`available`to`such`recipients\.`you`are`responsible`for`ensuring`that`the`source`code`version`remains`available`even`if`the`electronic`distribution`mechanism`is`maintained`by`a`third`party\.(?:`)?(?:.{,20})(?:`)?description`of`modifications\.`you`must`cause`all`covered`software`to`which`you`contribute`to`contain`a`file`documenting`the`changes`you`made`to`create`that`covered`software`and`the`date`of`any`change\.`you`must`include`a`prominent`statement`that`the`modification`is`derived,`directly`or`indirectly,`from`original`software`provided`by`nokia`and`including`the`name`of`nokia`in`\(a\)`the`source`code,`and`\(b\)`in`any`notice`in`an`executable`version`or`related`documentation`in`which`you`describe`the`origin`or`ownership`of`the`covered`software\.(?:`)?(?:.{,20})(?:`)?intellectual`property`matters(?:`)?(?:.{,20})(?:`)?third`party`claims\.`if`contributor`has`knowledge`that`a`license`under`a`third`party`s`intellectual`property`rights`is`required`to`exercise`the`rights`granted`by`such`contributor`under`sections`2\.1`or`2\.2,`contributor`must`include`a`text`file`with`the`source`code`distribution`titled`legal`which`describes`the`claim`and`the`party`making`the`claim`in`sufficient`detail`that`a`recipient`will`know`whom`to`contact\.`if`contributor`obtains`such`knowledge`after`the`modification`is`made`available`as`described`in`section`3\.2,`contributor`shall`promptly`modify`the`legal`file`in`all`copies`contributor`makes`available`thereafter`and`shall`take`other`steps`\(such`as`notifying`appropriate`mailing`lists`or`newsgroups\)`reasonably`calculated`to`inform`those`who`received`the`covered`software`that`new`knowledge`has`been`obtained\.(?:`)?(?:.{,20})(?:`)?contributor`apis\.`if`contributor`s`modifications`include`an`application`programming`interface`and`contributor`has`knowledge`of`patent`licenses`which`are`reasonably`necessary`to`implement`that`api,`contributor`must`also`include`this`information`in`the`legal`file\.(?:`)?(?:.{,20})(?:`)?representations\.`contributor`represents`that,`except`as`disclosed`pursuant`to`section`3\.4\(a\)`above,`contributor`believes`that`contributor`s`modifications`are`contributor`s`original`creation\(s\)`and`or`contributor`has`sufficient`rights`to`grant`the`rights`conveyed`by`this`license\.(?:`)?(?:.{,20})(?:`)?required`notices\.`you`must`duplicate`the`notice`in`exhibit`a`in`each`file`of`the`source`code\.`if`it`is`not`possible`to`put`such`notice`in`a`particular`source`code`file`due`to`its`structure,`then`you`must`include`such`notice`in`a`location`\(such`as`a`relevant`directory\)`where`a`user`would`be`likely`to`look`for`such`a`notice\.`if`you`created`one`or`more`modification\(s\)`you`may`add`your`name`as`a`contributor`to`the`notice`described`in`exhibit`a\.`you`must`also`duplicate`this`license`in`any`documentation`for`the`source`code`where`you`describe`recipients`rights`or`ownership`rights`relating`to`covered`software\.`you`may`choose`to`offer,`and`to`charge`a`fee`for,`warranty,`support,`indemnity`or`liability`obligations`to`one`or`more`recipients`of`covered`software\.`however,`you`may`do`so`only`on`your`own`behalf,`and`not`on`behalf`of`nokia`or`any`contributor\.`you`must`make`it`absolutely`clear`that`any`such`warranty,`support,`indemnity`or`liability`obligation`is`offered`by`you`alone,`and`you`hereby`agree`to`indemnify`nokia`and`every`contributor`for`any`liability`incurred`by`nokia`or`such`contributor`as`a`result`of`warranty,`support,`indemnity`or`liability`terms`you`offer\.(?:`)?(?:.{,20})(?:`)?distribution`of`executable`versions\.`you`may`distribute`covered`software`in`executable`form`only`if`the`requirements`of`section`3\.1\-3\.5`have`been`met`for`that`covered`software,`and`if`you`include`a`notice`stating`that`the`source`code`version`of`the`covered`software`is`available`under`the`terms`of`this`license,`including`a`description`of`how`and`where`you`have`fulfillled`the`obligations`of`section`3\.2\.`the`notice`must`be`conspicuously`included`in`any`notice`in`an`executable`version,`related`documentation`or`collateral`in`which`you`describe`recipients`rights`relating`to`the`covered`software\.`you`may`distribute`the`executable`version`of`covered`software`or`ownership`rights`under`a`license`of`your`choice,`which`may`contain`terms`different`from`this`license,`provided`that`you`are`in`compliance`with`the`terms`of`this`license`and`that`the`license`for`the`executable`version`does`not`attempt`to`limit`or`alter`the`recipient`s`rights`in`the`source`code`version`from`the`rights`set`forth`in`this`license\.`if`you`distribute`the`executable`version`under`a`different`license`you`must`make`it`absolutely`clear`that`any`terms`which`differ`from`this`license`are`offered`by`you`alone,`not`by`nokia`or`any`contributor\.`you`hereby`agree`to`indemnify`nokia`and`every`contributor`for`any`liability`incurred`by`nokia`or`such`contributor`as`a`result`of`any`such`terms`you`offer\.(?:`)?(?:.{,20})(?:`)?larger`works\.`you`may`create`a`larger`work`by`combining`covered`software`with`other`software`not`governed`by`the`terms`of`this`license`and`distribute`the`larger`work`as`a`single`product\.`in`such`a`case,`you`must`make`sure`the`requirements`of`this`license`are`fulfillled`for`the`covered`software\.(?:`)?(?:.{,20})(?:`)?inability`to`comply`due`to`statute`or`regulation\.`if`it`is`impossible`for`you`to`comply`with`any`of`the`terms`of`this`license`with`respect`to`some`or`all`of`the`covered`software`due`to`statute,`judicial`order,`or`regulation`then`you`must:`\(a\)`comply`with`the`terms`of`this`license`to`the`maximum`extent`possible;`and`\(b\)`describe`the`limitations`and`the`code`they`affect\.`such`description`must`be`included`in`the`legal`file`described`in`section`3\.4`and`must`be`included`with`all`distributions`of`the`source`code\.`except`to`the`extent`prohibited`by`statute`or`regulation,`such`description`must`be`sufficiently`detailed`for`a`recipient`of`ordinary`skill`to`be`able`to`understand`it\.(?:`)?(?:.{,20})(?:`)?application`of`this`license\.`this`license`applies`to`code`to`which`nokia`has`attached`the`notice`in`exhibit`a`and`to`related`covered`software\.(?:`)?(?:.{,20})(?:`)?versions`of`the`license\.(?:`)?(?:.{,20})(?:`)?new`versions\.`nokia`may`publish`revised`and`or`new`versions`of`the`license`from`time`to`time\.`each`version`will`be`given`a`distinguishing`version`number\.(?:`)?(?:.{,20})(?:`)?effect`of`new`versions\.`once`covered`software`has`been`published`under`a`particular`version`of`the`license,`you`may`always`continue`to`use`it`under`the`terms`of`that`version\.`you`may`also`choose`to`use`such`covered`software`under`the`terms`of`any`subsequent`version`of`the`license`published`by`nokia\.`no`one`other`than`nokia`has`the`right`to`modify`the`terms`applicable`to`covered`software`created`under`this`license\.(?:`)?(?:.{,20})(?:`)?disclaimer`of`warranty\.`covered`software`is`provided`under`this`license`on`an`as`is`basis,`without`warranty`of`any`kind,`either`expressed`or`implied,`including,`without`limitation,`warranties`that`the`covered`software`is`free`of`defects,`merchantable,`fit`for`a`particular`purpose`or`non\-`infringing\.`the`entire`risk`as`to`the`quality`and`performance`of`the`covered`software`is`with`you\.`should`any`covered`software`prove`defective`in`any`respect,`you`\(not`nokia,`its`licensors`or`affiliates`or`any`other`contributor\)`assume`the`cost`of`any`necessary`servicing,`repair`or`correction\.`this`disclaimer`of`warranty`constitutes`an`essential`part`of`this`license\.`no`use`of`any`covered`software`is`authorized`hereunder`except`under`this`disclaimer\.(?:`)?(?:.{,20})(?:`)?termination\.(?:`)?(?:.{,20})(?:`)?this`license`and`the`rights`granted`hereunder`will`terminate`automatically`if`you`fail`to`comply`with`terms`herein`and`fail`to`cure`such`breach`within`30`days`of`becoming`aware`of`the`breach\.`all`sublicenses`to`the`covered`software`which`are`properly`granted`shall`survive`any`termination`of`this`license\.`provisions`which,`by`their`nature,`must`remain`in`effect`beyond`the`termination`of`this`license`shall`survive\.(?:`)?(?:.{,20})(?:`)?if`you`initiate`litigation`by`asserting`a`patent`infringement`claim`\(excluding`declatory`judgement`actions\)`against`nokia`or`a`contributor`\(nokia`or`contributor`against`whom`you`file`such`action`is`referred`to`as`participant`\)`alleging`that:(?:`)?(?:.{,20})(?:`)?such`participant`s`contributor`version`directly`or`indirectly`infringes`any`patent,`then`any`and`all`rights`granted`by`such`participant`to`you`under`sections`2\.1`and`or`2\.2`of`this`license`shall,`upon`60`days`notice`from`participant`terminate`prospectively,`unless`if`within`60`days`after`receipt`of`notice`you`either:`\(i\)`agree`in`writing`to`pay`participant`a`mutually`agreeable`reasonable`royalty`for`your`past`and`future`use`of`modifications`made`by`such`participant,`or`\(ii\)`withdraw`your`litigation`claim`with`respect`to`the`contributor`version`against`such`participant\.`if`within`60`days`of`notice,`a`reasonable`royalty`and`payment`arrangement`are`not`mutually`agreed`upon`in`writing`by`the`parties`or`the`litigation`claim`is`not`withdrawn,`the`rights`granted`by`participant`to`you`under`sections`2\.1`and`or`2\.2`automatically`terminate`at`the`expiration`of`the`60`day`notice`period`specified`above\.(?:`)?(?:.{,20})(?:`)?any`software,`hardware,`or`device,`other`than`such`participant`s`contributor`version,`directly`or`indirectly`infringes`any`patent,`then`any`rights`granted`to`you`by`such`participant`under`sections`2\.1\(b\)`and`2\.2\(b\)`are`revoked`effective`as`of`the`date`you`first`made,`used,`sold,`distributed,`or`had`made,`modifications`made`by`that`participant\.(?:`)?(?:.{,20})(?:`)?if`you`assert`a`patent`infringement`claim`against`participant`alleging`that`such`participant`s`contributor`version`directly`or`indirectly`infringes`any`patent`where`such`claim`is`resolved`\(such`as`by`license`or`settlement\)`prior`to`the`initiation`of`patent`infringement`litigation,`then`the`reasonable`value`of`the`licenses`granted`by`such`participant`under`sections`2\.1`or`2\.2`shall`be`taken`into`account`in`determining`the`amount`or`value`of`any`payment`or`license\.(?:`)?(?:.{,20})(?:`)?in`the`event`of`termination`under`sections`8\.1`or`8\.2`above,`all`end`user`license`agreements`\(excluding`distributors`and`resellers\)`which`have`been`validly`granted`by`you`or`any`distributor`hereunder`prior`to`termination`shall`survive`termination\.(?:`)?(?:.{,20})(?:`)?limitation`of`liability\.`under`no`circumstances`and`under`no`legal`theory,`whether`tort`\(including`negligence\),`contract,`or`otherwise,`shall`you,`nokia,`any`other`contributor,`or`any`distributor`of`covered`software,`or`any`supplier`of`any`of`such`parties,`be`liable`to`any`person`for`any`indirect,`special,`incidental,`or`consequential`damages`of`any`character`including,`without`limitation,`damages`for`loss`of`goodwill,`work`stoppage,`computer`failure`or`malfunction,`or`any`and`all`other`commercial`damages`or`losses,`even`if`such`party`shall`have`been`informed`of`the`possibility`of`such`damages\.`this`limitation`of`liability`shall`not`apply`to`liability`for`death`or`personal`injury`resulting`from`such`party`s`negligence`to`the`extent`applicable`law`prohibits`such`limitation\.`some`jurisdictions`do`not`allow`the`exclusion`or`limitation`of`incidental`or`consequential`damages,`but`may`allow`liability`to`be`limited;`in`such`cases,`a`party`s,`its`employees,`licensors`or`affiliates`liability`shall`be`limited`to`u\.`s\.`\$50\.`nothing`contained`in`this`license`shall`prejudice`the`statutory`rights`of`any`party`dealing`as`a`consumer\.(?:`)?(?:.{,20})(?:`)?miscellaneous\.`this`license`represents`the`complete`agreement`concerning`subject`matter`hereof\.`all`rights`in`the`covered`software`not`expressly`granted`under`this`license`are`reserved\.`nothing`in`this`license`shall`grant`you`any`rights`to`use`any`of`the`trademarks`of`nokia`or`any`of`its`affiliates,`even`if`any`of`such`trademarks`are`included`in`any`part`of`covered`software`and`or`documentation`to`it\.`this`license`is`governed`by`the`laws`of`finland`excluding`its`conflict\-`of\-`law`provisions\.`all`disputes`arising`from`or`relating`to`this`agreement`shall`be`settled`by`a`single`arbitrator`appointed`by`the`central`chamber`of`commerce`of`finland\.`the`arbitration`procedure`shall`take`place`in`helsinki,`finland`in`the`english`language\.`if`any`part`of`this`agreement`is`found`void`and`unenforceable,`it`will`not`affect`the`validity`of`the`balance`of`the`agreement,`which`shall`remain`valid`and`enforceable`according`to`its`terms\.(?:`)?(?:.{,20})(?:`)?`responsibility`for`claims\.`as`between`nokia`and`the`contributors,`each`party`is`responsible`for`claims`and`damages`arising,`directly`or`indirectly,`out`of`its`utilization`of`rights`under`this`license`and`you`agree`to`work`with`nokia`and`contributors`to`distribute`such`responsibility`on`an`equitable`basis\.`nothing`herein`is`intended`or`shall`be`deemed`to`constitute`any`admission`of`liability\.(?:`)?(?:exhibit`a`the`contents`of`this`file`are`subject`to`the`nokos`license`version`1\.0`\(the`license`\);`you`may`not`use`this`file`except`in`compliance`with`the`license\.`software`distributed`under`the`license`is`distributed`on`an`as`is`basis,`without`warranty`of`any`kind,`either`express`or`implied\.`see`the`license`for`the`specific`language`governing`rights`and`limitations`under`the`license\.`the`original`software`is`\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\.`copyright`©`<year>`nokia`and`others\.`all`rights`reserved\.`contributor\(s\):`\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\.)?(?:`)?